Commit Graph

8271 Commits

Author SHA1 Message Date
Viktor Szakats
c2ae20191d 2008-06-05 02:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* hbpgsql/postgres.c
     ! Don't request windows.h.
     + Using hb_parptrGC() for PGconn()
     + PQCONNECT() larger buffer for connect string.
     ! PQCONNECT() not passing trash to PG API if no. of params != 5
     ! PQCONNECT() buffer overflow vulnerability.
     ! PQSETDBLOGIN() password could not be passed to PG API due 
       to typo.
     ! PQMETADATA() now returns empty array instead of NIL in case 
       of failure (so test.prg won't RTE).
     ! PQCREATETRACE(), PQCLOSETRACE(), PQTRACE() now only activated 
       in 'NODLL' (temp name) is defined, since passing 'FILE *' to 
       .dlls results in crash.
     ; TOFIX? added to PQESCAPEBYTEA()
     * Formatting.
     % Cleanup, optimizations.
     ; NOTE: I've tried test.prg and while it runs, it doesn't seem 
             to work properly for some reason.
     ; TOFIX: Use bh_parptrGC() for PGresult, FILE*.

   * hbpgsql/make_vc.bat
     + Now uses the .lib provided in the binary package.
       (This needs the current 8.3.1 version)
2008-06-05 00:45:08 +00:00
Przemyslaw Czerpak
67649c1e0c 2008-06-05 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! pass macro compiled string to error object. It fixes Clipper
      incompatible behavior reported by Mindaugas.
    ! fixed few possible internal errors when user error handler will
      try to force wrong substitution
2008-06-05 00:34:39 +00:00
Viktor Szakats
a3417471c7 * hbpgsql/make_b32.bat
* hbpgsql/make_vc.bat
   * hbpgsql/tests/bld_b32.bat
   * hbpgsql/tests/bld_vc.bat
     ! Fixed to use the right .dll to generate the .lib.
     ; TOMERGE [RC1]

   * hbpgsql/tpostgre.prg
     * Comment.
2008-06-05 00:08:04 +00:00
Viktor Szakats
44f1ff8bbb 2008-06-04 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
     + Added keypress emulator to aid automated testing.
     + Added test for EMG's bug case.
       [RC1]
2008-06-04 22:04:01 +00:00
Viktor Szakats
1c881c9fa5 2008-06-05 00:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit2/Makefile
     ! Readded last char of last line.
       [RC1]
2008-06-04 22:03:40 +00:00
Viktor Szakats
b771ecb425 2008-06-04 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit2/hbsqlit2.c
     * Removed commented debug code.
     * Code cleanup, optimizations.
     ! GPFs fixed in many function, when no db was open.
     ! Automatically closing previous db when opening a new one.
     ! hb_sqlite2_db initialized with NULL.
2008-06-04 21:19:49 +00:00
Viktor Szakats
722fc72fd1 typo 2008-06-04 20:45:14 +00:00
Viktor Szakats
4fffac5a9a 2008-06-04 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
     + Added keypress emulator to aid automated testing.
     + Added test for EMG's bug case.
       [RC1]
2008-06-04 20:16:55 +00:00
Viktor Szakats
acd5205b2b 2008-06-04 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
     + Added keypress emulator to aid automated testing.
     + Added test for EMG's bug case.
       [RC1]
2008-06-04 20:15:35 +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
253fa8e029 2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit3/hbsqlit3.c
     ! Fix for GCC.
2008-06-04 18:18:24 +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
027282d853 2008-06-04 19:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit3/hbsqlit3.c
     ! Removed 'HB_VER_MAJOR < 1' version check, as it 
       makes it fail with the new version setting.
2008-06-04 17:55:50 +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
Viktor Szakats
bd6e69b714 2008-06-04 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/hbbit.c
     + Added important NOTE about hb_bit*() functions' 
       relation to the compiler optimization engine.

   * source/vm/fm.c
   * source/vm/extrap.c
     * Log filenames converted to static variables. With the 
       intent that they'll be converted to Set()s or similar 
       user settable values in the future, since it's useful 
       and more elegant to redirect these to the app's normal 
       logfile.

   * contrib/hbsqlit3/hbsqlit3.c
     * Minor formatting.
2008-06-04 13:53:05 +00:00
Viktor Szakats
8d3c0f4d2e 2008-06-04 14:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit2/hbsqlit2.c
     * Further cleanup, optimizations.
     ! Converted to use ANSI comment only.

   * contrib/hbsqlit3/hbsqlit3.c
     % Minor optimization.
2008-06-04 12:29:08 +00:00
Viktor Szakats
1ebf0fee92 2008-06-04 14:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit3/hbsqlit3.c
     % Removed __XHARBOUR__ guards.
     * Minor cleanups.

   * contrib/hbsqlit2/hbsqlit2.c
     % Major cleanup, formatting, optimizations.
     ! INCOMPATIBLE: public vars prefixed with 'hb_sqlite2_'.
2008-06-04 12:09:26 +00:00
Viktor Szakats
7a289e88c4 typo in comment 2008-06-04 11:21:00 +00:00
Viktor Szakats
760625456e 2008-06-04 11:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbver.h
     + Added HB_VERSION unified version identifier:
       three bytes: major + minor + revision (0x000909)
       This is to aid 3rd parties to detect version.
       [RC1]

   * contrib/hbsqlit3/make_b32.bat
   * contrib/hbsqlit3/hbsqlit3.c
     ! SQLITE3_OPEN(): Fixed potential leak.
     + BCC warnings are now suppressed for the foreign code only, 
       and this is now effective in all build systems.
     * Code formatting.
2008-06-04 09:46:23 +00:00
Viktor Szakats
d879de1edb 2008-06-04 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbver.h
     + Added HB_VERSION unified version identifier:
       three bytes: major + minor + revision (0x000909)
       This is to aid 3rd parties to detect version.
2008-06-04 09:28:42 +00:00
Phil Barnett
4021dd9b80 Tagging Harbour to Harbour-RC1 2008-06-04 05:13:20 +00:00
Phil Barnett
9c6c65c681 Commit files for tagging RC1 2008-06-04 04:58:24 +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
94bfc4d0f2 2008-06-04 02:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/adsfunc.c
     ! Fix to ADSCREATEFTSINDEX().
       Thanks Brian and Luis.

   * contrib/rddads/ads.ch
     * Formatting: Moved #commands together to end of the file.
     * Formatting: Aligned #define values to look more organized.
2008-06-04 00:09:49 +00:00
Viktor Szakats
1b76b24141 duplicate ChangeLog entry removed 2008-06-03 23:44:32 +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
c035748774 2008-06-03 22:24 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.

   (missed to send e-mail and update ChangeLog in prev commit)
2008-06-03 22:27:22 +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
Przemyslaw Czerpak
1bd32ce932 2008-06-03 19:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/garbage.c
    % clear hb_stack return item in HB_GCALL() function before
      executing hb_gcCollectAll()
2008-06-03 17:59:45 +00:00
Przemyslaw Czerpak
871e6c9ae1 2008-06-03 18:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/hbrun.c
  + harbour/source/rtl/hbrunfun.c
    * renamed hbrun.c to hbrunfun.c to satisfy non GNU make system
2008-06-03 16:48:00 +00:00
Przemyslaw Czerpak
bdf43f67b2 2008-06-03 18:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  * harbour/include/hbextern.ch
  + harbour/source/rtl/hbrun.c
    + added function to execute commands which returns application
      exit code:
         HB_RUN( <cCommand> ) -> <nErrorLevel>
2008-06-03 16:09:00 +00:00
Przemyslaw Czerpak
eaf575cb6f 2008-06-03 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_deb.sh
    ! added fixes by Guy Roussin - many thanks
2008-06-03 15:32:29 +00:00
Przemyslaw Czerpak
0d57df5ce5 2008-06-03 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/w32_regc.c
    ! fixed typo hb_free() => hb_xfree()
    ! fixed UNICODE build

  * harbour/source/vm/itemapi.c
    * changed hb_itemPutC() and hb_itemPutCL() to be safe when
      user call it passing string which is stored in item passed
      as first parameter. It should fix problem located by Chen.
      Please test.
2008-06-03 15:23:59 +00:00
Przemyslaw Czerpak
6414835fe7 2008-06-03 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/extrap.c
    ! fixed unregistering exception error handler in OS2 builds
      David, if possible please test.
2008-06-03 13:10:49 +00:00
Viktor Szakats
833a542353 typo 2008-06-03 08:46:05 +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
83b872a811 2008-06-03 09:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/rdd.api
     + Added necessary conversions.
     ; NOTE: 3 functions are not yet implemented in Harbour.

   * contrib/hbw32/w32_regc.c
   * contrib/hbw32/tests/testreg.prg
     % Optimizations.
     * Formatting.

   * contrib/hbw32/w32_ole.c
     ! Fixed indentation.

   * contrib/hbhpdf/harupdf.c
     ! Fixed hpdf_ReadFromStream() fixed to not overflow 
       to buffer in hb_storlen_buffer().
2008-06-03 07:14:05 +00:00
Viktor Szakats
7a8e05235f e-mail mangled 2008-06-03 00:10:05 +00:00
Viktor Szakats
98bcafd98f 2008-06-03 01:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extend.c
     ! hb_storclen_buffer() fixed to free the passed buffer 
       in case it couldn't be stored. This situation was 
       easy to miss and difficult to detect for the caller, 
       and it might cause leaks.
      
   * contrib/hbw32/Makefile
   * contrib/hbw32/common.mak
   + contrib/hbw32/hbw32.ch
   + contrib/hbw32/w32_reg.prg
   + contrib/hbw32/w32_regc.c
   + contrib/hbw32/tests/testreg.prg
     + Added Windows registry handling stuff.
       Work of Peter Rees <peter@rees.co.nz> / xhb.
     * Code cleaned, formatted, optimized a bit.
     + Added an even simpler interface:
       w32_regRead( <reg_path> ) -> xValue
       w32_regWrite( <reg_path>, <value> ) -> <lSuccess>
       where <reg_path> is: "HKCU\key[\subkeys]\entry"
2008-06-03 00:08:49 +00:00
Viktor Szakats
603d77d54b 2008-06-02 23:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
   + contrib/hbsqlit2
   + contrib/hbsqlit2/Makefile
   + contrib/hbsqlit2/make_b32.bat
   + contrib/hbsqlit2/make_vc.bat
   + contrib/hbsqlit2/make_gcc.sh
   + contrib/hbsqlit2/common.mak
   + contrib/hbsqlit2/hbsqlit2.c
   + contrib/hbsqlit2/hbsqlit2.ch
   + contrib/hbsqlit2/LICENSE.txt
   + contrib/hbsqlit2/TODO.txt
   + contrib/hbsqlit2/readme.txt
   + contrib/hbsqlit2/attach.c
   + contrib/hbsqlit2/auth.c
   + contrib/hbsqlit2/btree.c
   + contrib/hbsqlit2/btree.h
   + contrib/hbsqlit2/btree_rb.c
   + contrib/hbsqlit2/build.c
   + contrib/hbsqlit2/config.h
   + contrib/hbsqlit2/copy.c
   + contrib/hbsqlit2/date.c
   + contrib/hbsqlit2/delete.c
   + contrib/hbsqlit2/encode.c
   + contrib/hbsqlit2/expr.c
   + contrib/hbsqlit2/func.c
   + contrib/hbsqlit2/hash.c
   + contrib/hbsqlit2/hash.h
   + contrib/hbsqlit2/insert.c
   + contrib/hbsqlit2/main.c
   + contrib/hbsqlit2/opcodes.c
   + contrib/hbsqlit2/opcodes.h
   + contrib/hbsqlit2/os.c
   + contrib/hbsqlit2/os.h
   + contrib/hbsqlit2/pager.c
   + contrib/hbsqlit2/pager.h
   + contrib/hbsqlit2/parse.c
   + contrib/hbsqlit2/parse.h
   + contrib/hbsqlit2/pragma.c
   + contrib/hbsqlit2/printf.c
   + contrib/hbsqlit2/random.c
   + contrib/hbsqlit2/select.c
   + contrib/hbsqlit2/sqlite.h
   + contrib/hbsqlit2/sqliteInt.h
   + contrib/hbsqlit2/table.c
   + contrib/hbsqlit2/tokenize.c
   + contrib/hbsqlit2/trigger.c
   + contrib/hbsqlit2/update.c
   + contrib/hbsqlit2/util.c
   + contrib/hbsqlit2/vacuum.c
   + contrib/hbsqlit2/vdbe.c
   + contrib/hbsqlit2/vdbe.h
   + contrib/hbsqlit2/vdbeaux.c
   + contrib/hbsqlit2/vdbeInt.h
   + contrib/hbsqlit2/where.c
   + contrib/hbsqlit2/tests/bld_b32.bat
   + contrib/hbsqlit2/tests/bld_vc.bat
   + contrib/hbsqlit2/tests/example.db
   + contrib/hbsqlit2/tests/hbsqlite.prg
     + Added hbsqlit2 SQLite 2.x interface library.

       With kind permission from the author:
       Alejandro de Gárate <alex_degarate/at/hotmail.com>

     + Some renames were done here too to better fit into 
       the contrib structure.
     + Added std make files.
     + Added to 'all' make files.
     + Added foreign SQLite 2.8.16 (final 2.x version)
       source code to the repository.
       Compiles with an okay amount of warnings under BCC but 
       doesn't compile in C++ mode in MSVC (due to missing 
       casts).
     ; NOTE: I've added this because this is the original 
             SQLite Harbour interface, clean and working 
             implementation, and SQLite 2 is incompatible 
             with 3, and some may need to access existing 
             2.x databases from Harbour.
2008-06-02 21:46:01 +00:00
Viktor Szakats
fa7dcb44ea 2008-06-02 21:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/hvm.c
     % Minor opt to __SETPROFILE(), __TRACEPRGCALLS()
     ! __SETPROFILE() to only set the value if a parameter was passed.
       This way it's possible to read the value without destroying it.
2008-06-02 19:19:50 +00:00
Viktor Szakats
a7eba2ff2f 2008-06-02 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbstr.c
     ! HB_EXPORT added to hb_strRemEscSeq(). Thanks Javier.
2008-06-02 18:30:05 +00:00
Przemyslaw Czerpak
de3a13f42a 2008-06-02 20:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/cmdcheck.c
    ! do not disable macrotext substitution for -kc
2008-06-02 18:11:57 +00:00
Przemyslaw Czerpak
e97fbe0fb0 2008-06-02 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt2.c
    + added compile time INT( <num> ) optimization

  * harbour/source/compiler/hbusage.c
    * updated -k? description to show "(default)" for really set flags
2008-06-02 17:55:48 +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
ff04244669 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    ! do not optimize HB_BIAND(), HB_BITOR() and HB_BITXOR() when only
      one parameter is passed to keep RT error compatibility
    * use hb_compExprListStrip() to optimize function calls also when
      parameters are passed in parenthesis, f.e.:
         ? CHR(65), CHR((65))
      It's not Clipper compatible and disabled by -kc switch.
      Viktor it will interact with some hbtest tests when compile time
      optimization used by Clipper gives different results then RT function
      f.e. CHR( ( 256 ) ). Please think if we should keep it.
      It's important optimization if someone uses constant values or
      expressions defined in parentheses.
2008-06-02 14:46:20 +00:00
Przemyslaw Czerpak
ed3ab32b06 2008-06-02 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/hbsqlit3.c
    ! use char * instead of LPSTR to compile in non Windows environment
    ! fixed one printf() parames
    ! fixed casting and parameter type in sqlite3_blob_open()

  * harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
    - removed unused hb_compExprAsLong()
    + added hb_compExprAsLongNum(), hb_compExprReduceBitFunc()
    + added compiletime optimizatiob for HB_BIT*() functions:
      HB_BITAND(), HB_BITOR(), HB_BITXOR(), HB_BITSET(), HB_BITRESET()
      HB_BITSHIFT(), HB_BITNOT(), HB_BITTEST()
2008-06-02 13:41:00 +00:00