Files
harbour-core/harbour/ChangeLog
Ron Pinkas eb2d8afdb4 20000522-06:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added "as structure", "as stru", "as array of structure", "as array of stru"

   * source/compiler/hbpcode.c
     * Improved some logic in hb_StrongType()

   * source/vm/hvm.c
     ! Corrected startup symbol when having to use Main() as per Ryszard.

   * source/pp/pptable.c
     + Added the equivalent of:
        #COMMANDS STRUCTURE <StruName> <Var1> AS <Type1> [, <VarN> AS <TypeN> ] => ;
                  STATIC __<StruName> := {|| IF( __<StruName> == NIL, , ) , HB_Structure( <"StruName">, { <"Var1"> [, <"VarN">] } )} ;;
                  DECLARE <StruName> <Var1> AS <Type1> [ <VarN> AS <TypeN> ] ;;
                  #TRANSLATE AS NEW <ClassName> => AS CLASS <StruName> := ( Eval( __<StruName> ), HB_Structure( <StruName> ) )

	#TRANSLATE AS NEW <ClassName> => AS CLASS <ClassName> := <ClassName>():New()

   * source/rtl/tclass.prg
     + Added Function HB_Structure() ( Fully Declared! ) This function is used internally, but may be freely called from Clipper level.
       It Aceepts Parameter 1 Structure Name, and optional parameter 2, as array of structure variable names.
       If called with 2nd parameter, returns NIL (just creates the new Structure), if called with just parameter 1, it returns
       new instance of defined structure.

   + tests\teststru.prg
     + Added demo for new structure syntax
2000-05-22 13:53:14 +00:00

1544 lines
50 KiB
Plaintext

20000522-06:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added "as structure", "as stru", "as array of structure", "as array of stru"
* source/compiler/hbpcode.c
* Improved some logic in hb_StrongType()
* source/vm/hvm.c
! Corrected startup symbol when having to use Main() as per Ryszard.
* source/pp/pptable.c
+ Added the equivalent of:
#COMMANDS STRUCTURE <StruName> <Var1> AS <Type1> [, <VarN> AS <TypeN> ] => ;
STATIC __<StruName> := {|| IF( __<StruName> == NIL, , ) , HB_Structure( <"StruName">, { <"Var1"> [, <"VarN">] } )} ;;
DECLARE <StruName> <Var1> AS <Type1> [ <VarN> AS <TypeN> ] ;;
#TRANSLATE AS NEW <ClassName> => AS CLASS <StruName> := ( Eval( __<StruName> ), HB_Structure( <StruName> ) )
#TRANSLATE AS NEW <ClassName> => AS CLASS <ClassName> := <ClassName>():New()
* source/rtl/tclass.prg
+ Added Function HB_Structure() ( Fully Declared! ) This function is used internally, but may be freely called from Clipper level.
It Aceepts Parameter 1 Structure Name, and optional parameter 2, as array of structure variable names.
If called with 2nd parameter, returns NIL (just creates the new Structure), if called with just parameter 1, it returns
new instance of defined structure.
+ tests\teststru.prg
+ Added demo for new structure syntax
20000522-01:51 DST Paul Tucker <ptucker@sympatico.ca>
* include/hbcomp.h
* adjust declaration of COMCLASS and COMDECLARE
20000521-21:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
- Removed few unneeded hb_strdup() from calls to hb_compClassFind()
+ Added auto addition of Method Declaration for the SET Function of a declared Var of a declared class.
* source/compiler/harbour.c
- Removed few unneeded hb_strdup() from calls to hb_compClassFind()
20000521-14:42 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* tests/testwarn.prg
! Consolidate #translate rules, and verified that it can compile under Clipper
20000521-14:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added "as class"
* source/compiler/harbour.y
! Fixed shift conflicts and reduce conflicts.
* Modified rules for syntax "AS Object ClassName" to "As Class ClassName"
* tests/testwarn.prg
! Corrected the #translate to reflect latest syntax
! Corrected syntax to use AS CLASS ClassName instead of AS OBJECT ClassName.
20000520-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbvmpub.h
+ Added: #define HB_FS_FIRST ( ( HB_SYMBOLSCOPE ) 0x40 )
* source/compiler/genc.c
+ Added logic to add | HB_FS_FIRST to first defined symbol in a prg.
* source/vm/hvm.c
* Modified hb_vmProcessSymbols() to look for HB_FS_FIRST for startup procedure instead of any first symbol.
* source/compiler/harbour.y
* Minor consilidation in AsType
*** I am aware of 6 reduce conflicts resulting from previous removal of FROM_CLASS, and am looking into it. ***
* tests/testwarn.prg
! Corrected the #translate to reflect latest syntax
20000521-00:37 DST Paul Tucker <ptucker@sympatico.ca>
* source/rtl/setkey.c
+ include "hbgtapi.h" - needed for proper c++ support
20000520-10:07 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
- Removed rule for "FROM CLASS"
+ Added "AS Obj" as an abrreviation for "AS Object"
* source/compiler/harbour.y
* Changed "AS Object FROM CLASS ClassName" to "As Object ClassName"
* tests/testwarn.prg
* Modified code to demonstrate new syntax for "As Object..."
20000520-15:25 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/gtcrs/gtcrs.c
* fixed hb_gt_SetAttribute() to work correctly
with ncurses library
(thanks to Marek Paliwoda)
20000520-14:45 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/gtcrs/gtcrs.c
* fixed hb_gt_SetAttribute() to work with plain curses library
(thanks to Marek Paliwoda)
*source/rtl/gtcrs/kbdcrs.c
*source/rtl/gtcrs/mousecrs.c
* fixed a module description
20000519-23:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*makefile.bc
makefile.vc
source/lang/makefile
+Added new language modules
+source/lang/msgcsiso.c
*Language module for CZECH
*source/lang/msgcs852.c
source/lang/msgcskam.c
*Updated
20000519-15:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
+ Minor correction in hb_compStrongType()
20000519-15:28 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
+ Added member pParamClasses to COMDECLARED
* Changed hb_comp_szClass to hb_comp_szFromClass
* source/compiler/harbour.y
* Changed hb_comp_szClass to hb_comp_szFromClass
* source/compiler/harbour.c
+ Added support for declared parameters of Functions/Methods AS Object FROM CLASS ...
* source/compiler/hbpcode.c
+ Added Strong Type checking for declared parameters of Functions/Methods AS Object FROM CLASS ...
* tests/testwarn.prg
+ Added code to demonstrate warnings for declared parameters of Functions/Methods AS Object FROM CLASS ...
20000519-10:17 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
* source/compiler/harbour.c
* source/compiler/hbpcode.c
+ Added support for AS Array Of Objects FROM CLASS ClassName syntax and type checking.
* tests/testwarn.prg
+ Added code to demonstrate syntax and warnings for AS Array Of Objects FROM CLASS ClassName syntax and type checking.
20000519-02:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
! Consolidated COMDECLARED and COMMETHOD into COMDECLARED
+ Added member pClass to COMDECLARED
+ Added member pLast to COMCLASS
* source/compiler/harbour.y
+ Added support for Methods/Datas of type Object of a declared Class.
* source/compiler/harbour.c
! Fixed bug in hb_compMethodAdd()
* source/compiler/hbpcode.c
+ Added Strong Type Checking to Objects syntax.
* include/hberrors.h
+ Added : "HB_COMP_WARN_MESSAGE_NOT_FOUND"
* source/compiler/hbgenerr.c
+ Added : "3Message \'%s\' not known in Class \'%s\'"
* tests/testwarn.prg
+ Added code to demonstrate syntax and warnings for OO Strong Type Checking.
20000516-22:48 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/memoedit.prg
! fixed call to StrTran passing K_TAB instead of Chr(K_TAB)
20000516-03:55 GMT+4 April White <awhite@user.rose.com>
* source\rtl\makefile
- setkey.prg from PRG_SOURCES section (a conflict prevented the prev update)
+ setkey.c to C_SOURCES section
20000515-19:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
! Corrected (again) rules for OPTIONAL to not conflict with DO OPTIONAL WITH ... and FOR Counter := OPTIONAL TO ...
20000515-20:22 GMT+4 April White <awhite@user.rose.com>
* source\rtl\makefile
- setkey.prg from PRG_SOURCES section
+ setkey.c to C_SOURCES section
* makefile.bc
- removed setkey.prg rule (?)
* changed (OBJ_DIR)\setkey.c to (RTL_DIR)\setkey.c
* makefile.vc
* moved the setkey.obj rule from PRG section to C section
* source\rtl\console.c
+ added hb_setkeyInit() to hb_conInit()
+ added hb_setkeyExit() to hb_conRelease()
* include\hbapigt.h
+ added declaration for hb_setkeyInit() and hb_setkeyExit()
+ source\rtl\setkey.prg
+ C implimentation of setkey
* tests\setkeys.prg
* added code to disable (and later restore) F8 hot key while
inside it's action block - prevents recursion
* changed condition block on F10 hot-key to use getactive():VarGet() vs
getactive():buffer - this prevented testing non-character gets
* tests\gnu_test.bat
* added % to end of hb_architecture & hb_compiler where needed
* include\hbextern.ch
* changed 'rtl\setkey.prg' to 'rtl\setkey.c'
20000516-03:59 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/lang/Makefile
* source/lang/msgsr852.c
+ source/lang/msgsriso.c
* source/compiler/hbusage.c
* makefile.bc
* makefile.vc
+ Added new languages.
20000515-18:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
- Removed: warning of uninitialized static variable.
* source/compiler/hbpcode.c
- Removed: warning of uninitialized static variable.
! Minor correction to hb_compStrongType()
20000515-23:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
+ added soft CR handling
! fixed a bug in K_CTRL_Y handling
* source/rtl/memoedit.prg
* original MemoEdit() changes K_TAB chars to spaces upon loading of text
20000515-23:05 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/teditorl.c
* source/rtl/padl.c
% Minor optimizations and formatting.
20000515-22:47 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/compiler/hbusage.c
! Removed conditional OBJ generation branch.
* source/compiler/hbfix.c
! Unused variable warnings fixed.
20000515-10:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added states DECLARE & OPTIONAL_
* Modified rules for "declare" and "optional" to use states, and support abbreviations.
* Modified rules for "declare" to support backdated syntax DECLARE aVar[...]
20000515-17:15 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/gtcrs/gtcrs.c
*fixed initialization of curses library
20000514-22:25 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
- Removed: not needed states
- Removed "class method" "class data"
+ Added rules for "declare""
* source/compiler/harbour.y
* Changed rules for DECLARE FUNCTION as per Ryszard suhhestion, New Sysntax is simply:
DECLARE FunName([...]) [As ...]
* Changed rules for DECLARE CLASS as per Ryszard suhhestion, New Sysntax is simply:
DECLARE ClassName MethodName([...]) [As ...] DataVar [As ...]
* source/compiler/harbour.c
! Minor correction to allow final declaration to override previous declaration of same function.
* tests/testwarn.prg
* Modified code to demonstrate syntax functions, classes and objects of a declared class declarations.
20000514-19:17 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
! Additional Correction so '@' handled correctly on any var in a Function Declaration.
20000514-18:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
* Remmed some debug printf()
20000514-18:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
! Corrected '@' to be accepted on any var in a Function Declaration.
! Simplified rules of Function Declaration Parameter list.
20000514-12:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
+ Seperated the DECLARE... from Function, moved into a Declare, and Added Declare as type of Source.
! Added reset of hb_comp_iVarScope to DECLARE... to fix wrong "Statement not allowed outside of procedure or function"
* source/compiler/hbgenerr.c
* Modified : "3Duplicate Declaration of %s \'%s\'" to accept 1st parameter type of redeclaration ( Function, Class, Method ).
* source/compiler/harbour.c
* Modified calls to hb_compGenWarning() to use additional parameter of redclaration type.
20000514-10:07 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
! Fixed parse error when DO OPTIONAL WITH 1 or " or other non alpha charcaters
! Fixed parse error when FOR Var := OPTIONAL TO ...
20000514-09:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
! Fixed GPF when using DECLARE CLASS and -w < 3
* source/compiler/harbour.c
! Fixed GPF when using DECLARE CLASS and -w < 3
20000514-09:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
! Fixed parse error when DO OPTIONAL WITH ...
* Changed FROM to FROM CLASS in AS Obect FROM CLASS ... (fixed conflict of FROM with DO FROM ...)
* Changed AS ... ARRAY to AS ARRAY OF ...
20000514-14:55 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.y
* fixed bug in line counting that was causing no code
generated for statements placed within BEGIN/END SEQUENCE
20000513-14:50 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbcomp.h
* added 'int iDeclLine' to VAR structure to hold the line number
where a variable was declared
*source/compiler/harbour.c
*source/compiler/harbour.y
* fixed generation of 'unreachable code' warnings
* warnings for declared but not used variable reports the line
number where this variable was declared
20000513-13:51 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
- source/rtl/stringsx.c
- removed
+ source/rtl/teditorl.c
+ added
* source/rtl/Makefile
* Makefile.bc
* Makefile.vc
* changed to reflect previous changes
20000513-00:51 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* Makefile.bc
+ added stringsx.c
* Makefile.vc
+ added stringsx.c
* source/rtl/Makefile
! fixed tab chars in file (I hope)
20000513-00:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/stringsx.c
* Changed StrToken() to __StrToken()
- removed unused functions
+ added standard copyright, please note that __StrToken() is NOT my work.
* source/rtl/teditor.prg
* StrToken() now is __StrToken()
* ChangeLog, now saved as unix file, only cr at end of line, forced my editor to save all files
as unix files regardless of their actual state.
20000512-08:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
+ Added support for END to be used with FOR loops.
* include/hberrors.h
+ Added : #define HB_COMP_WARN_CLASS_NOT_FOUND
* source/compiler/hbgenerr.c
+ Added: 3Class \'%s\' not known in declaration of variable \'%s\'"
* source/compiler/harbour.c
- Remmmed a "debug" printf()
+ Added warning when class not know when declaring an object FROM Class ...
20000512-13:31 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
+ source/rtl/stringsx.c
+ added to rtl since teditor.prg needs StrToken()
* source/rtl/Makefile
+ added stringsx.c to list of needed files
* source/rtl/teditor.prg
% Text2Array() is twice as fast and uses A LOT less memory.
20000510-22:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/vm/fm.c
+ Added OS/2 support to Memory() function
* source/compiler/harbour.c
! fixed hb_compFunctionNew() define conflicting with actual implementation
20000510-03:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
+ Added new structures COMCLASS and COMMETHOD
+ Added new element pClass to structure VAR
+ Added:
extern PCOMCLASS hb_compClassAdd( char * );
extern PCOMCLASS hb_compClassFind( char * );
extern PCOMMETHOD hb_compMethodAdd( PCOMCLASS pClass, char * );
extern PCOMMETHOD hb_compMethodFind( PCOMCLASS pClass, char * );
* source/compiler/harbour.c
+ Added:
PCOMCLASS hb_compClassAdd( char * );
PCOMCLASS hb_compClassFind( char * );
PCOMMETHOD hb_compMethodAdd( PCOMCLASS pClass, char * );
PCOMMETHOD hb_compMethodFind( PCOMCLASS pClass, char * );
* Modified hb_compVariableAdd() to process params of declared class methods.
* source/compiler/harbour.l
+ Added tokens CLASSMETHOD CLASSDATA and FROMCLASS
* source/compiler/harbour.y
+ Added support for class declaration syntax:
DECLARE CLASS ClassName HAS Method MethodName( ... ) As ... HAS Data PropertyName ...
+ Added support for declaration of Object of a sdeclared class sysntax:
DECLARE oObjectVar AS Object FROM ClassName
* source/compiler/hbpcode.c
+ Started support for object methods and properties type checking.
* tests/testwarn.prg
+ Added code to demonstrate declarion of classes and objects of a declared class.
20000510-03:45 DST Paul Tucker <ptucker@sympatico.ca>
* source/compiler/harbour.c
change param 2 of hb_compFunctionNew() definition to BYTE
* source/compiler/hbpcode.c
Added a whole whack of (char *)'s to sprintf calls to satisfy msvc.
2000-05-09 19:20 GMT-4 David G. Holm <dholm@jsd-llc.com>
* contrib/rdd_ads/ads1.c
% Modified ADS_GETFUNCTABLE to use pointers.
* doc/cvs_ssh.txt
+ Added explanation about your SourceForge CVS ID is all lower
case, regardless of the case of your SourceForge login ID.
* include/hbver.h
+ I bumped the revision to "a" and the date to 2000-05-05, because I
released a test binary at http://www.jsd-llc.com/Harbour-Project/
20000509-22:27 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
+ added a few methods and a new class to support (someday) soft CR
* source/rtl/memoedit.prg
* changed to simulate a K_CTRL_W as LastKey() after a MemoEdit() call
20000509-00:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
! Corrcted HB_P_NOT and minor fixes.
20000508-22:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
* Modified hb_compStrongType() to accept NIL as valid parameter for all declared parameters.
20000508-22:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
- Removed un used token DECLARE_
* source/compiler/harbour.y
! Fixed warning about conflict
! Verified all calls to hb_compVariableAdd() to use hb_comp_cVarType (and VT_OFFSET_* constants) as 2nd parameter
+ Added rules to support syntax of declaration of variable by reference parameter.
* include/hbcomp.h
+ Added :
#define VT_OFFSET_BYREF 60
#define VT_OFFSET_VARIANT 90
#define VT_OFFSET_OPTIONAL 90
* source/compiler/harbour.c
* Minor cleanup in hb_compVariableAdd()
* source/compiler/hbpcode.c
* Modified hb_compStrongType() to use VT_OFFSET_* constants.
* source/compiler/hbgenerr.c
* Changed "number" to "#" in HB_COMP_WARN_PARAM_TYPE message.
* tests/testwarn.prg
+ Added code to demonstrate new "Declared Refernced Parameter" syntax:
DECLARE FRead( nHandle As Num, @cBufferVar As Char, nBytes As Num ) AS Num
20000508-22:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*doc/genhtm.rsp
+Added lang.txt to HBDOC response file
*doc/en/compiler.txt
+Added -w4 description
+doc/en/lang.txt
*Documentation for HB_LANGSELECT() and HB_LANGNAME()
The follow is mission from previus session
*doc/en/rddmisc.txt
*some docs rewriten
*doc/en/array.txt
*Change Lib name entry in $FILES$ section from ASORT() function to rtl
and back to vm
*source/lang/msgpt.c
*small changes
20000509-00:35 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbsetup.h
! Removed doubled part.
20000508-00:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added rules so that "optional" won't conflict with identifiers named optional.
20000507-21:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added token "optional"
* source/compiler/harbour.y
+ Added token "optional", DecParam, DecParamList, OptParams.
+ Added support for optional parameters syntax in declared functions.
* source/compiler/harbour.c
+ Added logic in hb_compVariableAdd() to deal with optional parameters of declared functions.
* source/compiler/hbpcode.c
+ Added logic in hb_compStrongType() to deal with optional parameters of declared functions.
* tests/testwarn.prg
+ Added code to demonstrate usage and warnings of optional parameters in declared functions.
20000507-23:30 CET Patrick Mast <harbour@PatrickMast.com>
* source/compiler/cmdcheck.c
+ Added -? and -h option for the compiler.
these options show the Harbour usage page.
20000507-13:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hberrors.h
+ Added : #define HB_COMP_WARN_VAL_NOT_USED 20
* source/compiler/harbour.c
+ Added logic to hb_compOptimizeFrames() to warn about invalid statics usage.
* source/compiler/hbgenerr.c
+ Added: "3Value of Variable \'%s\' never used"
* source/compiler/hbpcode.c
* Enhanced support for statics
* tests/testwarn.prg
+ Added more code to demonstrate more warnings.
20000507-05:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbpcomp.c
+ Added pPrivates to structure FUNCTION.
* source/compiler/harbour.c
+ Added logic to maintain linked list pPrivates of pFunc.
* source/compiler/harbour.y
+ Added support for MEMVAR AS ... syntax.
* source/compiler/hbpcode.c
+ Added static PVAR hb_compPrivateFind( char * szPrivateName )
+ Added support for FIELD AS ... and MEMVAR AS both local and global.
! More refinments
* tests/testwarn.prg
+ Added more code to demonstrate more warnings.
20000507-14:05 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbapi.h
*include/hbmacro.h
*source/rtl/macro.c
*source/rtl/memvars.c
* hb_memvarScope() function has now a global scope
* fixed the value returned by TYPE() function for variables
not visible at runtime (now returns 'U' instead of 'UE')
20000507-09:40 GMT+1 Victor Szakats <info@szelvesz.hu>
* tests/gnu_test.bat
! Fixed envvar references.
20000506-22:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
+ Added #define VS_NONE 0
* source/compiler/harbour.c
! Fixed bug in hb_compVariableAdd() was never adding new var to pFunc->pMemvars because
hb_comp_iVarScope was tested with == rather & VS_MEMVAR
* source/compiler/harbour.y
+ Added hb_comp_iVarScope = VS_NONE to reset it after PRIVATE PUBLIC and PARAMETERS statements.
* source/compiler/hbpcode.c
+ Added logic to reset type of privates (need to check publics) after calls to functions or procedures which might affect them.
! Many fixes and consolodiations
20000506-16:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
+ Added logic to hb_compStrongType() to support object methods and properties.
* Enhanced logic of array checks.
* include/hberrors.h
! Added #define HB_COMP_WARN_ARRAY_ASSIGN_SUSPECT
* source/compiler/hbgenerr.c
* Added : 4Suspicious type in assignment to declared array element expected: \'%s\'"
20000506-12:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
+ Added logic to allow PLUS an MINUS to accept any type as long as same.
! Fixed compiler warning about pVar
* Minor optimizations
20000506-17:46 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/compiler/harbour.c
! hb_compGenPushDouble() buffer overflow bug fixed.
Thanks to Istvan Foldi.
20000505-19:26 GMT+1 Antonio Linares <alinares@fivetech.com>
* source/compiler/genobj32.c
* 4 bytes alignment compatible.
* source/vm/borinit.c
* 4 bytes aligment compatible.
* makefile.bc
+ borinit.c added
20000505-19:15 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbapi.h
*include/hbexprop.h
*source/common/expropt1.c
*source/macro/macro.y
*source/vm/macro.c
* added int exprType for HB_MACRO structure
* TYPE( "{|| NotLinked()}" ) returns now 'B' instead of 'UI'
20000505-17:53 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbcomp.h
*source/compiler/harbour.c
*moved declaration of hb_compVariableGetPos into the header file
*source/compiler/harbour.c
* fixed generation of line number pcode at the beginning of
a function
*source/compiler/hbpcode.c
* fixed non-standard escape sequence "\]" (gcc warnings)
* fixed incorrect number of parameters passed to sprintf
20000505-10:47 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
! cvs completely broke source file adding Chr(13) chars allover
20000504-23:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/cmdcheck.c
+ Added -w4 option for the compiler.
20000504-22:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
- Removed static qualifier from hb_compVariableGetPos() so it can be called from hb_compStrongType()
* source/compiler/hbpcode.c
+ Added logic to hb_compStrongType() to allow assigment of NIL to any type variable.
+ Added "Adaptive Type Checking" to control type mismatch in undeclared variables.
* include/hberrors.h
! Modified #define HB_COMP_ARRAY_ASSIGN_TYPE to HB_COMP_WARN_ARRAY_ASSIGN_TYPE
* source/compiler/hbgenerr.c
* Moved "Suspecious ..." to level w4
* tests/testwarn.prg
+ Added code to demonstrate "Adaptive Type Checking".
20000505-02:03 GMT+1 Victor Szakats <info@szelvesz.hu>
* make_gnu.*
- Removed output redirection.
* config/dos/bcc16.cf
* config/dos/djgpp.cf
! echo -> echo.
* contrib/hbclip/*
+ HB_ARGC(), HB_ARGV() added.
20000505-00:27 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
! fixed a few bugs
2000-05-04 18:00 GMT-4 David G. Holm <dholm@jsd-llc.com>
* contrib/rdd_ads/ads1.c
! The adsGoBottom() function was not using the current index order.
% Minor formatting changes (added missing space in front of ? and on
both sides of : in several ?: expressions)
20000504-17:10 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbvm.h
*source/vm/hvm.c
* added hb_vmPushPointer( void * pPointer ) function to push
an item of type HB_IT_POINTER onto the eval stack
*source/rdd/dbcmd.c
*source/rdd/dbf1.c
*source/rdd/delim1.c
*source/rdd/sdf1.c
*source/rdd/dbfcdx/dbfcdx1.c
*source/rdd/dbfntx/dbfntx1.c
* changed to access pointers via hb_vmPushPointer/hb_itemGetPtr
instead of passing them using values of long type
20000504-04:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
! Fixed GPF when Array of 0 elements created.
20000504-03:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added:
"as bool array" { return AS_LOGICAL_ARRAY; }
"as boolean array" { return AS_LOGICAL_ARRAY; }
"as var" { return AS_VARIANT; }
"as variant" { return AS_VARIANT; }
"as num array" { return AS_NUMERIC_ARRAY; }
"as numeric array" { return AS_NUMERIC_ARRAY; }
"as char array" { return AS_CHARACTER_ARRAY; }
"as character array" { return AS_CHARACTER_ARRAY; }
"as string array" { return AS_CHARACTER_ARRAY; }
"as logical array" { return AS_LOGICAL_ARRAY; }
"as bool array" { return AS_LOGICAL_ARRAY; }
"as boolean array" { return AS_LOGICAL_ARRAY; }
"as date array" { return AS_DATE_ARRAY; }
"as array array" { return AS_ARRAY_ARRAY; }
"as block array" { return AS_BLOCK_ARRAY; }
"as object array" { return AS_OBJECT_ARRAY; }
"as var array" { return AS_VARIANT; }
"as variant array" { return AS_VARIANT; }
* source/compiler/harbour.y
+ Added AsArray
+ Added : %token AS_NUMERIC_ARRAY AS_CHARACTER_ARRAY AS_LOGICAL_ARRAY AS_DATE_ARRAY AS_ARRAY_ARRAY AS_BLOCK_ARRAY AS_OBJECT_ARRAY AS_VARIANT_ARRAY
+ Added rules to support declarion of array elements type
* source/compiler/harbour.c
! Minor fix to hb_compVariableGetPos() to signify var usage if warning level lower than 3
* source/compiler/hbpcode.c
+ Added logic to hb_compStrongType() to support type checking of array elements declared type.
* include/hberrors.h
+ Added #define HB_COMP_ARRAY_ASSIGN_TYPE
* source/compiler/hbgenerr.c
+ Added : "3Incompatible type in assignment to declared array element expected: \'%s\'"
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
* contrib/hbclip/hbclip.ch
+ Added additional strong typing compatibility translations
20000504-12:07 GMT+3 Chen Kedem <niki@actcom.co.il>
* doc/en/array.txt
! Change ASORT() $COMPLIANCE$ as suggested by Victor Szakats
20000504-09:12 GMT+1 Victor Szakats <info@szelvesz.hu>
* contrib/hbclip/hbclip.ch
+ Added strong typing compatibility translation
* include/hbcomp.h
* include/hberrors.h
* source/compiler/harbour.c
* source/compiler/hbpcode.c
! Some macros renamed
! One warning fixed.
! Minor fixes.
20000503-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
+ Added:
#define VU_NOT_USED 0
#define VU_INITIALIZED 1
#define VU_USED 2
* source/compiler/harbour.c
* Modified refrences to pVar->iUsed to use new VU_* constants.
* source/compiler/hbpcode.c
* Enhanced hb_compStrongType() to check and set pVar->iUsed with new VU_*constants.
20000503-19:25 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
* Corrcetd pVars->iUsed = 1 to pVars->iUsed |= 1 in hb_compVariableGetPos() so it won't override -1 value from StrongType()
20000503-22:43 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/filesys.c
! Cast added for MSVC.
20000503-01:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hberrors.h
+ Added:
#define HB_COMP_NOT_INITIALIZED
* source/compiler/hbgenerr.c
+ Added: "3Variable \'%s\' used but never initialized"
* source/compiler/hbpcode.c
* Enhanced hb_compStrongType() to warn against un-initialized varaiable usage.
20000503-01:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
* Fixed hb_compStrongType() to diffrentiate between a MEMVAR and a DECLARED FUNCTION with the same name.
+ Added support for HB_P_ARRAYPUSH
* source/compiler/hbgenerr.c
* Minor correction to "Incompatibe return type"
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
20000502-23:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
- Removed members cParamTypes and iParamCount from COMSYMBOL
+ Added member USHORT iStackSize to FUNCTION structure
* Modified member pStack of FUNCTION to not pre allocate any memory.
+ Added new structure COMDECLARED
+ Added: extern PCOMDECLARED hb_compDeclaredAdd( char * ) and extern PCOMDECLARED hb_compDeclaredFind( char * );
+ Adede: extern PCOMDECLARED hb_comp_pFirstDeclared and extern PCOMDECLARED hb_comp_pLastDeclared
* include/hberrors.h
+ Added:
#define HB_COMP_DUP_DECLARATION 17
#define HB_COMP_DECLARATION_CONFLICT 18
* source/compiler/genc.c
* Modified hb_compGenCCode() to free the Declared Function linked list.
* source/compiler/harbour.c
+ Added: PCOMDECLARED hb_compDeclaredAdd( char * ) and PCOMDECLARED hb_compDeclaredFind( char * );
+ Adede: PCOMDECLARED hb_comp_pFirstDeclared and PCOMDECLARED hb_comp_pLastDeclared
* source/compiler/harbour.y
* Modified parsing of DECLARE FUNCTION to use new PCOMDECLARED rather than PCOMSYMBOL
* source/compiler/hbgenerr.c
+ Added:
"3Duplicate Declaration of Function %s"
"3Function \'%s\' conflicting with its declaration"
* source/compiler/hbpcode.c
* Modified hb_compStrongType() to utilize PCOMDECLARED rather than PCOMSYMBOL
* Modified hb_compStrongType() to increase the pFunc->pStack as needed.
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
20000503-01:13 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/compiler/hbgenerr.c
* Some small cleanups on the error texts.
20000503-00:39 GMT+1 Victor Szakats <info@szelvesz.hu>
* bin/bld.*
+ Modified to use the HB_???_INSTALL envarrs instead of the hard-wired
paths for binaries, include files and libraries.
20000503-00:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
+ added word wrapping capabilities
* text is saved if user presses K_ALT_W (sorry) this deviates from clipper
but until we find a way to detect real K_CTRL_W it's better than nothing.
! fixed a bug in text splitting when on last line of text
* source/rtl/memoedit.prg
* changed to match new TEditor capabilities
20000502-22:04 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/lang/msges.c
! Updated by Jose Lalin
20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/vm/hvm.c
% hb_vmFunction() and hb_vmSendFunc() "inlined".
Note that hb_vmFunction() is still there since it's used from one
places in classes.c.
- Redundant declaration removed.
* source/rtl/do.c
! Typo
+ NOTE added about Harbour extension.
20000502-19:12 GMT+1 Victor Szakats <info@szelvesz.hu>
* makefile.vc
* EVAL.C moved to VM from RTL
* source/vm/proc.c
! Typo.
* make_gnu.cmd
+ Error output redirection readded to be in sync with the other make
files. If you need to customize this for your own taste, please make
a local copy of it before.
20000502-17:15 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*makefile.bc
*source/rtl/Makefile
*source/vm/Makefile
-source/rtl/eval.c
+source/vm/eval.c
* fixed bug in EVAL function when a parameter was passed using
the reference
* since the EVAL function is using a direct stack access instead
of hb_param() function the file eval.c is now moved into
VM directory
20000502-16:22 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.l
* fixed syntax:
RETURN ++variable
20000502-16:07 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/hbpcode.c
* increased buffers size used by sprintf to avoid GPF/code dumps
20000502-14:55 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/vm/hvm.c
* fixed bug during accessing a constant arrays caused by
the optimization - { 1, 2, 3 }[ n ]
20000502-14:25 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.c
* fixed unused variable warning in a code that nobody
is remembering why it was there
20000502-10:41 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbpcode.h
* include/hbexprb.c
* include/hbexprc.c
* include/hbvm.h
* source/compiler/hbpcode.c
* source/compiler/hbfix.c
* source/compiler/genc.c
* source/vm/hvm.c
+ HB_P_SEND and HB_P_SENDSHORT pcodes added. At this moment they are
exactly the same as HB_P_FUNCTION[SHORT]. More work is needed to
optimize the stack usage for SEND/DO/FUNCTION.
+ hb_vmSend() function added.
! WARNING ! All sources must be recompiled.
20000502-01:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
* Correction compiler warning about piShifts in hb_compOptimizeJumps().
* source/compiler/hbpcode.c
* Correction compiler warning about pSym in hb_compStrongType().
20000502-09:30 GMT+1 Victor Szakats <info@szelvesz.hu>
* utils/hbtest/rt_hvma.prg
+ Added some tests for the new compile-time generated double widths.
* source/vm/hvm.c
% Some optimization for hb_vmCalcDoubleWidth()
* source/rdd/dbfcdx/dbfcdx1.c
! Fixed two -O2 GCC warnings.
2000-05-02 01:45 GMT-4 David G. Holm <dholm@jsd-llc.com>
* include/hbapigt.h
! Changed INKEY_EXTENDED to INKEY_RAW to match inkey.ch.
* source/vm/hvm.c
! Removed integer parameter test for 0 decimal places from division
for 100% Clipper compatibility (Clipper only does this for compiler
optimized integer division with an integer result).
* source/vm/itemapi.c
! Default numeric to string conversion must never use more than 9
decimal places in order to be Clipper compatible.
* tests/teststr.c
+ Added code to make it easier to compare Harbour and Clipper results
and to deal with the sometimes wrong results from HB_OSNEWLINE().
20000501-20:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
+ Added "as char" and "as string" as acceptable alternative to "as character"
+ Added "as num" as acceptable alternative to "as numeric"
20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/compiler/harbour.l
* source/macro/macro.l
+ The widths of the double values are calculated at compile time.
The widths of the doubles generated in the expression
optimizer are still forced to be calculated at runtime.
Please test this!
* source/vm/hvm.c
% Width calculation moved to a separate function to lower the required
stack space.
20000502-01:43 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbapi.h
* include/hbexprb.c
* include/hbexprop.h
* source/common/expropt1.c
* source/common/expropt2.c
* source/compiler/harbour.l
* source/compiler/harbour.y
* source/macro/macro.l
* source/macro/macro.y
* source/vm/hvm.c
+ The compiler enhanced to internally handle the double width info.
It's not set to default at a lower level.
Note that it still isn't calculated.
20000502-01:14 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbcomp.h
* include/hbexprb.c
* include/hbmacro.h
* source/compiler/genc.c
* source/compiler/harbour.c
* source/compiler/hbpcode.c
* source/vm/hvm.c
* source/vm/macro.c
+ Added width info to the PUSHDOUBLE pcode, to be Clipper compatible.
Note that the width is not yet calculated at compiled time, but the
possibility is already there.
20000501-23:25 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/Makefile
! Missing hbapi.h added to the file list.
20000501-23:21 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* ChangeLog
! cvs server: warning: file `harbour/ChangeLog' seems to still contain conflict indicators
Removed conflict indicators.
20000501-23:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
! fixed a few errors in aText handling
* added missing navigation functions
% aText shrinks when deleting lines of text
* source/rtl/memoedit.prg
* when exiting editor, if exited with K_CTRL_W gets modified text from
editor to save it. IT DOESN'T work right now because I don't know
how to distinguish K_CRTL_W from K_CTRL_END. :-|
20000501-14:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
* Minor correction to hb_compVariableAdd().
* source/compiler/hbpcode.c
* Enhancements to hb_compStrongType() to support new PUSH/POPALIASEDFIELDNEAR.
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
20000501-19:05 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/vm/hvm.c
* fixed unused variable warning
20000501-18:55 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/filesys.c
* added support for hb_fsCommit() in Unix-like OS
*source/compiler/harbour.c
* fixed signed/unsigned warnings
20000501-18:48 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbpcode.h
* source/compiler/hbfix.c
* source/compiler/hbpcode.c
* source/compiler/genc.c
* source/compiler/harbour.c
* source/vm/hvm.c
+ Added new pcode: HB_P_PUSHBLOCKSHORT
This is used for codeblocks which have no parameters, use no locals,
and the total size is smaller than 255 bytes. The majority of codeblocks
falls into this category.
HBTEST is now 15K smaller.
! WARNING ! All .PRGs must be recompiled after the changes of today.
20000501 14:35 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*contrib/libgt/doc/gendoc.bat
contrib/libgt/doc/gendoc.cmd
contrib/libmisc/doc/gendoc.bat
contrib/libmisc/doc/gendoc.cmd
*Small changes
*utils/hbdoc/hbdoc.prg
*small bug fixed
20000501-18:05 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/filesys.c
! Fixed hb_fsCurDirBuff() (and CURDIR()) for non-MINGW32 platforms.
* include/hbapi.h
+ Added missing declaration from the previous CVS.
20000501-17:42 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/vm/cmdarg.c
* source/common/hbver.c
* include/hbcomp.h
* source/compiler/harbour.c
* source/compiler/cmdcheck.c
+ Added /BUILD option for the compiler.
This option will now also print the platform and Harbour versions.
! Fixed check for /CREDIT switch.
* source/compiler/hbgenerr.c
* Some small cleanups on the error texts.
* makefile.bc
- Removed duplicated and Borland only default language selection.
This feature is already built in to HBSETUP.H, so there's no
point to duplicate it. Or I'm missing something obvious.
20000501-16:08 GMT+1 Victor Szakats <info@szelvesz.hu>
* include/hbpcode.h
* source/compiler/hbfix.c
* source/compiler/hbpcode.c
* source/compiler/genc.c
* source/compiler/harbour.c
* source/vm/hvm.c
+ Added new near pcodes for POP/PUSHALIASEDFIELD
20000501-15:45 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/filesys.c
* added support for file locks under Unix compatible OS
TODO: check the append locks
* commit operation cannot be performed by closing a
duplicated file handle - it releases all locks for
this file on Unix compatible OS
*source/vm/hvm.c
*include/hbvm.h
* added hb_vmEvalBlock() for a codeblock evaluation - it is
passing no arguments to a codeblock
* added hb_vmEvalBlockV() for a codeblock evaluation - it is
using a variable number of arguments
*source/rdd/dbcmd.c
* fixed bug in defEvalBlock
* fixed to call hb_vmEvalBlock()
* some common parts moved into separate functions
*include/hbcomp.h
* changed 'BYTE iJumps' into 'ULONG iJumps' to stop reallocation
error mentioned by Victor
20000501-15:37 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/teditor.prg
+ source/rtl/memoedit.prg
* source/rtl/Makefile
* makefile.bc
* makefile.vc
! Added missing CVS header.
* Separated MEMOEDIT() function from the underlying class.
+ Added new files to makefile.vc
+ Defaults set for the MEMOEDIT() parameters.
+ cUserFunction logical value handled.
! Fixed to compile with 10 character symbol length limit.
* source/rtl/dummy.prg
- Removed commented line
* source/compiler/hbusage.c
+ Developer list updated.
* source/rtl/Makefile
! Fixed back the indentation of the file list from three spaces to
one tab.
+ Added memoedit.prg
20000501 08:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*makefile.bc
+added teditor.prg entry to makefile
20000501 08:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*contrib/libgt/doc/gendoc.bat
contrib/libmisc/doc/gendoc.bat
*Small changes
*utils/hbdoc/hbdoc.prg
*fixed small bug
*contrib/libgt/doc/en/ht_gt.txt
*fixed library name
*contrib/libmisc/doc/en/ht_dbf.txt
contrib/libmisc/doc/en/ht_class.txt
contrib/libmisc/doc/en/ht_str.txt
contrib/libmisc/doc/en/ht_conv.txt
*fixed library name
*doc/en/files.txt
doc/en/rdddb.txt
doc/en/rddmisc.txt
*fixed Broken see also entrie
20000501-01:52 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
* Minor Enhancements to hb_compStrongType()
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
20000501-01:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
+ Added to COMSYMBOL :
BYTE * cParamTypes;
int iParamCount;
+ Added :
extern char * hb_comp_szDeclaredFun
* source/compiler/harbour.y
* Enhanced DECLARE FUNCTION parsing to properly maintain number and type of declared function parameters.
* source/compiler/harbour.c
+ Added char * hb_comp_szDeclaredFun
* Modified hb_compVariableAdd() to support dummy parameter vars in Function Decleration.
* source/compiler/hbpcode.c
* Enhancements to hb_compStrongType() to support parameter checks of declared function.
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
* include/hberrors.h
+ Added :
#define HB_COMP_PARAM_COUNT 15
#define HB_COMP_PARAM_TYPE 16
* source/compiler/hbgenerr.c
+ added :
"3Invalid number of parameters: \'%s\' expected: \'%s\'"
"3Incompatible parameter # %s expected: \'%s\'"
20000430-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
- Removed refrence to pFunc->iFunctionIndex.
* source/compiler/hbpcode.c
* Enhancements to hb_compStrongType()
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
* include/hbcomp.h
- Removed pFunctionCalls and iFunctionIndex members of _FUNC structure.
20000430-22:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.y
! Fixed { hb_compVariableDim( $1, $2 ); } to { hb_comp_cVarType = 'A'; hb_compVariableDim( $1, $2 ); }
so that correct type is saved.
* source/compiler/hbpcode.c
* Enhancements to hb_compStrongType()
* source/compiler/hbgenerr.c
+ added :
"3Can\'t use array index with NON Array"
"3Incompatible return value: \'%s\' expected: \'%s\'"
* include/hberrors.h
+ added :
#define HB_COMP_WARN_NOT_ARRAY 13
#define HB_COMP_RETURN_TYPE 14
* tests/testwarn.prg
+ Added code to demonstrate more warnings.
20000430-23:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
+ added MemoEdit() lEditMode parameter handling
20000430-20:35 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/teditor.prg
+ Implements TEditor CLASS and exports MemoEdit function. VERY miminal
functionality / compatibility. Very little testing, but nonetheless fast
enough for medium sized text.
* source/rtl/Makefile
+ added teditor.prg to list of needed files.
* source/rtl/dummy.prg
- removed MemoEdit() declaration
20000430-17:45 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*include/hbcomp.h
*include/hbexprop.h
*include/hbmacro.h
*source/vm/macro.c
* removed redundancy in extern declarations
* removed unused bStackAffected parameter used for
strong typing
20000430-13:50 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.c
*fixed possible memory reallocation error in hb_compNOOPadd()
*fixed possible memory reallocation error in hb_compNOOPadd()
*source/compiler/hbpcode.c
*fixed pVar -> pSym
20000430 04:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net>
*contrib/libgt/doc/gendoc.bat
contrib/libgt/doc/gendoc.cmd
contrib/libmisc/doc/gendoc.bat
contrib/libmisc/doc/gendoc.cmd
doc/genhtm.bat
doc/genhtm.cmd
*Small changes
*contrib/libmisc/doc/libmisc.lnk
contrib/libgt/doc/libgt.lnk
doc/genhtm.lnk
*Change The forced version number with a MACRO
*Batch files for generating docs
*utils/hbdoc/hbdoc.prg
+Docver() and ReadLinkFile() functions to process the HBDOC link file
macros
20000429-23:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* harbour/source/compiler/harbour.c
! Fixed hb_compVariableAdd() to utilize parameter cValueType for Codeblock local variables, so that correct type is stored.
* harbour/source/compiler/harbour.y
! Fixed hb_compExprCBVarAdd( $<asExpr>0, $1, $2 ) to hb_compExprCBVarAdd( $<asExpr>0, $1, hb_comp_cVarType ) and
hb_compExprCBVarAdd( $<asExpr>0, $3, $4 ) to hb_compExprCBVarAdd( $<asExpr>0, $3, hb_comp_cVarType ) so that
correct type is passed.
+ Added hb_comp_cVarType = ' ' to reset declared type after BlockVar[s] PRIVATE and PUBLIC.
* harbour/source/compiler/hbpcode.c
* Minor corrections to hb_compStrongType()
20000429-02:29 GMT-8 Brian Hays <bhays@abacuslaw.com>
* nation.txt
* misc.txt
* memo.txt
* input.txt
* file.txt
* math.txt
! misc. grammar, usage and accuracy fixes.
20000429-09:50 GMT+1 Victor Szakats <info@szelvesz.hu>
* bin/bld.*
* make_gnu.*
! Some fixes.
20000427-15:34 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/compiler/harbour.c
! hb_xgrab() casts added for ICC/OS2.
* doc/howtocws.txt
! onelist -> egroups
* doc/genhtm.lnk
- Removed build number.
- utils/hbdoc/genhtm.bat
- utils/hbdoc/alpha.lnk
- utils/hbdoc/categ.lnk
- utils/hbdoc/hrb.rsp
- utils/hbdoc/hrbtools.rsp
- Removed files no more needed.
20000427-20:40 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.c
* changed hb_xgrab/hb_xrealloc to use sprintf in case
unsuccessfull allocation only
20000426 23:30 Luiz Rafael Culik <culik@sl.conex.net>
!ChangeLog
*Renamed ChangeLog to ChangeLog.007 and started a new one
+doc/genhtm.rps
*Hbdoc response file
+doc/genhtm.lnk
*hbdoc link file
+doc/genhtm.bat
doc/genhtm.cmd
*Batch files for generating docs
*doc/en/rddmisc.txt
*Small Changes
*utils/hbdoc/hbdoc.prg
*Hbdoc use the '!Name:' inside the lnk file to define the winhelp title
when /rtf command line option is specified.
*Hbdoc use the link file name as the Name of the Winhelp Output when /rtf
command line option is specified.
*contrib/libgt/doc/gendoc.bat
contrib/libmisc/doc/gendoc.bat
*Small Changes
* source/pp/pragma.c
* contrib/dot/pp_harb.ch
* tests/inline_c.prg
* STOPDUMP renamed as ENDDUMP (with Ron permission)
2001-12-21 08:40 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net>
* utils/hbmake/hbmake.prg
* small fix
2001-12-21 07:50 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net>
* source/rtl/filesys.c
* hb_fsmkdir,hb_fsChdir,hb_fsRmdir,hb_fsDelete,hb_fsRename,hb_fsCurdirBuff()
now use Win32 API calls
* utils/hbmake/hbmake.prg
! Disabled profile
* utils/hbmake/hbmutils.prg
* An small clean up
* ChangeLog
* Renamed to ChangeLog.012 and started an new one
2006-02-15 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
! fixed memory leak I introduced changing Ryszard modifications
need such functionality yet
+ harbour/ChangeLog.015
* harbour/source/vm/debug.c
* harbour/harbour.spec
* harbour/bin/hb-func.sh
* some modification in xhb* scripts building - adding passing
predefined compiler and linker switches
* harbour/source/vm/hvm.c
* minor code cleanup
2006-09-03 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicls.h
* harbour/source/vm/classes.c
* harbour/source/vm/hvm.c
* harbour/tests/overload.prg
+ added support for overloading [] in assignment operation
2006-09-03 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
+ harbour/ChangeLog.016
* new ChangeLog file created
* harbour/include/hbver.h
* updated version number to 0.47.0
* tagged CVS as build47