Commit Graph

165 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
7c8c239f5c 2010-11-26 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddbmcdx/bmdbfcdx.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/sddmy/sddmy.c
  * harbour/contrib/sddfb/sddfb.c
  * harbour/contrib/sddpg/sddpg.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddodbc/sddodbc.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
  * harbour/include/harbour.hbx
  * harbour/contrib/rddads/rddads.hbx
    * declare *_GETFUNCTABLE() functions as static - they do not have to
      be public C functions
    * simplified if possible RDD registration code and modified
      supper RDD request method so it's not stripped by compiler
      when hb_errInternal() function is declared with NORETURN
      attribute
2010-11-26 11:56:29 +00:00
Mindaugas Kavaliauskas
a8e4855d4b 2010-11-04 11:23 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
    + added timestamp type support in PutValue RDD method
  * harbour/contrib/hbwin/axcore.c
    * commented out debug line to be in sync with commented out 
      function that it uses
2010-11-04 09:23:51 +00:00
Mindaugas Kavaliauskas
1d6ad2ddfa 2010-10-01 17:07 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlbase.c
  * harbour/contrib/sddfb/sddfb.c
  * harbour/contrib/sddmy/sddmy.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddodbc/sddodbc.c
  * harbour/contrib/sddpg/sddpg.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
    ! added protection agains double resource freeing in case of double 
    CLOSE method;
2010-10-01 14:08:22 +00:00
Mindaugas Kavaliauskas
d956441b35 2010-09-30 17:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo
2010-09-30 14:12:27 +00:00
Mindaugas Kavaliauskas
d9cd410069 2010-09-30 00:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo in last commit
2010-09-29 21:36:51 +00:00
Mindaugas Kavaliauskas
f0e4edd30a 2010-09-30 00:33 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo in last commit
2010-09-29 21:34:20 +00:00
Mindaugas Kavaliauskas
247b14096b 2010-09-30 00:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddmy/sddmy.c
    * be more valgrind friendly
  * harbour/contrib/rddsdd/sqlmix.c
    ! fixed GPF bug: MIXKEY should not be reused in another tag
    ! fixed memory leak
2010-09-29 21:30:38 +00:00
Przemyslaw Czerpak
c429bee405 2010-09-29 02:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
  * harbour/src/rdd/workarea.c
    + added new 5-th parameter with pointer to super table ID to
      <RDD>_GETFUNCTABLE() function
    + added new C function hb_rddInheritEx() which allows to retrieve
      super RDD ID during registration.
    + added new C function:
         HB_BOOL hb_rddIsDerivedFrom( HB_USHORT uiRddID,
                                      HB_USHORT uiSupperRddID );
      which returns HB_TRUE if one of uiRddID ancestors is uiSupperRddID

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/usrrdd/usrrdd.c
  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/src/rdd/usrrdd/rdds/dbtcdx.prg
  * harbour/src/rdd/usrrdd/rdds/fptcdx.prg
  * harbour/src/rdd/usrrdd/rdds/hscdx.prg
  * harbour/src/rdd/usrrdd/rdds/vfpcdx.prg
  * harbour/src/rdd/usrrdd/rdds/logrdd.prg
  * harbour/src/rdd/usrrdd/rdds/rlcdx.prg
  * harbour/src/rdd/usrrdd/rdds/smtcdx.prg
  * harbour/contrib/rddbmcdx/bmdbfcdx.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddads/ads1.c
    * respect new parameter in <RDD>_GETFUNCTABLE() and use
      hb_rddInheritEx() instead of hb_rddInherit()

  * harbour/contrib/rddads/ads1.c
    * use hb_rddIsDerivedFrom() to recognize RDDs which inherits from
      one of ADS* RDDs.
      It should resolve some problems with ADS*X RDDs and help to simplify
      ADS*X RDDs code.
      Please test it and update ADS*X code removing some code which is
      not longer necessary.
2010-09-29 00:08:43 +00:00
Mindaugas Kavaliauskas
62c84afafe 2010-09-21 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
    ! fixed connection freeing in RDDI_DISCONNECT
  * harbour/include/hbsocket.h
    * added socket item API functions
2010-09-21 16:12:26 +00:00
Viktor Szakats
ff5a1d161b 2010-07-31 13:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    % Code consolidation.
    ! Fixed recent regression, whereas now again the root project's
      .hbc file will be added to the make process in HB_BUILD_CONTRIB_DYN
      mode.
    + Changed the way filter is processed, now dependent packages will
      always be built, so there is no need to manually pick all the
      dependencies too.
    * Internal terminology cleanup.
    + Will now also rebuild the _dependencies_ in HB_BUILD_CONTRIB_DYN mode.
    - Deleted forcing English language for hbmk2 output.
    ; Regressions are possible
    ; NOTE: This dynamic stuff is a real can of worms. Virtually infinite
            combinations of dynamic vs static libs may be supported, plus
            there is ST vs MT issue, where we must decide about this at
            dynlib build time, and f.e. what happens when trying to load
            two .dlls one with was linked against MT Harbour and the other
            against ST? It's a combinatorical explosion.

  * src/vm/vmmt/Makefile
    ! Fixed missing procaddr.c causing unresolved externals when creating
      MT mode dynlibs.

  * config/global.mk
    ! Attempt to fix LD_LIBRARY_PATH problem, adding dynamic lib build
      dir to this envvar while doing the build, pls test it, I didn't.

  + contrib/hbplist
  - contrib/pkglist
    * Renamed.

  * contrib/hbct/ctwin.h
    ! Added missing HB_EXPORT.

  * contrib/xhb/xhb.hbp
  * contrib/hbgd/hbgd.hbp
    ! Added missing project references also to .hbp files.

  * utils/hbmk2/hbmk2.prg
    ! Fixed regression with mingw -hbdyn after adding new stub which
      stole the show by explicitly exporting one symbol which (due
      to autoexport function in mingw) prevented regular symbols to
      be exported. This fix will remove the exception so far applied
      to mingw/cygwin compilers where HB_DYNLIB was not used with these,
      now it's used equally on all compilers/platforms. For this to
      be effective, it should be noted that HB_EXPORT must be used
      in all public declarations, even in contrib.
    ! Fix (?) to not include MAIN proc force code when building with
      hbmaindllp.

  * contrib/xhb/thtm.prg
    % Changed hbct LTOC to simple iif()
    ; TOFIX: xhb makes reference to (deprecated) hb_symEval symbol:
             Info: resolving _hb_symEval by linking to __imp__hb_symEval (auto-import)

  * contrib/rddsql/hbrddsql.h
    ! Added HB_EXTERN_BEGIN/END
    ! Added HB_EXPORT
    ! Added extern

  * contrib/sddoci/sddoci.hbp
    ! Restored some flags present in old Makefile to make it
      work with mingw and bcc.

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
    ! Fixed to add HB_EXPORT to public declarations.
    ; TOFIX: hbqt still doesn't link in hbdyn mode.

  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/doc/en/*.txt
    * Regenerated.

  * contrib/hbqt/hbqt.hbc
    ! Fixed to not include QtUiTools in -hbdyn mode. It creates duplicate
      symbols at link. Maybe this is not the right fix, go figure.
      (HB_STATIC_QT mode still has to be checked)

  ; TODO: Add ${__HB_DYN__} to all .hbc files.
2010-07-31 11:51:37 +00:00
Viktor Szakats
5445328e42 2010-07-30 21:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rdd/usrrdd/usrrdd.c
    ! Fixed typo in function name: WRITEBHEADER() -> WRITEDBHEADER()
      Eagle-eye spotted by Marcos Gambeta.

  * contrib/make.hbs
    ! Fixed to include dependent .hbc files instead of referencing
      own .hbc file in HB_BUILD_CONTRIB_DYN mode. It was not good
      solution as it was referencing itself that way.
    + Will now request dynamic version of dependencies when building
      HB_BUILD_CONTRIB_DYN dynlibs. This is required otherwise f.e.
      hbxbp lib will contain a static copy of hbqt libs, which is not
      very good.
    ! Fixed to not attempt to build dynamic version of referenced 
      projects in HB_BUILD_CONTRIB_DYN mode.

  * contrib/hbct/hbct.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssl.hbc
    + Experimental move to support linking dynamic version of the
      dependencies when building dynamic lib in HB_BUILD_CONTRIB_DYN
      mode. This is starting to get insanely ugly (thanks Microsoft)
      so I'll with it some more and probably leave it.
    ; I hope I didn't miss any contribs which can also be a dependency
      (probably I did)

  * contrib/pkglist
  * contrib/hbtip/hbtip.hbp
    * hbtipssl made a separate project instead of being a sub-project
      of hbtip. hbtipssl has different dependencies, so this move
      was needed for libdyn support.

  * INSTALL
    * tdragon mingw marked as non-recommended. They due to
      incompatible with previous release tool naming, our make
      systems cannot currently support it. (it needs CCPOSTFIX
      for windres tool when using the dwarf-2 installation)
2010-07-30 19:18:08 +00:00
Viktor Szakats
39368afe76 2010-07-21 16:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Documented how to [re]build one specific contrib package.

  * INSTALL
  * contrib/make.hbs
    * Using 'contrib package' instead of 'contrib lib'.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    * Do not install contrib utils sources anymore. If they
      are important, they can be built as part of regular build
      a shipped as binary.

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * contrib/make.hbs
  * contrib/hbqt/generator/hbqtgen.prg
  - contrib/hbmysql/hbmysql.hbi
  - contrib/hbmysql/Makefile
  - contrib/gtalleg/gtalleg.hbi
  - contrib/gtalleg/gtallegs
  - contrib/gtalleg/Makefile
  - contrib/hbct/Makefile
  - contrib/sddmy/sddmy.hbi
  - contrib/sddmy/Makefile
  - contrib/hbodbc/Makefile
  - contrib/xhb/Makefile
  - contrib/sddfb/sddfb.hbi
  - contrib/sddfb/Makefile
  - contrib/hbtpathy/Makefile
  - contrib/hbgt/Makefile
  - contrib/hbsqlit3/Makefile
  - contrib/hbmzip/Makefile
  - contrib/hbblat/Makefile
  - contrib/hbblat/hbblat.hbi
  - contrib/hbqt/qtgui/qtguis
  - contrib/hbqt/qtgui/Makefile
  - contrib/hbqt/qtcore/qtcores
  - contrib/hbqt/qtcore/Makefile
  - contrib/hbqt/qtcore/filelist.mk
  - contrib/hbqt/Makefile
  - contrib/hbqt/detect.mk
  - contrib/hbqt/filelist.mk
  - contrib/hbqt/hbqts
  - contrib/hbqt/gtqtc/gtqtcs
  - contrib/hbqt/gtqtc/Makefile
  - contrib/hbqt/moc.mk
  - contrib/hbqt/qtnetwork/filelist.mk
  - contrib/hbqt/qtnetwork/qtnetworks
  - contrib/hbqt/qtnetwork/Makefile
  - contrib/hbfbird/hbfbird.hbi
  - contrib/hbfbird/Makefile
  - contrib/sddpg/sddpg.hbi
  - contrib/sddpg/Makefile
  - contrib/hbziparc/Makefile
  - contrib/hbxbp/Makefile
  - contrib/hbbz2/Makefile
  - contrib/hbblink/Makefile
  - contrib/hbnf/Makefile
  - contrib/hbcurl/hbcurl.hbi
  - contrib/hbcurl/hbcurls
  - contrib/hbcurl/Makefile
  - contrib/hbmemio/Makefile
  - contrib/hbxpp/Makefile
  - contrib/hbfship/Makefile
  - contrib/hbcups/Makefile
  - contrib/rddbmcdx/Makefile
  - contrib/hbfoxpro/Makefile
  - contrib/hbnetio/Makefile
  - contrib/rddsql/Makefile
  - contrib/hbhpdf/hbhpdf.hbi
  - contrib/hbhpdf/Makefile
  - contrib/gtwvg/Makefile
  - contrib/hbpgsql/hbpgsql.hbi
  - contrib/hbpgsql/Makefile
  - contrib/hbclipsm/Makefile
  - contrib/rddads/rddads.hbi
  - contrib/rddads/Makefile
  - contrib/sddsqlt3/Makefile
  - contrib/hbfimage/hbfimage.hbi
  - contrib/hbfimage/Makefile
  - contrib/sddodbc/Makefile
  - contrib/hbgd/hbgd.hbi
  - contrib/hbgd/Makefile
  - contrib/hbmisc/Makefile
  - contrib/sddoci/sddoci.hbi
  - contrib/sddoci/Makefile
  - contrib/hbcomm/Makefile
  - contrib/hbtip/hbtipssl
  - contrib/hbtip/Makefile
  - contrib/hbcairo/hbcairo.hbi
  - contrib/hbcairo/Makefile
  - contrib/hbwin/Makefile
  - contrib/hbssl/hbssls
  - contrib/hbssl/hbssl.hbi
  - contrib/hbssl/Makefile
  - contrib/hbsms/Makefile
    - Deleted references to .hbi and GNU Make files in contrib
      area. Now hbmk2 is used here to create the targets.
      This has a few consequences:
         - From now on *.hbp / *.hbc files need to be updated
           whenever files are added, deleted or renamed. Pls remember it.
         - hbmk2 will have to be updated in sync with the GNU Make
           system when adding new platforms and compilers.
         - in-place 'make' won't work, pls see new method in
           INSTALL. (it may still change)
2010-07-21 14:10:23 +00:00
Viktor Szakats
4546506b8f 2010-07-05 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/xhb/xhb.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbssl/hbssl.hbp
  * examples/ps32/ps32.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/gfspell/gfspell.hbp
  * examples/rddado/rddado.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/hbbtree/hbbtree.hbp
    + -instfile updated with header file group.
2010-07-05 17:20:50 +00:00
Viktor Szakats
4b671e29a3 2010-07-05 03:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -instfile= option, instfiles= .hbc option and hbmk2 plugin
      API to add new files to the list of files to be copied to
      -instpath= targets. This option makes it possible to install
      extra files along the target lib or exe itself, f.e. headers
      or other supplementary files. This option only works for
      -instpath= options which point to a dir (not a file).

  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/xhb/xhb.hbp
    + Added -instfile= options for headers installed by Makefile.
    ; TODO: Make copying of headers to central dir unnecessary on
            *nix platforms as well.

  * contrib/makefile.hbs
    * Updated TODOs.

  * contrib/hbqt/gtqtc/gtqtc.hbp
    % Deleted -pi= option.

  * contrib/hbqt/gtqtc/gtqtcs/Makefile
    * Not needed to install headers from secondary (static) Makefile.

  * examples/gfspell/gfspell.hbp
  * examples/gtwvw/gtwvw.hbp
  * examples/hbapollo/hbapollo.hbp
  * examples/hbbtree/hbbtree.hbp
  * examples/hbdoc2/hbdoc2.hbp
  * examples/hbextern/hbextern.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/ps32/ps32.hbp
  * examples/rddado/rddado.hbp
  * examples/superlib/superlib.hbp
    + Added -instfile= options for headers installed by Makefile.
    + Added -w option where missing.
    - Deleted -q0, -l where present.
    + Synced output setup with contribs.
    ! Added hbxpp.hbc reference for ps32.
    + Added dependency detection for hbsqlit2, hbapollo.
    ! hbdoc2 GT changed to GTCGI.

  ; Now the contrib and examples .hbp files are completely on the same 
    feature level.
2010-07-05 01:42:08 +00:00
Viktor Szakats
34911319a4 2010-06-28 00:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/gtalleg.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbcomm/hbcomm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbfship/hbfship.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbgt/hbgt.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmemio/hbmemio.hbp
  * contrib/hbmisc/hbmisc.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnetio/hbnetio.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbsms/hbsms.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbziparc/hbziparc.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddbmcdx/hbbmcdx.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/sddodbc/sddodbc.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
  * contrib/xhb/xhb.hbp
  * examples/hbbtree/hbbtree.hbp
    - Deleted -nohbc option. No longer needed/supported.
2010-06-27 22:51:57 +00:00
Viktor Szakats
23dd5b134d 2010-06-19 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
    ! Minor to prev.

  * include/hbapi.h
  * src/vm/extend.c
    + Added hb_parnsize(), hb_retnsize(), hb_stornsize() functions.
    ; NOTE: These should be used in place of hb_parnl(), hb_retnl(),
            hb_stornl() when passing HB_SIZE types.
    ; TODO: Use them all accross Harbour if they are correct and
            after being finalized.

  * src/vm/itemapi.c
    + Added hb_itemGetNSize(), hb_itemPutNSize() functions.
    * DATETIME stuff in hb_itemGetNL() marked as HB_LEGACY_LEVEL3.
    ; QUESTION: It's marked as to be deleted in the TODO, so maybe we should
                rather delete it.

  * include/hbapiitm.h
  * src/rtl/filesys.c
    + hb_fsReadAt(), hb_fsWriteAt(): Added support for Win64 HB_SIZE.
    ; QUESTION: I assume these functions have the purpose of being
                atomic seek + read without moving the file pointer,
                which means current modification isn't safe. How
                can this be solved given Windows doesn't seem to have
                64-bit read/write API calls?
    ! Fixed old copy-paste typos in Windows OVERLAPPED initialization,
      where the lines were ended with command instead of semicolon,
      they didn't cause any harm though in their former location.
    % Reverted a minor change from prev commit to make it
      possibly a little bit faster, like it was before.

  * src/rtl/hbzlib.c
    + Added casts (at external interface calls) and other fixes to
      make it build for Win64 without warnings.

  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * contrib/rddbmcdx/bmdbfcdx.c
    * HB_ULONG -> HB_SIZE where appropriate to avoid Win64 errors
      and some warnings. I'm still not comfortable to touch this
      code, but it could certainly need a type cleanup.

  * include/hbdefs.h
    + Added HB_PFS macro which holds the printf() format string
      for HB_SIZE value.
    ; TODO: Use it all accross Harbour.

  * contrib/hbmysql/mysql.c
  * contrib/sddmy/sddmy.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_regc.c
  * contrib/hbssl/evpciph.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/evpenc.c
  * contrib/hbssl/pem.c
  * contrib/hbssl/rand.c
  * contrib/hbssl/evp.c
    + Added necessary casts at external component boundaries to
      make Win64 builds warning-free.

  * contrib/hbct/ctstrfil.c
    + HB_ISIZ -> HB_FOFFSET, hb_fsSeek() usage, other type cleanup
      to handle file offsets correctly.

  * contrib/xhb/hbnxs.h
  * contrib/xhb/hbcrypt.c
    ! Fixed warnings for Win64.

  * contrib/hbwin/win_prn3.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/fparse.c
    * int -> HB_ISIZ for Win64.

  * contrib/xhb/freadlin.c
    * hb_fsSeek() -> hb_fsSeekLarge().

  * contrib/sddfb/sddfb.c
    * Minor type cleanup to make Win64 warning-free.

  * contrib/hbsqlit3/hbsqlit3.c
    + Added necessary casts at external interface calls.
    % Deleted one dummy operation from SQLITE3_FILE_TO_BUFF().

  * contrib/rddsql/sqlmix.c
  * contrib/rddads/adsx.c
    * HB_ULONG -> HB_SIZE.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! int -> HB_ISIZ/HB_SIZE
    + Added necessary casts at external component boundaries to
      make Win64 warning-free.

  * contrib/rddads/ads1.c
    * HB_ULONG -> HB_SIZE

  * contrib/hbtip/utils.c
    * int -> HB_ISIZ
    ! Fixed to use HB_FOFFSET type to save/restore file position.

  * ChangeLog
    + Added missing item to previous log entry:
      ! Fixed hb_fsCurDirBuff() for Win64.

  ; It's quite large commit, nevertheless I'd highly appreciate
    peer review, and certainly there will be places which need
    better or different solution for Win64.
2010-06-19 08:05:24 +00:00
Viktor Szakats
81c9b0506c 2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/*
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-04 13:32:23 +00:00
Viktor Szakats
7858b4c783 2010-06-04 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  * contrib/hbmysql/hbmysql.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtallegs.hbc
  * contrib/hbct/hbct.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbcurl/hbcurls.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/rddbmcdx/hbbmcdx.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * contrib/rddads/rddads.hbp
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/sddodbc/sddodbc.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbmisc/hbmisc.hbc
  * contrib/sddoci/sddoci.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc
  * contrib/hbsms/hbsms.hbc
  * examples/ps32/ps32.hbc
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbc
  * examples/rddado/rddado.hbc
  * examples/hbapollo/hbapollo.hbc
  * examples/hbvpdf/hbvpdf.hbc
  * examples/hbbtree/hbbtree.hbc
  * examples/gtwvw/gtwvw.hbc
    % Replaced libs=<libname> with libs=${hb_name} to avoid repeating 
      the libs own name, if it's the same as the name of the .hbc file.
2010-06-04 11:08:35 +00:00
Viktor Szakats
151783447a 2010-06-01 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/hbct.hbp
  + contrib/xhb/xhb.hbp
  + contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbgt/hbgt.hbp
  + contrib/hbziparc/hbziparc.hbp
  + contrib/hbxpp/hbxpp.hbp
  + contrib/rddbmcdx/hbbmcdx.hbp
  + contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbc
  + contrib/rddsql/rddsql.hbp
  + contrib/hbclipsm/hbclipsm.hbp
    + Added new hbmk2 make files.

  * contrib/hbfoxpro/hbfoxpro.ch
    + Added copyright holder names.
2010-05-31 22:52:21 +00:00
Viktor Szakats
d0a044d890 2010-04-05 11:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbxml.c
    ! Applied recent heavy leak fixes from xhb project.
      (with some modifications)
    * Formatting.
    % Optimized out two local variables.

  - contrib/rddsql/sddodbc
  + contrib/sddodbc
  * contrib/sddodbc/Makefile
  * contrib/sddodbc/sddodbc.hbc
    ! Moved to contrib root. (somehow missed from previous 
      commit when other sdd* libs were moved)
2010-04-05 09:04:38 +00:00
Viktor Szakats
58be19d9e6 2010-03-24 10:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
  * contrib/rddsql/Makefile
  - contrib/rddsql/sddmy
  + contrib/sddmy
  * contrib/sddmy/Makefile
  * contrib/sddmy/sddmy.hbc
  - contrib/rddsql/sddfb
  + contrib/sddfb
  * contrib/sddfb/Makefile
  * contrib/sddfb/sddfb.hbc
  - contrib/rddsql/sddpg
  + contrib/sddpg
  * contrib/sddpg/Makefile
  * contrib/sddpg/sddpg.hbc
  - contrib/rddsql/sddsqlt3
  + contrib/sddsqlt3
  * contrib/sddsqlt3/Makefile
  * contrib/sddsqlt3/sddsqlt3.hbc
  - contrib/rddsql/sddoci
  + contrib/sddoci
  * contrib/sddoci/sddoci.hbc
  * contrib/sddoci/Makefile
    * Flattened dir structure.

  * contrib/sddfb/sddfb.c
  * contrib/sddsqlt3/sddsqlt3.c
    * Minor formatting.
2010-03-24 09:25:29 +00:00
Mindaugas Kavaliauskas
ee0a524db2 2010-03-23 12:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sddfb/sddfb.c
  * harbour/contrib/rddsql/sddmy/sddmy.c
  * harbour/contrib/rddsql/sddoci/sddoci.c
  * harbour/contrib/rddsql/sddodbc/sddodbc.c
  * harbour/contrib/rddsql/sddpg/sddpg.c
  * harbour/contrib/rddsql/sddsqlt3/sddsqlt3.c
    * moved SDD backed specific data from SQLCONNECTION and SQLAREA
      to a separate SDDCONN and SDDDATA structures. This helps to 
      avoid fake type casting and warinings like "break 
      strict-aliasing rules".
    * 1 -> HB_TRUE
    * formatting, style
    ! connection array is now array of connection pointers. This 
      fixes GPF if many connections are created and connection 
      table has to be reallocated
2010-03-23 10:57:11 +00:00
Viktor Szakats
7260871bdf 2010-03-23 00:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/Makefile
  + contrib/hbwin/wapi_mmsystem.c
    + Added WAPI_PLAYSOUND() function.

  * bin/postinst.prg
  * package/winuni/mpkg_win_uni_extra_copy.bat
    - Deleted hacks dealing with sub-contribs inside contribs.
      (this breaks .hbc autofind for sdd* libs and
      won't anymore include sdd tests and .hbc files in
      windows unified distro)

  * contrib/rddsql/sddmy/sddmy.c
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddsqlt3/sddsqlt3.c
  * contrib/rddsql/sddsqlt3/Makefile
  * contrib/rddsql/sddpg/sddpg.c
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/sddfb.c
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddoci/Makefile
    ! Fixed to use standard method to refer to dependent
      rddsql lib.
2010-03-23 00:00:13 +00:00
Viktor Szakats
29d0c87141 2010-03-15 09:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/ctnet.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
    ! Fixed to disable some functionality on all WinCE platforms.
      These were WinCE API functions wrongly declared in
      mingwarm/poccarm headers. (thus causing link-time errors
      for final apps trying to use these functions)

  * contrib/hbwin/win_dlg.c
    ! Enabled more functionality for WinCE. mingwarm builds
      will probably crash due to buggy commdlg.h header.

  * src/vm/fm.c
    ! Fixed to redefine ABORT for all wce/msvcarm targets.

  * utils/hbmk2/hbmk2.prg
    ! Minor typo in recently added help item.

  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed to compile with -DWIN32_LEAN_AND_MEAN.
2010-03-15 09:00:55 +00:00
Viktor Szakats
e97a7501d0 2010-03-14 21:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
  * src/common/hbwince.c
  * include/hbwince.h
  * include/hbthread.h
  * contrib/hbct/ctnet.c
  * contrib/hbodbc/Makefile
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_dlg.c
  * config/wce/msvcarm.mk
    + Added support for msvcarm 2008.

  * utils/hbmk2/hbmk2.prg
    ! Synced msvcarm dynlib creatino options with Harbour build.
2010-03-14 20:32:31 +00:00
Viktor Szakats
805f3b55e8 2010-03-12 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/evpmd.c
    ! Disabled md2 support for >= 1.0.0 OpenSSL versions.
      Seems they dropped it.

  * contrib/hbssl/ssl.c
  * contrib/hbssl/x509.c
  * contrib/hbssl/sslctx.c
    ! Disabled some code parts which didn't compile with
      >= 1.0.0 OpenSSL versions. This is not the right fix,
      but I just can't figure what went wrong (or what
      has been changed) in OpenSSL which cases it. There
      is something wrong around 'X509_NAME' symbol.

  * utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    - Deleted '-pipe' option. Efficient, but buggy. It didn't take
      too long to bump into the problem: On build error, the
      .o file is generated with some dummy content, so a second
      build attempt will silently make build errors ignored.

  * contrib/rddsql/sddfb/sddfb.c
    * Minor formatting.
2010-03-12 01:11:58 +00:00
Viktor Szakats
a783c4648f 2010-03-12 00:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    ! Fixed fs_win_get_drive() to return zero (instead of -1) 
      when drive letter wasn't returned by Windows API.
      (it's not clear what is the proper error behavior here)
    ! Fixed fs_win_set_drive() to apply upper limit on input 
      parameter.

  * contrib/rddsql/sddfb/sddfb.c
    * Minor formatting.
2010-03-11 23:40:40 +00:00
Viktor Szakats
b4e4cc655b 2010-03-11 23:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddfb/sddfb.c
    ! Few cleanups in the FB RDDSQL interface (macro and type usage).
    ; It's not an attempt to fix recently reported bugs on the list.
2010-03-11 22:28:22 +00:00
Viktor Szakats
1a9fe1279d 2010-03-05 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
    ! Fixed library name for Linux platforms.
      I hope it also works for other *nix systems.
      (On darwin/macports it doesn't because they placed
      the lib in a subdir, but at least the lib name is
      right)

  + external/bzip2
  + external/bzip2/LICENSE
  + external/bzip2/Makefile
  + external/bzip2/cnv_hb2o.bat
  + external/bzip2/cnv_o2hb.bat
  + external/bzip2/blocksor.c
  + external/bzip2/bzip2.c
  + external/bzip2/bzlib.c
  + external/bzip2/compress.c
  + external/bzip2/crctable.c
  + external/bzip2/decompre.c
  + external/bzip2/huffman.c
  + external/bzip2/randtabl.c
  + external/bzip2/bzlib.h
  + external/bzip2/bzlib_pr.h
    + Add locally hosted bzip2 library. Experimental, we
      don't use it yet. Will be deleted if of no use, or
      not portable enough. ATM OS/2, DOS and WCE targets
      are not supported.

  * external/pcre/pcre.dif
    - Deleted not more required local patch, since
      we're not using legacy (Windows) types anymore
      in Harbour.

  * external/pcre/pcre.h
  * external/pcre/pcreexec.c
  * external/pcre/pcreinal.h
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/LICENCE
  * external/pcre/pcreprni.h
  * external/pcre/pcrestud.c
    + Updated to 8.0.1 (from 8.0.0)

  * external/libpng/pngrio.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/pngget.c
  * external/libpng/png.c
  * external/libpng/png.h
  * external/libpng/pngpriv.h
  * external/libpng/pngrtran.c
    + Updated to 1.4.1 (from 1.4.0)
2010-03-05 17:54:42 +00:00
Przemyslaw Czerpak
2dfec6cf2f 2010-03-05 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddnsx.h
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/include/hbrddntx.h
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/hsx/hsx.c
  * harbour/src/rdd/usrrdd/usrrdd.c
  * harbour/src/rtl/hbsocket.c
    ! fixed casting for compilers which needs strict aliasing rules

  * harbour/harbour.spec
    ! fixed typo in hbxpp library name
    ! fixed to work with SDDSQLT3 library

  * harbour/contrib/hbwin/olecore.c
    ! fixed buffer overflow caused by wrongly used sizeof() instead of
      HB_SIZEOFARRAY()

  * harbour/contrib/rddsql/sddodbc/sddodbc.c
    ! fixed wrongly used & operator

  * harbour/src/rtl/hbsocket.c
    ! fixed to compile with OpenWatcom Linux builds
2010-03-05 12:19:49 +00:00
Viktor Szakats
0079c5478c 2010-03-05 11:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed OCILIB initalization to make OCI_GetLastError() work.
      (Thanks to OCILIB author Vincent Rogier for the report 
      and fix)

  * src/rtl/gtwin/gtwin.c
    % Simplified the way close button status is retrieved (based 
      on code posted Saulius Zrelskis)
    + Added code to disable 'close' menu also. This is using 
      undocumented Windows API call, so by default the logic 
      is disabled, and can be enabled with HB_GTWIN_UNDOC_WINAPI 
      macro. (Thanks to Saulius Zrelskis for this API tip)
      (NOTE: All 'close' controls are controlled by HB_GTI_CLOSABLE)
2010-03-05 10:13:33 +00:00
Viktor Szakats
39320786aa 2010-03-02 00:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed returning Chr( 0 ) instead of last real char.
2010-03-01 23:47:23 +00:00
Viktor Szakats
96328f92e2 2010-03-01 14:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddodbc/sddodbc.c
    + Added support to return any size of string buffer from ODBC.
    ! Fixed typo in prev modification.

  * src/rtl/gtwvt/gtwvt.c
    ! Reverted close/SETCANCEL/HB_GTI_CLOSABLE behavior to
      match the old one and that of other GTs.
      Also see:
        2008-06-25 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
      Please use HB_GTI_CLOSABLE and HB_GTI_NOTIFIERBLOCK 
      to control GUI window close behavior.
2010-03-01 13:47:03 +00:00
Viktor Szakats
422116d6e3 2010-03-01 02:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/sddsqlt3.c
    + Added support to retrieve buffers in UNICODE mode.
    ; Maybe needs fine tuning. F.e. we don't want to do this
      for raw/binary/blob data. Pls review.
    ; NOTE: Detecting real buffer size is weird. MSDN says
            NULL should be passed to data pointer, but in this
            case it returns error, if I pass any pointer, even
            fake one, it works. Pbly I'm misreading something.

  * contrib/rddsql/sddodbc/tests/test1.prg
  * contrib/rddsql/sddodbc/tests/test2.prg
    + Added simpleio.ch.

  * contrib/rddsql/sddsqlt3/sddsqlt3.c
  * contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed bad GPF after previous modif which limited field names
      to specific length.
2010-03-01 01:34:52 +00:00
Viktor Szakats
8be99a1b5b 2010-03-01 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Bumped pcode version to 3 (mininum kept at 2)

  * contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed missing UNICODE conversion for field names.

  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddsqlt3/sddsqlt3.c
    ! Fixed to limit field length to the one supported by RDD engine.
2010-03-01 00:26:17 +00:00
Viktor Szakats
4b455a03b1 2010-02-28 20:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/Makefile
  - contrib/rddsql/sddsqlt3/sddsq3.c
  + contrib/rddsql/sddsqlt3/sddsqlt3.c
  - contrib/rddsql/sddsqlt3/sddsq3.hbc
  + contrib/rddsql/sddsqlt3/sddsqlt3.hbc
  * contrib/rddsql/sddsqlt3/tests/hbmk.hbm
    * Renamed sddsq3 to sddsqlt3.
      (pass 2 of 2)
2010-02-28 19:08:41 +00:00
Viktor Szakats
1c2398b3dc 2010-02-28 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/Makefile
  - contrib/rddsql/sddsq3
  + contrib/rddsql/sddsqlt3
    * Renamed sddsq3 to sddsqlt3.
      (pass 1 of 2)
2010-02-28 19:03:33 +00:00
Viktor Szakats
740d9b96f8 2010-02-28 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsq3/sddsq3.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed warnings reported by bcc, msvc.
2010-02-28 18:00:34 +00:00
Viktor Szakats
07170dcc55 2010-02-28 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    + Added TOFIX: utf8 conversion is missing from the interface.

  * contrib/rddsql/Makefile
  + contrib/rddsql/sddsq3
  + contrib/rddsql/sddsq3/Makefile
  + contrib/rddsql/sddsq3/sddsq3.c
  + contrib/rddsql/sddsq3/sddsq3.hbc
  + contrib/rddsql/sddsq3/tests
  + contrib/rddsql/sddsq3/tests/hbmk.hbm
  + contrib/rddsql/sddsq3/tests/test1.prg
  + contrib/rddsql/sddsq3/tests/test.sq3
    + Added SDD to access SQLITE3 databases.
    ; Please test it with real data, especially blobs.

  * contrib/rddsql/sddoci/sddoci.c
    * Formatting.
    ! Fixed leak.
2010-02-28 17:42:25 +00:00
Viktor Szakats
b850625aab 2010-02-28 12:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed handling of numeric types widths and decimals.
    ; This marks last known TODO/TOFIX as DONE.

  * src/vm/extrap.c
    + Minor
2010-02-28 12:01:25 +00:00
Viktor Szakats
a1cec1f6e9 2010-02-28 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sqlbase.c
    ! Fixed crash on close when connection could not be made.

  * INSTALL
    + Added link to Oracle Instant Client downloads.
2010-02-28 10:20:55 +00:00
Viktor Szakats
a082c41517 2010-02-28 00:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed handling of dates.
2010-02-27 23:20:29 +00:00
Viktor Szakats
5100411eb3 2010-02-27 20:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    + Added missed item in prev commit.

  * contrib/rddsql/sddoci/sddoci.c
    ! Comment again the trace msg.
2010-02-27 19:27:09 +00:00
Viktor Szakats
ae2d28bbc8 2010-02-27 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    ! Silenced warnings.

  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddoci/tests/test1.prg
    + Finished type mapping and value translation.
    ; Not being an Oracle user, I only have the few sample
      tables, so no testing was made with these types.
    ; TOFIX: decimal position retrieval is currently wrong.
    ; TOFIX: date/time/timestamp doesn't seem to get through.

  * config/win/global.mk
  * config/rules.mk
    * Moved HB_BUILD_UNICODE handling here for win platform,
      to allow disabling it for potential 3rd party libs which
      don't support UNICODE mode.

  * src/common/hbffind.c
    * Formatting.
2010-02-27 19:09:47 +00:00
Viktor Szakats
95f5a0495a 2010-02-27 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    + Added support for UNICODE mode on non-Windows systems.
      This also means that by now HB_TCHAR_* macros aren't used
      in non-win/wce code anymore.
      NOTE: Since the translation functions have been changed,
            now _SET_OSCODEPAGE setting are honored in these
            calls. We may change this later to some lib specific cp.
    ; TOFIX: Warnings are showing up in non-UNICODE mode:
             odbc.c:438: warning: pointer targets in passing argument 2 of 'hb_storstr' differ in signedness
             Couldn't find an optimal way to pacify them (also in sddodbc).
             Can someone help?

  * include/hbdefs.h
    + HB_TCHAR_* macros are again only defined for win/wce targets.
      This will make sure these won't get used in non-win/wce specific code.

  * contrib/hbmysql/tmysql.prg
    ! Fixed old buggy code which started to throw errors
      after introducing strict parameter evaluation in
      lower-level code.
      For now I replaced the code with old behavior.
      Pls make further to replicate original _intent_.
2010-02-27 11:29:31 +00:00
Viktor Szakats
17f6a94acf 2010-02-27 11:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    + Changed to use STR API for UNICODE conversions. This fixes
      this SDD for non-win systems.
    ! Fixed one missing encoding translation.
2010-02-27 10:15:42 +00:00
Viktor Szakats
f66ee12e71 2010-02-27 10:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    % Deleted unnecessary cast.

  * contrib/rddsql/sddmy/Makefile
  - contrib/rddsql/sddmy/mysqldd.c
  + contrib/rddsql/sddmy/sddmy.c
  * contrib/rddsql/sddpg/Makefile
  - contrib/rddsql/sddpg/pgsqldd.c
  + contrib/rddsql/sddpg/sddpg.c
  * contrib/rddsql/sddfb/Makefile
  - contrib/rddsql/sddfb/fbirddd.c
  + contrib/rddsql/sddfb/sddfb.c
  * contrib/rddsql/sddodbc/Makefile
  - contrib/rddsql/sddodbc/odbcdd.c
  + contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddoci/Makefile
  - contrib/rddsql/sddoci/ocidd.c
  + contrib/rddsql/sddoci/sddoci.c
    * Renamed source files.
    ! Deleted leftover trace msg from sddoci.
2010-02-27 09:06:23 +00:00
Viktor Szakats
3cac472d53 2010-02-26 22:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/ocidd.c
    * Commented trace call.

  * contrib/rddsql/sddoci/Makefile
    + Added tweak to link with implibs of ever-problematic bcc
      compiler.
2010-02-26 21:02:29 +00:00
Viktor Szakats
37135ca341 2010-02-26 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * bin/hb-mkimp.bat
  + contrib/rddsql/sddoci
  + contrib/rddsql/sddoci/Makefile
  + contrib/rddsql/sddoci/ocidd.c
  + contrib/rddsql/sddoci/sddoci.hbc
  + contrib/rddsql/sddoci/tests
  + contrib/rddsql/sddoci/tests/hbmk.hbm
  + contrib/rddsql/sddoci/tests/test1.prg
  * contrib/rddsql/Makefile
    + Added support for direct connection to Oracle
      databases via OCILIB library.
      UNICODE, ANSI (default) and MIXED modes are supported.
      For mingw targets, the library will be linked
      statically, for the rest dynamically.
      You need to have Oracle client (oci.dll and the 
      rest of the package) installed to use it.
    ; TODO: Finish type conversion and mapping.

  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/rddsql/sddfb/fbirddd.c
  * contrib/rddsql/sddodbc/odbcdd.c
    ! HB_ULONG -> HB_SIZE

  ; TOFIX: To Mindaugas: Current SDD architecture will crash with GPF
           if dbUseArea() is attempted after a failed RDDI_CONNECT
           call. You can check it f.e. with sddodbc's test1.prg, by
           modifying test.mdb to test_.mdb, and simply run it.
2010-02-26 20:47:35 +00:00
Viktor Szakats
cd83e94235 2010-02-16 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * src/vm/fm.c
    ! Tweaks to allow msvcarm 2003 build.

  * src/vm/maindllp/dllpcode.c
  * src/vm/maindllh.c
    ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy.

  * src/common/hbgete.c
  * src/rtl/net.c
    ! Fixed missing #include hbwince.h.

  * external/sqlite3/Makefile
    - Disabled for msvcarm 2003.

  * contrib/gtalleg/Makefile
    - Disabled for msvcarm.

  * contrib/hbodbc/Makefile
  * contrib/rddsql/sddodbc/Makefile
    ! Do not force sql.h header for msvcarm 2003.

  * contrib/rddbmcdx/hbbmcdx.h
    ! Fixed HB_EXTERN placement to make msvcarm 2003 happy.

  * contrib/hbct/ctnet.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_dlg.c
    ! Fixed to make them compile on msvcarm 2003.

  * config/wce/msvcarm.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed warning option for msvcarm 2003.

  * utils/hbmk2/hbmk2.prg
    ! Fixed type causing RTE with msvcarm targets.

  ; NOTE: hbcurl doesn't build with msvcarm 2003, so either
          don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE
          hack. The problem lies somewhere in libcurl headers,
          not Harbour code.
2010-02-16 10:14:24 +00:00