Commit Graph

734 Commits

Author SHA1 Message Date
April White
650485eeeb 2000-07-28 00:18 UTC+0500 April White <awhite@user.rose.com>
* include/hbapi.h
     * fixed comment for hb_xgrab() declaration (was 'exists' now 'exits')

   * doc/en
     + hbapi.txt
     + hbapierr.txt
     + hbapifs.txt
     + hbapigt.txt
     + hbapiitm.txt
     + hbapilng.txt
     + hbapirdd.txt
     + hbdate.txt
     + hbmacro.txt
     + hbset.txt
     + hbvm.txt
     + hbcompat.txt

   * doc/genhtm.rsp
     + entries for above
2000-07-28 01:20:12 +00:00
David G. Holm
6c77f49ebc See ChangeLog entry 2000-07-27 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-27 22:38:07 +00:00
Jean-Francois Lefebvre
44432ddd56 2000-07-28 00:05 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> 2000-07-27 22:04:48 +00:00
Ryszard Glab
61bfbad10a ChangeLog 2000-07-27 19:50 UTC+0100 2000-07-27 17:44:41 +00:00
Ryszard Glab
780d535f1f ChangeLog 2000-07-27 10:15 UTC+0100 2000-07-27 08:10:42 +00:00
Ryszard Glab
512345997b ChangeLog 2000-07-25 19:00 UTC+0100 2000-07-25 17:20:21 +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
d407f71aa5 2000-07-24 22:28 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-24 20:30:05 +00:00
Viktor Szakats
a1e6f03ea0 2000-07-24 22:12 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-24 20:16:31 +00:00
Jean-Francois Lefebvre
2f5cb76a3b 2000-07-18 10:25 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> 2000-07-18 20:48:06 +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
Viktor Szakats
68f556d35c 2000-07-16 13:38 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-16 11:40:51 +00:00
Ryszard Glab
ffe49c60fd ChangeLog 2000-07-15 20:00 UTC+0100 2000-07-15 17:50:44 +00:00
Viktor Szakats
7a5701da69 2000-07-12 08:46 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-12 07:29:09 +00:00
Ryszard Glab
92a79c5e6d ChangeLog 2000-07-11 12:00 UTC+0100 2000-07-11 10:24:27 +00:00
Ron Pinkas
de70fac98b 2000-07-10 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
   * source/compiler/harbour.y
   * source/compiler/hbgenerr.c
     - Removed hb_comp_szFile

   * source/compiler/harbour.slx
     * Reduced aStrings and YY_BUF_SIZE to 2048

   * source/compiler/simplex.c
     + Added RTL license exception.
2000-07-11 03:29:43 +00:00
Ryszard Glab
24a16531ea ChangeLog 2000-07-10 11:10 UTC+0100 2000-07-10 09:03:42 +00:00
Ron Pinkas
1d9fdf35aa 2000-07-09 01:02 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
     + Added: external BOOL hb_comp_bSimpLex

   * source/compiler/harbour.c
     + Added: BOOL hb_comp_bSimpLex
     + Added: if( hb_comp_bSimpLex ) tests before releasing name strings of vars, and symbols.
     + Added: call to hb_compReleaseStrings(), if hb_comp_SimpLes is TRUE, after code generation.

   * source/compiler/harbour.slx
     + Added: logic to resuse same allocated strings when string for identifier was perviously allocated.
     + Added: INIT_ACTION macro to set hb_comp_bSimpLex to TRUE.
     + Added: Function hb_compReleaseStrings()

   * source/compiler/harbour.l
     + Added: empty Function hb_compReleaseStrings() to avoid link error.

   * source/compiler/hbslex.c
   * source/compiler/simplex.c
     * Moved standard #includes from simplex to hbslex.
2000-07-09 08:34:21 +00:00
Ron Pinkas
0f6294e523 - include\harbour.slx
- source\compiler\harbourl.c

  + b32_slex.bat
  + hb_slex.bc

  + source\compiler\hbslex.c
  + source\compiler\simplex.c
  + source\compiler\harbour.slx
2000-07-08 00:27:47 +00:00
Ron Pinkas
758e044984 Added proposed new Lexer files harbour.slx and harbourl.c 2000-07-06 06:51:57 +00:00
Alexander S.Kresin
3dfd022b33 2000-07-24 13:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-04 09:59:33 +00:00
Ryszard Glab
38411220a9 ChangeLog 2000-07-03 11:40 UTC+0100 2000-07-03 09:35:57 +00:00
Ryszard Glab
df9fab8ad8 ChangeLog 2000-06-27 11:10 UTC+0100 2000-06-28 09:03:55 +00:00
Ryszard Glab
94eb133666 ChangeLog 2000-06-26 19:20 UTC+0100 2000-06-27 17:15:56 +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
Ron Pinkas
2bdcf6417e 2000-06-24 11:42 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbclass.ch
     - Uncommented the VO #xtranslate as they do work correctly.

   * source/pp/pplib.c
     - Removed int hb_comp_iIncLine

   * include/hbcomp.h
     - Removed int hb_comp_iIncLine
     + Added int hb_comp_iCompiled
     + Added char*  hb_comp_szFile
     + Added BOOL  hb_comp_bError

   * source/compiler/harbour.c
     ! Fixed Compile Time Line Numbers
     ! Fixed Run Time Line Numbers

   * source/compiler/harbour.l
     ! Rewrote rules for STRING1 STRING2 STRING3 INDEX, were severly broken with regard to unterminated support.
       /* When working on errors, I founf major problems, with unterminated Array Index and Unterminated Strings
          I'm surprised no one reported.  This mass was a nightmere to fix. it seems to be working great now. */

   * source/compiler/harbour.y
     ! Many fixes to support correct line numbers.

   * source/compiler/hbgenerr.c
     ! Fixed Error System to never report more than 1 error per source line.

   * source/pp/ppcomp.c
     - Removed code for hb_comp_iIncLine

   * source/pp/ppcore.c
     * Minor formating.
2000-06-24 19:06:52 +00:00
Ryszard Glab
5e6a63d3c7 ChangeLog 2000-06-24 20:10 UTC+0100 2000-06-24 18:02:43 +00:00
Jean-Francois Lefebvre
0093f8b62e 2000-06-23 01:31 UTC+0200 JFL & RAC <jflb@mafact.com> 2000-06-22 23:28:27 +00:00
Ron Pinkas
baf6469d63 2000-06-22 03:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbclass.ch
     ! Uncommented  #xtranslate that was not pre-processing correctly, before recent fixes to ppcore.c and now works correctly.

   * source/compiler/harbour.c
     ! Fixed hb_compLinePush() to generate correct Run-Time Line Numbers.

   * source/pp/ppcomp.c
     - Removed one // comment.

   * source/pp/ppcore.c
     * Increased MAX_EXP to 2048 as requested by Brian Hays.
2000-06-22 10:38:30 +00:00
Viktor Szakats
99cf7bb5ad 2000-06-22 03:23 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-22 01:19:53 +00:00
Viktor Szakats
ba531f861f 20000322-16:33 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-06-21 12:19:00 +00:00
Antonio Linares
30c52f5d86 *** empty log message *** 2000-06-20 13:23:26 +00:00
Antonio Linares
6baa26fe45 *** empty log message *** 2000-06-20 08:35:35 +00:00
Viktor Szakats
1479859068 2000-06-19 10:11 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-19 08:12:44 +00:00
April White
b45f9d69bd 2000-06-17 20:34 UTC+0500 April White <awhite@user.rose.com>
* include/hbapi.h
     * forgot an end of comment tag
2000-06-18 19:42:05 +00:00
April White
016acbc883 2000-06-17 19:43 UTC+0500 April White <awhite@user.rose.com>
* include/hbapi.h
   * include/hbapifs.h
     + added descriptive comments, from source, to declarations of
       multiple api calls

   * rtl/trim.c
     * hb_strRTrimLen - corrected descriptive comment
       was "returns szText and the new length in lLen"
       now "return length of szText ignoring trailing white space
            (or true spaces)"
2000-06-18 18:57:16 +00:00
Ryszard Glab
ee19f4b1d5 ChangeLog 2000-06-18 15:20 UTC+0100 2000-06-18 13:20:51 +00:00
April White
b271952322 *** empty log message *** 2000-06-17 18:21:48 +00:00
Viktor Szakats
a1374c507f 2000-06-16 13:37 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-16 11:43:12 +00:00
Ryszard Glab
aae392a7ef ChangeLog 2000-06-13 19:55 UTC+0100 2000-06-13 17:51:13 +00:00
Ron Pinkas
4b20bace29 2000-06-11 21:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
     * Enclosed declarations of functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE

   source/compiler/harbour.y
     * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE
     * Changed rules for DO ... to add name of module to hb_comp_pAutoOpen linked list.
     + Added hb_compAutoOpen() - Parses the needed externals when -m not specified
     - Defed out hb_compYACCMAIN() (#if 0) - no longer needed, moved logic into hb_compCompile() and hb_compAutoOpen()

   source/compiler/harbour.l
     + Added #define YY_USER_ACTION ... to fix Flex problem with ^ (BOL RegExp)
     * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE

   source/compiler/harbour.c
     * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE
     * Modified hb_compCompile() to support future in-line nested compilation, and defed it out.
     * Changed hb_compCompile() to call hb_compAutoOpen() for modules called in DO ... that are not defined in main prg.
     ! Completed -m support, by default directives in external opened modules will be avialable to subsequent externals.
       this feature is defed out if strict compatibilty ise selected.
2000-06-12 04:50:50 +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
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
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
Antonio Linares
87ef7ca7fc 20000604-13:53 GMT+1 alinares 2000-06-04 11:53:02 +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