Commit Graph

  • 596c42212c 2008-10-20 00:25 UTC+0200 Francesco Saverio Giudice (info fsgiudice com) * contrib/hbdbgfx * contrib/hbdbgfx/dbgfxc.c * contrib/hbdbgfx/dbgfxc.prg * contrib/hbdbgfx/hbdbgfx.h * updated copyright year minor corrections Francesco Saverio Giudice 2008-10-19 22:26:35 +00:00
  • 9f77350dcc 2008-10-20 00:15 UTC+0200 Francesco Saverio Giudice (info fsgiudice com) + contrib/hbdbgfx + contrib/hbdbgfx/dbgfxc.c + contrib/hbdbgfx/dbgfxc.prg + contrib/hbdbgfx/hbdbgfx.h + contrib/hbdbgfx/sprintf.prg + hbdbgfx lib add some functions usefull for debugging purpose: hb_ToOutDebug( cMsg, p1, p2, ... ) that outputs to OutDebug from Microsoft debugview HB_ToLogFile( cLogFile, cMsg, p1, p2, ... ) that outputs to a file where cMsg is formatted like printf() example: hb_ToOutDebug( "fields: name = %s, address = %s", field->name, field->address ) and some utility functions: HB_ToOutDebugOnOff( lOnOff ) HB_LogFileOnOff( lOnOff ) HB_EmptyLogFileOnOff( lOnOff ) Above functions are available either at prg than at C level. Actually it is only for window platform. Francesco Saverio Giudice 2008-10-19 22:16:39 +00:00
  • a349e146c1 2008-10-19 23:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak * Fine tuning latest setting changes. I've rather removed -gc3 as contrib default switch. For those contribs where speed is critical, this switch should be turned on on a per contrib basis. Viktor Szakats 2008-10-19 21:16:38 +00:00
  • 10ddbcf1f4 2008-10-19 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/filebuf.c * source/rtl/filesys.c ! Fixed -W4 warnings. Viktor Szakats 2008-10-19 07:35:06 +00:00
  • 8a905fadd5 2008-10-19 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * common.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Made -gc3 switch the default. This will result in noticeably faster .prg code execution at the cost of a slightly bigger executable. Speaking of the core, this can result at maximum 250K of extra executable size increase, if the final executable uses _all_ core .prg functions. Usually though it's much lower than that, especially for GUI programs, since the majority of core .prg code deals with CUI elements, like TBrowse(), TGet(), 5.3 compatible CUI controls, .frm and .lbl support, MemoEdit(). Viktor Szakats 2008-10-19 07:21:55 +00:00
  • a2385b1c55 2008-10-19 09:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * include/assert.ch * common.mak * source/rtl/Makefile - source/rtl/strtrim.c + source/rtl/hbntos.c * contrib/xhb/hbcompat.ch * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * source/rtl/errorsys.prg * source/rtl/valtoexp.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/browse.prg * source/rtl/alert.prg * source/rtl/tclass.prg * source/rtl/tsymbol.prg * source/rtl/tscalar.prg * source/rtl/tpersist.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg * Renamed hb_N2S() to hb_NToS() which feels more natural in Clipper. Viktor Szakats 2008-10-19 07:02:22 +00:00
  • e6b20f05a4 2008-10-19 00:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/assert.ch * contrib/xhb/hbcompat.ch * source/debug/tbrwtext.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbgwa.prg * source/debug/dbgtarr.prg * source/rtl/errorsys.prg * source/rtl/valtoexp.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/browse.prg * source/rtl/alert.prg * source/rtl/tscalar.prg * source/rtl/tpersist.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg % Using hb_N2S() instead of LTrim( Str() ) expressions. ; NOTE: contribs and hbdoc not touched yet. Viktor Szakats 2008-10-18 22:23:45 +00:00
  • 2ab83da8a1 2008-10-19 00:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/strtrim.c + Added function HB_N2S( <number> ) -> <string>. This is equivalent to LTrim( Str( <number> ) ), just faster. Viktor Szakats 2008-10-18 22:07:57 +00:00
  • f795ac92c9 typo Viktor Szakats 2008-10-18 20:24:32 +00:00
  • 6f3c5a0dab 2008-10-18 22:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/utils/bld_b32.bat * contrib/hbmysql/utils/bld_vc.bat * One final missing bld.bat -> hbmk.bat changed done. Viktor Szakats 2008-10-18 20:23:06 +00:00
  • 425e4f1ad8 fix to fix Viktor Szakats 2008-10-18 20:19:16 +00:00
  • 61bdd1cc16 fix to prev Viktor Szakats 2008-10-18 20:13:48 +00:00
  • fec60ddb22 2008-10-18 22:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/hbcrypt.c ! Fixed lower level crypt functions to not do zero division on zero length key input. Viktor Szakats 2008-10-18 20:03:36 +00:00
  • c3f2ef56f9 2008-10-18 21:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/common/hbgete.c ! Fixed recent warning on Win32 platforms. Viktor Szakats 2008-10-18 19:18:17 +00:00
  • a0bf4555ef 2008-10-18 16:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - bin/bld.bat + bin/hbmk.bat - bin/bld_os2.cmd + bin/hbmk_os2.cmd - bin/bld_b32.bat + bin/hbmk_b32.bat - bin/bld_vc.bat + bin/hbmk_vc.bat * tests/bld_b32.bat * tests/bld_vc.bat * contrib/hbmysql/tests/bld_b32.bat * contrib/hbmysql/tests/bld_vc.bat * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/xhb/tests/bld_b32.bat * contrib/xhb/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat * contrib/hbodbc/tests/bld_vc.bat * contrib/hbtpathy/tests/bld_b32.bat * contrib/hbtpathy/tests/bld_vc.bat * contrib/hbmzip/tests/bld_b32.bat * contrib/hbmzip/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbole/tests/bld_vc.bat * contrib/hbsqlit3/tests/bld_b32.bat * contrib/hbsqlit3/tests/bld_vc.bat * contrib/hbapollo/tests/bld_b32.bat * contrib/hbapollo/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/bld_vc.bat * contrib/hbziparc/tests/bld_b32.bat * contrib/hbziparc/tests/bld_vc.bat * contrib/hbnf/tests/bld_b32.bat * contrib/hbnf/tests/bld_vc.bat * contrib/hbcurl/tests/bld_b32.bat * contrib/hbcurl/tests/bld_vc.bat * contrib/hbhpdf/tests/bld_b32.bat * contrib/hbhpdf/tests/bld_vc.bat * contrib/rddado/tests/bld_b32.bat * contrib/rddado/tests/bld_vc.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/gtwvg/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat * contrib/hbclipsm/tests/bld_b32.bat * contrib/hbclipsm/tests/bld_vc.bat * contrib/rddads/tests/bld_b32.bat * contrib/rddads/tests/bld_vc.bat * contrib/hbfimage/tests/bld_b32.bat * contrib/hbfimage/tests/bld_vc.bat * contrib/hbgd/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbmisc/tests/bld_b32.bat * contrib/hbmisc/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/tests/bld_vc.bat * contrib/hbtip/tests/bld_vc.bat * contrib/hbtip/tests/bld_b32.bat * contrib/hbwin/tests/bld_b32.bat * contrib/hbwin/tests/bld_vc.bat * contrib/hbvpdf/tests/bld_b32.bat * contrib/hbvpdf/tests/bld_vc.bat * contrib/hbwhat/tests/bld_b32.bat * contrib/hbwhat/tests/bld_vc.bat * contrib/examples/hbsqlit2/tests/bld_b32.bat * contrib/examples/hbsqlit2/tests/bld_vc.bat * Renamed bin\bld*.* files to bin\hbmk*.*. This dir may be put in the path in user environments, so it's necessary to put the name into the Harbour namespace. The new name is also the one supported on *nix/bash platforms, albeit with slightly different usage. INCOMPATIBLE. Please update your environment. To achieve compatbility with older Harbour versions and xhb, you can locally add a bld.bat file with the content: '@call hbmk.bat %1 %2 %3 %4 %5 %6 %7 %8 %9' Viktor Szakats 2008-10-18 14:23:58 +00:00
  • 25fe51e9e5 2008-10-18 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c * modified hb_getenv_buffer() to return logical value indicating that environment variable exists even if no buffer is passed Przemyslaw Czerpak 2008-10-18 09:39:42 +00:00
  • 967c149c42 2008-10-18 10:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * common.mak * make_b32.mak * make_vc.mak * make_gcc.mak % Harbour command line configuration moved to common.mak. Viktor Szakats 2008-10-18 08:58:34 +00:00
  • ee26c1b8d6 2008-10-18 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbapi.h * source/common/hbgete.c + Added hb_getenv_buffer(). Similar to hb_getenv() but this one needs a buffer+size to be passed, so no memory allocation is done by the function. It also return a BOOL to signal success. It doesn't signal if passed buffer was too small to store the value. Viktor Szakats 2008-10-18 08:28:50 +00:00
  • 21811155d6 2008-10-18 08:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/debugger.prg ! fixed mono color setting * minor formatting Przemyslaw Czerpak 2008-10-18 06:36:46 +00:00
  • 3605f5ffca minor formatting Viktor Szakats 2008-10-17 16:38:23 +00:00
  • 6b060e2895 2008-10-17 18:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/dbgtwin.prg * source/debug/dbgbrwsr.prg * source/debug/tbrwtext.prg * source/debug/debugger.prg ! Fixed to not crash after switching to mono display. DISCLAIMER: This is a quick patch (but even this took hours) and it absolutely can be wrong, incomplete in any ways. I'm not using or knowing debugger code, pls patch it further on. NOTE: Color refresh after switching mono/color mode is still wrong and I've given up after trying for a few hours. * Minor formatting. Viktor Szakats 2008-10-17 16:23:12 +00:00
  • edd1019b40 2008-10-17 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/console.c ! added missing #include "hbapierr.h" Przemyslaw Czerpak 2008-10-17 14:35:33 +00:00
  • 9d3a557435 2008-10-17 15:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbpp.c * workaround for warning in some GCC versions which can lost user casting during function autoinline optimization. Przemyslaw Czerpak 2008-10-17 13:56:09 +00:00
  • 2502e5b0bf 2008-10-17 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * changed __dbgInput() to return logical value and set edit value in variable passed by reference Przemyslaw Czerpak 2008-10-17 10:41:48 +00:00
  • 5d9cdfab9c 2008-10-17 10:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/dbgtobj.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * Changed rest of GETs to __dbgInput() Viktor Szakats 2008-10-17 08:17:58 +00:00
  • 7d0e105059 2008-10-17 03:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtwin.prg * use hb_scroll() instead of scroll() Przemyslaw Czerpak 2008-10-17 01:13:38 +00:00
  • d16d2b1e34 2008-10-17 00:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/debug/Makefile + harbour/source/debug/dbgtinp.prg + added HbDbInput class for simple user input (GET) Przemyslaw Czerpak 2008-10-16 22:08:10 +00:00
  • 126b02960f 2008-10-16 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * common.mak * make_b32.bat * make_b32.mak * make_vc.bat * make_vc.mak * make_gcc.mak * HB_BUILD_VERBOSE=yes is now the default. If someone is wanting to build Harbour from source and is bothered by the compiler command-lines being shown, these can be turned off with HB_BUILD_VERBOSE=no. These lines are IMO very important to see, which options were exactly used when Harbour was built, I personally archive these logs along with the builds. Viktor Szakats 2008-10-16 12:34:30 +00:00
  • 0817945bc4 2008-10-16 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_gcc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak * Changed -b switch to -l-. -b debug mode causes more problems than good for Harbour core/contrib. Viktor Szakats 2008-10-16 12:24:03 +00:00
  • 296b308154 2008-10-16 13:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_gcc.mak + Readded -b when HB_BUILD_STATIC=yes. Now it should work. Viktor Szakats 2008-10-16 11:22:07 +00:00
  • 7c8bc37bdd 2008-10-16 13:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg + added __dbgAChoice() - simple AChoice() replacement which uses internally HBDbBrowser() class * replaced AChoice() with __dbgAChoice() * replaced @ ... SAY ... by hb_dispOutAt() Przemyslaw Czerpak 2008-10-16 11:08:37 +00:00
  • 31dbf52795 minor formatting to prev Viktor Szakats 2008-10-16 06:46:55 +00:00
  • 992016b359 2008-10-16 08:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/common.ch * contrib/hbziparc/hbziparc.prg * source/rtl/tclass.prg * source/rtl/hbini.prg * Minor formatting. (hb_Is*() -> hb_is*()) Viktor Szakats 2008-10-16 06:44:26 +00:00
  • d04381ed75 2008-10-16 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat/wincore.prg ! One STATIC made THREAD STATIC. ! STATIC vars renamed to s_*. Viktor Szakats 2008-10-16 06:11:39 +00:00
  • f9616d47a4 2008-10-16 07:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tpersist.prg * contrib/hbgd/gd.prg * contrib/hbgd/tests/tostring.prg * MemoWrit() -> hb_MemoWrit() Viktor Szakats 2008-10-16 05:53:06 +00:00
  • 34de935979 2008-10-16 07:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/achoice.prg % Minor optimization. Viktor Szakats 2008-10-16 05:40:51 +00:00
  • 97500be08b 2008-10-16 04:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * use hb_dispOutAt()/hb_dispBox() instead of DispOutAt()/DispBox() ! fixed using ADel()/AIns() with xHarbour extended parameters ! fixed RT debugger errors caused by missing ::nTabWidth and ::colorSpec in HBBrwText class ! fixed processing source code with TABs (chr(9)) ; TOFIX: "Mono Display" causes RT error due to missing color index range checking. It also does not change all colors immediately ; TOFIX: getdbginput(): writing out of window area, scrolling internal buffer, cursor navigation, interrupting by ESC Przemyslaw Czerpak 2008-10-16 02:24:29 +00:00
  • 45c437c917 2008-10-16 00:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * use #define HB_CLS_NOTOBJECT to disable inheritance from HBObject in internal debugger classes. Here is complete list of other .prg functions still used by hbdebug library: GET, __GETLISTACTIVE, __GETLISTSETACTIVE, HBGETLIST, ACHOICE, HB_CSTR, HBCLASS Przemyslaw Czerpak 2008-10-15 22:42:54 +00:00
  • b8bfdd4d75 2008-10-15 21:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! refresh rows after active line changing for proper color updating Przemyslaw Czerpak 2008-10-15 19:33:56 +00:00
  • bc1ec5f01a 2008-10-15 20:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! fixed vertical navigation to be compatible with old debugger and Clipper ! fixed horizontal scrolling to the size of maximal line not to the size of current line % use single call to hb_aTokens() to convert source code into array Przemyslaw Czerpak 2008-10-15 18:03:34 +00:00
  • 7b5f7784fb 2008-10-15 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg ! added missing #include "common.ch" ! added missing colorBlock variable in HBDBColumn class % replaced .prg wrappers for type checking with native harbour class type validation Przemyslaw Czerpak 2008-10-15 17:08:21 +00:00
  • a11e7bdfa2 2008-10-15 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/tbrwtext.prg * Replaced with new implementation from Lorenzo Fiorini. Sent to the list on 2008.07.26. ; NOTE: Some issue were reported with this, but it's again a step into the right direction, please try to update this code to better resemble to Clipper and to fix possible error. Thanks. ; Remaining RTL .prg dependencies: - ACHOICE() (just one call) Viktor Szakats 2008-10-15 16:29:47 +00:00
  • 57e094986e 2008-10-15 17:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgwa.prg * source/debug/dbgtwin.prg * source/debug/dbgtmenu.prg + Added minimal Alert() clone, named ___dbgAlert(). + Replaced Alert() with __dbgAlert() calls. + Added minimal TBColumn() implementation, named HBDbColumn(). + Replaced TBColumnNew() with HBDbColumnNew() calls. + Enabled HB_NO_READDBG for all sources. This isn't perfect, just a step into the right direction. ; Please test above modifications. ; Remaining RTL .prg dependencies: - HBEDITOR() - ACHOICE() Viktor Szakats 2008-10-15 15:55:11 +00:00
  • 3ed8136c80 2008-10-15 17:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/debug/dbgentry.c * harbour/source/debug/debugger.prg * moved debugRequest flag and debugger internal structure pointer to HVM stack * allocate debugger internal structure dynamically in thread thread local area when PCODE with debug information is executed * changed STATIC s_oDebugger to THREAD STATIC * send HB_DBG_VMQUIT after each thread termination when debugger is activated Now debugger can be used in MT programs and each thread can be debugged separately (each has its own debuger). Please only remember that thread sharing console window can overwrite other threads debugger screen. There is also one limitation which I'll try to remove later: only main thread debugger keeps information about file wide STATIC names and line numbers with possible break point places. This data should be shared between debuggers. Przemyslaw Czerpak 2008-10-15 15:51:02 +00:00
  • 11fe9fff36 2008-10-15 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/estack.c * disabled all debugger related bindings and variables when HB_NO_DEBUG macro is set % moved s_fDebuging to HVM function stack frame to eliminate saving/restoring this variable in each function/message call Note: if you think it's good to block linking .prg code compiled with -b (debugger support) with HVM compiled with HB_NO_DEBUG then it's enough to disable whole hb_dbg_SetEntry() function in hvm.c when HB_NO_DEBUG macro is set. Przemyslaw Czerpak 2008-10-15 11:32:43 +00:00
  • f9eb741d28 2008-10-15 10:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * doc/dirstruc.txt * Updated. Viktor Szakats 2008-10-15 08:16:27 +00:00
  • d54f03c81e 2008-10-15 10:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_gcc.mak * Removed disabling -b for non-debug builds. ; We aim to remove RTL .prg dependencies from hbdebug.lib, either by local implementation, .c rewrite, or force disabling debug mode in more core files. Until this happens, one will have to be careful with using -b switch to compile Harbour. These are the core .prg modules currently used by hbdebug.lib: - HBGETLIST(), GET(), __GET(), __GETLISTACTIVE(), __GETLISTSETACTIVE(), READINSERT(), READMODAL() - HBCLASS() - HBOBJECT() - HBEDITOR() - TBCOLUMNNEW() - ACHOICE() - ALERT() Viktor Szakats 2008-10-15 08:13:42 +00:00
  • 9bb2620762 2008-10-15 02:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/langapi.c * utils/hbtest/rt_class.prg * Cleanup to previous modif. Viktor Szakats 2008-10-15 00:34:00 +00:00
  • 5c252e761e 2008-10-15 01:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg - Removed '#pragma DEBUGINFO=OFF'. See solution below. Viktor Szakats 2008-10-14 23:59:06 +00:00
  • 2c241eb512 2008-10-15 01:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - lib/b32 - lib/vc - bin/b32 - bin/vc - obj/b32 - obj/vc - Removed dirs from SVN. They are automatically created by the build scripts. Viktor Szakats 2008-10-14 23:42:47 +00:00
  • caadc6fa2e 2008-10-15 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! clear HVM stack return value before use in initialization code Przemyslaw Czerpak 2008-10-14 23:39:35 +00:00
  • cbde426c34 2008-10-15 01:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg + Added '#pragma DEBUGINFO=OFF' to debugger sources. Otherwise compiling full Harbour with -b was causing an infinite loop. (this is now the default when building with 'HB_BUILD_DEBUG=yes'. Viktor Szakats 2008-10-14 23:20:31 +00:00
  • b0a88e24ff 2008-10-15 00:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c - removed to unused functions Przemyslaw Czerpak 2008-10-14 22:32:03 +00:00
  • fe54bdf114 2008-10-14 20:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/dbedit.prg * source/rtl/tgetint.prg * source/rtl/tlabel.prg * source/rtl/treport.prg * Changed '&( "{||" + c + "}" )' expressions to hb_macroBlock() calls. To me these places seemed safe to change, but please verify me. Viktor Szakats 2008-10-14 18:37:28 +00:00
  • c9dc573359 2008-10-14 19:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch + Added hb_macroBlock() Viktor Szakats 2008-10-14 17:26:24 +00:00
  • d8af011440 2008-10-14 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/macro.c * added missing const attribute to hb_macroCompile() parameter + added new .prg function: hb_macroBlock( <cExpr> ) -> <bCode> which converts macro expression to codeblock. New codeblocks do not inherit hb_macroBlock() caller scope/attributes. Przemyslaw Czerpak 2008-10-14 09:51:37 +00:00
  • 40f6d73c31 2008-10-14 08:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/examples/dbu/bld_vc.bat ! Removed -TP C option. Viktor Szakats 2008-10-14 06:46:32 +00:00
  • 15b31b81ae 2008-10-14 00:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynlibhb.c ! fixed HB_LIBFREE() return value - thanks to Enrico Przemyslaw Czerpak 2008-10-13 22:02:59 +00:00
  • 005bc1d9f7 2008-10-13 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * tests/transtst.prg * doc/en/string.txt * doc/en/compiler.txt * doc/en/macro.txt * doc/en/browse.txt * doc/en/binnum.txt * doc/es/macro.txt * doc/es/browse.txt * doc/es/binnum.txt * doc/transfrm.txt * doc/whatsnew.txt * include/hbclass.ch * include/hbmacro.ch * include/hbexprb.c * ChangeLog * contrib/hbvpdf/hbvpdft.prg * contrib/hbwhat/import.ch * source/vm/macro.c * source/rtl/tobject.prg * source/rtl/tthreadx.prg * source/rtl/transfrm.c * source/rtl/tget.prg * source/rtl/isprint.c * source/rtl/tbrowse.prg * source/rdd/wacore.c * source/rdd/dbdetach.c * utils/hbtest/rt_trans.prg * Xbase++ name references cleaned. Viktor Szakats 2008-10-13 20:33:26 +00:00
  • b3683d7ffb 2008-10-13 21:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tole.prg ! Fixed assignment to oErr:Operation from "+" to "-" in OleValueMinus() method - fix by Luis Krause Mantilla borrowed from xHarbour Przemyslaw Czerpak 2008-10-13 19:45:01 +00:00
  • f97d4e1cda 2008-10-13 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c ! fixed LastError overwriting inside WinCE wrapper functions Przemyslaw Czerpak 2008-10-13 19:30:38 +00:00
  • b9e2e7b6f0 2008-10-13 20:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c ; updated comments about xbase++ behavior in dbRelease() Przemyslaw Czerpak 2008-10-13 18:21:42 +00:00
  • 52b81aace8 2008-10-13 20:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/strfmt.c ! Fixed GPF when non-string was passed as first parameter. Viktor Szakats 2008-10-13 18:19:50 +00:00
  • 7d8c51e71a 2008-10-13 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c + added small description for hb_threadOnce() .prg function Przemyslaw Czerpak 2008-10-13 16:01:44 +00:00
  • b3ee472fee 2008-10-13 16:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/source/vm/classes.c * harbour/source/rtl/tobject.prg * harbour/source/rtl/tclass.prg ! fixed race condition when class function is called 1-st time and new class is created. It was possible that more then one thread execute this function simultaneously and two classes identical classes but with different handles were created and registered in HVM Przemyslaw Czerpak 2008-10-13 14:35:07 +00:00
  • d43cc93d44 TOMERGE added. Viktor Szakats 2008-10-13 13:11:33 +00:00
  • b05759968e 2008-10-13 13:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_gcc.mak * make_vc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Added -l switch to default Harbour options. + Enabling Harbour debug options (-b -l-) when HB_DEBUG_BUILD=yes. Viktor Szakats 2008-10-13 11:52:42 +00:00
  • 996822f732 2008-10-13 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! fixed thread static variable offsets generated in .c code when -gc3 is used Przemyslaw Czerpak 2008-10-13 10:42:34 +00:00
  • ec38a6cdae 2008-10-13 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/teditor.prg ! Typo in previous modification. Viktor Szakats 2008-10-13 10:35:25 +00:00
  • d7551ec7b3 2008-10-13 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/teditor.prg + Added :LineCount(), :ExitState() methods. * Changed to use hb_MemoWrit() to write text content to disk, to avoid Chr(26) to be appended. ! Fixed :InsertState() to also modify physical cursor state. ! Fixed :BrowseText() to not go into an infinite loop in view mode. Viktor Szakats 2008-10-13 09:23:59 +00:00
  • 5537bc24d0 Missed entry from previous commit Viktor Szakats 2008-10-12 18:55:53 +00:00
  • 31c5f289d9 2008-10-11 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbapierr.h ! Fixed previous casting fix. Viktor Szakats 2008-10-12 18:55:12 +00:00
  • abfc488c1a 2008-10-12 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! execute hb_vmThreadQuit() after hb_vmStackRelease() Przemyslaw Czerpak 2008-10-12 18:31:41 +00:00
  • 51de53494c 2008-10-11 16:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_gcc.mak ! Minor formatting. Viktor Szakats 2008-10-12 15:00:30 +00:00
  • 5a5c734009 2008-10-11 13:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat + Suppress logo for bcc32 and msvc. Viktor Szakats 2008-10-12 11:41:03 +00:00
  • 7f7c61cf2a 2008-10-11 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vc.mak * contrib/mtpl_vc.mak + Added /nologo to lib commands. Viktor Szakats 2008-10-12 11:32:17 +00:00
  • 5d69653985 2008-10-12 13:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * casting cleanup Przemyslaw Czerpak 2008-10-12 11:19:42 +00:00
  • efdb02f17c update to prev entry Viktor Szakats 2008-10-11 19:55:12 +00:00
  • 929cc5c8c6 2008-10-11 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat * bin/bld_os2.cmd + Enabled cleanup of .c/object/.tds files after build. + Under Windows NT OSes, it's now possible to pass full .prg name with extension. ! Few minor fixes. * Formatting, cleanup and help update. ; Please test. Viktor Szakats 2008-10-11 19:53:30 +00:00
  • 42d5b4139c 2008-10-11 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/fnsplit.c * source/rtl/hbtoken.c ! HB_FNAMESPLIT(), HB_TOKENPTR() fixed to reset parameters passed by reference in error cases. Viktor Szakats 2008-10-11 12:49:45 +00:00
  • d93996a154 2008-10-11 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tget.prg ! fixed cursor positioning when new get item is added. ; added note about possible modification - Viktor, please verify it Przemyslaw Czerpak 2008-10-11 11:06:51 +00:00
  • 4176d85bb7 2008-10-11 11:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c * formatting and minor cleanup Przemyslaw Czerpak 2008-10-11 09:21:52 +00:00
  • cdb27e08d2 2008-10-11 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch + New functions added. Viktor Szakats 2008-10-11 09:07:17 +00:00
  • 618df79c9b 2008-10-11 04:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added C functions hb_gtLock() and hb_gtUnlock() They block current GT for other threads Przemyslaw Czerpak 2008-10-11 02:56:22 +00:00
  • 9113680b5a 2008-10-11 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/scrollbr.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/tpopup.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/browse.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/ttopbar.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/tmenusys.prg * harbour/source/rtl/achoice.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/tbrowse.prg * replaced DispOut() with hb_dispOut() * replaced DispBox() with hb_dispBox() % removed saving and restoring of cursor position in places where it's not longer necessary due to hb_dispOut()/hb_dispBox() usage % removed saving and restoring of SetColor() value in places where it's not longer necessary due to hb_dispOut()/hb_dispBox() usage % removed saving and restoring of MSetCursor(). If it's necessary low GT driver should hide and redraw mouse cursor before and after screen update. We do not have to make it manually Przemyslaw Czerpak 2008-10-11 01:24:26 +00:00
  • aeb6b8686e 2008-10-11 03:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added hb_gtDrawBox() works like hb_gtBox() but does not change cursor posiion and support colors + added support for color parameter to hb_gtPutText() Przemyslaw Czerpak 2008-10-11 01:06:39 +00:00
  • 5964eac44c 2008-10-10 22:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * reduced the mutex lock time in thread exit state Przemyslaw Czerpak 2008-10-10 20:46:50 +00:00
  • f51b6c2f24 2008-10-10 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c * unblock HVM before executing destructors and releasing blocks Przemyslaw Czerpak 2008-10-10 19:23:11 +00:00
  • 50253c5cdb 2008-10-10 20:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vc.bat * make_vc.mak * Cleanups. Viktor Szakats 2008-10-10 18:13:05 +00:00
  • 4c7936d636 2008-10-10 10:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch ! Fixed XPP class names. Viktor Szakats 2008-10-10 08:50:29 +00:00
  • ed8bb45de8 2008-10-10 10:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_gcc.mak * Removed special 'set HB_GT_LIB=gtXXX' support. For the exact same effect - in case you want to modify default GT at build time, which is not recommended -, pls use this: 'set C_USR=-DHB_GT_LIB=XXX' where XXX is 'wvt', 'std', etc. - Removed HARBOURFLAGSDLL, LDFLAGSDLL, CFLAGSDLL as public options. It's better to keep these settings common IMO, and handle all DLL subtleties in our make files. + L_USR is now respected for .dlls, too. ! Fixed make_gcc.mak internal HARBOURFLAGSDLL to be in sync with the other .mak files (removed -l switch). - Removed HB_BUILD_MODE for VC builds. Now C/C++ is left to the default value (which is C mode for core), and it's possible to override using: 'set C_USR=-TP' for C++ mode (or -TC for forced C mode). % Other minor cleanups. Viktor Szakats 2008-10-10 08:47:25 +00:00
  • 0e119bdb15 2008-10-10 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * common.mak * make_b32.mak * make_vc.mak * make_gcc.mak - Removed option HB_BUILD_ST to build another version of Harbour MT build [for non-GNU builds], or forced SingleThreaded (non -tWM) Harbour builds. * Modified to not allow CFLAGSMT to be tweaked from the outside [for non-GNU builds]. Viktor Szakats 2008-10-10 07:43:25 +00:00
  • d0a14cc81c 2008-10-10 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * bin/bld.bat + -tWM BCC32 switch made the all-time default. Viktor Szakats 2008-10-10 07:28:24 +00:00
  • d4b61aece8 2008-10-10 06:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added hb_vmProcessDynLibSymbols() which works like hb_vmProcessSymbolsEx() but always mark registered modules as dynamic Przemyslaw Czerpak 2008-10-10 04:26:42 +00:00
  • 6829fa76a5 2008-10-10 01:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c + added new GT methods: LOCK() and UNLOCK() * serialize GT access in MT mode - please remember that it's only low level serialization to protect access to low GT resources. It has nothing to application level screen output from different threads which has to be serialized by programmer if necessary. Przemyslaw Czerpak 2008-10-09 23:43:41 +00:00
  • 15054c311b 2008-10-10 00:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added hb_gtPutText() C function Przemyslaw Czerpak 2008-10-09 22:15:01 +00:00
  • af1e261b5b 2008-10-09 20:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + added thfuncx.prg Przemyslaw Czerpak 2008-10-09 18:51:31 +00:00
  • c7c37159d0 2008-10-09 10:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) ! harbour/bin/bld.bat + _C_MT= if not HB_MT==MT Forgot to clear the variable if mt mode is switched. Pritpal Bedi 2008-10-09 17:41:14 +00:00
  • 547183dd02 2008-10-09 10:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) ! harbour/bin/bld.bat + Added _C_MT=-tWM if HB_MT==MT BCC32 includes cw32mt.lib if -tWM is present as a switch. Now setting HB_MT=MT will allow to compile and link a prg in MT mode. Pritpal Bedi 2008-10-09 17:33:20 +00:00
  • 42d6d50796 2008-10-09 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/source/rtl/thfuncx.prg * added xbase++ compatible functions: ThreadID() -> <nThId> ThreadWait( <aThreads>, <nTimeOut> ) -> <oThread> | <pThId> | NIL ThreadWaitAll( <aThreads>, <nTimeOut> ) -> <lAllFinished> In Harbour <aThreads> can be array of thread pointers or thread objects. xbase++ compatible thread class I'll add later. Przemyslaw Czerpak 2008-10-09 15:03:06 +00:00