Commit Graph

6264 Commits

Author SHA1 Message Date
Ryszard Glab
58e748bc75 2004-04-24 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
      * changed ULONG hb_objHasMsg into BOOL hb_objHasMsg

   * include/hbvmpub.h
      * added
         union {
          PHB_FUNC pFunPtr;
          int iStaticsBase;
         } value
       to HB_SYMB structure to remove pointer/int conversion

   * source/compiler/genc.c
   * source/compiler/gencli.c
   * source/rdd/dbf1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbfdbt/dbfdbt1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/symbol.prg
   * source/vm/classes.c
   * source/vm/dynsym.c
   * source/vm/hvm.c
   * source/vm/initsymb.c
   * source/vm/macro.c
   * source/vm/runner.c
      * changed to use new HB_SYMB structure
      * removed all pointer/long castings (except runner.c)
2004-04-24 13:33:06 +00:00
David G. Holm
28d46311d7 See ChangeLog entry 2004-04-22 18:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-04-22 22:07:20 +00:00
David G. Holm
88033c2e51 See ChangeLog entry 2004-04-22 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-04-22 21:27:23 +00:00
Chen Kedem
00f96bf948 2004-04-22 10:57 UTC+0300 Chen Kedem <niki@actcom.co.il> 2004-04-22 07:57:08 +00:00
Chen Kedem
d4a1bc168b 2004-04-21 16:35 UTC+0300 Chen Kedem <niki@actcom.co.il> 2004-04-21 13:41:25 +00:00
Chen Kedem
136a65d894 2004-04-21 16:35 UTC+0300 Chen Kedem <niki@actcom.co.il> 2004-04-21 13:35:34 +00:00
David G. Holm
57f3f0149f See ChangeLog entry 2004-04-20 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2004-04-20 20:24:36 +00:00
Chen Kedem
1144986ffa 2004-04-19 11:43 UTC+0300 Chen Kedem <niki@actcom.co.il> 2004-04-19 08:44:06 +00:00
Ryszard Glab
abe158c8d0 2004-04-17 12:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
   * source/rtl/empty.c
   * source/rtl/idle.c
   * source/vm/arrays.c
   * source/vm/estack.c
   * source/vm/extend.c
   * source/vm/itemapi.c
      * added missing code to use HB_IT_POINTER just like
      other value's type
      You can use:
      hb_retptr( void * pointer )
      hb_parptr( ) -> void *
      hb_storptr( void * pointer, ...... )
      to return/manage pointers from low level functions.
      For example:
      p = GET_SOME_POINTER()
      ? VALTYPE(p)   //prints: 'P'
      ? p   //prints: 0x12345678

   * tests/onidle.prg
      * fixed to use values of pointer type

   * tests/tstmacro.prg
      * added code to test TYPE() function
2004-04-17 10:58:20 +00:00
Luis Krause
5cb44ed54a 2004-04-16 17:08 UTC-0800 Luis Krause Mantilla 2004-04-17 00:11:35 +00:00
Alexander S.Kresin
d74f0d092c 2004-04-16 19:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-04-16 15:05:25 +00:00
Alexander S.Kresin
a4bed99897 2004-04-16 13:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-04-16 09:54:44 +00:00
Luis Krause
598e49e4d1 2004-04-14 19:05 UTC-0800 Luis Krause Mantilla 2004-04-15 02:07:21 +00:00
Przemyslaw Czerpak
e101b3078d 2004-04-14 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/bldtest/Makefile
    * fixed typo in file name

  * xharbour/include/hbdefs.h
    + added HB_COUNTER and HB_PTRDIFF types - first for reference
      counters and second for any pointer differences and pointer to
      integer conversions - this modification is synced with xHarbour

  * harbour/include/hbapi.h
  * harbour/include/hbdefs.h
  * harbour/source/rtl/philes.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/itemapi.c
    * use HB_COUNTER type
2004-04-14 10:32:01 +00:00
David G. Holm
e39f835bc4 See ChangeLog entry 2004-04-09 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-04-09 18:54:53 +00:00
Ryszard Glab
00d4fb45e1 2004-04-09 11:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/debug/debugger.prg
      * removed diagnostic ALERT call
2004-04-09 09:40:53 +00:00
Ryszard Glab
76ea4f0b3e 2004-04-09 10:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * include/hbexprop.h
   * source/compiler/expropta.c
   * source/macro/macroa.c
   * source/vm/macro.c
      * fixed my previous fix to correctly release memory in
      the macro compiler
2004-04-09 08:05:34 +00:00
Ryszard Glab
9e734084d4 2004-04-08 17:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * source/compiler/expropta.c
   * source/macro/macroa.c
   * source/vm/macro.c
      * fixed bug cousing that some memory was deallocated
      more then once

   * source/debug/debugger.prg
      * fixed support for .T./.F. in command window
      * fixed issues when the application was using
      SET EXACT ON
2004-04-08 15:05:24 +00:00
Ryszard Glab
3b7d43dcbc 2004-04-06 15:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
   * include/hbvm.h
   * source/vm/hvm.c
   * source/vm/macro.c
      * fixed bug introduced earlier by me in the macro compiler:
        PUBLIC &macro
        works correctly now
2004-04-06 13:24:11 +00:00
Luiz Rafael Culik
9a91e3ecfc Added linux makefiles 2004-04-03 04:41:50 +00:00
Luiz Rafael Culik
0f62fcf919 Added linux makefiles 2004-04-03 04:29:41 +00:00
Luiz Rafael Culik
423790ecba Added linux makefiles 2004-04-03 04:21:31 +00:00
Ryszard Glab
643d421f1a 2004-04-02 16:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/compiler/gencli.c
      * fixed warnings

   * source/rtl/cdpapi.c
      *fixed warnings (Can the author of the code check if
      I correctly parenthesized multiple || and && conditions?)

   * source/vm/classes.c
      *fixed warning in gcc (commented out unused
      static hb_clsScope function)

   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/fstemp.c
      * fixed hb_fsCreateTemp() to use 'mkstemp' on Unix
      * fixed sorting procedure to use hb_fsCreateTemp
      wrapper function

   * source/rtl/set.c
      *hb_set.HB_SET_DIRSEPARATOR defaults to '/' on Unix
2004-04-02 14:06:17 +00:00
Ryszard Glab
b79d50c582 2004-04-02 13:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * include/hbexprop.h
   * source/common/expropt1.c
   * source/compiler/expropta.c
   * source/macro/macro.y
   * source/macro/macroa.c
   * source/vm/macro.c
      * fixed to release memory in cases where invalid
      syntax was macro compiled

   * source/vm/itemapi.c
      * fixed to correctly check for infinity on Unix
      STR(LOG(-1)) no longer core dumps

   * source/rtl/filesys.c
   * source/rdd/hbdbsort.c
      * fixed to suppres warnings

   * source/pp/ppcore.c
   * utils/hbtest/rt_misc.prg
      * Clipper preproceses '**' into '^' - harbour too
2004-04-02 11:14:37 +00:00
Antonio Linares
531456f903 2004-03-02 12:17 UTC+0100 2004-04-02 10:06:21 +00:00
Antonio Linares
92c3a16b2a A Linux linking time warning removed 2004-04-02 10:04:20 +00:00
Ryszard Glab
1e22b1fe7a 2004-03-01 11:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexprb.c
   * include/hbmacro.ch
      * fixed support for strings as array of bytes
        (in macro compiler)
      * added a new #define HB_SM_ARRSTR as a flag
        for HB_SETMACRO() to disable/enable strings
        as array of bytes

   * source/vm/macro.c
      * added HB_SM_ARRSTR support
      * fixed TYPE() function to return correct value when an
        assigment to undeclared variable is checked (Clipper
        creates the memvar variable) - thanks to Phil Krylov

   * source/compiler/hbusage.c
      * fixed typo for -ks switch
2004-04-01 09:17:44 +00:00
Viktor Szakats
c96529a45c 2004-04-01 09:09 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/common/hbffind.c
     ! Fix for NT4

   * source/rdd/dbsort.prg
     * Fix by Mitja Podgornik
2004-04-01 07:02:06 +00:00
Viktor Szakats
3da6bbc443 2004-04-01 08:49 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* bin/bld.bat
     * Updated
2004-04-01 06:38:47 +00:00
Luis Krause
f06a99cb8f 2004-03-31 21:45 UTC-0800 Luis Krause Mantilla 2004-04-01 05:40:11 +00:00
Ryszard Glab
e3971c5905 2004-03-30 16:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
   * source/vm/macro.c
      * added HB_ITEM_PTR pError member to HB_MACRO structure
      * fixed bug in macro compiler - calls to static
        functions are not allowed in macro compiler

   * source/common/expropt1.c
   * source/common/hbffind.c
      *fixed minor warnings reported by Randy Portnoff

   * source/rtl/set.c
      *SET(_SET_DEBUG) defaults to FALSE (Clipper compatible)

   * source/rtl/idle.c
      *small optimization of hb_idleState()

   * source/compiler/harbour.y
      *the compiler generates line number for DO CASE
      (if debug info requested - to allow breakpoint)

   * source/debug/debugger.prg
      *the debugger shows the line number for modules where
      no source code is available
2004-03-30 14:13:52 +00:00
David G. Holm
83b41c99c0 See ChangeLog entry 2004-03-29 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-03-29 19:57:36 +00:00
Alexander S.Kresin
00bd3e43a9 2004-03-25 09:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-25 06:21:49 +00:00
Alexander S.Kresin
a1c34af07c 2004-03-24 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-24 19:01:06 +00:00
Luis Krause
1826983505 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla 2004-03-24 18:05:19 +00:00
Ryszard Glab
641d0c4c5a 2004-03-23 14:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/pp/ppcore.c
      * fixed parsing of nested #defines in command/translate
      for example:
      #define PRE_CHAR  'A'
      #define IDX_EXPR(x)  PRE_CHAR+x
      INDEX ON IDX_EXPR(myfield) TO myfile

   * source/pp/pptable.c
      * updated for fixes in ppcore.c (_DFSET define)
2004-03-23 13:31:11 +00:00
Luis Krause
665f353484 2004-03-21 21:48 UTC-0800 Luis Krause Mantilla 2004-03-22 05:46:22 +00:00
Przemyslaw Czerpak
e54c021564 2004-03-20 15:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/tests/bldtest/Makefile
  + harbour/tests/bldtest/bldtest.c
    + simple C program to check if Harbour can be compiled on
      used machine / system / C compiler
2004-03-20 13:55:19 +00:00
Ryszard Glab
4c9e7f21dd 2004-03-19 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* utils/hbmake/hbmake.prg
      *fixed #define datediff(<x>,<y>) into datediff(x,y)
      (Clipper compatibility)    (thanks to Jacek Kubica)
2004-03-20 10:30:02 +00:00
Ryszard Glab
5881f339eb 2004-03-19 08:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/debug/debugger.prg
      * fixed refreshing of watchpoints

   * source/pp/ppcore.c
      * fixed bug introduced with my previous commit
2004-03-20 07:09:09 +00:00
Ryszard Glab
8bcfb76b67 2004-03-18 12:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hberrors.h
   * source/pp/ppcore.c
      *fixed #define parsing of pseudofunctions in cases where
       passed argument has the same name as declared parameter
      *fixed #define parsing of pseudofunctions - the following
      syntax is not allowed:
      #define test(x,x) - duplicated parameters
      #define test(x,)  - missing parameter
      #define test(x    - missing parenthes

   * source/common/expropt1.c
      * fixed generation of pcode for &(macro)->() syntax

   * source/compiler/harbour.l
      * fixed GPF when string with unmatched terminator was used


   * include/hbexprop.h
   * source/compiler/harbour.y
      * removed direct access to internals of expression
      optimizer structure

   * source/debug/debugger.prg
      * fixed checking of path separator
2004-03-19 11:46:57 +00:00
Luis Krause
5c29418eeb 2004-03-17 8:14 UTC-0800 Luis Krause Mantilla 2004-03-17 16:06:23 +00:00
Luis Krause
7773491868 2004-03-11 16:01 UTC-0800 Luis Krause Mantilla 2004-03-11 23:54:39 +00:00
Alexander S.Kresin
80e5f2a1e8 2004-03-10 10:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-10 07:29:38 +00:00
Alexander S.Kresin
23220cd380 2004-03-09 22:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-09 19:25:23 +00:00
Luis Krause
09daca502d 2004-03-09 10:15 UTC-0800 Luis Krause Mantilla 2004-03-09 18:10:18 +00:00
Ryszard Glab
0fcf861638 2004-03-09 13:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
+ source/rtl/altd.prg
      +new file with ALTD() procedure code

   * hrbdll.bc
   * hrbdll.vc
   * makefile.bc
   * makefile.nt
   * makefile.vc
   * source/rtl/Makefile
      *added a reference to rtl/altd.prg

   * source/common/hbffind.c
      *fixed to compile correctly with HB_OS_UNIX

   * include/hbcomp.h
   * include/hbexpra.c
   * include/hbexprb.c
   * include/hbexprop.h
   * include/hbpcode.h
   * source/common/expropt1.c
   * source/compiler/expropta.c
   * source/compiler/exproptb.c
   * source/compiler/genc.c
   * source/compiler/harbour.c
   * source/compiler/harbour.y
   * source/compiler/hbfix.c
   * source/compiler/hbgenerr.c
   * source/compiler/hbpcode.c
   * source/macro/macro.y
   * source/macro/macroa.c
   * source/macro/macrob.c
   * source/vm/hvm.c
      +added missing support for @&macro and @M->memvar
      +added new pcode HB_MACROPUSHREF (all sources have to be
       recompiled)

   * source/debug/dbgtwin.prg
   * source/debug/debugger.prg
      *fixed procedures callstack when modules with/without debug info
      are linked together
      *fixed the debugger activation when ALTD() is used in
      a module with no debug info (the debugger shows up
      on the first line with debug info after the ALTD()
      is called)

   NOTICE:
      Some compilers may require that the debug library has to
      be specified as an object file in order to get the
      debugger linked in.
2004-03-09 13:51:50 +00:00
Alexander S.Kresin
35d723904d 2004-03-08 19:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-08 16:49:56 +00:00
Viktor Szakats
a03bd59f6e 2004-02-27 12:37 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/teditor.prg
     ! Fixed a Bound error in GetParagraph which came up when
       using <Del> in wrap mode, in the last line I guess.
       Note that this just fixed the bound error, not the possible
       real problem.
2004-02-27 11:33:34 +00:00
Viktor Szakats
1432141747 2004-02-21 8:14 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/common/hbffind.c
   * source/rtl/direct.c
     + Completely rearranged, so that the platform specific stuff
       is kept in one function. Redundant code removed.
     * Attrib filters needed to make DIRECTORY() CA-Cl*pper
       compatible have been moved to the low-level file-find
       functions.
     + Added label support for Win32.
     ! Fix for Win32. It has been made compatible with the
       C RTL _dos_findfirst pattern matching, which is what
       CA-Clipper is compatible with.
     * Adding space to the stringified attribute list on
       HB_FA_NORMAL removed, since it's not compatible, and it
       doesn't get executed anyway, since HB_FA_NORMAL == 0.
     * UNIX part formatted.
     ; All this means that file find API is fixed now and compatible
       with CA-Cl*pper on the lower level. Heavily tested under
       Win32, and probably easy to fix for any other platforms
       now in case of incompatibility. Changes has be merged from
       an older version of the file, so please double chk your
       changes/platforms.
     ; Note that other file-find API based functions will also
       automatically benefit from the above changes, like FILE()/
       hb_fsFile().
2004-02-21 07:18:28 +00:00