diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 06e2f7d14c..4ad731ad52 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,62 @@ +2000-06-16 13:37 UTC+0100 Victor Szakats + + * include/hbapigt.h + * source/rtl/gtapi.c + * source/rtl/gt*/* + * Renamed hb_gt_Suspend()/hb_gt_Resume() to hb_gt_Pre/PosExt() + % Some cleanup on the recent additions to the GT module. + ! Small fix for gt_tpl/gt_tpl.c + ! Ambiguous nested if()s fixed. + + * source/rtl/transfrm.c + ! Fixed handling of "S" picture function, now it works for every + data type, and doesn't need to be the first function to work. + * "0" picture function renamed to "L", some steps made towards the + optional filling char support. In the meantime the filling char is + always "0". + % Some optimizations made (two static function calls eliminated, since + parameter passing was getting messy). Comments added instead. + + * source/rtl/teditorl.c + % Some optimizations made, many casts removed. + ! Non-portable ULONG casts on pointers removed. + + * makefile.bc + % Removed some more redundant -I$(INCLUDE_DIR)s + + * include/hbclass.ch + ! Minor cleanups (#includes moved after the self-guards, nil->NIL, + oClass -> s_oClass, indentation, extern->REQUEST) + + * include/hbpp.h + ! Minor formatting + + * source/pp/ppcore.c + * include/hberrors.h + ! HB_COMP_ERR_BAD_RULES_FILE_NAME -> HB_PP_ERR_BAD_RULES_FILE_NAME + + * source/rtl/Makefile + * source/rdd/Makefile + ! Fixed tabs for recently added files (TOBJECT, DBLIST). + PLEASE pay attention to the tabs when adding new files to the GNU-make + files. + + * source/rtl/tclass.prg + * source/rtl/tobject.prg + * Some minor cleanups, fixes, optimizations. + + + source/rdd/dbupdat.prg + * source/rdd/dblist.prg + * source/rdd/Makefile + * makefile.vc + * makefile.bc + * Formatted sources. __DBUPDATE() moved to a separate file. + + Comments added. Variables renamed. + % Some minor optimizations. + + * makefile.vc + ! Updated for TOBJECT and DBLIST + 2000-06-16 01:42 UTC-0800 Ron Pinkas * makefile.bc - Removed redundant -I from echo into make.tmp (Harbour.exe) @@ -56,11 +115,11 @@ * source/pp/ppcore.c ! Fixed getExpReal() to terminate on unbalanced ')' -2000-06-14-13:00 GMT +1 Ignacio Ortiz de Zuniga +2000-06-14 13:00 GMT+1 Ignacio Ortiz de Zuniga * memoline.c * fixed reported bug -2000-06-13-21:20 GMT -3 Luiz Rafael Culik +2000-06-13 21:20 GMT-3 Luiz Rafael Culik *makefile.bc source/rdd/makefile +Added dblist to dependencie list @@ -121,7 +180,6 @@ * Correct bug with default initialiser for Logical and Numeric * Now a logical is .F. by default and a numeric is 0 ! - 2000-06-12 17:20 UTC+0200 JfL&RaC *source\rtl\tobject.prg *source\rtl\tclass.prg @@ -227,7 +285,6 @@ ! Added several missing type casts on hb_xgrab() calls. * Converted source code from double spaced to single spaced. - 2000-06-09 12:00 UTC-0800 Ron Pinkas * include/hbpp.h * source/compiler/harbour.c diff --git a/harbour/bin/bld.bat b/harbour/bin/bld.bat index 9cee29bf79..d94661ff23 100644 --- a/harbour/bin/bld.bat +++ b/harbour/bin/bld.bat @@ -114,7 +114,8 @@ if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=..\include\ if not "%HB_COMPILER%" == "bcc16" goto A_DOS_BCC16_NOT echo -O2 -d -mh %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% > build.tmp - echo -e%1.exe %1.c >> build.tmp + echo -e%1.exe >> build.tmp + echo %1.c >> build.tmp echo debug.lib >> build.tmp echo vm.lib >> build.tmp echo rtl.lib >> build.tmp @@ -134,7 +135,8 @@ if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=..\include\ if not "%HB_COMPILER%" == "djgpp" goto A_DOS_DJGPP_NOT - echo %1.c -o%1.exe %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% > build.tmp + echo %1.c > build.tmp + echo -o%1.exe %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% >> build.tmp echo -ldebug >> build.tmp echo -lvm >> build.tmp echo -lrtl >> build.tmp diff --git a/harbour/bin/bld.cmd b/harbour/bin/bld.cmd index a2b86916a8..5dc2a3f1b3 100644 --- a/harbour/bin/bld.cmd +++ b/harbour/bin/bld.cmd @@ -114,7 +114,8 @@ if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=..\include\ if not "%HB_COMPILER%" == "bcc16" goto A_DOS_BCC16_NOT echo -O2 -d -mh %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% > build.tmp - echo -e%1.exe %1.c >> build.tmp + echo -e%1.exe >> build.tmp + echo %1.c >> build.tmp echo debug.lib >> build.tmp echo vm.lib >> build.tmp echo rtl.lib >> build.tmp @@ -134,7 +135,8 @@ if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=..\include\ if not "%HB_COMPILER%" == "djgpp" goto A_DOS_DJGPP_NOT - echo %1.c -o%1.exe %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% > build.tmp + echo %1.c > build.tmp + echo -o%1.exe %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% >> build.tmp echo -ldebug >> build.tmp echo -lvm >> build.tmp echo -lrtl >> build.tmp diff --git a/harbour/include/hbapigt.h b/harbour/include/hbapigt.h index 565a71790f..131478e109 100644 --- a/harbour/include/hbapigt.h +++ b/harbour/include/hbapigt.h @@ -169,6 +169,8 @@ extern USHORT hb_gt_GetScreenWidth( void ); extern void hb_gt_GetText( USHORT uiTop, USHORT uiLeft, USHORT uiBottom, USHORT uiRight, BYTE * pbyDst ); extern USHORT hb_gt_HorizLine( USHORT uiRow, USHORT uiLeft, USHORT uiRight, BYTE byChar, BYTE byAttr ); extern BOOL hb_gt_IsColor( void ); +extern BOOL hb_gt_PreExt( void ); +extern BOOL hb_gt_PostExt( void ); extern void hb_gt_Puts( USHORT uiRow, USHORT uiCol, BYTE byAttr, BYTE * pbyStr, ULONG ulLen ); extern void hb_gt_PutText( USHORT uiTop, USHORT uiLeft, USHORT uiBottom, USHORT uiRight, BYTE * pbySrc ); extern int hb_gt_ReadKey( HB_inkey_enum eventmask ); @@ -184,8 +186,6 @@ extern void hb_gt_SetPos( SHORT iRow, SHORT iCol ); extern void hb_gt_Tone( double dFrequency, double dDuration ); extern char * hb_gt_Version( void ); extern USHORT hb_gt_VertLine( USHORT uiCol, USHORT uiTop, USHORT uiBottom, BYTE byChar, BYTE byAttr ); -extern BOOL hb_gt_Suspend(); -extern BOOL hb_gt_Resume(); /* Keyboard related declarations */ diff --git a/harbour/include/hbclass.ch b/harbour/include/hbclass.ch index cb4ed03b78..98c1cc6bdc 100644 --- a/harbour/include/hbclass.ch +++ b/harbour/include/hbclass.ch @@ -44,8 +44,6 @@ * Delegating, DATA Shared * Support of 10 Chars limits * - * 2000/06/07 One minor bug in one command - * * Copyright 2000 Brian Hays * Documentation for the commands * @@ -53,12 +51,12 @@ * */ -#include "hbsetup.ch" -#include "hboo.ch" - #ifndef HB_CLASS_CH_ #define HB_CLASS_CH_ +#include "hbsetup.ch" +#include "hboo.ch" + #xtranslate HBCLSCHOICE( , , ) => iif( , HB_OO_CLSTP_EXPORTED , iif( , HB_OO_CLSTP_PROTECTED, iif( , HB_OO_CLSTP_HIDDEN, nScope) ) ) #xtranslate CREATE CLASS => CLASS @@ -67,10 +65,10 @@ #xcommand CLASS [ [,] ] [] => ; function () ;; - static oClass ;; + static s_oClass ;; local nScope := HB_OO_CLSTP_EXPORTED ;; - if oClass == nil ;; - oClass := TClass():New( <(ClassName)>, __CLS_PARAM([ <(SuperClass1)> ] [ ,<(SuperClassN)> ] ) ) ;; + if s_oClass == NIL ;; + s_oClass := TClass():New( <(ClassName)>, __CLS_PARAM([ <(SuperClass1)> ] [ ,<(SuperClassN)> ] ) ) ;; #undef _CLASS_NAME_ ;; #define _CLASS_NAME_ ;; #translate CLSMETH () => @_() ; @@ -78,16 +76,16 @@ [ ; #translate Super( ) : => ::: ] ; [ ; #translate Super() : => ::: ] ; [ ; #translate Super : => ::: ] ; - [ ; extern ] [ , ] + [ ; REQUEST ] [ , ] #else #xcommand CLASS [ [,] ] [] => ; function () ;; - static oClass ;; + static s_oClass ;; local nScope := HB_OO_CLSTP_EXPORTED ;; - if oClass == nil ;; - oClass := TClass():New( <(ClassName)>, __CLS_PARAM([ <(SuperClass1)> ] [ ,<(SuperClassN)> ] ) ) ;; + if s_oClass == NIL ;; + s_oClass := TClass():New( <(ClassName)>, __CLS_PARAM([ <(SuperClass1)> ] [ ,<(SuperClassN)> ] ) ) ;; #undef _CLASS_NAME_ ;; #define _CLASS_NAME_ ;; #translate CLSMETH () => @() ; @@ -95,7 +93,7 @@ [ ; #translate Super( ) : => ::: ] ; [ ; #translate Super() : => ::: ] ; [ ; #translate Super : => ::: ] ; - [ ; extern ] [ , ] + [ ; REQUEST ] [ , ] #endif /* HB_SHORTNAMES */ @@ -113,69 +111,69 @@ #xtranslate PROTECTED: => nScope := HB_OO_CLSTP_PROTECTED #xcommand DATA [ AS ] [ INIT ] [ ] [] [