Commit Graph

1800 Commits

Author SHA1 Message Date
Viktor Szakats
8f458144ea 2009-02-20 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autodetection of compiler based on build data on linux.
    + Added '-comp:bld' option to force autodetection based on build
      data for all other platforms. This way the compiler will be
      set to the same one as was used to build hbmk2 executable.
    + Added support to specify object output name using the -o
      option in conjunction with the -hbcmp parameter. Single
      and multiple input (c. and .prg->.c) files are also supported,
      but that's compiler dependent, currently gcc/pocc/msvc/bcc32
      supports single file and also msvc/bcc32 support multiple files.
    * os2/icc libprefix reset and TODO added.
    + Added some cross-platform related markups (comments).
    ! Fixed not stripping 'lib' from libnames for linux/gpp.
2009-02-19 23:45:22 +00:00
Viktor Szakats
4e73d2bdba 2009-02-19 20:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/Makefile
    ! Fixed broken GNU Make after recent directory rename.

  * utils/hbmk/hbmk2.prg
    * -q switch changed to -quiet to not collide with harbour option
      of the same name.
    + Following C flags will automatically be inheried to
      *nix/gcc|gpp compilers regardless of -bldf flag:
      -mlp64, -mlp32, -m64, -m32, -fPIC, -fpic
    + Following C flags will be automatically processed and
      relevent system libs added:
      -DHB_PCRE_REGEX - pcre
      -DHB_EXT_ZLIB   - z
      -DHAVE_GPM_H    - gpm
    ! Stripping 'lib' prefix from lib names for gcc-family compilers.
    ! Stripping extension from lib names for gcc-family compilers.
    ; Please review.

  * contrib/examples/uhttpd/hbmk.bat
    * .lib extensions removed from HB_USER_LIBS.
2009-02-19 19:46:12 +00:00
Teo Fonrouge
d50ab93482 2009-02-19 12:59 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* common.mak
    * changed HBM_KDIR from "utils\hbmk" to "utils\hbmk2"

  - utils/hbmk
  + utils/hbmk2
    * renamed dir name to fix wrong dir change on gnu scripts: mpkg_tgz.sh
      and the harbour.spec
    ! Fixed dir name error that avoided to build rpms and tgz files.
2009-02-19 19:06:11 +00:00
Viktor Szakats
c6b43e4a86 2009-02-19 16:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added object archive support for (currently) gcc compilers.
      .a file are gathered like .o files, and they can be added
      to the internal command line templates using the {OA} macro.
      I've added these after {O} macros in gcc cmdlines.
      (Przemek's request #9. Please review.)
    * Minor internal change to system location detection.

  * harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * mpkg_tgz.sh
    % Removed -r make flags. No longer needed.
2009-02-19 15:44:59 +00:00
Viktor Szakats
280b90ee9b 2009-02-18 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added new flags to replace -bldflags[-]:
      -bldf[-] and -bldf=[p][c][l]. We can pass any combinations
      to the latter. '-bldf=' is the same as '-bldf-'.
    + Added hbcplr to liblists (both static and shared).
    + Added infrastructure to allow for any kind of logic
      to detect compilers (not just PATH search for .exe).
      We should however very carefully use such methods
      to keep detection precize, predictable. For now I'd like 
      to hear about misdetections using current system.
2009-02-19 14:22:58 +00:00
Viktor Szakats
a2eb6c9690 2009-02-18 13:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added new TODOs.
    + Now using GTCGI as the GT.
    + Added -info option to enable informational output.
      (currently this is the default for testing period)
    + Added -arch=<arch> command line option. Same as HB_ARCHITECTURE.
      Added -comp=<comp> command line option. Same as HB_COMPILER.
      envvars are kept for compatibility.
    + Added -hblnk option to give plave for hblnk script behaviour
      emulation.
    * Changed -cc, -cmp options to -hbcc, -hbcmp respecitvely.
    + Changed -hbcc, -hbcmp, -hblnk switches to turn off information
      output and turn on quiet mode by default.
    + Added autodetection of architecture when unique to
      architecture compiler is choosen manually. IOW, when
      -comp=msvc|mingw|pocc|dmc|xcc is passed the architecture will
      be set to win automatically. When -comp=djgpp is used,
      dos will be selected.
    ! Fixed ordering of compiler autodetection because f.e. owatcom
      bin dir holds a 'cl.exe', which made hbmk2 falsely detect msvc.
    + Added trick which I'm not sure I like, and may cause problems
      and seemingly unpredictable behaviour, but could also help
      in some environments where multiple compilers are setup in
      parallel (this isn't a recommended scenario for various other
      reasons, so maybe we shouldn't support it further). So from
      now on the compiler autodetection will first look for the
      compiler used to build hbmk2.exe, and check for the rest
      afterwards. This feature is turned off for msvc builds of
      hbmk2.exe because it breaks owatcom autodetection.
    + Added possibility to pass a plain dir by using -odir[\|/]
      switch. The final name will be determined by first input
      file name, if this one also has a dir, -o option will be
      ignored. Added logic to handle separator differences, this
      wasn't tested to a great deal.
    + Added -Wl,--start-group support for linux/gcc|gpp, win/mingw,
      dos/djgpp.
    ! Fixed owatcom support to setup library paths.
    ! Fixed linux/owatcom to use link script.
    * Some adjustments to win/owatcom C compiler settings. I guess
      the ones in .cf should also need a cleanup.
    * Few minor indentation problems fixed.
    ! C compiler and linker scripts now got an extension in
      the generated temp filename to make some of them happy
      (owatcom in this case). .cpl is used for compiler scripts,
      .lnk for linker ones.
    + Compiler autodetection now also looks in hbmk2 executable
      dir before looking into the PATH.
    ! Link script content was wrong due to typo.
    ! Fixed problem with library paths being wrong (doubly
      decorated) in the link command. This may also fix some
      problems with double extensions and final .c file cleanup.
    ! Fixed to add hbdebug lib when building in shared mode.
    ! Fixed typo in automatically adding './' on *nix systems.
    ; Please test, I definitely couldn't retest all scenaros
      after all these changes.

  * bin/postinst.bat
    * Adapted change in mode modifier switches, also
      added new -hblnk one.
  * utils/hbmk/examples/winapi.hbp
    + Added mapi32.
  + utils/hbmk/examples/contrib.hbp
    + Added .hbp file for popular and portable only contribs.
  * config/win/owatcom.cf
    - Removed unnecessary system libs.
  * contrib/hbvpdf/hbvpdft.prg
    * hbwhat32 -> hbwhat in comment.
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/wapi_winuser.c
    ! Fixed harbour-project page link in header.
  * contrib/hbwin/hbwapi.h
    * Formatting (indenting the whole file content inside
      self-guard isn't necessary.)
2009-02-19 12:46:19 +00:00
Viktor Szakats
25c1a81179 2009-02-18 01:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/gtalleg/tests/gtallegs.hbp
  - contrib/gtalleg/tests/gtalleg-shared.hbp
  + contrib/gtalleg/tests/gtallegd.hbp
  - contrib/gtalleg/tests/gtalleg-static.hbp
    * Converted to short filenames.

  * utils/hbmk/hbmk2.prg
    ! Typos in prev. commit.
2009-02-19 00:41:52 +00:00
Viktor Szakats
3be56359f5 2009-02-18 00:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added rest of default *nix system paths.
    % Minor optimization regarding the above.
    ! Fix regarding the above (include/lib were swapped).

  * make_gnu.sh
    * Formatting.
2009-02-18 23:23:13 +00:00
Viktor Szakats
545a2a5dd8 2009-02-18 22:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
  * utils/hbmk/hbmk2.prg
    * TODOs moved to source file.
    + Added hbp comment syntax to help screen.

  * config/win/install.cf
    ! Reverted previous fix (with xcopy) and replaced with
      official method to suppress return value.
2009-02-18 21:05:00 +00:00
Viktor Szakats
6750dfb8c1 2009-02-18 18:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    % Optimizations in FindInPath().
    ! Fixed handling dirs in PATH with embedded path separator
      in them.
    ! Possible fix for owatcom compilers by forcing link
      script instead of passing options on the command line.

  * utils/hbmk/examples/winapi.hbp
    ! Updated for BCC.
2009-02-18 18:01:41 +00:00
Maurilio Longo
06a6d319c7 2009-02-18 16:35 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* source/vm/cmdarg.c
     * little hack from Przemyslaw to make it work under OS/2 where
       executable name hasen't got extension if extension was not give when
       executable was started.
   * utils/hbmk/hbmk2.prg
     * Changed to work under OS/2 with GCC; other OS/2 compilers not tested.
2009-02-18 15:38:48 +00:00
Viktor Szakats
5c12c3430e 2009-02-18 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    * '-l-' is now passed to Harbour instead of being considered
      as a lib spec.
    * Arch/comp is now case-insensitive in filters too.
    * Removed GTSTD usage.
      It caused a stall at startup for BCC, and Ctrl+C had 
      to be pressed to proceed. I didn't investigate further, 
      maybe it's a local problem.
2009-02-18 15:27:30 +00:00
Viktor Szakats
19ab705e7d 2009-02-18 14:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtalleg/tests/gtalleg-static.hbp
    + Added some Windows libs. The libs seem compiler
      and/or SDK dependent, so pls update this, current state 
      is probably enough to get an idea of it.

  + utils/hbmk/examples/winapi.hbp
    + Created hbp file for Windows libs.

  * utils/hbmk/hbmk2.prg
  * utils/hbmk/examples/xbgtk.hbp
  * utils/hbmk/examples/xhgtk.hbp
    * Formatting.
2009-02-18 13:37:47 +00:00
Viktor Szakats
7d050222f1 2009-02-18 14:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added handling of quoted options (with double quotes) for
      items containing spaces. hb_AToken( , , .T. ) is used, so 
      these rules apply. Outer double quote pair will be stripped 
      from the quoted items.
      We will probably need extra code to add the quote back
      when forming the command lines. Anyway this feature mainly
      targets to support pkg-config options, which have their
      own special quotes anyway.
    ! Minor change to not use hb_cmdline() for -q option detection,
      and also to ignore -q in main option processing loop.
    ! Fixed explicit .hbp processing.

  * contrib/gtalleg/tests/gtalleg-shared.hbp
  * contrib/gtalleg/tests/gtalleg-static.hbp
  * utils/hbmk/examples/xbgtk.hbp
  * utils/hbmk/examples/hwgui.hbp
  * utils/hbmk/examples/xhgtk.hbp
    * Updated pkg-config related lines.
2009-02-18 13:20:27 +00:00
Viktor Szakats
733a2ddad2 2009-02-18 10:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    + Added generation of hbcc[.bat|.cmd], hbcmp[.bat|.cmd]
      and hblnk[.bat|.cmd].
    ; NOTE: Available only when using GNU-make to build Harbour.

  * utils/hbmk/hbmk2.prg
    % Minor optimizations.
    + HB_USER_LIBS now gets automatic path separator adjustment.

  * config/win/msvc.cf
    ! Added missing system libs.
    ! Tweaked C options to be like in non-GNU make.

  * make_gcc.sh
  * make_gnu.sh
    - Removed compatibility with HB_ARCHITECTURE = w32.
2009-02-18 09:34:50 +00:00
Viktor Szakats
409012d5e6 2009-02-18 02:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    ! Fixed not recognising hbp lines if the filter was at BOL.
    ! Two minor fixes.

  * utils/hbmk/examples/xbgtk.hbp
    + Added cflags, it was already supported, just forgot about it.

  * contrib/hbblat/tests/hbblat.hbp
  * contrib/hbblat/tests/blatcmd.prg
    % Using WIN_GETCOMMANDLINEPARAM().

  * contrib/hbwin/win_misc.c
  * contrib/hbwin/tests/testreg.prg
    + Added WIN_GETCOMMANDLINEPARAM().
      Similar to WAPI_GETCOMMANDLINE() but returns
      only the parameter part. Handles UNICODE,
      _SET_OSCODEPAGE and appnames with spaces.

  * contrib/hbwin/tests/hbwin.hbp
    ! Fixed to include shell32 lib.

  * contrib/hbwin/Makefile
  * contrib/hbwin/common.mak
  + contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/tests/testreg.prg
    + Added WAPI_GETCOMMANDLINE().
      With UNICODE and _SET_OSCODEPAGE support.

  * ChangeLog
    * TOFIX (hb_cmdline()) marked as POSTPONED with explanation.
2009-02-18 01:06:57 +00:00
Viktor Szakats
87a7f6d2f6 2009-02-17 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/gtalleg/tests
  + contrib/gtalleg/tests/gtalleg-shared.hbp
  + contrib/gtalleg/tests/gtalleg-static.hbp
  * utils/hbmk/examples/whoo.hbp
  * utils/hbmk/examples/c4w.hbp
  * utils/hbmk/examples/minigui.hbp
  * utils/hbmk/examples/hwgui.hbp
  * utils/hbmk/examples/fwh.hbp
  + utils/hbmk/examples/xbgtk.hbp
  + utils/hbmk/examples/xhgtk.hbp
    + Added new hbp files and settings to cover support by current
      hbmk script features.
    + Added new gtalleg hbp files for Windows, both static
      and shared. Added logic from hbmk script for Linux.
    ; NOTE: This is a work in progress, I'll have to investigate
            -I support needed for xbgtk, hbmk can't handle that yet.
            Also pkgconfig notation isn't parsed well yet, there needs
            to be added syntax to allow spaces inside items.
            Expect some possible incompatible changes in this area.
2009-02-17 23:02:00 +00:00
Viktor Szakats
ce1de4b3ed 2009-02-17 21:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Made HB_ARCHITECTURE and HB_COMPILER case-insensitive.
      Notice however that other parts of Harbour (notably the 
      GNU-make system) will only accept them in lowercase, so 
      that's the recommended way to setup these values.
    * One error message made more informative.
2009-02-17 20:35:17 +00:00
Viktor Szakats
6865585181 2009-02-17 20:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + HB_COMPILER now automatically set to gcc for Linux.
      You can override it if you need gpp or owatcom.
    + xcc, icc autodetection for win.
    + Added support for HB_MT=mt|MT for compatibility.
    + Added support for -mwindows/-mconsole for compatibility.
    + 0/1 is accepted instead of yes/no for compatibility.
2009-02-17 19:58:44 +00:00
Luis Krause
f97d0b096c 2009-02-17 11:43 UTC+0800 Luis Krause (lkrausem at shaw dot ca)
* utils/hbmk/hbmk2.prg
    ! Fixed typo on line 1038 (missing . in .OR.)
2009-02-17 19:45:39 +00:00
Viktor Szakats
e4ac2fb30a 2009-02-17 20:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    ! Fixed -run on *nix systems.
2009-02-17 19:06:22 +00:00
Viktor Szakats
9383fb9119 2009-02-17 19:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    ! Fixed Linux system location detection to work
      regardless of the name of the executable.
2009-02-17 18:29:12 +00:00
Viktor Szakats
8670b0b82c 2009-02-17 18:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + More informative messages for HB_COMPILER problems.
2009-02-17 17:44:35 +00:00
Viktor Szakats
6de8d77075 2009-02-17 17:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    + Added support for -fullstatic.
    + Added '-lm' to linux/gcc. Still needs to tweaking, like gpm.

  * bin/hbmk.bat
    + Added missing '@'.
2009-02-17 16:35:14 +00:00
Viktor Szakats
1678cba2c9 2009-02-17 16:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
   * make_vc.mak
   * common.mak
   + bin/hbmk.bat
   * utils/hbmk/Makefile
   - utils/hbmk/hbmk.prg
   + utils/hbmk/hbmk2.prg
    + Renamed hbmk to hbmk2 to avoid collision with hbmk script,
      and to allow parallel testing.
    + Readded hbmk.bat to redirect to hbmk2.exe.
      This will be removed in the future. Win9x/OS/2 isn't 
      supported with this batch file.
2009-02-17 15:36:34 +00:00
Viktor Szakats
5bac12e769 2009-02-17 16:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    * Minor changes.
2009-02-17 15:31:06 +00:00
Viktor Szakats
71a0a02cf1 2009-02-17 15:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added autodetection of -cc, -cmp options based on argv[0].
2009-02-17 14:45:31 +00:00
Viktor Szakats
244d74cbee 2009-02-17 15:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support for multiple -L (lib path) options.
    + Added support for libpaths= option in .hbp files.
    ! Fix/cleanup to help screen.
    ! Fixed handling of libs specified in an explicitly passed
      .hbp file due to typo.
2009-02-17 14:22:13 +00:00
Viktor Szakats
a83974967d 2009-02-17 14:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support for -cc switch. This will stop hbmk after creating
      the Harbour .c outputs to emulate hbcc tool behaviour.
      'hbcc' -> 'hbmk -cc $*'
    + Added support for -cmp switch. This will stop hbmk after creating
      the object outputs from the C compiler.
      'hbcmp' -> 'hbmk -cmp $*'
    + From now on objects file passed on the command line will also
      be considered as final executable name if passed before the other
      files.
    * Tweaked internals to cope with some new combinations, like
      passing object only for a compiler having separate C compiler
      and link phases. Launching C compiler even if there are only
      object files.
2009-02-17 13:55:33 +00:00
Viktor Szakats
6d0e753f20 2009-02-17 11:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmysql/tests/hbmk.bat
   + contrib/hbmysql/tests/hbmysql.hbp
   - contrib/xhb/tests/hbmk.bat
   + contrib/xhb/tests/xhb.hbp
   - contrib/hbodbc/tests/hbmk.bat
   + contrib/hbodbc/tests/hbodbc.hbp
   - contrib/hbtpathy/tests/hbmk.bat
   + contrib/hbtpathy/tests/hbtpathy.hbp
   - contrib/hbmsql/tests/hbmk.bat
   + contrib/hbmsql/tests/hbmsql.hbp
   - contrib/hbmzip/tests/hbmk.bat
   + contrib/hbmzip/tests/hbmzip.hbp
   - contrib/hbole/tests/hbmk.bat
   + contrib/hbole/tests/hbole.hbp
   - contrib/hbsqlit3/tests/hbmk.bat
   + contrib/hbsqlit3/tests/hbsqlit3.hbp
   - contrib/hbfbird/tests/hbmk.bat
   + contrib/hbfbird/tests/hbfbird.hbp
   - contrib/hbziparc/tests/hbmk.bat
   + contrib/hbziparc/tests/hbziparc.hbp
   - contrib/hbnf/tests/hbmk.bat
   + contrib/hbnf/tests/hbnf.hbp
   - contrib/rddsql/tests/hbmk.bat
   + contrib/rddsql/tests/rddsql.hbp
   - contrib/hbhpdf/tests/hbmk.bat
   + contrib/hbhpdf/tests/hbhpdf.hbp
   - contrib/rddado/tests/hbmk.bat
   + contrib/rddado/tests/rddado.hbp
   - contrib/hbpgsql/tests/hbmk.bat
   + contrib/hbpgsql/tests/hbpgsql.hbp
   - contrib/rddads/tests/hbmk.bat
   + contrib/rddads/tests/rddads.hbp
   - contrib/hbfimage/tests/hbmk.bat
   + contrib/hbfimage/tests/hbfimage.hbp
   - contrib/hbgd/tests/hbmk.bat
   + contrib/hbgd/tests/hbgd.hbp
   - contrib/hbmisc/tests/hbmk.bat
   + contrib/hbmisc/tests/hbmisc.hbp
   - contrib/hbtip/tests/hbmk.bat
   + contrib/hbtip/tests/hbtip.hbp
   - contrib/hbgf/tests/hbmk.bat
   + contrib/hbgf/tests/hbgf.hbp
   - contrib/hbwin/tests/hbmk.bat
   + contrib/hbwin/tests/hbwin.hbp
   - contrib/hbvpdf/tests/hbmk.bat
   + contrib/hbvpdf/tests/hbvpdf.hbp
   - contrib/hbssl/tests/hbmk.bat
   + contrib/hbssl/tests/hbssl.hbp
   - contrib/hbwhat/tests/hbmk.bat
   + contrib/hbwhat/tests/hbwhat.hbp
     * Switched from WIN/DOS specific to platform
       independent .hbp files. These will be automatically
       picked by hbmk (prg). Some libnames will need tweaking
       for non-Windows platforms.
     ! Fixed a few liblists along the way.

   * contrib/hbgd/gdwrp.c
     ! Fixed to properly check GD lib version for conditional
       compiling. Formerly used GD_VERS isn't defined by the
       library headers.

   - contrib/hbmisc/tests/Makefile
   * contrib/hbmisc/doc/gendoc.bat
   - contrib/hbmisc/doc/libmisc.lnk
   - contrib/hbmisc/doc/libmisc.rsp
   + contrib/hbmisc/doc/hbmisc.lnk
   + contrib/hbmisc/doc/hbmisc.rsp
     * libmisc -> hbmisc

   * util/hbmk/hbmk.prg
     + Added TODO.

   * ChangeLog
     * TODO marked DONE.
2009-02-17 10:27:10 +00:00
Viktor Szakats
cf97f6830e 2009-02-16 21:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- tests/hbmk_gnu.bat
    - Removed.

  * contrib/examples/uhttpd/hbmk.bat
  * contrib/examples/dbu/hbmk.bat
  * contrib/examples/rl/hbmk.bat
    * Made them compatible with Win9x/NT systems again.

  * source/lang/msg_tpl.c
    + Added NOTE about date format.

  * source/lang/msgbe866.c
  * source/lang/msgbewin.c
  * source/lang/msgbg866.c
  * source/lang/msgbgiso.c
  * source/lang/msgbgmik.c
  * source/lang/msgbgwin.c
  * source/lang/msgit.c
  * source/lang/msgnl.c
  * source/lang/msgsl437.c
  * source/lang/msgsl852.c
  * source/lang/msgsliso.c
  * source/lang/msgslwin.c
    ! Fixed date formats to only contain YYYY MM and DD.
      Plus the format itself corrected in a few places.

  * utils/hbmk/hbmk.prg
    + Added TODO
    % Added ANNOUNCE HB_GTSYS / REQUEST HB_GT_STD_DEFAULT.
      Since this tools doesn't need anything fullscreen, and
      this way it's faster smaller, yet portable.

  * ChangeLog
    * Few old TODO/TOFIX statuses updated.
2009-02-16 20:19:26 +00:00
Viktor Szakats
6b15363e5d 2009-02-16 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbct/tests/hbmk.bat
  - contrib/hbcurl/tests/hbmk.bat
  + contrib/hbcurl/tests/hbcurl.hbp
  - contrib/hbclipsm/tests/hbmk.bat
  + contrib/hbclipsm/tests/hbclipsm.hbp
  - contrib/hbcrypt/tests/hbmk.bat
  + contrib/hbcrypt/tests/hbcrypt.hbp
  - contrib/examples/pp/hbmk.bat
  + contrib/examples/pp/pp.hbm
  - contrib/examples/guestbk/hbmk.bat
  + contrib/examples/guestbk/guestbk.hbm
  - contrib/examples/pe/hbmk.bat
  + contrib/examples/pe/pe.hbm
  - contrib/examples/hbsqlit2/tests/hbmk.bat
  + contrib/examples/hbsqlit2/tests/hbsqlit2.hbp
  - contrib/examples/hscript/hbmk.bat
  + contrib/examples/hscript/hscript.hbm
  - utils/hbdoc/hbmk.bat
  + utils/hbdoc/hbdoc.hbm
    * Converted some DOS/WIN batch files to platform
      independent .hbm/.hbp files.
    ; Please test them.

  * ChangeLog
    + Marked DBCREATETEMP() as DONE.
2009-02-16 17:49:28 +00:00
Viktor Szakats
23127c393a 2009-02-17 12:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapicdp.h
   * common.mak
   * source/codepage/Makefile
   + source/codepage/ucmacce.c
   + source/codepage/ucmacice.c
   + source/codepage/uc424.c
   + source/codepage/ucmacrom.c
   + source/codepage/ucmacgrk.c
   + source/codepage/uc037.c
   + source/codepage/uc875.c
   + source/codepage/uc1026.c
   + source/codepage/ucascii.c
   + source/codepage/ucatari.c
   + source/codepage/ucmaccyr.c
   + source/codepage/uc1006.c
   + source/codepage/ucnext.c
   + source/codepage/ucmactrk.c
   + source/codepage/uc856.c
   + source/codepage/uc500.c
     + Added missing codepages. Except for multi-byte ones,
       which I believe are not supported by the current
       Harbour infrastructure.

   * utils/hbmk/hbmk.prg
     ! Minor.
2009-02-16 11:50:35 +00:00
Viktor Szakats
cd5c391aff 2009-02-17 11:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support to pass .hbp files on the command line.

  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/hbwapi.h
    ! Remaining comments changed to ANSI.
2009-02-16 10:53:16 +00:00
Viktor Szakats
455502872b 2009-02-17 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/tests/hbapollo.hbp
    + Added filters.
    ; TOFIX: hbapollo test doesn't link with MSVC.

  - contrib/hbapollo/tests/hbmk.bat
  - contrib/gtwvg/tests/hbmk.bat
  - contrib/hbbtree/tests/hbmk.bat
  - contrib/examples/terminal/hbmk.bat
  - contrib/examples/terminal/hbmk_trm_appn.bat
    - Removed batch versions of make files.
      Go to the directory the source are located and
      use the .hbm files where there is one, or just pass
      the .prg name to hbmk.exe.

  * utils/hbmk/hbmk.prg
    ! Fixed handling lib/source files with double extensions.
    ! Fixed to not add empty items to lists in some occasions.
    + Added -q to suppress informational output + header.
2009-02-16 08:25:59 +00:00
Viktor Szakats
ac54370493 2009-02-17 02:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- bin/hbmk.bat
  - bin/hbmk_gcc.bat
  - bin/hbmk_os2.cmd
  - bin/hbmk_ow.bat
  - bin/hbmk_b32.bat
  - bin/hbmk_vc.bat
    - Removed make files obsoleted by new hbmk tool.
      Old calling convention, features, switches, envvars
      continue to work.
      WARNING: If you've called hbmk as hbmk.bat,
               you'll need to change that to simply hbmk.

  * contrib/hbodbc/odbc.c
    * Minor formatting.

  * utils/hbmk/hbmk.prg
    ! Fixed owatcom link commands. (it was also wrong
      in hbmk.bat)
    + Added -debug support for owatcom. (untested)
    + Added rsxnt/rsx32 support in an unobtrusive way.
2009-02-16 01:18:00 +00:00
Viktor Szakats
0bbab2a284 2009-02-17 00:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
  * make_b32.mak
  * make_vc.mak
  * make_gcc.mak
  * utils/Makefile
  - utils/hbmake
    - Removed hbmake from repository.
2009-02-15 23:40:18 +00:00
Viktor Szakats
f18b3c3cb2 2009-02-17 00:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbusage.c
    + Added Vailton Renato to credit list.

  * utils/hbmk/hbmk.prg
    + Cleanups and additions to help screen.
    ! Fixed dm/dmc compiler ID.

  - config/win/dm.cf
  + config/win/dmc.cf
  * contrib/gtalleg/Makefile
  * contrib/hbwhat/Makefile
    * Digital Mars C compiler ID changed from dm to dmc.
      (they also have a D compiler f.e.)
2009-02-15 23:34:57 +00:00
Viktor Szakats
50d7dbd784 2009-02-16 20:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support for '#' comment lines in .hbm files.
    + Added support to automatically convert slashes/backslashes
      in passed libnames and prg options.
    * Cleanup on computing Harbour location. I didn't test all
      situations here. This should fix previous versions not
      honoring explicit HB_*_INSTALL envvars.
    + Added support for POCC (untested).

   + contrib/hbct/tests/hbct.hbp
   + contrib/examples/terminal/terminal.hbp
   + contrib/examples/terminal/trm_appn.hbm
     + Added new hbmk files to show what it takes to replace
       the current system, but this time fully supporting
       all Harbour platforms.
       To use these just run hbmk, either from the path, or
       by directly pointing to it:
       ..\..\..\bin\hbmk.exe <test.prg>
       ..\..\..\bin\hbmk.exe trm_appn.hbm
       .exe can be dropped as soon as we delete out hbmk.bat file.
2009-02-15 20:14:40 +00:00
Viktor Szakats
3be140b2ec 2009-02-16 18:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added POCC and DMC autodetection.
    + Added screen message when no C compiler could be
      autodetected.
    ! owatcom was missing from OS/2 supported compiler 
      internal list.
2009-02-15 17:37:12 +00:00
Viktor Szakats
ad9a1de4a1 2009-02-16 17:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support for -map switch to create a map file.
    + Added support for -run switch to run the created executable.
    + Script files can be passed without '@' prefix if using the
      extension '.hbm'. So 'hbmk myscript.hbm' will now also work.
    + Now possible to negate most switches using a '-' postfix:
      'hbmk -strip-'
    + Added '-notrace'/'-trace-' switches to disable tracing.
    + Some steps towards Windows resource support.
    + Added support for 'cflags=' and 'ldflags=' in .hbp files.
    + Added mini architecture/compiler filter which can be used
      in every line of an .hbp file, and also for every library
      passed on the command line:
      hbmk hello.prg -lonlyforlinux{linux}
      The filter expression can use paranthesis, '&' for AND,
      '|' for OR and '!' for not. F.e.: {linux&!owatcom}
    % Minor optimizations.

  + utils/hbmk/examples
  + utils/hbmk/examples/whoo.hbp
  + utils/hbmk/examples/c4w.hbp
  + utils/hbmk/examples/minigui.hbp
  + utils/hbmk/examples/hwgui.hbp
  + utils/hbmk/examples/fwh.hbp
    + Added few example for .hbp files to support 3rd party
      packages. These may be removed, as it's better if these
      are supplied by the packages themselves.
      NOTE: I took these from hbmake, and they are probably
            obsolete.
2009-02-15 16:46:28 +00:00
Viktor Szakats
15ba3068e3 2009-02-15 08:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added -bldflags option which tells hbmk to also
      apply user build flags (HB_USER_*FLAGS) used when
      building Harbour.
    * Minor internal cleanups.
    ! Typo in help screen.
2009-02-15 07:58:03 +00:00
Viktor Szakats
15918b234c 2009-02-15 02:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    ! Fix to previous commit.
    * Help screen made more compact.
2009-02-15 01:29:22 +00:00
Viktor Szakats
e380960de0 2009-02-15 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added support for parameters passed in files:
      'hbmk @myprogram.hbm'.
      Multiple scripts can be passed, and they can be
      combined with normal command line options.
      This makes it possible to supply quasi make files
      for programs.
    + Added support for hbmake parameter (.hbp) files. hbmk
      will scan current dir for .hbp files and process them.
      .hbp files can specify user libs, .prg options, can
      control MT, GUI, NULRDD, SHARED, DEBUG, STRIP and can
      select GT. This makes it ideal to offer automatic setup
      for lib dependent programs, f.e. an .hbp can be places
      in contrib test dirs to allow for a configuration free
      make process without the need of any helper batch/script
      files. 3rd party makers can also supply .hbp file for
      the same effect, f.e. xhgtk, hwgui support may be added
      this way, without hard-wiring knowledge into hbmk itself.
      -nohbp disables processing of these files.
    + Added support for HB_GT envvar.
    + -o support for win/msvc.
    ! Fix to GT handling and -shared to for msvc and bcc32.
    ! Fixed some envvar names.

  * utils/hbi18n/hbi18n.prg
    * Minor typo.
2009-02-15 01:21:12 +00:00
Viktor Szakats
fda4d02e93 2009-02-14 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added -strip/nostrip switch and implemented for GCC/GPP.
    + Added -trace switch to see executed commands.
    + Added negative switches: -std, -st, -nodebug
    + Added detection whether Harbour is installed in default system
      locations on *NIX systems. If it is, turn on shared libraries
      by default for all *NIX systems.
    + Added support for GT selection with -gt??? switch.
      (using .prg method, not .c as in hbmk bash script)
    + Added support for linux/gpp.
    ; NOTE: Some things still missing:
      - details of *NIX stuff, systems libs, switches,
        etc, etc.
      - -fullstatic not yet supported.
      - fmstat/nofmstat. It would be good to find a
        more easily manageable way to influence that.
        Current one is make system dependent and a bit hackish.
      - handling 3rd party libs. These should be supported
        by supplying proper parameter, and we can provide
        example scripts for these libs. Hard-wiring them
        into core Harbour is quite dangerous.
      - "MAIN" function override. I'd rather leave this out,
        and clear up the situation with entry procs.
      - gtsln and gtcrs support.
      - Watcom, OS/2, *NIX not tested.
      - Built-in support for our contribs. For clear
        separation of components contribs shouldn't be
        referred to in this core component.
      - Filtering foreign system libs passed on the command
        line for platforms not needing them. The goal is to
        be able to use as simple and _portable_ hbmk command
        lines as possible.
      - Support for POCC, DM.
    ; TODO:
      - Switch to portable command lines in hbmk.bat files.
        (Win9x will be supported again).
      - Remove bin/hbmk*.bat, bin/hbmk*.cmd, util/hbmake/*.
      - Cleanup on variable names in hbmk.prg.

  * tests/testid.prg
    * Minor cleanup.
2009-02-14 18:47:59 +00:00
Viktor Szakats
9440a0000b 2009-02-14 17:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    ! Fixes after testing with MSVC and MINGW both static and dynamic mode.
2009-02-14 16:35:17 +00:00
Viktor Szakats
e5713107b1 2009-02-14 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    - Added support for -o option for win/bcc32.

  - tests/hbmk_vc.bat
  - tests/hbmk_b32.bat
  + contrib/hbmysql/utils/hbmk.bat
  - contrib/hbmysql/utils/hbmk_b32.bat
  - contrib/hbmysql/utils/hbmk_vc.bat
  + contrib/hbmysql/tests/hbmk.bat
  - contrib/hbmysql/tests/hbmk_b32.bat
  - contrib/hbmysql/tests/hbmk_vc.bat
  + contrib/hbct/tests/hbmk.bat
  - contrib/hbct/tests/hbmk_b32.bat
  - contrib/hbct/tests/hbmk_vc.bat
  + contrib/hbodbc/tests/hbmk.bat
  - contrib/hbodbc/tests/hbmk_b32.bat
  - contrib/hbodbc/tests/hbmk_vc.bat
  + contrib/xhb/tests/hbmk.bat
  - contrib/xhb/tests/hbmk_b32.bat
  - contrib/xhb/tests/hbmk_vc.bat
  + contrib/hbtpathy/tests/hbmk.bat
  - contrib/hbtpathy/tests/hbmk_b32.bat
  - contrib/hbtpathy/tests/hbmk_vc.bat
  + contrib/hbmsql/tests/hbmk.bat
  - contrib/hbmsql/tests/hbmk_b32.bat
  - contrib/hbmsql/tests/hbmk_vc.bat
  + contrib/hbsqlit3/tests/hbmk.bat
  - contrib/hbsqlit3/tests/hbmk_b32.bat
  - contrib/hbsqlit3/tests/hbmk_vc.bat
  + contrib/hbole/tests/hbmk.bat
  - contrib/hbole/tests/hbmk_b32.bat
  - contrib/hbole/tests/hbmk_vc.bat
  + contrib/hbmzip/tests/hbmk.bat
  - contrib/hbmzip/tests/hbmk_b32.bat
  - contrib/hbmzip/tests/hbmk_vc.bat
  + contrib/hbapollo/tests/hbmk.bat
  - contrib/hbapollo/tests/hbmk_b32.bat
  - contrib/hbapollo/tests/hbmk_vc.bat
  + contrib/hbfbird/tests/hbmk.bat
  - contrib/hbfbird/tests/hbmk_b32.bat
  - contrib/hbfbird/tests/hbmk_vc.bat
  + contrib/hbziparc/tests/hbmk.bat
  - contrib/hbziparc/tests/hbmk_b32.bat
  - contrib/hbziparc/tests/hbmk_vc.bat
  + contrib/hbnf/tests/hbmk.bat
  - contrib/hbnf/tests/hbmk_b32.bat
  - contrib/hbnf/tests/hbmk_vc.bat
  + contrib/hbcurl/tests/hbmk.bat
  - contrib/hbcurl/tests/hbmk_b32.bat
  - contrib/hbcurl/tests/hbmk_vc.bat
  + contrib/rddsql/tests/hbmk.bat
  - contrib/rddsql/tests/hbmk_b32.bat
  - contrib/rddsql/tests/hbmk_vc.bat
  + contrib/hbhpdf/tests/hbmk.bat
  - contrib/hbhpdf/tests/hbmk_b32.bat
  - contrib/hbhpdf/tests/hbmk_vc.bat
  + contrib/rddado/tests/hbmk.bat
  - contrib/rddado/tests/hbmk_b32.bat
  - contrib/rddado/tests/hbmk_vc.bat
  + contrib/gtwvg/tests/hbmk.bat
  - contrib/gtwvg/tests/hbmk_b32.bat
  - contrib/gtwvg/tests/hbmk_vc.bat
  + contrib/hbpgsql/tests/hbmk.bat
  - contrib/hbpgsql/tests/hbmk_b32.bat
  - contrib/hbpgsql/tests/hbmk_vc.bat
  + contrib/rddads/tests/hbmk.bat
  - contrib/rddads/tests/hbmk_b32.bat
  - contrib/rddads/tests/hbmk_vc.bat
  + contrib/hbclipsm/tests/hbmk.bat
  - contrib/hbclipsm/tests/hbmk_b32.bat
  - contrib/hbclipsm/tests/hbmk_vc.bat
  + contrib/hbfimage/tests/hbmk.bat
  - contrib/hbfimage/tests/hbmk_b32.bat
  - contrib/hbfimage/tests/hbmk_vc.bat
  + contrib/hbgd/tests/hbmk.bat
  - contrib/hbgd/tests/hbmk_b32.bat
  - contrib/hbgd/tests/hbmk_vc.bat
  + contrib/hbmisc/tests/hbmk.bat
  - contrib/hbmisc/tests/hbmk_b32.bat
  - contrib/hbmisc/tests/hbmk_vc.bat
  + contrib/hbgf/tests/hbmk.bat
  - contrib/hbgf/tests/hbmk_b32.bat
  - contrib/hbgf/tests/hbmk_vc.bat
  + contrib/hbtip/tests/hbmk.bat
  - contrib/hbtip/tests/hbmk_b32.bat
  - contrib/hbtip/tests/hbmk_vc.bat
  + contrib/hbwin/tests/hbmk.bat
  - contrib/hbwin/tests/hbmk_b32.bat
  - contrib/hbwin/tests/hbmk_vc.bat
  + contrib/hbvpdf/tests/hbmk.bat
  - contrib/hbvpdf/tests/hbmk_b32.bat
  - contrib/hbvpdf/tests/hbmk_vc.bat
  + contrib/hbbtree/tests/hbmk.bat
  - contrib/hbbtree/tests/hbmk_djg.bat
  - contrib/hbbtree/tests/hbmk_b32.bat
  - contrib/hbbtree/tests/hbmk_vc.bat
  + contrib/hbcrypt/tests/hbmk.bat
  - contrib/hbcrypt/tests/hbmk_b32.bat
  - contrib/hbcrypt/tests/hbmk_vc.bat
  + contrib/hbssl/tests/hbmk.bat
  - contrib/hbssl/tests/hbmk_b32.bat
  - contrib/hbssl/tests/hbmk_vc.bat
  + contrib/hbwhat/tests/hbmk.bat
  - contrib/hbwhat/tests/hbmk_b32.bat
  - contrib/hbwhat/tests/hbmk_vc.bat
  - source/rdd/usrrdd/example/hbmk_b32.bat
  - source/rdd/usrrdd/example/hbmk_vc.bat
    % Updated for new hbmk.bat and hbmk.exe.
2009-02-14 13:26:30 +00:00
Viktor Szakats
24768861bf 2009-02-14 13:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk.prg
    + Added linux/owatcom, os2/icc support. (completely untested)
2009-02-14 12:26:53 +00:00
Viktor Szakats
f7289cf019 2009-02-14 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * make_gcc.mak
  * common.mak
  * utils/Makefile
    + Added hbmk to make systems.

  * utils/hbmk/hbmk.prg
    + Update. Second pass, it's now ready for testing. I've
      only tried with BCC yet.
      Please test and if possible update internal setup
      for various platforms/compilers.
2009-02-14 12:18:24 +00:00
Viktor Szakats
1c75d2b214 2009-02-13 22:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ utils/hbmk
  + utils/hbmk/hbmk.prg
  + utils/hbmk/Makefile
    + Added hbmk .prg implementation. First pass, work in progress,
      unfinished. It aims to fully replace hbmk.bat, hbmk_os2.cmd
      and possibly/eventually hbmk bash script, with similar
      functionality. Beyond that it's meant to support all
      compiler/platform combination we happen to have under /config.
2009-02-13 21:14:47 +00:00