Commit Graph

11706 Commits

Author SHA1 Message Date
Viktor Szakats
6969cc0123 2009-08-15 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- make_gnu.sh
  * config/linux/global.cf
    - Deleted. The -fPIC logic is moved to linux/global.cf but it's
      incomplete yet, some comments were added there.

  * contrib/hbcurl/hbcurl.hbc
  + contrib/hbcurl/hbcurls.hbc
    + Added separate .hbc file for static mode hbcurl lib.
      This replaces former HB_CURL_STATIC setting.

  * contrib/hbcurl/Makefile
  * external/Makefile
  * contrib/Makefile
    % Minor optimization to DIRS var.
      (in few cases it wasn't init to empty with := operator)

  + contrib/hbtip/hbtipssl.hbc
  + contrib/hbtip/hbtipssl
  + contrib/hbtip/hbtipssl/Makefile
  * contrib/hbtip/Makefile
    + Now building separate SSL enabled hbtip lib in case HB_HAS_OPENSSL.
    + Added separate .hbc file for SSL enabled hbtip lib, which also
      pulls hbssl libs and dependencies.

  * config/prg.cf
  * config/lib.cf
  * config/bin.cf
  * config/globsh.cf
  * config/dir.cf
  * config/c.cf
  * config/header.cf
  * config/doc.cf
  * config/instsh.cf
  * config/dirsh.cf
    % Optimized remaining (more delicate) logic to use :=
      instead of = assigment operator.
      At this point there is nothing left to optimize in this
      regard.
    ; I didn't restest parallel build and BISON related rules,
      please do so, I hope they aren't broken. Or in case you
      notice anything strange please shout.

  * config/global.cf
    + Added link to GNU Make NEWS files which describes at which release
      some features were added.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    ! Synced special watcom CC_RULEs with recent changes to global CC_RULE.
2009-08-15 09:37:39 +00:00
Viktor Szakats
a5efb41af9 2009-08-15 00:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.sh
  * config/global.cf
  * config/lib.cf
  * config/bin.cf
    % Deleted HB_USER_MAKEFLAGS envvar.
      Simply pass these flags to make executable (or .sh scripts)

  * config/global.cf
    + Added some TODO/NOTE/TOFIX about GNU Make version compatibility
      of some feature we're using.
    + Showing MAKEFLAGS.
    % Using MAKEFLAGS for --no-print-directory trick.
2009-08-14 22:42:07 +00:00
Viktor Szakats
e85ec8a2c2 2009-08-14 23:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Separated instructions for linux/darwin and rest of *nixes.
      The only difference is that the latter needs 'gmake' command
      to start.
    + MSYS/Cygwin section extended a bit. (It's now possible to
      build for any compilers from MSYS/Cygwin)

  * make_gnu.sh
    % Deleted unused HB_ARCH64 variable.

  * config/global.cf
    - Deleted svnversion trick since it's not guaranteed this
      command is present on builder's system.
    + Added doc links from make_gnu.sh. (deleted from there)
    * Changed to default HB_INSTALL_PREFIX to /usr/local on
      *nix systems. I very much don't like this (even though I
      understand why it's done that way).
    + Added {HB_TOP} macro for HB_INSTALL_PREFIX, so if someone
      wants to install Harbour in its own dir, it enough to do:
      export/set HB_INSTALL_PREFIX={HB_TOP}.
      This is crucial if someone doesn't want to "pollute" system
      areas with Harbour builds, doesn't want to use admin rights
      to make the install, or if someone wants to use multiple
      Harbour builds in parallel for any reason. hbmk2 works
      perfectly without Harbour being installed to system location.
    + Whenever HB_INSTALL_PREFIX is modified by GNU Make (defaulting
      or macro replacement), the new value will be presented for the
      user.
    % Minor optimization.
    * Minor cleanups to pkg dir assembling logic.

  * config/linux/global.cf
    + Added -fPIC detection logic. This is just a start, it doesn't
      replicate full logic found in make_gnu.sh. Przemek, if you have
      some spare time, please look into it.
2009-08-14 22:00:32 +00:00
Viktor Szakats
c18e8cf12f 2009-08-14 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Fixed to not throw harmless but still confusing error
      messages when cleaning hbpp binary parts.

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

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

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

  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbwin/Makefile
    + Indentation.
2009-08-14 20:35:48 +00:00
Viktor Szakats
580241b3fc 2009-08-14 20:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    % Deleted HB_BIN_COMPILE config lines. Replaced by requirement
      of preceding native build.

  * make_gnu.bat
    ! Typos.
2009-08-14 18:52:35 +00:00
Viktor Szakats
fdc37cc149 2009-08-14 20:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbsocket.c
    ! Applied fix for Cygwin as per Przemek's instructions.
      (I've guarded #undef HB_OS_WIN with defined( __CYGWIN_ ))

  * INSTALL
    - Deleted some by now irrelevant restrictions and rules.
    + Added pointers to NT GNU Make, DJ GNU Make and OS/2 GNU Make.
    + Added HB_COMPILER/HB_ARCHITECTURE to option list. These
      should now be mostly optional. They are only needed in a
      few situations when autodetection cannot work (secondary pocc
      targets for example), or in cross build situations when
      we want to force some non-native configuration.
    % Deleted HB_INSTALL_PREFIX from examples. It's optional.
    % Deleted all settings which are now autodetected.
      I didn't retest them of course, please try them, and if
      something was removed by mistake pls report it.
      The reduction is quite dramatic. Starting the build is
      really only just starting GNU Make in most cases.
    % Converted *all* examples to not use starter script/batch 
      files. As a next step I'll probably delete them to make 
      even *less* choices for builders and because current 
      starter files don't offer anything interesting anymore.
      Maybe also included GNU Make executable will also be 
      deleted.
    % Simplified Cygwin example.

  * make_gnu.bat
    - Deleted Cygwin logic.
    ; I just realized that after all these GNU Make development,
      there is no need at all for make_gnu.sh for Cygwin and it's
      a no brainer to launch make either using NT shell or Cygwin/MSYS
      shell. It just works by starting GNU Make in whichever shell
      or environment you are. [ Well, with NT shell it doesn't seem
      to work because gcc.exe is named gcc-3.exe on my system,
      anyway, this doesn't change the point. ]
      The only remaining "complexity" is finding the name of GNU
      Make in a given environment and not use the wrong one
      (f.e. Cygwin make.exe in NT shell).

  * config/global.cf
    + Added svnversion output in verbose mode.
2009-08-14 18:10:21 +00:00
Viktor Szakats
12437a39c2 2009-08-14 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_os2.cmd
    % Minor opt. I hope OS/2 accepts such 'if' command.

  * include/hbthread.h
    ! Fix to poccarm build. Provided by Przemek.

  * utils/hbmk2/hbmk2.prg
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/poccarm.cf
    + Added -DUNICODE for mingwarm. It didn't seem to require it so far, 
      but I thought it's better to define this for all wce compilers.
    % Deleted -DHB_NO_WIN_CONSOLE. No longer exists in Harbour.
    % Deleted /stack:65536,4096 linker option from wce/msvcarm.
      I'm just guessing it's not needed.
    + -DUNICODE is now enforced through HB_BUILD_UNICODE=yes setting 
      in GNU Make for all wce compilers.
2009-08-14 16:11:58 +00:00
Przemyslaw Czerpak
6d6d08d276 2009-08-14 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! added missing parenthesis
    + added support to translate 1 dimensional arrays of variants
      to HVM arrays
2009-08-14 15:00:17 +00:00
Viktor Szakats
32b6c86e1e 2009-08-14 16:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Deleted meaningless comment.
2009-08-14 14:51:55 +00:00
Viktor Szakats
bac3f6b462 2009-08-14 16:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.bat
    ! Applied recent change in WinCE .dll names.
    % Remmed some verbose output in .dll generation code.

  * bin/postinst.bat
  * bin/hb-mkimp.bat
    * Minor in wording.

  * utils/hbmk2/hbmk2.prg
    ! Fixed converting input filename dirseps for target compiler
      in resource compiler commands. (error ocurred when testing
      mingwarm)

  * config/win/bcc.cf
    ! Fixed bad typo in prev commit.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    + Added -q to wlib cmdline.
2009-08-14 14:46:38 +00:00
Viktor Szakats
30ade9b7e2 2009-08-14 15:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.bat
    ! Fixed gcc family (mingw) .dll generation. New tricks
      had to be employed to workaround 8K cmdline limits.

  * contrib/hbwin/win_misc.c
    * Implemented recent WinCE fix by Przemek for another
      CreateProcess() call.

  * utils/hbmk2/hbmk2.prg
    * Cleaned system lib list for wce platform.
      wininet, commdlg, commctrl libs moved from base to extra
      system lib list. These libs aren't needed by Harbour code
      code. [ No change in functionality, just synced with rest
      of Harbour. ]
      I didn't test yet, but seeing the content of this lib,
      it's not needed for Harbour core code.

  * config/wce/global.cf
  * bin/hb-mkdyn.bat
    % Deleted wininet wce system lib from liblist.

  * config/wce/poccarm.cf
    % Deleted winsock wce system lib from poccarm liblist.
      ws2 should be enough. (I didn't retest the platform yet)

  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/global.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
    % Moved system lib list definition to <arch>/global.cf files
      for wce/win platforms.
      This will ensure that compilers for the same platform will
      always use the same system libs too.
      Added reasoning in comment for each extra win system lib.
    % Deleted the same meaningless comment line from all files.

  * config/global.cf
    + Showing $(SHELL) variable content.
    + Added experimental support for explicitly changing $(SHELL)
      variable for nt and dos shells. This should solve the
      problem when mingw32-make is picking up sh.exe as shell if
      cygwin or msys is in the PATH (or the user may also have
      sh.exe laying around).

  * INSTALL
    % Deleted SHLVL hack from wce/mingwarm build config example.
      Not needed anymore.
    % Deleted "sh.exe mustn't be in the path" sentences.
      Not needed anymore, now it can be in the PATH.

  * make_gnu.bat
    + Readded calling sh for cygwin. (sorry I needed this personally
      to keep the same interface for all cases on Windows, but I'll
      think about this further, also to better cover mingw+msys case.
      So this is rather temporary.)
2009-08-14 14:09:25 +00:00
Przemyslaw Czerpak
62e358dbf8 2009-08-14 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    + added support for decoding VT_DECIMAL variants
    + added disabled by default support for passing pointer items just like
      in old OLE code
    + added decoding of VT_VARIANT passed by reference
    + encode NIL or other not directly supported types passed by reference
      as VT_VARIANT passed by reference
    * added disabled by '#if 0' code which uses VT_VARIANT | VT_BYREF
      to pass parameters by reference for testing
2009-08-14 13:53:00 +00:00
Przemyslaw Czerpak
bb5e7a4c1c 2009-08-14 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    * respect _SET_OSCODEPAGE in hb_fsProcessOpen() and hb_fsProcessRun()
      functions

  * harbour/source/rtl/run.c
    ! fixed typo in previous commit
2009-08-14 13:13:29 +00:00
Przemyslaw Czerpak
71747cd986 2009-08-14 15:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/run.c
  * harbour/source/rtl/hbrunfun.c
    ! do not use system() command in __run() and hb_run() functions in
      WinCE builds
2009-08-14 13:03:24 +00:00
Przemyslaw Czerpak
648b42fe95 2009-08-14 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    ! hacked hb_processRun() to work in WinCE.
      Please test.
2009-08-14 12:00:35 +00:00
Viktor Szakats
7e404492dc 2009-08-14 11:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    * Minor internal cleanup.

  * bin/hb-mkdyn.bat
  * config/lib.cf
    ! Fix for gcc family.
    ! Fixed to use /Y switch with move commands.
    % Use automatically created .lib files instead of generating
      them explicitly with pocc.
    + Move .exp file to lib dir with pocc.
    ! Three fixes for watcom .dll generation.

  * config/global.cf
    + Plans added to cleanup lots of config vars with various names.
    + Added central OpenSSL detection by the name HB_HAS_OPENSSL.
      This makes it possible to use OpenSSL in core or in any contrib
      without much hassle.

  * contrib/hbtip/Makefile
  * contrib/hbssl/Makefile
    + Relying on central OpenSSL detection logic.
    ; TOFIX: For hbmk2 hbssl.hbc should be added explicitly to the
             cmdline yet.

  * config/instsh.cf
    * Suppressing install copy command for cleaner output.

  * ChangeLog
    + Marked items [DONE]
2009-08-14 09:31:12 +00:00
Viktor Szakats
7c1a04ed9f 2009-08-14 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev fix. [I need a coffee I guess.]
2009-08-14 07:43:13 +00:00
Viktor Szakats
508630b9a8 2009-08-14 09:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Typo in Bazaar repository version detection.
2009-08-14 07:40:13 +00:00
Viktor Szakats
34b7c959d4 2009-08-14 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtsln/gtsln.c
    ! Fixed linux/gcc warning. Now write() retval is checked.

  * config/global.cf
    ! Fixed wrong autodetection due to recent change.
      (HB_COMPILER needs to be checked against empty value)
2009-08-14 07:35:18 +00:00
Viktor Szakats
11f8e54b17 2009-08-14 08:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
    - Deleted HB_BUILD_LOG option. This will have to be made
      on the user side. It was a fresh feature and a Windows/DOS-only
      one so I hope this isn't a big loss.

  - bin/hb-mkpkg.bat
  * bin/postinst.bat
    % Integrated package creation code into postinst.bat.

  * make_gnu.bat
    - Deleted special handling of cygwin. make_gnu.sh should be
      started directly, IMO not a big problem.

  * config/global.cf
    ! Fixed pathseps in default HB_INSTALL_PREFIX.
    ! Fixed to use abs path when setting HB_INSTALL_PREFIX default.
      (it's required by .nsi file to find the source files)
    ! Fixed setting HB_ARCHITECTURE for some win/dos-only HB_COMPILER
      values.
    + --no-print-directory make flag isn't added if HB_USER_MAKEFLAGS
      contains -w or --print-directory. Seems that simply adding these
      flags after the former won't just reenable it.

  - config/test.cf
    - Deleted, no longer used.
2009-08-14 06:42:19 +00:00
Viktor Szakats
2f817469ce 2009-08-13 21:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
    + Added 'hbmk2' text to .cfg comment.
2009-08-13 19:55:52 +00:00
Viktor Szakats
159f120324 2009-08-13 21:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkpkg.bat
  + package/mpkg_win.nsi
  - mpkg_win.nsi
    * .nsi file moved to package dir.
2009-08-13 19:54:24 +00:00
Viktor Szakats
e44c660cb5 2009-08-13 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    * Minor cosmetic.
    + Exporting OBJ_DIR as HB_OBJ_DIR.
    ! Fixed detecting 'clean install' on HB_BUILD_PKG=yes.

  * bin/hb-mkdyn.bat
    % Using HB_OBJ_DIR instead of replicating logic.

  * INSTALL
  * bin/postinst.sh
  * make_gnu.sh
  * utils/hbmk2/hbmk2.prg
  - config/linux/sunpro64.cf
  - config/sunos/sunpro64.cf
    + Patch by Tamas Tevesz.
      Deleted sunpro64 as a distinct compiler target.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not delete source file when using unimplemented
      arch/compiler combinations. (sunpro currently)
      Reported by Tamas Tevesz.

  * config/bsd/global.cf
  * config/wce/global.cf
  * config/hpux/global.cf
  * config/darwin/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
    - Deleted DYN_EXT, DYN_PRE. Wasn't needed, can be added once
      it will be.
2009-08-13 19:45:03 +00:00
Viktor Szakats
21514d4707 2009-08-13 19:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_INSTALL_PREFIX description (this is now optional).
    + Added HB_BUILD_PKG description.
    + Added HB_BUILD_IMPLIB description.
    * log-%HB_COMPILER%.txt log names changed to log.txt.
    * Cygwin example changed to directly launch make_gnu.sh.
    ; NOTE: INSTALL still needs some updates. I'll do that while
            testing new ways of doing things.

  * config/global.cf
    + Some new information is shown in the log. (detection results)
    % exporting HB_HOST_CPU to avoid detecting it in each recursion.
    + Showing whether HB_ARCHITECTURE/HB_COMPILER values were autodetected.
    + Showing GNU Make version and targets ("clean"/"install"/"all").
    + Showing HB_BUILD_PKG, HB_BUILD_DLL settings.
    + Added logic to do some presets if HB_BUILD_PKG=yes and check
      if clean+install was specified.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-mkpkg.bat
  * bin/hb-mkimp.bat
  * bin/hb-mkdyn.bat
    + Prefixed all messages coming from our make process with '! '
    + Some new messages added to offer better entertainment for builders.

  - mpkg_gnu.bat
  * config/global.cf
  + bin/hb-mkpkg.bat
  * bin/postinst.bat
  * mpkg_win.nsi
    + Updated to work as a child function of postinst.bat instead
      of being a starter batch file. Now a package build can be
      initiated the same way as a normal one except that HB_BUILD_PKG=yes
      setting should be used additionally and 'clean install' is
      obligatory.
      In package building scenarios HB_INSTALL_PREFIX will be automatically
      set by the process, using the pkg/<arch>/<comp> tree to install the
      build into.
    * Moved most of the old logic to GNU Make level, so the batch file
      is very simple now.
    ; TOFIX: Whole removal of above dir should be solved to avoid
             leftover old files to be included in the release packages.
             Ideas are welcome.
    ; TODO: Integrate into postinst.bat.
    ; TODO: Move .nsi file to a better place.

  * bin/postinst.bat
  * config/rules.cf
    ! Fixed to respect HB_BUILD_DLL setting.

  * bin/hb-mkdyn.bat
    ! Fixed to create temp files in install area so that multiple parallel
      build runs don't badly interact with each other.
    ! Some fixes regarding spaces in dirs, although tool support is generally
      to hectic/buggy to implement that reliably. Spaces are still not recommended
      in dir.
    ! Fix for msvc.
    ! Untested fixes for watcom.
    ! Fixed leaving two temp file on disk for debuggin purposes.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -vcshead support for Bazaar repositories.

  * config/global.cf
  * config/wce/global.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/win/global.cf
  * config/os2/watcom.cf
    - Deleted no more used HB_CDYNLIB and HB_DYNLIB logic.
2009-08-13 17:27:34 +00:00
Przemyslaw Czerpak
86aa0262a6 2009-08-13 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.cf
    * set HB_HOST_ARCH to HB_ARCHITECTURE if it cannot be autodetected
      It fixes builds with older GNU makes if autodetection fails

  * harbour/config/os2/watcom.cf
    * use the same calling convention in optimized and not optimized
      builds
2009-08-13 13:11:44 +00:00
Viktor Szakats
3bd5b77f25 2009-08-13 12:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * OS/2 prerequisites added. (currently not relevant, but anyway)

  * bin/postinst.bat
  * bin/hb-mkdyn.bat
  * make_gnu.bat
    + Reworked the way .dll generation is done in Harbour build process.
      New method solves the problem in one pass, instead of invoking
      make twice and requiring starter script to control this.
      The new trick is that CC_RULE will generate both dynamic and static
      objects for libs included in the .dll for compilers where such trick
      is necessary (currently all win/wce compilers except gcc based ones).
    * Changed HB_BUILD_LOG forming. Since at this point ARCH/COMP values
      aren't known (and just for this purpose it's not worth to maintain
      parallel detection logic in start script), the automatically
      generated log file will contain the date/time. Maybe even this will
      be dropped in the future. Since this is the only remaining logic
      in starter script (plus finding correct GNU Make, but that's even
      smaller role)
    ; I didn't test watcom yet, plus mpkg_gnu.bat isn't working yet,
      it needs to be moved to postinst phase.
    ; After these changes, there is basically no need for make starter
      scripts. Maybe I'll even remove included make tools to make things
      cleaner/leaner.
    ; TODO: Revise starter .sh scripts.
    ; TODO: mpkg_gnu.bat rework to run from postinst.
    ; TODO: Do some cleanup, remove redundancy in settings, etcetc.
    ; TOFIX: Fix watcom .dll generation.

  * config/global.cf
    ! Deleted double MAKE info line.
    + Showing detected shell in verbose mode.
    + Added mkdir/rm detection for OS/2 shells. (commented)
    % Optimized HB_BIN_COMPILE detection by using $(realpath) function.
      Now it's only detected once per make run.
    + Added HB_*_INSTALL value defaulting similar to make_gnu.sh
      for *nix platforms. (adding /harbour postfix to lib/inc dirs when
      HB_INSTALL_PREFIX is system location (/usr or /opt). Please review.

  * config/lib.cf
    + Added HB_DYN_COMPILE to control compiling for dynamic libs in
      a sperate command.
    + Added HB_DYN_LIBS to hold list of libs which should be built
      with separate command for dynamic libs.

  * config/rules.cf
    + Added logic for duplicate CC_RULE.
      TODO: Notice that it's not yet working when CC_RULE is overridden
            on compiler level. Help would be appreciate here.

  * config/wce/msvcarm.cf
  * config/wce/poccarm.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
    + Enabled HB_DYN_COMPILE for these compilers.

  * contrib/gtqtc/gtqtc.hbc
    ! Fixed lib order for mingw, supc++ moved to the end of list.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbssl/Makefile
    + Indentation.
    % Using ':=' in '*_OK := $(foreach...' expressions, instead of
      former unsafe '+='.

  * config/win/mingw.cf
  * config/wce/mingwarm.cf
  * config/win/cygwin.cf
    + Using 'crs' instead of 'r' as AR command.

  * config/install.cf
    + Don't define rule if INSTALL_RULE is empty.
      Cannot currently happen.

  * config/header.cf
    % Minor optimization.
2009-08-13 10:31:58 +00:00
Przemyslaw Czerpak
141413ac82 2009-08-13 09:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * pacified MinGW warnings caused by recent modification
2009-08-13 07:30:47 +00:00
Pritpal Bedi
51cdf71648 2009-08-12 23:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
    ! Commented out <windows.h>
2009-08-13 06:21:30 +00:00
Pritpal Bedi
f91cfc2774 2009-08-12 22:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.hbc
    ! Changed the instructions order ( per Viktor's advise )
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/moc_slots.cpp
    + Added more signal/slots.
2009-08-13 05:50:56 +00:00
Przemyslaw Czerpak
e8f66dd82d 2009-08-12 23:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * added workaround for different CRITICAL_SECTION definitions in
      some compiler header files

  * harbour/source/vm/fm.c
  * harbour/source/hbzlib/ChangeLog
  * harbour/source/hbzlib/zutil.c
    * use #pragma warning to pacify OpenWatcom warnings
2009-08-12 21:47:19 +00:00
Przemyslaw Czerpak
cbe96a11fd 2009-08-12 18:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! fixed memory leak in PutParams()
    ! fixed parameters order in PutParams()
    ! fixed possible GPF due calling VariantClear() without VariantInit()
      for C stack VARIANT item.
    ! fixed reverted #if condition - VT_[U]I8 was not supported
    + implemented passing parameters by reference
      Not tested at all - I do not have Windows and I'm not familiar
      with OLE code/servers. I hope that Windows users can test it
      and it Windows developers can update this code if necessary.
2009-08-12 16:26:37 +00:00
Viktor Szakats
d1a2ed4e8a 2009-08-12 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.cf
  * config/win/mingw.cf
    - Deleted ranlib usage. I've tested with mingw 3.4.2, 4.4.0
      and mingwarm 4.4.1, and the runlib command made no difference.
      If someone knows the reason why was it there, pls shout.

  * config/bsd/global.cf
  * config/darwin/global.cf
  * config/linux/global.cf
    - Deleted RANLIB variables. They are not used anywere through the
      make process.
      (only mingw/mingwarm uses it)
2009-08-12 13:01:23 +00:00
Viktor Szakats
cebe0c72ed 2009-08-12 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
    ! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN.
      Quick check didn't reveal any problems with this accross our supported
      compiler, but I may be wrong, so pls check me, I didn't test this 
      change thoroughly.
      This change fixes CC_OUT for bcc, where it was ignored before.
      If this is breaks other compilers, bcc specific CC_RULE should be
      added to win/bcc.cf.

  * utils/hbmk2/hbmk2.prg
  * source/rtl/gtcrs/gtcrs.c
  * source/rtl/gtcrs/gtcrs.h
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gttrm/gttrm.c
  * source/rtl/gtsln/mousesln.c
  * source/rtl/gtsln/gtsln.c
  * source/rtl/gtsln/Makefile
    * HAVE_GPM_H -> HB_HAS_GPM

  * config/global.cf
    + Added some compile-time macros in comment.
    * Minor correction to MKFLAGS comment.

  * source/rtl/console.c
  * source/rtl/hbgtcore.c
    * Changed wording 'screen driver' to 'Harbour terminal (GT)'.
      Former term isn't used by us.

  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    + Readded accidentally deleted feature to include *nix system
      libs needed for rtl, only if rtl is actually linked.
      (IOW in practice don't link them for harbour/hbpp executables)
    ! Fixed a few old problems where some extra libs were always
      linked. Now m is the only one linked in all scenarios.
    + Added linking pdcurses along with gtcrs for djgpp.
    * Standardized LDFLAGS in linux/icc (left from previous modification).
    ! Indentations corrected.
2009-08-12 12:49:09 +00:00
Przemyslaw Czerpak
df59bad4d3 2009-08-12 14:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated list of system libraries used in to create harbour*.dll
      in MinGW builds

  * harbour/bin/postinst.sh
    - removed not longer used code for build library in postinst phase
    * use 'suncc' instead of 'cc' to create harbour shared library without
      any platform dependent non default settings
    * synced flags used in build process with flags used to create
      harbour shared library in sunpro builds

  * harbour/config/linux/sunpro.cf
  * harbour/config/sunos/sunpro.cf
    * removed options which explicitly force platform
    * added -xbuiltin=%none as workaround for problems in x86 PIC builds
      exploited by hbpcre library code
    * changed the order of C/LD flags settings so they can be easy
      overwritten by HB_ISAOPT
2009-08-12 12:36:44 +00:00
Viktor Szakats
664e217382 2009-08-12 13:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/instsh.cf
    % Deleted last CMDPREF from nt install rule.
    % Commented CMDPREF assigment. No longer needed.
2009-08-12 11:30:15 +00:00
Viktor Szakats
d37a57b51b 2009-08-12 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    * Changed so that HB_INSTALL_PREFIX gets set to the
      source tree instead of a foreign location. This is
      what our make_gnu.bat did so far.
      The $(realpath) trick might be helpful to speedup some 
      self-detection code, f.e. HB_BIN_COMPILE.

  * mpkg_gnu.bat
    % Minor change to make .zip creation cmd more self-containable.

  * contrib/hbqt/generator/hbqtgen.prg
    % Minor opt in FWRITE() call.
    + Changed to not generate extra empty lines at EOL.
    + Added placeholder comment at the end of Makefile_gen
      to ensure an empty lines always kept after last '\' char
      even if the file is edited with an editor stripping
      excessive EOLs.
      Lorenzo, pls test with the config this caused problem.

  * contrib/hbqt/QWebSecurityOrigin.cpp
  * contrib/hbqt/QDragEnterEvent.cpp
  * contrib/hbqt/QPageSetupDialog.cpp
  * contrib/hbqt/TQToolBox.prg
  * contrib/hbqt/QTextBoundaryFinder.cpp
  * contrib/hbqt/QTextCodec.cpp
  * contrib/hbqt/QWindowsXPStyle.cpp
  * contrib/hbqt/QGridLayout.cpp
  * contrib/hbqt/TQTreeView.prg
  * contrib/hbqt/TQTextCharFormat.prg
  * contrib/hbqt/TQTextLine.prg
  * contrib/hbqt/QConicalGradient.cpp
  * contrib/hbqt/QTextLength.cpp
  * contrib/hbqt/TQRect.prg
  * contrib/hbqt/TQInputEvent.prg
  * contrib/hbqt/TQWidgetItem.prg
  * contrib/hbqt/QGradient.cpp
  * contrib/hbqt/TQTextItem.prg
  * contrib/hbqt/TQTimeEdit.prg
  * contrib/hbqt/TQDropEvent.prg
  * contrib/hbqt/QStandardItemModel.cpp
  * contrib/hbqt/TQTextObject.prg
  * contrib/hbqt/TQSizeF.prg
  * contrib/hbqt/QPicture.cpp
  * contrib/hbqt/QAction.cpp
  * contrib/hbqt/QPaintEvent.cpp
  * contrib/hbqt/TQStyleHintReturn.prg
  * contrib/hbqt/QStyledItemDelegate.cpp
  * contrib/hbqt/QAbstractListModel.cpp
  * contrib/hbqt/QWidget.cpp
  * contrib/hbqt/TQProgressBar.prg
  * contrib/hbqt/TQFontDatabase.prg
  * contrib/hbqt/QFontDialog.cpp
  * contrib/hbqt/QToolBox.cpp
  * contrib/hbqt/QResource.cpp
  * contrib/hbqt/TQLineEdit.prg
  * contrib/hbqt/TQHBoxLayout.prg
  * contrib/hbqt/TQWebHistory.prg
  * contrib/hbqt/QMouseEvent.cpp
  * contrib/hbqt/QTextEdit.cpp
  * contrib/hbqt/TQToolBar.prg
  * contrib/hbqt/TQAbstractItemModel.prg
  * contrib/hbqt/TQTreeWidget.prg
  * contrib/hbqt/QPointF.cpp
  * contrib/hbqt/QFontComboBox.cpp
  * contrib/hbqt/QStyle.cpp
  * contrib/hbqt/TQSplitter.prg
  * contrib/hbqt/TQComboBox.prg
  * contrib/hbqt/QStyleOptionHeader.cpp
  * contrib/hbqt/QListView.cpp
  * contrib/hbqt/QWheelEvent.cpp
  * contrib/hbqt/QRadialGradient.cpp
  * contrib/hbqt/QLayout.cpp
  * contrib/hbqt/QCursor.cpp
  * contrib/hbqt/TQProgressDialog.prg
  * contrib/hbqt/QLabel.cpp
  * contrib/hbqt/TQBoxLayout.prg
  * contrib/hbqt/QFocusEvent.cpp
  * contrib/hbqt/QStyleHintReturn.cpp
  * contrib/hbqt/QStyleOptionToolButton.cpp
  * contrib/hbqt/QStylePainter.cpp
  * contrib/hbqt/QBrush.cpp
  * contrib/hbqt/QWebPluginFactory.cpp
  * contrib/hbqt/TQRadioButton.prg
  * contrib/hbqt/TQSystemTrayIcon.prg
  * contrib/hbqt/TQListWidgetItem.prg
  * contrib/hbqt/QLinearGradient.cpp
  * contrib/hbqt/QProgressBar.cpp
  * contrib/hbqt/TQTextFrame.prg
  * contrib/hbqt/TQTextBlock.prg
  * contrib/hbqt/QDragLeaveEvent.cpp
  * contrib/hbqt/TQStyleOptionViewItem.prg
  * contrib/hbqt/QClipboard.cpp
  * contrib/hbqt/QStyleOptionTabBarBase.cpp
  * contrib/hbqt/QStyleOptionToolBox.cpp
  * contrib/hbqt/QStringList.cpp
  * contrib/hbqt/QToolBar.cpp
  * contrib/hbqt/TQTextBlockFormat.prg
  * contrib/hbqt/TQStatusBar.prg
  * contrib/hbqt/TQTextFrameFormat.prg
  * contrib/hbqt/QFontMetricsF.cpp
  * contrib/hbqt/TQTextDecoder.prg
  * contrib/hbqt/TQTabWidget.prg
  * contrib/hbqt/TQLCDNumber.prg
  * contrib/hbqt/TQMainWindow.prg
  * contrib/hbqt/QToolButton.cpp
  * contrib/hbqt/TQStyleOptionTitleBar.prg
  * contrib/hbqt/QWindowsStyle.cpp
  * contrib/hbqt/TQDockWidget.prg
  * contrib/hbqt/QColor.cpp
  * contrib/hbqt/QListWidget.cpp
  * contrib/hbqt/QTextLayout.cpp
  * contrib/hbqt/TQSound.prg
  * contrib/hbqt/QSignalMapper.cpp
  * contrib/hbqt/QTextCursor.cpp
  * contrib/hbqt/TQPoint.prg
  * contrib/hbqt/QTextDocument.cpp
  * contrib/hbqt/TQGradient.prg
  * contrib/hbqt/TQWebSettings.prg
  * contrib/hbqt/QRadioButton.cpp
  * contrib/hbqt/TQWizard.prg
  * contrib/hbqt/TQAbstractPrintDialog.prg
  * contrib/hbqt/TQApplication.prg
  * contrib/hbqt/QAbstractButton.cpp
  * contrib/hbqt/QStyleOptionViewItem.cpp
  * contrib/hbqt/TQCoreApplication.prg
  * contrib/hbqt/QTextFrameFormat.cpp
  * contrib/hbqt/QTextBlockFormat.cpp
  * contrib/hbqt/TQInputDialog.prg
  * contrib/hbqt/QTextDecoder.cpp
  * contrib/hbqt/QSize.cpp
  * contrib/hbqt/TQEvent.prg
  * contrib/hbqt/TQKeySequence.prg
  * contrib/hbqt/QBitmap.cpp
  * contrib/hbqt/QStyleOptionToolBar.cpp
  * contrib/hbqt/QCalendarWidget.cpp
  * contrib/hbqt/TQPrinter.prg
  * contrib/hbqt/QStyleOptionTitleBar.cpp
  * contrib/hbqt/TQResource.prg
  * contrib/hbqt/QScrollBar.cpp
  * contrib/hbqt/QHeaderView.cpp
  * contrib/hbqt/TQTextEdit.prg
  * contrib/hbqt/QStyleOptionButton.cpp
  * contrib/hbqt/QCommandLinkButton.cpp
  * contrib/hbqt/TQFontComboBox.prg
  * contrib/hbqt/QFocusFrame.cpp
  * contrib/hbqt/QSizePolicy.cpp
  * contrib/hbqt/QWebSettings.cpp
  * contrib/hbqt/QAbstractPrintDialog.cpp
  * contrib/hbqt/TQStyleOptionSizeGrip.prg
  * contrib/hbqt/TQListView.prg
  * contrib/hbqt/QApplication.cpp
  * contrib/hbqt/QAbstractSlider.cpp
  * contrib/hbqt/TQTextBlockGroup.prg
  * contrib/hbqt/QObject.cpp
  * contrib/hbqt/QTextFragment.cpp
  * contrib/hbqt/TQStyleOptionGroupBox.prg
  * contrib/hbqt/QAbstractScrollArea.cpp
  * contrib/hbqt/QCoreApplication.cpp
  * contrib/hbqt/TQPrintEngine.prg
  * contrib/hbqt/TQStylePainter.prg
  * contrib/hbqt/TQWebPluginFactory.prg
  * contrib/hbqt/QInputDialog.cpp
  * contrib/hbqt/QTimer.cpp
  * contrib/hbqt/QKeySequence.cpp
  * contrib/hbqt/TQFtp.prg
  * contrib/hbqt/QPrinter.cpp
  * contrib/hbqt/TQMessageBox.prg
  * contrib/hbqt/QKeyEvent.cpp
  * contrib/hbqt/QTextCharFormat.cpp
  * contrib/hbqt/TQUrl.prg
  * contrib/hbqt/QStyleOptionSlider.cpp
  * contrib/hbqt/TQFontMetricsF.prg
  * contrib/hbqt/TQDragMoveEvent.prg
  * contrib/hbqt/QInputEvent.cpp
  * contrib/hbqt/TQWebView.prg
  * contrib/hbqt/QWidgetItem.cpp
  * contrib/hbqt/TQCommonStyle.prg
  * contrib/hbqt/QMenu.cpp
  * contrib/hbqt/TQPushButton.prg
  * contrib/hbqt/TQWindowsStyle.prg
  * contrib/hbqt/TQEventLoop.prg
  * contrib/hbqt/QStyleOptionSizeGrip.cpp
  * contrib/hbqt/TQDoubleSpinBox.prg
  * contrib/hbqt/TQWebHistoryItem.prg
  * contrib/hbqt/QTextObject.cpp
  * contrib/hbqt/TQSignalMapper.prg
  * contrib/hbqt/TQTableView.prg
  * contrib/hbqt/TQTreeWidgetItem.prg
  * contrib/hbqt/TQTextDocument.prg
  * contrib/hbqt/QStyleOptionGroupBox.cpp
  * contrib/hbqt/TQButtonGroup.prg
  * contrib/hbqt/QFontInfo.cpp
  * contrib/hbqt/QImage.cpp
  * contrib/hbqt/QPrintEngine.cpp
  * contrib/hbqt/TQFrame.prg
  * contrib/hbqt/QLine.cpp
  * contrib/hbqt/TQTextFormat.prg
  * contrib/hbqt/QIcon.cpp
  * contrib/hbqt/TQColorDialog.prg
  * contrib/hbqt/TQStyleOptionProgressBar.prg
  * contrib/hbqt/QHBoxLayout.cpp
  * contrib/hbqt/QWebHistory.cpp
  * contrib/hbqt/QUrl.cpp
  * contrib/hbqt/TQStyleHintReturnVariant.prg
  * contrib/hbqt/QRectF.cpp
  * contrib/hbqt/QTreeWidget.cpp
  * contrib/hbqt/TQSize.prg
  * contrib/hbqt/TQWebSecurityOrigin.prg
  * contrib/hbqt/TQProcess.prg
  * contrib/hbqt/QWebView.cpp
  * contrib/hbqt/QCommonStyle.cpp
  * contrib/hbqt/TQStyleOptionTab.prg
  * contrib/hbqt/TQTextDocumentWriter.prg
  * contrib/hbqt/TQTextCodec.prg
  * contrib/hbqt/TQStringListModel.prg
  * contrib/hbqt/QAbstractItemView.cpp
  * contrib/hbqt/QWebHitTestResult.cpp
  * contrib/hbqt/TQTextBrowser.prg
  * contrib/hbqt/QProgressDialog.cpp
  * contrib/hbqt/TQTableWidget.prg
  * contrib/hbqt/TQTabBar.prg
  * contrib/hbqt/QStyleFactory.cpp
  * contrib/hbqt/QButtonGroup.cpp
  * contrib/hbqt/TQFileDialog.prg
  * contrib/hbqt/TQDialog.prg
  * contrib/hbqt/TQTextStream.prg
  * contrib/hbqt/TQStandardItemModel.prg
  * contrib/hbqt/TQFormLayout.prg
  * contrib/hbqt/QSystemTrayIcon.cpp
  * contrib/hbqt/QStyleOptionDockWidget.cpp
  * contrib/hbqt/QListWidgetItem.cpp
  * contrib/hbqt/QColorDialog.cpp
  * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp
  * contrib/hbqt/TQFileSystemModel.prg
  * contrib/hbqt/TQAbstractSpinBox.prg
  * contrib/hbqt/TQTextFragment.prg
  * contrib/hbqt/QDateTimeEdit.cpp
  * contrib/hbqt/TQVBoxLayout.prg
  * contrib/hbqt/QStyleOptionFocusRect.cpp
  * contrib/hbqt/QMoveEvent.cpp
  * contrib/hbqt/TQImageWriter.prg
  * contrib/hbqt/TQAbstractListModel.prg
  * contrib/hbqt/QMainWindow.cpp
  * contrib/hbqt/QDesktopWidget.cpp
  * contrib/hbqt/QProcess.cpp
  * contrib/hbqt/QWidgetAction.cpp
  * contrib/hbqt/TQModelIndex.prg
  * contrib/hbqt/TQMenuBar.prg
  * contrib/hbqt/QStringListModel.cpp
  * contrib/hbqt/TQKeyEvent.prg
  * contrib/hbqt/QDockWidget.cpp
  * contrib/hbqt/TQPaintDevice.prg
  * contrib/hbqt/TQStyleOptionMenuItem.prg
  * contrib/hbqt/TQFontMetrics.prg
  * contrib/hbqt/QTextBrowser.cpp
  * contrib/hbqt/TQStyle.prg
  * contrib/hbqt/QTableWidget.cpp
  * contrib/hbqt/TQStyleOptionHeader.prg
  * contrib/hbqt/QErrorMessage.cpp
  * contrib/hbqt/TQMenu.prg
  * contrib/hbqt/QWizard.cpp
  * contrib/hbqt/QFileSystemModel.cpp
  * contrib/hbqt/TQPrintDialog.prg
  * contrib/hbqt/QAbstractSpinBox.cpp
  * contrib/hbqt/TQPrintPreviewDialog.prg
  * contrib/hbqt/TQLabel.prg
  * contrib/hbqt/QDial.cpp
  * contrib/hbqt/TQWebHistoryInterface.prg
  * contrib/hbqt/TQStyleOptionComboBox.prg
  * contrib/hbqt/TQFontInfo.prg
  * contrib/hbqt/TQSlider.prg
  * contrib/hbqt/TQBrush.prg
  * contrib/hbqt/TQStyleOptionToolButton.prg
  * contrib/hbqt/QImageWriter.cpp
  * contrib/hbqt/TQScrollArea.prg
  * contrib/hbqt/TQLine.prg
  * contrib/hbqt/TQIcon.prg
  * contrib/hbqt/TQLayoutItem.prg
  * contrib/hbqt/TQAbstractTableModel.prg
  * contrib/hbqt/QIODevice.cpp
  * contrib/hbqt/TQPixmap.prg
  * contrib/hbqt/QMenuBar.cpp
  * contrib/hbqt/TQClipboard.prg
  * contrib/hbqt/TQTextImageFormat.prg
  * contrib/hbqt/TQStyleOptionTabBarBase.prg
  * contrib/hbqt/QPaintDevice.cpp
  * contrib/hbqt/QStyleOptionMenuItem.cpp
  * contrib/hbqt/QFontMetrics.cpp
  * contrib/hbqt/TQImageReader.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbqt/QDropEvent.cpp
  * contrib/hbqt/TQAbstractItemView.prg
  * contrib/hbqt/TQColor.prg
  * contrib/hbqt/TQDir.prg
  * contrib/hbqt/TQHttp.prg
  * contrib/hbqt/TQStyleOptionComplex.prg
  * contrib/hbqt/TQWebHitTestResult.prg
  * contrib/hbqt/QPrintDialog.cpp
  * contrib/hbqt/QTextBlockGroup.cpp
  * contrib/hbqt/TQRegion.prg
  * contrib/hbqt/QStandardItem.cpp
  * contrib/hbqt/QLatin1String.cpp
  * contrib/hbqt/QSizeF.cpp
  * contrib/hbqt/TQLatin1Char.prg
  * contrib/hbqt/QWebHistoryInterface.cpp
  * contrib/hbqt/QStyleOptionComboBox.cpp
  * contrib/hbqt/TQStyleFactory.prg
  * contrib/hbqt/TQStyleOptionSpinBox.prg
  * contrib/hbqt/TQPalette.prg
  * contrib/hbqt/QSplashScreen.cpp
  * contrib/hbqt/TQDateTimeEdit.prg
  * contrib/hbqt/TQPainter.prg
  * contrib/hbqt/QSizeGrip.cpp
  * contrib/hbqt/QMessageBox.cpp
  * contrib/hbqt/TQResizeEvent.prg
  * contrib/hbqt/QTextImageFormat.cpp
  * contrib/hbqt/TQStyleOptionFocusRect.prg
  * contrib/hbqt/QAbstractItemModel.cpp
  * contrib/hbqt/QGroupBox.cpp
  * contrib/hbqt/QImageReader.cpp
  * contrib/hbqt/TQDragEnterEvent.prg
  * contrib/hbqt/QTextDocumentFragment.cpp
  * contrib/hbqt/TQTextBoundaryFinder.prg
  * contrib/hbqt/QPushButton.cpp
  * contrib/hbqt/TQWidgetAction.prg
  * contrib/hbqt/TQScrollBar.prg
  * contrib/hbqt/TQGridLayout.prg
  * contrib/hbqt/TQWindowsXPStyle.prg
  * contrib/hbqt/QWebHistoryItem.cpp
  * contrib/hbqt/QDir.cpp
  * contrib/hbqt/TQStyleOptionButton.prg
  * contrib/hbqt/TQTextLength.prg
  * contrib/hbqt/QTreeWidgetItem.cpp
  * contrib/hbqt/TQCommandLinkButton.prg
  * contrib/hbqt/QBoxLayout.cpp
  * contrib/hbqt/TQErrorMessage.prg
  * contrib/hbqt/QDateTime.cpp
  * contrib/hbqt/QTextFormat.cpp
  * contrib/hbqt/QPalette.cpp
  * contrib/hbqt/QTextBlock.cpp
  * contrib/hbqt/QTextFrame.cpp
  * contrib/hbqt/QPainter.cpp
  * contrib/hbqt/QResizeEvent.cpp
  * contrib/hbqt/TQDial.prg
  * contrib/hbqt/QStyleOptionProgressBar.cpp
  * contrib/hbqt/TQTableWidgetItem.prg
  * contrib/hbqt/TQAction.prg
  * contrib/hbqt/TQPaintEvent.prg
  * contrib/hbqt/QStyleHintReturnVariant.cpp
  * contrib/hbqt/QStatusBar.cpp
  * contrib/hbqt/TQStyledItemDelegate.prg
  * contrib/hbqt/TQTimer.prg
  * contrib/hbqt/QTabWidget.cpp
  * contrib/hbqt/QTextInlineObject.cpp
  * contrib/hbqt/QLCDNumber.cpp
  * contrib/hbqt/QList.cpp
  * contrib/hbqt/TQWidget.prg
  * contrib/hbqt/QStyleOptionTab.cpp
  * contrib/hbqt/TQFontDialog.prg
  * contrib/hbqt/QTextDocumentWriter.cpp
  * contrib/hbqt/TQIODevice.prg
  * contrib/hbqt/TQStyleOption.prg
  * contrib/hbqt/QDateEdit.cpp
  * contrib/hbqt/TQMouseEvent.prg
  * contrib/hbqt/QCheckBox.cpp
  * contrib/hbqt/TQStyleOptionSlider.prg
  * contrib/hbqt/QSound.cpp
  * contrib/hbqt/QWebFrame.cpp
  * contrib/hbqt/QPoint.cpp
  * contrib/hbqt/TQPointF.prg
  * contrib/hbqt/QTabBar.cpp
  * contrib/hbqt/QDirModel.cpp
  * contrib/hbqt/QFileDialog.cpp
  * contrib/hbqt/QDialog.cpp
  * contrib/hbqt/QTextStream.cpp
  * contrib/hbqt/TQWheelEvent.prg
  * contrib/hbqt/QFormLayout.cpp
  * contrib/hbqt/QStyleOptionFrame.cpp
  * contrib/hbqt/TQWebPage.prg
  * contrib/hbqt/TQRadialGradient.prg
  * contrib/hbqt/QFont.cpp
  * contrib/hbqt/TQCursor.prg
  * contrib/hbqt/TQLayout.prg
  * contrib/hbqt/TQLatin1String.prg
  * contrib/hbqt/TQStandardItem.prg
  * contrib/hbqt/QTableWidgetItem.cpp
  * contrib/hbqt/TQFocusEvent.prg
  * contrib/hbqt/TQImage.prg
  * contrib/hbqt/TQSpinBox.prg
  * contrib/hbqt/QVBoxLayout.cpp
  * contrib/hbqt/QEvent.cpp
  * contrib/hbqt/TQLinearGradient.prg
  * contrib/hbqt/TQSplashScreen.prg
  * contrib/hbqt/TQDragLeaveEvent.prg
  * contrib/hbqt/TQSizeGrip.prg
  * contrib/hbqt/QModelIndex.cpp
  * contrib/hbqt/QStyleOption.cpp
  * contrib/hbqt/TQStyleHintReturnMask.prg
  * contrib/hbqt/TQStyleOptionToolBox.prg
  * contrib/hbqt/QTreeView.cpp
  * contrib/hbqt/TQStringList.prg
  * contrib/hbqt/QTextLine.cpp
  * contrib/hbqt/TQRectF.prg
  * contrib/hbqt/QRect.cpp
  * contrib/hbqt/TQGroupBox.prg
  * contrib/hbqt/TQTextDocumentFragment.prg
  * contrib/hbqt/TQToolButton.prg
  * contrib/hbqt/QTextItem.cpp
  * contrib/hbqt/QTimeEdit.cpp
  * contrib/hbqt/TQListWidget.prg
  * contrib/hbqt/QWebPage.cpp
  * contrib/hbqt/TQTextLayout.prg
  * contrib/hbqt/TQTextCursor.prg
  * contrib/hbqt/TQPen.prg
  * contrib/hbqt/QPrintPreviewDialog.cpp
  * contrib/hbqt/TQTextEncoder.prg
  * contrib/hbqt/QSlider.cpp
  * contrib/hbqt/QSpinBox.cpp
  * contrib/hbqt/TQDateTime.prg
  * contrib/hbqt/QScrollArea.cpp
  * contrib/hbqt/TQStyleOptionDockWidget.prg
  * contrib/hbqt/TQAbstractButton.prg
  * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
  * contrib/hbqt/QFontDatabase.cpp
  * contrib/hbqt/QAbstractTableModel.cpp
  * contrib/hbqt/QLayoutItem.cpp
  * contrib/hbqt/QLineEdit.cpp
  * contrib/hbqt/TQVariant.prg
  * contrib/hbqt/QPixmap.cpp
  * contrib/hbqt/QStyleHintReturnMask.cpp
  * contrib/hbqt/TQMoveEvent.prg
  * contrib/hbqt/TQTextInlineObject.prg
  * contrib/hbqt/TQList.prg
  * contrib/hbqt/QDragMoveEvent.cpp
  * contrib/hbqt/TQStyleOptionToolBar.prg
  * contrib/hbqt/TQBitmap.prg
  * contrib/hbqt/QSplitter.cpp
  * contrib/hbqt/TQCalendarWidget.prg
  * contrib/hbqt/TQDesktopWidget.prg
  * contrib/hbqt/TQPageSetupDialog.prg
  * contrib/hbqt/QComboBox.cpp
  * contrib/hbqt/QEventLoop.cpp
  * contrib/hbqt/QDoubleSpinBox.cpp
  * contrib/hbqt/TQDateEdit.prg
  * contrib/hbqt/TQHeaderView.prg
  * contrib/hbqt/TQCheckBox.prg
  * contrib/hbqt/TQConicalGradient.prg
  * contrib/hbqt/QStyleOptionComplex.cpp
  * contrib/hbqt/QTableView.cpp
  * contrib/hbqt/TQWebFrame.prg
  * contrib/hbqt/QPen.cpp
  * contrib/hbqt/QRegion.cpp
  * contrib/hbqt/QTextEncoder.cpp
  * contrib/hbqt/TQFocusFrame.prg
  * contrib/hbqt/TQSizePolicy.prg
  * contrib/hbqt/QLatin1Char.cpp
  * contrib/hbqt/TQDirModel.prg
  * contrib/hbqt/QFrame.cpp
  * contrib/hbqt/QStyleOptionSpinBox.cpp
  * contrib/hbqt/TQStyleOptionFrame.prg
  * contrib/hbqt/TQFont.prg
  * contrib/hbqt/TQAbstractSlider.prg
  * contrib/hbqt/TQObject.prg
  * contrib/hbqt/QVariant.cpp
  * contrib/hbqt/TQAbstractScrollArea.prg
  * contrib/hbqt/TQPicture.prg
    * Regenerated sources after generator change.
2009-08-12 11:27:11 +00:00
Viktor Szakats
3d21b2394d 2009-08-12 12:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * config/global.cf
    ! Hopefully fixed GPM detection with pure (no starter script) 
      GNU Make invocations. It needs to be done centrally, 
      as it's used in multiple modules, plus it has external lib 
      dependency.
    ; TODO: Streamline macro usage regarding external dependencies.
            There is currently HAS*, HAVE*, HB_HAVE*, HB_WITHOUT* 
            plus some other variations.
            We should probably stick to HB_BUILD_WITH_* for user 
            level control, and HB_HAS_* for internal detection logic.
2009-08-12 10:38:12 +00:00
Viktor Szakats
b253e4a96f 2009-08-12 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtwvt/Makefile
    + Indentation.
2009-08-12 10:15:39 +00:00
Viktor Szakats
6c465556bc 2009-08-12 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
    ! Fixed '-' prefix usage in non-*nix shells, so now make
      process won't fail because of install rule error.
      (this was a problem introduced in recent days)
      Maybe it will be needed to tweak that because an install
      failure might signal a real problem as soon as package
      creation gets implemented inside/under GNU Make.

  * config/global.cf
    + Added autofill of HB_INSTALL_PREFIX if not specified.
      (work in progress, might change in the future)
    + Added support for "macro" values in HB_INSTALL_PREFIX:
      {HB_ARCH}, {HB_COMP}, {HB_CPU}. They will be replaced 
      by corresponding value. This is a small steps towards 
      moving to GNU Make bases autodetection an moving away 
      from starter script (make_gnu.*) usage.

  * config/bsd/global.cf
  * config/wce/global.cf
  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
    + Added DYN_EXT and DYN_PRE variables as a small step
      towards integrating dynlib creation in the GNU Make
      process.
2009-08-12 09:38:12 +00:00
Viktor Szakats
53a38f1e4a 2009-08-12 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    ! Fixed to not indent one define/endef block.
      I've actually even warned for this in comment, but ignored
      it by mistake yesterday, and broke compiler autodetection.

  * config/instsh.cf
    % Deleted $(CMDPREF) from OS/2 rules. Please test it and report
      if it broke.

  * config/os2/watcom.cf
  * config/os2/gcc.cf
    + Added '@' prefix for echo cmds.
2009-08-12 07:45:44 +00:00
Przemyslaw Czerpak
20a5e7c24b 2009-08-12 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xcstr.prg
    % fixed fatal for performance code used to serialize hash arrays
      in ValToPrg() functions. I know that xHarbour does not have native
      support for hash array iteration in FOR EACH statements so it's
      necessary to make some hacks but even there serialization can be
      quite easy done by simple FOR/NEXT loop and function calls to
      access given keys and values.
      Please remember that sending :keys or :values messages to hash
      arrays is very expensive in both languages because each time
      new array is created with copy of all key or values items.
      In the old code :values message was send inside a loop so to serialize
      hash array with 1000 items it was created 1000 arrays with 1000
      items inside each of them. It means 1000000 unnecessary item copy
      calls. Modern computers are very fast but such code can kill the
      performance on any hardware. It's also classic example when forcing
      FOR EACH usage in all places can give code thousands times slower
      then code using simple FOR/NEXT.
    % few minor optimizations
2009-08-11 22:16:01 +00:00
Viktor Szakats
7055dd0667 2009-08-12 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- tests/bldtest/bldtest.hbp
  + tests/bldtest/Makefile
    ! Restored GNU Make file.
      Maybe we should move this file to somewhere else, perhaps
      inside /config to better serve its purpose.

  * config/global.cf
    + Added another setting to raw setting list.
2009-08-11 22:08:41 +00:00
Antonio Carlos Pantaglione
4765bee3fc 2009-08-11 15:35 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br>
* harbour/contrib/xhb/xcstr.prg
    ! fixed ValToPrgExp() to not use indexed strings
2009-08-11 18:29:58 +00:00
Viktor Szakats
6ca00081a7 2009-08-11 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/dir.cf
    - Deleted PM option. No longer needed.
2009-08-11 15:47:07 +00:00
Viktor Szakats
a62097883b 2009-08-11 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ tests/hbpptest/hbpptest.hbp
  + tests/bldtest/bldtest.hbp
  + tests/multifnc/multifnc.hbp
    + Added hbmk2 make files (quite simple ones) for these tests.
      Better make them independent of the core make system.
      This way they also work outside the source distribution, 
      f.e. when shipped inside a binary distro.

  - tests/hbpptest/Makefile
  - tests/bldtest/Makefile
  - tests/multifnc/Makefile
    - Deleted GNU Make files.

  - tests/Makefile
    - Deleted GNU Make file. hbmk2 is recommended to build these tests.
      The only missing feature compared to Makefile is auto-exclusion
      of "NOTEST" sources, anyway it's pretty apparent from first line
      of each source file, so it shouldn't be a problem.
2009-08-11 15:42:56 +00:00
Przemyslaw Czerpak
f36085472c 2009-08-11 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/trpccli.prg
    ! fixed typo in function name.
      Harbour has hb_inetPeriodCallback() not hb_inetSetPeriodCallback()

  * harbour/contrib/xhb/xcstr.prg
    ! disabled calling ValToPrgExp() used to serialize codeblocks
    ! use __objGetValueList() instead of __objGetValueDiff() which does
      not exist in Harbour

  * harbour/contrib/xhb/trpc.prg
    ! fixed xHarbour only function names: JoinThread() -> hb_threadJoin()
      and StopThread() -> hb_threadQuitRequest()
2009-08-11 15:20:09 +00:00
Viktor Szakats
b7f36c8b71 2009-08-11 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
    % Using := instead of =

  * tests/Makefile
    - Deleted support for 'pm' envvar.

  * config/global.cf
    + Added PM envvar to list of misc config vars.
2009-08-11 15:14:37 +00:00
Viktor Szakats
8d70968dda 2009-08-11 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
  * config/win/bcc.cf
    + Added NOTEs about Windows NT family command-line length limits.
      It's 2047 for NT/2000 and 8191 for XP and upper.
      Seemingly also on Vista or Windows 7. Probably memory is still
      too expensive at MS ;) or, they want us to switch to PowerShell?
2009-08-11 14:48:04 +00:00
Viktor Szakats
a7e3211114 2009-08-11 16:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
    % Using := instead of = for 'BIN_NAME'.

  * config/dir.cf
    % Using := instead of = for 'comma'.

  * config/dos/watcom.cf
    % Using := instead of = for 'DOS4G'.

  * config/instsh.cf
    + Showing useful information instead of "! Done" in case
      of error situations.

  * config/dir.cf
  * config/global.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/bcc.cf
  * config/instsh.cf
  * config/dirsh.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
    + Indentation.
    * Syncing some common comments across files.
2009-08-11 14:13:33 +00:00
Viktor Szakats
91f9cb925a 2009-08-11 15:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    + Added [WORKS] to prev entry.

  * config/global.cf
    - Deleted '! Configuration' line.

  * config/instsh.cf
    + nt install rules moved to a subroutine, so the multicommand
      hack could be deleted.
    + os2 install rules modified to use the same line length limit
      avoiding technique as dos. Please test.
    ; QUESTION: Could an OS/2 user tell me whether $(CMDPREF) is
                *really* needed? This is the only place it's used,
                so I wonder. If not, we should delete it.
    * dos/os2 install command results are now ignored ('-' prefix)
      just like for other shells.
    + dos install rule now contains check for existing dir.
      Not currently required, I've added it for cleanness and to
      be in sync with other shell rules where such check is std.
    % define/endef extra empty lines deleted from where they weren't
      necessary.
    * Indentation.
2009-08-11 13:47:20 +00:00