Commit Graph

382 Commits

Author SHA1 Message Date
Viktor Szakats
5a6facdcc2 2010-08-07 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Generalized the way dynamic lib dependencies are found 
      to make it work on *nix systems, too.

  * include/harbour.hbx
  + src/rtl/libnamec.c
  * src/rtl/libname.prg
  * src/rtl/Makefile
    + Added HB_LIBEXT() and HB_LIBPREFIX() functions.

  * utils/hbmk2/hbmk2.prg
    + Added "platform", "compiler", "cpu", "buildname", "dynsuffix" 
      to --hbinfo returned data.

  * INSTALL
    + Documented HB_BUILD_CONTRIB_DYN setting. The default is
      'no', and if set to 'yes', the build system will create
      dynamic lib versions of the contribs.

  * src/Makefile
  * utils/hbformat/Makefile
  * utils/hbi18n/Makefile
  * utils/hbtest/Makefile
  * config/global.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/dyn.mk
  * config/rules.mk
  * INSTALL
    * Renamed HB_BUILD_DLL to HB_BUILD_DYN.
2010-08-07 10:00:21 +00:00
Viktor Szakats
4fc311154c 2010-08-06 12:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/symbian
  + config/symbian/libs.mk
  + config/symbian/gcc.mk
  + config/symbian/global.mk
  * include/hbthread.h
  * include/hbsetup.h
  * src/vm/thread.c
  * src/common/hbtrace.c
  * src/common/hbprintf.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/hbgtcore.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * INSTALL
    + Rough port to Symbian OS.
      It compiles OK, no exes build and I had to disable hbsocket.c
      due to too many errors.
2010-08-06 10:51:00 +00:00
Viktor Szakats
dfecc296cd 2010-08-06 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * win-make.exe
  * w64-make.exe
    + Update included GNU Make to 3.82 (from 3.81)
      (locally built from CVS using msvc2010).

  * contrib/hbpost.hbm
    % Minor opt/cleanup.
2010-08-06 09:32:28 +00:00
Viktor Szakats
a1a8bcd8d4 2010-08-06 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed setting LD_LIBRARY_PATH under pre-3.81 GNU Makes.
    + Will now set HB_SYSLOC=yes when creating .tgz packages which
      are meant to be installed to system locations. (didn't test 
      this one)
    + Will now set HB_INSTALL_DOC to /share/doc/harbour on *nix systems.
    ! Fixed to set HB_INSTALL_MAN to /share/man (instead of /man) on
      *nix systems.
    ; Please test/review these.

  * config/postinst.hbs
    + Create directory for "root documents". They are now stored
      in /share/doc/harbour for *nix.
    ! Fixed to store proper directory in ld.so.conf.d setting by
      removing HB_INSTALL_PKG_TOP from the beginning of full dynlib
      path.

  * debian/rules
  * package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    ! Use HB_INSTALL_PKG_TOP to denote the root of package dir structure.
    ; TODO: Change the name to HB_INSTALL_PKG_ROOT
    ; TODO: Optimize variable usage.
    ; TOFIX: Use HB_INSTALL_DYN instead HB_INSTALL_LIB in context of 
             dynamic libs in postinst.hbs and package scripts.

  * package/harbour.spec
    ! Fixed to honor HB_BUILD_NAME in local LD_LIBRARY_PATH setting.
      (is it needed?)

  * INSTALL
    - Deleted note about GNU Make 3.81.90
      3.82 is out and the bug was fixed.
    ! Updated mpkg_src.sh location.

  * contrib/make.hbs
    * Do not create dynlib, .hbd, .hbx if the main build process
      returned with non-zero errorlevel.

  * utils/hbmk2/hbmk2.prg
    + Return errorlevel when -stop is used in project.
    + Use manifest constants for errorlevels.

  * config/hbextern.hbs
    * Local function renamed.

  * contrib/xhb/xhb.hbx
  * contrib/hbxpp/hbxpp.hbx
    * Regenerated.

  * src/vm/pvaluehb.c
    ! Typo in comment.
2010-08-06 08:01:09 +00:00
Viktor Szakats
3e86c38583 2010-08-03 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Fixed to only do install tasks in install build phase.
    * Changed to only regenerate headers in non-install phase.

  * Makefile
    + Passing build phase to postinst.hbs.

  * INSTALL
    + Elaborating a bit more on the meaning of 'local' in HB_WITH_*
      settings.
2010-08-04 12:28:10 +00:00
Viktor Szakats
49be9ffd54 2010-08-03 20:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/make.hbs
    ! Fixed missing output from hbmk2 runs.
    * Will not echo the --hbinfo hbmk2 invokation anymore.

  * INSTALL
    * Minor.
2010-08-03 18:54:25 +00:00
Viktor Szakats
3ab717ad6e 2010-08-03 16:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Will now automatically generate EXTERN lists for libs if
      using HB_REBUILD_EXTERN=yes setting and GCC compiler.
      Pls note that after regeneration a new build pass is
      required to reflect the changes in final binaries.
      NOTE: I chose the .hbx extension for EXPORT code.
            Pls comment on it (adding a postfix to regular
            .prg or .ch extension is not an option as it won't
            fit the 8.3 filename limit).
    * Changed --hbinfo call to pass parameters just like the
      "real" hbmk2 call, to get correct information about
      the project.
    % Minor optimizations.

  * utils/hbmk2/hbmk2.prg
    + --hbinfo extended to return 'outputname'.

  * INSTALL
    + Documented HB_REBUILD_EXTERN
2010-08-03 14:00:52 +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
b2b189377a 2010-07-30 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsocket.h
  * src/rtl/hbsocket.c
    ! Fixed type in C level function name.

  * src/rtl/hbdoc.prg
    ! Fixed to always use CRLF as EOL in internal doc data.

  * contrib/hbtip/utils.c
    ! HB_BASE64() marked as HB_LEGACY_LEVEL3.
    + Added TIP_CRLF()

  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbtip/mail.prg
    * Using TIP_CRLF() instead of HB_INETCRLF().

  * config/postinst.hbs
    + More meaningful message when doing 'make install' without 
      HB_INSTALL_PREFIX being set.

  * contrib/hbpost.hbm
    + Added extra protection to not try to install anything when 
      using 'install' without target dir being specified.

  * INSTALL
    * Updated to reflect the optional nature of make 'install' 
      option.
    * Updated to reflect change in HB_INSTALL_PREFIX.
    * {hb_top} HB_INSTALL_PREFIX macro not documented anymore.
2010-07-30 07:56:36 +00:00
Viktor Szakats
ff1e787702 2010-07-29 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- mpkg_rpm.sh
  - mpkg_rpm_wce.sh
  - mpkg_rpm_win.sh
  - mpkg_src.sh
  + package/mpkg_rpm.sh
  + package/mpkg_rpm_wce.sh
  + package/mpkg_rpm_win.sh
  + package/mpkg_src.sh
  * INSTALL
    * Moved rpm package creator scripts to package dir.
    * Update INSTALL accordingly.
    ; Please test/review it.
2010-07-29 13:47:14 +00:00
Viktor Szakats
a04f40b3d3 2010-07-29 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec
  * package/harbour-wce.spec
  * config/global.mk
  * INSTALL
    * Renamed HB_BIN_COMPILE to HB_HOST_BIN
      (old pending TODO)

  * tests/flink.prg
    + Added comment.
    + Added example to dir symlink.

  * contrib/hbpre.hbm
    + Added comments.

  * config/beos/gcc.mk
  * config/global.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/c.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/rules.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Renamed HB_INC_COMPILE to HB_HOST_INC
      (it's still not precise name, just in sync with HB_HOST_BIN.
      In Harbour there is no difference between headers accross
      the platforms, so they could just be called something more
      neutral. If you have an idea, pls speak up.)
2010-07-29 12:40:41 +00:00
Viktor Szakats
903294787a 2010-07-29 13:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * src/pp/Makefile
  * src/dynlib/mt/Makefile
  * src/dynlib/Makefile
  * package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
  * contrib/make.hbs
  * utils/hbmk2/hbmk2.1
  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
  * utils/hbrun/hbrun.hbp
  * utils/hbrun/Makefile
  * doc/gmake.txt
  * config/postinst.hbs
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/header.mk
  * config/dyn.mk
  * config/doc.mk
  * INSTALL
    * Renamed install dir control envvars to be in the same
      "namespace": (INCOMPATIBLE if you used to manually
      configure these)
      HB_BIN_INSTALL -> HB_INSTALL_BIN
      HB_LIB_INSTALL -> HB_INSTALL_LIB
      HB_DYN_INSTALL -> HB_INSTALL_DYN
      HB_INC_INSTALL -> HB_INSTALL_INC
      HB_DOC_INSTALL -> HB_INSTALL_DOC
      HB_MAN_INSTALL -> HB_INSTALL_MAN
      HB_ETC_INSTALL -> HB_INSTALL_ETC

  * contrib/hbide/idemisc.prg
    - Deleted unused code.
2010-07-29 11:58:25 +00:00
Viktor Szakats
3d884b5706 2010-07-29 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Making available original hbrun location using __HBRUN__DIRBASE
      envvar. This information is lost when doing the argshift trick,
      pls shout if you see a better solution for it (or any concerns
      with this one).

  * contrib/make.hbs
    + Will now use unified method for both stdalone and GNU Make to 
      find out the location of hbmk2. It will look for it in the same 
      dir as of hbrun's.

  * config/postinst.hbs
    * Converting bash to .prg in progress.

  * INSTALL
    + Documented Mac OS X architecture flags.
2010-07-29 08:44:34 +00:00
Viktor Szakats
aa6055f5f4 2010-07-27 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- package/debian
  + debian
  * INSTALL
    * Moved back to root. Seems like this MUST be in root and there 
      is no way to tell debhelper tools otherwise.

  * debian/rules
    % Deleted unnecessary stuff. Pls review me.

  * config/global.mk
    ! Minor in comments.
2010-07-27 21:52:52 +00:00
Viktor Szakats
585e426432 2010-07-27 15:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
  * mpkg_rpm_wce.sh
  * mpkg_rpm_win.sh
  - harbour.spec
  - harbour-wce.spec
  - harbour-win.spec
  + package/harbour.spec
  + package/harbour-wce.spec
  + package/harbour-win.spec
    * .spec files moved inside package dir.

  * INSTALL
    ! Correction to tgz creation command.
2010-07-27 13:26:40 +00:00
Viktor Szakats
0958384bc0 2010-07-27 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- debian
  + package/debian
  * INSTALL
    * Moved debian package creation stuff from root to package dir.
2010-07-27 09:27:04 +00:00
Viktor Szakats
bd90e07276 2010-07-26 20:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * harbour.spec
  * config/instsh.mk
    * Do not use HB_INST_PKGPREF.

  * harbour.spec
    + Use HB_MAN_INSTALL

  * config/global.mk
    + Added HB_MAN_INSTALL and HB_ETC_INSTALL
    + PKG_NAME is now filled in little bit different way for
      *nix systems to emulate old mpkg_tgz.sh logic.

  * bin/postinst.sh
    - Deleted no more used subroutines.
    - Deleted mk_hblibso() function.
      - it maintained loca list of contribs which breaks the
        effort of contrib "plug-in" system
      - it contained lots of platform dependent build details in
        hard to maintain bash shell code.
      ; If someone needs this functionality pls try to integrate
        it in hbmk2 or write a .hbs script in modular fashion
        (not contrib names). I cannot tell what exactly was the functionality
        implemented there though. Maybe rewriting it locally is also an
        option.
    ! Do not use HB_INST_PKGPREF.

  * config/postinst.hbs
    + Rewritten mpkg_tgz.sh logic in .prg code. This logic is
      finally in it's proper place.
    + Implemented copying of man files on *nix systems.
    ; NOTE: Not tested at all, it was hard enough to rewrite it,
            pls help on finishing and debugging it. See TODOs in
            source. Previous replicated with some differences.

  - mpkg_tgz.sh
    - Deleted. Now implemented in postinst.sh.
      Build Harbour with HB_BUILD_PKG=yes to try it.

  * INSTALL
    + Added HB_MAN_INSTALL and HB_ETC_INSTALL
    + Updated .tgz binary instructions (now same on all platforms)

  * utils/hbrun/hbrun.prg
  * utils/hbrun/hbrun.hbp
  * utils/hbrun/Makefile
    * Renamed include dir control var.
    * Change so that now simple HB_INC_INSTALL value will
      trigger burn-in of header location.
    + Added logic to only use burnt-in header location if
      it is an absolute path.
    ! Synced .hbp file with this feature.
    ; NOTE: This is still non-portable and error
            prone solution. Pls see my thought on dev list
            about possible solutions to use precompiled
            Harbour headers compiled right into the executable.
2010-07-26 18:44:08 +00:00
Viktor Szakats
46f7e48f29 2010-07-26 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbxbp/tests/wvtqt.hbp
    ! Added missing SVN header.
    % Cleanup.

  * INSTALL
  * contrib/hbpost.hbm
  * config/global.mk
    * Changed HB_BUILD_IMPLIB to HB_INSTALL_IMPLIB to reflect
      new meaning after recent changes. With new build system
      the implibs are always created in lib working dir, and
      this setting only controls whether to copy it to final
      install directory. The default is still 'no'. Setting it
      to yes is only recommended if the installation will be
      used in local environment (3rd party .dlls) only. IOW
      never set this to yes when creating a build for other
      users (f.e. for distribution).
      INCOMPATIBLE if you used this setting, pls change it now.

  * INSTALL
    + Documented HB_STATIC_* options.

  * contrib/make.hbs
    * Updated TODO list.

  * src/debug/debugger.prg
  * src/rtl/dirscan.prg
  * tests/wcecon.prg
  * contrib/xhb/traceprg.prg
  * contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbxbp/tests/wvtqt.hbp
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgwvtclasses.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/mail.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * examples/uhttpd2/umain.prg
  * examples/hbvpdf/tests/pdf_demo.prg
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/httpsrv/session.prg
    * HB_OSPATHSEPARATOR() -> HB_PS()
    % Delete temp vars along the way.

  * utils/hbmk2/hbmk2.prg
    + Generalized internals for support for older Harbour and
      xhb versions.
    + Added -hb20 option. (thanks for asking for it so nicely ;)
2010-07-26 10:36:23 +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
618d38b205 2010-07-19 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbpre.hbm
    + Will now automatically rebuild all dependent contribs.
      So f.e. when building hbide, it will automatically update
      hbqt then hbxbp. Pls note that extra hbmk2 options passed
      at the cmdline are only applied to primary target.
    + Will now automatically sort the list of contribs in order
      of dependency.
      [ there is quite interesting tree parsing/building and
      topological sorting employed. ]
    + Added log message at the end of the build process.
    + Standalone mode will now launch raw hbmk2 session if
      anything non-option and non-GNU control keyword is passed
      to it (f.e. a .hbp or a .prg). In such case it will act
      as plain hbmk2 call.
    ! Fixed -quiet keyword to be really quiet (should be on the
      cmdline for that effect).
    + Added GPL2 license header.

  * contrib/Makefile
    % Greatly simplified.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Changed to do all tool detection in init 'pre_all' stage,
      and return an error if anything is missing. This allows
      hbmk2 to gracefully end the build process in such case.

  * utils/hbmk2/hbmk2.prg
    + hbmk2 will now gracefully exit with errorlevel 20 if
      any plugins return error at 'pre_all' stage.
    + --hbinfo will now return whether incremental mode is
      enabled for a project.
    + Plugins can now return at 'init' stage, in such case
      the plugin will be instantly unloaded.
    + hbmk2 will now display the stage where error is reported
      by plugins.
    * Experimental trick added: On win/wce/os2/dos platforms,
      if no explicit dependency location path was set by user
      (using HB_WITH_*) and there was no locally hosted location
      specified either, hbmk2 will show a warning instead of
      an error.
    + Added new internal variable to store implib extension.
      (OS/2 supports .imp as such extension, although hbmk2
      does not yet)
    + Replaced os2/gcc -implib method with a new post cmd method
      (instead of using --out-implib mingw-like option which
      doesn't exist in OS/2). Thanks Maurilio for tests and
      information.

  * INSTALL
    + Added more visibility and more clear wording to TROUBLESHOOTING
      section reference in top of INSTALL doc.
    + Numbered items in TROUBLESHOOTING section so that they can be
      easily referred to.
    + Added new TROUBLESHOOTING suggestion (somewhat redundant)
      to first try to remove any special build options.

  * Makefile
    + Never attempt to run postinst.bat and postinst.cmd.

  * ChangeLog
    * Changes marked as DONE.
2010-07-19 19:04:29 +00:00
Viktor Szakats
9e5eb6af23 2010-07-18 1:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * Changed to only create .hbd documentation file for the
      core. This is to ensure separation of components.

  * contrib/Makefile
    - Deleted old Makefile-based build logic in contrib area,
      now this make file does nothing else than passing the
      control to make.hbs Harbour script.

  * contrib/make.hbs
  * contrib/hbpre.hbm
  * contrib/hbpost.hbm
    % Moved -instpath options to hbpost.hbm to save cmdline length.
    % Moved HB_BUILD_SHARED control logic from make.hbs to hbpost.hbm
    ! -warn option moved to hbpre from hbpost, so libs can override it
      (can be important for external code)
    + Will now compile .hbd binary documentation in 'install' phase
      and copy it to HB_DOC_INSTALL.
    * Internal pathsep cleanup.
    ! Fixed to accept 'install'/'clean' regardless of casing.
    + Now accepts HB_BUILD_CONTRIBS instead of HB_CONTRIBLIBS
      (though old envvar still work for while)
    + Log feedback now show the build action executed.
    + Added more TODOs.

  * INSTALL
    * Documented the change to HB_BUILD_CONTRIBS from HB_CONTRIBLIBS.

  * utils/hbmk2/hbmk2.prg
    + Will now automatically recognize HB_BUILD_NAME envvar and
      convert it to -build= cmdline option.

  * contrib/hbodbc/todbc.prg
  * contrib/hbodbc/odbcold.c
  * contrib/hbodbc/odbc.c
    * Renamed SQLSTOD to HB_ODBCSTOD
    * Renamed SQLSETNUMLEN to HB_ODBCSETNUMLEN.
    * Old names are deprecated with HB_LEGACY_LEVEL3.
      If you happen to use these function names, pls update to
      the new ones ASAP.
2010-07-18 09:04:59 +00:00
Viktor Szakats
a60270521e 2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
    + Added pcc to few places (with experimental status).
2010-07-17 07:46:43 +00:00
Viktor Szakats
e03136aa92 2010-07-16 19:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Windows and OS/2 specific extra requirements for
      GNU Make version. Windows: 3.81, OS/2: 3.81r3
      Older versions are too buggy/risky on these platforms.

  * ChangeLog
    + Added more VxWorks NOTEs to 2010-07-16 18:22 UTC+0200.
2010-07-16 17:06:05 +00:00
Viktor Szakats
df891b8377 2010-07-16 13:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_vars.ch
    - Disabled long string tests for vxworks. They fail because of
      memory exhaustion.
    ! Fixes to prev.
    ; Now hbtest runs OK on vxworks/gcc.

  * config/global.mk
    + Now defines __PLATFORM__VXWORKS for cross-builds.
    ! Fixed typo in lastly added __PLATFORM__ redefinition.

  * INSTALL
    + Added vxworks/diab example.
2010-07-16 11:59:29 +00:00
Viktor Szakats
03a15d50b5 2010-07-16 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_vars.ch
    + Enabled GTCGI for Harbour builds. This makes it independent
      for GTs, to there is better chance to run it. Now it also
      works on VxWorks.
    + Will now detect .dbf creation failure and continue gracefully
      with a message and skipping all related tests.

  * src/rtl/hbsocket.c
  * external/minizip/ioapi.h
  * include/hbthread.h
    + Added/cleaned hacks to avoid collision between VxWorks's own
      system types.

  * external/minizip/ioapi.h
    ! Disabled 64-bit FSIO for whole VxWorks.

  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/vxworks/global.mk
    + _VX_CPU is now defined in vxworks/global.mk.

  * src/common/hbarch.c
    ! Fixed hb_put_le_uint64() definition to match declaration.

  * include/hbdefs.h
    ! Fixed compatibility type definitions in HB_LONG_LONG_OFF mode.

  * include/hbsetup.h
    + Added bzero() declaration hack for vxworks.

  * include/hbinit.h
    + Added support for diag compiler init function.
      It requires the constructor to have public visibility.

  * src/common/hbver.c
    + Changed to always display x.x.x.x format verison no for diab.
      (in generic way).

  * INSTALL
    * Updated list of CPUs supported by vxworks.
2010-07-16 11:34:05 +00:00
Viktor Szakats
c7445e0bae 2010-07-16 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    * Formatting.

  * config/vxworks/diab.mk
    ! Refined tweak added to make hbsocket compile. I overdid
      it, causing other breakage.
    ! Fixed dynlib generation to cope with Windows cmdline
      length limits.
    + Added proper dynlib generation rule.

  * config/vxworks/gcc.mk
  * config/vxworks/global.mk
    + HB_CCPOSTFIX setup made common to all compilers, because
      it's needed for 'strip' call.

  * utils/hbmk2/hbmk2.prg
    + Some vxworks environment setup made common to all compilers.

  * harbour-win-spec
  * harbour-wce-spec
    ! Deleted hbmk.hbc references.

  ; Patches by Tamas Tevesz:

  * harbour.spec
    ! Fixes to make it work.

  * external/minizip/minizip.dif
    * Updated.

  * INSTALL.
    * Nevermind.
2010-07-16 06:11:26 +00:00
Viktor Szakats
f1fdb9b02c 2010-07-16 00:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/diab.mk
    + Implemented support for Wind River Compiler.
      Incomplete yet, as I couldn't test each build
      feature due to errors in earlier build stages.

  * src/common/hbver.c
    + Added fourth version number level.
    + Added version detection for Wind River Compiler (diag).
    * Formatting.

  * src/common/hbprintf.c
  * external/minizip/ioapi.h
    + Fixes for Wind River Compiler (diag)

  * src/rtl/hbdyn.c
    ! Dirty fix to compile in HB_LONG_LONG_OFF mode.
      Przemek if you see this, can you take a look at it if 
      it's right or at least not terribly off?

  * include/hbsetup.h
    ! Temporary hack for Wind River Compiler to use
      HB_LONG_LONG_OFF, otherwise the compiler crashes with
      internal error in hvm.c (without hvmall and optimizations
      also). Now, this flag caused another slew of problems,
      so as it looks now support for this compiler cannot
      be added:
         "../../../hvm.c", line 9827: internal compiler error (etoa:1000): - Failed allocating register pair
         please contact support@windriver.com */

  * include/hbinit.h
    + Enabled Wind River compiler to use the GCC init mode.
      (didn't actually test it, but it compiles)

  * utils/hbmk2/hbmk2.prg
    + Added new debug switch -debugpars to get a list of
      input parameters processed by hbmk2.
    + Synced automatic HB_CCPOSTFIX configuration based on cpu
      setting with GNU Make logic.

  * config/vxworks/gcc.mk
    * Cleanups.
    + Added more CPU postfixes.

  * INSTALL
    * Minor convenience added to prev.
2010-07-15 22:32:24 +00:00
Viktor Szakats
83c7f46c13 2010-07-15 21:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! vxWorks casing.
    + Added vxworks/gcc/arm example.

  * utils/hbmk2/hbmk2.prg
    % -DARMEL no more defined for vxworks/gcc/arm. It turns
      out it's a predefined macro.

  * config/global.mk
    ! Fixed HB_CPU autodetection after prev change.

  * INSTALL
    ; NOTE: After previous change HB_CCPOSTINST is automatically
            set on vxworks/gcc.

  * config/vxworks/libs.mk
  * config/vxworks/gcc.mk
    + Tried to enable dynlibhb, didn't succeed, see comments.

  * config/vxworks/gcc.mk
    % Deleted unnecessary compile time macros.

  ; TOFIX: vxworks HB_BUILD_SHARED=yes is broken. harbour .so
           is not found. Couldn't find out why.
  ; TOFIX: vxworks/gcc/arm hbatomic.h needs support added.
           arm harbour and hbpp builds fine.
2010-07-15 19:53:56 +00:00
Viktor Szakats
00cd9e92f3 2010-07-15 16:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + config/vxworks
  + config/vxworks/libs.mk
  + config/vxworks/gcc.mk
  + config/vxworks/diab.mk
  + config/vxworks/global.mk
    + Started experimental VxWorks port.
    ; NOTE: VxWorks port was made possible by Wind River Systems Inc.,
            who were so kind to mail me a full VxWorks development
            environment, for the purpose of porting Harbour to this
            platform. Thank you very much guys.

            [ The free license is valid for one month, so if anyone
            is interested in helping in this project, I can help with
            real tests, builds and information. BTW, the devenv is
            Eclipse based plus cmdline, running on Windows (available
            for Linux and Solaris, too) and the target VxWorks exes
            run in a virtual environment. ]

  * config/global.mk
    + Added autodetection of VxWorks platform.

  * utils/hbmk2/hbmk2.prg
    + Added VxWorks support. It's incomplete yet.
    ! Fixed to quote *nix/gcc compiler family in
      Windows-host cross-platform situations.

  * src/vm/thread.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbdate.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/net.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * external/zlib/inflate.c
  * external/jpeg/jmorecfg.h
  * external/pcre/Makefile
  * include/hbapifs.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
    + vxworks/gcc port. First phase.
    ; Please review.
    ; NOTE: - vxworks has no termios, for serial comm
              support it has sioLib.h.
            - vxworks supports another C compiler, which
              was not tested yet.
            - vxworks supports lots of CPUs, only x86 was
              tested yet.
            - There are still mutex related warnings to sort out.
            - Some parts had to disabled, like HB_LIB*() functionality.
    ; TODO: Regenarate .difs in external/.

  * src/vm/hashfunc.c
    * Silenced warnings shown by vxworks/gcc.
2010-07-15 15:02:33 +00:00
Viktor Szakats
43bdb1ff74 2010-07-08 17:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/Makefile
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetworks.hbp
    * HB_QT_STATIC renamed to HB_BUILD_QT_STATIC (INCOMPATIBLE)
      (may not be final name)

  * contrib/hbqt/hbqt.hbc
    * Using HB_STATIC_QT envvar to chose to build against static 
      HBQT/QT components. This makes it in sync with rest of 
      contribs.
2010-07-08 15:39:35 +00:00
Viktor Szakats
2080c12848 2010-07-07 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed stdalone mode to create target in their usual GNU Make
      target dir.
    ! Fixed HB_BUILD_NAME handling.

  * INSTALL
  * utils/Makefile
  * config/postinst.hbs
    % Changed postinst to create .hbl file on its own behalf without 
      calling hbi18n.
2010-07-07 18:42:26 +00:00
Viktor Szakats
41ae1afb6c 2010-07-07 17:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/make.hbs
    + Added standalone mode. The goal is to emulate GNU Make's
      nice in-place build feature for contribs hbmk2 make files.
      Run with 'hbrun ../make.hbs [clean] [install]'
      (install mode's installation phase doesn't work yet)
    + Added contrib type autodetection.
    * HB_ADDONS_LIB, HB_ADDONS_BIN merged into HB_BUILD_ADDONS,
      now the type is autodetected.
    % Move hbmk2 cmdline to HBMK_OPTION only on MS-DOS hosts.
    + Added *nix script header.
    + Updated TODO list.
    ; NOTE: Most tasks are ready now regarding make system 
            migration in contrib area from GNU Make to hbmk2.

  * config/postinst.hbs
    + Added native .hbl generation logic which doesn't require
      hbi18n executable. (not used yet)

  * bin/hbxpatch.hbs
  * contrib/make.hbs
    + Added svn:executable flag.
2010-07-07 15:18:24 +00:00
Viktor Szakats
a170ec0c28 2010-07-07 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * GNU Make 3.81 recommended (without 'or upper')
    + Documented GNU Make 3.81.90 bug.

  * contrib/make.hbs
    * Minor tweak to avoid line ending spaces in stdout.
    * Minor visual cleanup.

  * contrib/hbide/hbide.hbp
    + Added instfile option to install .dlls on Windows systems.

  * config/postinst.hbs
    ! Fixes in comment and feedback output.
    - Deleted commented .hbl generation stuff based on hbmk2.
2010-07-07 09:52:53 +00:00
Viktor Szakats
5994143e6a 2010-07-07 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    + Using hbi18n tool to generate .hbl files to utils.
      (currently hbmk2 only)
      This fixes missing .hbl after latest changes which dropped
      regenerating utils at postinst phase. At the same time it
      enables .hbl file generation for all platforms. The logic
      will automatically generate .hbl files for all .po files
      found under any utils.

  * INSTALL
  * utils/Makefile
    + Added hbi18 to the list of tools required to build Harbour
      in cross-platform situations.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    ! Fixed QT tools detection on HB_WITH_QT.
2010-07-07 08:09:04 +00:00
Viktor Szakats
abba1977a2 2010-07-04 20:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
  * contrib/Makefile
  * utils/Makefile
    - Deleted HB_CONTRIB_ADDONS, HB_EXTERNAL_ADDONS,
      HB_UTIL_ADDONS.
    + Documented HB_ADDONS_LIB, HB_ADDONS_BIN (still not
      necessarily the final names)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Included hbnetio in Windows based installers.
      (.zip already had it after previous changes)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * config/postinst.hbs
    - Deleted building hbrun-dll. It makes simpler,
      won't be missed by too many users. Users needing
      fully shared binaries can use HB_BUILD_SHARED=yes.
2010-07-04 18:48:39 +00:00
Viktor Szakats
91f6641a51 2010-06-29 21:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Addeded support for specifying dependencies in .hbc files.

  * contrib/hbide/hbide.hbp
  * contrib/hbqt/hbqt.hbc
    * Moved qt dependency specification from local make file to
      central hbqt.hbc.

  * INSTALL
  * contrib/hbqt/hbmk2_plugin_qt.prg
    ! Minor correction to compile to hbmk2 plugin .hrb if compiled
      with harbour.
    + Added support for HB_QTPATH, HB_QTPOSTFIX envvars. This is
      now the recommended way to override QT tools autodetection.
      Kept HB_QT_MOC_BIN for compatibility. Deprecated.
      (just added support for HB_QT_UIC_BIN, HB_QT_RCC_BIN removed)
    - Deleted hardcoded hack to look for '-qt4' postfix when looking
      for QT tools. Now it's QT version agnostic. Use HB_QTPOSTFIX instead.
    ! Fixed deleting temp .uic file in stdalone mode.
    + Added -w3 pragma.
2010-06-29 19:06:27 +00:00
Viktor Szakats
8b4144be74 2010-06-29 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_QT_RCC_BIN
    ; TODO: Change these envvars to HB_QTPOSTFIX and HB_QTPATH.

  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbmk2_plugin_ui.prg
  + contrib/hbqt/hbmk2_plugin_qt.prg
    * Renamed. This plugin now handles .qrc files too.
    + Added support to compile .qrc files into final executables.
      This uses 'rcc' QT tool and since this one generates a .cpp
      file, the build process will require QT headers.
    ; TODO: If possible, create QRC .cpp to .prg converter to
            remove this dependency. Pritpal, do you think it's 
            possible?

  + contrib/hbide/hbide.qrc
    + Added QRC file with all the .png files in resources dir.

  * contrib/hbide/hbide.hbp
    + Added QT detection. I'm not so secrectly hoping someone will
      create a qrc .cpp to .prg converter so we can drop this
      dependency.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/hbide.prg
    * Changed to pick resource .png files from internal resource
      except external files. This means that /resources dir doesn't
      need to be distributed along hbide executable, IOW hbide
      executable is now self-contained (except a few exceptions like
      hbide.env, plus the fact the internal html pages make references
      to these external files, too.)
    - Deleted some unnecessary trash from source.
    ; TOFIX: hbide.env should reside in same place as hbide.ini.
             Pritpal could you check it?
    ; TOFIX: hbide internal html pages make reference to .png files
             on disk.
2010-06-29 07:53:24 +00:00
Viktor Szakats
796a93512c 2010-06-29 08:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_QT_UIC_BIN.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to call 'pre_prg' plugin state from a better
      position, so that it works in incremental mode.

  * contrib/hbqt/hbmk2_plugin_ui.prg
    * Variable name cleanup.
    * Marked parameters passed by reference.

  * contrib/Makefile
    * Finalizing GNU Make -> hbmk2 job transfer.

  * contrib/makefile.prg
    * Finalizing clean/install/make job control.

  * contrib/hbide/hbide.hbp
    + Use explicit .ui input file list instead of using wildcards.

  * contrib/hbide/setup.ui
    ! Fixed mixed-case hbide.ini filename on UI.
    ! Fixed .exe extension (and mixed case) on UI.
2010-06-29 06:47:23 +00:00
Viktor Szakats
af2b63500f 2010-06-20 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
  * src/vm/strapi.c
  * src/vm/runner.c
  * src/vm/codebloc.c
  * src/vm/hashes.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/arrays.c
  * src/vm/fm.c
  * src/vm/memvars.c
  * src/vm/extend.c
  * src/common/hbstr.c
  * src/common/hbmem.c
  * src/rtl/descend.c
  * src/rtl/gtapi.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/hardcr.c
  * src/rtl/inkeyapi.c
  * src/rtl/mtran.c
  * src/rtl/hbproces.c
  * src/rtl/ati.c
  * contrib/hbct/ctwin.c
  * contrib/xhb/xhbat.c
  * contrib/xhb/freadlin.c
  * contrib/xhb/txtline.c
  * contrib/xhb/cstructc.c
  * contrib/hbgt/strasint.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbwin/win_prn3.c
    + Using HB_PFS format in HB_TRACE() format strings.

  * contrib/xhb/freadlin.c
  * contrib/xhb/txtline.c
    * Variable names prefixed.

  * src/vm/macro.c
    * Deleted unnecessary '( void * )' casts.

  * INSTALL
    * Cleaned pocc support information.

  * contrib/hbct/files.c
  * contrib/hbct/color.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/print.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).
2010-06-20 08:39:13 +00:00
Viktor Szakats
887ba3cba9 2010-06-19 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/whatsnew.txt
    * Updated.

  * INSTALL
    * Updated mingw GNU Make links and GNU Make version requirement.

  * contrib/hbmzip/hbmzip.c
    * Pacified signedness warning.

  * contrib/hbnf/fttext.c
  * contrib/hbnf/dispc.c
  * contrib/hbmisc/hb_f.c
    + Types cleaned to be Win64 compatible and to support large files,
      where this was missing.
    * Formatting.
    * Deleted unnecessary casts.
2010-06-19 19:36:36 +00:00
Viktor Szakats
02b3147fd5 2010-06-17 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    + Extended with tests for row resize.
    + Added visual feedback for resize event.

  * config/global.mk
    ! Typo after last changes making HB_BUILD_PKG ineffective.
  * INSTALL
    * Minor.
2010-06-16 22:19:48 +00:00
Viktor Szakats
b50ea8e77e 2010-06-16 21:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/extend.api
  * include/hbapi.h
    + Disabled IS*() macros when HB_LEGACY_TYPES_OFF is defined
      (default when building Harbour)

  * src/pp/pplib.c
  * src/rtl/hbregex.c
  * src/rtl/dateshb.c
  * contrib/xhb/xhbfunc.c
  * contrib/rddads/rddads.h
    ! Fixed IS*() -> HB_IS*()

  * src/rtl/hbregex.c
  * contrib/hbmysql/mysql.c
  * contrib/xhb/xhbsave.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbfbird/firebird.c
  * contrib/hbnetio/netiosrv.c
  * contrib/rddads/rddads.h
  * contrib/rddads/adsmgmnt.c
  * contrib/rddads/adsfunc.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/ffind.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/hbssl.c
  * contrib/hbssl/sslctx.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).

  * INSTALL
    + valgrind is available for darwin-amd64 (in 1.6 devel tree, yet).
2010-06-16 19:10:22 +00:00
Viktor Szakats
290317ac9f 2010-06-16 19:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlibgz.c
  * src/rtl/fstemp.c
  * src/rtl/at.c
  * src/rtl/strtran.c
  * src/rtl/hbinet.c
  * src/rtl/saverest.c
  * src/rtl/diskspac.c
  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/disksphb.c
  * src/rtl/shadow.c
  * src/rtl/trace.c
  * src/rtl/ati.c
  * src/rtl/hbstrsh.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression 
      (where default value is constant or simple variable).
    % Optimized out few HB_ISNUM() calls where the default value was zero.
      Also added comment to signal the intention.

  * src/rtl/inkey.c
    + Added two TOFIXes to LASTKEY() and NEXTKEY() after having discovered 
      two hidden (dirty) parameter extensions over original Clipper 
      implementation, both added here in Harbour in year 2001. [ I didn't 
      test if it's undocumented Clipper function, but there is no such 
      indication in past log enties, plus even in this case it would have 
      to be marked with HB_CLP_UNDOC. They are also not Xbase++ extensions. ]
    + Added HB_KEYNEXT(), HB_KEYLAST() functions which implement original 
      NEXTKEY()/LASTKEY() functionality plus the extension.
      Pls correct me if I'm wrong, but after reading all related log entries 
      I could not find out why the default of the optional parameter is 
      _SET_EVENTMASK in NEXTKEY(), but INKEY_ALL in LASTKEY(). It was changed 
      as part of big change, here: 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak
    ; I intend to deprecate the dirty extensions and finish adding the two 
      new Harbour specific function, which we're free to extend.

  * contrib/xhb/dumpvar.prg
    ! Fixed recent typo.

  * INSTALL
    * Updated tdm website.
2010-06-16 18:08:04 +00:00
Viktor Szakats
81eb54e4d1 2010-06-16 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detfun.mk
  * config/global.mk
    % Streamlined internal handling of HB_SRC_ROOTPATH value.
    + HB_SRC_ROOTPATH will now be conditioned before use:
       ending pathsep added, pathseps converted to forward
       slash, double slashes deleted.
    ! Fixed HB_BIN_COMPILE autodetection in PATH, $(realpath
      was not necessary, it only ruined already absolute paths
      which are likely to appear in PATH anyway.
    % Optimized HB_BIN_COMPILE autodetection in PATH to reuse
      function created for this purpose.
    ! Fixed GNU Make 3.81 version detection to work also with
      future GNU Make versions.
    + Added GNU Make 3.80 version detection. (unused, commented)
    % Deleted version guards from around $(eval) and $(info) calls:
      Unknown function calls will simply be ignored by
      GNU Make and empty string returned, so this is safe.
    % Force HB_BUILD_PKG off only if HB_SRC_ROOTPATH is not
      specified (and running < 3.81 GNU Make version).
    + Show warning when using < 3.81 GNU Make version and
      HB_SRC_ROOTPATH was not specified.
    + Falling back to using HB_SRC_ROOTPATH in all places where
      $(realpath) or $(abspath) calls are used in 3.81 version.
    ! Protected one $(realpath) with version guard.
    + Automatized how HB_VER_STATUS_SH is filled for final releases.
    ; NOTE: HB_SRC_ROOTPATH support is completely untested.
    ; TODO: If everything works as intended, now "only" $(eval)
            calls need some workaround to give full blown
            functionality also with 3.79 version of GNU Make.

  * config/instsh.mk
    ! Fixed to not use $(realpath) (and fail to install),
      when running under < 3.81 GNU Make.

  * utils/hbmk2/hbmk2.prg
  * config/global.mk
    * Changed to use 'wcc386' executable for watcom detection
      (was 'wpp386').

  * INSTALL
    + Minor updates regarding QT.
2010-06-16 08:02:11 +00:00
Viktor Szakats
36b4bd96d4 2010-06-15 20:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/detfun.mk
  * config/global.mk
    * HB_ROOT -> HB_SRC_ROOTPATH
      Renamed to not have such obvious and short name and not 
      to collide with build-in hbmk2 macro with the same name.
2010-06-15 18:40:15 +00:00
Viktor Szakats
b88202cabe 2010-06-15 18:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/detfun.mk
  * config/detect.mk
  * external/sqlite3/Makefile
  * external/png/Makefile
  * external/jpeg/Makefile
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbbz2/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/sddsqlt3/Makefile
  * contrib/hbwin/Makefile
    + Added HB_ROOT variable which can be used to specify Harbour
      source tree root as an absolute directory, when using
      older than 3.81 GNU Make version (f.e. on QNX).
    + Changed the way locally hosted source directories are
      specified for detection function, in order to support
      HB_ROOT functionality.
2010-06-15 16:44:38 +00:00
Viktor Szakats
aedb632e4a 2010-06-15 18:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Mac OS X QT pkg recommended link.

  * ChangeLog
    * Updated list of pending issue on QNX system.

  * contrib/hbmysql/mysql.c
    ! Fixed version guard around mysql_get_server_version() call
      to check against the documented version number this
      function appeared.

  * utils/hbmk2/hbmk2.prg
    ! Fix for *nix filename escaping code.
    ! Fixed to escape and decorate filename in entry function
      detection external call using nm tool.
    ; Patches by Tamas Tevesz.
2010-06-15 16:08:38 +00:00
Viktor Szakats
83bab940b8 2010-06-14 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
  * include/hbthread.h
    + Added QNX support.

  * src/rtl/hbzlib.c
    ! Added hack to fix missing zlibVersion() and zError()
      functions from the zlib lib shipped with QNX 6.2.1.

  + config/qnx/libs.mk
    + Added QNX specific lib configuration.

  * utils/hbmk2/hbmk2.prg
    + Added (untested) list of system libs for qnx/gcc.

  * INSTALL
    + Added QNX reference to one more place.

  ; NOTE on QNX:
      All binaries build cleanly, hbtest works.
  ; TOFIX/TODO:
      - hbrun seems to misdetect the width of the terminal
      - Clean some hack in QNX port
      - platform autodetection
      - retest whole port from vanilla SVN source, test MT
        linkage.

  ; So now Harbour can run in cars, planes and spaceships.
2010-06-14 13:35:19 +00:00
Viktor Szakats
9adc0c8611 2010-06-14 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbsetup.h
  * utils/hbmk2/hbmk2.prg
    + Added experimental support for QNX operating systems.
      Tested with 6.2.1.

  + config/qnx
  + config/qnx/gcc.mk
  + config/qnx/global.mk
    + Added qnx GNU make files. For now this is a simple copy
      of linux ones.

  * src/common/hbgete.c
  * src/common/hbprintf.c
    + HB_OS_QNX tweaks.

  * src/common/hbffind.c
  * src/rtl/fssize.c
    ! Disabled stat64 for HB_OS_QNX.

  * src/common/hbffind.c
    ! Fixed very old error in default (todo) branch 
      where hbrtl function was mistakenly referenced.

  * external/Makefile
  * contrib/Makefile
  * contrib/sddoci/Makefile
  * config/none.mk
  * config/global.mk
  * config/bin.mk
  * config/dir.mk
    + Since QNX has GNU Make 3.79.1, I had to re-xmastree
      the GNU Make files (though I didn't restore the xmas
      indentation), plus restore all logic that dealt
      with older GNU Make versions. Also added some new logic.
    + Changed to give warning only when using older than
      3.81 make versions. Some feature are disabled in this case,
      f.e. HB_BUILD_PKG (win/dos specific feature)
    ; TOFIX: host platform and cpu detection relies on $(eval)
             which is not present on pre 3.80.

  ; habour and hbpp builds fine, but there are several remaining
    problems in rtl and vm.

  * mpkg_nightly.sh
    + Added feeback about what the script does.
    + Using -q for zip to lessen large amount of unnecessary feedback

  * external/pcre/pcre.dif
  * external/pcre/Makefile
    ! Tweak to make PCRE build on djgpp 2.3
      Patch by Tamas Tevesz (2nd version posted on dev list)
2010-06-14 09:59:41 +00:00
Viktor Szakats
5ae08a0e0e 2010-06-12 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * Reset default value to "hb_out.log".

  + mpkg_nightly.sh
    + Added script to generate nightly sources.
    ; TODO: Upload nightlies to sf.net.
    ; TODO: Change nightly filenames to match our normal source releases.
    ; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
             changed to CRLF.

  * INSTALL
    * Changed nightly script URLs to point to sf.net file area.
    ! Minor fix to bug tracker address.

  * contrib/xhb/regexrpl.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/mail.prg
    ! Fixed to use EMPTY() on HB_REGEX[ALL]() return
      value instead of NIL check.
      Required after recent change in HB_REGEX*()
      return values in no-match case.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support to download-to/upload-from file handle.

  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    ! Fixed to not build separate HBQT libs for static
      linkage for non-win/wce targets.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * Changed to use 'Harbour Project' as folder name in registry.
      (instead of 'Harbour'). Just to be consistent.

  * package/winuni/mpkg_win_uni.nsi
    + Add major.minor version number to registry folder names.
      This allows multiple major versions of Harbour to be installed
      in parallel.

  * contrib/xhb/ttable.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/xhb/trpccli.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmt.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
    * '.NOT.' -> '!'
    % ValType( x ) == "Y" -> IS*()
    * Some other basic formatting and cleanup.

  * src/rtl/hbini.prg
  * examples/httpsrv/session.prg
    * Formatting.

  * tests/db_brows.prg
  * tests/server.prg
  * tests/testrdd2.prg
  * tests/setkeys.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/loadhtml.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
    * '.NOT.' -> '!'
2010-06-12 12:15:59 +00:00