Commit Graph

8209 Commits

Author SHA1 Message Date
Viktor Szakats
a28fac01e6 2008-06-01 17:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
   + contrib/hbsqlit3
   + contrib/hbsqlit3/Makefile
   + contrib/hbsqlit3/make_b32.bat
   + contrib/hbsqlit3/make_vc.bat
   + contrib/hbsqlit3/make_gcc.sh
   + contrib/hbsqlit3/common.mak
   + contrib/hbsqlit3/hbsqlit3.c
   + contrib/hbsqlit3/hbsqlit3.ch
   + contrib/hbsqlit3/sqlite3/sqlite3.c
   + contrib/hbsqlit3/sqlite3/sqlite3.h
   + contrib/hbsqlit3/tests/bld_b32.bat
   + contrib/hbsqlit3/tests/bld_vc.bat
   + contrib/hbsqlit3/tests/blob.prg
   + contrib/hbsqlit3/tests/pack.prg
   + contrib/hbsqlit3/tests/metadata.prg
   + contrib/hbsqlit3/tests/sqlite3_test.prg
     + Added Harbour interface for SQLite 3.x.

       Thanks goes to Petr Chornyj <myorg63/at/mail.ru> for 
       creating this code and making it available for this project.

       (The code also based on Alejandro de G rate 
       <alex_degarate/at/hotmail.com> SQLite 2 interface work)

     + Added make files, arranged std contrib layout.
     * Renamed header, source and lib name to comply with 8.3 rules.
     + Added to 'all' make files.
     + Added foreign SQLite 3.5.9 (amalgamation) latest version 
       source code to the repository.
       Compiles with lots of warnings under BCC and 
       doesn't compile in C++ mode in MSVC (due to missing 
       casts).
     ; We may remove foreign code once the warnings 
       has been fixed and retrofitted in the original 
       package. Since the two required files are simply 
       #included in the Harbour source code, moving them 
       anywhere, or accessing them from anywhere is a matter 
       of -I switch.
     ; TOFIX:
       - Replace MessageBox() with RTE or HB_TRACE().
       - Remove HB_OS_WIN_32_USED dependency.
       - Review if __XHARBOUR__ branches are indeed necessary.
2008-06-01 15:52:56 +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
Viktor Szakats
9dc36d5895 whitespace 2008-06-01 12:10:27 +00:00
Viktor Szakats
fef79bae23 2008-06-01 13:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.ch
     ! Few typos.
2008-06-01 11:52:01 +00:00
Viktor Szakats
d845d3cdac 2008-06-01 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Fixed TOFIX1 from the previous entry.
2008-06-01 11:43:14 +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
Przemyslaw Czerpak
2a89109763 2008-05-31 14:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbmacro.ch
  * harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
    - removed HB_MACRO_STATEMENTS and HB_SM_PREPROC
2008-05-31 12:45:01 +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
27485544d5 debug printf()s removed 2008-05-31 10:52:08 +00:00
Viktor Szakats
9878676e11 fix to prev 2008-05-31 10:50:13 +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
Przemyslaw Czerpak
29f5f93b0b 2008-05-31 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/debugger.prg
    * removed some unused var, formatting

  * harbour/source/pp/ppcore.c
  * harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
  * harbour/source/common/hbdate.c
    * casting

  * harbour/source/common/hbstr.c
    * casting
    * use HB_ISSPACE() instead of isspace() for strict Clipper
      compatibility

  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    ! never use 'char' to 'int' casting for parameters of
      toupper()/to*()/isuper()/is*() functions
2008-05-31 09:30:26 +00:00
Viktor Szakats
2ad741b2b0 some clarification to latest ChangeLog entry. 2008-05-31 08:36:18 +00:00
Viktor Szakats
4a48b29855 2008-05-31 09:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     * For __BORLANDC__:
       _declspec( dllexport ) -> __declspec( dllexport )
       _declspec( dllimport ) -> __declspec( dllimport )
       to suppress warning: Non-ANSI keyword used: '_declspec'.
       NOTE1: This warning could be normally seen when compiling 
              contrib/rddads/ads1.c after the recent addition 
              of -w switch to enable BCC warnings.
       NOTE2: Neither look like ANSI C, and both are undocumented 
              in BCC.
     ; Please test.

   * include/hberrors.h
   * source/compiler/hbgenerr.c
     + Pointless historical surprise added.

   * contrib/mtpl_b32.mak
     - Removed duplicate -d switch.

   * contrib/rddads/ads1.c
     + Empty line.

   * TODO
     - Removed TBrowse() item.
2008-05-31 08:09:09 +00:00
Viktor Szakats
af91810256 2008-05-30 22:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/pp/ppcore.c
     * "hb_inLine" -> "hb_inline"

   * source/hbpcre/_hbconf.h
     + Added #pragma warn -sig (-w-sig-)

   * source/common/hbverdsp.c
   * source/compiler/hbusage.c
     * Minor adjustments to compatible product names.
2008-05-30 20:08:02 +00:00
Viktor Szakats
fe65e17b51 TOFIX removed. 2008-05-30 17:35:59 +00:00
Viktor Szakats
f4f78041a2 2008-05-30 19:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/accept.c
     * Minor format.

   * contrib/hbfbird/readme.txt
     + Added SVN header.

   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdf.ch
   * contrib/hbvpdf/tests/pdf_demo.prg
   + contrib/hbvpdf/readme.txt
     + Updated to latest 0.8 version.
     + Added readme.txt (including revision log) 
       from original package.
2008-05-30 17:34:53 +00:00
Viktor Szakats
5bd52e37c3 2008-05-30 18:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
   * include/hbinit.h
   * source/compiler/harbour.yyc
   * source/compiler/harbour.y
     * HARBOUR_YYDEBUG -> HB_YYDEBUG
       (do we need this? it's a synomym for YYDEBUG)
     * HARBOUR_STRICT_ANSI_C -> HB_STRICT_ANSI_C
       (do we need this?)
     + HB_PCRE_REGEX added.
     + HB_PCRE_REGEX_BCC added.
     + HB_POSIX_REGEX added.
     - HB_MACRO_STATEMENTS
2008-05-30 16:12:39 +00:00
Viktor Szakats
631010f4ae 2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     * Some cleanups on appearance.
     * Company names removed (except CA).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   - contrib/hbzlib
     - Removed.
2008-05-28 12:44:07 +00:00