Commit Graph

7633 Commits

Author SHA1 Message Date
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
Viktor Szakats
f110caef78 2007-11-11 14:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
     + Added HB_DLL_DIR for BC too.
     ! Minor fix for VC: echo -> echo.
2007-11-11 13:52:11 +00:00
Viktor Szakats
c1d0b17fbc 2007-11-11 14:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tpopup.prg
   * source/rtl/ttopbar.prg
   * source/rtl/tmenuitm.prg
     ! MENUITEM class :row and :col vars changed to 
       :__row and :__col, instead of adding HB_EXTENSION 
       guards to them, because they are needed internally.

   * source/rtl/browse.prg
   * source/rtl/tbrowse.prg
     * Two mouse-wheel handling extensions now rather 
       guarded with HB_C52_STRICT.

   * source/rtl/gete.c
     ! Fixed GETENV()/GETE() to return an empty string when 
       called with more than one parameter, to be fully 
       C5.x compatible.

   * source/vm/proc.c
     ! PROCFILE() HB_EXTENSION guard changed to HB_C52_STRICT.
       Since PROCFILE() is an undocumented function in C5.x 
       we can legally extend it in Harbour.

   * include/hbsetup.ch
     * Turned off HB_EXTENSION for the default build.
       Now HB_EXTENSION covers all the extensions which 
       in some ways violates namespace rules or extends 
       functionality of existing CA-Cl*pper functions 
       or classes in an "invisible" (or "dirty") way, like 
       adding new parameters or accepting new types of parameters.
       In case we want to keep some extended functionality 
       in the default build, we'll need to create new 
       function names. For class extensions, I'm not yet 
       sure what is the proper way to go.
       In case of ML*() functions, I think they should respect 
       SET EOL instead of accepting EOL settings as parameters.
2007-11-11 13:42:46 +00:00
Viktor Szakats
a3afecac5c 2007-11-11 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tbrowse.prg
     ! Fixed to compile with HB_C52_STRICT.

   * contrib/rdd_ads/make_vc.bat
   * contrib/odbc/make_vc.bat
     ! Fixed .dll to .lib generation to work using GNU sed.
       (now it doesn't need exports.sed anymore).
       NOTE: I'm not sure if the batch tricks will work 
             on every flavour of Windows. It should for 
             W2K and above though, probably NT too.
     ! Fixed to pick .dlls from HB_DLL_DIR, which when not 
       defined points to system32 dir.
     ; I know "sed" dependency is not optimal, but we can remove 
       this later if we have better solution, until then 
       it cannot hurt and it's better than nothing.
       "sed" is a free tool included in mingw32, cygwin, 
       and also downloadable as a self-contained .exe from 
       the gnuwin32 project:
       http://gnuwin32.sourceforge.net/packages/sed.htm
       Direct link to bin package:
       http://gnuwin32.sourceforge.net/downlinks/sed-bin-zip.php
       (it cannot hurt to have this in ones "utils" dir anyway :)
       
   * contrib/odbc/make_b32.bat
   - contrib/odbc/odbc32.def
     - Removed .def file from repository. .lib have to 
       be generated from live .dll instead of this old 
       .def.
2007-11-11 12:52:48 +00:00
Viktor Szakats
1386d4e96b fix to prev 2007-11-11 12:08:43 +00:00
Viktor Szakats
97aad59548 2007-11-11 12:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/std.ch
     ! SET STRICTREAD command definition fixed.

   * include/hbextern.ch
     ! Fixed placement of MENUMODAL, to compile when HB_COMPAT_C53
       is turned off.

   * contrib/libmisc/Makefile
     ! Fixed test dir name. (broken since yesterday)

   * contrib/pdflib/common.mak
     + Added another file.

   + contrib/pdflib/Makefile
     + Added GNU make file for pdflib.

   * utils/hbdoc/ft_funcs.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/hbmake.prg
     ! Made them compile with HB_COMPAT_C53 turned off.
       There is a loss of functionality in this case.
       (MAKEDIR(), DIRCHANGE() and @ CHECKBOX are used here)

   * source/rtl/menuto.prg
   * source/rtl/tgetlist.prg
     ! Fixed to compile when HB_COMPAT_C53 is turned off.

   * include/hbextern.ch
   * source/rtl/defpath.c
   * source/rtl/adir.prg
     * __DEFPATH() is now always included, not just when HB_C52_UNDOC 
       is defined, since we use this function from core, and __*() 
       functions are okey to be included without this guard.
       DEFPATH() is still marked as HB_C52_UNDOC.
     ! ADIR() now uses __DEFPATH() instead of DEFPATH() to compile
       with HB_C52_UNDOC turned off.
     ; TOFIX: There are still a few functions we use from core, which 
       are guarded with HB_C52_UNDOC: NATIONMSG(), ISNEGATIVE()

   * source/vm/memvars.c
     * Changed HB_EXTENSION to HB_C52_STRICT. Reason: This 
       is a Harbour internal (undocumented) function, where extension 
       is possible. CA-Cl*pper internal (undocumented) function __MRESTORE()
       is mapped to this function, which is still okey. We could 
       create a fully CA-Cl*pper compatible, non-extended __MRESTORE() 
       without any trouble, if this is an issue.
2007-11-11 12:05:38 +00:00
Viktor Szakats
31f9030f34 2007-11-11 02:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/at.c
   * include/hbextern.ch
     + Added hb_At() which is equivalent to At() with 
       HB_EXTENSION turned on. Users are encouraged to 
       use hb_At(), and this is also a must inside core.

   * include/hbextern.ch
     ! Added missing hb_AIns(), hb_ADel(), hb_AScan()

   * source/rtl/persist.prg
     ! Fixed hard-wired EOL length.
     ! Fixed to not go into an infinite loop on 
       non EOL terminated texts. (Thanks Petr)
     ! Fixed to use hb_At() instead of extended At().
     ! Fixed to also handle LF delimited texts.
     ; All this in static function ExtractLine()

   * contrib/rdd_ads/doc/gendoc.bat
     ! Added version header.

   * contrib/hgf/tests/bld_b32.bat
     ! Some more minor cleanups.

   * contrib/pgsql/make_vc.bat
   * contrib/apollo/make_vc.bat
   * contrib/gd/make_vc.bat
   * contrib/adordd/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/btree/make_vc.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_vc.bat
     ! Fixed EOL-style.

   + contrib/libmisc/test
   - contrib/libmisc/tests
     * Dir rename.
2007-11-11 01:42:42 +00:00
Viktor Szakats
0cf59b987f 2007-11-11 01:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tpopup.prg
     ! Fixed a few problems regarding HB_EXTENSION guards.
       (one method declaration was mistakenly guarded, and one 
       IF construct broke when compiled without HB_EXTENSION)

   * source/rtl/mlcfunc.c
   * source/rtl/alert.prg
     ! Fixed unused var warnings when HB_EXTENSION is off.

   * contrib/hgf/tests/bld_b32.bat
     ! Some more fixes. (removed hard coded BCC path, and 
       a few wrong dirs)
     ; For me form3.hbf works without a closing EOL, under Windows.
       So the problem might rather be something else. For sure though,
       HBPersistent()'s EOL detection and handling is not portable (TOFIX).

   * source/compiler/hbcomp.c
     ! Reverted previous change for non-Unix platforms, regaring
       command-line output. Now Harbour will again use stderr/stdout 
       about the same way CA-Cl*pper does. However odd this is, 
       most DOS/Windows programs work this way, so the "when in Rome" 
       rule got in effect here. Otherwise, any DOS/Windows build 
       output (BC/VC/GCC) goes to stdout, _except_ Harbour 
       errors/warnings, and this is not a good thing. Still, the 
       //STDOUT:, //STDERR: switches could come handy to override 
       the platform defaults.
2007-11-11 01:07:49 +00:00
Viktor Szakats
0ebb791450 2007-11-11 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/std.ch
     * Removed HB_EXTENSION guard from around SET commands 
       implementing Harbour _SET_* extensions. The reason: 
       _SET_* extensions are not marked as extensions (and 
       it would be nearly impossibly to do so), so it's more 
       consistent to behave the same way for their command 
       counterparts.

   * utils/hbpp/hbpplib.c
     ! Removed HB_EXTENSION guard from around __PP*() functions 
       which are Harbour undocumented ones, so they don't need to 
       be guarded. We're also in sync with hbextern.ch now.

   * utils/hbtest/rt_stra.prg
     ! Removed HB_EXTENSION guard from around hb_ValToStr() calls, 
       because this function is no longer marked as HB_EXTENSION.

   * contrib/hgf/os2pm/tmenu.prg
   * contrib/hgf/os2pm/tmenuitm.prg
   * contrib/hgf/gtk/shared.ch
   * contrib/hgf/gtk/dispatch.c
   * contrib/hgf/gtk/creamenu.c
   * contrib/hgf/gtk/msginfo.c
   * contrib/hgf/gtk/creabutt.c
   * contrib/hgf/gtk/general.c
   * contrib/hgf/gtk/creawin.c
   * contrib/hgf/gtk/harbgtk.h
   * contrib/hgf/gtk/menuitem.prg
   * contrib/hgf/win32/button.prg
   * contrib/hgf/win32/edit.prg
   * contrib/hgf/win32/form.prg
   * contrib/hgf/win32/menu.prg
   * contrib/hgf/win32/menuitem.prg
   * contrib/hgf/win32/winctrl.prg
   * contrib/hgf/tests/bld_b32.bat
   * contrib/hgf/tests/form2.prg
   * contrib/hgf/tests/form3.prg
   * contrib/hgf/tests/form3.hbf
   * contrib/hgf/tests/form3res.prg
   * contrib/hgf/tests/formtext.prg
   * contrib/hgf/tests/testctrl.prg
   * contrib/hgf/tests/testform.prg
     ! Fixed bld_b32.bat to link properly.
     ! Changed HBMenuItem CLASS to HGFMenuItem() to not collide with 
       Harbour class HBMenuItem() (C53 compatibility class).
     ; The above reported by Petr Chornyj.
     ! Added CRLF at the end of each source file where there was none.
     ! Fixed version headers.
     ; TOFIX1: HBPersistent():LoadFromFile() has a bug where it doesn't 
               load the last line if it doesn't end with newline.
     ; TOFIX2: HBPersistent() uses At() "dirty" extension.

   * contrib/odbc/test/odbcdemo.prg
   - contrib/odbc/test/browodbc.prg
   * contrib/odbc/test/odbccall.prg
   * contrib/odbc/test/testodbc.prg
   * contrib/odbc/common.mak
   + contrib/odbc/browodbc.prg
     ! Moved back browodbc.prg to /contrib/odbc (since it was not a test, 
       just missing from the non-GNU make files)
       Reported by Petr Chornyj.
     ! Added browodbc.prg to non-GNU makefile.
     ! Added version headers.
2007-11-10 23:48:48 +00:00
Viktor Szakats
6e47dd35f5 2007-11-10 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
   - samples
   + contrib/examples
   * contrib/Makefile
   * contrib/examples/Makefile
   * contrib/examples/guestbk/inifiles.prg
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/guestbk/Makefile
   * contrib/examples/pe/pe.prg
   * contrib/examples/pe/Makefile
   * contrib/examples/misc/Makefile
   * contrib/examples/hscript/bld_b32.bat
   * contrib/examples/hscript/Makefile
   * contrib/examples/Makefile
     * Moved /samples to /contrib/examples
2007-11-10 17:04:20 +00:00
Viktor Szakats
6d733d7695 2007-11-10 17:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/hvm.c
     ! Fixed unused var warning when HB_NO_DEBUG was defined 
       and TRACE disabled. (Reported by Enrico Maria Giordano)
2007-11-10 16:40:54 +00:00
Viktor Szakats
050bed0d99 2007-11-10 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   * make_vc.bat
   * contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/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
   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
     ! Readded COPYCMD "hack" to core Harbour for fully portable
       "copy /y" functionality across all Micro$oft operating systems.
     + Same feature added for all contribs.

   * contrib/hbzlib/make_b32_dll.bat
   * contrib/hbzlib/make_b32_dll.mak
   * contrib/hbzlib/make_b32.bat
   - contrib/hbzlib/make_b32.mak
   * contrib/hbzlib/make_vc.bat
   - contrib/hbzlib/make_vc.mak
   + contrib/hbzlib/common.mak
     + Standardized make files (and some cleanup along the way)
     ; TODO: BC dll creating is still to be cleaned.
     ; TOFIX: Lots of warnings if compiled with standard BCC switch set.
     ; TOFIX: Lots of warnings when compiler for MSVC.

   * contrib/hgf/win32/win32.c
   * contrib/hgf/win32/form.prg
     ! Fixed one unused var warning in .prg code.
     ! Fixed to not use Harbour internals.
       (Petr, this should have the same effect as your request, 
       but pls test this change.)
2007-11-10 16:31:36 +00:00
Viktor Szakats
b582aa43c0 2007-11-10 12:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/libmisc/common.mak
   * contrib/apollo/common.mak
   * contrib/libnf/common.mak
   * contrib/gd/common.mak
   * contrib/htmllib/common.mak
   * contrib/tip/common.mak
   * contrib/adordd/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/libgt/common.mak
   * contrib/btree/common.mak
   * contrib/win32/common.mak
   * contrib/directx/common.mak
   * contrib/samples/common.mak
   * contrib/mysql/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/pgsql/common.mak
     ! .obj -> $(OBJEXT)

   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
     ! Minor fix.

   + contrib/pdflib/make_vc.bat
   + contrib/pdflib/make_b32.bat
   + contrib/pdflib/common.mak
   + contrib/pdflib/pdf1.prg
   + contrib/pdflib/pdfhbdoc.ch
   + contrib/pdflib/pdf.ch
   + contrib/pdflib/pdfhbdocs.prg
   * contrib/pdflib/pdflib.h
   * contrib/pdflib/pdfhbdoc.c
     * Borrowed from xhb.
     ! Fixed HB_ITEM -> PHB_ITEM.
     ! Fixed warnings.
     + Added non-GNU make files.
     ; NOTE: I didn't test this, it would be great if someone would.
2007-11-10 11:31:17 +00:00
Viktor Szakats
4c6474e9ca minor fix to prev 2007-11-10 05:08:13 +00:00