Commit Graph

117 Commits

Author SHA1 Message Date
Viktor Szakats
8b5211b118 2010-07-31 13:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/gtalleg/gtalleg.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/hbblat/hbblat.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/rddbmcdx/rddbmcdx.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * 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/hbcairo/hbcairo.hbc
  * contrib/hbsms/hbsms.hbc
    + Added ${__HB_DYN__} to main lib libs= entry. This way the shared
      lib flavor can be selected to experiment with it.
      (use '-env:__HB_DYN__=_dll' hbmk2 option)
2010-07-31 12:00:53 +00:00
Viktor Szakats
6b758c4f6d 2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    + Added xhb translations for hb_eol() and hb_ps().

  * contrib/make.hbs
    - Deleted SetCancel().

  * src/debug/tbrwtext.prg
  * src/debug/debugger.prg
  * src/rtl/errsys.prg
  * src/rtl/profiler.prg
  * src/rtl/hbini.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/ttextlin.prg
  * src/rtl/teditor.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/hbpptest/hbpptest.prg
  * tests/longstr2.prg
  * tests/cdow.prg
  * tests/output.prg
  * tests/dirtest.prg
  * tests/tstdbi.prg
  * tests/speedold.prg
  * tests/dates3.prg
  * tests/set_test.prg
  * tests/rto_get.prg
  * tests/cpinfo.prg
  * tests/speedtst.prg
  * tests/dates.prg
  * tests/set_num.prg
  * tests/rto_tb.prg
  * tests/testhtml.prg
  * tests/round.prg
  * tests/dates2.prg
  * tests/dates4.prg
  * tests/version.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/adirtest.prg
  * include/simpleio.ch
  * include/assert.ch
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/cstruct.prg
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/rpcdemo.hbs
  * contrib/hbnetio/utils/netiocmd.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * examples/hbextern/hbextern.prg
  * examples/uhttpd2/umain.prg
  * examples/guestbk/inifiles.prg
  * examples/guestbk/testcgi.prg
  * examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    * hb_osnewline() -> hb_eol()
      (deleting temp variables and temp pp macros used in the past
      to workaround the long typing of the old function name)
    * Some formatting along the way in tests dir.

  * src/rtl/errsys.prg
    - Deleted usage of ISNIL(). It's a quite pointless macro.

  * src/rtl/errsys.prg
  * src/rtl/listbox.prg
  * src/rtl/profiler.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/tgetlist.prg
  * src/rtl/teditor.prg
    % DO CASE -> SWITCH

  * src/rtl/alert.prg
    * Replaced DEFAULT TO with simple NIL check.

  * src/compiler/gencc.c
    * Formatting of generated code.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
    * hb_osPathSeparator() (and static variable) -> hb_ps()
2010-07-25 08:45:50 +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
2090585ee1 2010-07-21 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.hbs
    + Do not pollute output with meaningless error message, when 
      HB_WITH_QT=no is used.

  * contrib/hbpgsql/postgres.c
    ! Fixed msvc C mode warning. (this one is valid, though I 
      couldn't find out why this is only reported in C mode, 
      there are also some other seemingly unfixable warnings 
      reported in C mode.)

  * contrib/hbpre.hbm
    + Will now enable C++ mode by default for msvc compilers, 
      to stay in since with GNU Make behavior.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not rebase dirs passed to -deptimplibs options.
    ! Fixed to stay silent but still fail when dependencies
      are forcefully disabled.
    ! Reorganized msvc compiler version dependent options to
      better handle the case when no compiler version is present
      (to go with the less risky option in such case)

  * config/global.mk
    + Added msvc64 and msvcia64 version detection.
    * Renamed one variable to avoid being same as new hbmk2 macro.

  * config/postinst.hbs
    * Minor in feedback text.
2010-07-21 12:46:54 +00:00
Viktor Szakats
a58605eabc 2010-07-21 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added mingw/mingw64 version detection. Not very extensively
      tested.
    + Added -depimplibs=, -depimplibd cmdline options, and depimplibs=
      and depimplibd .hbc options. They serve to configure automatic
      (without stdalone .hbi file using -hbimplib) import library
      generation for dependencies. The internal logic is the same,
      but now implibs can be generated for multiple dependencies
      at once, using pure .hbp files (or eveb .hbc for that matter).
    + Filters now also support '<' and '>' operators.
    + Filters will now expand internal macros before looking for
      envvars.
    + Added HB_COMP_VER macro, returning compiler version.
    ! Fixed to handle "*.hbs" passed as option.
    ! Fixed to do entry detection also for .hbs files.

  * contrib/make.hbs
    - Temply disabled .hbi handling, now it's done by .hbp files.
    ! Refixed to skip hbhrb/hbppo projects in stdalone mode.

  * contrib/hbqt/tests/testbrow.prg
    * Updated with Bacco's 'testedit.prg' sent to the list.
    * Formatting. (pls try to format it like this)

  * contrib/hbpost.hbm
    + Enabled 'dynamicbase' and 'nxcompat' exe generation flags
      for newer versions of msvc and mingw, to be in sync with
      our GNU Make settings (and safety).

  * contrib/xhb/hbcompat.ch
    ! Fixed some wrong xhb to Harbour translations reported by Rossine.

  * contrib/hbide/hbide.hbp
    % Deleted -gc3. It made the executable 2MBs larger.
      Pls report any performance problems after this
      change.

  * contrib/gtalleg/gtalleg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/rddads/rddads.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/sddpg/sddpg.hbp
    + Added new switches to enabled automatic import library
      generation without .hbi files.
      Please note that this means that now HB_WITH_BLAT will
      have to be set from now on for hbblat lib.

  * config/global.mk
    * Minor.

  * config/win/watcom.mk
    ! Fixed to add .exe extension to watcom tools to make it work
      in wine-based cross build situations. [pls note that watcom
      can create cross builds using its native tools, so this is
      just the cherry on top :)]
      Patch provided by Tamas Tevesz.
2010-07-21 08:15:55 +00:00
Viktor Szakats
7f9fb4c0ee 2010-07-12 20:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to honor -stop option in -hbimplib mode.
    ! Fixed --hbinfo when there is missing dependency.

  * contrib/hbmysql/hbmysql.hbi
  * contrib/gtalleg/gtalleg.hbi
  * contrib/sddmy/sddmy.hbi
  * contrib/sddfb/sddfb.hbi
  * contrib/hbblat/hbblat.hbi
  * contrib/hbfbird/hbfbird.hbi
  * contrib/sddpg/sddpg.hbi
  * contrib/hbcurl/hbcurl.hbi
  * contrib/hbhpdf/hbhpdf.hbi
  * contrib/hbpgsql/hbpgsql.hbi
  * contrib/rddads/rddads.hbi
  * contrib/hbfimage/hbfimage.hbi
  * contrib/hbgd/hbgd.hbi
  * contrib/sddoci/sddoci.hbi
  * contrib/hbcairo/hbcairo.hbi
  * contrib/hbssl/hbssl.hbi
    + Added -stop option in case HB_WITH_* var is empty.
      This helps reducing some clutter in build log output.

  * contrib/make.hbs
    ! Fixed to clear target type detection result from previous
      contrib (even though such case cannot happen if hbmk2
      does it's job right)

  * contrib/hbdoc2/gentpl.prg
  * contrib/hbdoc2/gentxt.prg
  * contrib/hbdoc2/tmplates.prg
  * contrib/hbdoc2/genxml.prg
  * contrib/hbdoc2/genhtml.prg
  * contrib/hbdoc2/hbdoc2.prg
  * contrib/hbdoc2/hbdoc2.ch
    % Peeling off unused code and other cleanup work.
      (didn't retest)
2010-07-12 18:43:19 +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
d442c6fee9 2010-06-20 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbhash.c
  * src/rtl/setkey.c
  * src/compiler/hbmain.c
  * src/compiler/hbcmplib.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbapi.h
  * contrib/hbmemio/memio.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
    * Deleted unnecessary '( void * )' casts.
      Pls Check me.
2010-06-20 09:09:08 +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
f145ef4c80 2010-06-18 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed one intentional typo I put in to test legacy types.

  * src/compiler/hbmain.c
  * src/compiler/genhrb.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * include/hbcomp.h
  * include/hbcompdf.h
    * HB_ULONG -> HB_SIZE, where I could find out from warnings.
    + Added parameter names to some function declarations where they
      were missing.
    ; Przemek, please check me. I feel I will mess this up if continuing
      beyond this point, so I'd appreciate if you could take a look at
      HB_ULONG to HB_SIZE conversion from an intrinsic perspective,
      there seem to be places where it needs further tweaks to get us
      full Win64 support. [ I've also intentionally left this area
      more or less intact when doing the previous pass of conversion. ]
    ; There are places where simple 'int' is used, while it should be
      HB_SIZE (or maybe size_t? in some places).
    ; Also, Win64 conversion will need some more work f.e. in filesys.c
      where WinAPI file I/O functions can't accept a 64-bit value.
      First I will report these and if they seem complicated I'll
      revert to HB_SIZE = HB_ULONG for Win64 in the being.

  * src/compiler/hbgenerr.c
    * Formatting.

  * src/pp/ppcore.c
  * src/vm/strapi.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/cmdarg.c
  * src/vm/set.c
  * src/debug/dbgentry.c
  * src/common/hbgete.c
  * src/common/hbstr.c
  * src/common/strwild.c
  * src/nortl/nortl.c
  * src/rtl/lennum.c
  * src/rtl/strmatch.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/hbstrfmt.c
  * src/rtl/transfrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/direct.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/mlcfunc.c
  * src/rtl/itemseri.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/trace.c
  * src/rtl/samples.c
  * src/rtl/gete.c
  * src/rdd/workarea.c
  * src/rdd/hsx/hsx.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxfname.c
  * contrib/hbct/tab.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/dbgfxc.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbnf/fttext.c
  * contrib/hbnetio/netiocli.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/num.c
  * contrib/rddads/ads1.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddoci/sddoci.c
  * contrib/hbwin/win_svc.c
  * contrib/hbwin/win_prn2.c
    * '( HB_SIZE ) strlen(' -> 'strlen('
2010-06-18 10:03:44 +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
85fcb91dee 2010-06-03 23:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor cleanup to previous commits.

  + contrib/hbodbc/hbodbc.hbp
  + contrib/hbsqlit3/hbsqlit3.hbp
  + contrib/hbbz2/hbbz2.hbp
  + contrib/hbhpdf/hbhpdf.hbp
  + contrib/sddsqlt3/sddsqlt3.hbp
  + contrib/sddodbc/sddodbc.hbp
    + Added hbmk2 make files to remaining contribs.

  * contrib/hbmysql/hbmysql.hbp
  * contrib/gtalleg/gtalleg.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbfbird/hbfbird.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbssl/hbssl.hbp
    + Updated hbmk2 make file dependency detection
      option to latest hbmk2 changes.
2010-06-03 21:57:31 +00:00
Przemyslaw Czerpak
324e27ef99 2010-06-02 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/pplib.c
  * harbour/src/vm/estack.c
  * harbour/src/common/hbver.c
  * harbour/src/common/hbdate.c
  * harbour/src/rtl/gtcrs/gtcrs.c
  * harbour/src/rtl/hbgtcore.c
  * harbour/src/rdd/wafunc.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/cmdcheck.c
  * harbour/src/compiler/genhrb.c
  * harbour/src/compiler/genobj32.c
  * harbour/src/compiler/hbusage.c
  * harbour/src/compiler/hbgenerr.c
  * harbour/contrib/hbct/ctnet.c
  * harbour/contrib/xhb/datesxhb.c
  * harbour/contrib/hbfbird/firebird.c
  * harbour/contrib/hbpgsql/postgres.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbtip/utils.c
    * formatting
2010-06-02 16:53:20 +00:00
Viktor Szakats
10c88f316c 2010-06-01 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Will now ignore current and host directory when looking
      for system headers (<>) in header dependency finder code.

  + contrib/hbmysql/hbmysql.hbp
  + contrib/sddmy/sddmy.hbp
  + contrib/sddfb/sddfb.hbp
  + contrib/sddpg/sddpg.hbp
  + contrib/hbcups/hbcups.hbp
  + contrib/hbpgsql/hbpgsql.hbp
  + contrib/rddads/rddads.hbp
  + contrib/hbfimage/hbfimage.hbp
  + contrib/hbgd/hbgd.hbp
  + contrib/sddoci/sddoci.hbp
  + contrib/hbcairo/hbcairo.hbp
    + Added new hbmk2 make files.

  * contrib/hbgd/Makefile
    - Deleted some information from cmoment. (now included in INSTALL)

  * contrib/hbcairo/hbcairo.h
    * Formatting.
2010-05-31 23:47:15 +00:00
Viktor Szakats
79ba9da837 2010-05-25 15:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tobject.prg
  * src/rtl/tpersist.prg
  * src/rtl/memoedit.prg
  * src/rtl/teditor.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/mail.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/wce_sim.prg
    ! Fixed to check for proper type instead of using
      'DEFAULT ... TO'

  * contrib/hbct/ct.prg
    % EXIT/INIT FUNCTION -> EXIT/INIT PROCEDURE
2010-05-25 13:04:58 +00:00
Viktor Szakats
88a247ea23 2010-05-12 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/gtalleg/gtalleg.hbi
  + contrib/hbblat/hbblat.hbi
  + contrib/hbcairo/hbcairo.hbi
  + contrib/hbcurl/hbcurl.hbi
  + contrib/hbfbird/hbfbird.hbi
  + contrib/hbfimage/hbfimage.hbi
  + contrib/hbgd/hbgd.hbi
  + contrib/hbhpdf/hbhpdf.hbi
  + contrib/hbmysql/hbmysql.hbi
  + contrib/hbpgsql/hbpgsql.hbi
  + contrib/hbssl/hbssl.hbi
  + contrib/rddads/rddads.hbi
  + contrib/sddfb/sddfb.hbi
  + contrib/sddmy/sddmy.hbi
  + contrib/sddoci/sddoci.hbi
  + contrib/sddpg/sddpg.hbi
    + Added local import library generation hbmk2 make files
      to each contrib which requires it.

  * config/postinst.prg
    + Changed to use contrib local implib creation hbmk2 scripts to
      create import libraries.
    - Deleted mingw exception for ocilib to use the static library.
      Static lib is definitely better, but if someone would like to
      use it, it should be done locally/manually, just like for any
      other dependency.
    + Solved firebird implib creation hack/exception in contrib
      local .hbi file.
    ; These fix the last "centralization" issues in Harbour make system.
      Still remains documentation problem (everything is in INSTALL),
      and *nix .deb/.rpm centralized solution for contrib dependencies
      and contrib names in general.

  * utils/hbmk2/hbmk2.prg
    + Combining multiple -o options (one with name, one with directory)
      is now supported in -hbimplib mode. This makes it work like in
      other existing modes.
    ! Fixes regarding -o option combining and dir inheritance.
      (beware of regressions here)

  * contrib/gtalleg/gtalleg.hbc
    * Changed to use import library on Windows with an unmodified name
      (containing version).

  * src/rtl/hbcom.c
    ! Fixed one non-ANSI comment.

  * ChangeLog
    + Added two changes missed from prev entry:
      * utils/hbmk2/hbmk2.prg
        + In -hbimplib mode any options are automatically passed to
          import library creation command (so -iflag option is not
          absultely needed)
        - Deleted -mkimplibms option now replaces by generic -iflag
          solution.
    ! Stripped UTF-8 char from a recent entry.
2010-05-12 15:02:01 +00:00
Viktor Szakats
f8dbcc6826 2010-03-26 17:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/postgres.c
    ! PQESCAPEBYTEA(): Fixed wrong size casts.
    ! PQESCAPEBYTEA(): Fixed to return string with correct length.
    + PQESCAPEBYTEA(), PQUNESCAPEBYTEA(): Will now RTE if parameter is not string.
      (to be in sync with PQESCAPEBYTEACONN())
    ! PQESCAPEBYTEACONN(): Fixed to return string with correct length.
2010-03-26 16:34:48 +00:00
Viktor Szakats
ad67ab11cb 2010-03-08 19:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/test.prg
    ! Fixed missing connection parameters from PQ API calls.

  * contrib/hbpgsql/tests/stress.prg
    * Formatting.
2010-03-08 18:08:39 +00:00
Viktor Szakats
feb9517ee2 2010-03-08 00:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_iswin2k() low-level function to detect
      if running under Windows 2000 or newer.

  * include/hbextern.ch
  * src/rtl/version.c
    + Added HB_OSISWIN2K() .prg level function.

  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * examples/gtwvw/gtwvw.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
    % Changed to use hb_iswin*() API instead of implementing
      version detection locally.

  * contrib/hbmysql/mysql.c
  * contrib/hbpgsql/postgres.c
    + Added my partial copyright.

  * contrib/hbpgsql/tests/tstpgrdd.prg
    * Formatting.

  * contrib/hbpgsql/postgres.c
    ! Fixed to define all .prg level functions regardless
      of pgsql lib it's built against. They return
      permanent failure in this case.
    ! Fixed PQCREATETRACE() to return NULL pointer instead
      of NIL for static builds.
    ! PQFREECANCEL() marked with HB_LEGACY_LEVEL3.

  * contrib/hbwin/win_os.prg
    + Using HB_OSISWIN2K() core API.

  * contrib/hbide/ideprojmanager.prg
    * Minor alignment.
2010-03-07 23:11:09 +00:00
Viktor Szakats
93d5b9b090 2010-03-07 20:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/tstpgrdd.prg
  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
    ! Various fixes.
    ! Formatting.
2010-03-07 19:31:54 +00:00
Viktor Szakats
bfff433b33 2010-03-07 19:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed typo.

  * contrib/hbmysql/tests/test.prg
    * Formatting.
    ; TOFIX: Not a standalone test code.

  * contrib/hbsqlit3/tests/blob.prg
  * contrib/hbsqlit3/tests/pack.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbsqlit3/tests/hooks.prg
  * contrib/hbsqlit3/tests/backup.prg
    * Indentation.
2010-03-07 18:03:17 +00:00
Viktor Szakats
5687bf4f6d 2010-03-07 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed to use ANSI date format in INSERT command.

  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
    ! Fixed indentation.
2010-03-07 17:43:18 +00:00
Viktor Szakats
61739ddb58 2010-03-07 17:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed date in SQL command to work regardless of mm/dd 
      positions in date.
      I wonder what is the proper solution which uses a fully 
      portable date format. Anyone?
2010-03-07 16:23:53 +00:00
Viktor Szakats
3f3f7ba9ab 2010-03-07 17:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed wrong code in sample.
    * Formatted.
2010-03-07 16:16:39 +00:00
Viktor Szakats
b5b1f23841 2010-02-15 23:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
  * contrib/rddsql/sddpg/sddpg.hbc
    * Adjusted 3rd party lib names to work out-of-the-box on
      *nix platforms.
2010-02-15 22:48:29 +00:00
Viktor Szakats
7d28beac44 2010-02-09 15:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/vm/strapi.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/cmdarg.c
  * src/vm/set.c
  * src/debug/dbgentry.c
  * src/common/hbfsapi.c
  * src/common/hbstr.c
  * src/common/strwild.c
  * src/nortl/nortl.c
  * src/rtl/lennum.c
  * src/rtl/strmatch.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/hbstrfmt.c
  * src/rtl/transfrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/gtclip.c
  * src/rtl/mlcfunc.c
  * src/rtl/itemseri.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/samples.c
  * src/rtl/gete.c
  * src/rdd/workarea.c
  * src/rdd/hsx/hsx.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxfname.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/dbgfxc.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbmemio/memio.c
  * contrib/hbnetio/netiocli.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/num.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_wrp.c
    + Added '( HB_SIZE )' casts to 'strlen()' calls where
      it was converted to HB_SIZE. This pacifies long standing
      win64 warnings.
      Remaining warnings are (among others) useful to spot places where
      non-HB_SIZE is used in Harbour code to store sizes.

  * contrib/hbpgsql/postgres.c
    ! Type cleanup.
2010-02-09 14:55:08 +00:00
Viktor Szakats
25550fe1fc 2010-02-03 20:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fstemp.c
  * include/hbapifs.h
  * include/hbextern.ch
    + Added HB_DIRTEMP() .prg level function. Returns name of temp dir,
      with closing backslash.
    + Added hb_fsTempDir() .c level function.
    ; Please review, especially MS-DOS, OS/2, which I won't be able
      to test.

  * src/rtl/fstemp.c
    * Cleanup: Deleted hb_fsCreateTempLow(), made layout more clear.
    ; TOFIX: For some builds, MS-DOS, OS/2 and WIN without WIN IO
             the temp directory will be wrongly calculated by checking
             TMPDIR envvar. Such envvar seems *nix specific.
             If new hb_fsTempDir() will be tested, above can be fixed
             by using this new function.

  * package/winuni/RELNOTES
    + Noted update to Firebird 2.5.0rc1

  * contrib/hbpgsql/postgres.c
    + Marked recently deprecated function as HB_LEGACY_LEVEL3.

  * contrib/hbfbird/firebird.c
    * Cleanup for a macro.

  * contrib/hbnetio/utils/netiosrv.prg
    + Using HB_HRB_BIND_FORCELOCAL when loading .hrb.

  * contrib/hbnetio/utils/modules/test.prg
    + Marked function as STATIC.

  * ChangeLog
    * Old TODO marked DONE.
2010-02-03 19:37:35 +00:00
Viktor Szakats
6855fe7257 2010-02-03 12:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tpostgre.prg
    + Formatted.
    ! Indented.
    % Optimized to use SWITCH/CASE.
    % Optimized to avoid ASize() and AAdd() in a few places.
    + Using constants for structure array positions.

  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbpgsql/postgres.ch
  * contrib/hbpgsql/postgres.c
    + Added and using HBPG_META_* constants.
2010-02-03 11:48:17 +00:00
Viktor Szakats
887925cd02 2010-02-03 11:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/pgrdd.prg
    ! Fixed to not call ALERT().

  * contrib/hbpgsql/pgrdd.prg
  * contrib/hbpgsql/tpostgre.prg
    + Changed to not call deprecated destructor functions.

  * contrib/hbpgsql/postgres.ch
    ! Added copyright header.

  * contrib/hbpgsql/postgres.c
    - Minor in comments.

  * contrib/hbide/hbide.hbp
    - Deleted commented options. Use cmdline instead of
      temp edits in SVN files.
2010-02-03 10:43:46 +00:00
Viktor Szakats
121734510e 2010-02-03 00:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/postgres.c
    % Optimizations.

  * contrib/hbpgsql/postgres.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbbmcdx/bmdbfcdx.c
    % 'hb_itemRelease( hb_itemReturnForward( p ) )' -> 'hb_itemReturnRelease( p )'
2010-02-02 23:41:42 +00:00
Viktor Szakats
b6adbe5038 2010-02-02 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/postgres.c
    ! PQEXECPARAMS() fixed to not GPF when non-array is passed as 3rd parameter.
    ! PQESCAPEBYTEACONN() fixed to not GPF when non-string is passed as 2nd parameter.
    ! PQFNUMBER() fixed GPF (after prev commit)
    % Deleted hb_pcount() checks. This served no useful purpose. It's better to
      check for HB_IS*() is we want to enforce some parameters.
2010-02-02 21:24:33 +00:00
Viktor Szakats
fd1e13d69a 2010-02-02 21:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/postgres.c
  * contrib/hbpgsql/tests/test.prg
    * Destructor PQCLOSETRACE() marked as deprecated, replaced in
      test app with NIL assignment.
    ! Fixes to FILE object type.
    ; All this is only relevant if built with NODLL flag.
2010-02-02 20:52:22 +00:00
Viktor Szakats
0476405be7 2010-02-02 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/postgres.c
    + Added GC support for all remaining pointer types (result/cancel/FILE).
    + Added RTE when wrong pointer or wrong number of parameter is passed
      to functions.
      This means that behavior is now INCOMPATIBLE when wrong parameters
      are encountered in these functions.
    ; Destructor functions PQFREECANCEL(), PQCLOSE(), PQCLEAR() marked 
      as 'deprecated'.
      These are not needed, it's enough to assign NIL to their holder
      variables on .prg level.
    % Cleanups along the way.
    ; TODO: Fix sloppy parameter checking which only check number of
            parameters instead of enforcing expected type.
    ; Please test.

  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
    % Replaced deprecated destructor functions with '<var> := NIL'.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-02-02 20:45:51 +00:00
Viktor Szakats
9b462b15d0 2010-01-15 17:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
  * contrib/hbct/disk.c
    % Using HB_SIZEOFARRAY() instead of repeating declaration size.

  * src/vm/maindllp.c
  * src/vm/extend.c
  * include/hbtypes.h
  * include/hbapi.h
    + 'parinfa' retval ULONG -> HB_SIZE

  * src/vm/arrayshb.c
  * src/rtl/substr.c
  * src/rtl/replic.c
  * src/rtl/padr.c
  * src/rtl/padc.c
  * src/rtl/strtran.c
  * src/rtl/padl.c
  * src/rtl/lang.c
  * src/rtl/right.c
  * src/rtl/left.c
  * src/rtl/space.c
  * src/rtl/hbstrsh.c
  * src/rtl/rat.c
  * contrib/hbct/charsprd.c
  * contrib/xhb/xhbarr.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/stack.c
  * contrib/hbmisc/stringsx.c
    + 'long' -> HB_ISIZ

  * src/common/hbwince.c
  * include/hbwince.h
  * contrib/xhb/xhbat.c
  * contrib/xhb/cstructc.c
    + 'unsigned long' -> HB_SIZE

  * src/rtl/fstemp.c
  * src/rtl/net.c
    ! L'x' -> TEXT( 'x' ).
      'L' was used also in non-UNICODE mode, which doesn't seem right.

  * src/rtl/diskspac.c
  * contrib/hbct/disk.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/win_prn3.c
    * TCHAR literals enclosed inside TEXT() macro.

  * contrib/hbwin/win_prn1.c
    ! WIN_GETPRINTERFONTNAME(): Fixed buffer overrun in UNICODE
      mode for font names longer than 64 bytes.
      [TOMERGE 2.0]

  * ChangeLog
    + Added two missed changed to this entry:
      2010-01-15 12:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
        * include/hbdefs.h
          + Added HB_ISIZ temporary type to mark string/array/hash 
            index/length variable already using signed 'long' type.
            This will have to converted to HB_SIZE, one HB_SIZE
            gets also mapped to 'long'.
          * HB_FATTR mapped to HB_U32 (was: unsigned long)
2010-01-15 16:39:54 +00:00
Viktor Szakats
7903d5b170 2010-01-15 12:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/macro/macro.yyc
  * src/macro/macro.y
  * src/macro/macrolex.c
  * src/rtl/gtwvt/gtwvt.h
  * doc/en-EN/hb_apigt.txt
  * doc/en-EN/hb_api.txt
  * doc/en-EN/hb_vm.txt
  * doc/en-EN/hb_apiln.txt
  * doc/en-EN/hb_macro.txt
  * doc/en-EN/hb_apiit.txt
  * doc/en-EN/hb_apifs.txt
  * doc/codestyl.txt
  * include/hbthread.h
  * include/hbxvm.h
  * include/hbdefs.h
  * include/hbvm.h
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbwmain.c
  * include/hbexpra.c
  * include/hbfloat.h
  * include/hbapicls.h
  * include/hbexprb.c
  * contrib/hbtpathy/tpos2.c
  * contrib/hbtpathy/tpunix.c
  * contrib/hbnf/prtscr.c
  * contrib/hbnf/proper.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/dispc.c
  * contrib/hbnf/ontick.c
  * contrib/hbnf/poke.c
  * contrib/hbpgsql/postgres.c
  * contrib/rddads/rddads.h
  * contrib/hbmisc/strfmt.c
  * contrib/hbmisc/ffind.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/axcore.c
  * contrib/hbwin/win_dll.c
  * examples/hbdoc/examples/core_es/hb_vm.txt
  * examples/hbdoc/examples/core_es/hb_apiln.txt
  * examples/rddado/adordd.prg
    * BOOL  -> HB_BOOL
    * TRUE  -> HB_TRUE
    * FALSE -> HB_FALSE
      ; Final touches after verification of whole codebase.
        GTWVG still needs changes.
    ! Fixed FT_FBOF() returning random value after FT_USE().
    ! Fixed some bool values stored in int types.
2010-01-15 11:06:44 +00:00
Przemyslaw Czerpak
b1d68f0a5e 2010-01-14 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyh
  * harbour/src/compiler/harbour.yyc
    ! pacified compile time error when ... is used as parameter in _HB_MEMBRER
      declaration. TODO: Remove or fix this strong typing grammar rules.

  * harbour/src/debug/dbgtwin.prg
  * harbour/src/debug/dbgtmenu.prg
  * harbour/src/debug/tbrwtext.prg
  * harbour/src/debug/debugger.prg
  * harbour/src/debug/dbgtinp.prg
  * harbour/src/rtl/tbcolumn.prg
  * harbour/src/rtl/listbox.prg
  * harbour/src/rtl/pushbtn.prg
  * harbour/src/rtl/treport.prg
  * harbour/src/rtl/radiogrp.prg
  * harbour/src/rtl/tthreadx.prg
  * harbour/src/rtl/checkbox.prg
  * harbour/src/rtl/tsymbol.prg
  * harbour/src/rtl/teditor.prg
  * harbour/src/rtl/tmenuitm.prg
  * harbour/src/rtl/tbrowse.prg
  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/xhb/stream.prg
  * harbour/contrib/xhb/trpccli.prg
  * harbour/contrib/xhb/hblognet.prg
  * harbour/contrib/xhb/tfile.prg
  * harbour/contrib/xhb/tframe.prg
  * harbour/contrib/xhb/htjlist.prg
  * harbour/contrib/xhb/hblog.prg
  * harbour/contrib/xhb/trpc.prg
  * harbour/contrib/xhb/thtm.prg
  * harbour/contrib/xhb/tcgi.prg
  * harbour/contrib/xhb/ttable.prg
  * harbour/contrib/xhb/txml.prg
  * harbour/contrib/xhb/hjwindow.prg
  * harbour/contrib/xhb/htmutil.prg
  * harbour/contrib/hbodbc/todbc.prg
  * harbour/contrib/hbfbird/tfirebrd.prg
  * harbour/contrib/xpp/tthreadx.prg
  * harbour/contrib/hbpgsql/tpostgre.prg
  * harbour/contrib/hbgd/gdchart.prg
  * harbour/contrib/hbgd/gdimage.prg
  * harbour/contrib/hbgd/gdbar.prg
  * harbour/contrib/hbgd/gdbarcod.prg
  * harbour/contrib/hbmisc/twirler.prg
  * harbour/contrib/hbtip/thtml.prg
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbtip/httpcli.prg
  * harbour/contrib/hbtip/smtpcli.prg
  * harbour/contrib/hbtip/client.prg
  * harbour/contrib/hbtip/ftpcli.prg
  * harbour/contrib/hbtip/mail.prg
  * harbour/contrib/hbtip/popcli.prg
  * harbour/contrib/hbwin/win_tprn.prg
  * harbour/contrib/hbbtree/tbtree.prg
  * harbour/utils/hbformat/hbformat.prg
    ! fixed class method declarations to be synced with method implementations
      All of the above missdeclarations were detected by compilation with:
         HB_USER_PRGFLAGS=-DHB_CLS_PARAMS_ERR
      Few years ago in hbclass.ch I defined PP rules to force strict method
      declarations but I had to disable them due to problems with old PP.
      I defined HB_CLS_NO_PARAMS_ERR and left this note in hbclass.ch:
         > I have to enable this definition by default until we will not fix
         > preprocessor. [druzus]
      Current PP code works correctly so we can remove it and activate this
      code. Anyhow as above commit shows a lot of code has been created with
      wrong declarations. I fixed Harbour core code (except HBQT, HBXBP and
      GTWVG - I hope Pritpal or Viktor will fix it) but setting
      HB_CLS_PARAMS_ERR as default will exploit a lot of similar problems in
      user code so I would like the hear other developers' opinions about it.
2010-01-14 00:45:19 +00:00
Viktor Szakats
60fbf7ba1d 2009-12-20 05:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
  * src/rtl/hbinet.c
  * src/compiler/hbcmplib.c
  * contrib/hbpgsql/postgres.c
    ! Suppressing MSVC C mode warnings by ( void * ) casting 
      in hb_xfree() calls.
2009-12-20 04:01:34 +00:00
Viktor Szakats
504cc10d99 2009-12-09 22:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor cleanups.

  * ChangeLog
  - contrib/hbpgsql/ChangeLog
    * Old local ChangeLog merged into the central one.
2009-12-09 21:22:35 +00:00
Przemyslaw Czerpak
434812c2fc 2009-10-23 09:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbpgsql/postgres.c
  * harbour/contrib/hbgd/gdwrp.c
    * updated code which was using hb_gcAlloc() to work with new GC API.
2009-10-23 07:46:42 +00:00
Viktor Szakats
62a09afd19 2009-10-19 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/tests/hbmk.hbm
  * contrib/hbmysql/utils/hbmk.hbm
  * contrib/hbmysql/utils/dbf2mysq.prg
  * contrib/hbmysql/tests/test.prg
  * contrib/hbmysql/tests/hbmk.hbm
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/tokensep.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbct/tests/hbmk.hbm
  * contrib/hbct/tests/token2.prg
  * contrib/hbct/tests/charhist.prg
  * contrib/xhb/tests/hbmk.hbm
  * contrib/hbodbc/tests/hbmk.hbm
  * contrib/hbtpathy/tests/hbmk.hbm
  * contrib/hbmzip/tests/hbmk.hbm
  * contrib/hbsqlit3/tests/hbmk.hbm
  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbblat/tests/hbmk.hbm
  * contrib/hbqt/tests/hbmk.hbm
  * contrib/hbfbird/tests/simple.prg
  * contrib/hbfbird/tests/test.prg
  * contrib/hbfbird/tests/hbmk.hbm
  * contrib/hbziparc/tests/hbmk.hbm
  * contrib/hbxbp/tests/hbmk.hbm
  * contrib/hbnf/tests/ftgete.prg
  * contrib/hbnf/tests/hbmk.hbm
  * contrib/hbcurl/tests/ftp_uldl.prg
  * contrib/hbcurl/tests/hbmk.hbm
  * contrib/hbmemio/tests/hbmk.hbm
  * contrib/gtqtc/tests/demoqtc.prg
  * contrib/gtqtc/tests/hbmk.hbm
  * contrib/hbnetio/utils/hbmk.hbm
  * contrib/hbnetio/tests/hbmk.hbm
  * contrib/rddsql/tests/hbmk.hbm
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hbhpdf/tests/hbmk.hbm
  * contrib/rddado/tests/hbmk.hbm
  * contrib/gtwvg/tests/hbmk.hbm
  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/hbmk.hbm
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbclipsm/tests/hbmk.hbm
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/hbmk.hbm
  * contrib/rddads/tests/testmg.prg
  * contrib/hbfimage/tests/fitest.prg
  * contrib/hbfimage/tests/hbmk.hbm
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/testdpi.prg
  * contrib/hbgd/tests/hbmk.hbm
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/antialia.prg
  * contrib/hbgd/tests/bartest.prg
  * contrib/hbgd/tests/barms.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmisc/tests/hbmk.hbm
  * contrib/hbmisc/tests/twirl.prg
  * contrib/hbtip/tests/dnldftp.prg
  * contrib/hbtip/tests/upld_ftp.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/hbmk.hbm
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testcom2.prg
  * contrib/hbwin/win_com.c
  * contrib/hbssl/tests/hbmk.hbm
  * contrib/hbbtree/tests/hbmk.hbm
    ! Fixed warnings and errors in test apps.
    + Added -es2 option to test/util default options.
    * Renamed few macros in hbwin / win_com implementation:
        FCN* -> WIN_COM_FUN_*
        WPDBG* -> WIN_COM_DBG_*
    ; TOFIX: Some errors are left in hbgd/test_out.prg and 
             gtwvg to be fixed, now the can't be built.
             Please do it.
2009-10-19 21:17:04 +00:00
Viktor Szakats
7b830f3cd2 2009-10-19 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/tests/hbmk.hbm
  * contrib/hbmysql/utils/hbmk.hbm
  * contrib/hbmysql/tests/hbmk.hbm
  * contrib/hbct/tests/hbmk.hbm
  * contrib/xhb/tests/hbmk.hbm
  * contrib/hbodbc/tests/hbmk.hbm
  * contrib/hbtpathy/tests/hbmk.hbm
  * contrib/hbmzip/tests/hbmk.hbm
  * contrib/hbsqlit3/tests/hbmk.hbm
  * contrib/hbblat/tests/hbmk.hbm
  * contrib/hbqt/tests/hbmk.hbm
  * contrib/hbfbird/tests/hbmk.hbm
  * contrib/hbziparc/tests/hbmk.hbm
  * contrib/hbxbp/tests/hbmk.hbm
  * contrib/hbnf/tests/hbmk.hbm
  * contrib/hbcurl/tests/hbmk.hbm
  * contrib/hbmemio/tests/hbmk.hbm
  * contrib/gtqtc/tests/hbmk.hbm
  * contrib/hbnetio/utils/hbmk.hbm
  * contrib/hbnetio/tests/hbmk.hbm
  * contrib/rddsql/tests/hbmk.hbm
  * contrib/hbhpdf/tests/hbmk.hbm
  * contrib/rddado/tests/hbmk.hbm
  * contrib/gtwvg/tests/hbmk.hbm
  * contrib/hbpgsql/tests/hbmk.hbm
  * contrib/rddads/tests/hbmk.hbm
  * contrib/hbclipsm/tests/hbmk.hbm
  * contrib/hbfimage/tests/hbmk.hbm
  * contrib/hbgd/tests/hbmk.hbm
  * contrib/hbmisc/tests/hbmk.hbm
  * contrib/hbtip/tests/hbmk.hbm
  * contrib/hbwin/tests/hbmk.hbm
  * contrib/hbssl/tests/hbmk.hbm
  * contrib/hbbtree/tests/hbmk.hbm
    + Added -w3 Harbour switch to all test dirs.
      (in few places just formatted because it was there)
    ; TOFIX: All tests should be eventually made fully 
             warning free, so in the future expect -es2 
             switch to be added as well.

  * contrib/hbwin/tests/testprn.prg
    ! Fixed two constant names.
2009-10-19 19:14:47 +00:00
Viktor Szakats
4d624238d2 2009-09-11 11:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/rddsql/sddpg/Makefile
  * contrib/hbpgsql/Makefile
    + Added pgsql84 default support.
2009-09-11 09:36:28 +00:00
Przemyslaw Czerpak
dd756dc5cf 2009-09-01 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/lib.mk
  * harbour/config/bin.mk
  * harbour/config/header.mk
  * harbour/config/dyn.mk
  * harbour/config/doc.mk
  * harbour/config/instsh.mk
    ! rewritten install rules so now they work without any problem when
      more then one target .mk file is included, i.e. lib.mk and header.mk

  * harbour/source/pp/Makefile
  * harbour/source/dynlib/mt/Makefile
  * harbour/source/dynlib/Makefile
  * harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbct/Makefile
  * harbour/contrib/xhb/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbtpathy/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbmzip/Makefile
  * harbour/contrib/hbblat/Makefile
  * harbour/contrib/hbqt/Makefile
  * harbour/contrib/hbxbp/Makefile
  * harbour/contrib/xpp/Makefile
  * harbour/contrib/hbnf/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/gtqtc/Makefile
  * harbour/contrib/rddsql/sddmy/Makefile
  * harbour/contrib/rddsql/sddpg/Makefile
  * harbour/contrib/rddsql/sddfb/Makefile
  * harbour/contrib/rddsql/sddodbc/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/rddado/Makefile
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbclipsm/Makefile
  * harbour/contrib/rddads/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbtip/Makefile
  * harbour/contrib/hbwin/Makefile
  * harbour/contrib/hbvpdf/Makefile
  * harbour/contrib/hbbtree/Makefile
  * harbour/contrib/hbssl/Makefile
  * harbour/external/libhpdf/Makefile
    * removed not longer necessary workaround for overwritten by different
      targets INSTALL_RULE
      Possible TODO: clean up some other rules in config .mk files to remove
      hacks from pp and dynlib Makefile(s).

   Above modifications should fully resolve the problems with repeated
   install actions and also build problems with some more restrictive
   POSIX SHELLs.
2009-09-01 19:05:19 +00:00
Viktor Szakats
b23e716c11 2009-08-27 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
    * HB_WITHOUT_ADS -> HB_INC_ADS
    * HB_WITHOUT_ODBC -> HB_INC_ODBC
    ; Please verify these changes.

  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/Makefile
    + Using new central detection function instead of replicating
      in in every contrib. The "side effect" is that now precise
      instructions will be shown if a given contrib isn't included in a build.
      Code is much cleaner/simpler/shorter now.
    ; It's possible that I made some mistakes along the line,
      plus report if anything is wrongly detected.
    * external component names converted to all lowercase.
    ; QT will be done in next commit.

  * config/detfun.mk
  * config/detect.mk
    + Added usage instructions (moved parts from detect.mk to detfun.mk).
    * Moved help to detfun.mk.
    + Added HB_INC_* 'force' option.
    + Now clearing _DET_* vars on exit.
    * external component names converted to all lowercase.

  * config/global.mk
    + Updated plans.
2009-08-27 11:17:45 +00:00
Viktor Szakats
868a22ea84 2009-08-17 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/Makefile
  * contrib/hbnf/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * tests/bldtest/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * Makefile
    * Renaming .cf files to .mk.
      Pass 3. Changing .cf references to .mk ones outside config.
      SVN is in working state again. I'll do a final check after 
      this commit.
2009-08-17 17:32:21 +00:00
Viktor Szakats
34f14f481e 2009-08-16 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/rules.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    % Using HB_PRGFLAGS instead of HB_FLAGSEXTRA.
    % Using HB_CFLAGS and HB_PRGFLAGS instead of HB_CDBG.
    % Using HB_CFLAGS instead of HB_CUNICODE.
    % Moved all flags from HB_RULE to HB_FLAGS (except HB_USER_PRGFLAGS).
      This only affects dos/watcom, more cmdlines will be put in HARBOURCMD.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/hbtipssl/Makefile
  * contrib/hbssl/Makefile
    ! Using HB_CFLAGS/HB_PRGFLAGS to specify Makefile local
      compiler settings instead of modifying HB_USER_*FLAGS.
      This way the double defines are gone.
    + Included global.cf to all Makefiles which needs to modify
      HB_CFLAGS/HB_PRGFLAGS. Probably we should move global.cf
      inclusion to the top of all Makefiles as a convention.
      Not terribly elegant, but solves a few problems and
      more efficient.
    % Changed ', -I$(d))' to ',-I$(d))' along the way. This avoids
      wasting an extra space in command line.
    ; NOTE: It'd still be beneficial to find a way to get rid of 
            'descend' rule. It could make cmdlines cleaner/shorter 
            and whole build process simpler/faster. I didn't manage 
            so far.

  * source/vm/Makefile
    * Deleted 'HB_USER_CFLAGS := $(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))'
      (since it's no longer supported practice to modify user supplied flags)
      I'm not sure if it's important enough to have. AFAIK there is no
      reason users use HB_MT_VM define, it's not a public setting, so we
      shouldn't go too much far in trying to protect against its presence.
      If it's needed, we should add 'HB_CFLAGS += -DHB_ST_VM' and handle
      HB_ST_VM as the reverse of HB_MT_VM inside the source.

  * source/rdd/dbffpt/dbffpt1.c
  * source/rdd/dbffpt/Makefile
    * Optimizations are now disabled using #pragma for __XCC__ instead of
      deleting them from HB_USER_CFLAGS. Please test, and see above on
      modifying HB_USER_CFLAGS in our make files.

  * bin/postinst.cmd
    ! Deleted double quote from target dir in xcopy commands.
      Blind change.

  * utils/hbtest/rt_main.ch
  * utils/hbtest/hbtest.hbp
  * utils/hbtest/Makefile
    + Changed to use #pragma to turn on line numbers instead of
      using HB_USER_PRGFLAGS (or HB_PRGFLAGS). This way there is
      no need for Makefile hack/tweaks and it works with all make methods
      automatically.

  * config/instsh.cf
    ! Partially restored a few things which were lost without comments
      in prev OS/2 commit:
      - Formatting
      - '@' prefixes
      - '-' prefixes
2009-08-16 00:55:17 +00:00
Viktor Szakats
c18e8cf12f 2009-08-14 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Fixed to not throw harmless but still confusing error
      messages when cleaning hbpp binary parts.

  * bin/hb-mkdyn.bat
    % Minor optimization in initialization.

  - make_gnu_os2.cmd
  - make_gnu.bat
    - Deleted these starter batch files.
    ; Please use 'mingw32-make' (if installed in PATH) or
      'config/mingw32-make' (if not installed in PATH) instead.
      OS/2 users should use 'make'.
    ; OS/2 users will have to add:
      set HB_USER_CFLAGS=-DTCPV40HDRS
      to local configuration unless they used:
      set HB_OS2_TCP32=yes
      I'd like to ask OS/2 users to add (now deleted) related
      documentation to one of our docs: INSTALL or include/hbsetup.h.
      Since this was a setting to disable some default setup,
      we can readd this setting with another name to
      config/global.cf if needed. Pls tell me about it.
    ; TODO: Delete make_gnu.sh and/or integrate make_gnu_xmingw*.sh.
            There is still two things which is done by make_gnu.sh:
              - Detection for -fPIC option.
              - Setting HB_INSTALL_PREFIX to system location.
                  (I don't like this, but it seems to be standard
                  behaviour on Linux, so we may want to change GNU Make
                  default logic according to that)
    ; TODO: Move mpkg_*.sh files with related support files to /package.
            Best would be to integrate them to postinst.sh.

  * INSTALL
    + Added TOFIX to one example: djgpp with NT shell will choke on
      too long cmdline when building external/libhpdf.
    ; TOFIX: see above. (if possible. If it's too complicated we
             should simply drop this scenario, after all DJGPP GNU 
             Make also works well.

  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbwin/Makefile
    + Indentation.
2009-08-14 20:35:48 +00:00