Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
d9fe9a4688 2008-06-01 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
     ! Fixed missing header for OS/2.

   * source/vm/classes.c
     ! Minor fix in internal error text.

   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/tests/ftp_uldl.prg
     ! non-GNU make will also look into the /bin folder 
       for .dlls.
     ! Lots of fixes, too many to mention.
     + Enabled GC pointers. (see TOFIX though)
     + Added all remaining CURL 'easy' API parts and 
       implemented all options existing in 7.18.1:
       + All option values (except bit-level ones) made available in hbcurl.ch
       + All options updated to latest CURL version in hbcurl.ch
       + All error codes made available in hbcurl.ch
       + CURL_EASY_DUPLICATE()
       + CURL_EASY_RESET()
       + CURL_EASY_PAUSE()
       + CURL_EASY_SEND() (not yet available in stable builds)
       + CURL_EASY_RECV() (not yet available in stable builds)
       + CURL_EASY_GETINFO()
       + CURL_ESCAPE() (obsolete)
       + CURL_UNESCAPE() (obsolete)
       + CURL_GETDATE()
     ; TOFIX1: Could someone look at it? In case I call the destructor 
               (curl_easy_cleanup()) manually, the garbage collector 
               will run into an invalid pointer, when terminating the 
               test program.
     ; TOFIX2: The casting to 'curl_off_t' goes wrong. Could someone 
               help?
     ; NOTE1:  Harbour needs at least libcurl 7.17.0. Unfortunately 
               compile time version detection is not working at this time, 
               so try with the latest version 7.18.1.
     ; NOTE2:  Most callback interfaces are not implemented on the 
               Harbour level.
     ; NOTE3:  Harbour is currently not optimizing
               "<const1> ** <const2>" type of expressions at compile time.
               Could we add it? This expression is not widespread, 
               but anyways, it cannot hurt, if isn't too much 
               work to do.
2008-06-01 11:31:48 +00:00
Viktor Szakats
cfd78d2a68 2008-05-31 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/tests/ftp_uldl.prg
     + Using hb_fsReadLarge()/hb_fsWriteLarge()
     + Added redefinitiion of memory allocator functions.
       (doesn't work, disabled. hb_xgrab() is getting ptrs 
       not allocated by us.)
     ! Fixes handling of size options in CURL_EASY_SETOPT().
     + CURL_VERSION()
     + CURL_VERSION_INFO()
     + CURL_EASY_STRERROR()
     + CURL_SHARE_STRERROR()
     + CURL_EASY_ESCAPE() (see TOFIX)
     + CURL_EASY_UNESCAPE() (see TOFIX)
     + Test app extended.
     * Renames.
     ; Added several more TOFIXes.

   * source/rtl/tget.prg
     * Minor formatting.
2008-05-31 19:05:00 +00:00
Viktor Szakats
181d980539 2008-05-31 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
     ! Replaced AdsShowError() calls with HB_TRACE() ones.
       DEBUG guards removed.
     ! Minor fixes in HB_TRACE messages.

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

   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/tests/ftp_uldl.prg
     * Minor changes.
2008-05-31 13:43:44 +00:00
Viktor Szakats
0cd2603335 2008-05-31 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/tests/ftp_uldl.prg
     + Using Harbour FS API.
     ! Minor fix in uploaded file name.

   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     + Added to 'all' makefiles.
2008-05-31 11:18:00 +00:00
Viktor Szakats
cc56d2807e 2008-05-31 12:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbcurl
   + contrib/hbcurl/Makefile
   + contrib/hbcurl/make_b32.bat
   + contrib/hbcurl/make_vc.bat
   + contrib/hbcurl/common.mak
   + contrib/hbcurl/make_gcc.sh
   + contrib/hbcurl/hbcurl.ch
   + contrib/hbcurl/hbcurl.c
   + contrib/hbcurl/tests
   + contrib/hbcurl/tests/bld_b32.bat
   + contrib/hbcurl/tests/bld_vc.bat
   + contrib/hbcurl/tests/ftp_uldl.prg
     + Added hbcurl - CURL interface library.
     ; Based on original work of Luiz Rafael Culik / xhb, 
       but heavily reworked and fixed, and still a work 
       in progress.
2008-05-31 10:47:47 +00:00