Commit Graph

2972 Commits

Author SHA1 Message Date
Luiz Rafael Culik
8f15eef57b *** empty log message *** 2000-06-10 02:13:32 +00:00
David G. Holm
029dc75434 See ChangeLog entry 2000-06-09 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-09 19:49:09 +00:00
David G. Holm
3e36a6ea4b See ChangeLog entry 2000-06-09 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-09 19:39:24 +00:00
Ron Pinkas
f4a4d1f980 2000-06-07 22:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbpp.h
  * source/compiler/harbour.c
  * source/pp/ppcore.c
    * Modified hb_pp_SetRules() to receive 2nd parameter BOOL hb_comp_bQuiet, since ppcore is part of PP.lib which is linked
      into HBRUN.exe which does not include harbour.c where hb_comp_bQuiet is defined.

  * source/compiler/harbour.l
    ! Fixed parse error on IF [...]

  * source/vm/classes.c
    Posted patch provided by JF

  * source/rtl/tobject.prg
    Posted missing file provided by JF
2000-06-09 06:59:56 +00:00
Lubos Janica
d7198df0a4 2000-06-09 08:15 UTC+0100 Lubos Janica <janica@fornax.sk>
* source/rdd/dbfntx1.c
    	After this change we can create indexes. And they working with Clipper !
	But this isn't optimized.
      * Module initialization for other then GNU compilers
      + static ERRCODE hb_ntxPageKeyAdd( LPPAGEINFO pPage, PHB_ITEM pKey, int level)
      + static ERRCODE hb_ntxPageKeyInsert( LPPAGEINFO pPage, PHB_ITEM pKey, int pos )
      + static int hb_ntxItemCompare( PHB_ITEM pKey1, PHB_ITEM pKey2 )
      + static ERRCODE hb_ntxPageAddPageKeyAdd( LPPAGEINFO pPage, PHB_ITEM pKey, int level, int pos )
2000-06-09 06:21:24 +00:00
Luiz Rafael Culik
33009f606f *** empty log message *** 2000-06-08 23:52:32 +00:00
Maurilio Longo
1a4bdf7427 20000608-22:10 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-06-08 20:08:37 +00:00
Luiz Rafael Culik
b0a7a11c15 See changelog 20000608-07:30 2000-06-08 10:33:08 +00:00
Ron Pinkas
52c70a7db3 2000-06-07 22:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     * main() Moved calls to hb_pp_init() to hb_pp_SetRules() in ppcore.c to avoid redefinition of standard defs.

   * source/pp/ppcore.c
     * hb_pp_SetRules() Moved calls to hb_pp_init() from main() in Harbour.c to avoid redefinition of standard defs.
     ! Minor fixes to warnings and errors.
2000-06-08 05:50:09 +00:00
Ron Pinkas
e5f03d9691 2000-06-05 19:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Changed hb_pp_SetRules() to only always default to .CH extension, if file name supplied without extension.
     ! Converted some printf() messages to standard warnnings and errors.

   * include/hberrors.h
     + Added:
		#define HB_PP_ERR_CANNOT_OPEN_RULES             15
		#define HB_COMP_ERR_BAD_RULES_FILE_NAME         16

		#define HB_PP_WARN_NO_DIRECTIVES                2
2000-06-08 04:45:13 +00:00
Jean-Francois Lefebvre
17d0cd1fb7 see 2000-06-07 22:42 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com>
see 2000-06-07 22:42 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com>
see 2000-06-07 22:42 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com>
2000-06-07 20:53:08 +00:00
Lubos Janica
949a0d6027 2000-06-07 21:51 UTC+0100 Lubos Janica <janica@fornax.sk>
* source/rdd/dbfntx1.c
     Begin of implementation ntx driver. It's not working !
       + static ERRCODE ntxOrderCreate( AREAP pArea, LPDBORDERCREATEINFO pOrderInfo );
       + static ERRCODE ntxOrderInfo( AREAP pArea, USHORT uiIndex, LPDBORDERINFO pInfo );
       + static ERRCODE ntxOrderListAdd( AREAP pArea, LPDBORDERINFO pOrderInfo );
       + static ERRCODE ntxOrderListClear( AREAP pArea );
       + static ERRCODE ntxClose( AREAP pArea );
       + some internal funcitons
2000-06-07 19:58:38 +00:00
Ryszard Glab
746484a766 ChangeLog 2000-06-07 16:50 UTC+0100 2000-06-07 14:48:26 +00:00
Ron Pinkas
31f151b6ae 2000-06-06 20:10 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/cmdcheck.c
      + Implemented support for -m

    * include/hbcomp.h
      + Added structure _HARBVARS to hold Harbour Session Variables
      + Added structure +AUTOOPEN to hold names of external modules already compiled.

    * source/compiler/harbour.c
      + Moved the parsing/compiling logic into new hb_compCompile()
      + Added:
		static void hb_compAutoOpenAdd( char * szName );
		static BOOL hb_compAutoOpenFind( char * szName );
		static void hb_compSaveVars( PHARBVARS, int );
		static void hb_compRestoreVars( PHARBVARS, int );

    * source/compiler/harbour.l
      + Added:
		void * hb_compGet_YY_CURRENT_BUFFER()
		void hb_compSet_YY_CURRENT_BUFFER( void * pBuffer )
		int hb_compGet_yy_init( void )
		void hb_compSet_yy_init( int i )
		int hb_compGet_yy_start( void )
		void hb_compSet_yy_start( int i )
		int hb_compGet_yy_did_buffer_switch_on_eof( void )
		void hb_compSet_yy_did_buffer_switch_on_eof( int i )

     * source/compiler/harbour.y
       + Added logic to call hb_compCompile() when DO ... or DO ... WITH
       + Added:
		void * hb_compGet_pLoops( void )
		void hb_compSet_pLoops( void * pLoops )
		void * hb_compGet_rtvars( void )
		void hb_compSet_rtvars( void * rtvars )

      *	source/compiler/hbusage.c
	+ Added display of -m compiler switch

Please note:

1. Implementation is practicaly completed, but there is one known issue to be resolved: Once we open and compile
   an external module, the very next prg line in the parent prg is not processed, I would love to get some assistance
   with this - Ryszard, Antonio, Victor, Paul? as I am seriously limited with time over this week.
   It seems I am not saving one of Bison/Flex vars, so my restore of the previous session is not complete :-(

2. Clipper seem to have a bug, on the following code:
   DO WHILE WITH ...
   Clipper will attempt to compile external "WITH.PRG" instead of "WHILE.PRG", can any one advise if I am missing something here...
   In our implementation the above line will attemp to compile "WHILE.PRG"
2000-06-07 03:47:47 +00:00
Ron Pinkas
743e74b93c 2000-06-05 19:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Changed hb_pp_SetRules() to only default to .CH extension, if file name as supplied without extension was not found.
     ! Improved Messages to report various possible conditions.
2000-06-06 02:51:06 +00:00
Antonio Linares
d667f61d30 *** empty log message *** 2000-06-05 12:56:33 +00:00
Antonio Linares
bd14fd408c 2000-06-05 14:52 GMT+1 2000-06-05 12:52:06 +00:00
Ron Pinkas
d19e6ae858 2000-06-04 17:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Corrected compiler warning
     ! Corrected @ after ; missing trailing space.
2000-06-05 00:37:14 +00:00
Ron Pinkas
1dbf8d3fcc 2000-06-04 11:16 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcomp.c
   * source/pp/ppcore.c
     ! Corrected compiler warnings
2000-06-04 18:47:53 +00:00
Viktor Szakats
70a2fb3af2 2000-06-04 18:51 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-04 16:52:42 +00:00
Ron Pinkas
9309b9f3c5 2000-06-04 09:40 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Changed case of '@' in hb_pp_RdStr() to only add missing space when in the begining of a new line.
2000-06-04 16:42:03 +00:00
Luiz Rafael Culik
20ca34280c *** empty log message *** 2000-06-04 15:59:18 +00:00
Luiz Rafael Culik
0a045ab066 See changelog 20000604-09:20 GMT -3 2000-06-04 15:52:42 +00:00
Viktor Szakats
233fc41349 2000-06-04 17:52 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-04 15:48:43 +00:00
Luiz Rafael Culik
5bbb1a224c See changelog 20000604-09:20 GMT -3 2000-06-04 12:24:05 +00:00
Antonio Linares
2bdeb57dc6 *** empty log message *** 2000-06-04 12:21:46 +00:00
Antonio Linares
87ef7ca7fc 20000604-13:53 GMT+1 alinares 2000-06-04 11:53:02 +00:00
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
Viktor Szakats
4665c518e9 2000-06-03 01:13 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 07:57:02 +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
Viktor Szakats
09aa8486ae 2000-06-02 15:39 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 13:35:29 +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
5256c88bb8 2000-06-02 04:00 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 02:47:18 +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
3cdcdb805f 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 00:51:40 +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
Luiz Rafael Culik
81f890cb3e See changelog 20000531-23:20 GMT -3 2000-06-01 02:42:39 +00:00
Luiz Rafael Culik
e975d02e59 See changelog 20000531-23:20 GMT -3 2000-06-01 02:31:26 +00:00