Commit Graph

88 Commits

Author SHA1 Message Date
Viktor Szakats
96ec4a7825 2011-02-10 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbrun/hbrun.prg
  * config/postinst.hbs
  * bin/hb3rdpat.hbs
    * Using new filename handling functions from core.
    % Deleted redundant local copies of these functions.

  * utils/hbmk2/hbmk2.prg
    + REQUESTing new filename handling function till they are
      used in hbmk2 too.
    ; TODO: Make the switch in hbmk2 too.
2011-02-10 12:34:30 +00:00
Viktor Szakats
824c86f7e6 2011-02-09 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/hbct/hbct.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbmxml/hbmxml.hbc
  * contrib/make.hbs
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbunix/hbunix.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hblzf/hblzf.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbxdiff/hbxdiff.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhttpd/hbhttpd.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbformat/hbformat.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbsms/hbsms.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/rddbm/rddbm.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmagic/hbmagic.hbc
  * contrib/hbexpat/hbexpat.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.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/hbssl/hbssl.hbc
    * Renamed __HB_DYN__ to _HB_DYNSUFF
    + Added _HB_DYNPREF

  * contrib/hbcairo/hbcairo.hbc
    ! Fixed libname when _HB_DYNPREF is set.

  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    ! Fixed linux static mode when _HB_DYNPREF is set
    * Changed to use ${hb_name} instead of explicit libname
2011-02-09 15:58:45 +00:00
Viktor Szakats
1325b083d1 2011-02-06 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed RTE regression in recent hbx updates.
2011-02-06 16:11:16 +00:00
Viktor Szakats
09e02d8d70 2011-02-06 16:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Temp fix.

  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbhttpd/hbhttpd.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbtip/hbtip.hbm
  * contrib/hbcairo/hbcairo.hbp
    + Added .hbx file to the projects.

  * contrib/hbcups/hbcups.hbp
  - contrib/hbcups/hbcups.c
  + contrib/hbcups/core.c
  * contrib/hbcurl/hbcurl.hbm
  - contrib/hbcurl/hbcurl.c
  + contrib/hbcurl/core.c
  * contrib/hbformat/hbformat.hbp
  - contrib/hbformat/hbformac.c
  + contrib/hbformat/fileread.c
  - contrib/hbformat/hbformat.prg
  + contrib/hbformat/hbfmtcls.prg
  * contrib/hbmagic/hbmagic.hbp
  - contrib/hbmagic/hbmagic.c
  + contrib/hbmagic/core.c
  * contrib/hbsqlit3/hbsqlit3.hbp
  - contrib/hbsqlit3/hbsqlit3.c
  + contrib/hbsqlit3/core.c
  * contrib/hbssl/hbssl.hbm
  - contrib/hbssl/hbssl.c
  + contrib/hbssl/ssl_hb.c
  * contrib/hbziparc/hbziparc.hbp
  - contrib/hbziparc/hbziparc.prg
  + contrib/hbziparc/ziparc.prg
    * Renamed sources to not collide with .hbx file.
    + Added .hbx file to the projects.

  ; Completes all TODOs from: 2010-08-04 20:15 UTC+0200 Viktor Szakats
2011-02-06 15:41:47 +00:00
Viktor Szakats
0c7e4dc9b5 2011-02-05 22:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed recent regression: build hbx only for hblib/hbdyn projects.

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    * Internal rename.

  * contrib/hbwin/hbwin.hbx
  * contrib/hbmemio/hbmemio.hbx
  * contrib/hbct/hbct.hbx
    * Refreshed. (comment only)
2011-02-05 21:26:57 +00:00
Viktor Szakats
775f8ef05a 2011-02-05 16:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Updated to use hbmk2 to create hbx files.

  * contrib/3rd/sqlite3/sqlite3.hbc
    * Fix for Minix. From Tamas.

  * contrib/hbblink/hbblink.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * Refinements in hbx related console feedback.
2011-02-05 15:53:17 +00:00
Viktor Szakats
b8ce859936 2011-02-01 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed to not define _HB_BUILD_ when doing a custom build 
      (explicitly passed .hbp file) in stdalone mode.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Enabled keepsort on the saved configuration hash.

  * contrib/hbhpdf/harupdf.c
    - Deleted wrapper to HPDF_PDFA_GENERATEID(), what rather seems 
      an internal function.
    * Tweaked previous fix to HPDF_PDFA_SETPDFACONFORMANCE(), so that 
      now it's included in dynamic builds, just returning dummy result.
      Still a pending TOFIX though, as it's not right that dynamic 
      and static version of the same lib works differently. Any tips 
      which way to choose? It would be great asking libharu developers 
      about whether HPDF_PDFA_SetPDFAConformance() is meant as a 
      public function.
2011-02-01 10:36:36 +00:00
Viktor Szakats
965bbf4750 2011-01-29 00:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Defined _HB_BUILD_=yes to tell .hbp files we're building
      for a Harbour build.

  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  * contrib/hbformat/utils/hbformat.hbp
    + Tweak to not build in -shared mode when directly building
      the .hbp file (and not as part of Harbour build).

  * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  * contrib/hbide/hbide.hbp
    + Added tweak to build in shared mode when building as
      part of Harbour build. This will make the distro size 
      noticeably smaller.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Show server config feature converted to client-server.
2011-01-28 23:13:55 +00:00
Viktor Szakats
b12f96188a 2010-12-12 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Showing -v output (version string) of detected QT tools in -info mode.

  * contrib/make.hbs
    ! Typo.
2010-12-12 00:00:15 +00:00
Viktor Szakats
5468e70e8a 2010-11-07 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    - Deleted completed TODO.

  * contrib/hbhpdf/hbhpdf.hbp
    ! Updated libharu source location after latest changes.
2010-11-07 17:36:50 +00:00
Viktor Szakats
7bd55a6158 2010-11-05 14:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Don't pickup dependencies with long-filename on MS-DOS hosts.
      Please test.

  * contrib/hbplist
    ! Added missing dependency comment.

  * contrib/rddads/rddads.h
    ! Fixed mingw warnings after recent change. Now _declspec
      is only defined for mingw, if it isn't already. Pls review me.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-11-05 13:55:57 +00:00
Viktor Szakats
47952c23b3 2010-11-04 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbjson.c
  * src/rtl/hblpp.c
    ! Silenced msvc64 warnings.

  * utils/hbrun/hbrun.prg
    * Moved creation of header hash to separate function.
    + Added HBRUN_NOHEAD envver to disable embedded headers.
      Any non-empty value will have this effect.

  * utils/hbrun/Makefile
    + Enabled embedded headers.

  * contrib/make.hbs
  * config/postinst.hbs
  * bin/hbxpatch.hbs
    ! Resolved TOFIX notes: now the headers can be used
      just like in any .prg, and no need to locally #define
      core constants.
      Also hbqt_hbmk2_plugin.hbs should work now in stdalone 
      mode, with all the OOP code.
2010-11-04 21:46:37 +00:00
Przemyslaw Czerpak
2356181a10 2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicom.h
  * harbour/src/rtl/hbcom.c
    + added public C function: void hb_comSetError( int iPort, int iError )

  * harbour/src/rtl/hbcomhb.c
    + added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL

  * harbour/src/rtl/hbsocket.c
    * minor formatting

  * harbour/config/doc.mk
  * harbour/config/postinst.hbs
  * harbour/contrib/make.hbs
    * do not install documentation files when HB_INSTALL_DOC=no

  * harbour/config/postinst.hbs
    ! do not install .hbl files for core utils when HB_BUILD_PARTS=lib
    + added support for HB_INSTALL_SCRIPT executed after install step.
      It allows to extract some variables set by our GNU make system,
      i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files.

  * harbour/package/harbour-win.spec.in
    * use HB_INSTALL_DOC=no to disable DOC file installation
    * generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross
      build settings so it can be easy used used by users to create
      Windows/WindowsCE binaries.
      Temporary solution until we will not have something more general.
2010-09-22 14:53:20 +00:00
Viktor Szakats
4c6b95ebfb 2010-09-20 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Stop build in case a contrib build failed.
2010-09-19 23:36:31 +00:00
Viktor Szakats
7a999f8734 2010-09-09 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed matching pathseps in filter.
2010-09-09 21:52:31 +00:00
Viktor Szakats
65c34041ef 2010-09-01 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    * Requirements.

  * utils/hbmk2/hbmk2.prg
    * Changed -rebuild option to not rebuild sub-projects.
    + Added -rebuildall option which will also rebuild sub-proects.

  * contrib/make.hbs
    * -rebuild -> -rebuildall
2010-09-01 16:31:34 +00:00
Viktor Szakats
8433ad7e00 2010-08-15 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fslink.c
    ! Fixed hb_fsLinkRead() on Win Vista/7 for non-links (untested)

  * contrib/make.hbs
    * Comment
2010-08-15 19:04:16 +00:00
Viktor Szakats
549fbec80f 2010-08-08 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbapifs.h
  * src/rtl/fslink.c
    + Added hb_fsLinkRead() function.
    + Added HB_FLINKREAD() function.
    ; Please review/fix or remove.

  * utils/hbmk2/hbmk2.prg
    + Added -ln= option to specify symlinks to targets.
    + Added ${hb_dynprefix} macro.

  * contrib/hbpost.hbm
    + Enabled creation of versionless and major-minor versioned
      links to dynamic libs.
    + Will create versioned .dll names on win/wce.

  * include/hbapifs.h
  * include/fileio.ch
    + Moved some attr constants to .ch header.

  * contrib/make.hbs
    ! Fixed to propage make control options to container projects.
2010-08-14 18:25:13 +00:00
Viktor Szakats
72d8301329 2010-08-07 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed to not propagate custom flags to container projects.
 
  * config/global.mk
    ! Changed realpath to abspath.
2010-08-07 17:45:00 +00:00
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
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
d2f2bc6fe3 2010-08-05 08:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbextern.hbs
    % Synced extern extractor regex queries between compilers.
    + Added NOTE that non-gcc extractors don't support dynamic lib 
      as input, so they cannot be used to generate core .hbx files.

  * contrib/make.hbs
    % Deleted unused code that's really not needed anymore.
2010-08-05 06:42:48 +00:00
Viktor Szakats
a0bab8110b 2010-08-05 07:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbextern.hbs
    + Added HB_REBUILD_EXTERN support for msvc, pocc, watcom and bcc
      compilers.

  * contrib/make.hbs
  * config/postinst.hbs
    ! Fixed to convert input file for extern generation to native format.
2010-08-05 05:59:30 +00:00
Viktor Szakats
878e9a84f0 2010-08-05 01:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added ${hb_dynsuffix} macro which returns a dynlib suffix
      value compatible with the naming system used for Harbour core
      dynlib (-x64, -wce-arm, -bcc, etc..)
    % Internals optimized to use dynsuffix value when calculating
      harbour core dynlib name.
    ! Fixed to not require macros inside filters to be uppercases.
      (as a side effect now unknown macro names will be passed
      as is to getenv() to check for possible envvar value)

  * contrib/hbpost.hbm
    + Will now use ${hb_dynsuffix} when forming output name in
      -hbdyn mode. So f.e. for x64 targets an '-x64' suffix will
      be used, which matches with the one used with core harbour
      dynlib. Also bcc targets will get -bcc postfix.
    + Will now use ${hb_dynsuffix) when forming implib output name
      if it's not empty (for x86, ia64, wce and bcc in practice).

  * contrib/make.hbs
  * config/postinst.hbs
    ! Display msg about extern generation only if it was really started.

  * config/hbextern.hbs
    ! Fixed to check for the presence of input file.
2010-08-04 23:39:32 +00:00
Viktor Szakats
1efe9cad7e 2010-08-03 20:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * config/postinst.hbs
  * config/hbextern.hbs
    + Implemented manual include/exclude filter in extern header
      generation process. Include filters can be specified
      using '// HB_FUNC_INCLUDE <func>', exclude filters using
      '// HB_FUNC_EXCLUDE <func>'. By default everything is
      included, this can be overridden using HB_FUNC_INCLUDE,
      and exceptions made using HB_FUNC_EXCLUDE. <func> can
      contain wildcards, so it's very flexible.
      NOTE: - By default the functions are declared using DYNAMIC 
              so these generated can be directly used when the goal 
              is to load pcode dynamic libs dynamically.
            - By #defining '__HBEXTERN__<libname>__REQUEST' the 
              generated headers will switch to EXTERNAL declaration, 
              so they can be used when building dynamic libs or when 
              user wants to explicitly pull all functions into lib 
              code. Do not use this from app code.
            - When __HBEXTERN__<libname>__REQUEST is defined, the 
              generated headers will also ANNOUNCE __HBEXTERN__<libname>, 
              which means that application can simply pull all functions 
              into app code, using:
                 'REQUEST __HBEXTERN__<libname>__' command.
            - Names are not necessarily finalized yet. ("extern", ".hbx")
    - Deleted hard-coded exceptions from generator code.
    ; TODO: Clean core generated headers to behave like before.
    ; TODO: Adapt hbextern lib to these changes.
    ; TODO: Add generated headers to SVN for contrib libs.
    ; TODO: Add stubs which include generated headers to all libs.
    ; TODO: Long term TODO: make it easy to generate such headers 
            for 3rd party projects.

  * include/hbextudd.ch
  * include/hbextsca.ch
  * include/hbextcdp.ch
  * include/hbextlng.ch
  * include/hbextern.ch
  * contrib/hbct/hbct.hbx
    + Filled HB_FUNC_INCLUDE, HB_FUNC_EXCLUDE exceptions to
      achieve the previous hard-coded results.
    * Regenerated.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
  * config/postinst.hbs
  * config/hbextern.hbs
  * bin/hbmk2l2d.hbs
  * bin/hbxpatch.hbs
    + Added -km, -ko options.
2010-08-04 18:15:55 +00:00
Viktor Szakats
8de8345e77 2010-08-03 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Will now add the script's home directory to the header dir list.

  * contrib/make.hbs
  * config/postinst.hbs
  + config/hbextern.hbs
    + Moved extern header generation low level logic to separate script.
    + Added feedback about extern generation.
    + Moved core extern header generation logic to postinst.hbs.
    ! Minor fix to output when postinst is used in non-install phase.

  * contrib/global.mk
    + Displays HB_REBUILD_EXTERN setting.

  * Makefile
    * Changed to always execute config/postinst.hbs, not just in
      install phase.

  * include/hbextudd.ch
  * include/hbextsca.ch
  * include/hbextcdp.ch
  * include/hbextlng.ch
  * include/hbextern.ch
    + Replaced content with automatically generated one.

  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
    * Deleted "just" functions and replaced them with HB_SYMBOL_UNUSED()
      macro, which has no runtime overhead.

  * contrib/hbide/hbide.hbp
  - contrib/hbide/iderequests.prg
    - Deleted requesting HBQT component via "just" function. Now it's
      done by EXTERNAL statements. BTW this function was not called,
      so it was ineffective.  Pls correct me if I missed the point
      of the old solution.
2010-08-04 09:24:15 +00:00
Viktor Szakats
8572f57500 2010-08-03 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Generalized extern generation.
    + Added generation of core extern headers. (no launched yet)

  * config/global.mk
    + Exporting variables needed for automatic hbextern gerenation.
    % Deleted HB_DYN_COMPILE variable. (unused)

  * include/Makefile
  - include/hbexturs.ch
  + include/hbextudd.ch
  + include/hbextsca.ch
  * include/hbextern.ch
    + Added separate header for scalar classes.
      INCOMPATIBLE: Now they should be activated by '#include "hbextsca.ch"'
      instead of '#define HB_REQUEST_SCALAR / #include "hbextern.ch"'
    * Renamed hbexturs.ch to hbextudd.ch

  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtcore/hbqt_hbslots.cpp
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idedocks.prg
    * HB_TR_ALWAYS -> HB_TR_DEBUG.
2010-08-04 08:42:08 +00:00
Viktor Szakats
d3abd90f56 2010-08-03 21:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/make.hbs
    ! Fixed to create .hbx only for -hblib and -hbdyn targets.
2010-08-03 19:00:49 +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
e2eb0df696 2010-08-03 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/hbct.hbx
  * contrib/make.hbs
    ! Fixed to not generate reference to self ANNOUNCE symbol.
2010-08-03 14:53:03 +00:00
Viktor Szakats
bae84454e9 2010-08-03 16:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/hbct.hbx
    + Added automatically generated extern puller code.

  * contrib/hbct/ctextern.prg
  * contrib/hbct/ctextern.ch
    * Changed to simply include hbct.hbx for backward compatibility.

  * contrib/make.hbs
    ! Fixed to exclude HB_GT_*_DEFAULT symbols.
    ! Fixed RTE for projects which have no output name, f.e. 
      because they are unsupported on given platform/compiler.

  ; NOTE: libname.hbx is not good as if compiled the object name
          will collide with often used libname.prg.
2010-08-03 14:47:11 +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
61603577c5 2010-08-03 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/hbct.hbp
  + contrib/hbct/ctextern.prg
    + Added extern puller .prg (suggested by Przemek)
      This fixes dynamic loading of hbct dynamic lib.
      We need a system which keeps these files updated for 
      every contribs.

  * contrib/hbct/video.c
    ! Fixed to always define functions (not just in dos targets)
    ! Fixed warnings that came up along the way.
    ! Fixed to return compatible type on non-dos.

  * contrib/hbct/ctextern.ch
    + Updated with current function list.

  * contrib/make.hbs
    ! Fixed to propagate make options also to "contained"
      projects. Currently these are the HBQT subprojects
      referenced from hbqt.hbp container project file.
      Before f.e. clean option was not effective on these
      projects.

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/g/hbqtgui_extern.ch
  * contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch
  * contrib/hbqt/qtcore/g/hbqtcore_extern.ch
  * contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch
  * contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch
  * contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch
    * Use EXTERNAL instead of REQUEST to be in sync with rest
      of files in Harbour.
2010-08-03 10:37:02 +00:00
Viktor Szakats
9036f0d9ca 2010-08-03 09:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added trick to filter out target lib name from input lib list -hblib 
      mode and to filter out target implib name from input lib list in 
      -hbdyn mode. This fixes problems when linking -hbdyn by speccing both
      project .hbp and .hbc files. I'm still thinking of a better solution 
      to solve this problem.

  * contrib/make.hbs
    ! Fixed recent bug in filter processing.

  * include/hbapi.h
    + Added HB_EXPORT to hb_releaseCPU(), hb_idle*() and hb_cmdarg*() functions.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
    * Cleanup.
2010-08-03 07:09:20 +00:00
Viktor Szakats
c7ca6ba595 2010-08-02 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/hbxbp.hbp
    ! Missed to update hbqt .hbc file references.

  * contrib/make.hbs
    * Deleted unused code.
2010-08-02 16:32:50 +00:00
Viktor Szakats
60273daeb2 2010-08-02 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed minor but fatal problem in .hdb creation for contribs.
    + Will now create docs also for projects referenced from 
      project list, but not actually on it (qt sub-projects).
2010-08-02 15:46:49 +00:00
Viktor Szakats
d6d1ba7c89 2010-08-02 02:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Make it capable to build project dependencies which are not on the
      central project list. (this feature is used with hbqt)
    + Added -shl to hbmk2 build calls.

  * utils/hbmk2/hbmk2.prg
    + Added -shl option to show sub-project level in every output line.
    + Added experimental -hbcontainer target mode, which is virtual target,
      it won't create anything. Name not finalized yet.
    + Normalizing some more paths.
    ! Fixed not include the same plugin twice.
    ! Some internal fixes to -hb<target> option handling. Could have caused
      problems in rare situations.
    % Minor optimizations.

  * contrib/hbqt/utils/hbqtgen.prg
    * Changed to generate hbqt.h header references without relative dir, so it
      can now be freely solved using header dir options at build time.

  - contrib/hbqt/hbmk2_plugin_qt.hbs
  + contrib/hbqt/hbqt_hbmk2_plugin.hbs
  * contrib/hbqt/hbqt_common.hbc
  * contrib/hbqt/hbqt_common.hbm
    * Renamed.

  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
    ! Readded previously deleted trick which is required for
      successful dynlib link.

  * contrib/hbplist
  * contrib/hbqt/hbqt.hbp
    + Modified how container project is defined.
    * Now main container subproject is listed in central project list file.

  * contrib/hbqt/hbqt_common.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbp
    - Moved -gui/-gtnul options inside hbqtgui.

  * contrib/hbqt/hbqt_common.hbm
    + Added hbqt root dir as header dir.

  * contrib/hbqt/utils/qtcore.qtp
  * contrib/hbqt/utils/qtgui.qtp
  * contrib/hbqt/utils/qtnetwork.qtp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbqt/qtcore/hbqtcore.hbp
  * contrib/hbqt/qtcore/hbqtcores.hbp
  - contrib/hbqt/qtcore/*
  + contrib/hbqt/qtcore/g
  + contrib/hbqt/qtcore/g/*
  * contrib/hbqt/qtgui/hbqtgui.hbp
  * contrib/hbqt/qtgui/hbqtguis.hbp
  - contrib/hbqt/qtgui/*
  + contrib/hbqt/qtgui/g
  + contrib/hbqt/qtgui/g/*
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbp
  * contrib/hbqt/qtnetwork/hbqtnetworks.hbp
  - contrib/hbqt/qtnetwork/*
  + contrib/hbqt/qtnetwork/g
  + contrib/hbqt/qtnetwork/g/*
    * Moved generated sources inside 'g' subdir.
    * Sources regenerated.

  - contrib/hbqt/hbqt_base.cpp
  - contrib/hbqt/hbqt_destruct.cpp
  - contrib/hbqt/hbqt_hbevents.cpp
  - contrib/hbqt/hbqt_hbevents.h
  - contrib/hbqt/hbqt_hbslots.cpp
  - contrib/hbqt/hbqt_hbslots.h
  - contrib/hbqt/hbqt_misc.prg
  - contrib/hbqt/hbqt_utils.cpp
  + contrib/hbqt/qtcore/hbqt_base.cpp
  + contrib/hbqt/qtcore/hbqt_destruct.cpp
  + contrib/hbqt/qtcore/hbqt_hbevents.cpp
  + contrib/hbqt/qtcore/hbqt_hbevents.h
  + contrib/hbqt/qtcore/hbqt_hbslots.cpp
  + contrib/hbqt/qtcore/hbqt_hbslots.h
  + contrib/hbqt/qtcore/hbqt_misc.prg
  + contrib/hbqt/qtcore/hbqt_utils.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbm
    * Moved hbqtcore files to their own component subdir.

  - contrib/hbqt/hbqt_errorsys.prg
  - contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
  - contrib/hbqt/hbqt_hbqabstractitemmodel.h
  - contrib/hbqt/hbqt_hbqmainwindow.cpp
  - contrib/hbqt/hbqt_hbqmainwindow.h
  - contrib/hbqt/hbqt_hbqplaintextedit.cpp
  - contrib/hbqt/hbqt_hbqplaintextedit.h
  - contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  - contrib/hbqt/hbqt_hbqsyntaxhighlighter.h
  - contrib/hbqt/hbqt_hbqtableview.cpp
  - contrib/hbqt/hbqt_hbqtableview.h
  - contrib/hbqt/THbQtUI.prg
  + contrib/hbqt/qtgui/hbqt_errorsys.prg
  + contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
  + contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h
  + contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp
  + contrib/hbqt/qtgui/hbqt_hbqmainwindow.h
  + contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  + contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h
  + contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
  + contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h
  + contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  + contrib/hbqt/qtgui/hbqt_hbqtableview.h
  + contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtgui/hbqtgui.hbm
    * Moved hbqtgui files to their own component subdir.

  - contrib/hbqt/qtdesigner/hbqtdesigner.qtp
  - contrib/hbqt/qtwebkit/hbqtwebkit.qtp
  + contrib/hbqt/utils/qtdesigner.qtp
  + contrib/hbqt/utils/qtwebkit.qtp
    * Moved .qtp files into utils subdir.
2010-08-02 00:42:48 +00:00
Viktor Szakats
ff5a1d161b 2010-07-31 13:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    % Code consolidation.
    ! Fixed recent regression, whereas now again the root project's
      .hbc file will be added to the make process in HB_BUILD_CONTRIB_DYN
      mode.
    + Changed the way filter is processed, now dependent packages will
      always be built, so there is no need to manually pick all the
      dependencies too.
    * Internal terminology cleanup.
    + Will now also rebuild the _dependencies_ in HB_BUILD_CONTRIB_DYN mode.
    - Deleted forcing English language for hbmk2 output.
    ; Regressions are possible
    ; NOTE: This dynamic stuff is a real can of worms. Virtually infinite
            combinations of dynamic vs static libs may be supported, plus
            there is ST vs MT issue, where we must decide about this at
            dynlib build time, and f.e. what happens when trying to load
            two .dlls one with was linked against MT Harbour and the other
            against ST? It's a combinatorical explosion.

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

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

  + contrib/hbplist
  - contrib/pkglist
    * Renamed.

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

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

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

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

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

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

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

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

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

  ; TODO: Add ${__HB_DYN__} to all .hbc files.
2010-07-31 11:51:37 +00:00
Viktor Szakats
60ca93d902 2010-07-31 01:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Reworked, simplified internals to support multiple projects
      inside one package directory (currently hbtip is the only one)
    + Implemented to honor directories in .hbc references.
      (clearing one item in TODO list)
    ; HB_BUILD_CONTRIB_DYN feature is out of experimental status 
      as far as make.hbs is concerned.

  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hbnetio/hbnetio.hbc
    + Added experimental support to request libs in dynamic (.dll) flavour.
      Currently this can be enabled by setting envvar: __HB_DYN__=_dll
      To make this work one has to build all contribs using HB_BUILD_CONTRIB_DYN=yes
      beforehand.
2010-07-31 00:03:15 +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
464f958e32 2010-07-30 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Will now autodetect /bin/plat/comp bin dir, if present.
    ! Fixed to set dynlib dir to bin dir on non-*nix platforms.
      As a conseqeunce bin dir will now be added to the libpath
      list on these platforms. Allowing to access .dlls directly
      in compilers that support it (mingw).
    ! Fixed to use HB_INSTALL_PREFIX instead of bin dir as a base
      to find addons/contribs dir structures (for .hbc autofind).
    ! Fixed to really include hbmaindllp stub added in recent commit.
      Anyhow, loading contrib .dlls dynamically still don't work.

  * contrib/make.hbs
    ! Fixed to honor user setting when creating dynlib in stdalone mode.

  * contrib/hbcomm/hbcomm.prg
    * space @ EOL.
2010-07-30 18:18:12 +00:00
Viktor Szakats
ed0d4ffa61 2010-07-30 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed ${hb_workdynsub} macro not returning correct value.
    ! Fixed to install implibs when -instforce is used and targets are
      up to date.
    + Added -implib=<dir> option to control placement of implibs generated
      in -hbdyn and -hbexe modes. (by default it's the output dir for
      main target)
    + Added autodetection of hbmaindllp lib and this case generate little 
      stub posted by Przemek on the list earlier this year, and in this 
      case also enabling linkage of shared Harbour lib in -shared mode.
      NOTE: Pls check this, this solution is Windows centric, but until
            I know this is the correct track I didn't want to extend it.
            Przemek can you take a look at it?
    * Changed the install group name to "depimplib" for implibs generated 
      for dependencies, and use "implib" group for implibs generated for 
      our own targets. This is needed to be able to control them 
      separately, since we don't necessarily want to install "depimplib" 
      while we always want to install "implib"s.

  * contrib/make.hbs
  * contrib/hbpost.hbm
    * Updated list of TODOs
    * HB_BUILD_CONTRIB_DLL changed to HB_BUILD_CONTRIB_DYN
    + HB_BUILD_CONTRIB_DYN now works also in stdalone mode.
    % Moved HB_BUILD_CONTRIB_DYN related options to hbpost.hbm
    + Added -shared and -lmaindllp options to dynamic lib build mode.
    * Changed dependency implib install target to have 'depimplib'
      prefix to differenciate from -hbdyn implib install target.
    + Added -implib=<dir> option to tell hbmk2 to create implibs
      in lib dir in -hbdyn mode.
    + Added install target for implibs generated in -hbdyn mode.
    ; All this means that now by setting HB_BUILD_CONTRIB_DYN=yes,
      a dynamic version will be build of the libs, import lib
      placed in lib dir, dynamic lib placed into dynamic lib dir
      (bin on non-*nix platforms, lib on *nix platforms).
      IOW, now HB_BUILD_CONTRIB_DYN=yes should work, at least on
      win and wce. I didn't make functional tests though.
      Please review/test it.
2010-07-30 12:05:15 +00:00
Viktor Szakats
a3f42e8991 2010-07-30 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/dirs
    ! Deleted doc/en dir.

  * doc/Makefile
  - doc/whatsnew.txt
  + NEWS
  * COPYING
  * doc/howtorel.txt
  * debian/changelog
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * Renamed doc/whatsnew.txt to /NEWS

  * debian/copyright
    * Updated with COPYING content.

  * package/harbour.spec
    ! Fixed to include doc/* instead of doc/*.txt.

  * utils/hbrun/hbrun.prg
    - Deleted envvar method of passing dirbase to scripts.

  * contrib/make.hbs
    + Using HBRUN_DIRBASE() function instead of envvar trick.
      Maybe some more generic named value passing would be better.

  * contrib/Makefile
    ! Using '-' prefix when running hbrun instead of '+', to not
      cause fatal breakage in build stage if make.hbs contains
      something which previous build of hbrun didn't offer.

  * config/global.mk
    - HB_INSTALL_PREFIX will not default anymore to source root
      dir (on non-*nix systems) to avoid FAQ where installation
      fails because of former install into source root, causing
      old contrib headers to ovveride current ones and breaking
      build. Please note that 'install' is truly optional with
      current builds, so only use it for what it was designed.
      Pls should if some things fail with empty HB_INSTALL_PREFIX
      and requesting 'install' anyway.

  * contrib/xhb/xhbat.c
    ! Applied this fix to Harbour:
      2010-07-29 12:28 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com>
        * source/rtl/at.c
          + Added missing extended strings support, to hb_AtSkipStrings()
2010-07-29 22:10:21 +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
67e483e6d8 2010-07-29 13:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Added public function HBRUN_DIRBASE() which returns the
      same value as envvar __HBRUN__DIRBASE, but this one looks
      a superior interface between scripts and runner environment.
      Pls comment.

  * contrib/make.hbs
  * contrib/hbpost.hbm
    * Updated TODO list.
    * Renamed internal _HB_*_INSTALL vars to _HB_INSTALL_*
    ; TODO: Do the same in Harbour with HB_*_INSTALL envvars.
2010-07-29 11:12:47 +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
96c2594c24 2010-07-28 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    * Minor in comment.
    * Temply commented adding .so files in the lib/ root (without harbour postfix)

  * contrib/make.hbs
  * contrib/hbpost.hbm
    + Added support for HB_MAN_INSTALL, HB_ETC_INSTALL.

  * utils/hbmk2/hbmk2.prg
    + Enabled multi-input compilation for *nix gcc family. This means that
      all C source files will be now compiled in one gcc invokation, instead
      of compiling them one by one.
    % PATHNORMALIZE(): delete unused function.
    % ISDRIVESPEC() converted to macro _ISDRIVESPEC().

  * config/postinst.hbs
    + Added code to create ld config file.
    + Added commented original bash code to create .so links which I cannot
      understand. Anyone to jump in?
    + Added PathNormalize() function from hbmk2.
    + Changed back DirBuild() to always normalize path before creating it
      (to filter out potential ".." and "." dirs from it). Required for
      ld creation.

  * config/global.mk
    * HB_ETC_INSTALL is now format equally on all *nix platforms to have a
      'harbour' subdir. Required to work well with ld creation logic in postinst.hbs.
2010-07-28 15:42:23 +00:00
Viktor Szakats
7594fcc649 2010-07-28 12:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    % Cleaned away test/migration modes.
    * One STATIC var changed to local.

  * contrib/hbpre.hbm
    + It's now possible to get all hbmk2 output along the Harbour
      build process by setting HB_BUILD_VERBOSE=yes.

  * examples/hbdoc2/gentpl.prg
  * examples/hbdoc2/genhtml.prg
  * examples/hbdoc2/hbdoc2.prg
    % Optimized out another pathsep holder variable.
2010-07-28 10:56:37 +00:00
Viktor Szakats
cba44dbce6 2010-07-28 01:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added support for 'clean all' build mode. This is the only
      way to clean and rebuild in one pass if someone doesn't
      want to install at the same time.
    ! Fixed to add -inc option in clean sessions.

  * contrib/hbide/ideactions.prg
    ! Fixed menu item text to not contain '&' mark. It's converted
      to underscore on Linux.
2010-07-27 23:24:05 +00:00
Viktor Szakats
f6486c7e37 2010-07-27 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added new TODO.

  * contrib/hbblat/hbblat.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/rddads/rddads.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssl.hbc
    * Updated skip= commands according to recent hbmk2 changes, to 
      avoid displaying 'yes' when the lib is unsupported.
2010-07-26 22:58:37 +00:00