Commit Graph

4241 Commits

Author SHA1 Message Date
Luiz Rafael Culik
4764b6815e See changelog 2001-08-06 20:30 GMT -3 2001-08-06 23:24:43 +00:00
Ron Pinkas
4b56597c06 2001-08-06 09:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/genc.c
     ! Improved sync logic of HB_SETMACRO() level, to only activate once per module with same level used by compiler.
2001-08-06 16:13:10 +00:00
Chen Kedem
098d1ec079 2001-08-06 10:33 UTC+0300 Chen Kedem <niki@actcom.co.il> 2001-08-06 07:33:46 +00:00
Luiz Rafael Culik
db7f76c2f5 See changelog 2001-08-05 18:00 GMT -3 2001-08-05 20:53:48 +00:00
Luiz Rafael Culik
91a67952fa See changelog 2001-08-05 18:00 GMT -3 2001-08-05 20:47:02 +00:00
Ron Pinkas
cb4e5e74e0 2001-08-05 12:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
+ include/hbmsetup.h
   * include/hbmacro.h
     * Moved #defines of HB_SM_* to new file hbmsetup.h

   * source/compiler/harbour.c
   * source/vm/macro.c
   * source/compiler/genc.c
     + Added logic to automatically synchronize HB_SETMACRO() level with the -k option supplied to compiler.

     /* HB_SETMACRO() may still be called explictly, but now specifying any -k option to harbour will automatically provide same
       level of functionalty in macro compiler. Example:

           harbour test -kc

        will restrict the compiler to the Clipper level mode, and will automatically disable extended macro support in that module
        without requiring:

           HB_SETMACRO( HB_SM_HARBOUR, .F. )
           HB_SETMACRO( HB_SM_XBASE, .F. )

        By default all harbour extensions are enabled - you can use -kc, -kx -ki, etc., to disable any unwanted feature.

        We should still review the need to have -ki which I find absolutley redundant and unproductive.
     */
2001-08-05 19:24:12 +00:00
Alexander S.Kresin
2b4f426339 2001-08-05 22:58 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-08-05 19:00:38 +00:00
Ryszard Glab
f2f764c5a8 ChangeLog 2001-08-05 14:20 UTC+0100 2001-08-05 13:06:55 +00:00
Luiz Rafael Culik
d9664055be See changelog 2001-08-04 18:35 gmt -3 2001-08-04 21:33:35 +00:00
Ron Pinkas
4b444c4812 2001-08-04 13:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.l
   * source/compiler/harbour.slx
     * Added inline c support for hb_comp_iLanguage == LANG_OBJ_MODULE

   * source/compiler/harbour.sly
     * Added support for HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) in Statement : ( MacroVar and MacroExpr ) to sync with harbour.y
2001-08-04 20:50:06 +00:00
Ron Pinkas
71ce8f8787 2001-08-04 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/macro.c
      ! Added missing ; in line 956
2001-08-04 18:03:25 +00:00
Ryszard Glab
65cd98cadb ChangeLog 2001-08-04 15:15 UTC+0100 2001-08-04 14:19:29 +00:00
Dave Pearson
dde0c242c4 2001-08-04 00:06 GMT Dave Pearson <davep@davep.org>
* doc/whatsnew.txt
     * Brought the document up to date.
2001-08-04 00:07:45 +00:00
Luiz Rafael Culik
0968e8e256 See changelog 2001-08-03 19:30 GMT -3 2001-08-03 22:23:55 +00:00
Dave Pearson
12a2c7389d 2001-08-03 13:23 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     + Added HB_Profile::ignoreSymbol().
     * Changed HB_Profile::gather() to use HB_Profile::ignoreSymbol() to
       decide if a symbol should be ignored. This will let developers
       modify what is and isn't ignored by subclassing HB_Profile and
       implementing their own version of HB_Profile::ignoreSymbol().
2001-08-03 13:30:01 +00:00
Ron Pinkas
f089898c00 2001-08-02 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.txt
     * Corrected typos.

   * include/hbpcode.h
     * Corrected comments for HB_P_MACROLIST and HB_P_MACROLISTEND
2001-08-02 16:56:42 +00:00
Ron Pinkas
0013eb731b 2001-07-31 10:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/arrayshb.c
     + Added HB_FUNC( HB_AEXPRESSION )

   * source/rdd/dblist.prg
     - Removed FUNCTION HB_aExpressions()
2001-07-31 17:11:07 +00:00
Ron Pinkas
777a7beb3e 2001-07-30 10:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/rdd/dblist.prg
     - Removed HB_aTokens()
     + Added HB_aExpressions()
     * Changed call to HB_aTokens() to HB_aExpressions()
2001-07-31 05:15:53 +00:00
Dave Pearson
8d367335b9 2001-07-30 14:54 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
      * Restored the OO based profile reporter.
2001-07-30 14:56:31 +00:00
Chen Kedem
c612cb8e06 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@actcom.co.il>
(add missing CR+LF at the end of file)
2001-07-30 13:49:28 +00:00
Chen Kedem
5f815f245d 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@actcom.co.il> 2001-07-30 13:46:12 +00:00
Chen Kedem
83835de4ae 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@actcom.co.il> 2001-07-30 13:39:30 +00:00
Ron Pinkas
928a660c0a 2001-07-26 16:21 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/macro.c
     * Corrected typo in trace message within hb_macroExpandString()
2001-07-26 23:25:29 +00:00
Dave Pearson
b0c1dd3fb9 Fixed typo in ChangeLog entry "2001-07-26 14:30 GMT Dave Pearson <davep@davep.org>" 2001-07-26 23:19:41 +00:00
Jean-Francois Lefebvre
842ae2a9c8 2001-07-26 22:50 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-07-26 21:50:52 +00:00
David G. Holm
054e74dcb7 See ChangeLog entry 2001-07-26 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-07-26 18:35:44 +00:00
Dave Pearson
01e31ce130 2001-07-26 14:30 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
      * Resorted Antonio's profile reporter due to copyright concerns.
2001-07-26 14:32:44 +00:00
Ron Pinkas
c5f24d0fe5 2001-07-26 02:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbexpra.c
     + Added logic to optimize 2nd parameter of __DBLIST().
       Scan it if array, and optiimize elements that are codeblocks containg macros to the core value of such macro.

   * source/rdd/dblist.prg
     + Added logic to scan abEval for Strings, parse and convert them to codeblocks.
     + Added HB_aTokens()

   /* This should complete support for:

      cFields := "Field1,Field2,..."
      LIST &cFields*/ ...
   */
2001-07-26 09:55:48 +00:00
Luiz Rafael Culik
49b54c2a28 See changelog 2001-07-24 20:45 GMT -3 2001-07-24 23:37:29 +00:00
Luiz Rafael Culik
8b671adbd7 See changelog 2001-07-24 08:45 GMT -3 2001-07-24 11:41:02 +00:00
Luiz Rafael Culik
c0b9111819 See changelog 2001-07-24 08:45 GMT -3 2001-07-24 11:37:31 +00:00
Martin Vogel
140eb39f31 *** empty log message *** 2001-07-24 09:10:40 +00:00
Ron Pinkas
da40f1d977 2001-07-23 20:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/vm/macro.c
     ! Corrected a compiler warning.
2001-07-24 03:46:39 +00:00
Luiz Rafael Culik
3933d2c8c1 See changelog 2001-07-23 21:10 GMT -3 2001-07-24 00:12:46 +00:00
Lubos Janica
1be4191464 2001-07-23 22:35 UTC+0100 Lubos Janica <janicalubos@yahoo.com>
* classes.c
       Fixed function __CLSNEW.
       Changed variable USHORT uiSize to ULONG ulSize
       This fix random GPFs in function hb_clsDictRealloc by creating
       classes.
2001-07-23 20:51:32 +00:00
Viktor Szakats
2018498c23 2001-07-23 21:29 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-07-23 19:32:50 +00:00
Martin Vogel
4ed4b8024d 2001-07-23 22:30 MEST Martin Vogel <vogel@inttec.de> 2001-07-23 19:23:34 +00:00
Dave Pearson
ba0478158a 2001-07-23 18:24 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Access method `nSeconds' in class HB_ProfileEntity now used
       HB_CLOCKS2SECS to calculate seconds.
2001-07-23 18:27:35 +00:00
Dave Pearson
6527471cc0 2001-07-23 18:15 GMT Dave Pearson <davep@davep.org>
* source/rtl/seconds.c
      * Renamed CLOCKS2SECS() to HB_CLOCKS2SECS().
2001-07-23 18:18:09 +00:00
Martin Vogel
56cc6b6e68 2001-07-23 20:10 MEST Martin Vogel <vogel@inttec.de> 2001-07-23 18:08:56 +00:00
Dave Pearson
a3491da45e 2001-07-23 17:37 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Replace old profile reporting code with an OO approach.
2001-07-23 17:41:41 +00:00
Martin Vogel
97d5d8386b 2001-07-23 18:40 MEST Martin Vogel <vogel@inttec.de> 2001-07-23 16:38:00 +00:00
Ron Pinkas
1d690a55d6 2001-07-23 04:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     ! Various refinments in matching and outputing due to new observations about Clipper.
2001-07-23 11:18:49 +00:00
Ron Pinkas
fc7c28a6b3 2001-07-23 04:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbexprop.h
     + Added #define  HB_ET_MACRO_PARE    64

   * source/vm/hvm.c
   * source/vm/macro.c
   * source/macro/macro.y
   * include/hbexprb.c
     + Added support for HB_P_MACROPUSHPARE aand HB_P_MACROPUSHINDEX

   * include/hbmacro.h
     + Added #define HB_MACRO_GEN_PARE     16  /* generate parentesized list */

   * source/common/expropt1.c
   * source/common/expropt2.c

   * include/hbpcode.h
   * source/compiler/genc.c
   * source/compiler/hbfix.c
   * source/compiler/hbpcode.c
     + Added new opcode HB_P_MACROPUSHPARE

   /* This should complete macro list support for ( &cMacro ) and aArray[ &cMacro ] syntaxes. */
2001-07-23 11:13:06 +00:00
Ron Pinkas
e2e1eeb028 2001-07-22 14:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
     * Changed 2nd parameter to BYTE iContext in hb_macroGetValue( HB_ITEM_PTR pItem, BYTE iContext )

   * include/hbexprop.h
     + Added #define  HB_ET_MACRO_LIST    16   /* &variable used as in literal arrays or parentesised expressions. */
     + Added #define  HB_ET_MACRO_INDEX   32   /* &variable used as arrays index. */

   * include/hbexprb.c
     + Added macro list support logic to hb_compExprUseArray()
     + Added generation of HB_P_MACROLIST,  HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX in hb_compExprUseMacro()

       /* HB_P_MACROLIST and HB_P_MACROLISTEND are only generated as an enevelope if array contains a one or more macro element
          which will generate an HB_P_MACROPUSHLIST. */

   * include/hbpcode.h
   * source/compiler/genc.c
   * source/compiler/hbfix.c
   * source/compiler/hbpcode.c
     + Added: new opcodes HB_P_MACROLIST, HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX.

   * source/vm/hvm.c
   * source/vm/macro.c
     + Added: support for new opcodes HB_P_MACROLIST, HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX.

       /* HB_P_MACROPUSHINDEX not completed yet.*/

   /* NOTE: This implements macro as literal array arguments list syntax <{ &cMacro }>.
           ( &Cmacro ) and Array[ &cMacro ] are not completed yet.

      *** All prgs must be recompiled due to new opcodes !!!
   */
2001-07-23 06:31:41 +00:00
Luiz Rafael Culik
a2e20a2882 See changelog 2001-07-22 18:25 GMT -3 2001-07-22 21:26:20 +00:00
Luiz Rafael Culik
1b1bc0135c See changelog 2001-07-22 18:00 GMT -3 2001-07-22 21:11:12 +00:00
Ryszard Glab
f6353a8674 ChangeLog 2001-07-22 20:15 UTC+0100 2001-07-22 19:03:52 +00:00
Luiz Rafael Culik
c6a41da2c6 See changelog 2001-07-22 08:40 GMT -3 2001-07-22 11:37:49 +00:00
Ryszard Glab
8e957ebe48 ChangeLog 2001-07-21 18:15 UTC+0100 2001-07-21 16:56:04 +00:00