Commit Graph

14 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
c8964bbff5 2008-07-03 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmsql/msql.h
    * updated for [Open]Watcom builds. Now DOS OpenWatcom builds
      works fine except hbbmcdx which needs special trick for long
      file names. Question: Should we change filenames in this library
      to 8.3 standard?

  * harbour/config/none.cf
    ! fixed to work with DOS and pure command.com
2008-07-03 11:16:32 +00:00
Viktor Szakats
2749fe224a 2008-06-30 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/Makefile
   * contrib/hbapollo/Makefile
   * contrib/hbbtree/Makefile
   * contrib/hbclipsm/Makefile
   * contrib/hbct/Makefile
   * contrib/hbfbird/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbgd/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/hbmisc/Makefile
   * contrib/hbmsql/Makefile
   * contrib/hbmysql/Makefile
   * contrib/hbmzip/Makefile
   * contrib/hbnf/Makefile
   * contrib/hbodbc/Makefile
   * contrib/hbpgsql/Makefile
   * contrib/hbsqlit2/Makefile
   * contrib/hbsqlit3/Makefile
   * contrib/hbtip/Makefile
   * contrib/hbtpathy/Makefile
   * contrib/hbvpdf/Makefile
   * contrib/hbw32/Makefile
   * contrib/hbw32ddr/Makefile
   * contrib/hbwhat32/Makefile
   * contrib/rddado/Makefile
   * contrib/rddads/Makefile
     ! CFLAGS -> C_USR
     * var = var + x -> var += x
     ! Added header install rules for all places where such 
       headers are defined. I wonder why isn't this the default 
       in our GNU-make system.
     * few other minor cleanups.

   * contrib/rddads/Makefile
     * Experimenting with HB_INC_ADS implementation in GNU-make system.
       HB_INC_ADS can now used to enable to rddads builds.
       In GNU-make HB_INC_ADS can contain a list of possible places 
       where headers may be found. GNU-make will validate these and 
       if the headers were found in any of these places, rddads will 
       be built. For Linux there are some default dirs which will 
       always be checked.
       'HB_WITHOUT_ADS' and 'ACE_DIRS' is not longer used.
     ; Please test. If this works out okay, we can use this method 
       for the rest of 3rd party dependent contribs.

   * contrib/rddads/Makefile
     % Don't define WIN32 in GNU-makefiles for w32.

   * contrib/hbmisc/Makefile
     ! Don't include non-existing 'test' dir in make.

   * contrib/gtwvg/Makefile
   * contrib/gtwvg/common.mak
     ! Not installing private .h file to common include dir.

   * contrib/hbw32ddr/w32_ddrw.cpp
     ! Fixed one GCC warning. (Some remain)
2008-06-30 08:25:46 +00:00
Viktor Szakats
8dcaa95da6 2008-06-26 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/mysql.c
   * contrib/hbmysql/tmysql.prg
   * contrib/hbmsql/msql.c
   * contrib/hbmsql/tmsql.prg
     ! Fixed again to use hb_parptr()/hb_retptr() 
       instead of hb_parnl()/hb_retnl(). This fixes these libs 
       on 64 bit systems.
       This is an INCOMPATIBLE change, users of these libs will 
       have to update their code when dealing with return values 
       of the following functions:
       - hbmysql / SQLCONNECT()
       - hbmysql / SQLSTORER()
       - hbmysql / SQLUSERES()
       - hbmsql / MSQLSTORER()
       - hbmsql / MSQLLISTFI()
       They will now return pointer type instead of a number, 
       so error checking will have to be changed from r > 0, 
       r ==/=/!=/> 0 to !Empty( r ).
     ; Please test.

   * contrib/hbgf/hbgfw32/win32.c
   * contrib/hbgf/hbgfos2/os2pm.c
   * contrib/hbgf/hbgfos2/os2pm.ch
     * Some cleanups.
     ; Please test for OS/2.
2008-06-26 10:28:07 +00:00
Przemyslaw Czerpak
c82626bc3d 2008-06-26 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmsql/msql.c
    ! changed msqlGetErrMsg( NULL ) => msqlErrMsg

  * harbour/contrib/hbsqlit3/hbsqlit3.c
    ! include harbour header files after sqlite3.c which needs some
      extra sets for system header files

  * harbour/contrib/hbgf/hbgfw32/win32.c
    ! removed wrongly used TEXT( hb_parc( 1 ) ) macro. The TEXT()
      macro can be used _ONLY_ for literal strings.

  * harbour/contrib/hbgf/hbgfgtk/Makefile
  * harbour/contrib/hbgf/hbgfgtk/dispatch.c
  * harbour/contrib/hbgf/hbgfgtk/msginfo.c
  * harbour/contrib/hbgf/hbgfgtk/form.prg
  * harbour/contrib/hbgf/hbgfgtk/creawin.c
    ! fixed compilation in Linux

  * harbour/source/rtl/gtclip.c
    * pacified warning
2008-06-26 09:47:58 +00:00
Viktor Szakats
adc1778a19 2008-06-24 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmsql/msql.c
   * contrib/hbmysql/mysql.c
     ! Partially undone previous change where hb_par/retnl() 
       calls were swapped for hb_par/retptr(). HB_PAR/RETPTR() 
       macros are used in the time being, until .prg level 
       code isn't updated to expect pointers rather then 
       numerics. The problem is that these pointers are checked 
       for zero on the .prg level. Notice that using par/retnl() 
       for pointers makes these function fail on Win64.
       TOFIX: Two solutions come to mind: 1) extend HVM to make 
              it possible to compare pointer types against zero. 
              2) develop different ways to return errors and modify 
              .prg level code accordingly.
              I'd vote for 1) if doable.

   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * contrib/hbfimage/Makefile
     * __GNUC__ macro requirement moved to C source 
       from GNU-make CFLAGS.
2008-06-24 17:34:25 +00:00
Viktor Szakats
1de1cfa507 2008-06-19 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.prg
   * contrib/examples/guestbk/inifiles.prg
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/hscript/hscript.prg
   * contrib/examples/pe/editorhi.prg
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/hbbtree/tests/test.prg
   * contrib/hbbtree/tests/ttest.prg
   * contrib/hbclipsm/tests/testgaug.prg
   * contrib/hbct/getinfo.prg
   * contrib/hbct/getinput.prg
   * contrib/hbct/getsecrt.prg
   * contrib/hbct/keytime.prg
   * contrib/hbct/numconv.prg
   * contrib/hbfbird/tfirebird.prg
   * contrib/hbgd/gd.prg
   * contrib/hbgd/gdbar.prg
   * contrib/hbgd/gdbarcod.prg
   * contrib/hbgd/gdimage.prg
   * contrib/hbgd/tests/animgif.prg
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/test_out.prg
   * contrib/hbgf/gtk/button.prg
   * contrib/hbgf/gtk/form.prg
   * contrib/hbgf/gtk/menuitem.prg
   * contrib/hbgf/gtk/winctrl.prg
   * contrib/hbgf/os2pm/button.prg
   * contrib/hbgf/os2pm/edit.prg
   * contrib/hbgf/os2pm/tform.prg
   * contrib/hbgf/os2pm/tmenu.prg
   * contrib/hbgf/os2pm/tmenuitm.prg
   * contrib/hbgf/tests/formtext.prg
   * contrib/hbgf/tests/testctrl.prg
   * contrib/hbgf/tests/testform.prg
   * contrib/hbgf/win32/button.prg
   * contrib/hbgf/win32/edit.prg
   * contrib/hbgf/win32/form.prg
   * contrib/hbgf/win32/menu.prg
   * contrib/hbgf/win32/menuitem.prg
   * contrib/hbhpdf/tests/harupdf.prg
   * contrib/hbmsql/tests/dbf2msql.prg
   * contrib/hbmsql/tmsql.prg
   * contrib/hbmysql/dbf2mysql.prg
   * contrib/hbmysql/tmysql.prg
   * contrib/hbmysql/tsqlbrw.prg
   * contrib/hbmzip/tests/myzip.prg
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/calendar.prg
   * contrib/hbnf/clrsel.prg
   * contrib/hbnf/pending.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/tbwhile.prg
   * contrib/hbnf/tests/test.prg
   * contrib/hbodbc/todbc.prg
   * contrib/hbpgsql/tests/dbf2pg.prg
   * contrib/hbpgsql/tpostgre.prg
   * contrib/hbsqlit2/tests/hbsqlite.prg
   * contrib/hbsqlit3/tests/sqlite3_test.prg
   * contrib/hbtpathy/telepath.prg
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/hbvpdf/tests/pdf_demo.prg
   * contrib/hbvpdf/tests/tstpdf.prg
   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_tprn.prg
   * contrib/hbw32ddr/tests/testdx.prg
   * contrib/rddado/adordd.prg
   * contrib/rddado/tests/access2.prg
   * source/debug/debugger.prg
   * source/rdd/hbsix/sxini.prg
   * utils/hbdot/hbdot.prg
   * utils/hbextern/hbextern.prg
     * Cleanup.
       <>    -> != or !( == ) for strings
       if()  -> iif() (for inline, where noticed)
       ' = ' -> := or == for comparisons, or left as '=' in the few 
          rare cases where this was (probably) intended (sxini.prg).
       Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg, 
          hbvpdf has some difficult to judge '=' operators, so I left them.
     ! Fixed some _SET_EXACT dependencies in a few places.
     ; TODO: If possible, add a compile switch to catch these, as 
             it's not very easy using 'grep'.
2008-06-19 16:33:10 +00:00
Viktor Szakats
bd9bfbf2e1 fix to prev 2008-06-08 10:28:39 +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
332d4b5b97 2008-06-05 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * contrib/hbbtree/hb_btree.c
   * contrib/hbclipsm/gauge.c
   * contrib/hbfbird/firebird.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbmsql/msql.c
   * contrib/hbmysql/mysql.c
   * contrib/hbnf/dispc.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/getver.c
   * contrib/hbnf/kspeed.c
   * contrib/hbodbc/odbc.c
   * contrib/hbole/ole2.c
   * contrib/hbsqlit2/hbsqlit2.c
   * contrib/hbsqlit3/hbsqlit3.ch
   * contrib/hbtpathy/tplinux.c
   * contrib/hbtpathy/tpwin32.c
   * contrib/hbtpathy/tpos2.c
   * contrib/hbtpathy/tpcommon.c
   * contrib/hbtip/thtml.ch
   * contrib/hbtip/utils.c
   * contrib/hbtip/tip.ch
   * contrib/xhb/hboutdbg.c
   * utils/hbpp/Makefile
   - utils/hbpp/pragma.c
   + utils/hbpp/hbpragma.c
     * General code quality improvements.
       (.api usage, sprintf -> snprintf, ANSI comments, CLIPDEFS, 
       windows.h inclusion, hb_retc*_buffer, hb_ret(), hb_itemReturnRelease(), 
       formatting.)
     ! Collision between two pragma.c files resolved.
2008-06-05 08:19:49 +00:00
Viktor Szakats
2940317c15 2008-05-26 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmsql/make_b32.bat
   * contrib/hbmsql/make_vc.bat
   * contrib/hbmsql/msql.c
     + Now automatically setting _OS_WIN32, no need to
       use special CFLAGS anymore.
2008-05-26 09:28:55 +00:00
Marek Paliwoda
06cfde4dbf 2008-02-06 11:08 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
+ harbour/contrib/gtwvg/make_gcc.sh
  + harbour/contrib/hbapollo/make_gcc.sh
  + harbour/contrib/hbclipsm/make_gcc.sh
  + harbour/contrib/hbct/make_gcc.sh
  + harbour/contrib/hbfbird/make_gcc.sh
  + harbour/contrib/hbfimage/make_gcc.sh
  + harbour/contrib/hbgd/make_gcc.sh
  + harbour/contrib/hbgt/make_gcc.sh
  + harbour/contrib/hbmisc/make_gcc.sh
  + harbour/contrib/hbmsql/make_gcc.sh
  + harbour/contrib/hbmysql/make_gcc.sh
  + harbour/contrib/hbnf/make_gcc.sh
  + harbour/contrib/hbodbc/make_gcc.sh
  + harbour/contrib/hbole/make_gcc.sh
  + harbour/contrib/hbpgsql/make_gcc.sh
  + harbour/contrib/hbtip/make_gcc.sh
  + harbour/contrib/hbtpathy/make_gcc.sh
  + harbour/contrib/hbw32/make_gcc.sh
  + harbour/contrib/hbw32ddr/make_gcc.sh
  + harbour/contrib/hbwhat32/make_gcc.sh
  + harbour/contrib/hbziparch/make_gcc.sh
  + harbour/contrib/hbzlib/make_gcc.sh
  + harbour/contrib/rddads/make_gcc.sh
  + harbour/contrib/xhb/make_gcc.sh
    + Added missing files to allow compilation using non standard
      build system. Please note that some contribs require external
      packages, so to succesfuully compile them you will have to
      set a proper environment variable, pointing to a list of
      directories, containig required package header files. Those
      envvars are listed below :
         APOLLO_INC
         FIREBIRD_INC
         FREEIMAGE_INC
         GD_INC
         MYSQL_INC
         PGSQL_INC
         ZLIB_INC
         ADS_INC
      Note that those envvars may contain list of directories,
      for example :
         export ADS_INC="/usr/include include ."
      Also note that on Windows systems, using MingW or Cygwin, you will
      have to generate a proper import files from dlls, available in those
      packages - using MingW or Cygwin dlltool - to build end user programs,
      utilizing those packages.

  * harbour/contrib/mtpl_gcc.mak
  * harbour/contrib/mtpl_gcc.sh
  * harbour/contrib/make_gcc_all.sh
    + Added the rest of contrib libs to compile

  * harbour/contrib/hbtpathy/tplinux.c
  * harbour/contrib/hbtpathy/tpos2.c
  * harbour/contrib/hbtpathy/tpwin32.c
    + Added an operating system guard around the content of
      thses files to allow including all three files in a
      library.
2008-02-08 15:45:18 +00:00
Marek Paliwoda
fc69ecbf6e 2008-01-31 18:29 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/gtwvg/common.mak
   * contrib/hbapollo/common.mak
   * contrib/hbbmcdx/common.mak
   * contrib/hbbtree/common.mak
   * contrib/hbclipsm/common.mak
   * contrib/hbct/common.mak
   * contrib/hbfbird/common.mak
   * contrib/hbfimage/common.mak
   * contrib/hbgd/common.mak
   * contrib/hbgt/common.mak
   * contrib/hbmisc/common.mak
   * contrib/hbmsql/common.mak
   * contrib/hbmysql/common.mak
   * contrib/hbnf/common.mak
   * contrib/hbodbc/common.mak
   * contrib/hbole/common.mak
   * contrib/hbpgsql/common.mak
   * contrib/hbtip/common.mak
   * contrib/hbtpathy/common.mak
   * contrib/hbw32/common.mak
   * contrib/hbw32ddr/common.mak
   * contrib/hbwhat32/common.mak
   * contrib/hbziparch/common.mak
   * contrib/hbzlib/common.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
   * contrib/rddado/common.mak
   * contrib/rddads/common.mak
   * contrib/xhb/common.mak
   * contrib/mtpl_gcc.mak
     ! Fixed possible error in Bcc build, related to recent changes

   + contrib/hbbmcdx/make_gcc.sh
   + contrib/hbbtree/make_gcc.sh
   + contrib/rddado/make_gcc.sh
   + contrib/make_gcc_all.sh
   + contrib/mtpl_gcc.sh
     + Readded, due to my wrong last commit, when these files
       were not added at all
2008-01-31 17:30:36 +00:00
Marek Paliwoda
541265b357 2008-01-30 21:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/gtwvg/common.mak
   * contrib/hbapollo/common.mak
   * contrib/hbbmcdx/common.mak
   * contrib/hbbtree/common.mak
   * contrib/hbclipsm/common.mak
   * contrib/hbct/common.mak
   * contrib/hbfbird/common.mak
   * contrib/hbfimage/common.mak
   * contrib/hbgd/common.mak
   * contrib/hbgt/common.mak
   * contrib/hbmisc/common.mak
   * contrib/hbmsql/common.mak
   * contrib/hbmysql/common.mak
   * contrib/hbnf/common.mak
   * contrib/hbodbc/common.mak
   * contrib/hbole/common.mak
   * contrib/hbpgsql/common.mak
   * contrib/hbtip/common.mak
   * contrib/hbtpathy/common.mak
   * contrib/hbw32/common.mak
   * contrib/hbw32ddr/common.mak
   * contrib/hbwhat32/common.mak
   * contrib/hbziparch/common.mak
   * contrib/hbzlib/common.mak
   * contrib/rddado/common.mak
   * contrib/rddads/common.mak
   * contrib/xhb/common.mak
     ! Changed to be compatible with GNU make for alternative
       building system centered around common.mak.

   + contrib/make_gcc_all.sh
   + contrib/mtpl_gcc.mak
   + contrib/mtpl_gcc.sh
     + New files for building contrib libs with GNU make using
       alternative building system centered around common.mak.

   + contrib/hbbmcdx/make_gcc.sh
   + contrib/hbbtree/make_gcc.sh
   + contrib/rddado/make_gcc.sh
     + New files for building contrib libs with GNU make using
       alternative building system centered around common.mak.
       Work in progress.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     + Added Copyright notes.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.bat
   * contrib/mtpl_vc.mak
     ! Minor cleanup and formatting.

   * make_gcc.mak
   * make_gcc.sh
     ! Minor fix related to Cygwin platform
2008-01-30 20:39:26 +00:00
Viktor Szakats
f2480e5443 2007-12-01 02:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/Makefile
   - contrib/msql
   + contrib/hbmsql
   * contrib/hbmsql/common.mak
   * contrib/hbmsql/Makefile
   - contrib/libmisc
   + contrib/hbmisc
   - contrib/mysql
   + contrib/hbmysql
   - contrib/odbc
   + contrib/hbodbc
   - contrib/ole
   + contrib/hbole
   - contrib/pgsql
   + contrib/hbpgsql
   * contrib/hbpgsql/common.mak
   * contrib/hbpgsql/Makefile
   - contrib/samples
   + contrib/hbclipsm
   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/Makefile
2007-12-01 01:34:59 +00:00