Commit Graph

862 Commits

Author SHA1 Message Date
David G. Holm
cc0d80a066 See ChangeLog entry 2001-04-27 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-27 19:03:46 +00:00
David G. Holm
252defc0be See ChangeLog entry 2001-04-20 18:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-20 22:07:09 +00:00
Ron Pinkas
f3de1da8cb 2001-04-20 01:35 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
     * Synched with makefile.bc

   * source/common/hbtrace.c
     + Added missing #include <io.h>

   * include/hbapilng.h
   * source/rtl/langapi.c
     * Corrected declaration of hb_langDGetItem() (required for C++)
2001-04-20 08:38:21 +00:00
Ron Pinkas
11435cf83e 2001-04-17 19:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
     * Removed 3rd paramater from declaration of hb_arrayClone().

   * source/vm/arrays.c
     ! Optimized and improved hb_arrayClone().

   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/vm/hvm.c
     * Changed calls to hb_arrayClone() to remove no longer needed, 3rd parameter.
2001-04-18 06:52:00 +00:00
Ron Pinkas
e21cb2b118 2001-04-17 19:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
     + Added typedef struct HB_NESTED_CLONED
     * Changed declaration of hb_arrayClone to hb_arrayClone( PHB_ITEM pArray, PHB_NESTED_CLONED pClonedList, BOOL *bCyclic )

   * source/vm/arrays.c
     ! Fixed hb_arrayClone() to correctly clone any array including RELATIVE Ciclic Referncing of any level.

   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/vm/hvm.c
     * Changed calls to hb_arrayClone() to pass 2 additional NULLs as 2nd. and 3rd. parameters.
2001-04-18 02:28:39 +00:00
Brian Hays
0231c4756c 2001-04-16 11:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-16 18:39:33 +00:00
David G. Holm
ad9fa4b419 See ChangeLog Entry 2001-04-12 15:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 19:12:56 +00:00
David G. Holm
0e07837322 See ChangeLog entry 2001-04-12 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 18:56:30 +00:00
David G. Holm
5cc3068f99 See ChangeLog entry 2001-04-12 14:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 18:24:41 +00:00
Ron Pinkas
5018447cf3 2001-04-10 16:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
     * Changed order of COMDECLARED elements to be more intuitive for static initialization.

   * source/compiler/harbour.c
   * source/compiler/hbpcode.c
     ! Added type casting needed for C++ compilers.
2001-04-10 23:18:33 +00:00
Ron Pinkas
fc1f6778a8 2001-04-09 22:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/hbgenerr.c
     * Corrected spelling for suspicious.

   * source/compiler/hbpcode.c
     * Commented one debung printf()

   * include/hbcomp.h
     + Added extern PCOMCLASS hb_comp_pReleaseClass

   * source/compiler/genc.c
     + Added logic to release declared classes after compilation.

   * source/compiler/harbour.c
     + Added logic for standard classes declaration to hb_compDeclaredInit()
     + Added ERROR class declaration and started GET class declaration
2001-04-10 03:42:27 +00:00
Ron Pinkas
bf9fd1abba 2001-04-09 11:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added #define HB_COMP_WARN_PARAM_SUSPECT 18 -> "4Suspecious parameter: %s expected: \'%s\'"

   * include/hbcomp.h
     + Added extern PCOMDECLARED  hb_comp_pReleaseDeclared;

   * source/compiler/harbour.c
     + Added static void hb_compDeclaredInit( void ) initializes decalaration of standard functions;

   * source/compiler/genc.c
     * Changed release code from hb_comp_pFirstDeclared to hb_comp_pReleaseDeclared.

   * source/compiler/hbpcode.c
     * Many refinments.
2001-04-09 19:02:59 +00:00
Ron Pinkas
274cba392f 2001-04-08 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
     ! Corrected typo.

   * source/compiler/harbour.sly
   * source/compiler/harbour.y
     ! Corrected few incorrect "Unreachable code warnings".
     ! Corrected hb_compPushLine() in RECOVER and RECOVERUSING

   * source/compiler/harbour.c
   * source/compiler/hbpcode.c
     ! Improved StrongType logic.
2001-04-08 23:16:24 +00:00
Ron Pinkas
bb7e6f1111 2001-03-24 02:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/hbpcode.c
     ! Fixed some StrongType logic.

   * source/compiler/genc.c
   * source/rdd/dbf1.c
   * source/rtl/gtapi.c
   * source/vm/hvm.c
     ! Corrected Compiler warnings.

   * source/compiler/harbour.c
   * include/hbcomp.h
     * Minor formatting.
2001-04-07 20:27:26 +00:00
Alexander S.Kresin
d8165bb195 2001-03-30 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-03-30 09:12:51 +00:00
Ron Pinkas
06dad4687f 2001-03-22 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.vc
     * Minor corrections.

   * include/hbapi.h
     + extern PHB_ITEM hb_paramError( int iParam ); /* Returns either the generic parameter or a NIL item if param not provided */
     + extern PHB_ITEM hb_arrayFromStack( USHORT uiLen ); /* Creates and returns an Array of n Elements from the Eval Stack - Does NOT pop the items. */
     + extern PHB_ITEM hb_arrayFromParams( void ); /* Creates and returns an Array of current Generic Parameters. */

   * include/hbapierr.h
     * extern USHORT   hb_errRT_BASE           ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * extern USHORT   hb_errRT_BASE_Ext1      ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... );
     * extern PHB_ITEM hb_errRT_BASE_Subst     ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * extern void     hb_errRT_BASE_SubstR    ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
       + Added support for variable number of Error Arguments.

   * source/rtl/errorapi.c
     * hb_errRT_BASE           ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * hb_errRT_BASE_Ext1      ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... );
     * hb_errRT_BASE_Subst     ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * hb_errRT_BASE_SubstR    ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
       + Added support for variable number of Error Arguments.

   * source/vm/arrays.c
     + PHB_ITEM hb_arrayFromStack( USHORT uiLen )
     + PHB_ITEM hb_arrayFromParams( void )

   * source/vm/extend.c
      + PHB_ITEM hb_paramError( int iParam )

   * source/rdd/dbcmd.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/rtl/abs.c
   * source/rtl/at.c
   * source/rtl/chrasc.c
   * source/rtl/copyfile.c
   * source/rtl/datec.c
   * source/rtl/dateshb.c
   * source/rtl/diskspac.c
   * source/rtl/disksphb.c
   * source/rtl/do.c
   * source/rtl/left.c
   * source/rtl/len.c
   * source/rtl/math.c
   * source/rtl/minmax.c
   * source/rtl/mod.c
   * source/rtl/philes.c
   * source/rtl/philesx.c
   * source/rtl/replic.c
   * source/rtl/round.c
   * source/rtl/set.c
   * source/rtl/space.c
   * source/rtl/str.c
   * source/rtl/strcase.c
   * source/rtl/strtran.c
   * source/rtl/strzero.c
   * source/rtl/substr.c
   * source/rtl/transfrm.c
   * source/rtl/trim.c
   * source/rtl/type.c
   * source/rtl/val.c
   * source/rtl/word.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/vm/arrayshb.c
   * source/vm/eval.c
   * source/vm/hvm.c
   * source/vm/macro.c
   * source/vm/memvars.c
   * source/vm/runner.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/vm/classes.c
     + Added 0 arguments (J.F. can you please decide what should be the arguments! )

   /* HBTEST now reports 173 failures ( down from 376 ) many of the failures are justified.

      I have tested this as much as I could, but since it invloved lots of "Cust & Pasets" more testing should be done.

      It would be great if someone could review each of HBTEST Reported Failures on a one-by-one basis.

     BTW, HBTEST reports 1 UN-RELEASED Memory Block (from before my changes)!
   */
2001-03-22 19:38:23 +00:00
Ryszard Glab
36714c9469 ChangeLog 2001-02-21 21:20 UTC+0100 2001-03-21 20:15:15 +00:00
Ryszard Glab
d82a9ea53c ChangeLog 2001-03-16 16:10 UTC+0100 2001-03-16 15:01:20 +00:00
Alexander S.Kresin
625e5a6a13 2001-03-15 20:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-03-15 17:44:00 +00:00
Alexander S.Kresin
c907423a24 2001-03-13 14:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-03-13 11:30:30 +00:00
April White
44a70829da 2001-03-11 21:43 UTC+0500 April <awhite@user.rose.com>
* doc/en/hb_macro.txt
     * renamed hb_compParse() to hb_macroYYParse()
       ; see 2000-11-30 18:25 UTC-0800 Ron Pinkas <ron@profit-master.com>

   * doc/en/hb_api.txt
     * merged the hb_xmemset() function and macro entries
     * merged the hb_xmemcpy() function and macro entries
     + entry for hb_idleReset
       ; see 2000-11-27 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
     + entry for ISOBJECT()
       ; see 2001-03-01 GMT+1 Antonio Linares <alinares@fivetech.com>

   * doc/en/hb_apigt.txt
     + entry for hb_gtColorToN()
       ; see 2001-02-09 16:44 GMT+1 Antonio Linares <alinares@fivetech.com>

   * doc/en/hb_apird.txt
     + entry for hb_rddInsertAreaNode()

   * include/error.api
     * corrected define of _errPutFileNaem to _errPutFileName
       ; no other detected use of this macro

   * doc/en/hb_apier.txt
     * entry for _errPutFileName() as above
2001-03-12 04:19:57 +00:00
Ron Pinkas
6eeb748ee7 2001-03-11 14:05 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbexpra.c
     ! Fixed hb_compExprSetOperand() to allow InAssign Exp on Right, if Left is >= HB_EO_PLUSEQ && <= HB_EO_EXPEQ
2001-03-11 22:11:46 +00:00
Antonio Linares
5f748b1566 minor fix on line 172 2001-03-01 14:09:42 +00:00
Antonio Linares
4d3a407832 New ISOBJECT() function added 2001-03-01 09:51:37 +00:00
Jean-Francois Lefebvre
c5b537afaa 2001-28-02 23:41 GMT+1 JFL (Mafact) <jfl@mafact.com> 2001-02-28 22:45:51 +00:00
David G. Holm
418ace47e1 2001-02-26 13:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-26 18:48:18 +00:00
David G. Holm
6ce4fda71e See ChangeLog entry 2001-02-26 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-26 18:11:58 +00:00
Alex Shashkov
49903bf1d7 2001-02-24 12:45 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/vm/dynsym.c
     ! Fixed
   * harbour/include/hbrddcdx.h
     + Added support ORDSETFOCUS() and update keys
   * harbour/source/rdd/dbfcdx1.c
     + Added support ORDSETFOCUS(), update keys, keys any type
     - remove hb_cdxltoa()
   * harbour/source/rdd/dbfcdx1.h
     ! Fixed support for Watcom C 11.0
     + Added support keys any type
   * harbour/source/rdd/dbfcdx2.h
     + Added some new functions
     * Changed the declaration of some functions

   Not finished yet.
2001-02-24 10:01:20 +00:00
Alexander S.Kresin
54370404ee 2001-02-20 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-20 10:09:48 +00:00
Alexander S.Kresin
91a897ba7e 2001-02-19 11:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-19 08:17:38 +00:00
Alexander S.Kresin
6bbf46b9c9 2001-02-15 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-15 10:19:03 +00:00
Alexander S.Kresin
40695491c9 2001-02-14 12:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-14 09:40:53 +00:00
Alexander S.Kresin
ef11c1ee89 2001-02-13 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-13 10:19:25 +00:00
Antonio Linares
4f43c32684 hb_gtColorToN() prototype added 2001-02-09 15:38:45 +00:00
Alexander S.Kresin
c267d72a02 2001-02-09 09:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-09 06:04:10 +00:00
Alexander S.Kresin
b2bfc1a745 2001-02-05 21:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-05 18:30:13 +00:00
Antonio Linares
e6b4263eef HB_P_STATICNAME opcode added 2001-02-05 09:22:02 +00:00
Brian Hays
d3abe7d275 2000-01-22 19:15 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-01-23 03:11:10 +00:00
Brian Hays
706918a336 2000-01-22 18:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-01-23 01:58:40 +00:00
Ron Pinkas
d51b90e182 2001-01-20 17:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.vc
     + Added -DSIMPLEX to CLIBFLAGS

   * source/compiler/genc.c
     * Minor correction.

   * utils/hbpp/hbpp.c
   * source/pp/pplib.c
   * include/hbcomp.h
   * source/compiler/harbour.c
     + Added hb_comp_iLinePRG and hb_comp_iLineINLINE

   * source/compiler/harbour.l
   * source/compiler/harbour.slx
   * source/compiler/hbgenerr.c
     + Added logic to disallow multiple HB_INLINE() per source line.

   * source/pp/ppcomp.c
   * source/pp/ppcore.c
   * source/pp/pragma.c
     * Corrected double spacing in PPO generation, and added #pragma BEGINDUMP to PPO.
2001-01-21 01:47:49 +00:00
Jean-Francois Lefebvre
77a9b26ade 2001-01-18 00:18 GMT+1 JFL (Mafact) <jfl@mafact.com> 2001-01-17 23:20:57 +00:00
Ryszard Glab
83ffb5a4bb ChangeLog 2001-01-14 15:15 UTC+0100 2001-01-14 14:11:28 +00:00
Ron Pinkas
7c6bd0b33b 2001-01-10 18:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
   * source/compiler/harbour.c
     + Added members szFileName and iLine to structure INLINE, set to originating PRG name and line number.

   * source/compiler/genc.c
     + Added #line directive to INLINE generations, so C compile warnings/errors will report source file and line number in PRG.

   * source/compiler/harbour.l
   * source/compiler/harbour.slx
     + Added Error message if inline C is used with non C output.
     + Added support for {} on same line
     * Minor optimization

   * include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added: "Inline C requires C output generartion, use -gc[n]"
2001-01-11 02:31:36 +00:00
Ron Pinkas
8d2b4bd7f0 2000-01-01 22:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added: "Unterminated inline block in function: \'%s\'" and "Too many inline blocks"

   * include/hbcomp.h
   * source/compiler/harbour.c
     + Added hb_compInlineNew(), hb_compInlineAdd(), and hb_compInlineFind()

   * source/pp/ppcomp.c
   * source/compiler/harbour.slx
   * source/compiler/genc.c
     + Added support for inline C code blocks.

   + tests/inline_c.prg
     + Added new test to demonstrate new inline C support.
2001-01-02 06:53:30 +00:00
Ron Pinkas
ffc27560fd 2000-12-12 17:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* makefile.bc
   * hb_slex.bc
     * Changed to include new source\vm\estack.c

   * include/hbextern.ch
     * Changed HB_PVALUE() to __PVALUE()
2000-12-13 01:10:31 +00:00
Ryszard Glab
ccc567b1d0 ChangeLog 2000-12-12 21:25 UTC+0100 2000-12-12 20:22:23 +00:00
Ryszard Glab
cae8dad460 Initial revision 2000-12-12 20:16:33 +00:00
Brian Hays
284e8d2928 2000-12-10 17:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2000-12-11 01:10:18 +00:00
Brian Hays
369db77340 2000-12-06 16:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2000-12-07 00:15:57 +00:00
Jean-Francois Lefebvre
a929635f89 2000-12-02 01:13 UTC+0100 jfl (mafact) <jfl@mafact.com> 2000-12-02 00:16:11 +00:00