Commit Graph

1591 Commits

Author SHA1 Message Date
Viktor Szakats
a188940466 2008-07-29 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
     * Disabled following contribs, to be in sync with the default 
       GNU-make setup:
       hbsqlit2 - Too many warnings in unsupported foreign code. Replacement: hbsqlit3
       hbw32ddr - C++, not maintained, incomplete, warnings.
       hbwhat32 - Problems and warnings, non 64 bit compatible.
       hbziparch - C++, foreign code not well portable, interface 
                   code not Harbour quality. Replacement: hbmzip
     ; NOTE: We should consider what to do with these contribs.
2008-07-29 15:37:02 +00:00
Viktor Szakats
74a9559eef 2008-07-29 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbhpdf/Makefile
     ! Refixed to exclude hbhpdf from DOS builds.
2008-07-28 22:11:05 +00:00
Viktor Szakats
eab54ccf38 2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * harbour-w32-spec
   * include/hbver.h
   * harbour.spec
     * Removed 'rc2' tag in preparation for final release.

   * doc/whatsnew.txt
     ! Minor typos.

   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/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
     ! Fixed HB_DIR_* detection.
2008-07-28 13:10:22 +00:00
Przemyslaw Czerpak
738cecd913 2008-07-28 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    * converted TABs to SPACEs

  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * added const to some static array declarations
2008-07-28 10:37:57 +00:00
Przemyslaw Czerpak
90494c980d 2008-07-28 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/tests/myzip.prg
  * harbour/contrib/hbmzip/tests/myunzip.prg
    * minor cleanup
2008-07-28 00:48:11 +00:00
Przemyslaw Czerpak
0c030440ad 2008-07-26 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/tests/myzip.prg
    + added support for setting global comment
    + added support for scanning subdirectories
2008-07-26 15:05:52 +00:00
Przemyslaw Czerpak
6bfbdc7bd6 2008-07-26 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    ! fixed access to uninitialized member of z_stream by simple
      initialization. Anyhow it's minor bug in MINIZIP code exploited
      HB_ZipDeleteFile() which causes that TEXT flag is not set after
      raw binary file updating. There is also no API call to make it
      manually.
      
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbmzip/readme.txt
    + added HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/dirscan.prg
    + added HB_DirScan( cPath, cFileMask, cAttr )

  * harbour/source/rtl/strmatch.c
    + added HB_FileMatch( cFile, cPattern )

  * harbour/include/hbextern.ch
    + added HB_DirScan(), HB_FileMatch()

  * harbour/contrib/xhb/dirrec.prg
    * changed to use HB_DirScan()
2008-07-26 14:26:11 +00:00
Przemyslaw Czerpak
967c116538 2008-07-25 19:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    + added support to set archive comment:
         HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError
    + added support to get archive comment in append mode:
         HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ],
                     [ @cGlobalComment ] ) --> hZip
    + added support to set file comment:
         HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
                           nInternalAttr, nExternalAttr,
                           [ nMethod = HB_ZLIB_METHOD_DEFLATE ], 
                           [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ], 
                           [ cPassword ], [ cComment ] ) --> nError
         HB_ZipStoreFile( hZip, cFileName, [ cZipName ],
                          [ cPassword ], [ cComment ] ) --> nError
    + added new function which allow to extract archive comment:
         HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError
    + added support to extract file comment:
         HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime,
                           @nInternalAttr, @nExternalAttr,
                           @nMethod, @nSize, @nCompressedSize,
                           @cComment ) --> nError

  * harbour/contrib/hbmzip/readme.txt
    + added list of Harbour ZIP/UNZIP functions with parameters
2008-07-25 17:20:06 +00:00
Przemyslaw Czerpak
b85973b058 2008-07-25 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  + harbour/contrib/xhb/dirrec.prg
    + added DirectoryRecurse() function. It's not exactly xHarbour
      compatible as I wanted at the beginning. But when I begin
      to carefully check what xHarbour exactly does then I dropped
      the strict compatibility due to problems with xHarbour
      implementation which have to be fixed. I left this note in the
      dirrec.prg header:
         This implementation uses different rules then xHarbour one.
         It does not change current drive or current directory so
         unlike the xHarbour version it's MT safe.
         It also returns relative paths which are more similar to
         DIRECTORY() function results so they can be easy used
         directly in other code, f.e. to create archive without
         absolute paths. Please note that user can easy convert
         relative paths to absolte ones by simple adding curdir()
         and/or cPath parameter passed to DirectoryRecurse() but
         reverted conversion may not be possible in some cases.
         The 3-rd xHarbour parameter <lCaseMach> is ignored because
         harbour uses platform native rules to check filename mask
         respecting SET FILECASE and SET DIRCASE settings.
         xHarbour does not add "D" to attribute list used for directory
         tree scanning so user always have to add it manually and later
         it ignores it so it's not possible to extract file list with
         directories entries. In Harbour it's fixed.

  * harbour/source/rtl/philes.c
    + added hb_osFileMask()

  * harbour/source/rtl/direct.c
    % minor optimization
2008-07-25 13:24:57 +00:00
Viktor Szakats
3532757b39 2008-07-25 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
     ! Fixed bug reported by Juan Galvez.
     * Formatting, minor cleanup.
2008-07-25 09:34:12 +00:00
Viktor Szakats
6b5c8b82b5 2008-07-24 03:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Disabled string hashing for curl_formadd() with
       CURLFORM_COPYNAME. I've misread the docs (sorry Przemek), 
       hashing is only needed for CURLFORM_PTRNAME, which we 
       currently don't use. I've disbled some code to avoid 
       unused function warnings, but other than that it may 
       be good to have the possibility for hashing for future 
       functions too.
     ! Fixed/Added support for CURLFORM_COPYNAME parameter 
       with embedded zeroes by passing the string length 
       using CURLFORM_NAMELENGTH. Not tested.
2008-07-24 02:38:00 +00:00
Przemyslaw Czerpak
218fae2319 2008-07-23 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
    * pacified warnings
2008-07-23 19:45:01 +00:00
Przemyslaw Czerpak
54c95b390f 2008-07-23 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcurl/hbcurl.c
    * activate string hasing in all builds for curl_formadd() with
      CURLFORM_COPYNAME
    * do not use string hasing fro curl_slist_append()

    Many thanks to Viktor for help.
2008-07-23 13:06:21 +00:00
Przemyslaw Czerpak
770eb9f046 2008-07-23 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    * formatting

  * harbour/contrib/hbcurl/hbcurl.c
    + use hash table to keep strings passed to CURL library accessible
      even if HVM destroys them. It should allow to safely use HBCURL
      wrapper also with CURL library older then 7.17.0 though it can
      be a little bit expensive in some cases. The allocated strings
      are freed when CURL pointer is destroyed (directly or by
      CURL_EASY_CLEANUP()) or reset by CURL_EASY_RESET().
      This feature is enabled only when compiled for CURL libraries
      older then 7.17.0 or when user set explicitly compile time macro
      HB_CURL_HASH_STRINGS
      Viktor, you are more familiar with this code so please check it.
2008-07-23 10:19:33 +00:00
Przemyslaw Czerpak
344830d5f9 2008-07-22 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
  * harbour/contrib/hbmzip/unzip.c
    * use hb_xgrab()/hb_xfree() instead of malloc()/free()
2008-07-22 19:26:09 +00:00
Przemyslaw Czerpak
faf1b27f38 2008-07-22 19:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    * set OS version information in ZIP header when ZIP archive is
      created by *nix Harbour build. It's necessary to inform some
      zip packages (f.e. infozip/unzip) that they should respect POSIX
      file permission during decompression.
2008-07-22 17:27:23 +00:00
Przemyslaw Czerpak
5472af3b11 2008-07-22 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    ! fixed storing/setting file date, time and attributes in *nixes

  * harbour/include/hbapifs.h
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! replaced hack with direct bit conversion in *nixes attributes
      by bit testing
2008-07-22 15:19:06 +00:00
Przemyslaw Czerpak
83fbce1ea4 2008-07-22 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
  * harbour/contrib/hbmzip/hbmzip.c
    * use new hb_fs*() functions when native platform code does not exist
2008-07-22 13:08:22 +00:00
Viktor Szakats
3609cf9c0b 2008-07-22 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
   * source/rtl/filesys.c
     + Added skeletons for hb_fsGetAttr() and hb_fsGetFileTime()
       TODO: Implementation.

   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/Makefile
   - contrib/hbclipsm/dbf.c
   	 ! Removed duplicate implementation of DBF() from hbclipsm.lib

   ; TOFIX:
     I'm getting these new warnings under BCC55:
     Warning W8080 source\rtl\filesys.c 2718: '_fstat(int,_stat *)' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_disable()' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_enable()' is declared but never used
     Warning W8080 source\rtl\fssize.c 142: '_fstat(int,_stat *)' is declared but never used
2008-07-22 08:01:32 +00:00
Przemyslaw Czerpak
615a722297 2008-07-21 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/contrib/hbtip/ChangeLog
    * replaced TABs with SPACEs

  * harbour/source/compiler/genobj32.c
    ! fixed memory leak
      TODO: disable this module in default builds until it will not
      be fixed to generate valid OMF .obj files
2008-07-21 16:43:23 +00:00
Przemyslaw Czerpak
3d4a97040b 2008-07-17 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/dllcall.c
    * minor cleanup in return values

  * harbour/contrib/hbole/ole2.c
    * cleaned casting in UNICODE conversions

  * harbour/source/common/expropt2.c
    * replicate CA-Cl*pper compile time optimization bugs:
         "" $ <literString>         => .T.
         AT( "", <literString> )    => 1
         CHR( 256 )                 => ""
      only when Harbour extensions (-kh) are not enabled, f.e.
      in strict Clipper compatibility mode (-kc)

  * harbour/utils/hbtest/rt_hvma.prg
  * harbour/utils/hbtest/rt_str.prg
    * updated to test Clipper and Harbour compile time modes in
      the above situations

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/strings.c
  * harbour/source/common/hbstr.c
    * moved hb_strEmpty() from RTL to COMMON library

  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/source/common/expropt2.c
    + added compile time optimization for EMPTY() function
    ; removed 'TODO: empty optimization' note

  * harbour/source/rtl/itemseri.c
    % compress trailing spaces during string item serialization

  * harbour/include/hbapi.h
  * harbour/source/vm/hashes.c
    + added hb_hashAddNew() - works like hb_hashAdd() but it adds item
      only if new key is used

  * harbour/source/vm/hvm.c
    * use hb_hashAddNew() instead of hb_hashAdd() for HB_P_HASHGEN
      I cannot revert the order of hash item during compilation because
      it will also change the order of user expression evaluation.
2008-07-17 16:28:11 +00:00
Przemyslaw Czerpak
9475817ad4 2008-07-17 03:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbtpathy/tplinux.c
    * workaround for missing CRTCTS declaration in OpenWatcom

  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/hbsqlit3/hbsqlit3.c
    * pacified warnings
    ! fixed C++ compilation

  * harbour/contrib/gtwvg/gtwvg.h
    * add hack for missing GCLP_HCURSOR declaration in OpenWatcom

  * harbour/contrib/hbtpathy/tpwin32.c
  * harbour/contrib/hbw32/dllcall.c
  * harbour/contrib/hbw32/w32_osc.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/hbgf/hbgfw32/win32.c
    * updated for UNICODE builds
    * pacified warnings
2008-07-17 01:37:07 +00:00
Przemyslaw Czerpak
b33f79ec8b 2008-07-15 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbgf/hbgfgtk/Makefile
    * do not add default system include directory to C_USR during testing
      for foreign header files when HB_XBUILD variable is set - protection
      against including wrong header files in cross builds

  * harbour/contrib/hbtpathy/ChangeLog
    * changed SVN EOL style to 'native'

  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    * pacified warning
2008-07-15 12:32:34 +00:00
Przemyslaw Czerpak
0dc48d4a90 2008-07-11 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
    * changed SETFATTR() to use hb_fsSetAttr()
2008-07-11 17:13:29 +00:00
Przemyslaw Czerpak
38fd033e77 2008-07-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbedit.ch
  * harbour/source/rtl/dbedit.prg
    + added support for undocumented Clipper DE_APPEND mode - code
      covered by HB_C52_UNDOC
    % ignore K_MOUSEMOVE events to avoid flickering just like CA-Cl*pper
      does
    + added support for cell positioning with mouse left key - CL53
      compatible behavior covered by HB_COMPAT_C53 macro
    * changed static function name dbEditCallUser() to CallUser() for
      strict Clipper compatibility - some user function code may check
      PROCNAME()
    * some minor optimizations and fixes

  * harbour/contrib/hbmzip/hbmzip.c
    * indenting

  * harbour/source/vm/hvm.c
    * formatting
2008-07-11 15:33:41 +00:00
Miguel Angel Marchuet Frutos
a5c4482fb0 2008-07-10 18:51 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    ! fixed casting for indexes with key length greater then 196 bytes
      created on tables with record number smaller then 256. In such
      case if keys have equal value then after decoding they may need
      more then 32767 bytes and casting to SHORT gives negative indexes.
      Thanks to Saulius Zrelskis for example.
    % changed some SHORT to INT to reduce runtime overhead
  * contrib/hbziparch/hbziparc.c
    ! fixed some unused variables.
    * minor sintax corrections.
2008-07-10 16:46:54 +00:00
Viktor Szakats
34e0f7d1c3 2008-07-09 22:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Changed to use Harbour memory allocation functions in 
       libcurl.
2008-07-09 20:54:20 +00:00
Przemyslaw Czerpak
218d714555 2008-07-09 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    ! added missing DJGPP header files

  * harbour/source/rtl/filesys.c
    * finished hb_fsSetAttr()

  * harbour/source/rtl/set.c
    % optimized for loop
2008-07-09 11:58:01 +00:00
Marek Paliwoda
1e9fb98568 2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) 2008-07-09 10:03:30 +00:00
Przemyslaw Czerpak
130d897627 2008-07-09 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdate.h
  * harbour/source/common/hbdate.c
    + added hb_timeStampEncode()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/filesys.c
    + added hb_fsSetFileTime()
    + added POSIX file attributes with some macros to convert Harbour
      definitions into OS ones.
    + added initial version of hb_fsSetAttr() - work in progress, I should
      finish it in the evening.

  * harbour/contrib/hbmzip/hbmzip.c
    * added setting file attribute in DJGPP builds
    ! fixed some small typos in OS2 builds reported by David

  * harbour/source/vm/fm.c
    * changed hb_xrealloc() to be ANSI-C realloc() compatible
2008-07-09 09:57:33 +00:00
Viktor Szakats
082a98114d 2008-07-09 10:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     ! Fixed to accept HB_INC_* envvars to specify 
       header locations for external packages.
2008-07-09 08:21:20 +00:00
Viktor Szakats
8735002f43 2008-07-09 10:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
   * contrib/gtwvg/gtwvg.c
     ! Restored previous change.
       In Harbour, passing NULL to hb_itemPutC() is valid and 
       will result in an empty string being stored in an optimized way.
       hb_itemPutCLPtr() should be used instead of hb_itemPutCPtr().
       The GPF in question used to happen when setting the clipboard, 
       and it looks to happen inside the OS. I'm still investigating.

   * contrib/hbapollo/tests/bld_b32.bat
   * contrib/hbapollo/tests/bld_vc.bat
     ! Fixed external .lib name.
2008-07-09 08:02:03 +00:00
Pritpal Bedi
80f2c9b417 2008-07-08 16:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/gtwvg.c
  * source/rtl/gtwvt/gtwvt.c
    ! Fixed GPF in HB_GTI_CLIPBOARDDATA.
2008-07-08 23:45:10 +00:00
Viktor Szakats
9f56cbad14 2008-07-08 20:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! CURL_EASY_GETINFO() will now return the proper type 
       (with an empty value) if the given info type is not 
       supported in the libcurl version used at build-time.
       (This makes the test program not crash after latest 
       hbcurl changes.)
2008-07-08 18:44:23 +00:00
Mindaugas Kavaliauskas
79098d198d 2008-07-08 19:03 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmzip/hbmzip.c
    + implemented file date/time get/set for OS2
    ; TODO: DOS implementation is still missing
    ; Implementation is not tested!
2008-07-08 16:00:16 +00:00
Viktor Szakats
c692d5d67a 2008-07-08 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32/Makefile
   * contrib/hbw32/common.mak
   + contrib/hbw32/w32_osc.c
   + contrib/hbw32/w32_os.prg
     + Ported some Windows specific version detection and 
       networking checker/setup code. From Peter Rees/xhb:
       OS_ISWINNT()
       OS_ISWINNT351()
       OS_ISWINNT4()
       OS_ISWIN2000_OR_LATER()
       OS_ISWIN2000()
       OS_ISWINXP()
       OS_ISWIN2003()
       OS_ISWINVISTA()
       OS_ISWIN9X()
       OS_ISWIN95()
       OS_ISWIN98()
       OS_ISWINME()
       OS_ISWTSCLIENT()
       OS_VERSIONINFO()
       OS_NETREGOK()
       OS_NETVREDIROK()
2008-07-08 14:52:35 +00:00
Viktor Szakats
958acd8169 2008-07-08 10:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/ads1.c
     ! Fixed to behave Clipper-like when trying to write 
       when on EOF position. This way a TODO is cleared in the 
       source.
2008-07-08 08:37:24 +00:00
Viktor Szakats
e4223a02a0 2008-07-08 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/odbc.c
     ! Fixed compilation error with Pelles C 5.00.1.
     * Some formatting.

   * contrib/hbw32/dllcall.c
     + Two TOFIXes added for Win64 support.
     ! One Warning fixed under Win64.

   * contrib/hbfimage/make_gcc.sh
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
     ! Corrected to look in Dist subdir instead of 'source', 
       so that simple .dll ditribution is enough to compile.
2008-07-08 06:37:36 +00:00
Viktor Szakats
f636b56131 2008-07-08 07:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/odbc.c
     ! Fixed all ODBC handles to be pointers. This way it's Win64 
       compatible. This is an INCOMPATIBLE change. Since normal 
       app code is using ODBC error values to check for error 
       conditions, the type of handles shouldn't be a concern for 
       most app code.
       I'd ask everyone using hbodbc to do some tests.
     + TOFIXes added where deprecated (and potentially dangerous) 
       APIs are used.

   * contrib/hbw32/dllcall.c
     ! Using hb_parnint()/hb_retnint() instead of hb_parnl()/hb_retnl() 
       to make Harbour level .dll functions compatible with Win64, and 
       at the same time stay compatible with XBase++.

   * contrib/rddado/adordd.prg
     ! Fixed a few places where _SET_EXACT dependent string 
       comparisons were used. One of them could cause
       problems updating field values.

   * contrib/hbodbc/todbc.prg
     * Formatting.

   * contrib/hbodbc/tests/odbcdemo.prg
   * contrib/hbodbc/tests/odbccall.prg
   * contrib/hbodbc/tests/testodbc.prg
     ! Made them work out of the box.
     ; TOFIX: All of them gives "unrecognized database format" for harbour.mdb.
2008-07-08 06:06:06 +00:00
Przemyslaw Czerpak
e5fb6b8de5 2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/include/hbdefs.h
  * harbour/source/rtl/console.c
  * harbour/source/rtl/philes.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/philes53.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/delim1.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    + added HB_NHANDLE
    + added hb_numToHandle() macro
    ! fixed WIN32 HANDLE to integer number conversions in Harbour file API
    ! fixed F_ERROR and FS_ERROR usage
    * added support for optional FHANDLE mapped to pointer instead of
      integer number - disable by default in hbdefs.h
      Now Harbour can be compiled with internal pointer and integer file
      handles (FHANDLE)
2008-07-07 22:35:39 +00:00
Viktor Szakats
cd07406601 2008-07-08 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/genhrb.c
   * contrib/hbtip/utils.c
     ! Changed octal values in strings (and chars too) to make 
       these functions work with Pelles C 5.00.1.
2008-07-07 22:09:23 +00:00
Viktor Szakats
2a774d62e8 2008-07-07 20:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/xhbfunc.c
     ! Changed hb_ArrayID() to be in sync with xhb, and at the 
       same time fixing the Win64 compatibility issue.
       Thanks Przemek.

   * ChangeLog
     ! Typo.
2008-07-07 18:17:21 +00:00
Viktor Szakats
48d11d426d 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/arrayshb.c
   * contrib/xhb/xhbfunc.c
     ! Moved hb_ArrayID() Harbour level function to xhb.lib.
     ; NOTE: This function is not compatible with x64 architecture.
2008-07-07 17:33:41 +00:00
Viktor Szakats
f3d708b0ae 2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
     ! Warning fixed.

   * contrib/hbmysql/mysql.c
   * contrib/hbmysql/tmysql.prg
     ! sqlListF() return value changed to pointer from numeric.
       Now compatible with Win64.
       INCOMPATIBLE.

   * contrib/hbw32/w32_prn.c
     ! Warning suppressed (pointer to BOOL conversion).

   * contrib/hbw32/dllcall.c
   * contrib/hbhpdf/harupdf.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbgf/hbgfw32/win32.c
     ! Fixed several pointer (handle) passings to be 64bit compatible.

   * contrib/hbw32/w32_reg.prg
     * Minor formatting.

   ; TOFIX: There are still some PellesC 64bit warnings to be fixed.
     (posted separately)
2008-07-07 15:42:50 +00:00
Viktor Szakats
d0596ffa2b 2008-07-07 06:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_deb.sh
     + Added libgpm-dev to mouse test. Thanks Guy.

   - doc/simplex.txt
   * doc/Makefile
     - Removed obsolete file.

   * doc/linux1st.txt
     + Added libgpm*-dev requirements.

   * contrib/hbtpathy/Makefile
   * contrib/hbziparch/Makefile
     ! Fixed referring to win32 archictecture as 'win32' 
       (should be 'w32'). Recently introduced bugs.

   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
     ! Fixed for POCC, XCC compilers.
2008-07-07 05:00:07 +00:00
Viktor Szakats
c648be0a8e 2008-07-05 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Typo: hb_free() -> hb_xfree()
2008-07-04 23:47:46 +00:00
Viktor Szakats
47d04b6dcf 2008-07-04 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/Makefile
     ! Fixed commented file in file list.
     ; This may fix some GNU-make problems regarding hbziparch.
     ; hbziparch may not work in RC2 GNU-make builds for this 
       reason.

   * harbour-ce-spec
   * harbour-w32-spec
   * doc/whatsnew.txt
   * include/hbver.h
   * harbour.spec
     * RC2 -> rc2
     ; We should use lowercase for 'RC' in the future, for consistency 
       with 'alpha', 'beta' (and with other projects too). It looks 
       smoother too.

   * source/rtl/errorint.c
     ! hb_setGetCPtr( HB_SET_HBOUTLOG ) checked for NULL value.
       I'm not sure if this is required in real life, so this may 
       be unnecessary safety.

   * utils/Makefile
     * Formatting.
2008-07-04 17:04:52 +00:00
Viktor Szakats
5c2dd45cbe 2008-07-04 04:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmzip/hbmzip.c
     + Reenabled new OS/2 code.
     ! Fixed defines in OS/2 part. Requested definitions.
       Fixed one potential error. Pls review and test, all 
       this was done blindly.
2008-07-04 02:31:03 +00:00
Viktor Szakats
8df28a8149 2008-07-03 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmzip/hbmzip.c
     * Temply disabled new OS/2 code to go on with the RC2 release.
2008-07-03 19:28:18 +00:00
Viktor Szakats
c4bfc3445a 2008-07-03 21:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmysql/difer.txt
   - contrib/hbmysql/diffeng.txt
   + contrib/hbmysql/diff-en.txt
   + contrib/hbmysql/diff-es.txt
   * contrib/hbmysql/tmysql.prg
   - contrib/hbmysql/dbf2mysq.prg
   + contrib/hbmysql/utils
   + contrib/hbmysql/utils/bld_b32.bat
   + contrib/hbmysql/utils/dbf2mysq.prg
   + contrib/hbmysql/utils/bld_vc.bat
     * Some dir cleanup.
     * Created separate dir for standalone utility.
     ! SVN headers and props added.
2008-07-03 19:09:43 +00:00