Commit Graph

1971 Commits

Author SHA1 Message Date
Ron Pinkas
29eb8c65fa 2000-06-04 03:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Commented fix 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> until more complete solution
2000-06-04 10:52:40 +00:00
Ron Pinkas
d4785143b3 2000-06-04 03:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Corrected error message in SetRules() to report filename with default extension.
2000-06-04 10:33:56 +00:00
Ron Pinkas
fa68f5d2d8 2000-06-04 03:25 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Added \n to error message in SetRules()
2000-06-04 10:26:54 +00:00
Ron Pinkas
a3a61fd11d 2000-06-04 03:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
     + Added: extern char *        hb_pp_STD_CH;

   * include/hbpp.h
     + Added: extern void hb_pp_SetRules( BOOL (*hb_compInclude)(char *, PATHNAMES * ) );

   * source/compiler/hbusage.c
   * source/compiler/harbour.c
   * source/compiler/cmdcheck.c
     + Added support for -u[FileName]
     - Removed TODO for -u

   * source/pp/ppcomp.c
     + Added hb_pp_ReadRules() - Logic to process directives from user supplied command defs.

   * source/pp/ppcore.c
     + Added hb_pp_SetRules() - Logic to use predefined rules, none, or user defined.

   * source/pp/pptable.c
     + Added hb_pp_Table() - Moved predefined rules into this function, to allow for conditional use.
2000-06-04 10:12:52 +00:00
Viktor Szakats
f85f1fa13c 2000-06-03 13:36 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 11:33:06 +00:00
Viktor Szakats
fb2863f778 2000-06-03 10:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 08:49:29 +00:00
Viktor Szakats
25879cbf80 2000-06-03 01:13 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 08:38:45 +00:00
Ron Pinkas
dc5211fc52 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Added logic to CommandStuff() to fix problem with Keyword or Match Marker are matched after non provided multiple optional patterns.
2000-06-02 21:57:13 +00:00
Viktor Szakats
7b24fd3601 2000-06-02 19:56 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 17:53:00 +00:00
Ron Pinkas
4c2db1057e 2000-06-02 02:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Added logic to hb_pp_RdStr() to fix problem with Macro Terminator (.) without a macro suffix.
2000-06-02 09:09:18 +00:00
Ron Pinkas
6f3355a896 2000-06-01 21:15 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     + Added case '@' to hb_pp_RdStr() to fix problem with @ not followed by a space.
2000-06-02 04:24:39 +00:00
Viktor Szakats
6be58420c8 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 01:55:16 +00:00
Viktor Szakats
d13e8ab76f 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 01:34:35 +00:00
Viktor Szakats
a5d9c94592 2000-06-01 22:18 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-01 20:15:54 +00:00
David G. Holm
59ceb9aa21 See ChangeLog entry 2000-06-01 15:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-01 19:41:09 +00:00
Ryszard Glab
acd2b4e081 ChangeLog 20000601-20:40 UTC+0100 2000-06-01 18:34:47 +00:00
David G. Holm
fea7b1045b See ChangeLog entry 2000-06-01 12:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-01 16:30:01 +00:00
Viktor Szakats
ce08e02654 2000-05-31 23:57 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 21:53:43 +00:00
Viktor Szakats
cc8e3b98d6 2000-05-31 23:43 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 21:47:19 +00:00
Maurilio Longo
b39d909ac4 20000531-22:15 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-05-31 20:19:07 +00:00
Viktor Szakats
19e3bbe4d5 2000-05-31 13:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 12:04:56 +00:00
Viktor Szakats
07088ae6a6 2000-05-31 13:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 11:54:28 +00:00
Jean-Francois Lefebvre
13a7a697a1 2000-05-29 22:21 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com> 2000-05-29 20:35:05 +00:00
Viktor Szakats
879a134ee1 2000-05-29 08:29 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-29 06:28:24 +00:00
Luiz Rafael Culik
416d424eaf *** empty log message *** 2000-05-29 03:09:43 +00:00
Viktor Szakats
9217251a5a 2000-05-29 02:47 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-29 00:51:57 +00:00
Viktor Szakats
eb952f521c 2000-05-28 22:57 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-28 21:01:27 +00:00
Jean-Francois Lefebvre
937101dd91 *harbour/include/hboo.ch
*harbour/include/hbclass.ch
 Now support MI, scoping, fowarding and delegating
 Also support 10 chars limit by not prefixing the Classname when in 10 chars mode

*harbour/include/hbsetup.ch
 Allow the configuration of Hidden message

*harbour/source/rtl/objfunc.prg
 added function __objDerivedFrom(oSelf, oObj | cClassName)

*harbour/source/rtl/tclass.prg
 Major modification to implement MI & scoping
 Added message :Super to acces frist superclass object instance
 Added message :IsDerivedFrom(oObj | cClassName ) (Xbase++ comp.)

*harbour/source/vm/proc.c
  added char * hb_procname( int iLevel, char * szName )
  extracted from HB_FUNC( PROCNAME ) to allow it to be called from c
  HB_FUNC( PROCNAME ) modified to call the previous'one

*harbour/source/vm/classes.c
  Major modification to implement MI & Scoping
  Added function Sender() used by delegating to allow full polymorphism
  Added function __CLS_PARAM used by the preprocessor
2000-05-28 20:09:56 +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
04837b2eaa 2000-05-22 10:40 UTC-800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbvmpub.h
     * Modified HB_FS_FIRST to  ( ( HB_SYMBOLSCOPE ) 0x04 )

   * source/compiler/harbour.c
     * Minor optimization when storing HB_FS_FIRST

   * source/pp/pptable.c
     - Removed built-in rule, for STRUCTURE support

   * source/vm/runner.c
     ! Fixed bug when there is no startup procedure

   * source/rtl/tclass.prg
     - Removed HB_Structure()

   * include/hbextern.ch
     * Moved EXTERNAL HB_STRUCTURE to separate section

   * tests/teststru.prg
     + added #INCLUDE "..\Include\HBSTRUC.CH"

   + include/hbstruc.ch

   + source/rtl/hbstruc.prg

   * makefile.bc
     + Added rules for hbstruc.prg
2000-05-26 07:39:42 +00:00
David G. Holm
8379f01566 See ChangeLog entry 2000-05-25 12:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-05-25 16:50:07 +00:00
Ryszard Glab
61737c34d9 ChangeLog 20000524-17:55 GMT+1 2000-05-24 15:49:41 +00:00
David G. Holm
814163b5b3 See ChangeLog 2000-05-24 10:35 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-05-24 14:38:37 +00:00
Paul Tucker
cb5c7083d4 Add missing cast to xgrab call 2000-05-24 04:25:29 +00:00
David G. Holm
c781ff65df See ChangeLog entry 2000-05-23 16:45 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-05-23 20:52:53 +00:00
David G. Holm
38804ba817 See ChangeLog entry 2000-05-23 12:30 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-05-23 16:34:30 +00:00
Ron Pinkas
9f05928bd2 20000522-10:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
     ! Fixed ambigious else in hb_StrongType()

   * source/pp/pptable.c
     ! Fixed STRUCTURE rule to allow nesting of structures.

   * tests/teststru.prg
     * Enhanced to demonstrate Structure as element of other structure and self reference capabilities.
2000-05-23 01:31:34 +00:00
Viktor Szakats
23f1982817 20000523-02:58 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-23 00:56:50 +00:00
Viktor Szakats
7c3033e04e 20000523-02:06 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-23 00:06:44 +00:00
Viktor Szakats
6a0ab26de6 20000523-02:06 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-23 00:03:41 +00:00
David G. Holm
b055723311 See ChangeLog entry 2000-05-22 18:15 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-05-22 22:19:23 +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
34b7814957 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()
2000-05-22 04:53:45 +00:00
Ron Pinkas
c7e237273e 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.
2000-05-21 21:19:51 +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
Paul Tucker
2a97599b58 include "hbapigt.h" for proper c++ support 2000-05-21 04:38:05 +00:00
Ron Pinkas
f778702d2d 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..."
2000-05-20 17:12:20 +00:00
Ryszard Glab
c4309a12ca ChangeLog 20000520-15:25 GMT+1 2000-05-20 13:20:42 +00:00
Ryszard Glab
8e16af8da6 ChangeLog 20000520-14:45 GMT+1 2000-05-20 12:42:32 +00:00