Commit Graph

1926 Commits

Author SHA1 Message Date
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
Luis Krause
1826983505 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla 2004-03-24 18:05:19 +00:00
Luis Krause
665f353484 2004-03-21 21:48 UTC-0800 Luis Krause Mantilla 2004-03-22 05:46:22 +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
Viktor Szakats
0fb3715ffa 2004-02-21 07:39 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/memoread.c
     * Previous change reverted. hb_retc( NULL ) was intentional
       and is an optimized version of hb_retc( "" ). Both will return
       an empty string.
     % hb_fsClose() calls reduced.

   * src/rtl/tbcolumn.prg
   * src/rtl/tbrowse.prg
     ! :SetColumn() retval made compatible.
     ! :ColWidth() retval made compatible.
     % Using array functions to speed up a few things.
     % Got rid of the predefined 4096 long array in every
       columns plus the browse object.
     ; More and more incompatibilities are popping up, some
       of them quite strange, and only coming up in a large
       app's sophisticated browse stressing environment.
       - Removing rightmost column while active will do RTE,
       - If headsep is initialized after the columns and cargo,
         browse will sometimes behave strangely (headsep value
         disappears??)
       - Moving columns off the visible area will screw up
         internals.
       - Modifying columns is slow because of the unconditional
         :configure() calls.
2004-02-21 06:38:03 +00:00
Luis Krause
17a63cd226 2004-02-20 8:55 UTC-0800 Luis Krause Mantilla 2004-02-20 16:56:17 +00:00
Viktor Szakats
9d455bc0cf 2004-02-16 15:52 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/set.c
     ! Fixed an incompatibility in Set(_SET_EXIT) which caused
       ReadExit() to set the SET value even if called without
       a parameter. Similar incompatibility can exist with other
       sets, but I didn't chk them.
       Now ReadExit() works as expected.

   * src/rtl/tbrowse.prg
     ! Typo.
2004-02-16 14:48:24 +00:00
Viktor Szakats
2679336181 2004-02-16 10:52 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/tbrowse.prg
     + :ColorRect() partial support added. The missing part is
       that in C52 :ColorRect() will update the screen probably
       using some internal buffers for the data, because
       the skipblock for example is not evaluated.

   * src/rtl/filesys.c
     * Some cleanup, optim, comments, added static.
2004-02-16 09:56:22 +00:00
Viktor Szakats
54cd7ccb93 2004-02-15 16:35 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/tbrowse.prg
     ! Fixed to not display headsep/footsep when there's no
       header/footer.
     ! Fixed to display headsep/footsep with the width of
       colsep.

   * makefile.bc
     ! Added DEBUG_LIB for Harbour exes to make them compile
       in debug mode.

   * souce/rtl/gtapi.c
     ! hb_gtSetColorStr() previous change reverted. The mistake
       was on my side most probably.
2004-02-15 15:33:34 +00:00
Viktor Szakats
d26b1bc75c 2004-02-15 05:25 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! :Moved() fixed to always DeHilite() (independently from
       the autolite value). This is in sync with C52 docs
       (see autolite .ng), and testing has shown it to be
       compatible. Only :stabilize should be affected by the
       autolite setting.
     + TODO: added about missing ColorRect functionality.
2004-02-15 04:24:09 +00:00
Viktor Szakats
9efbde5b70 2004-02-15 05:12 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! Fixed color handling to take into account ::defcolor
       of TBColumn. Now TBrowse coloring is C52 compatible.
       For speed wierd cases are not handled like if the value
       of ::defcolor is improper.

   * source/rtl/tgetlist.prg
   * source/rtl/ttopbar.prg
   * source/rtl/tbrowse.prg
     ! DevPos() -> SetPos() (TBrowse() had plenty of them)
     ! Few missing color params added to DispOut*()
2004-02-15 04:10:04 +00:00
Viktor Szakats
bb1effbe18 2004-02-15 04:20 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tget.prg
     ! :display() fixed to always evaluate the get block before
       displaying like in C52.

   * include/hbapifs.h
     + HB_FFIND structure extended for future changes.
2004-02-15 03:16:47 +00:00
Viktor Szakats
f0aadd45ab 2004-02-14 19:14 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! SetColumnWidth() fixed for multi-line headers.
2004-02-14 18:12:55 +00:00
Viktor Szakats
eb08c726c0 2004-02-14 05:33 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* include/hbapigt.h
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
     + Following low-level GT API functions added (for completeness):
       hb_gt_GetCharAttr( SHORT uiRow, SHORT uiCol, BYTE * pbyChar, BYTE * pbyAttr );
       "static hb_gt_xGetXY()" functionality copied where available.
     * Parameter of previously added functions changed from USHORT to SHORT
       (to support moving windows out of screen)
     + "static hb_gt_xPutch()" code copied to hb_gt_PutCharAttr() where available.
     ! Added bounds checking to GTWIN new functions.
2004-02-14 04:29:48 +00:00
Viktor Szakats
1e6e598d7f 2004-02-14 04:28 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* include/hbapigt.h
   * source/rtl/gt_tpl/gt_tpl.c
     + Following low-level GT API functions added to support
       3rd party GT high-level layers/replacements and 3rd
       party screen handling libraries:
       hb_gt_PutCharAttr( USHORT uiRow, USHORT uiCol, BYTE byChar, BYTE byAttr );
       hb_gt_PutChar( USHORT uiRow, USHORT uiCol, BYTE byChar );
       hb_gt_PutAttr( USHORT uiRow, USHORT uiCol, BYTE byAttr );
       hb_gt_GetChar( USHORT uiRow, USHORT uiCol, BYTE * pbyChar );
       hb_gt_GetAttr( USHORT uiRow, USHORT uiCol, BYTE * pbyAttr );

   * source/rtl/gtwin/gtwin.c
     * Above functions completed for the Win Terminal driver.

   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
     * Skeletons added for the above new functions.
2004-02-14 03:27:36 +00:00
Viktor Szakats
8711d6caf8 2004-02-14 03:00 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* makefile.bc
     ! Fixed compilation of dbgbrwsr

   * source/pp/ppcore.c
   * source/rtl/round.c
   * source/rdd/dbfcdx/dbfcdx1.c
     ! Fixed errors when compiled with HB_TRACE

   * source/common/hbffind.c
     * Formatting.
2004-02-14 01:59:19 +00:00
Viktor Szakats
a46df98dd8 2004-02-13 23:57 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
+ source/codepage/cdphu852.c
   + source/codepage/cdphuwin.c
   * source/codepage/Makefile
   * makefile.bc
   * makefile.nt
   * makefile.vc
     + Added Hungarian 852 and Windows sorting codepages.

   * source/rtl/errorapi.c
   + source/rtl/errorint.c
   * source/rtl/Makefile
   * makefile.bc
   * makefile.nt
   * makefile.vc
     + hb_errInternal() put in a separate source file, to ease
       replacing/override it in link-time, this may be useful
       for GUI apps, logging or something like this.
2004-02-13 22:54:04 +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
Viktor Szakats
1722254d81 2004-02-13 21:56 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* souce/rtl/gtapi.c
     ! hb_gtSetColorStr() removed one suspicious assigment which
       showed incompatible with CA-Cl*pper, whete CLR_UNSELECTED
       was made equal to CLR_ENHANCED if missing from the color string.
     * Using CLR_ constants instead of literals.

   * source/rtl/tget.prg
     ! :ColorSpec() method unselected color defaulting fixed.

   * source/compiler/hbusage.c
     * Bumped year to 2004.
2004-02-13 21:25:43 +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
Ryszard Glab
e506f7a129 2004-01-30 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rtl/teditor.prg
      * the current line is still visible after the window resizing

   * source/debug/debugger.prg
      * fixed refreshing of variables' monitor window
      * fixed some save/restore screen issues
2004-01-30 09:50:00 +00:00
Luis Krause
41de14b021 2004-01-26 8:30 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> 2004-01-26 16:39:39 +00:00
Ryszard Glab
144cbe8146 Changelog 2004-01-20 19:15 UTC+0100 Ryszard Glab 2004-01-20 18:07:16 +00:00
David G. Holm
6fb0107c2f See ChangeLog entry 2004-01-08 16:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-01-08 21:43:31 +00:00
David G. Holm
59866bea09 2004-01-08 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com>CVS: ---------------------------------------------------------------------- 2004-01-08 21:20:30 +00:00
Luis Krause
a559ba7ceb Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> 2003-12-26 03:42:19 +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
Ryszard Glab
af7b36d194 Changelog 2003-12-05 16:05 UTC+0100 Ryszard Glab 2003-12-05 14:59:14 +00:00
Luis Krause
4df34da7a8 Changelog 2003-10-22 13:26 UTC-0800 Luis Krause Mantilla 2003-11-06 21:35:34 +00:00
Alexander S.Kresin
e2353dac99 2003-11-05 22:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-11-05 20:03:39 +00:00
Tomaz Zupan
b680163240 2003-10-30 10:45 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> 2003-10-30 09:48:53 +00:00
Ryszard Glab
a31d12a9a0 Changelog 2003-10-29 20:15 UTC+0100 Ryszard Glab 2003-10-29 19:38:11 +00:00
Alexander S.Kresin
fb54d97e28 2003-10-23 10:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-10-23 06:29:27 +00:00
Antonio Linares
aab4c3fa29 hb_numRound() completely redesigned 2003-10-16 11:16:15 +00:00
Antonio Linares
eb77701f28 changes on round() function 2003-10-10 07:58:42 +00:00
Alexander S.Kresin
9b92918193 2003-09-29 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-09-29 18:07:46 +00:00
Alexander S.Kresin
17c1e7f357 2003-09-29 15:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2003-09-29 11:21:17 +00:00
Luis Krause
a360e087d0 *** empty log message *** 2003-09-17 18:02:49 +00:00
David G. Holm
f3a2f8216d See ChangeLog entry 2003-09-10 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2003-09-10 19:24:03 +00:00
Tomaz Zupan
391030f061 2003-09-07 13:58 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> 2003-09-07 11:51:59 +00:00
Antonio Linares
6775660e04 sync with xharbour 2003-08-22 10:27:14 +00:00
Antonio Linares
b5c689a872 module borrowed from xharbour (required for ttopbar.prg changes) 2003-08-22 10:20:24 +00:00
Antonio Linares
d03dd11f0f added modules mssgline.prg and color53.prg 2003-08-22 10:15:05 +00:00
Antonio Linares
9b043f26de some required formating 2003-08-22 09:25:37 +00:00
Antonio Linares
e85aeecdc0 MenuModal() implementation - file borrowed from xHarbour, which borrowed used Class TopBarMenu from Harbour 2003-08-21 11:35:41 +00:00
Antonio Linares
c6192cf2c6 K_ESC and CTRL-W Clipper compatible management 2003-08-21 10:39:10 +00:00