Commit Graph

7646 Commits

Author SHA1 Message Date
Viktor Szakats
3d9bb70ea4 2007-11-19 15:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/examples/dbu
   + contrib/examples/dbu/readme.txt
   + contrib/examples/dbu/bld_b32.bat
   + contrib/examples/dbu/Makefile
     + Added make files for original CA-Cl*pper DBU.
       One will need to original sources to compile.
2007-11-19 14:25:56 +00:00
Viktor Szakats
b9e0fe4942 2007-11-18 23:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/mtpl_b32.bat
   + contrib/mtpl_vc.bat
     + Added generic non-GNU make batch files.
     ; Thanks to Marek.

   * utils/hbmake/hbmutils.prg
     ! Some untested fixes to hbmake. If someone 
       uses this tool, pls send reports.

   - contrib/mkall_b32.bat
   * contrib/make_b32_all.bat
   + contrib/make_vc_all.bat
     * Renamed.
     + VC version added.

   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Minor fix by Marek.

   * contrib/rdd_ads/doc/gendoc.bat
     ! Fix to run from its place.

   * contrib/rdd_ads/adsmgmnt.c
     ! Fixed to compile with ADS 8.10.
       #define ADS_VER=810 (or upper) to enable this.

   * contrib/rdd_ads/rddads.h
     ! Fixed to compile using original ads.h headers.
       (tested with 6.11, 7.00, 7.10, 8.00, 8.10)

   * contrib/rdd_ads/ads1.c
   * contrib/rdd_ads/adsfunc.c
     ! Suppressed this BCC32 warning using #pragma:
       'Call to function 'AdsApplicationExit' with no prototype in function ...'

   + contrib/rdd_ads/unixutils.h
     + Added dummy header to fix compilation under 
       Linux, using the original ads.h headers.
       Not tested. Supposed to replace the workaround 
       currently in local ads.h where '#include "unixutils.h"'
       is commented out.

   * contrib/rdd_ads/readme.txt
     ! Added SVN header.

   * contrib/pgsql/Makefile
   * contrib/pgsql/common.mak
     + Added pgrdd.prg to make files.

   - contrib/pgsql/tstpgrdd.prg
   + contrib/pgsql/tests/tstpgrdd.prg
     ! Moved test to test dir.

   * contrib/pgsql/pgrdd.prg
     ! Fixed warnings.

   - contrib/pgsql/README
   + contrib/pgsql/readme.txt
     * Rename.

   * contrib/pgsql/common.mak
     ! Lib name change: libhbpg -> hbpg

   + contrib/pgsql/tests/bld_b32.bat
     + Added test app build helper.

   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/ole/make_b32.bat
   * contrib/ole/make_vc.bat
   * contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
   * contrib/telepath/make_b32.bat
   * contrib/telepath/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/samples/make_b32.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_b32.bat
   * contrib/bmdbfcdx/make_vc.bat
     % Using the batch file templates.
     + Some other additions and fixes related to make it easy 
       to specifiy 3rd party package locations.
       These envvars can be used for our libs:
       set APOLLO_DIR=C:\Apollo
       set FIREBIRD_DIR=C:\Firebird
       set FREEIMAGE_DIR=C:\FreeImage
       set GD_DIR=C:\gd
       set MYSQL_DIR=C:\mysql
       set PDFLIB_DIR=C:\pdflib
       set PGSQL_DIR=C:\pgsql
2007-11-19 14:13:53 +00:00
Pritpal Bedi
3a4ac7e069 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/xhb/hbcomprs.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbchksum.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbcomprs.h

     Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available.
     Borrowed from xHarbour.
2007-11-18 20:20:19 +00:00
Pritpal Bedi
7e0c350327 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/xhb/hbcomprs.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbchksum.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbcomprs.h

     Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available.
     Borrowed from xHarbour.
2007-11-18 20:18:44 +00:00
Viktor Szakats
fde4638c38 2007-11-18 13:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
     + Added xhb SecondsSleep() translation.

   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
     ! Some fixes.

   * contrib/libct/cttime.prg
     ! SECTOTIME() fix. Borrowed from xhb.

   * contrib/apollo/apollo.c
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
     ! Fixed and tested with latest downloadable package.

   * contrib/win32/w32_tprn.prg
   * contrib/win32/w32_prn.c
     + Minor fix (from xhb)

   * source/rtl/errorint.c
     ! Defaulting all string parameters to "" when they are NULL 
       to avoid any potential problems later in the function.

   * source/rtl/hbgtcore.c
     % Passing NULL instead of "" in hb_errInternal() calls.

   * source/vm/itemapi.c
     ! Internal error is lauched in case the parameters passed 
       to hb_itemPutCLConst() are violating string item rules.
       Thanks for Mindaugas for the suggestion.
       TOFIX: Since this violation will most probably happen in 
              contrib/win32 OLE code, we'll need to fix that 
              code too.

   * utils/hbmake/hbmake.prg
     ! Fixed to not request wvtgui.lib.
2007-11-18 12:46:48 +00:00
Viktor Szakats
16d2cf86ff 2007-11-17 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32.bat
   * contrib/make_vc.bat
   * contrib/mkall_b32.bat
     ! Added SVN headers.
     ! Fixed SVN properties (keywords, eol-style=CRLF).
2007-11-17 11:42:49 +00:00
Viktor Szakats
34fdbe542b 2007-11-17 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/cstructc.c
   * contrib/make_b32.bat
     ! Some fixes for recent changes.
2007-11-17 11:13:04 +00:00
Marek Paliwoda
7be9faad25 2007-11-17 09:19:59 +00:00
Marek Paliwoda
6fe02c420d 2007-11-17 09:12:59 +00:00
Marek Paliwoda
6704886940 2007-11-17 06:21:13 +00:00
Marek Paliwoda
1ef51c8a25 2007-11-17 06:20:31 +00:00
Viktor Szakats
cef43d1277 2007-11-17 03:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/win32/w32_ole.c
     ! Fixed more direct item accesses.
       Now only complicated cases remain.

2007-11-17 03:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
   * make_vcce.bat
   * make_vcce.mak
     ! Minor corrections (syncing with existing files).

   * doc/genhtm.bat
     ! Minor fix to make it work out of the box.
     - Some obsolete stuff removed from it.

   * include/hbapiitm.h
   * include/hbapi.h
   * source/vm/itemapi.c
     + Added hb_itemPutCLConst() which is the same as 
       hb_itemPutCConst() but the buffer length can be passed.
       Same as xhb hb_itemPutCRawStatic().

   + contrib/xhb/hbcompat.h
     + Added C level compatibility header file.

   * contrib/win32/w32_ole.c
     ! hb_itemPutCRawStatic() -> hb_itemPutCLConst()
     ! Some more xhb API calls changed to Harbour ones.
     ! TraceLog() -> HB_TRACE()
     ! HB_ITEM s_OleAuto -> PHB_ITEM s_pOleAuto
       TOFIX (new): s_pOleAuto is not freed on app exit.
     ! Fixed a few more internal accesses by using API 
       calls.
     ; NOTE: There are four more complicated problems here 
             to be solved:
             1) hb_stackSetActionRequest() call
             2) Passing direct references to HB_ITEM .value 
                members to external functions.
             3) Storing "hidden" information in string ITEMs 
                prepended after the strings' actual content.
             4) Not freeing s_pOleAuto (this var BTW is used in 
                one static function only)

   * source/rtl/hbinet.c
   * source/rdd/dbcmd.c
     ! Changed some xhb C level API calls to Harbour ones.

   * contrib/xhb/Makefile
   * contrib/freeimage/Makefile
   * contrib/apollo/Makefile
   * contrib/firebird/Makefile
   * contrib/libct/Makefile
   * contrib/telepath/Makefile
   * contrib/pgsql/Makefile
   * contrib/gd/Makefile
   * contrib/libnf/Makefile
   * contrib/tip/Makefile
   * contrib/adordd/Makefile
   * contrib/rdd_ads/Makefile
   * contrib/btree/Makefile
   * contrib/samples/Makefile
   * contrib/mysql/Makefile
   * contrib/odbc/Makefile
   * contrib/pdflib/Makefile
     ! Added C and Harbour public headers to GNU makefiles.
     ! Added one missing SVN header.

   * contrib/pdflib/pdfhbdoc.ch
   * contrib/pdflib/pdf.ch
     ! Added missing SVN headers.

   - contrib/pdflib/pdflib.h
     - Removed this file which belongs to the pdflib 
       package. This package is needed anyway to use 
       this contrib. (but the contrib is badly broken)

   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
     ! Minor typo.

   * source/rtl/persist.prg
     ! Prefixed static var name with "s_"
2007-11-17 02:48:16 +00:00
Viktor Szakats
6b9e24dd93 2007-11-17 03:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_vcce.bat
   * make_vcce.mak
     ! Minor corrections (syncing with existing files).

   * doc/genhtm.bat
     ! Minor fix to make it work out of the box.
     - Some obsolete stuff removed from it.

   * include/hbapiitm.h
   * include/hbapi.h
   * source/vm/itemapi.c
     + Added hb_itemPutCLConst() which is the same as 
       hb_itemPutCConst() but the buffer length can be passed.
       Same as xhb hb_itemPutCRawStatic().

   + contrib/xhb/hbcompat.h
     + Added C level compatibility header file.

   * contrib/win32/w32_ole.c
     ! hb_itemPutCRawStatic() -> hb_itemPutCLConst()
     ! Some more xhb API calls changed to Harbour ones.
     ! TraceLog() -> HB_TRACE()
     ! HB_ITEM s_OleAuto -> PHB_ITEM s_pOleAuto
       TOFIX (new): s_pOleAuto is not freed on app exit.
     ! Fixed a few more internal accesses by using API 
       calls.
     ; NOTE: There are four more complicated problems here 
             to be solved:
             1) hb_stackSetActionRequest() call
             2) Passing direct references to HB_ITEM .value 
                members to external functions.
             3) Storing "hidden" information in string ITEMs 
                prepended after the strings' actual content.
             4) Not freeing s_pOleAuto (this var BTW is used in 
                one static function only)

   * source/rtl/hbinet.c
   * source/rdd/dbcmd.c
     ! Changed some xhb C level API calls to Harbour ones.

   * contrib/xhb/Makefile
   * contrib/freeimage/Makefile
   * contrib/apollo/Makefile
   * contrib/firebird/Makefile
   * contrib/libct/Makefile
   * contrib/telepath/Makefile
   * contrib/pgsql/Makefile
   * contrib/gd/Makefile
   * contrib/libnf/Makefile
   * contrib/tip/Makefile
   * contrib/adordd/Makefile
   * contrib/rdd_ads/Makefile
   * contrib/btree/Makefile
   * contrib/samples/Makefile
   * contrib/mysql/Makefile
   * contrib/odbc/Makefile
   * contrib/pdflib/Makefile
     ! Added C and Harbour public headers to GNU makefiles.
     ! Added one missing SVN header.

   * contrib/pdflib/pdfhbdoc.ch
   * contrib/pdflib/pdf.ch
     ! Added missing SVN headers.

   - contrib/pdflib/pdflib.h
     - Removed this file which belongs to the pdflib 
       package. This package is needed anyway to use 
       this contrib. (but the contrib is badly broken)

   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
     ! Minor typo.

   * source/rtl/persist.prg
     ! Prefixed static var name with "s_"
2007-11-17 02:26:51 +00:00
Viktor Szakats
762459a349 2007-11-16 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/win32/w32_ole.c
     ! Some trivial cases fixed where low-level stuff was 
       directly accessed.
     ! Some remaining static vars prefixed with s_.
2007-11-16 20:07:20 +00:00
Viktor Szakats
d0f63f2253 2007-11-16 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/natmsgu.c
     ! Typo fixed.
2007-11-16 19:09:10 +00:00
Marek Paliwoda
978df1a5ae 2007-11-16 16:58:10 +00:00
Viktor Szakats
9e835b11e4 2007-11-16 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
   * make_vc.mak
     ! Fixed BC/VC make files to generated pptable.c in the obj 
       dir instead of source/pp.
     ! Synced BC/VC pptable.c dependencies with make_gcc.mak
     ; Suggested by Przemek.

   * make_gcc.mak
     ! Fixed to not delete source/pp/pptable.c on clean
       (since it's never generated there).
2007-11-16 14:38:03 +00:00
Viktor Szakats
0de23eaa4f 2007-11-16 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
     ! Minor fix in comments.

   * contrib/xhb/hbcompat.ch
     + Added hb_rddInfo() translation for xhb apps.

   * common.mak
   * include/hbextern.ch
   * source/rtl/Makefile
   + source/rtl/natmsgu.c
   * source/rtl/natmsg.c
     + Added Harbour internal version of undocument Clipper 
       Nat*() (and friends) calls. These are always available 
       in core.
       Harbour __natIsAffirm()   = Clipper IsAffirm()
       Harbour __natIsNegative() = Clipper IsNegative()
       Harbour __natMsg()        = Clipper NationMsg()
       Harbour __natSortVer()    = Clipper _NatSortVer()
       Harbour __natMsgVer()     = Clipper _NatMsgVer()

   * utils/hbtest/rt_misc.prg
   * source/rtl/dircmd.prg
   * source/rtl/getsys.prg
   * source/rtl/tgetlist.prg
   * source/rtl/tlabel.prg
   * source/rtl/treport.prg
     ! Now using Harbour internal __NAT*() functions 
       instead of C5.x undocumented calls, so Harbour 
       will now compile with HB_C52_UNDOC turned off.
2007-11-16 13:48:29 +00:00
Viktor Szakats
3105623c05 fix to prev entry 2007-11-16 09:15:36 +00:00
Viktor Szakats
882b41f195 2007-11-16 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/freeimage
   + contrib/freeimage/Makefile
   + contrib/freeimage/make_b32.bat
   + contrib/freeimage/make_vc.bat
   + contrib/freeimage/common.mak
   + contrib/freeimage/freeimage.ch
   + contrib/freeimage/fi_winfu.c
   + contrib/freeimage/fi_wrp.c
   + contrib/freeimage/readme.txt
   + contrib/freeimage/test
   + contrib/freeimage/test/bld_b32.bat
   + contrib/freeimage/test/fitest.prg
   + contrib/freeimage/test/sample1.jpg
   + contrib/freeimage/test/italia.gif
   + contrib/freeimage/test/fsg.jpg
   + contrib/freeimage/test/images_out
     + Added FreeImage OSS library Harbour interface.
     ! Some minor fixes and file rearrangements made.
     + Added std make files.
     ; TOFIX: There is still a potentially dangerous 
              warning to be fixed in FI_GETBACKGROUNDCOLOR()
     ; Borrowed from xhb.
     ; NOTE: The lib made some features available through the xhb 
             specific C struct functionality. Since such functionality 
             is not implemented in Harbour, the library would need 
             to be extened with some more wrappers to make C level 
             vars accessible from Harbour code. But even without 
             this functionality, the lib seems quite useful.
     ; NOTE: The lib also has some Windows specific 

   + contrib/xhb/hbfast.h
     + Added this file to enhance C interface code compatibility 
       with xhb.

   * contrib/firebird/*
     ! Fixed SVN properties.
2007-11-16 00:38:52 +00:00
Viktor Szakats
9d2bf591e4 fix to chglog 2007-11-15 19:49:53 +00:00
Viktor Szakats
043cd01674 2007-11-15 20:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/firebird
   + contrib/firebird/Makefile
   + contrib/firebird/make_b32.bat
   + contrib/firebird/make_vc.bat
   + contrib/firebird/common.mak
   + contrib/firebird/tfirebird.prg
   + contrib/firebird/firebird.c
   + contrib/firebird/readme.txt
   + contrib/firebird/test
   + contrib/firebird/test/Makefile
   + contrib/firebird/test/bld_b32.bat
   + contrib/firebird/test/simple.prg
   + contrib/firebird/test/test.prg
   + contrib/firebird/test/stress.prg
   + contrib/firebird/test/testapi.c
     + Added firebird library, with some warnings and other 
       minor things fixed, and Harbour std non-GNU make / build 
       files added.
     ; TOFIX: There is still a potentially dangerous 
              warning to be fixed in FBGETBLOB().

   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     ! Fixed to not override C_USR set by user.

   + contrib/mysql/test
   + contrib/mysql/test/test.prg
   - contrib/mysql/test.prg
     * Moved test file to test dir.
2007-11-15 19:48:32 +00:00
Viktor Szakats
e6124ce8bf 2007-11-15 00:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/samples/make_b32.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_b32.bat
   * contrib/bmdbfcdx/make_vc.bat
     ! Removed HB_*_INSTALL manipulation from .bat files.
     ! Different but compatible logic added on batch file 
       level for odbc and rddads, where the batch file is 
       copying the .dll .libs to the final install dir.
2007-11-14 23:24:27 +00:00
Viktor Szakats
a35b2d9643 2007-11-14 23:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * include/hbextern.ch
   * source/rdd/Makefile
   + source/rdd/rddinfo.c
   * source/rdd/dbcmd.c
   + source/rdd/dbdrop.c
   + source/rdd/dbcmd53.c
   + source/rdd/dbexists.c
   + source/rdd/fieldhb.c
     ! Moved away C53 functions to a separate file.
     + Added HB_RDDGETTEMPALIAS() as a documented version 
       of the long existing __RDDGETTEMPALIAS(). The latter 
       name still kept for compatibility.
     ! Moved away non-namespace conformant HB_EXTENSIONs 
       to separate files to cause less harm form those not 
       wanting these or already using these names in app 
       code.
     + Added HB_RDDINFO() namespace conformant version of 
       the RDDINFO() Harbour extension. RDDINFO() still works 
       but it's now defined in a separate file to cause less 
       potential harm.
     - Removed HB_EXTENSION guards from around DBDROP(), DBEXISTS(), 
       RDDINFO(), FIELDLEN(), FIELDDEC(), FIELDTYPE() non namespace 
       conformant Harbour extensions.
     ; Przemek: I'm sorry you didn't bother to answer, so I 
       just can hope these address the problems you were having.

   * source/rdd/sdf1.c
   * source/rdd/delim1.c
     ! Removed two __XHARBOUR__ guards, by making the guarded 
       code the default. We have SET EOL support in Harbour now, 
       so this seems okey. If not, tell.
     ; TOFIX: We still have __XHARBOUR__ #defines in pp/ppcore.c 
       and debug/debugger.prg.

   * include/hbsetup.ch
     ! HB_EXTENSION turned off.
2007-11-14 23:08:54 +00:00
Przemyslaw Czerpak
c0fb1e05b5 2007-11-14 21:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    * updated for different then GCC host C compiler name
      (DJGPP in DOS and MINGW32 in MS-Windows)
2007-11-14 20:54:20 +00:00
Przemyslaw Czerpak
1a936ea93a 2007-11-14 19:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
  * harbour/source/common/hbwince.c
  * harbour/utils/hbver/hbverfix.c
    * modified for clean compilation with POCC/XCC and ARM processors
2007-11-14 18:00:38 +00:00
Przemyslaw Czerpak
c4ec7e4711 2007-11-14 17:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    * updated for recently modified hb-mkslib.sh name in cross builds
2007-11-14 16:07:31 +00:00
Przemyslaw Czerpak
5b7b7842da 2007-11-14 15:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    ! added -D__PLATFORM__Windows for non MS-Windows based hosts I
      removed by mistake in previous commit

  * harbour/bin/hb-mkslib.sh
  * harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
    * in cross builds changed hb-mkslib.sh name to respect prefix used
      by other hb* scripts (f.e. hbce or hbw) and set destination platform
      to fixed value
2007-11-14 14:55:47 +00:00
Przemyslaw Czerpak
841c07c586 2007-11-14 14:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    * cleaned possible warning message when host computer is controlled
      by MS-Windows cross build
    ! fixed harbour.exe and hbppgen.exe detecting in Windows
2007-11-14 13:46:03 +00:00
Przemyslaw Czerpak
8ff94c3c3d 2007-11-14 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/codepage/Makefile
  + harbour/source/codepage/cpesmwin.c
  - harbour/source/codepage/cpesmwi.c
    * renamed

  * harbour/source/rtl/cdpapi.c
    ! do not use '~' as accented character marker if neither ACCENTED_EQUAL
      nor ACCENTED_INTERLEAVED is set - in some CPs '~' is a letter
    ! use '~' as accented character marker only if it exists in UPPER and
      LOWER letter sets - our CP code cannot properly decode letter sets
      when this condition is not true - it should be fixed (TOFIX)
    ! use '.' as multibyte character marker only if it exists in UPPER and
      LOWER letter sets - our CP code cannot properly decode letter sets
      when this condition is not true - it should be fixed (TOFIX)

  * harbour/source/codepage/cpeldos.c
  * harbour/source/codepage/cpelwin.c
    * updated accent marker upper letters to be the same as in lower ones
      Greek users should fix me.
2007-11-14 01:01:01 +00:00
Przemyslaw Czerpak
97bbd37551 2007-11-14 00:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_gcc.sh
  * harbour/make_gnu.sh
  * harbour/make_tgz.sh
    * updated for new MSYS versions
2007-11-13 23:51:45 +00:00
Przemyslaw Czerpak
f183c8fc32 2007-11-13 22:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/strcase.c
    * casting
2007-11-13 21:59:45 +00:00
Przemyslaw Czerpak
78267f6fb6 2007-11-13 22:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    ! fixed bad typo in my last modification
2007-11-13 21:22:52 +00:00
Przemyslaw Czerpak
ebb74977d8 2007-11-13 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * do not include gtwin in harbour.dll for MinGW-CE builds
      gtwin can work only if additional (non standard) libraries
      are installed in WinCE/PocketPC so it should not be part
      of harbour.dll

  * harbour/source/rtl/gtwin/gtwin.c
    * removed HB_WINCE_USE_POCKET_CONSOLE macro
      It's not longer necessary when gtwin is not part of harbour.dll
2007-11-13 13:38:46 +00:00
Przemyslaw Czerpak
df61dfde04 2007-11-13 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
  * harbour/make_xmingw.sh
    * do not create compiler binaries in cross builds
    * use hbce and hbw prefixes for generated build scripts

  * harbour/make_tgz.sh
    * use strip from cross compiler instead of native one

  * harbour/include/Makefile
    + added missing header files

  * harbour/harbour.spec
    * minor cleanup

  * harbour/source/compiler/cmdcheck.c
    * accept internal option delimiters in define value
      (-d option, f.e.: '-dABC="QWE-ASD"')
2007-11-13 13:13:53 +00:00
Viktor Szakats
6f5f0b981b 2007-11-13 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/odbc/odbc.c
     ! MSVC casting warnings silenced.

   * utils/hbmake/hbmake.prg
     ! Fixed "$" used on array named s_cInvalidExt.
     ! Fixed to not include ct/tip/ctmt/tipmt in Harbour.
     ; The reports and fixes were provided by Bill Robertson.
2007-11-12 23:59:54 +00:00
Przemyslaw Czerpak
4ac8eb313f 2007-11-12 20:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    * do not redefine LongToHandle() for __XCC__ and __POCC__ WinCE builds

  * harbour/utils/hbver/hbverfix.c
    ! fixed typos in previous commit
2007-11-12 19:53:59 +00:00
Przemyslaw Czerpak
c8bc7d5225 2007-11-12 19:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/include/hbassert.h
  * harbour/include/hb_io.h
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/filesys.c
  * harbour/source/compiler/hbfix.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/hbdead.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/hbopt.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/hblbl.c
  * harbour/source/compiler/hbstripl.c
  * harbour/utils/hbver/hbverfix.c
  * harbour/utils/hbpp/hbppcore.c
    * removed dependences to unsupported by new MSVC header files
      most of this modifications can be enabled also for standard Win32
      builds

  * harbour/source/common/hbwince.c
    * do not create dummy LocalLock() and LocalUnlock() function in MSVC
      WinCE builds

  * harbour/source/rtl/gtwin/gtwin.c
    + added HB_WINCE_USE_POCKET_CONSOLE macro which enable
      console support in WINCE builds (macro suggested by Marek Paliwoda)

  * harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    * changed default window and font size on WinCE to values suggested
      by Marek Paliwoda

   Marek if you have a while please make test with MSVC WinCE/PocketPC
   builds and current SVN code.
2007-11-12 18:22:51 +00:00
Przemyslaw Czerpak
5de7824e15 2007-11-12 16:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/source/common/hbfsapi.c
    + added hb_fsMaxFilesError()

  * harbour/source/pp/ppcore.c
  * harbour/utils/hbpp/hbppcore.c
    * use hb_fsMaxFilesError() to avoid direct accessing of errno
      value - some compilers/platforms do not support errno

  * harbour/include/hbdate.h
  * harbour/source/rtl/seconds.c
    + added hb_dateMilliSeconds()

  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/inkey.c
    * use hb_dateMilliSeconds() to avoid using clock_t clock()
      some compilers/platforms do not support it

  * harbour/include/hbwince.h
  * harbour/source/common/hbwince.c
    * disabled clock_t clock() emulation - it's not longer used
    + added some declarations for ANSI functions emulated by us
      for WinCE and some defines - code sent by Marek Paliwoda

  * harbour/include/hbwmain.c
  * harbour/source/vm/mainwin.c
    * always use unicode translations with WinMain() parameters for compilers
      which do not set UNICODE macro for WinCE

  * harbour/source/rtl/fserror.c
    * do not include errno.h for HB_WIN32_IO - it's not necessary

  * harbour/utils/hbver/hbverfix.c
    * do not include errno.h for _MSC_VER and HB_WINCE builds

  * harbour/contrib/libmisc/dates2.c
    - commented DATETIME() function - this was not standard DATETIME()
      value but raw ctime() function output and some compilers/platforms
      do not support ctime()

  * harbour/contrib/libnf/getenvrn.c
    + added HB_OS_WIN_32_USED

  * harbour/contrib/mtpl.mak
  * harbour/contrib/pdflib/pdflib.h
    * replaced TABs with SPACEs

  * harbour/include/hbsetup.ch
    ! reenabled HB_EXTENSION in default builds - disabling it makes
      a lot of RDD code unusable and breaks default builds due to
      insufficient dependences
2007-11-12 15:10:28 +00:00
Viktor Szakats
0c9e8572bf fix to prev 2007-11-12 00:32:22 +00:00
Viktor Szakats
1088234125 2007-11-12 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmake/hbmake.prg
     ! Fixed warnings.

2007-11-12 01:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
   * include/hbapi.h
     + Added xhb compatibility #define for hb_storclenAdopt()
       (equivalent to Harbour's hb_storclen_buffer())

   * contrib/xhb/hbcompat.ch
     + Added xhb IsDirectory() <-> hb_DirExists() translation.
       Harbour version works using access(), while xhb version 
       does a filefind, so Harbour will return a more accurate 
       result more quickly, but it won't work with wildcards.

   * source/rtl/persist.prg
     % Using hb_StrShrink()

   * common.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/rtf.prg
   + utils/hbdoc/teeasc.prg
     + Synced with xhb.
     ; Someone who uses this tool, pls test.

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/pickarry.prg
   * utils/hbmake/radios.prg
   + utils/hbmake/readline.c
   + utils/hbmake/tmake.prg
     + Synced with xhb.
     ; Someone who uses this tool, pls test.
2007-11-12 00:30:31 +00:00
Viktor Szakats
58d5aab3fd fix to prev 2007-11-12 00:21:14 +00:00
Viktor Szakats
7477bf4448 2007-11-12 01:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
     + Added xhb compatibility #define for hb_storclenAdopt()
       (equivalent to Harbour's hb_storclen_buffer())

   * contrib/xhb/hbcompat.ch
     + Added xhb IsDirectory() <-> hb_DirExists() translation.
       Harbour version works using access(), while xhb version 
       does a filefind, so Harbour will return a more accurate 
       result more quickly, but it won't work with wildcards.

   * source/rtl/persist.prg
     % Using hb_StrShrink()

   * common.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/rtf.prg
   + utils/hbdoc/teeasc.prg
     + Synced with xhb.
     ; Someone who uses this tool, pls test.

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/pickarry.prg
   * utils/hbmake/radios.prg
   + utils/hbmake/readline.c
   + utils/hbmake/tmake.prg
     + Synced with xhb.
     ; Someone who uses this tool, pls test.
2007-11-12 00:16:26 +00:00
Viktor Szakats
f7de654b8b 2007-11-11 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * source/rtl/Makefile
   + source/rtl/getsys53.prg
   * source/rtl/getsys.prg
   + source/rtl/secondfs.c
   * source/rtl/seconds.c
   + source/rtl/mouse53.c
   * source/rtl/mouseapi.c
     + Some C53 and FlagShip functions moved to separate source file.

   * include/hbextern.ch
   * common.mak
   * source/rtl/Makefile
   + source/rtl/hbstrsh.c
   * utils/hbtest/rt_stra.prg
     + Added hb_StrShrink(<cString>[,<nShrinkBy>]) -> cStringShrinked
       <nShrinkBy> has a default value of 1. Returns empty string 
       on error, returns full string if <nShrinkBy> is zero or negative.
       This function call is meant to be use instead of code like this:
       cString := Left( cString, Len( cString ) - 1 ) ->
       cString := hb_StrShrink( cString, 1 )
       TODO: Maybe to support passing it by reference and make it even 
             faster.
     + Added regression tests for this function.
2007-11-11 21:55:39 +00:00
Viktor Szakats
6594d95506 minor fix to prev 2007-11-11 19:58:58 +00:00
Viktor Szakats
96d906cf55 2007-11-11 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/telepath
   + contrib/telepath/ChangeLog
   + contrib/telepath/Makefile
   + contrib/telepath/make_b32.bat
   + contrib/telepath/make_vc.bat
   + contrib/telepath/common.mak
   + contrib/telepath/telepath.ch
   + contrib/telepath/tplinux.c
   + contrib/telepath/tpwin32.c
   + contrib/telepath/tpos2.c
   + contrib/telepath/telepath.prg
   + contrib/telepath/readme.txt
   + contrib/telepath/test
   + contrib/telepath/test/testtp.prg
     + Added Telep*th(y) compatible contrib lib.
       Borrowed from xhb.

   * source/debug/dbgtobj.prg
     ! Fixed crash. Borrowed from xhb.
2007-11-11 17:56:06 +00:00
Viktor Szakats
1998e7017d typo in name corrected. 2007-11-11 17:11:26 +00:00
Viktor Szakats
c7863251db 2007-11-11 18:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     + Added support for HB_ROOT.
     + Now default HB_*_INSTALL dirs are set inside make files.
       (to avoid manipulating these envvars on the batch file level)

   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
     - Removed HB_*_INSTALL manipulation from .bat files.

   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
   - contrib/hgf/win32/make_b32.mak
   - contrib/hgf/win32/make_vc.mak
   + contrib/hgf/win32/common.mak
     + Now using contrib template make files.

   * make_b32.bat
   * make_vc.bat
   * common.mak
     ! Moved HB_*_INSTALL defaulting to make file level.

   + contrib/ole
   + contrib/ole/common.mak
   + contrib/ole/oleauto.prg
   + contrib/ole/test/sample.odt
   + contrib/ole/test/testole.prg
   + contrib/ole/test/bld_b32.bat
   + contrib/ole/ole2.c
   + contrib/ole/make_b32.bat
   + contrib/ole/make_vc.bat
   + contrib/ole/Makefile
     + Restored "old" OLE implementation, as it was reported 
       by Mindaugas Kavaliaskuas that it works better in some 
       respects than the newer version in /contrib/win32.
       Until we know further about the details there is no 
       reason to not have this contrib.
     + Added CreateObject() and GetActiveObject() to enhance 
       compatibility with newer implementation.
     + Standardized make files.
     * test moved to test dir.
     + Added VC make file.

   * contrib/win32/test/testole.prg
   + contrib/ole/test/testole.prg
     + The two test apps from the two OLE implementations 
       were merged and now they are the same. A quick look 
       shows differences when detecting the presence of 
       an OLE object. "old" OLE GPFs with "new" OLE method, 
       "new" OLE RTEs with "old" OLE method.

   * pdflib/common.mak
   * pdflib/pdf1.prg
   * pdflib/pdfhbdocs.prg
   * pdflib/pdfhbdoc.c
   * pdflib/Makefile
     ! Removed GLOBAL requirement.
     ! Moved away C code inside .prg.
     ! Fixed some unused var warnings.
     ! Removed some unused stuff.
     ; Now there are clashing symbols. I suspect this is an 
       unfinished contrib, even in xhb.
2007-11-11 17:08:43 +00:00
Viktor Szakats
35e0112e3f 2007-11-11 16:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
     + Added hb_At() translation to extended At()

   * contrib/tip/popcln.prg
   * contrib/tip/mail.prg
     ! Changed extended At() to hb_At().
2007-11-11 15:08:20 +00:00
Viktor Szakats
292dd19552 2007-11-11 16:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
     + Added extended At() translation to hb_At()

   * contrib/tip/ftpcln.prg
     ! Changed extended At() to hb_At(). (Thanks Petr)
2007-11-11 15:05:43 +00:00