Commit Graph

9304 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
afea8ee0dd 2008-10-23 04:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.h
  * harbour/source/rtl/gtxwc/gtxwc.c
    ! use XInitThreads() for MT safe thread access when linked with MT HVM
    + added optional mutex protection enabled by HB_XWC_XLIB_NEEDLOCKS macro
      to use when XLib does not support XInitThreads()
2008-10-23 02:01:43 +00:00
Viktor Szakats
97a39f0123 2008-10-22 20:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk.bat
    ! Fix to previous change. (MT and GUI status was reset in the loop).

  * bin/hbmk.bat
  * bin/hbmk_os2.cmd
    ! Help message corrections.

  * bin/hbmk.bat
  * make_vc.mak
  * config/w32/msvc.cf
  * config/w32/msvcce.cf
    * Using lowercase linker options for MSVC. Just for consistency.
    * Using '/' as a switch char for MSVC linker. This works fo all 
      old version.

  * contrib/mtpl_vc.mak
    * Minor formatting.
2008-10-22 18:02:52 +00:00
Przemyslaw Czerpak
f43f85e0eb 2008-10-22 19:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    * use CP437 for BOX characters when terminal is in UTF-8 mode
2008-10-22 17:52:06 +00:00
Przemyslaw Czerpak
63cccbddfa 2008-10-22 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed memory allocation in HB_THREADWAIT() when more then 16
      threads were specified
2008-10-22 17:13:27 +00:00
Przemyslaw Czerpak
47ed35ee5c 2008-10-22 17:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hbmk.bat
    * simple modification to make beginning hbmk parameters (-mt and -gui)
      position independent though they still have to be used before Harbour/
      C compiler switches and filenames

  * harbour/source/common/hbdate.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rtl/hbffind.c
    ! use MT safe localtime_r() function if it's available instead of
      localtime()
      TODO: clean the usage of this function and gmttime[_r]() probably
      by adding our own wrappers.

  * harbour/source/rtl/hbffind.c
    ! disabled calls to tzset() - this function should be executed
      automatically by CRTL only if it's necessary. It's also not MT
      safe and can cause MT applications crash.
2008-10-22 15:45:36 +00:00
Viktor Szakats
cadb6c1631 2008-10-22 17:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk.bat
    * Minor.

  * contrib/rddsql/mysqldd.c
    ! Fixed one warning.

  * contrib/rddads/adsx.c
    ! Fixed codepage/MT related compile error.
    ! Some warnings.
    ! svn:keywords, svn:eol-style
2008-10-22 15:08:11 +00:00
Mindaugas Kavaliauskas
3110d1ffc0 2008-10-22 17:17 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ contrib/rddads/adsx.c
    + added implementation of local indexing support for ADS driver.
      Local indexing is used in case server can not do index 
      creation, for example: index key depends on relation child area
      fields, index key uses user defined functions, index is created
      using codeblock, but not expression, etc.
    ; This code implements no update index! Partial index update could 
      also be implemented, but I didn't have a need for this. Besides 
      that partial index implementation will be a little more 
      complicated than in other RDD. Database update operations are 
      not done in a single goCold() method. So, index update should 
      be called, from many methods: append(), putValue(), delete(), 
      recall(), etc., or ADS RDD structure should be changed to 
      support real goCold(). For implementation of partial index, 
      I'd suggest to use tree index (instead of a simple sorted array 
      and binary search). B-tree code could be found in 
      contrib/rddsql/sqlmix.c.
    ; Please check makefiles, and other compilers, platforms.
2008-10-22 14:17:36 +00:00
Viktor Szakats
3092f701ee 2008-10-22 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk_os2.cmd
    + Added support for HB_MT=yes.
    + Added support for -mt switch.

  * bin/hbmk.cmd
    ! Typo in help screen.
2008-10-22 13:00:57 +00:00
Mindaugas Kavaliauskas
cad70bfdc2 2008-10-22 16:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/rddsql/hbsqldd.h
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddsql/mysqldd.c
    * Finished implementation of national sorting support
    * converted // comments to /* */
    * translated lithuanian comments to english
    * updated startup code
    * fixed BYTE * val -> BYTE val[1]
2008-10-22 12:59:27 +00:00
Viktor Szakats
933db66cff 2008-10-22 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk.bat
    + Added support for 'set HB_GUI=yes'
      Currently implemented for BCC32 and MSVC.
    + Added support for 'set HB_MT=yes' (instead of 'MT')
      for consistency. MT seems to be an xhb heritage and 
      it may be removed in the future.
    + Added support for optional -mt switch as an equivalent 
      to 'set HB_MT=yes'
    + Added support for optional -gui switch as an equivalent 
      to 'set HB_GUI=yes'
    ; NOTE: Ordering (first -mt, then -gui) and casing (everything 
            is lowercase) of the above options are significant.

  * bin/hbmk.bat
  * bin/hbmk_os2.cmd
    * Help screen cleanup.

  * contrib/gtwvg/tests/bld_vc.bat
  * contrib/gtwvg/tests/bld_b32.bat
    * Changed to use HB_GUI=yes instead of C_USR/L_USR.
2008-10-22 12:55:39 +00:00
Viktor Szakats
cc61d55d91 2008-10-22 14:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
    + Added tests for assigments as function calls (o:col( 10 ) 
      and some for assigments as _function calls (o:_col( 10 )).

  * bin/hbmk.bat
  * make_vc.mak
    - Removed /subsystem:console from LDFLAGS. This seems to 
      be the default so it's not necessary.

  * bin/hbmk.bat
    + Added L_USR support for MSVC. Now it's possible to 
      build GUI (and GTWVT) programs using 
      'set L_USR=/subsystem:WINDOWS' switch.

  * contrib/gtwvg/tests/bld_vc.bat
    ! Using above method to make it work with MSVC.
2008-10-22 12:17:14 +00:00
Viktor Szakats
1dcc52ab03 2008-10-22 12:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/wvtext.prg
    ! Fixed GT selection code.

  * contrib/rddsql/mysqldd.c
    + Added ugly hack to make it compile with MSVC.
    ! Fixed MSVC 64-bit warning.

  * source/rtl/gtapi.c
    * Minor formatting.
2008-10-22 10:09:59 +00:00
Pritpal Bedi
5225f0bc5f 2008-10-22 23:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/tests/wvtext.prg
    Updated to demonstrate multi-windows GT capabilities.
    
    A REMINDER : This development alone places Harbour much higher than 
                 so many dialects. Mind-blowing feature. I had ever longed
                 for this functionality since I started with Xbase++.
                 But the ease of use of a MW-GT in Harbour is far superior
                 than in Xbase++. Spread this word. I am sure this feature
                 alone is going to add a handsome value to my applications.
                 I hope you all will be benefitted.

                 I have no word of appreciation for Przemyslaw Czerpak as
                 whatever I will say will fall short of weight. So...
2008-10-22 06:11:59 +00:00
Przemyslaw Czerpak
520a0a0206 2008-10-22 05:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
  * harbour/include/hbgtcore.h
  * harbour/include/hbthread.h
  * harbour/include/hbapigt.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
  * harbour/source/rtl/hbgtcore.c
    + added support for optional allocating independent console window by
      each thread. By default new thread inherits console Window from
      parent thread. But each thread can allocate its own console window
      by calling hb_gtReload( <cGtName> ) function, f.e. by:
         hb_gtReload( hb_gtVersion() )
      If GT driver supports such functionality then new it will allocate
      new console windows.
      Each console window has reference counter which is increased when
      new thread starts and decreased when hb_gtReload() is executed or
      thread terminates. When counter reach zero give console window is
      destroyed.

  * harbour/source/rtl/gtwvt/gtwvt.c
    ! use SendNotifyMessage() instead of SendMessage() to not block
      threads which inherited GT from parent thread. Why non of MS-Win
      users reported this problem?
    + added reference counter to window class for multi GT support

  + harbour/tests/mt/mttest10.prg
    + added demonstration/test code for using independent console window
      in different threads. It needs GT driver which supports such
      functionality, f.e GTXWC in *nixes or GTWVT in MS-Windows

  * harbour/tests/mt/mttest09.prg
    ! fixed typo in comment
2008-10-22 03:03:58 +00:00
Teo Fonrouge
47ee4c1dba 2008-10-21 17:19 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* source/debug/debugger.prg
    ! Fixed error when moving in the call stack window to an source prg
      not included in the path, and a ::oWndVars (Monitor of vars) is opened.
2008-10-21 22:16:18 +00:00
Przemyslaw Czerpak
0cef1d4902 2008-10-21 22:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapigt.h
  * harbour/source/rtl/console.c
  * harbour/source/rtl/filesys.c
    * use HB_STD{IN,OUT,ERR}_HANDLE macros instead of hard coded values

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtapi.c
    + added optional support for dynamic supertables
    + added reference counter to HB_GT_BASE structure
    - removed hb_gtUnLoad() function
    + added hb_gtAlloc(), hb_gtRelease(), hb_gtAttach()
    + added hb_gtRealod() function which unloads current GT driver
      and loads given new one
    + added .prg function HB_GTRELOAD( <cGtName> ) -> <lSuccess>
      This function allow to switch active GT driver at run time.
      It can be also used to simulate removed HB_NOSTARTUPWINDOW()
      functionality. F.e.:

         REQUEST HB_GT_WVT
         REQUEST HB_GT_NUL_DEFAULT
         proc main()
            // do some initializations...
            hb_gtReload( "WVT" )
            // rest of code...
         return

      Please remember that some GTs may refuse initialization due to
      missing required resources and instead of return FALSE they can
      interrupt program with internal error, just like at application
      startup so it's not guarantied that this function always returns.

  * harbour/contrib/hbct/ctwin.c
    * updated for new GT API
    + added support for dynamic supertable to allow using CTWIN in the
      same time with different GTs.

  * harbour/contrib/xhb/hbcompat.h
    - removed hb_retclenAdoptRaw translation
2008-10-21 20:19:00 +00:00
Viktor Szakats
42013c528f 2008-10-21 14:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/box.c
    ! Fixed GPF in hb_dispBox() when box drawing chars 
      were not passed.
2008-10-21 12:58:55 +00:00
Miguel Angel Marchuet Frutos
08be73b95c 2008-10-21 13:17 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/xhb/hbcompat.ch
  * contrib/xhb/hbcompat.h
    + added compatibilities.
  * include/fileio.ch
  * source/rtl/filesys.c
    * minor sintax correction.
2008-10-21 11:16:35 +00:00
Viktor Szakats
5ea5b2d18a 2008-10-21 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/console.c
    ! Fixed typo in hb_dispoutAt() numeric color handling.

  * source/rtl/box.c
    * Minor formatting.
2008-10-21 07:35:52 +00:00
Viktor Szakats
ad8389d113 2008-10-21 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/rddsql
  + contrib/rddsql/common.mak
  + contrib/rddsql/tests
  + contrib/rddsql/tests/test1.prg
  + contrib/rddsql/tests/bld_b32.bat
  + contrib/rddsql/tests/bld_vc.bat
  + contrib/rddsql/Makefile
  + contrib/rddsql/make_b32.bat
  + contrib/rddsql/make_vc.bat
  + contrib/rddsql/make_gcc.sh
  + contrib/rddsql/mysqldd.c
  + contrib/rddsql/sqlbase.c
  + contrib/rddsql/sqlmix.c
  + contrib/rddsql/hbsqldd.h
    + Added SQL RDD sent to the list by Mindaugas.
    * Changed strcpy(), unused vars, startup code, 
      added make files, fixed all MSVS/BCC warnings, 
      other minor cleanups.
    * Changed 'BYTE val[]' to 'BYTE * val' in struct decl.
    ; TOFIX: It doesn't compile on MSVC due to this error:
             .\mysqldd.c(65) : fatal error C1017: invalid integer constant expression

  * ChangeLog
    + Marked one change as TOMERGE.

  * contrib/hbdbgfx/dbgfxc.c
    * Minor cleanup.

  * source/vm/harbinit.prg
    * Minor.

  * source/rtl/xhelp.c
    ! Typo in comment.

  * source/rtl/valtoexp.prg
  * source/rtl/alert.prg
    * {|| ... } -> {||...} for consistency along Harbour.
2008-10-21 06:43:47 +00:00
Przemyslaw Czerpak
8b8b86a386 2008-10-21 02:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/lang/Makefile
  + harbour/source/lang/msgptiso.c
    + added PTISO lang module

  * harbour/source/lang/msgpt.c
    * formatting

  * harbour/contrib/hbct/ctwin.c
    ! fixed restoring active window after executing CTWIN alert()
      with window 0 active
2008-10-21 00:40:45 +00:00
Przemyslaw Czerpak
c7ffafd2d0 2008-10-20 21:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/ctwin.c
    * moved internal CTW data to structure allocated dynamically and
      hold by inside current thread GT (HB_GT) to eliminate static
      variables used by GTCTW. Now each thread can have its own
      independent set of CTWindows if it allocated new GT.

  * harbour/contrib/hbct/tests/ctwtest.prg
    * removed two unused local variables
2008-10-20 19:17:17 +00:00
Teo Fonrouge
5b9c5e230e 2008-10-20 12:06 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* source/debug/debugger.prg
    ! Fixed error when selecting "Restore Settings" and the current prg source
      is not in the "path for Files" option. (NIL ::oBrwText at line 1478 on
      debugger.prg)
2008-10-20 17:06:54 +00:00
Przemyslaw Czerpak
57d5b1f40a 2008-10-20 17:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filebuf.c
    ! fixed bad typo in lock table resizing

  * harbour/source/rdd/hbsix/sxcompr.c
    ! fixed ring buffer initialization in Sx_Compress()
2008-10-20 15:26:46 +00:00
Viktor Szakats
aef588d027 2008-10-20 08:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbdbgfx/Makefile
  * contrib/hbdbgfx/common.mak
  + contrib/hbdbgfx/make_gcc.sh
  * contrib/hbdbgfx/make_b32.bat
  * contrib/hbdbgfx/make_vc.bat
  * contrib/hbdbgfx/hbdbgfx.h
  * contrib/hbdbgfx/dbgfxc.c
  * contrib/hbdbgfx/dbgfx.prg
  * contrib/hbdbgfx/sprintf.prg
    * Some cleanups and fixes.
    ; TOFIX: hb_ToOutDebug() for WinCE/Unicode.
             Maybe adding other platforms.
2008-10-20 06:47:13 +00:00
Teo Fonrouge
38e2cf2339 2008-10-19 20:18 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* source/debug/dbgbrwsr.prg
    ! Fixed out of range error ( BASE/1133 ) when scrolling out the source
      code window and then executing a "run" command.
2008-10-20 04:12:50 +00:00
Przemyslaw Czerpak
e76017d28c 2008-10-20 01:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    ! added HB_EXPORT to hb_stack*() functions used in -gc3 code
2008-10-19 23:18:33 +00:00
Francesco Saverio Giudice
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
2008-10-19 22:26:35 +00:00
Francesco Saverio Giudice
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.
2008-10-19 22:16:39 +00:00
Viktor Szakats
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.
2008-10-19 21:16:38 +00:00
Viktor Szakats
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.

  * source/rtl/tclass.prg
  * source/rtl/tsymbol.prg
    ! Fixed mistakes in recent commit.
2008-10-19 07:35:06 +00:00
Viktor Szakats
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().

  * contrib/examples/dbu/bld_b32.bat
  * contrib/examples/dbu/bld_vc.bat
  * utils/hbdoc/bld_vc.bat
  * utils/hbdoc/bld_b32.bat
  * utils/hbmake/bld_b32.bat
  * utils/hbmake/bld_vc.bat
    + Added -l Harbour switch.
2008-10-19 07:21:55 +00:00
Viktor Szakats
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.
2008-10-19 07:02:22 +00:00
Viktor Szakats
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.
2008-10-18 22:23:45 +00:00
Viktor Szakats
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.

  * source/rtl/dircmd.prg
  * source/rtl/tget.prg
    * Minor cleanup.
2008-10-18 22:07:57 +00:00
Viktor Szakats
f795ac92c9 typo 2008-10-18 20:24:32 +00:00
Viktor Szakats
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.

  * contrib/hbapollo/readme.txt
    * Minor update.
2008-10-18 20:23:06 +00:00
Viktor Szakats
425e4f1ad8 fix to fix 2008-10-18 20:19:16 +00:00
Viktor Szakats
61bdd1cc16 fix to prev 2008-10-18 20:13:48 +00:00
Viktor Szakats
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.
2008-10-18 20:03:36 +00:00
Viktor Szakats
c3f2ef56f9 2008-10-18 21:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbgete.c
    ! Fixed recent warning on Win32 platforms.

  * contrib/xhb/hbcrypt.c
    * Changed to just work instead of RTE-in if any 
      of the params are empty on non-strings. If 
      non-string is passed, it's considered as 
      empty string.
2008-10-18 19:18:17 +00:00
Viktor Szakats
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'

  * source/common/hbgete.c
    * Minor.
2008-10-18 14:23:58 +00:00
Przemyslaw Czerpak
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
2008-10-18 09:39:42 +00:00
Viktor Szakats
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.

   * source/rtl/tclass.prg
   * source/rtl/tget.prg
     + NOTE added to tclass.prg.
     * Minor formatting.
2008-10-18 08:58:34 +00:00
Viktor Szakats
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.
2008-10-18 08:28:50 +00:00
Przemyslaw Czerpak
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
2008-10-18 06:36:46 +00:00
Viktor Szakats
3605f5ffca minor formatting 2008-10-17 16:38:23 +00:00
Viktor Szakats
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.
2008-10-17 16:23:12 +00:00
Przemyslaw Czerpak
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"
2008-10-17 14:35:33 +00:00
Przemyslaw Czerpak
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.

  * harbour/source/rtl/console.c
  * harbour/source/rtl/gtapi.c
    * moved //INFO message from hb_gtInit() to hb_conInit()

  * harbour/source/rtl/hbgtcore.c
  * harbour/contrib/hbct/ctwin.c
    * minor cleanup
2008-10-17 13:56:09 +00:00