Commit Graph

13 Commits

Author SHA1 Message Date
Viktor Szakats
69205770d7 2009-06-25 13:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
  * contrib/hbblat/blatwrp.c
  * contrib/hbfbird/firebird.c
  * contrib/xpp/dbcmdx.c
  * contrib/xpp/philesx.c
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbclipsm/time.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/base64x.c
  * contrib/hbtip/encmthd.c
    * 'const' cleanup.
    ; NOTE: I've left some warnings which I couldn't fix, 
            and there were also cases where code modification 
            will be needed due to existing bugs now revealed.
2009-06-25 11:41:11 +00:00
Viktor Szakats
a6aa848aaa 2009-05-26 02:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/fparse.c
   * contrib/rddsql/sddmy/mysqldd.c
   * contrib/rddsql/sqlbase.c
   * contrib/rddsql/sqlmix.c
   * contrib/rddads/adsx.c
   * contrib/examples/terminal/trm_client.prg
   * source/rdd/dbfnsx/dbfnsx1.c
     % "" -> NULL where applicable (hb_retc*(), hb_retds(), hb_itemPutC*(),
       hb_arraySetC*(), hb_errInternal(), hb_itemPutDS(), hb_arraySetDS())

   * contrib/hbqt/hbqt_qtextdocument.cpp
   * contrib/hbqt/hbqt_qgridlayout.cpp
   * contrib/hbqt/hbqt_qpainter.cpp
   * contrib/hbqt/hbqt_qeventloop.cpp
   * contrib/hbqt/hbqt_qicon.cpp
   * contrib/hbqt/hbqt_qtreeview.cpp
   * contrib/hbqt/hbqt_qtextline.cpp
   * contrib/hbqt/hbqt_qdesktopwidget.cpp
   * contrib/hbqt/hbqt_qhttp.cpp
   * contrib/hbqt/hbqt_qlineedit.cpp
   * contrib/hbqt/hbqt_qcombobox.cpp
   * contrib/hbqt/hbqt_qlistwidget.cpp
   * contrib/hbqt/hbqt_qtextcursor.cpp
   * contrib/hbqt/hbqt_qtextlayout.cpp
   * contrib/hbqt/hbqt_qftp.cpp
   * contrib/hbqt/hbqt_qclipboard.cpp
   * contrib/hbqt/hbqt_qurl.cpp
   * contrib/hbqt/hbqt_qwebpage.cpp
   * contrib/hbqt/hbqt_qtextedit.cpp
   * contrib/hbqt/hbqt_qpixmap.cpp
   * contrib/hbqt/hbqt_qsplashscreen.cpp
   * contrib/hbqt/hbqt_qtablewidget.cpp
   * contrib/hbqt/hbqt_qtreewidget.cpp
   * contrib/hbqt/generator/hbqtgen.prg
   * contrib/hbqt/hbqt_qfont.cpp
   * contrib/hbqt/hbqt_qmainwindow.cpp
   * contrib/hbqt/hbqt_qdir.cpp
   * contrib/hbqt/hbqt_qwidget.cpp
   * contrib/hbqt/hbqt_qstyle.cpp
   * contrib/hbqt/hbqt_qabstractbutton.cpp
   * contrib/hbqt/hbqt_qobject.cpp
   * contrib/hbqt/hbqt_qcolor.cpp
   * contrib/hbqt/hbqt_qtextstream.cpp
   * contrib/hbqt/hbqt_qwebview.cpp
   * contrib/hbqt/hbqt_qboxlayout.cpp
   * contrib/hbqt/hbqt_qstatusbar.cpp
   * contrib/hbqt/hbqt_qtabwidget.cpp
   * contrib/hbqt/hbqt_qscrollarea.cpp
   * contrib/hbqt/hbqt_qtextcharformat.cpp
     ! Fixed to use HB_ISNUM() instead of HB_ISNIL().
     % Don't call HB_ISNUM() where the default value is
       zero anyway. hb_parn*() functions will return zero
       anyway. (well, maybe this exploits the array-type
       bug in our Extend API.)

   * contrib/gtwvg/wvgwin.c
   * contrib/gtwvg/wvgsink.c
     * Avoiding ISNIL(). Corrected just a few occurences.
       This practice is still wrong in most of the cases in
       GTWVG code, so if the goal is GPF-free and consitently
       behaving apps, these would better be fixed. With
       string params ISNIL() is either superfluous or simply
       don't protect agains GPFs, for rest of the cases it
       either causes unexpected defaults (zero), or simply
       superfluous for the rest of the cases. IOW: Avoid it,
       use HB_ISNUM(), HB_ISCHAR() / parcx() instead.

   * contrib/hbgd/gdwrp.c
     * Formatting.
2009-05-26 00:16:14 +00:00
Mindaugas Kavaliauskas
c5ae2cec9b 2009-05-17 19:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + functions hb_oleParam(), hb_oleItemToVariant() made public

  * harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlbase.c
    + added NULL SDD driver. It allows to use SQLBASE, SQLMIX RDD 
      without any real SDD driver. It could be usefull to implement 
      memory/array RDD
    * unspecified SDD methods are "inherited" from NULL SDD

  + harbour/contrib/rddsql/tests/arrayrdd.prg
    + "Array RDD" example added

  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
    * deleted empty or default SDD methods. They are inherited from 
      NULL SDD now

  * harbour/contrib/rddsql/sddodbc/tests/test1.prg
    + added svn:keywords header
    * extended to show SQLMIX index features
2009-05-17 16:07:42 +00:00
Mindaugas Kavaliauskas
d3928db3c9 2009-05-16 16:55 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/hbrddsql.h
    + added field to connection structure to store database dependent 
      data

  + harbour/contrib/rddsql/sddodbc
  + harbour/contrib/rddsql/sddodbc/Makefile
  + harbour/contrib/rddsql/sddodbc/sddodbc.c
  + harbour/contrib/rddsql/sddodbc/tests
  + harbour/contrib/rddsql/sddodbc/tests/sddodbc.hbp
  + harbour/contrib/rddsql/sddodbc/tests/test1.prg
  * harbour/contrib/rddsql/Makefile
    + implemented ODBC driver for RDDSQL

  * harbour/contrib/rddsql/tests/rddsql.hbp
  - harbour/contrib/rddsql/tests/test1.prg
  + harbour/contrib/rddsql/sddmy/tests
  + harbour/contrib/rddsql/sddmy/tests/sddmy.hbp
  + harbour/contrib/rddsql/sddmy/tests/test1.prg
    * moved sddmy tests to sddmy subfolder

  * harbour/contrib/rddsql/tests/rddsql.hbp
    * changed to use rddsql library only
2009-05-16 13:54:46 +00:00
Mindaugas Kavaliauskas
46b7131e52 2009-05-06 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
    ! fixed double memory freeing and GPF. Thanks valgrind!
2009-05-06 13:06:51 +00:00
Viktor Szakats
1ace83c129 2009-02-03 16:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbrddcdx.h
  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/rddsql/sddfb/fbirddd.c
  * contrib/rddsql/hbrddsql.h
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddado/adordd.prg
  * contrib/rddads/rddads.h
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    * SUCCESS -> HB_SUCCESS
    * FAILURE -> HB_FAILURE
    * ERRCODE -> HB_ERRCODE
2009-02-03 15:17:20 +00:00
Mindaugas Kavaliauskas
8b846abb6b 2009-01-13 20:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/adsx.c
    * improved code to solve RDD initialisation order problem
  * harbour/contrib/rddsql/sqlbase.c
    ! fixed minor typo
  * harbour/source/pp/hbpp.c
  * harbour/source/compiler/hbusage.c
    * updated copyright year to 2009
2009-01-13 18:05:52 +00:00
Mindaugas Kavaliauskas
c19ebf700e 2008-12-30 18:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/include/hbapi.h
  * harbour/source/vm/arrays.c
    + added array preallocation

  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
    * fixed a few compile time warnings
2008-12-30 16:14:01 +00:00
Mindaugas Kavaliauskas
9da0302bb5 2008-12-25 08:05 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddsql/tests/test1.prg
  * contrib/rddsql/common.mak
  - contrib/rddsql/hbsqldd.h
  + contrib/rddsql/hbrddsql.h
  * contrib/rddsql/make_b32.bat
  * contrib/rddsql/make_vc.bat
  * contrib/rddsql/make_gcc.sh
  + contrib/rddsql/sddmy
  - contrib/rddsql/mysqldd.c
  + contrib/rddsql/sddmy/mysqldd.c
  + contrib/rddsql/sddmy/Makefile
  + contrib/rddsql/sddmy/make_gcc.sh
  + contrib/rddsql/sddmy/common.mak
  + contrib/rddsql/sddmy/make_b32.bat
  + contrib/rddsql/sddmy/make_vc.bat
    * changed structure and names of rddsql libraries. Since it can 
      support many SQL databases, each backend moved to a separate 
      library. Otherwise (all backend in the same library) nobody will 
      be able to compile library without installing packages of ALL 
      supported SQL databases. Now:
         rddsql - RDD for interfacing to SQL database drivers
         sddmy  - MySQL database driver
         sddpg  - Postgre SQL database driver
         ...
    ; TOFIX: I was unable to manage build files. 
      contrib/sqlrdd/sddmy/make_b32.bat sets HB_ROOT variable:
        set HB_ROOT = ..\..\..
      but this variable is lost and contrib/make_b32.mak reassign it:
        !ifndef HB_ROOT
        HB_ROOT = ..\..
        !endif
      This breaks building of library. To fix this problem, I've added 
      a two hacks:
        - added additional include path into CFLAGS (see make_b32.bat)
        - added "..\" to LIB_PATH (see common.mak)
      The same problem is for both make_b32 and make_vc, and for both 
      sddmy and sddpg libraries.
    ; TODO: check (and adjust if neccessary) build files for unix

  + contrib/rddsql/sddpg
  + contrib/rddsql/sddpg/pgsqldd.c
  + contrib/rddsql/sddpg/Makefile
  + contrib/rddsql/sddpg/make_gcc.sh
  + contrib/rddsql/sddpg/common.mak
  + contrib/rddsql/sddpg/make_b32.bat
  + contrib/rddsql/sddpg/make_vc.bat
    + added SQL database driver for Postgre SQL
    ; does anyone have more RDD for Christmas gift? :)
2008-12-25 06:06:16 +00:00
Mindaugas Kavaliauskas
6d1b8dd3ae 2008-12-19 01:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/rddsql/mysqldd.c
  * contrib/rddsql/sqlbase.c
    ! moved pArea->uiFieldCount checking to sqlbase
2008-12-18 23:16:24 +00:00
Przemyslaw Czerpak
10a86fb8b0 2008-11-06 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/wcecon.prg
    ! added missing REQUEST DBFCDX

  * harbour/contrib/rddsql/Makefile
    ! added missing include $(TOP)$(ROOT)config/lib.cf

  * harbour/contrib/rddsql/hbsqldd.h
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/mysqldd.c
    * added missing const to some char * parameters/members
    ; added note about using sizeof() in preprocesor conditional directives

  * harbour/contrib/rddsql/sqlmix.c
    ! fixed printf() format

    TOFIX for author:
	mysqldd.c:258: warning: ‘pItemEof’ may be used uninitialized in this function
	sqlbase.c:509: warning: comparison of unsigned expression < 0 is always false
    Mindaugas can you look at it?
2008-11-06 01:19:05 +00:00
Mindaugas Kavaliauskas
cad70bfdc2 2008-10-22 16:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/rddsql/hbsqldd.h
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddsql/mysqldd.c
    * Finished implementation of national sorting support
    * converted // comments to /* */
    * translated lithuanian comments to english
    * updated startup code
    * fixed BYTE * val -> BYTE val[1]
2008-10-22 12:59:27 +00:00
Viktor Szakats
ad8389d113 2008-10-21 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/rddsql
  + contrib/rddsql/common.mak
  + contrib/rddsql/tests
  + contrib/rddsql/tests/test1.prg
  + contrib/rddsql/tests/bld_b32.bat
  + contrib/rddsql/tests/bld_vc.bat
  + contrib/rddsql/Makefile
  + contrib/rddsql/make_b32.bat
  + contrib/rddsql/make_vc.bat
  + contrib/rddsql/make_gcc.sh
  + contrib/rddsql/mysqldd.c
  + contrib/rddsql/sqlbase.c
  + contrib/rddsql/sqlmix.c
  + contrib/rddsql/hbsqldd.h
    + Added SQL RDD sent to the list by Mindaugas.
    * Changed strcpy(), unused vars, startup code, 
      added make files, fixed all MSVS/BCC warnings, 
      other minor cleanups.
    * Changed 'BYTE val[]' to 'BYTE * val' in struct decl.
    ; TOFIX: It doesn't compile on MSVC due to this error:
             .\mysqldd.c(65) : fatal error C1017: invalid integer constant expression

  * ChangeLog
    + Marked one change as TOMERGE.

  * contrib/hbdbgfx/dbgfxc.c
    * Minor cleanup.

  * source/vm/harbinit.prg
    * Minor.

  * source/rtl/xhelp.c
    ! Typo in comment.

  * source/rtl/valtoexp.prg
  * source/rtl/alert.prg
    * {|| ... } -> {||...} for consistency along Harbour.
2008-10-21 06:43:47 +00:00