Commit Graph

5701 Commits

Author SHA1 Message Date
Francesco Saverio Giudice
c26dea6c63 2009-02-16 23:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
+ harbour/contrib/hbblat
  + harbour/contrib/hbblat/blatcls.prg
  + harbour/contrib/hbblat/blatwrp.c
  + harbour/contrib/hbblat/common.mak
  + harbour/contrib/hbblat/hbblat.ch
  + harbour/contrib/hbblat/make_b32.bat
  + harbour/contrib/hbblat/make_vc.bat
  + harbour/contrib/hbblat/Makefile
  + harbour/contrib/hbblat/syntax.txt
  + harbour/contrib/hbblat/tests
  + harbour/contrib/hbblat/tests/blatcmd.prg
  + harbour/contrib/hbblat/tests/blattest.prg
  + harbour/contrib/hbblat/tests/f_listtext.txt
  + harbour/contrib/hbblat/tests/f_ps.txt
  + harbour/contrib/hbblat/tests/f_sample.txt
  + harbour/contrib/hbblat/tests/f_sample1.txt
  + harbour/contrib/hbblat/tests/f_subjectline.txt
  + harbour/contrib/hbblat/tests/hbmk.bat
    + Added BLAT wrapper class

  * harbour/contrib/make_b32_all.bat
  * harbour/contrib/make_vc_all.bat
    * added above contrib

  * harbour/source/vm/hvm.c
    * added missing ;
2009-02-16 23:01:32 +00:00
Viktor Szakats
cf97f6830e 2009-02-16 21:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- tests/hbmk_gnu.bat
    - Removed.

  * contrib/examples/uhttpd/hbmk.bat
  * contrib/examples/dbu/hbmk.bat
  * contrib/examples/rl/hbmk.bat
    * Made them compatible with Win9x/NT systems again.

  * source/lang/msg_tpl.c
    + Added NOTE about date format.

  * source/lang/msgbe866.c
  * source/lang/msgbewin.c
  * source/lang/msgbg866.c
  * source/lang/msgbgiso.c
  * source/lang/msgbgmik.c
  * source/lang/msgbgwin.c
  * source/lang/msgit.c
  * source/lang/msgnl.c
  * source/lang/msgsl437.c
  * source/lang/msgsl852.c
  * source/lang/msgsliso.c
  * source/lang/msgslwin.c
    ! Fixed date formats to only contain YYYY MM and DD.
      Plus the format itself corrected in a few places.

  * utils/hbmk/hbmk.prg
    + Added TODO
    % Added ANNOUNCE HB_GTSYS / REQUEST HB_GT_STD_DEFAULT.
      Since this tools doesn't need anything fullscreen, and
      this way it's faster smaller, yet portable.

  * ChangeLog
    * Few old TODO/TOFIX statuses updated.
2009-02-16 20:19:26 +00:00
Viktor Szakats
d7b31254de 2009-02-16 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
    + Added HB_DBCREATETEMP()

  * harbour/source/rdd/dbcmd.c
    * Renamed to HB_DBCREATETEMP().
2009-02-16 17:31:37 +00:00
Przemyslaw Czerpak
987fff2601 2009-02-16 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbinfo.ch
    + added DBI_ISTEMPORARY

  * harbour/include/hbapirdd.h
  * harbour/source/rdd/wafunc.c
    + added hb_rddCreateTableTemp() C function to create temporary
      table which are automatically deleted on close. All indexes and
      memo files for such tables are also in temporary files and
      automatically deleted on close. Please remember that Harbour uses
      OS functions to create temporary files so it's installation dependent
      how much disk space is available for them. Some RDDs may also do
      not create temporary files but keep everything in memory if they
      decide it's more efficient.

  * harbour/source/rdd/dbcmd.c
    + added .prg function to create temporary files:
         dbCreateTemp( <cAlias>, <aStruct>, <cRDD>, ;
                       <cCodePage>, <nConnection> ) -> <lSuccess>
      Not all RDDs have to support it. It's verified by support for
      DBI_ISTEMPORARY dbInfo() action.

  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddnsx.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    + added support for temporary tables in native RDDs.

   Most of above modifications were done by Viktor Szakats.
2009-02-16 16:39:39 +00:00
Przemyslaw Czerpak
21881669c3 2009-02-16 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed typo in PTHREAD (*nixes) version of hb_threadMutexTimedLock()
      (.prg HB_MUTEXLOCK() with timeout parameter)
    ! unlock HVM in *nix version of hb_threadWait()
    ; added TODO note
2009-02-16 13:59:06 +00:00
Chen Kedem
8a814395be 2009-02-16 14:02 UTC+0200 Chen Kedem <niki@synel.co.il>
* doc/dirstruc.txt
     * Updated to reflect current state.

   * source/compiler/hbusage.c
   * source/lang/msghe862.c
   * source/lang/msghewin.c
   * source/rtl/tone.c
   * source/rtl/gtos2/gtos2.c
     * Update my email on source files
       (didn't bother to change those under doc).
2009-02-16 12:03:38 +00:00
Viktor Szakats
23127c393a 2009-02-17 12:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapicdp.h
   * common.mak
   * source/codepage/Makefile
   + source/codepage/ucmacce.c
   + source/codepage/ucmacice.c
   + source/codepage/uc424.c
   + source/codepage/ucmacrom.c
   + source/codepage/ucmacgrk.c
   + source/codepage/uc037.c
   + source/codepage/uc875.c
   + source/codepage/uc1026.c
   + source/codepage/ucascii.c
   + source/codepage/ucatari.c
   + source/codepage/ucmaccyr.c
   + source/codepage/uc1006.c
   + source/codepage/ucnext.c
   + source/codepage/ucmactrk.c
   + source/codepage/uc856.c
   + source/codepage/uc500.c
     + Added missing codepages. Except for multi-byte ones,
       which I believe are not supported by the current
       Harbour infrastructure.

   * utils/hbmk/hbmk.prg
     ! Minor.
2009-02-16 11:50:35 +00:00
Viktor Szakats
f18b3c3cb2 2009-02-17 00:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbusage.c
    + Added Vailton Renato to credit list.

  * utils/hbmk/hbmk.prg
    + Cleanups and additions to help screen.
    ! Fixed dm/dmc compiler ID.

  - config/win/dm.cf
  + config/win/dmc.cf
  * contrib/gtalleg/Makefile
  * contrib/hbwhat/Makefile
    * Digital Mars C compiler ID changed from dm to dmc.
      (they also have a D compiler f.e.)
2009-02-15 23:34:57 +00:00
Viktor Szakats
e5713107b1 2009-02-14 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    - Added support for -o option for win/bcc32.

  - tests/hbmk_vc.bat
  - tests/hbmk_b32.bat
  + contrib/hbmysql/utils/hbmk.bat
  - contrib/hbmysql/utils/hbmk_b32.bat
  - contrib/hbmysql/utils/hbmk_vc.bat
  + contrib/hbmysql/tests/hbmk.bat
  - contrib/hbmysql/tests/hbmk_b32.bat
  - contrib/hbmysql/tests/hbmk_vc.bat
  + contrib/hbct/tests/hbmk.bat
  - contrib/hbct/tests/hbmk_b32.bat
  - contrib/hbct/tests/hbmk_vc.bat
  + contrib/hbodbc/tests/hbmk.bat
  - contrib/hbodbc/tests/hbmk_b32.bat
  - contrib/hbodbc/tests/hbmk_vc.bat
  + contrib/xhb/tests/hbmk.bat
  - contrib/xhb/tests/hbmk_b32.bat
  - contrib/xhb/tests/hbmk_vc.bat
  + contrib/hbtpathy/tests/hbmk.bat
  - contrib/hbtpathy/tests/hbmk_b32.bat
  - contrib/hbtpathy/tests/hbmk_vc.bat
  + contrib/hbmsql/tests/hbmk.bat
  - contrib/hbmsql/tests/hbmk_b32.bat
  - contrib/hbmsql/tests/hbmk_vc.bat
  + contrib/hbsqlit3/tests/hbmk.bat
  - contrib/hbsqlit3/tests/hbmk_b32.bat
  - contrib/hbsqlit3/tests/hbmk_vc.bat
  + contrib/hbole/tests/hbmk.bat
  - contrib/hbole/tests/hbmk_b32.bat
  - contrib/hbole/tests/hbmk_vc.bat
  + contrib/hbmzip/tests/hbmk.bat
  - contrib/hbmzip/tests/hbmk_b32.bat
  - contrib/hbmzip/tests/hbmk_vc.bat
  + contrib/hbapollo/tests/hbmk.bat
  - contrib/hbapollo/tests/hbmk_b32.bat
  - contrib/hbapollo/tests/hbmk_vc.bat
  + contrib/hbfbird/tests/hbmk.bat
  - contrib/hbfbird/tests/hbmk_b32.bat
  - contrib/hbfbird/tests/hbmk_vc.bat
  + contrib/hbziparc/tests/hbmk.bat
  - contrib/hbziparc/tests/hbmk_b32.bat
  - contrib/hbziparc/tests/hbmk_vc.bat
  + contrib/hbnf/tests/hbmk.bat
  - contrib/hbnf/tests/hbmk_b32.bat
  - contrib/hbnf/tests/hbmk_vc.bat
  + contrib/hbcurl/tests/hbmk.bat
  - contrib/hbcurl/tests/hbmk_b32.bat
  - contrib/hbcurl/tests/hbmk_vc.bat
  + contrib/rddsql/tests/hbmk.bat
  - contrib/rddsql/tests/hbmk_b32.bat
  - contrib/rddsql/tests/hbmk_vc.bat
  + contrib/hbhpdf/tests/hbmk.bat
  - contrib/hbhpdf/tests/hbmk_b32.bat
  - contrib/hbhpdf/tests/hbmk_vc.bat
  + contrib/rddado/tests/hbmk.bat
  - contrib/rddado/tests/hbmk_b32.bat
  - contrib/rddado/tests/hbmk_vc.bat
  + contrib/gtwvg/tests/hbmk.bat
  - contrib/gtwvg/tests/hbmk_b32.bat
  - contrib/gtwvg/tests/hbmk_vc.bat
  + contrib/hbpgsql/tests/hbmk.bat
  - contrib/hbpgsql/tests/hbmk_b32.bat
  - contrib/hbpgsql/tests/hbmk_vc.bat
  + contrib/rddads/tests/hbmk.bat
  - contrib/rddads/tests/hbmk_b32.bat
  - contrib/rddads/tests/hbmk_vc.bat
  + contrib/hbclipsm/tests/hbmk.bat
  - contrib/hbclipsm/tests/hbmk_b32.bat
  - contrib/hbclipsm/tests/hbmk_vc.bat
  + contrib/hbfimage/tests/hbmk.bat
  - contrib/hbfimage/tests/hbmk_b32.bat
  - contrib/hbfimage/tests/hbmk_vc.bat
  + contrib/hbgd/tests/hbmk.bat
  - contrib/hbgd/tests/hbmk_b32.bat
  - contrib/hbgd/tests/hbmk_vc.bat
  + contrib/hbmisc/tests/hbmk.bat
  - contrib/hbmisc/tests/hbmk_b32.bat
  - contrib/hbmisc/tests/hbmk_vc.bat
  + contrib/hbgf/tests/hbmk.bat
  - contrib/hbgf/tests/hbmk_b32.bat
  - contrib/hbgf/tests/hbmk_vc.bat
  + contrib/hbtip/tests/hbmk.bat
  - contrib/hbtip/tests/hbmk_b32.bat
  - contrib/hbtip/tests/hbmk_vc.bat
  + contrib/hbwin/tests/hbmk.bat
  - contrib/hbwin/tests/hbmk_b32.bat
  - contrib/hbwin/tests/hbmk_vc.bat
  + contrib/hbvpdf/tests/hbmk.bat
  - contrib/hbvpdf/tests/hbmk_b32.bat
  - contrib/hbvpdf/tests/hbmk_vc.bat
  + contrib/hbbtree/tests/hbmk.bat
  - contrib/hbbtree/tests/hbmk_djg.bat
  - contrib/hbbtree/tests/hbmk_b32.bat
  - contrib/hbbtree/tests/hbmk_vc.bat
  + contrib/hbcrypt/tests/hbmk.bat
  - contrib/hbcrypt/tests/hbmk_b32.bat
  - contrib/hbcrypt/tests/hbmk_vc.bat
  + contrib/hbssl/tests/hbmk.bat
  - contrib/hbssl/tests/hbmk_b32.bat
  - contrib/hbssl/tests/hbmk_vc.bat
  + contrib/hbwhat/tests/hbmk.bat
  - contrib/hbwhat/tests/hbmk_b32.bat
  - contrib/hbwhat/tests/hbmk_vc.bat
  - source/rdd/usrrdd/example/hbmk_b32.bat
  - source/rdd/usrrdd/example/hbmk_vc.bat
    % Updated for new hbmk.bat and hbmk.exe.
2009-02-14 13:26:30 +00:00
Przemyslaw Czerpak
3240e158a7 2009-02-14 10:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
    % small optimization in __MVSAVE()
2009-02-14 09:44:23 +00:00
Viktor Szakats
15944de000 2009-02-13 13:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
    + Added Windows 7 and Windows Server 2008 R2 detection.

  * source/rtl/dateshb.c
    * Minor formatting.
2009-02-13 12:08:09 +00:00
Maurilio Longo
a05c032678 2009-02-13 11:15 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* harbour/include/hbthread.h
  * harbour/source/vm/thread.c
    ! fixed a bug on OS/2 MT implementation adding a new function,
      _hb_cond_timed_wait() because when a semaphore gets posted it has
      to be reset, otherwise it does not stop new threads entering it in a wait.
2009-02-13 10:18:28 +00:00
Przemyslaw Czerpak
bdc6e81793 2009-02-13 11:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/source/pp/hbpp.c
  * harbour/source/pp/ppcore.c
  * harbour/source/compiler/hbmain.c
    + added support for dynamically calculated #define results
    ! removed old code which was adding __FILE__ #define constant
      It was not working correctly like in other compilers ignoring
      #include
    + added __FILE__ and __LINE__ #define directives using dynamically
      calculated results - now it works as expected respecting #include
      directives and the implementation is local to PP without any hacks
      in core compiler code.

  * harbour/contrib/hbct/files.c
    * added support for optional milliseconds part in HB_FSETDATETIME()/
      HB_FGETDATETIME().

  * harbour/source/rtl/philes.c
    ! minor fix in return value
2009-02-13 10:04:16 +00:00
Viktor Szakats
86e84ba537 2009-02-12 12:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/lang/msgrukoi.c
  * source/lang/msgruwin.c
  * source/lang/msguakoi.c
  * source/lang/msguawin.c
  * source/lang/msgru866.c
  * source/lang/msgua866.c
    ! Fixed date format to be DD.MM.YYYY.
2009-02-12 11:48:50 +00:00
Viktor Szakats
bc6e1a9b3e 2009-02-12 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
  * include/hbapi.h
  * source/common/hbprintf.c
  * source/common/hbstr.c
    + Temporarily enabled local hb_snprintf() implementation.
    ; Please test. If it's okay, we can enable it permanently.

  * contrib/rddsql/sddmy/make_b32.bat
  * contrib/rddsql/sddmy/make_vc.bat
  * contrib/rddsql/sddpg/make_b32.bat
  * contrib/rddsql/sddpg/make_vc.bat
  * contrib/rddsql/sddfb/make_b32.bat
  * contrib/rddsql/sddfb/make_vc.bat
    ! Fixed typos for VC flavours.
    % Removed unnecessary INCLUDE path.

  * source/vm/maindllp.c
    ! Updated dll name for Borland and MSVC.

  * source/lang/msguawin.c
  * source/lang/msgua866.c
  * source/lang/msguakoi.c
    ! Fixed corrupted equal char in code.
    ! Fixed date format.
    ! Fixed CP IDs and descriptions in UA866 and UAKOI.
    ! Restored 'CA-Cl*pper' in comment.
    ; Please verify me.
2009-02-12 10:03:45 +00:00
Petr Chornyj
b48e515893 2009-02-12 11:43 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* /source/lang/msguawin.c
  * /source/lang/msgua866.c
  * /source/lang/msguakoi.c
    * Minor changes.
2009-02-12 09:46:17 +00:00
Petr Chornyj
c70e787f15 2009-02-12 01:49 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* /source/lang/msguawin.c
  * /source/lang/msgua866.c
  * /source/lang/msguakoi.c
    * Corrected bad Ukrainian localization
2009-02-12 09:13:22 +00:00
Przemyslaw Czerpak
40020e4a64 2009-02-12 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/extend.c
    * formatting

  * harbour/contrib/gtwvg/wvgwin.c
    * pacified few warnings
2009-02-12 00:12:34 +00:00
Viktor Szakats
56009aeac6 and some minor typos in code 2009-02-11 19:49:09 +00:00
Viktor Szakats
3cfde68eaf minor mistake in prev commit 2009-02-11 19:46:02 +00:00
Viktor Szakats
ce6bbc930c 2009-02-11 20:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/binnumx.c
    * Added rewritten versions of these functions:
      a proper license: BIN2U(), W2BIN(), U2BIN()
    ; Work of Przemek.

  * source/rtl/binnum.c
    ! Readded old copyright holder as co-holder.
2009-02-11 19:41:19 +00:00
Viktor Szakats
5c754d9eca 2009-02-11 20:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* COPYING
  * doc/license.txt
  * source/rtl/binnum.c
    * Added rewritten versions of these functions, now with 
      a proper license: BIN2W(), BIN2I(), BIN2L(), I2BIN(), L2BIN()
    ; Thanks to Przemek.
2009-02-11 19:06:00 +00:00
Viktor Szakats
fab2396d7f 2009-02-11 19:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/files.c
  * source/common/hbfsapi.c
  * source/rtl/gtgui/gtgui.c
  * source/rtl/gttone.c
    * W32 -> Windows. In comments.
2009-02-11 18:45:26 +00:00
Viktor Szakats
4c6372e8ff 2009-02-11 19:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/en/diskspac.txt
  * doc/en/terminal.txt
  * doc/en/setmode.txt
  * doc/es/diskspac.txt
  * doc/es/dirstruc.txt
  * doc/inet.txt
  * contrib/hbmysql/readme.txt
  * contrib/hbct/disk.c
  * contrib/hbtpathy/telepath.prg
  * contrib/hbole/tests/testole.prg
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvggui.h
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/hbgf/hbgfos2/winctrl.prg
  * contrib/hbgf/hbgfos2/tform.prg
  * source/common/hbver.c
  * source/rtl/run.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/oemansi.c
  * source/rtl/gtwvt/gtwvt.h
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/hbrandom.c
  * source/rtl/filesys.c
    * Win32 -> Windows. In comments / docs.
2009-02-11 18:41:31 +00:00
Viktor Szakats
dc2a07f2b7 2009-02-11 19:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* COPYING
  * source/rtl/philes.c
    ! Fixed license to have the Harbour exception, in agreement
      with the group and main copyright holders.
    * Minor cleanup to HB_FGETDATETIME().
2009-02-11 18:05:27 +00:00
Mindaugas Kavaliauskas
fb7b5e9659 2009-02-11 19:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/include/hbextern.ch
  * harbour/source/rtl/philes.c
    + added HB_FGETDATETIME(). A "brother" of function HB_FGETDATETIME().
    ; TODO: BTW, hb_fs*() functions can get a better precision 
      (milliseconds). It would be nice to support it also at .prg level.
2009-02-11 17:28:45 +00:00
Mindaugas Kavaliauskas
7a8cb4a17c 2009-02-11 18:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/vm/proc.c
    * hb_procname() support for symbol evaluation
2009-02-11 16:29:57 +00:00
Przemyslaw Czerpak
6313b42b2b 2009-02-11 15:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/set.c
    ! fixed casting in hb_fsFileExists()

  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgsink.c
    ! fixed WinCE (Unicode) compilation
2009-02-11 14:00:37 +00:00
Viktor Szakats
fc28614cee 2009-02-11 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* source/rtl/gtwvt/gtwvt.c
    * BYTE -> CHAR (Windows) - UNDONE.

  * include/hbdefs.h
    + Added (commented) new types. Work in progress, incomplete.

  * contrib/hbssl/ssl.c
    - Temporary disabled SSL_GET_READ_AHEAD() as a workaround for
      BCC linking problem with SSL_get_read_ahead() OpenSSL
      library function (symbol is unresolved due to missing
      leading underscore in implib generated ssleay32.lib file).

  * source/vm/set.c
    % hb_fsFile() -> hb_fsFileExists()

  * source/rtl/hbffind.c
    * HB_WIN_32_MATCH -> HB_WIN_MATCH

  * doc/whatsnew.txt
  * include/hbsetup.h
  * source/vm/fm.c
    * #define HB_FM_WIN32_ALLOC renamed to HB_FM_WIN_ALLOC.
    ; INCOMPATIBLE: For those who are using this switch, please
                    update your make files.

  * source/rtl/tpopup.prg
    ! Fixed to draw separator lines with BOX GT attributes,
      so that they appear properly.
2009-02-11 08:47:48 +00:00
Przemyslaw Czerpak
013f7ab9a5 2009-02-11 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/cmdarg.c
    + added const char * hb_cmdargARGVN( int argc )

  * harbour/source/vm/cmdarg.c
    * try to convert executable file name argument in argv[0] to
      absolute path if it's relative one. Respect PATH envvar it necessary.

  * harbour/source/common/hbdate.c
    * formatting

  * harbour/source/rtl/philes.c
  * harbour/source/rtl/errorint.c
  * harbour/source/rtl/filesys.c
    ! use hb_cmdargARGVN(n) instead of hb_cmdargARGV()[n] to avoid
      possible GPF if some function will be called before argument
      initialization
    * removed additional logic which tries to convert relative paths
      in file name from hb_fsBaseDirBuff() and HB_PROGNAME() functions
2009-02-11 01:33:31 +00:00
Viktor Szakats
bd949536fe 2009-02-10 10:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/filesys.c
    ! Fixes for *NIX compilation to latest change.
      Please test. [ some more ]
2009-02-10 09:36:36 +00:00
Viktor Szakats
1c87526a47 2009-02-10 10:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/filesys.c
    ! Fixes for *NIX compilation to latest change.
      Please test.
2009-02-10 09:34:44 +00:00
Viktor Szakats
7ee8e7a80f 2009-02-10 03:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbssl/Makefile
    + Added new detection dir.

  * source/rtl/gtwvt/gtwvt.c
    + Added support for HB_GTI_BOXCP.
      (available for UNICODE builds only).

  * source/rtl/filesys.c
    + Added (untested) support for *NIX system to
      hb_fsBaseDirBuff() / HB_DIRBASE().
2009-02-10 03:19:10 +00:00
Przemyslaw Czerpak
4961857b2d 2009-02-10 04:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c
    * covered some old functions marked as deprecated long time ago
      by HB_LEGACY_LEVEL2 macro

  * harbour/source/rtl/hbgtcore.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/keyset.c
  * harbour/contrib/hbct/misc3.c
  * harbour/contrib/hbnf/numlock.c
  * harbour/contrib/hbnf/shift.c
  * harbour/contrib/hbnf/alt.c
  * harbour/contrib/hbnf/ctrl.c
  * harbour/contrib/hbnf/caplock.c
    * use memset( &gtInfo, 0, sizeof( gtInfo ) ); to initialize
      HB_GT_INFO structure - it also fixes possible problems with
      uninitialized pNewVal2 member in few cases.
2009-02-10 03:10:57 +00:00
Viktor Szakats
667983f196 2009-02-10 02:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapigt.h
  * source/rtl/hbgtcore.c
  * source/rtl/gtfunc.c
    - Removed unnecessary extension to HB_GT_INFO.
2009-02-10 01:35:15 +00:00
Viktor Szakats
5725adf803 2009-02-10 02:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
  * include/hbextern.ch
  * source/vm/runner.c
  * source/rdd/dbcmd.c
    * __HRB*() functions marked as HB_LEGACY_LEVEL2 compatibility,
      please update your code to use HB_HRB*().
    * __RDDGETTEMPALIAS() marked as HB_LEGACY_LEVEL2 compatibility,
      please update your code to use HB_RDDGETTEMPALIAS().
    ; I've permanently remove these symbols from hbextern.ch, so 
      regardless of the legacy setting, hbrun won't have them 
      anymore. This is merely technical, as it would need some 
      hacks in the make system to push through HB_LEGACY_OFF 
      to pptable.c generation. If someone wants to deal with 
      this, even better.

  * include/hbstdgen.ch
    * Added #undef __FILE__.

  * include/hbsetup.ch
    * Minor.
2009-02-10 01:27:54 +00:00
Viktor Szakats
897a02e44a 2009-02-10 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
  * include/clipdefs.h
  * include/filesys.api
  * include/gt.api
  * include/hbapi.h
  * include/hbapierr.h
  * include/hbapifs.h
  * include/hbapigt.h
  * include/hbapiitm.h
  * include/hbapirdd.h
  * include/hbdefs.h
  * include/hbgfxdef.ch
  * include/hbgtinfo.ch
  * include/hbsetup.ch
  * include/hbsetup.h
  * include/item.api
  * include/rdd.api
  * source/rtl/errorapi.c
  * source/rtl/filesys.c
  * source/vm/cmdarg.c
  * common.mak
  - source/vm/debugold.c
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
    - Permanently disabled HB_LEGACY_LEVEL support.
    + Added HB_LEGACY_LEVEL2 support to protect some
      recently made incompatible changes. Old methods
      are supported until Harbour 1.2. Please update
      your code until then. To test your code for
      compatibility with recent changes, you can turn
      off legacy support manually by #defining HB_LEGACY_OFF.
      (HB_USER_CFLAGS=-DHB_LEGACY_OFF)
      This is recommended on local systems for all
      Harbour developers.
2009-02-10 00:47:50 +00:00
Viktor Szakats
c5641b250f 2009-02-10 00:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapigt.h
  * source/rtl/gtfunc.c
    + Extended HB_GT_INFO structure with nPCount member.

  * include/hbgtinfo.ch
  * include/hbgtcore.h
  * source/rtl/hbgtcore.c
    + Added HB_GTI_CARGO. This can be used to store whatever
      user defined value on a per GT basis.
      HB_GTINFO( HB_GTI_CARGO[, <xValue ] ) -> <xPrevValue>

  * source/rtl/hbgtcore.c
    ! hb_gt_def_Alert() fixed to also initialize pNewVal2 with NULL.
      (didn't cause any real-world harm).

  * contrib/hbwin/win_tprn.prg
    % Minor optimizations.
2009-02-09 23:44:49 +00:00
Przemyslaw Czerpak
3da598e9d5 2009-02-09 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/hsx/hsx.c
    * keep HSX indexes in global table synced by mutex instead of
      using thread storage data (TSD) on HVM stack. It allows to
      move HSX indexes between threads, f.e. when workarea is moved
      by HB_DEATCH()/HB_REQUEST()
2009-02-09 13:55:30 +00:00
Viktor Szakats
357acc1f38 2009-02-09 12:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/fstemp.c
    ! Added cast for MSVC warning. (this code part was 
      formerly only active for non-Windows builds)

  * include/hbapifs.h
  * source/rtl/fstemp.c
  * source/rtl/filebuf.c
    * UCHAR -> BYTE in new FS functions, for consistency.
2009-02-09 11:43:46 +00:00
Viktor Szakats
7799f9234e 2009-02-08 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
  * source/rtl/spfiles.c
    + Added hb_spFileExists(). Same as hb_spFile(), but uses
      the more efficient (especially on networks) hb_fsFileExists()
      call to check for file exitance.
      [ not very elegant solution, as I've just copied the
      whole function, and changed the file existance call, maybe
      a worker function + passing the check function pointer
      could help, but the hb_fsFile() and hb_fsFileExists() workings
      differ slightly. ]

  * source/rdd/dbfntx/dbfntx1.c
  * source/rdd/dbfnsx/dbfnsx1.c
  * source/rdd/dbfcdx/dbfcdx1.c
  * source/rdd/dbf1.c
    % Using hb_spFileExists() instead of hb_spFile().
      This API also works for dirs where use doesn't have file listing
      rights, which may create a slight incompatibility by finding
      files which weren't found by former method (and by Clipper).
      C:\WINDOWS\TEMP\*.* were such when logged in as non-admin user,
      but this dir is only used as a default TEMP dir for DOS programs.
      Please speak up if you find this issue (or something else) to
      be problem.

  * source/rtl/file.c
    * File naming standardized.

  * doc/whatsnew.txt
    * Minor updates.
2009-02-08 21:36:57 +00:00
Viktor Szakats
eefe474f98 2009-02-08 18:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
    * BYTE -> CHAR (Windows)

  * contrib/hbct/ctwin.c
  * contrib/hbct/ctwin.h
    + Added hb_ctwGetPosWindows() to find out which window
      is visible on a given physical screen coordinate.

  * make_b32.mak
  * make_gcc.mak
  * make_vc.mak
    * Formatting.

  * include/hbdefs.h
    + Added type HB_COLOR to replace current BYTE.
    * Minor formatting.

  * contrib/rddsql/sddfb/make_b32.bat
  * contrib/rddsql/sddfb/make_vc.bat
  * contrib/rddsql/sddmy/make_b32.bat
  * contrib/rddsql/sddmy/make_vc.bat
  * contrib/rddsql/sddpg/make_b32.bat
  * contrib/rddsql/sddpg/make_vc.bat
    * Minor cleanup.

  * source/vm/hvm.c
  * source/vm/memvars.c
    * Added varnames to prototypes.
2009-02-08 17:07:38 +00:00
Przemyslaw Czerpak
73c7f2a2bd 2009-02-07 02:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/fstemp.c
    * casting for C++ mode
2009-02-07 01:11:03 +00:00
Viktor Szakats
ad83c96712 2009-02-07 01:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
  * include/hbextern.ch
  * source/rtl/fstemp.c
  * source/rtl/filebuf.c
    + Added hb_fsCreateTempEx(). Similar to hb_fsCreateTemp(),
      but allows to control the extension. Note, that the
      ordering of parameters ha slightly changed compared to
      hb_fsCreateTemp().
    + Added hb_fileCreateTempEx(). See above.
    + Added Harbour level HB_FTEMPCREATEEX(). See above.
    ; Please review & test.
2009-02-07 00:22:40 +00:00
Viktor Szakats
e6f65375b1 2009-02-07 00:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/debug/dbgentry.c
    % Using HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() macros.
2009-02-06 23:27:41 +00:00
Viktor Szakats
027fa965de 2009-02-07 00:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/Makefile
  - include/hbfixdj.h
  * include/hbsetup.h
    - Removed file no longer needed. Harbour no longer uses
      is*()/toupper()/tolower() calls, or <ctype.h>.

  * source/rtl/gtpca/gtpca.c
    % Removed #include <ctype.h>.
2009-02-06 23:23:20 +00:00
Przemyslaw Czerpak
e339973046 2009-02-07 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
  * harbour/include/hbapi.h
    * moved HB_ISSPACE(), HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() from
      hbapi.h to hbdefs.h
    + HB_ISXDIGIT() macro

  * harbour/include/hbpp.h
    * updated other HB_PP_IS*() macros definitions to internally use HB_IS*()
      ones

  * harbour/source/rtl/fstemp.c
    ! fixed unterminated ASCIIZ string

   TODO: new macros HB_CHARVAL( c ), HB_CHARXVAL( c ),
                    HB_VALDIGIT( i ), HB_VALXDIGIT( i )
2009-02-06 23:18:19 +00:00
Viktor Szakats
a341b29acd 2009-02-06 23:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
  * harbour-wce-spec
  * harbour-win-spec
  * harbour.spec
  * make_b32.bat
  * make_b32.mak
  * make_gcc.mak
  * make_gcc.sh
  * make_gnu.bat
  * make_gnu.sh
  * make_gnu_os2.cmd
  * make_gnu_xmingw.sh
  * make_gnu_xmingwce.sh
  * make_vc.bat
  * make_vc.mak
  * mpkg_tgz.sh
  * bin/hb-func.sh
  * bin/hb-mkslib.sh
  * bin/hbmk.bat
  * bin/hbmk_os2.cmd
  * bin/postinst.sh
  * config/bin.cf
  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/bcc16.cf
  * config/dos/djgpp.cf
  * config/dos/owatcom.cf
  * config/dos/rsx32.cf
  * config/hpux/gcc.cf
  * config/lib.cf
  * config/linux/gcc.cf
  * config/linux/owatcom.cf
  * config/os2/gcc.cf
  * config/os2/icc.cf
  * config/rules.cf
  * config/sunos/gcc.cf
  * config/win/bcc32.cf
  * config/win/dm.cf
  * config/win/gcc.cf
  * config/win/icc.cf
  * config/win/mingw.cf
  * config/win/mingwce.cf
  * config/win/msvc.cf
  * config/win/msvcce.cf
  * config/win/owatcom.cf
  * config/win/pocc.cf
  * config/win/pocc64.cf
  * config/win/poccce.cf
  * config/win/rsxnt.cf
  * config/win/xcc.cf
  * contrib/gtalleg/Makefile
  * contrib/hbapollo/Makefile
  * contrib/hbcurl/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbgd/tests/hbmk_b32.bat
  * contrib/hbgd/tests/hbmk_vc.bat
  * contrib/hbgf/hbgfgtk/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbtip/ChangeLog
  * contrib/hbwhat/Makefile
  * contrib/hbwhat/tests/hbmk_b32.bat
  * contrib/hbwhat/tests/hbmk_vc.bat
  * contrib/mtpl_b32.bat
  * contrib/mtpl_b32.mak
  * contrib/mtpl_gcc.mak
  * contrib/mtpl_gcc.sh
  * contrib/mtpl_vc.bat
  * contrib/mtpl_vc.mak
  * contrib/rddads/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * doc/es/tracing.txt
  * doc/gmake.txt
  * doc/tracing.txt
  * include/hbapi.h
  * source/main/harbour.c
  * source/pp/hbpp.c
  * source/rdd/dbffpt/Makefile
  * source/vm/cmdarg.c
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * tests/multifnc/Makefile
  * tests/testid.prg
  * utils/hbdoc/Makefile
  * utils/hbi18n/Makefile
  * utils/hbmake/hbmake.prg
  * utils/hbmake/Makefile
  * utils/hbrun/Makefile
  * utils/hbtest/Makefile
    * Renamed remaining build configration envvars:
      - PRG_USR -> HB_USER_PRGFLAGS
      - C_USR   -> HB_USER_CFLAGS
      - L_USR   -> HB_USER_LDFLAGS
      - A_USR   -> HB_USER_AFLAGS
      - MK_USR  -> HB_USER_MAKEFLAGS
      (finally settled with HB_USER* instead of HB_USR*,
      this also means that HB_USER_LIBS was kept unchanged.)
    ; Please update your environment.
      You may use these commands to make it easy:
      gsar -o -sPRG_USR -rHB_USER_PRGFLAGS  *
      gsar -o -sC_USR   -rHB_USER_CFLAGS    *
      gsar -o -sL_USR   -rHB_USER_LDFLAGS   *
      gsar -o -sA_USR   -rHB_USER_AFLAGS    *
      gsar -o -sMK_USR  -rHB_USER_MAKEFLAGS *
2009-02-06 23:15:37 +00:00
Viktor Szakats
c8c773d604 2009-02-06 21:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    - Removed HB_ISSPACE(). It was already defined.

  * include/hbset.h
  * contrib/hbct/ctwin.c
  * contrib/hbct/ctwin.h
  * source/vm/set.c
    * BYTE -> UCHAR
2009-02-06 20:36:37 +00:00
Viktor Szakats
fd9c6b84c3 2009-02-06 20:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/codepage/cptr857.c
  * source/codepage/cphu852s.c
  * source/codepage/cphuwins.c
  * source/codepage/cphuisos.c
  * source/codepage/cpes850c.c
    ! Fixed accents Far Manager (one of its new plugins probably)
      messed up.
2009-02-06 19:03:27 +00:00