Commit Graph

515 Commits

Author SHA1 Message Date
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
Ron Pinkas
632860df4a 2000-12-14 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/vm/eval.c
     * Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param()
2000-12-15 00:59:23 +00:00
Maurilio Longo
cca631828b 2000-12-13 22:04 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/vm/estack.c
     + added missing semicolons (lines 374 and 416)
2000-12-13 21:08:55 +00:00
Ron Pinkas
4577f36e4b 2000-12-12 17:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/vm/eval.c
     + Corrected support for block passed by reference.

     /* Ryszard, is there any reason to use hb_stackItemFromBase(1) instead of pItem? */
2000-12-13 01:33:35 +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
Ron Pinkas
0c2228a024 2000-11-30 18:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbmacro.h
   * source/macro/macro.y
   * source/vm/macro.c
     ! Renamed hb_compParse() to hb_macroYYParse(). We already have hb_macroParse() and hcompparse()

   * source/compiler/harbour.y
     * Added token GET (not used) just so that harboury.h is compatible with harbour.sly

   * source/rtl/tgetint.prg
     * Reverted to use _1 and == NIL to not break Clipper compatibility.

     /* Ryszard, if you want to re-introduce PCount() and HB_PVALUE(), I'll ask (since I wrote this original code)
        that you protect it with #ifdef FLEX etc. If you do I would suggest you further protect it with #ifdef STRICT...
	becuase this will defintly break strict compatability. */
2000-12-01 02:25:20 +00:00
Ron Pinkas
159793c2ce 2000-11-29 13:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
     * Exported: hb_compFieldGetPos() and hb_compMemvarGetPos()

   * source/compiler/harbour.sly
     ! Changed __GET() support to be parameter compatible with Clipper

   * include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added Error: "GET contains complex macro"

   * source/pp/pptable.c
     - Removed bSetGet from rule of GET, PP output now Clipper compatible.

   * source/vm/memvars.c
     + Added HB_FUNC( __ISMV ) // Return .T. if passed string as a Memory Variable.

   * source/rtl/tgetint.prg
     ! Fixed __GET() to be 100% parameter compatible with Clipper.
     ! When 1st parameter (bSetGet) is NIL the bSetGet will be built internaly,
       not using macro in most cases, even if the Get Variable itslef is a macro :-)

   /* Ryszard, this will further break Flex support for GET, but makes __GET() 100% Clipper compatible as you suggested.
      Please note, that Clipper does *NOT* pass a bSetGet *only* when the Get Var is a *simple* *non* declared Variable.
      Declared Variables in this context are: MEMVAR, FIELD, LOCAL, and STATIC. For all of those, bSetGet *is* generated!
      Clipper also generates bSetGet for "Complex Variables", i.e. Aliased Variables, Object Data, etc.! */
2000-11-29 21:54:03 +00:00
Jean-Francois Lefebvre
a8d6337d7c 2000-11-23 23:11 UTC+0100 jfl (mafact) <jfl@mafact.com> 2000-11-23 21:17:23 +00:00
Jean-Francois Lefebvre
3a0cb6d7b4 2000-11-21 23:42 UTC-0100 JFL (mafact) <jfl@mafact.com> 2000-11-21 22:48:25 +00:00
Ryszard Glab
7df80dd709 ChangeLog 2000-11-17 20:50 UTC+0100 2000-11-17 19:44:48 +00:00
Ryszard Glab
dc01ccd135 ChangeLog 2000-11-12 15:20 UTC+0100 2000-11-12 13:10:12 +00:00
Jean-Francois Lefebvre
1529b30913 2000-11-10 22:40 UTC+0100 JFL (mafact) <jfl@mafact.com> 2000-11-10 22:36:05 +00:00
Brian Hays
0f85576404 2000-11-08 11:28 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-11-08 19:31:27 +00:00
Ryszard Glab
9440d323b0 ChangeLog 2000-11-08 18:25 UTC+0100 2000-11-08 17:28:24 +00:00