Commit Graph

865 Commits

Author SHA1 Message Date
Ryszard Glab
b8d0f3a098 2004-05-11 15:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* CVSROOT/avail
      * restored write access to the entire repository for
      all developers

   * doc/codestyl.txt
      * small corrections (use 3 spaces instead of Tab)

   * include/hbcomp.h
   * source/compiler/cmdcheck.c
   * source/compiler/harbour.c
   * source/compiler/hbusage.c
      + added posibility to specify the output PPO file with -p
      e.g.
      -pppo/myfile.ppo
      (thanks to Larry Sevilla)

   * source/rtl/tget.prg
      * fixed positioning of cursor when the first pressed key
      was a digit during editing of numeric value

   * source/compiler/hbfix.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/dates.c
   * source/rtl/filesys.c
   * source/rtl/inkey.c
   * source/rtl/isprint.c
   * source/rtl/math.c
   * source/rtl/philes.c
   * source/vm/classes.c
   * source/vm/hvm.c
      * removed '//' comments
2004-05-11 13:28:15 +00:00
Ryszard Glab
09c05aac87 2004-05-07 19:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
+ config/dos/owatcom.cf
      * added configuration file for OpenWatcom (renamed
      from watcom.cf)

   * config/dos/watcom.cf
      * restored previous version so it correctly compiles
      under WatcomC 10 - please use watcom.cf for WatcomC
      and owatcom.cf for OpenWatcom

   * makefile.bc
   * makefile.nt
   * makefile.vc
   * hrbdll.bc
   * source/codepage/Makefile
   + source/codepage/cdpsrwin.c
      + new file with Serbian codepage

   * CVSROOT/avail
      * removed reference to my local file

   * ERRATA
      * updated (removed reference to tmpname)

   * doc/codestyl.txt
      * updated with some coding guidelines adopted from PHP
      (please fell free to discuss them ;-)

   * doc/howtocvs.txt
      * added description for commit on Linux

   * include/hbapicdp.h
   * source/codepage/cdpesdos.c
      * restored previous versions

   * include/hbcomp.h
      * added <malloc.h> reference for WatcomC compiler

   * include/hbexprc.c
      * fixed warning reported by WatcomC

   * source/vm/itemapi.c
      * fixed infinite support for WatcomC

   * source/rtl/cdpapi.c
      * renamed global symbol s_cdpage into hb_cdp_page

   * source/rtl/gtcrs/kbdcrs.c
      * fixed reporting keystrokes with codes > 127
2004-05-07 17:32:59 +00:00
David G. Holm
fccc74ef54 See ChangeLog entry 2004-05-06 21:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2004-05-07 01:16:25 +00:00
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
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
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
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
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
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
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
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
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
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
Viktor Szakats
b274b820cf 2004-02-13 23:36 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/vm/hvm.c
     ! hb_vmPopAliasedVar() - Fixed to be case-insensitive.
     % hb_vmPushAliasedVar() - Case-insensitive handling speed up.
     * unsigned long -> ULONG

   * source/rtl/idle.c
   * include/hbapi.h
     + Made hb_releaseCPU() public.

   * source/rtl/filesys.c
   * include/hbapifs.h
     + Added return value to hb_fsSetDevMode(), this way it's
       fully compatible with the CA-Clipper _tdevraw() call.

   * source/rtl/philes53.c
     ! FSETDEVMOD() now returns a numeric instead of NIL. The
       returned value is always 0 now. Note added about this
       incompatibility with C53.

   * source/common/hbver.c
     ! Mistyped defines related to compatibilty fixed.

   * source/rtl/strcase.c
     ! Incorrect assigment warnings fixed.
2004-02-13 22:33:52 +00:00
Ryszard Glab
3e6e0c0bc1 2004-02-11 13:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
+ source/debug/dbgbrwsr.prg
      + The new file with TDbgBrowser class which inherits
      from TBrowse

   * hrbdll.bc
   * hrbdll.vc
   * makefile.bc
   * makefile.nt
   * makefile.vc
   * source/debug/Makefile
      + added the reference to dbgbrwsr.prg

   * source/debug/dbgmenu.prg
      + added "Run at Startup' option

   * source/debug/dbgtwin.prg
   * source/debug/debugger.prg
   * source/debug/tbrwtext.prg
      + added "Run at Startup' option - if it is enabled then
      the debugged application runs until ALTD() is called or
      Alt+D keys pressed (Clipper compatibility - the default
      option). If it is disabled the the debugger shows up at
      the first code line with the debug info.
        This setting is stored in the initialization file
      (init.cld) as 'Options NoRunAtStartup'.
      * fixed more display/refreshing issues
      * fixed quiting the debugger

   * source/rtl/alert.prg
      * fixed bug with messages longer then 60 bytes

   * source/vm/hvm.c
      * hb_vmDebugEndProc() is called before the eval stack
      is cleaned - this allows to handle INIT/EXIT procedures
      correctly
2004-02-11 12:43:59 +00:00
Luis Krause
e2d9db659b 2004-02-05 18:49 UTC-0800 Luis Krause Mantilla 2004-02-06 02:48:38 +00:00
Luis Krause
ce70518e20 2004-01-29 18:45 UTC-0800 Luis Krause Mantilla 2004-01-30 02:50:19 +00:00
Ryszard Glab
6196303b77 2004-01-27 16:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/compiler/harbour.c
      * the compiler generates module name inside
      '(_INITSTATICS)' function if -B option is used

   * source/vm/hvm.c
      * fixed hb_vmStaticName, hb_dbg_vmVarSGet,
      hb_dbg_varSSet to use the static variables frame

   * source/debug/dbgtmenu.prg
   * source/debug/dbgtmitm.prg
   * source/debug/debugger.prg
      * fixed parsing of <var>:<name> in watchpoint
      expressions
      * fixed monitoring of static variables - the
      debugger displays now static variables defined
      in the current debugged prg file
2004-01-27 15:13:48 +00:00
Ryszard Glab
152325f856 2004-01-26 11:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/compiler/harbour.c
      *fixed generation of codeblock's pcode with debugging info

   * source/debug/dbgmenu.prg
   * source/debug/dbgtmenu.prg
   * source/debug/dbgtmitm.prg
   * source/debug/dbgtwin.prg
   * source/debug/debugger.prg
   * source/debug/tbrwtext.prg
      *added Tracepoint support
      *added support for PPO files
      *added monitoring of local variables used in a codeblock
      *local variables are displayed correctly when the
      callstack window is browsed
      *other minor fixes

   * source/vm/debug.c
      *renamed '__vm*' functions to 'hb_dbg_*'
      *fixed support for local variables inside of codeblock

   * source/vm/hvm.c
      *added 'hb_dbg_ProcLevel' function which return the
      size of procedure stack calls (the debugger support)
2004-01-26 10:40:18 +00:00
Ryszard Glab
ea80696918 2004-01-22 18:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/debug/dbgmenu.prg
   * source/debug/dbgtwin.prg
   * source/debug/debugger.prg
      *added Watchpoints support

   * source/vm/debug.c
      *added item de-referencing to __vmVarLGet
2004-01-22 17:39:59 +00:00
Ryszard Glab
a4e9a6a942 2004-01-21 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/compiler/harbour.y
      *fixed generation of line number's pcode related to
      the debugger

   * source/debug/dbgmenu.prg
   * source/debug/debugger.prg
      *fixed TRACE command
      *added support for 'Codeblock trace' option
      * other minor fixes to make the debugger usable

   Additionally in my previous commit (2004-01-20 19:15)
   * source/vm/hvm.c
      *added call for hb_inkeyPoll to the main pcode execution
      loop to correctly support Alt-D, Alt-C and Ctrl-C
      requests (only if HB_GUI is not defined) - it is
      called every 256 opcodes
2004-01-21 14:28:10 +00:00
Ryszard Glab
144cbe8146 Changelog 2004-01-20 19:15 UTC+0100 Ryszard Glab 2004-01-20 18:07:16 +00:00
Ryszard Glab
61944caf12 2003-12-13 17:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/vm/codebloc.c
      * fixed initialization of detached variables
2003-12-13 16:01:13 +00:00
David G. Holm
6da61c5814 See ChangeLog entry 2003-12-10 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2003-12-10 22:30:56 +00:00
Lorenzo Fiorini
e1f9622905 2003-12-02 15:23 UTC+0100 Lorenzo Fiorini <lorenzo_fiorini@tin.it>
* source/vm/hvm.c
  * source/vm/mainwin.c
  * bin/bld.bat
  * config/dos/watcom.cf
  + config/w32/watcom.cf
    ! added support to OpenWatcom DOS/Win32 borrowed from xHarbour
2003-12-02 14:26:44 +00:00
Lorenzo Fiorini
e43a44c18e 2003-11-24 18:32 UTC+0100 Lorenzo Fiorini <lorenzo_fiorini@tin.it>
* source/compiler/gencobj.c
    ! fixed to allow = for the C compiler options
    ( suggested by Przemyslaw Czerpak )
    ! added support of OpenWatcom C
    ! cleaned the verbose option
  * source/rdd/dbfcdx/dbfcdx1.h
    ! changed to allow OpenWatcom C build
    ( suggested by Przemyslaw Czerpak )
  * source/vm/itemapi.c
    ! added support of OpenWatcom C
2003-11-24 18:02:18 +00:00
Ryszard Glab
1d13f77438 Changelog 2003-11-14 16:45 UTC+0100 Ryszard Glab 2003-11-14 15:37:16 +00:00
Ryszard Glab
381a05abc1 Changelog 2003-11-10 12:25 UTC+0100 Ryszard Glab 2003-11-10 11:28:19 +00:00
Ryszard Glab
4a97830f2b Changelog 2003-11-06 11:40 UTC+0100 Ryszard Glab 2003-11-06 10:42:58 +00:00
Alexander S.Kresin
2ab10243ff 2003-11-06 11:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-11-06 08:02:05 +00:00
Ryszard Glab
a31d12a9a0 Changelog 2003-10-29 20:15 UTC+0100 Ryszard Glab 2003-10-29 19:38:11 +00:00
Ryszard Glab
1aad158eb0 Changelog 2003-10-23 11:00 UTC+0100 Ryszard Glab 2003-10-23 09:26:09 +00:00
Luis Krause
a8e297ad3f *** empty log message *** 2003-10-21 17:29:00 +00:00
Alexander S.Kresin
df1367fdf0 2003-10-08 14:24 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-10-08 10:22:10 +00:00
Przemyslaw Czerpak
e325d5c09a 2003-09-10 21:37 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com>
* harbour/harbour.spec
    + new spec file. It creates four binary RPMs with shared and
      static libs core harbour compiler and tools and with Ron's PP
      which allow to run xBase files as scripts on *nix platform
      and new tool hbcmp, hbcc, hblnk, hbmk.
      For details see README.RPM
      Please remember that PP has poor GPL license. It is noticed in RPM
      headers.

  + harbour/hbgtmk.sh
    + simple script which connect to SourceForge CVS takes sources and
      build RPMs from them.

  + harbour/make_rpm.sh
    + script for checking dependences and making RPMs

  + harbour/make_tgz.sh
    + script for making binary package for this Linux distro which don't
      support RPM

  + harbour/bin/hb-mkslib.sh
    + script for building shared libs from static ones and/or object files

  + harbour/bin/pack_src.sh
    + script for packing harbour sources

  * harbour/Makefile
  * harbour/source/compiler/harbour.c
  * harbour/source/common/hbver.c
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/fm.c
  * harbour/source/vm/hvm.c
    * changes for some new futures in hb{cmp,lnk,mk} tools

  * harbour/contrib/libct/datetime.prg
    - redundant STOD removed (this function is part of RTL)

  * harbour/contrib/dot/pp.prg
  * harbour/contrib/dot/pp.txt
  * harbour/contrib/dot/pp_harb.ch
  * harbour/contrib/dot/rp_dot.ch
  * harbour/contrib/dot/rp_run.ch
    * upadting for runing xBase files as scripts.

All this changes (except Ron's PP) are my work borrowed from xHarbour.
2003-09-10 19:40:57 +00:00
Antonio Carlos Pantaglione
6eaba406be * source/vm/arrayshb.c
! More clipper compatible on ADel().
2003-09-10 12:43:13 +00:00
Antonio Linares
2604438487 Fix implemented fix for -0.0 2003-08-29 05:03:16 +00:00
Antonio Carlos Pantaglione
bb3ff45008 Some news and fixes. 2003-07-18 00:23:06 +00:00
Antonio Linares
2ec2ecb358 HB_SETCLSHANDLE() implemented 2003-07-14 12:38:00 +00:00
Antonio Linares
d5fc38bf77 Fixed arrays comparison 2003-05-21 18:34:40 +00:00
Antonio Linares
4b1a611c17 default path support for __MVSave() and __MVRestore()
implemented by Alexander Prostoserdov
2003-05-21 17:49:40 +00:00
Alexander S.Kresin
cf2440c957 2003-05-06 10:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-05-06 06:40:36 +00:00
David G. Holm
533f06f4f9 See ChangeLog entry 2003-04-24 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2003-04-24 18:38:25 +00:00
David G. Holm
965c477854 See ChangeLog entry 2003-04-16 19:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2003-04-16 23:17:32 +00:00
Antonio Linares
4cc513140e hb_clsIsParent() made public 2003-03-27 22:39:11 +00:00