diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 59fd17f1e7..2441ed2136 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,24 @@ +2000-08-01-21:20 GMT -3 Luiz Rafael Culik +*contrib/hbzlib/zipfile2.c + %some enhacements and fixed a bug inside hb___GetFilesNamesFromZip +*contrib/hbzlib/zipfile.c + contrib/hbzlib/zlibapi1.c + *Fixed a Bug reported by Patrick Mast +-doc/idle.txt ++doc/en/idle.txt + *Moved to the en/ directory + *Description of IDLE stated became a topic also +*doc/genhtm.rsp + +en/idle.txt + -en/hb*.txt Removed all api entries file names +*doc/en/garbage.txt + *small formating +*utils/hbdoc/genng.prg + *Fixed an small bug +*makefile.bc + hb_slex.bc + + .autodepend macro added + 20000801-21:55 GMT+2 Maurilio Longo * config/os2/global.cf ! fixed removing of nested subdir (HB_ARCHITECTURE/HB_COMPILER) that under OS/2 you need to diff --git a/harbour/doc/idle.txt b/harbour/doc/idle.txt deleted file mode 100644 index 8708b0425b..0000000000 --- a/harbour/doc/idle.txt +++ /dev/null @@ -1,176 +0,0 @@ -// -// $Id$ -// - -The idle states -=============== - The idle state is the state of the harbour virtual machine when it waits -for the user input from the keyboard or the mouse. The idle state is entered -during INKEY() calls currently. All applications that don't use INKEY() -function call can signal the idle states with the call of HB_IDLESTATE() -function (or hb_idleState() on C level). - During idle states the virtual machine calls the garbage collector and -it can call user defined actions (background tasks). It also releases -the CPU time slices for some poor platforms that are not smart enough -(Windows NT). - -Defining the background tasks ------------------------------ - -/* $DOC$ - * $FUNCNAME$ - * HB_IDLEADD() - * $CATEGORY$ - * The idle states - * $ONELINER$ - * Adds the background task. - * $SYNTAX$ - * HB_IDLEADD( ) --> nHandle - * $ARGUMENTS$ - * is an codeblock that will be executed during idle states. - * There is no arguments passed to this codeblock during evaluation. - * $RETURNS$ - * The handle (an integer value) that identifies the task. This handle - * can be used during deleting the task. - * $DESCRIPTION$ - * HB_IDLEADD() adds a passed codeblock to the list of background - * tasks that will be evaluated during the idle states. There is no - * limit for the number of tasks. - * $EXAMPLES$ - * nTask := HB_IDLEADD( {|| SayTime()} ) - * $STATUS$ - * Harbour - * $COMPLIANCE$ - * Harbour extension simmilar to FT_ONIDLE() function available - * in NanForum library. - * $PLATFORMS$ - * All - * $FILES$ - * source/rtl/idle.c - * $SEEALSO$ - * HB_IDLEDEL(), HB_IDLESTATE() - * $END$ - */ - -/* $DOC$ - * $FUNCNAME$ - * HB_IDLEDEL() - * $CATEGORY$ - * The idle states - * $ONELINER$ - * Removes the background task from the list of tasks. - * $SYNTAX$ - * HB_IDLEDEL( ) --> xAction - * $ARGUMENTS$ - * is the identifier of the task returned by the - * HB_IDLEADD() function. - * $RETURNS$ - * NIL if invalid handle is passed or a codeblock that was passed - * to HB_IDLEADD() function - * $DESCRIPTION$ - * HB_IDLEDEL() removes the action associated with passed identifier - * from the list of background tasks. The identifer should be the - * value returned by the previous call of HB_IDLEADD() function. - * If specified task is defined then the codeblock is returned - * otherwise the NIL value is returned. - * $EXAMPLES$ - * nTask := HB_IDLEADD( {|| SayTime()} ) - * INKEY(10) - * cbAction := HB_IDLEDEL( nTask ) - * $STATUS$ - * Harbour - * $COMPLIANCE$ - * Harbour extension - * $PLATFORMS$ - * All - * $FILES$ - * source/rtl/idle.c - * $SEEALSO$ - * HB_IDLEADD(), HB_IDLESTATE() - * $END$ - */ - -Direct call for background actions ----------------------------------- - -/* $DOC$ - * $FUNCNAME$ - * HB_IDLESTATE() - * $CATEGORY$ - * The idle states - * $ONELINER$ - * Evaluates a single background task and calls the garbage collector. - * $SYNTAX$ - * HB_IDLESTATE() - * $ARGUMENTS$ - * None - * $RETURNS$ - * NIL - * $DESCRIPTION$ - * HB_IDLESTATE() requests the garbage collecting and executes a - * single background task defined by the codeblock code passed with - * HB_IDLEADD() function. Every call for this function evaluates - * different task in the order of tasks creation. There is no - * arguments passed during a codeblock evaluation. - * This function can be safely called even if there are no background - * tasks defined. - * $EXAMPLES$ - * nTask1 := HB_IDLEADD( {|| SayTime()} ) - * nTask2 := HB_IDLEADD( {|| SaveScreen()} ) - * DO WHILE( !bFinished ) - * bFinished :=DOSomethingVeryImportant() - * HB_IdleState() - * ENDDO - * cbAction := HB_IDLEDEL( nTask1 ) - * HB_IDLEDEL( nTask2 ) - * $STATUS$ - * Harbour - * $COMPLIANCE$ - * Harbour extension similar to FT_IAMIDLE() function available - * in NanForum library. - * $PLATFORMS$ - * All - * $FILES$ - * source/rtl/idle.c - * $SEEALSO$ - * HB_IDLEADD(), HB_IDLEDEL() - * $END$ - */ - -Signaling the idle state from C code ------------------------------------- - -/* $DOC$ - * $FUNCNAME$ - * hb_idleState() - * $CATEGORY$ - * The idle states - * $ONELINER$ - * Evaluates a single background task and calls the garbage collector. - * $SYNTAX$ - * void hb_idleState( void ); - * $ARGUMENTS$ - * None - * $RETURNS$ - * Nothing - * $DESCRIPTION$ - * hb_idleState() requests the garbage collecting and executes a - * single background task defined by the codeblock code passed with - * HB_IDLEADD() function. It also releases the CPU time slices for - * platforms that require it. - * Every call for this function evaluates different task in the - * order of tasks creation. There is no arguments passed during - * a codeblock evaluation. - * This function can be safely called even if there are no background - * tasks defined. - * This function is automatically called from INKEY() function. - * $STATUS$ - * Harbour - * $PLATFORMS$ - * All - * $FILES$ - * source/rtl/idle.c - * $SEEALSO$ - * HB_IDLEADD(), HB_IDLEDEL(), HB_IDLESTATE() - * $END$ - */ diff --git a/harbour/hb_slex.bc b/harbour/hb_slex.bc index abf9e0b1a9..aea1f5a8ef 100644 --- a/harbour/hb_slex.bc +++ b/harbour/hb_slex.bc @@ -30,7 +30,7 @@ # # NOTE: BCC_NOSTARTUP must be defined for Borland C++ 5.3 to make it work. # - +.autodepend !if $d(B16) BCC_NOSTARTUP = "" diff --git a/harbour/make_gnu.bat b/harbour/make_gnu.bat index 61e7e1e069..634cec09e8 100644 --- a/harbour/make_gnu.bat +++ b/harbour/make_gnu.bat @@ -109,7 +109,7 @@ if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=include\ rem --------------------------------------------------------------- rem Start the GNU make system - make %1 %2 %3 %4 %5 %6 %7 %8 %9 + maker %1 %2 %3 %4 %5 %6 %7 %8 %9 goto END :END diff --git a/harbour/makefile.bc b/harbour/makefile.bc index c466995c5e..34b42f781a 100644 --- a/harbour/makefile.bc +++ b/harbour/makefile.bc @@ -30,7 +30,7 @@ # # NOTE: BCC_NOSTARTUP must be defined for Borland C++ 5.3 to make it work. # - +.autodepend !if $d(B16) BCC_NOSTARTUP = ""