Commit Graph

8188 Commits

Author SHA1 Message Date
Viktor Szakats
631010f4ae 2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     * Some cleanups on appearance.
     * Company names removed (except CA).

   * contrib/rddads/adsmgmnt.c
     * Minor formatting.

   + contrib/examples/dbu/hb_dbu.dif
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/readme.txt
     + Added .dif file with a patch fixing some 
       multiplatforms issues in original dbu source.
       It's a quick hack, I might have missed something, 
       and I didn't do any testing. Add your own fix, 
       if you have some.
     * DBU_DIR -> HB_DIR_DBU

   * make_b32.mak
   * contrib/mtpl_b32.mak
   * config/w32/bcc32.cf
     + Added following switches for BCC:
       -d: merge duplicate strings (was enabled already in GNU make)
       -w: enable warnings.
       -w-sig-: disable 'Conversion may lose significant digits' warnings.
2008-05-30 15:47:57 +00:00
Viktor Szakats
f7e81a1402 2008-05-30 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     - Removed WIN32_LEAN_AND_MEAN to make things more standard.
       We're losing some compile time performance for Windows build, 
       but it's marginal. Runtime performance is not affected.

   * contrib/hbgd/gdwrp.c
     * Removed BCC55 hack to workaround WIN32_LEAN_AND_MEAN 
       problem.
2008-05-30 10:18:29 +00:00
Viktor Szakats
b788d7d5f1 2008-05-30 12:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
   * include/hbsetup.h
   * source/common/hbverdsp.c
   * source/vm/arrays.c
     - HB_FUNC_CALLCONV - no longer used.
     - HARBOUR_OBJ_GENERATION - no longer used.
     + Added profiler setting to build info.
     - YACC debug setting removed frmo build info.
     * Build info strict compatibility line now says 5.2e/5.3b.
     * HB_EXTENSION renamed to "non-portable extension"
     - HB_COMP_STRONG_TYPES - no longer used.
     - HB_FIX_ACOPY_BUG
       Replaced with a HB_C52_STRICT guard, but locally 
       overridden to always be strict (thus replicating 
       the bug). This means no change in functionality 
       for default builds. In any ways this is not a decision 
       to make by the Harbour users. If anyone had this 
       locally #defined anyway, pls shout.
     ; NOTE: It's nice that I'm removing unused stuff, but 
             my impression is that by time we have added 
             quite some new such settings burried in the code, 
             so if you're aware of any such ones, please 
             add them to hbsetup.h (or let's discuss which 
             ones to add).
2008-05-30 10:14:32 +00:00
Viktor Szakats
5c1eaa88f6 2008-05-30 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgd/gdwrp.c
     * Tweaked the BCC55 hack for WIN32_LEAN_AND_MEAN and gd.h.
2008-05-30 09:49:31 +00:00
Przemyslaw Czerpak
15f3b83782 2008-05-30 09:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/extrap.c
    ! disabled SetUnhandledExceptionFilter() for WinCE builds

  * harbour/contrib/hbole/ole2.c
    * cleaned compilation in different env C/C++/UNICODE/compilers

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! do not use HB_ID_REF() for _WIN64 - I would like to ask someone
      with Win64 to verify current Harbour build status?
2008-05-30 07:42:07 +00:00
Viktor Szakats
79072d5798 2008-05-30 09:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/apollo.c
     ! Added __BORLAND__ specific hack to suppress numerous 
       non-ANSI warnings in foreign header.
       (#define _declspec __declspec)

   * contrib/hbapollo/apollo1.prg
     + File ending CRLF.

   * contrib/hbgd/gdwrp.c
     ! Fixed to explicitly include <windows.h> for __BORLANDC__ 
       only. The reason for this hack is still unknwown, if 
       anyone could help to investigate this, it would be great.
2008-05-30 07:35:54 +00:00
Przemyslaw Czerpak
76b3f96d1d 2008-05-30 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
    * removed unnecessary variable

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! use trick with HB_ID_REF() only for BCC and MSVC
      some other C++ compilers like OpenWatcom have different
      header files and does not need it.
2008-05-30 01:47:31 +00:00
Przemyslaw Czerpak
5472511ddc 2008-05-30 02:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/extrap.c
    * moved code to set exception handler from hvm.c to extrap.c
    + added void hb_vmSetExceptionHandler( void ) to set exception
      filter
    ! fixed problem with C++ builds caused by missing extern "C"
      declaration for exception handlers in extrap.c
2008-05-30 00:48:06 +00:00
Viktor Szakats
10a36db3fa typo 2008-05-29 23:56:13 +00:00
Viktor Szakats
fe590e585a 2008-05-30 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
     * Some internal envvars are now cleared on exit.
     * Some internal var names standardized (-> _HB_*).
2008-05-29 23:55:32 +00:00
Przemyslaw Czerpak
c5630e1eb6 2008-05-30 01:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
    ! fixed memory leak in FILEDELETE() reported by Ed - thanks.
2008-05-29 23:36:06 +00:00
Przemyslaw Czerpak
f5043f6a64 2008-05-30 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/estack.c
    * declare hb_stack as static variable when HB_STACK_MACROS is
      disabled to be sure that non extern code will access hb_stack
      It's very important to eliminate such code before we add MT
      support.

  * harbour/source/vm/hvm.c
    * changed hb_vmFrame() to work in the same way as hb_vmVFrame()

  * harbour/source/rtl/hbgtcore.c
    ! fixed wrong clear column in right horizontal scrolling

  * harbour/source/rtl/memoedit.prg
    * use hb_inkeySetLast( n ) instead of KEYBOARD Chr( n ) ; InKey()
2008-05-29 22:15:25 +00:00
Viktor Szakats
f42f92f69c 2008-05-29 20:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
     - HB_NO_BCC_MAX_OPENFILES_HACK - no longer used.

   * include/hbsetup.h
     - HB_ASORT_OPT_ITEMCOPY - no longer used.
     - HB_FAST_STOD - no longer used.
2008-05-29 19:06:15 +00:00
Viktor Szakats
bcd588a9f5 2008-05-29 20:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/dateshb.c
   * source/rtl/datesx.c
     % Reworked to be a bit faster than non-HB_FAST_STOD.
     - Removed HB_FAST_STOD build time option, because it wasn't 
       safe. It caused reaching into undefined buffers when 
       passed string was shorter than 8 chars.
2008-05-29 18:39:35 +00:00
Viktor Szakats
f4f6d4a691 2008-05-29 20:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/hvm.c
     * Minor formatting.

   + source/vm/extrap.c
     + Added. Now for real. Thanks Luis.
2008-05-29 18:21:36 +00:00
Viktor Szakats
6898da8511 2008-05-29 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * source/vm/Makefile
   * source/vm/mainwin.c
   * source/vm/estack.c
   + source/vm/extrap.c
   * source/vm/hvm.c
     * Rearranged/cleaned up exception handlers.
     * Renamed OS/2 one to comply with namespace rules.
     * Moved from estack.c/mainwin.c to extrap.c and hvm.c.
     * win32 ex.handler now enabled by default at HVM startup.
     * win32 ex.handler now writes exception info into hb_ex.log.
     * win32 ex.handler now pops up a MessageBox() by default.
       We should consider removing this but currently the default 
       Windows handler kicks in anyway, which is also a GUI dialog.
     ; TODO: A common way to log these errors across all platforms.
     ; NOTE: HB_INCLUDE_WINEXCHANDLER is not used by Harbour anymore.
     ; NOTE: Please test OS/2
2008-05-29 17:38:35 +00:00
Viktor Szakats
4c522aa507 typo 2008-05-29 16:20:39 +00:00
Viktor Szakats
05de32a8d7 2008-05-29 17:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/make_gcc.sh
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/hbfbird/make_gcc.sh
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbapollo/make_gcc.sh
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/make_vc_all.bat
   * contrib/hbhpdf/make_gcc.sh
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbpgsql/make_gcc.sh
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_gcc.sh
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/hbfimage/make_gcc.sh
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_gcc.sh
   * contrib/hbgd/make_vc.bat
     * Changed envvars pointing to external packages to comply 
       with our own rules:
          APOLLO_DIR    -> HB_DIR_APOLLO   
          FIREBIRD_DIR  -> HB_DIR_FIREBIRD 
          FREEIMAGE_DIR -> HB_DIR_FREEIMAGE
          GD_DIR        -> HB_DIR_GD       
          MYSQL_DIR     -> HB_DIR_MYSQL    
          PDFLIB_DIR    -> HB_DIR_PDFLIB   
          PGSQL_DIR     -> HB_DIR_PGSQL    
          ADS_DIR       -> HB_DIR_ADS      
          LIBHARU_DIR   -> HB_DIR_LIBHARU  
          (same rule for <package>_INC -> HB_INC_<package>)
       Sorry folks, but you'll need to update your env.
       (I can send a 'gsar' script to help that)
     + Added option for non-GNU BCC/VC contrib makes to 
       accept HB_INC_<package> format envvars to specify 
       the include dir only, so that we're now in sync with 
       the non-GNU GCC build system (make_gcc.sh).
     ; TODO: HB_LIB_<package> (or HB_BIN_<package>) is still 
       to be done any .dll/.lib handling.
2008-05-29 15:41:22 +00:00
Viktor Szakats
e9afeddcdb 2008-05-29 17:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     * ::picture(), ::PutMask(), ::unTransform() moved next 
       to each other for easier editing/fixing.

   * common.mak
   - source/common/hbfhnd.c
   * source/common/Makefile
     - Removed file not used by Harbour anymore.

   * contrib/hbole/ole2.c
     ! Fixed OLE C++ errors under MSVC. Using Przemek's method.
     ; TOFIX: This one is still left:
        .\ole2.c(714) : error C2664: 'HRESULT (IUnknown *,const IID &,void **)' : cannot convert parameter 2 from 'LPIID' to 'const IID &'
            Reason: cannot convert from 'LPIID' to 'const IID'
            No constructor could take the source type, or constructor overload resolution was ambiguous
2008-05-29 15:08:08 +00:00
Viktor Szakats
779bae8d93 typo in ChangeLog entry 2008-05-29 12:55:58 +00:00
Viktor Szakats
aaf872a602 corrections to ChangeLog entry 2008-05-29 10:02:34 +00:00
Viktor Szakats
63d35fa484 2008-05-29 11:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
     + Some tests added.

   * source/rtl/tget.prg
     + Some notes about C5.x behaviour.
     ! Formatting/indentation fixes.
     % Minor optimizations.

   * contrib/xhb/Makefile
   * contrib/xhb/common.mak
     ! Added hbfast.h, hbxml.h

   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
     ! Fixed two BCC warnings in new code.

   * contrib/hbgd/gdwrp.c
     ! Changed to generate proper extern references even 
       for BCC. Now tests compile OK.
       The trick was to explicitly #include <windows.h> 
       before all the other headers, instead of just requesting 
       it using HB_OS_WIN_32_USED.

   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbct/ct.h
   * contrib/hbpgsql/postgres.c
     - Removed #defining _CLIPDEFS_H. It's only needed when 
       using Clipper compatibility API headers (*.api, extend.h).
2008-05-29 09:48:52 +00:00
Przemyslaw Czerpak
680d7f9d8b 2008-05-29 03:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvtcore.c
  * harbour/contrib/hbw32/w32_ole.c
    ! fixed compilation in C++ mode
2008-05-29 01:01:44 +00:00
Viktor Szakats
c4ab4caa12 typo 2008-05-28 20:45:41 +00:00
Viktor Szakats
672f463a2e 2008-05-28 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/hbpcre/cnv_o2hb.bat
   * source/hbpcre/cnv_hb2o.bat
     + Added COPYING

   * contrib/hbfimage/tests/fitest.prg
   * contrib/hbfimage/fi_wrp.c
     + Added FI_LOADFROMMEM(), FI_GETFILETYPEFROMMEM()
     ; Borrowed from Pavel Tsarenko / xhb.

   * contrib/hbclipsm/gauge.c
     % Minor rearrangement.

   * contrib/hbmysql/make_vc.bat
     ! #defining __WIN32__ to make it build under VC.
   
   ; NOTE: C++ builds of everything related to OLE2 
           are broken. Could someone look into it?
           (hbw32, gtwvg, hbole under BCC and MSVC)
2008-05-28 20:44:09 +00:00
Przemyslaw Czerpak
f900de7f0a 2008-05-28 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/Makefile
    * respect HB_WITHOUT_ODBC and HB_WITHOUT_ADS envvars

  * harbour/debian/control
  * harbour/make_deb.sh
    * removed libncurses5-dev, libslang2-dev, libgpmg1-dev, libx11-dev and
      unixodbc-dev from dependences list.
    + added support for HB_COMMERCE=yes envvar
    + added automatic detection for curses, slang, gpm, x11 and odbc
      devel packages
    + added test for ACESDK detection - it tests if ach.h file exists
      in default user or system wide installation

    The above modifications are not tested and I would like to ask
    Debian/Ubuntu users to make necessary tests.
2008-05-28 19:53:26 +00:00
Przemyslaw Czerpak
20a09256ce 2008-05-28 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/hbzlib/ChangeLog
  * harbour/source/hbzlib/zutil.c
  * harbour/source/hbzlib/gzio.c
  * harbour/source/hbzlib/zutil.h
  * harbour/source/hbzlib/zconf.h
    * use _WINCE macro instead of _WIN32_WCE to detect WinCE builds
      defining _WIN32_WCE interacts with header files and should be
      left for user to specify exact WinCE version
2008-05-28 16:42:35 +00:00
Przemyslaw Czerpak
4662f73fd3 2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
  * harbour/make_rpm.sh
    * removed --with zlib switch - now zlib will be created in all builds
    * added hbzlib library
    * added hbmzip library - MiniZIP wrapper to manage ZIP files

  * harbour/contrib/Makefile
    * added hbmzip library to default builds

  * harbour/include/hbzlib.h
    ! changed \ in include path
    ! added relative paths for LCC and XCC

  * harbour/bin/hb-func.sh
    * updated for hbzlib library in core code and hbmzip in contrib

  * harbour/utils/hbdot/Makefile
  * harbour/utils/hbrun/Makefile
    * added hbzlib library to linked library list

  * harbour/include/hbzlib.h
  * harbour/bin/hb-func.sh
  * harbour/make_gcc.mak
  * harbour/config/darwin/gcc.cf
  * harbour/config/hpux/gcc.cf
  * harbour/config/linux/gcc.cf
  * harbour/config/sunos/gcc.cf
  * harbour/config/bsd/gcc.cf
  * harbour/utils/hbdot/Makefile
  * harbour/utils/hbrun/Makefile
    + added support for compilation with HB_EXT_ZLIB macro
      It forces using external (OS) ZLIB library instead of hbzlib.
      Still some other make files should be updated to respect it.
2008-05-28 14:37:33 +00:00
Viktor Szakats
5961b204c8 2008-05-28 14:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
   * bin/bld_os2.cmd
     + Added hbzlib
     + Added hbpcre for OS/2.

   - contrib/hbzlib
     - Removed.
2008-05-28 12:44:07 +00:00
Viktor Szakats
31bd015517 2008-05-28 14:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * include/Makefile
   + include/hbzlib.ch
   + include/hbzlib.h
   * include/hbextern.ch
   + source/rtl/hbzlib.c
   * source/rtl/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
   * contrib/Makefile
   + contrib/hbmzip
   + contrib/hbmzip/Makefile
   + contrib/hbmzip/common.mak
   + contrib/hbmzip/make_b32.bat
   + contrib/hbmzip/make_vc.bat
   + contrib/hbmzip/make_gcc.sh
   + contrib/hbmzip/hbmzip.ch
   + contrib/hbmzip/ioapi.c
   + contrib/hbmzip/zip.c
   + contrib/hbmzip/unzip.c
   + contrib/hbmzip/ioapi.h
   + contrib/hbmzip/crypt.h
   + contrib/hbmzip/zip.h
   + contrib/hbmzip/unzip.h
   + contrib/hbmzip/hbmzip.c
   + contrib/hbmzip/readme.txt
   + contrib/hbmzip/tests
   + contrib/hbmzip/tests/bld_b32.bat
   + contrib/hbmzip/tests/bld_vc.bat
   + contrib/hbmzip/tests/myzip.prg
   + contrib/hbmzip/tests/myunzip.prg
     + Added hbzlib.h which is a simple wrapper to source/hbzlib/zlib.h.
     * Moved ZLIB specific Harbour wrappers and header from /contrib/hbzlib
       to /source/rtl.
     + Added /contrib/hbmzip lib based on /contrib/hbzlib.
       Copy + modify was used to keep the repo history.
       hbmzip contains all the MiniZip parts from former /contrib/hbzlib.
       New hbmzip header file: hbmzip.ch
     + Added new Harbour level zip functions to hbextern.ch.
     ; TODO: Remove /contrib/hbzlib, add core hbzlib to lib lists.
2008-05-28 12:39:33 +00:00
Viktor Szakats
62010a5a1d 2008-05-28 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/hbzlib/adler32.c
   * source/hbzlib/ChangeLog
   * source/hbzlib/compress.c
   * source/hbzlib/crc32.c
   * source/hbzlib/deflate.c
   * source/hbzlib/gzio.c
   * source/hbzlib/infback.c
   * source/hbzlib/inffast.c
   * source/hbzlib/inflate.c
   * source/hbzlib/inftrees.c
   * source/hbzlib/trees.c
   * source/hbzlib/uncompr.c
   * source/hbzlib/zconf.h
   * source/hbzlib/zutil.c
     + Added modified ZLIB sources, with many tweaks 
       to compile cleanly under Harbour.
       Thanks to Przemek for it.

   + source/hbpcre/LICENCE
   + source/hbzlib/README
     + Added legal text to foreign libs.
2008-05-28 11:37:26 +00:00
Viktor Szakats
6c6adce9d7 2008-05-28 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * make_b32.mak
   * make_vc.mak
   * make_vcce.mak
   * make_gcc.mak
   * source/Makefile
   + source/hbzlib
   + source/hbzlib/ChangeLog
   + source/hbzlib/adler32.c
   + source/hbzlib/compress.c
   + source/hbzlib/crc32.c
   + source/hbzlib/crc32.h
   + source/hbzlib/deflate.c
   + source/hbzlib/deflate.h
   + source/hbzlib/gzio.c
   + source/hbzlib/infback.c
   + source/hbzlib/inffast.c
   + source/hbzlib/inffast.h
   + source/hbzlib/inffixed.h
   + source/hbzlib/inflate.c
   + source/hbzlib/inflate.h
   + source/hbzlib/inftrees.c
   + source/hbzlib/inftrees.h
   + source/hbzlib/Makefile
   + source/hbzlib/trees.c
   + source/hbzlib/trees.h
   + source/hbzlib/uncompr.c
   + source/hbzlib/zconf.h
   + source/hbzlib/zlib.h
   + source/hbzlib/zutil.c
   + source/hbzlib/zutil.h
     + Added unmodified ZLIB sources to Harbour core.
     + Added them to make systems.
     ; Work in progress.
2008-05-28 11:32:37 +00:00
Viktor Szakats
cd95343116 2008-05-28 12:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     % Flow cleanup.
2008-05-28 10:31:34 +00:00
Viktor Szakats
ceeff3c354 2008-05-28 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     ! Fixed ::unTransform() padding for strings with @R picture.
       (Edmer Issue #1)
     ! Fixed ::unTransform() to not use the "Chr( 1 )" hack to 
       remove certain chars from string. (there is still one such 
       remaining)
     ! Fixed ::unTransform() padding with zero decimals for numerics.
       This cleared some differences in rto_get.prg.
     ! Fixed ::toDecPos() to not crash with non-numeric vars.
     - Removed some XBase++ specific code which is not 
       needed for Harbour.
     - Removed some other unnecessary code dealing with '.'/',' swapping.
     % Minor cleanups.
     ; WARNING! Please test these with real code, as we have no extensive 
       regression test suite for the above code parts.

   * tests/rto_get.prg
     + Added some test cases (and counter test cases) for 
       problems reported by Edmer.

   * source/hbpcre/cnv_o2hb.bat
   * source/hbpcre/cnv_hb2o.bat
     ! Fix for potential s&r problem.
       (not adapted to converted code yet)

   * contrib/xhb/Makefile
   * contrib/xhb/common.mak
   + contrib/xhb/xstrdel.c
     + STRDEL() added from Walter Negro / xhb.

   * contrib/rddads/adsfunc.c
     + Minor correction to HB_TRACE handling.

   * contrib/hbfimage/fi_winfu.c
     % Removed unused var.
2008-05-28 10:19:43 +00:00
Przemyslaw Czerpak
2c051a4220 2008-05-28 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrdddbf.h
  * harbour/include/hbapirdd.h
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/usrrdd/usrrdd.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbbmcdx/bmdbfcdx1.c
    + added ULONG ulConnection parameter to DROP() and EXISTS()
      RDD node methods
    + added 4-th parameter with ulConncetion index to [HB_]DROP() and
      [HB_]EXISTS() functions
2008-05-28 09:48:57 +00:00
Przemyslaw Czerpak
4ee46dc32d 2008-05-27 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_deb.sh
    ! fixes suggested by Guy Roussin
2008-05-27 20:49:46 +00:00
Przemyslaw Czerpak
a12a063ce2 2008-05-27 22:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
    * added hbvpdf library
2008-05-27 20:36:57 +00:00
Przemyslaw Czerpak
77394377fb 2008-05-27 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/idle.c
    * updated included header files
    * removed unnecessary separated code for MacOSX
    * small modification in comment

  * harbour/source/hbpcre/pcreinal.h
    ! do not redefine BOOL type and TRUE / FALSE definitions

  * harbour/source/hbpcre/_hbpcreg.c
    * remap memory functions to Harbour core ones

  * harbour/source/hbpcre/pcrevutf.c
  * harbour/source/hbpcre/pcreoutf.c
  * harbour/source/hbpcre/pcrecomp.c
    * pacify warnings when utf8 mode is disabled

  * harbour/source/hbpcre/pcrefind.c
    * casting

  * harbour/contrib/gtwvg/wvtutils.c
  * harbour/contrib/rddads/adsfunc.c
    * cleanup warnings
2008-05-27 15:12:00 +00:00
Viktor Szakats
4761f7a5af 2008-05-27 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
   * source/vm/hvm.c
   * source/vm/cmdarg.c
     + Added support for internal switch format:
       --hb:<internal switch>
       //hb:<internal switch>
       Both are equivalent to original CA-Cl*pper:
       //<internal switch>
2008-05-27 07:46:37 +00:00
Viktor Szakats
e81d9dc3e8 2008-05-27 04:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
     - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ 
       macros.
2008-05-27 02:15:42 +00:00
Viktor Szakats
81e4af2571 2008-05-27 04:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwhat32/_windlg.c
   * contrib/hbole/ole2.c
   * contrib/hbfbird/firebird.c
   * contrib/hbziparch/zipnew.cpp
   * contrib/hbziparch/hbcomprs.c
   * contrib/hbnf/dispc.c
   * contrib/gtwvg/wvtutils.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
     ! MSVC error and warnings fixes.
     ; TOFIX: Several of them remain. Some contribs don't 
       compile (gtwvg, hbole, hbw32) at all in C++ mode.

   * contrib/mtpl_vc.mak
     - Removed explicily defining WIN32, __WIN32__, __WINDOWS__ 
       macros.
2008-05-27 02:11:29 +00:00
Viktor Szakats
8b06380b17 2008-05-27 03:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
     + MSVC now sets the lib dir globally, so lib names don't 
       need to contain the path anymore.

   * source/vm/fm.c
     * Minor cleanup.

   - contrib/hbgd/tests/bldtest.sh
   + contrib/hbgd/tests/bld.sh
     * Update, cleanup, SVN header.
2008-05-27 01:23:22 +00:00
Przemyslaw Czerpak
8fe45da932 2008-05-27 03:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/tbrowse.prg
    ! fixed cursor positioning when it's moved faster then record
      buffer refreshed. It should also fix flickering problem reported
      by Viktor - please test.
2008-05-27 01:08:45 +00:00
Viktor Szakats
3e913b6607 fixed bogus English sentence 2008-05-26 15:05:41 +00:00
Viktor Szakats
4425d27401 2008-05-26 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * source/hbpcre/Makefile
   * source/hbpcre/chartabs.c -- changes
   * source/hbpcre/config.h
   * source/hbpcre/pcre.h
   * source/hbpcre/pcrecomp.c
   * source/hbpcre/pcreconf.c
   * source/hbpcre/pcredfa.c
   * source/hbpcre/pcreexec.c
   * source/hbpcre/pcrefind.c
   * source/hbpcre/pcrefinf.c
   * source/hbpcre/pcreget.c
   * source/hbpcre/pcreinal.h
   * source/hbpcre/pcreinfo.c
   * source/hbpcre/pcremktb.c
   * source/hbpcre/pcreoutf.c
   * source/hbpcre/pcrerefc.c
   * source/hbpcre/pcrestud.c
   * source/hbpcre/pcretabs.c
   * source/hbpcre/pcretryf.c
   * source/hbpcre/pcrever.c
   * source/hbpcre/pcrevutf.c
   * source/hbpcre/pcrexcls.c
   * source/hbpcre/ucp.h
   * source/hbpcre/ucpinter.h
   - source/hbpcre/pcreglob.c -- renames
   + source/hbpcre/_hbpcreg.c
   - source/hbpcre/pcreprni.c
   + source/hbpcre/pcreprni.h
   - source/hbpcre/ucptable.c
   + source/hbpcre/ucptable.h
   + source/hbpcre/_hbconf.h  -- new files
   + source/hbpcre/pcrenewl.c
   - source/hbpcre/dftables.c -- deletion
     + Updated to PCRE 7.7 (from 6.3)
     ; Original code not (yet) modified, so some warnings 
       may appear in foreign code.
     ; Please test.

   + source/hbpcre/cnv_hb2o.bat
   + source/hbpcre/cnv_o2hb.bat
     + Added batch files to make to conversion from 
       original PCRE source files into Harbour.
2008-05-26 15:03:16 +00:00
Viktor Szakats
9b8db0c3de 2008-05-26 12:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbclipsm/gauge.c
     ! Fixed GPF in GaugeNew(). Old bug.
       (leak and non-function was a misreport, it 
       was indeed this GPF. Now it works correctly.)
2008-05-26 10:24:44 +00:00
Viktor Szakats
b5d578680c 2008-05-26 12:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
   * source/vm/extend.c
     + Added hb_retc_null() which is equivalent to 
       hb_retc( NULL ) and will return an empty string.
       I opted for this because hb_retc( NULL ) usage is not 
       compatible with CA-Cl*pper _retc(), so it might create 
       problems when writing C code intended for both Clipper 
       and Harbour.

   * contrib/hbclipsm/stack.c
   * contrib/hbclipsm/environ.c
   * contrib/hbclipsm/status.c
   * contrib/hbclipsm/gauge.c
     % Optimizations.
     ; TOFIX: GAUGE*() still leaks and doesn't seem to function.

   * contrib/rddads/adsmgmnt.c
     % Optimizations (using hb_arraySet*()).
     ! Fixed typo in ADSMGGETOPENTABLES2().
2008-05-26 10:15:27 +00:00
Viktor Szakats
2940317c15 2008-05-26 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmsql/make_b32.bat
   * contrib/hbmsql/make_vc.bat
   * contrib/hbmsql/msql.c
     + Now automatically setting _OS_WIN32, no need to
       use special CFLAGS anymore.
2008-05-26 09:28:55 +00:00
Viktor Szakats
5a3de021e0 2008-05-26 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbgd/include
   - contrib/hbgd/doc/COPYING
     ! Removed foreign headers.

   * contrib/hbgd/gdwrp.c
     ! Minor comment correction.
2008-05-26 09:23:52 +00:00
Pritpal Bedi
eb0ccbea59 2008-05-25 17:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Fixed two resource leaks.
2008-05-26 00:43:22 +00:00