Commit Graph

529 Commits

Author SHA1 Message Date
Ron Pinkas
efb9abf69c 2001-05-25 12:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Few corrections to NextToken() and CompileRule() to match Clipper behaviour regrding decimal point, and decimal numbers.

   * source/pp/ppcore.c
     - Removed unused variable as per compiler warning.

   * source/vm/hvm.c
     ! Fixed HB_P_POPFIELD and HB_P_POPVARIABLE to NOT pop top stack element pre-maturely.
       Item is now pop only after assignment took place. This fixes problem where the FieldPut rutine had to use the stack,
       thus overriding the assigned item.
2001-05-25 19:18:50 +00:00
Jean-Francois Lefebvre
df0469310e 2001-05-21 21:35 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-21 19:48:54 +00:00
Jean-Francois Lefebvre
7a15d4b230 2001-05-21 07:20 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-21 05:20:23 +00:00
Jean-Francois Lefebvre
bcf30692fc 2001-05-20 23:15 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-20 21:19:12 +00:00
Jean-Francois Lefebvre
348e31507c 2001-05-15 20:15 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-15 18:15:51 +00:00
Viktor Szakats
37b052fc7a 2001-05-15 15:02 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-05-15 13:02:07 +00:00
Brian Hays
26cf690f08 2001-05-13 07:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-05-14 02:54:55 +00:00
Jean-Francois Lefebvre
cb8fa099bd 2001-05-13 22:30 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-13 20:30:28 +00:00
Ron Pinkas
88d6d4ea34 2001-05-10 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com> 2001-05-10 22:05:54 +00:00
Jean-Francois Lefebvre
c1bc118679 2001-05-09 00:02 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-08 22:06:38 +00:00
Ron Pinkas
196044b21f 2001-05-07 11:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbclass.ch
     ! Added missing parameter to declaration of AddMultiData()

   * source/compiler/harbour.c
     ! Corrected broken Linked-List links in hb_compDeclaredInit()

   * source/compiler/hbpcode.c
     * Minor correction declared parameters checking.

   * source/vm/hvm.c
     + Added complete call stack display to hb_vmRequestCancel()
       /* Cancelling will now show the complete call stack, rather than the not very helpful just current procedure. */
2001-05-07 18:45:55 +00:00
Paul Tucker
8f556a7159 see changelog 2001-5-6 12:00 utc(-500) ptucker@sympatico.ca 2001-05-06 16:04:43 +00:00
Ron Pinkas
ee674c5116 2001-05-02 11:05 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
     * Changed HB_NESTED_CLONED to record BaseArray instead of first item.
     * Reverted declaration of hb_arrayClone to use 2nd paramater ( pClonedList ) for futute Thread Safety.

   * source/vm/arrays.c
     * Corrected handling of nested (shared) empty array in hb_arrayClone().
     * Reverted definition of hb_arrayClone() to use 2nd parameter ( pClonedList ) for future Thread Safety.

   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/vm/hvm.c
     * Added required 2nd parameter ( NULL ) to calls to hb_arrayClone()
2001-05-02 18:36:34 +00:00
Ron Pinkas
c1188f415a 2001-04-28 02:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
     - Removed 2nd parameter from hb_arrayClone() declaration

   * source/vm/arrays.c
     - Removed 2nd parameter from definition of hb_arrayClone(), added a static s_pClonedList instead.

   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/vm/hvm.c
     - Removed 2nd parameter from calls to hb_arrayClone()
2001-04-28 21:26:43 +00:00
Antonio Linares
6ee9f5b25a __VMSTKLCOUNT( <nProcLevel> ) now accepts a nProcLevel param 2001-04-26 11:57:14 +00:00
Antonio Linares
1e409d6b69 __VMPARLLIST( <nProcLevel> ) enhanced to accept a proclevel 2001-04-25 18:07:00 +00:00
Ron Pinkas
103ed2fab3 2001-04-18 01:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/arrays.c
     ! Corrected a minor typo, that could cause some un-released memory on some occasions.
2001-04-18 08:34:37 +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
Ron Pinkas
1d8ba35706 2001-04-17 10:35 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/arrays.c
     ! Fixed GPF when aCloning an Array with circular refrences to itself.
2001-04-17 17:30:55 +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
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
Brian Hays
f4a6e32259 2001-04-04 01:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-04 08:19:24 +00:00
Luiz Rafael Culik
fccf02da34 See changelog 2001-03-26 19:10 GMT -3 2001-03-26 22:13:26 +00:00
Ron Pinkas
f85461b1c1 2001-03-22 13:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/runjava/runjava.c
     + Added support for Argument Errors

   * source/rtl/len.c
   * source/rtl/minmax.c
   * source/rtl/run.c
   * source/vm/arrayshb.c
   * source/vm/memvars.c
     * Corrected to always use hb_paramError() when calling hb_errRT_BASE*()
2001-03-22 21:06:53 +00:00
Ron Pinkas
9d823b9a8b 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:49:50 +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
Ron Pinkas
27e28f22c7 2001-03-14 04:55 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/classes.c
     ! Fixed hb_param() to hb_stackItemFromBase() (posted by José F. Giménez)
2001-03-15 00:56:15 +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
Ron Pinkas
2a991d0dff 2001-02-23 17:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/hvm.c
     ! Added logic to clear items of extraneous parameters in hb_vmFrame().
2001-02-24 01:26:40 +00:00
Alex Shashkov
b21688d42a 2001-02-23 19:35 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/rtl/filesys.c
   * harbour/source/vm/item.c
     ! Fixed support for Watcom C 11.0
2001-02-23 16:48:40 +00:00
Horacio Dario Roldan Kasimatis
23bf514762 2001-02-20 01:50 GMT-3 Horacio Roldan <horacioroldan@usa.net <mailto:horacioroldan@usa.net>>
* harbour/source/vm/asort.c
* Fixed bug in optimization test that prevented sorting some arrays.
2001-02-20 05:00:32 +00:00
Antonio Linares
e5820c4d9a Improved HB_P_STATICNAME support. 2001-02-08 10:25:47 +00:00
Antonio Linares
0b3ea8695b HB_P_STATICNAME improved support 2001-02-07 17:23:51 +00:00
Antonio Linares
dbf32faafc New hb_vmStaticName() added. 2001-02-05 10:01:49 +00:00
Antonio Linares
e8cd34190b New function __vmVarLSet() added (used by the debugger) 2001-02-02 15:46:24 +00:00
Antonio Linares
30750db018 hb_vmLocalName() implemented (for Debugger) 2001-02-02 13:21:02 +00:00
Ron Pinkas
2593f4bad3 2001-01-26 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.vc
     + Added -DSIMPLEX to production of HARBOUR_EXE_OBJs.

   * source/vm/hvm.c
     ! Minor optimization of recent changes to hb_vmSend()
2001-01-27 00:15:21 +00:00
Ron Pinkas
15baa9ad5b 2001-01-25 12:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/hvm.c
     * Modified error messages in hb_vmSend() to report class name of native types (including NIL) along with missing method name.
     + Added default implementation of ClassName() method of native types.

     /* J.F. Can you please check why hb_objGetClsName() was not working correctly when called from hb_vmSend() ?
        It was returning empty string ("") on my BCC55 latest build. */

   * tests/clasname.prg
     + Added Arrays to types checked.
2001-01-25 20:10:03 +00:00
David G. Holm
580846daf4 2001-01-19 18:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-01-19 23:44:06 +00:00
Ryszard Glab
976e19a3a4 ChangeLog 2001-01-17 UTC+0100 2001-01-17 20:25:50 +00:00
Ryszard Glab
83ffb5a4bb ChangeLog 2001-01-14 15:15 UTC+0100 2001-01-14 14:11:28 +00:00
Ryszard Glab
4370282dd8 ChangeLog 2001-01-09 16:15 UTC+0100 2001-01-09 15:10:35 +00:00
Ron Pinkas
4a38c6c28a 2001-01-08 14:35 UTC-0800 Ron Pinkas <ron@profit-master.com>
* harbour/source/vm/estack.c
     * Corrected typo _HB_ITEM => HB_ITEM in type casting.
2001-01-08 22:27:54 +00:00
Jean-Francois Lefebvre
b7abfe9244 2001-01-08 22:18 GMT+0100 JFL (mafact) <jfl@mafact.com> 2001-01-08 21:24:17 +00:00
Alexander S.Kresin
3caa562d66 2001-01-06 9:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-01-06 13:01:28 +00:00
Ron Pinkas
2a91e7a436 2000-12-28 20:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/vm/eval.c
     * Minor formatting.

   * source/vm/hvm.c
     * Added derefferncing of Block Vars in hb_vmPushLocal()
     /* Ryszard can you please review this change. */
2000-12-29 08:46:24 +00:00