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
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
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
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
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
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
83ffb5a4bb
ChangeLog 2001-01-14 15:15 UTC+0100
2001-01-14 14:11:28 +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
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
Ryszard Glab
ccc567b1d0
ChangeLog 2000-12-12 21:25 UTC+0100
2000-12-12 20:22:23 +00:00
Ryszard Glab
dc01ccd135
ChangeLog 2000-11-12 15:20 UTC+0100
2000-11-12 13:10:12 +00:00
Maurilio Longo
73bfbd3208
2000-11-05 19:52 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
2000-11-05 18:58:56 +00:00
Maurilio Longo
82b8652beb
2000-10-21 23:02 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
2000-10-21 21:07:29 +00:00
David G. Holm
7cbf58961e
See ChangeLog entry 2000-07-26 16:25 UTC-0400 David G. Holm <dholm@jsd-llc.com>
2000-07-26 20:29:12 +00:00
Viktor Szakats
f14fbd7510
2000-07-25 13:47 UTC+0100 Victor Szakats <info@szelvesz.hu>
2000-07-25 11:55:27 +00:00
Viktor Szakats
09534028e0
2000-07-25 00:23 UTC+0100 Victor Szakats <info@szelvesz.hu>
2000-07-24 22:24:25 +00:00
Viktor Szakats
d407f71aa5
2000-07-24 22:28 UTC+0100 Victor Szakats <info@szelvesz.hu>
2000-07-24 20:30:05 +00:00
Ryszard Glab
1337925fae
ChangeLog 2000-07-16 19:00 UTC+0100
2000-07-16 16:55:37 +00:00
Ryszard Glab
f3fd7233db
ChangeLog 2000-07-16 17:40 UTC+0100
2000-07-16 15:37:11 +00:00
Ryszard Glab
24a16531ea
ChangeLog 2000-07-10 11:10 UTC+0100
2000-07-10 09:03:42 +00:00
Ryszard Glab
6d13e23d68
ChangeLog 2000-07-03 20:00 UTC+0100
2000-07-03 17:53:40 +00:00
Ryszard Glab
6b2a523c96
ChangeLog 2000-06-30 08:50 UTC+0100
2000-06-30 06:44:25 +00:00
Viktor Szakats
af1cd893af
2000-06-25 14:25 UTC+0100 Victor Szakats <info@szelvesz.hu>
2000-06-25 12:29:19 +00:00
Ryszard Glab
5e6a63d3c7
ChangeLog 2000-06-24 20:10 UTC+0100
2000-06-24 18:02:43 +00:00
Viktor Szakats
be81ee127d
2000-05-27 23:12 UTC+0100 Victor Szakats <info@szelvesz.hu>
2000-05-28 19:52:03 +00:00
Ron Pinkas
5dafe5ee47
20000522-09:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
...
* source/compiler/harbour.c
+ Added code to main() to process symbols and look for the first symbol in the prg and give it scope HB_FS_FIRST
* source/compiler/genc.c
+ Added check for HB_FS_FIRST in the symbol processing loop, and output to the symbol table.
* source/vm/hvm.c
! Fixed bug where if first symbol was an init symbol, it got executed twice.
* source/vm/runner.c
+ Added logic to look for first symbol, to provide correct startup.
! Fixed bug where if first symbol was an init symbol, it got executed twice.
* source/rtl/tclass.prg
! Corrected minor typo in HB_Structure()
* tests/teststru.prg
! Corrected minor typo.
+ tests/testinit.prg
+ Added file to test proper startup processing.
2000-05-22 16:27:20 +00:00
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
Ron Pinkas
8e184f78a4
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 llok 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
2000-05-21 04:55:06 +00:00
Ryszard Glab
afd8141942
ChangeLog 20000504-17:10 GMT+1
2000-05-04 15:02:17 +00:00
Viktor Szakats
503b74c9af
20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 17:35:26 +00:00
Viktor Szakats
4e4af6c94e
20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 17:25:09 +00:00
Ryszard Glab
fcac8dc38e
ChangeLog 20000502-14:55 GMT+1
2000-05-02 12:47:25 +00:00
Viktor Szakats
4f4de292f3
20000502-10:41 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 08:41:18 +00:00
Viktor Szakats
fdb62e01c5
20000502-09:30 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 07:31:14 +00:00
David G. Holm
91ea081a6b
See ChangeLog entry 2000-05-02 01:45 GMT-4 David G. Holm <dholm@jsd-llc.com>
2000-05-02 05:46:45 +00:00
Viktor Szakats
4f884b97a4
20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 00:13:40 +00:00
Viktor Szakats
234074140c
20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-02 00:12:34 +00:00
Viktor Szakats
be7f72c97d
20000502-01:43 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-01 23:41:19 +00:00
Viktor Szakats
382f8da021
20000502-01:14 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-01 23:11:11 +00:00
Ryszard Glab
b82fbc0aa2
ChangeLog 20000501-19:05 GMT+1
2000-05-01 16:56:48 +00:00
Viktor Szakats
d2baf5dbfc
20000501-18:48 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-01 16:49:56 +00:00
Viktor Szakats
778c316fa5
20000501-16:08 GMT+1 Victor Szakats <info@szelvesz.hu>
2000-05-01 14:05:47 +00:00
Ryszard Glab
e3ea62558f
ChangeLog 20000501-15:45 GMT+1
2000-05-01 13:38:43 +00:00