Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
3e8e50b939 2008-07-03 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/rddads/Makefile
     ! Excluded from DOS builds.
2008-07-03 10:42:01 +00:00
Viktor Szakats
30f80a92b0 2008-07-03 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Fixed compile errors when compiled with some (but not all 
       possible) older libcurl versions.
     ; It still requires libcurl 7.17.0 in order to work properly though.
2008-07-03 09:57:38 +00:00
Viktor Szakats
7c1c27e27d 2008-07-03 10:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/make_gcc.sh
   * contrib/hbgd/tests/bld.sh
   * contrib/hbhpdf/make_gcc.sh
   * contrib/hbsqlit2/make_gcc.sh
   * contrib/hbsqlit3/make_gcc.sh
   * contrib/hbvpdf/make_gcc.sh
     + svn propset svn:executable ON *
     ; Thanks Marek. I'm updating my local files to avoid 
       this in the future.
2008-07-03 08:12:26 +00:00
Marek Paliwoda
6eb3ee6d2d 2008-07-03 09:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/contrib/mtpl_gcc.mak
     ! Fixed copy/paste error in ifdef/endif

   * harbour/contrib/hbapollo/make_gcc.sh
   * harbour/contrib/hbcurl/make_gcc.sh
   * harbour/contrib/hbfbird/make_gcc.sh
   * harbour/contrib/hbfimage/make_gcc.sh
   * harbour/contrib/hbgd/make_gcc.sh
   * harbour/contrib/hbhpdf/make_gcc.sh
   * harbour/contrib/hbmysql/make_gcc.sh
   * harbour/contrib/hbpgsql/make_gcc.sh
   * harbour/contrib/rddads/make_gcc.sh
     * Changed "==" to "=" to allow compilation on Ubuntu 8.04.
       For some reasons I got error when "==" was used.
2008-07-03 07:25:15 +00:00
Viktor Szakats
2c6c6cbe66 2008-07-02 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
     + Added possibility to use HB_INC_* envvars to 
       specify the header directories for external 
       packages. This way _all_ Harbour make systems 
       now able to use the same common logic to specify 
       external header dirs. (For GNU-make you can even 
       use a dir list).
       If HB_INC_* is used with the non-GNU make system, 
       the .dll to .lib generation _won't_ happen, which 
       is desirable for binary builds for distribution.
       HB_DIR_* envvars continue to work, in this case 
       .libs are copied/generated from the external .dlls, 
       and this is useful who build their Harbour from 
       source.
       For official Harbour binary distributions HB_INC_* 
       must be used.
2008-07-02 10:47:31 +00:00
Viktor Szakats
5ed53b8eb8 2008-07-02 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
     ! Fixed previous modification. More to come.
2008-07-02 10:30:35 +00:00
Przemyslaw Czerpak
a9d571c735 2008-07-02 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  - harbour/contrib/xhb/hbchksum.c
    * removed HB_CHECKSUM() code - it's not necessary

  * harbour/contrib/xhb/xhbfunc.c
    + redirected HB_CHECKSUM() to HB_ADLER32()

  * harbour/source/rtl/gtwvt/gtwvt.c
    ! fixed WINCE builds. It was only for MiGWCE which partially emulates
      GetSystemMenu() but probably other builds will report that this
      function is missing.
      If possible please test if current Harbour application can be
      executed in real WinCE environment.

  * harbour/make_deb.sh
    * updated contrib library list

  * harbour/contrib/hbmysql/mysql.c
    ! fixed compilation for older MYSQL versions

  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgutils.c
    ! fixed UNICODE builds

  + harbour/config/none.cf
    + added dummy header file for GNU make to avoid errors on unsupported
      platforms

  * harbour/contrib/hbw32ddr/Makefile
  * harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbwhat32/Makefile
  * harbour/contrib/hbtpathy/Makefile
  * harbour/contrib/hbw32/Makefile
  * harbour/contrib/hbole/Makefile
  * harbour/contrib/hbapollo/Makefile
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbziparch/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/rddado/Makefile
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/rddads/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbgf/hbgfw32/Makefile
  * harbour/contrib/hbgf/hbgfos2/Makefile
  * harbour/contrib/hbgf/hbgfgtk/Makefile
  * harbour/contrib/hbtip/Makefile
  * harbour/contrib/hbbmcdx/Makefile
    * updated to not generate errors for unsupported builds
2008-07-02 09:57:58 +00:00
Viktor Szakats
5c87373c00 2008-07-01 18:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Fixed version checking (pass 2).
2008-07-01 16:37:13 +00:00
Viktor Szakats
795e1b3e3e 2008-07-01 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Fixed version checking.
2008-07-01 16:35:21 +00:00
Viktor Szakats
d542de218d 2008-07-01 17:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/Makefile
   * contrib/hbcurl/Makefile
   * contrib/hbfbird/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbgd/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/hbmysql/Makefile
   * contrib/hbpgsql/Makefile
   * contrib/rddads/Makefile
     ! Fixed a macro check to make autodetection really work.
       So the previous TOFIX (2008-06-30 19:20 UTC+0200) is 
       now cleared.

   * contrib/hbgf/hbgfgtk/Makefile
     + Added header detection. (default: /usr/include)

   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipcom.cpp
   * contrib/hbziparch/hbzipnew.cpp
     ! Pacified Linux warnings.
     * Some formatting.
2008-07-01 15:26:04 +00:00
Przemyslaw Czerpak
014b39ca7b 2008-07-01 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    * define whole contrib library list for new contrib/Makefile
    + added header files to respect differences between platform
      native and Windows only headers

  * harbour/harbour.spec
    * define whole contrib library list for new contrib/Makefile
    * divided libraries which needs external references into
      separated packages
    ! removed unnecessary dependences in binaries rebuild in shared
      mode

  * harbour/contrib/hbodbc/odbc.c
    * pacified warnings
    % minor optimization

  * harbour/contrib/hbcurl/hbcurl.c
  * harbour/contrib/hbfbird/firebird.c
  * harbour/source/vm/extrap.c
    * casting to pacify warnings

  * harbour/contrib/gtwvg/gtwvg.c
    ! fixed pointer comparison - C uses different precedence for !
      operator then Clipper/xbase

  * harbour/source/rtl/hbinet.c
    ! fixed GPF HB_INET[GS]ET{SND,RCV}BUFSIZE() when wrong
      socket parameter is passed. Please remember that after
      RT error the control is returned to application.
    % removed any hardcoded limits for size of data passed in
      single read/write call during normal stream operations
    - removed iSndBufSize/iRcvBufSize
2008-07-01 14:28:30 +00:00
Viktor Szakats
b68b12a17d 2008-06-30 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/Makefile
   * contrib/hbcurl/Makefile
   * contrib/hbfbird/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbgd/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/hbmysql/Makefile
   * contrib/hbpgsql/Makefile
   * contrib/rddads/Makefile
     * Changed to use default for all architecture.
       Let's hope that checking existence for mixed platform 
       paths won't create problems on any platforms.
     + Added include path detection logic to hbapollo, too.
     + Added Darwin path to hbgd include path list.
     + Added std Linux path to hbfbird include path list.
     ; TOFIX: Seems that 'ifneq ($(HB_INC_*_OK),)' doesn't 
              really work if no path in the path list is valid.
2008-06-30 17:25:23 +00:00
Viktor Szakats
9d58ba79f1 2008-06-30 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/Makefile
   * contrib/hbcurl/Makefile
   * contrib/hbfbird/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbgd/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/hbmysql/Makefile
   * contrib/hbpgsql/Makefile
   * contrib/rddads/Makefile
     + Now possible to specify external header location using 
       the HB_INC_* envars (similar to the ones used in non-GNU 
       makefiles). In GNU make, multiple dirs can be specified, 
       and the make system will always autodetect whether the 
       headers are really there. If not, the build process will 
       be skipped for that contrib.
       Additionally in Linux, the HB_INC_* vars will be inited 
       with a default, if not specified by the builder. These 
       default should be verified by Linux users and extended/fixed 
       accordingly. Most of them were already initialized for 
       Linux, so there should be no big surprises here.

   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
     + Synced C options with GNU make. (-DBIG_JOINS=1 added)

   * contrib/hbmysql/make_vc.bat
     - Removed -D__WIN32__. Now it seems to work without it.

   * contrib/hbcurl/make_gcc.sh
     ! Fixed example dir in comment.
2008-06-30 11:29:19 +00:00
Viktor Szakats
2fe29d193c 2008-06-22 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Code cleanup for 64bit. Only calls to Harbour APIs are 
       generating warnings now. (hb_xgrab, hb_xrealloc, 
       hb_fsWriteLarge, hb_fsReadLarge, hb_retclen, hb_storlen)
2008-06-22 11:20:47 +00:00
Viktor Szakats
67c8fbb275 2008-06-21 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
   - contrib/hbgf/gtk
   - contrib/hbgf/os2pm
   - contrib/hbgf/win32
   + contrib/hbgf/hbgfw32
   + contrib/hbgf/hbgfos2
   + contrib/hbgf/hbgfgtk
   + contrib/hbgf/Makefile
   * contrib/hbgf/hbgfos2/Makefile
     + Decentralized GNU make for these contribs.
     * Renamed according to stds.
     ! Fix to be built under Linux/Win32.
       (if they don't work they should be fixed/disabled locally)

   * contrib/Makefile
   * contrib/hbodbc/Makefile
   * contrib/hbw32/Makefile
   * contrib/rddado/Makefile
     * Further decentralization of contrib building decisions.
     + Added all existing contribs to the list. Separated into 
       two sections: standalone contribs, and ones with external 
       dependencies.
     ; TODO: Refine this by some clever commenting.
             This is a multiplatform issue, so we need to 
             work together.

   * contrib/examples/Makefile
     ! Fixed to include newly added examples.

   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
     + Some steps made to make it possible to disable 
       any messings with .dlls. This is not yet complete, 
       and the goal is to be able to use HB_INC_* to 
       specify include dirs for external packages on 
       all make systems (GNU, non-GNU .bat, non-GNU .sh)
       [TOMERGE 1.0.0RC1]
2008-06-21 16:00:23 +00:00
Viktor Szakats
6723c119b5 2008-06-10 11:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Fixed maximized window size.

   * contrib/hbw32/dllcall.c
     * Further cleanup.
     ! MessageBox()es converted to RTE calls.

   * contrib/hbcurl/hbcurl.c
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
   * source/rdd/dbcmd.c
   * source/rdd/dbcmd53.c
   * source/rdd/dbcmdx.c
   * source/rdd/dbsql.c
   * source/rdd/wafunc.c
   * source/rdd/workarea.c
   * source/rtl/abs.c
   * source/rtl/at.c
   * source/rtl/cdpapi.c
   * source/rtl/chrasc.c
   * source/rtl/copyfile.c
   * source/rtl/datec.c
   * source/rtl/dateshb.c
   * source/rtl/do.c
   * source/rtl/gtfunc.c
   * source/rtl/hbadler.c
   * source/rtl/hbbit.c
   * source/rtl/hbcrc.c
   * source/rtl/hbhex.c
   * source/rtl/hbinet.c
   * source/rtl/hbregex.c
   * source/rtl/hbregexc.c
   * source/rtl/hbrunfun.c
   * source/rtl/hbtoken.c
   * source/rtl/hbzlib.c
   * source/rtl/left.c
   * source/rtl/len.c
   * source/rtl/math.c
   * source/rtl/minmax.c
   * source/rtl/philes.c
   * source/rtl/philesx.c
   * source/rtl/replic.c
   * source/rtl/round.c
   * source/rtl/run.c
   * source/rtl/set.c
   * source/rtl/space.c
   * source/rtl/str.c
   * source/rtl/strcase.c
   * source/rtl/strpeek.c
   * source/rtl/strtran.c
   * source/rtl/strzero.c
   * source/rtl/substr.c
   * source/rtl/transfrm.c
   * source/rtl/trim.c
   * source/rtl/type.c
   * source/rtl/val.c
   * source/rtl/valtype.c
   * source/rtl/word.c
   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/vm/debug.c
   * source/vm/eval.c
   * source/vm/evalhb.c
   * source/vm/hashfunc.c
   * source/vm/memvars.c
   * source/vm/runner.c
     * &hb_errFuncName -> HB_ERR_FUNCNAME
     % Using HB_ERR_FUNCNAME wherever possible.
2008-06-10 09:13:33 +00:00
Viktor Szakats
7d952c4d8e 2008-06-08 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbgtinfo.ch
     + Added comment to compatibility #defines, to not use 
       them, since they deprecated.
       [TOMERGE RC1]
     * HB_GTI_CB_* -> HB_GTE_* (stands for GT Event). Removed 
       plain GTI_ versions, GTI_* range is frozen, pls don't 
       and new codes to them and especially don't use them in 
       core code.

   * include/hbgfx.ch
   * include/hbgfxdef.ch
   * contrib/gtwvg/gtwvg.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/gtwvt/gtwvt.c
     * GFX_* constants renamed to HB_GFX_*. The old ones are 
       still working but it's recommended to update to use HB_GFX_*.
       #define HB_GT_NO_XHB to disable the compatibility #defines, 
       if it collides with your code or you want to test after 
       transition.
     ; [TOMERGE RC1]

   * source/rtl/dirdrive.c
     ! Guarded C53 undoc functions with HB_C52_UNDOC, which is enabled 
       so it won't make a difference in default builds.
     ; [TOMERGE RC1]

   * source/rtl/filesys.c
     ! Fixed hb_fsIsDrv() to use GetDriveTypeA() API, to avoid some 
       win32 system MessageBox() to be shown when certain types of 
       drives (f.e. USB reader devices) are queried.
     ; Please test.
     ; TOFIX: hb_fsChDrv() suffers from the same problem.
     ; [TOMERGE RC1 - after testing]

   * contrib/hbcurl/hbcurl.c
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
     % Optimized out explicit function name strings in RTE calls.
     ! The above is actually a fix (I hope) for the one in 
       hb_adsCheckLock(). Error text also made more consistent.
     ; [TOMERGE RC1 - after testing]

   * contrib/hbw32/w32_prn.c
     % Minor optimizations, cleanups.
2008-06-08 13:30:28 +00:00
Viktor Szakats
3b5dfde38c 2008-06-08 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/tmysql.prg
   * contrib/hbmysql/mysql.c
   * contrib/hbmysql/mysql.ch
   * contrib/hbtpathy/telepath.ch
   * contrib/hbtpathy/tplinux.c
   * contrib/hbtpathy/tpwin32.c
   * contrib/hbtpathy/tpos2.c
   * contrib/hbtpathy/tpcommon.c
   * contrib/hbmsql/msql.h
   * contrib/hbmsql/msql.ch
   * contrib/hbmsql/msql.c
   * contrib/hbfbird/firebird.c
   * contrib/hbfbird/tests/test.prg
   * contrib/hbapollo/apollo.c
   * contrib/hbmisc/hb_f.c
     * General code cleanup, formatting, minor optimizations, 
       Harbour API usage cleanup, ANSI comments.
     ! Several minor fixes to Firebird interface code, but it 
       still doesn't seem to work, and the code is very unclear, 
       partly because of the strange/unsafe Firebird API.
     ! Firebird test.prg fixes: Variable name typos, undeclared 
       vars, hard-coded paths.

   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
     * Fixed location where .libs are looked for.
       [TOMERGE RC1]

   * contrib/hbcurl/hbcurl.c
     % Minor cleanups.
       [TOMERGE RC1]
2008-06-08 10:22:37 +00:00
Viktor Szakats
f3edaf2d60 correction to prev 2008-06-07 19:09:31 +00:00
Viktor Szakats
9f86f649ab 2008-06-07 20:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/make_vc.bat
     ! Removed .dll -> .lib conversion for MSVC, 
       since the .lib is provided by the MS SDK anyway.
     ; [TOMERGE RC1]

   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/tests/ftp_uldl.prg
     ! Cleanup the rare case when curl_easy_init() returns NULL.
       Functions always return the same type, even in case libcurl 
       failed to initialize.
     + Returns value for above cases is now HB_CURLE_ERROR (== -1).
     ! CURL_*() passed pointers now are also checked for the pointer's 
       type, and RTE is thrown if they are not HBCURL ones. So for 
       example in the very rare case that any hbcurl functions would 
       get passed a GC pointer returned by another API, an argument 
       error would be thrown now.
     ! CURL_ESCAPE()/CURL_UNESCAPE() fixed picked parameter ordinal.
     + CURL_ESCAPE()/CURL_UNESCAPE() added parameter checking.
     ; [TOMERGE RC1]

   * contrib/rddads/adsmgmnt.c
     * Minor formatting.
2008-06-07 18:43:25 +00:00
Viktor Szakats
caa03f145e minor comment correction 2008-06-07 13:42:51 +00:00
Viktor Szakats
8fc9dd1a4c 2008-06-07 09:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     % Minor opt. [RC1]

   * ChangeLog
     + Marked changes merged with RC1.
2008-06-07 08:17:13 +00:00
Viktor Szakats
a6e805095c 2008-06-07 09:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Fixed cursor width to be synced properly after 
       a font change.
     ! Fixed cursor SC_NORMAL height to be calculated 
       from the font height, instead of being a static 
       number. [RC1_TOMERGE]

   * contrib/hbcurl/hbcurl.c
     + Added RTEs when wrong parameter was passed 
       to the remaining functions:
       CURL_EASY_STRERROR()
       CURL_SHARE_STRERROR()
       CURL_MULTI_STRERROR()
       CURL_GETDATE()
2008-06-07 07:44:51 +00:00
Viktor Szakats
eba19198fb 2008-06-06 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Now throws RTEs when required parameters are missing 
       or the wrong type. The concept here is that RTEs are 
       only to catch syntax mistakes, and not errors resulting 
       from actual libcurl usage/functionality/states.
       
   * contrib/hbapollo/apollo.ch
     * Formatting.
2008-06-06 12:57:23 +00:00
Viktor Szakats
9515e91f9e typo 2008-06-05 12:12:22 +00:00
Viktor Szakats
536b4caf5b 2008-06-04 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/tests/ftp_uldl.prg
     + Added test for deleting file.
     + Added dummy upload option:
       + CURL_EASY_SETOPT() / HB_CURLOPT_UL_NULL_SETUP
     ! Fixed all the above setopt options. Very old bug in 
       hbcurl code. Now rename, delete, other custom commands 
       plus a few other options work properly:
       HB_CURLOPT_HTTPHEADER
       HB_CURLOPT_HTTP200ALIASES
       HB_CURLOPT_QUOTE
       HB_CURLOPT_POSTQUOTE
       HB_CURLOPT_PREQUOTE
       HB_CURLOPT_TELNETOPTIONS
2008-06-04 19:47:59 +00:00
Viktor Szakats
4f9c1515ce 2008-06-04 20:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     * Minor.

   * contrib/hbodbc/todbc.prg
   * contrib/hbodbc/odbc.txt
   * contrib/hbodbc/sql.ch
   * contrib/hbodbc/readme.txt
     + Added SVN headers.

   * contrib/hbodbc/sql.ch
     ! Aligned #define values.
2008-06-04 18:13:41 +00:00
Viktor Szakats
0274a2e074 2008-06-04 19:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Missing cast.
2008-06-04 17:22:39 +00:00
Viktor Szakats
438ba4dd5a 2008-06-04 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/tests/ftp_uldl.prg
     + Added some more test for downloading to memory, 
       uploading from memory.
     + Added possibility to download to memory, and upload 
       from memory:
       - CURL_EASY_SETOPT() / HB_CURLOPT_UL_BUFF_SETUP
       - CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_SETUP
       - CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_GET  
       - CURL_EASY_DL_BUFF_GET() -> <cFileContent>
     * Changed a few old Harbour setopt defines:
       (old ones are still working to retain compatibility)
       - HB_CURLOPT_SETUPLOADFILE     -> HB_CURLOPT_UL_FILE_SETUP
       - HB_CURLOPT_CLOSEUPLOADFILE   -> HB_CURLOPT_UL_FILE_CLOSE
       - HB_CURLOPT_SETDOWNLOADFILE   -> HB_CURLOPT_DL_FILE_SETUP
       - HB_CURLOPT_CLOSEDOWNLOADFILE -> HB_CURLOPT_DL_FILE_CLOSE
       - HB_CURLOPT_SETPROGRESS       -> HB_CURLOPT_PROGRESSBLOCK
2008-06-04 17:01:02 +00:00
Viktor Szakats
b9fa2c3ef9 2008-06-04 17:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     * Changed all logical options to default to .T.. This 
       way all work the same way, and in real life usage 
       the logical parameter can omitted in most cases.
       INCOMPATIBLE.

   * contrib/hbcurl/tests/ftp_uldl.prg
     + Added small example to get a dir listing.
2008-06-04 15:36:06 +00:00
Viktor Szakats
98a30e52a3 2008-06-04 17:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Changed to use hb_parc() (instead of hb_parcx()) for all 
       curl_easy_setopt() string options, so that NULL (NIL) will 
       reset these options to default state, instead of passing 
       an empty string to them.
2008-06-04 15:23:00 +00:00
Przemyslaw Czerpak
7b320ab03f 2008-06-04 04:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
  * harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
  * harbour/bin/pack_src.sh
  * harbour/contrib/hbw32ddr/make_gcc.sh
  * harbour/contrib/hbmysql/make_gcc.sh
  * harbour/contrib/hbct/make_gcc.sh
  * harbour/contrib/hbodbc/make_gcc.sh
  * harbour/contrib/xhb/make_gcc.sh
  * harbour/contrib/hbwhat32/make_gcc.sh
  * harbour/contrib/hbtpathy/make_gcc.sh
  * harbour/contrib/hbtpathy/make_b32.bat
  * harbour/contrib/hbtpathy/make_vc.bat
  * harbour/contrib/hbgt/make_gcc.sh
  * harbour/contrib/hbw32/make_gcc.sh
  * harbour/contrib/hbmsql/make_gcc.sh
  * harbour/contrib/hbsqlit2/vdbeaux.c
  * harbour/contrib/hbsqlit2/build.c
  * harbour/contrib/hbsqlit2/hbsqlit2.ch
  * harbour/contrib/hbsqlit2/vdbeInt.h
  * harbour/contrib/hbsqlit2/opcodes.h
  * harbour/contrib/hbsqlit2/btree.c
  * harbour/contrib/hbsqlit2/delete.c
  * harbour/contrib/hbsqlit2/printf.c
  * harbour/contrib/hbsqlit2/trigger.c
  * harbour/contrib/hbsqlit2/attach.c
  * harbour/contrib/hbsqlit2/btree.h
  * harbour/contrib/hbsqlit2/sqlite.h
  * harbour/contrib/hbsqlit2/pragma.c
  * harbour/contrib/hbsqlit2/config.h
  * harbour/contrib/hbsqlit2/util.c
  * harbour/contrib/hbsqlit2/select.c
  * harbour/contrib/hbsqlit2/os.c
  * harbour/contrib/hbsqlit2/tests/hbsqlite.prg
  * harbour/contrib/hbsqlit2/hash.c
  * harbour/contrib/hbsqlit2/os.h
  * harbour/contrib/hbsqlit2/tokenize.c
  * harbour/contrib/hbsqlit2/hash.h
  * harbour/contrib/hbsqlit2/hbsqlit2.c
  * harbour/contrib/hbsqlit2/Makefile
  * harbour/contrib/hbsqlit2/pager.c
  * harbour/contrib/hbsqlit2/vacuum.c
  * harbour/contrib/hbsqlit2/auth.c
  * harbour/contrib/hbsqlit2/pager.h
  * harbour/contrib/hbsqlit2/insert.c
  * harbour/contrib/hbsqlit2/copy.c
  * harbour/contrib/hbsqlit2/parse.c
  * harbour/contrib/hbsqlit2/where.c
  * harbour/contrib/hbsqlit2/date.c
  * harbour/contrib/hbsqlit2/common.mak
  * harbour/contrib/hbsqlit2/expr.c
  * harbour/contrib/hbsqlit2/parse.h
  * harbour/contrib/hbsqlit2/random.c
  * harbour/contrib/hbsqlit2/vdbe.c
  * harbour/contrib/hbsqlit2/sqliteInt.h
  * harbour/contrib/hbsqlit2/update.c
  * harbour/contrib/hbsqlit2/main.c
  * harbour/contrib/hbsqlit2/btree_rb.c
  * harbour/contrib/hbsqlit2/vdbe.h
  * harbour/contrib/hbsqlit2/table.c
  * harbour/contrib/hbsqlit2/readme.txt
  * harbour/contrib/hbsqlit2/func.c
  * harbour/contrib/hbsqlit2/opcodes.c
  * harbour/contrib/hbsqlit2/encode.c
  * harbour/contrib/hbole/make_gcc.sh
  * harbour/contrib/hbmzip/make_b32.bat
  * harbour/contrib/hbmzip/make_vc.bat
  * harbour/contrib/hbfbird/make_gcc.sh
  * harbour/contrib/hbapollo/make_gcc.sh
  * harbour/contrib/hbcurl/tests/ftp_uldl.prg
  * harbour/contrib/mtpl_gcc.mak
  * harbour/source/hbpcre/cnv_o2hb.bat
  * harbour/source/hbpcre/cnv_hb2o.bat
    * CRLF<->LF conversion
    * set strict svn:eol-style
2008-06-04 02:03:48 +00:00
Viktor Szakats
467fe825da 2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     * CURL_GETDATE(): using hb_retnint().
2008-06-03 22:35:19 +00:00
Viktor Szakats
9102f1429e 2008-06-03 22:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Fixed macros used in *_LARGE setopt options.

   * contrib/hbcurl/hbcurl.c
   * contrib/hbsqlit3/hbsqlit3.c
     * Using hb_parnint()/hb_retnint() instead of messing 
       with LONG_LONG locally.
2008-06-03 20:26:44 +00:00
Viktor Szakats
71eb525cdf 2008-06-03 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extend.c
     ! Reverted previous change. Caller should check the 
       retval of hb_storclen_buffer() and free the pointer 
       in case it's zero.
       Thanks Przemek.

   * contrib/hbw32/w32_regc.c
   * contrib/hbhpdf/harupdf.c
   * contrib/hbwhat32/_winsys.c
   * utils/hbmake/readline.c
     ! Fixed hb_storclen_buffer() calls.

   * contrib/hbwhat32/_winsys.c
     ! SYSTEMPARAMETERSINFO() fixed retval and leaks.
     ; Please test.

   * source/rtl/tget.prg
     ! Typo.
2008-06-03 08:41:32 +00:00
Viktor Szakats
955ef120a4 2008-06-02 18:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcompat.ch
     ! Minor fix in hb to xhb branch.

   * contrib/hbcurl/hbcurl.ch
     * '( 2 ** n )' expressions changed to actual values.
     ; We now have these optimized, but I'm committing anyway, 
     as some folks may be scared away by seeing these, and 
     not knowing it's optimized (and they might not even be 
     optimized on some Clipper platforms...).

   * contrib/mtpl_vc.mak
     ! Fixed HB_VISUALC_VER to default to '60' rather than 
       crashing. Same default is used for core make files 
       already.

   * source/common/hbverdsp.c
     - Removed 'CA'.
     + Added word 'compatible' to the 'undocumented' line.
2008-06-02 17:02:46 +00:00
Przemyslaw Czerpak
d6c536a44c 2008-06-02 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcurl/common.mak
  * harbour/contrib/hbcurl/hbcurl.c
  * harbour/contrib/hbcurl/hbcurl.ch
  * harbour/contrib/hbcurl/Makefile
    ! set svn:eol-style to native

  * harbour/contrib/hbcurl/make_gcc.sh
    ! set svn:eol-style to LF

  * harbour/contrib/hbcurl/Makefile
    * added missing rules to install header files and create library

  * harbour/contrib/hbcurl/hbcurl.ch
    ! closed uncloused /* comments

  * harbour/contrib/hbcurl/hbcurl.c
    ! fixed hb_curl_calloc() to clear allocated memory
2008-06-02 11:57:53 +00:00
Viktor Szakats
df0077307c 2008-06-02 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     ! Minor correction.
     * Wording/layout. C++/C and ANSI C init mode is now in 
       one line as "Other build settings".

   * contrib/hbcurl/hbcurl.c
     + Comment extended regarding libcurl version requirement.
     + Added version guard (not currently effective).
2008-06-02 10:12:25 +00:00
Viktor Szakats
acd7879323 2008-06-02 02:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32/w32_prn.c
   * contrib/hbhpdf/harupdf.c
     ! Fixed to not GPF in garbage collector if objects 
       were explicitly released by caller using HPDF_FREE(), 
       WIN32_DELETEDC().

   * contrib/hbw32/w32_prn.c
     % Minor opt.
     * Formatting.

   * contrib/hbcurl/hbcurl.c
     % Minor opt.
2008-06-02 00:23:58 +00:00
Viktor Szakats
3f2c555d92 2008-06-02 00:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
     + Added some recent stuff.

   * contrib/xhb/hbcompat.ch
     + hb_FSize() <-> FileSize()

   * contrib/hbcurl/hbcurl.c
     ! Fixed typo.
2008-06-01 22:35:47 +00:00
Viktor Szakats
88503da438 2008-06-01 16:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/Makefile
   - tests/testhbf.prg
   + contrib/hbmisc/tests/testhbf.prg
     * Moved to its place.

   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbcurl/make_gcc.sh
     * Minor.
2008-06-01 14:46:39 +00:00
Viktor Szakats
9d160048c7 whitespace 2008-06-01 12:10:50 +00:00