Commit Graph

9939 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
ca1d6300c6 2009-02-19 20:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    * pacified warning
2009-02-19 19:08:14 +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
Przemyslaw Czerpak
d98d210e0f 2009-02-19 15:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed yest another stupid typo in new OS2 conditional variable
      code
2009-02-19 14:31:59 +00:00
Viktor Szakats
c15dbcba23 got the date wrong again. sorry. 2009-02-19 14:28:38 +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
Przemyslaw Czerpak
abbb2d5240 2009-02-19 14:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed very stupid and also vary bad typo in my last OS2 modification.
2009-02-19 13:13:36 +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
Przemyslaw Czerpak
faf7a49cff 2009-02-19 12:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed the typo in order of sending signals in _hb_thread_cond_signal()
      _hb_thread_cond_broadcast() for OS2. By mistake it was LIFO instead of
      FIFO.
2009-02-19 11:44:36 +00:00
Pritpal Bedi
8a30a6104c 2009-02-18 17:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgscrlb.prg
    * Disabled structure support for time being as 
      build process is unable to locate cstruct.c, etc. headers.
      Viktor?
2009-02-19 01:07:54 +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
Pritpal Bedi
daa0e7e5fa 2009-02-18 16:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/common.mak
    + Added wvgscrlb.prg.

  + harbour/contrib/gtwvg/wvgscrlb.prg
    + Implemented WvgScrollBar() class ( work-in-progress ).

  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvggui.h
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/wvtwin.ch
    * Numerous changes and fixes and behavioral shifts.
    ! Started to implement CUI and GUI components in GTWVG.
    ! Started to use C STRUCTURES.

  * harbour/contrib/hbwin/Makefile
  * harbour/contrib/hbwin/common.mak
    + Added wapi_winuser.c

  * harbour/contrib/hbwin/hbwapi.h
    + added more WAPI macros to accomodate new types.

  + harbour/contrib/hbwin/wapi_winuser.c
    + Introduced wrapper function to manipulate scrollbars.

    ; NOTE: GTWVG now needs xhb.lib alongwith hbwin.lib.
2009-02-19 00:32:12 +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
c516ba2778 2009-02-18 23:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/ole2.c
  * contrib/hbwin/win_ole.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/win_prn1.c
    ! Fixed Open Watcom 1.8 related warnings/errors.
2009-02-18 22:35:06 +00:00
Viktor Szakats
22de797f9c 2009-02-18 22:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/global.cf
    + Added link to GNU make docs.
    + Added .SUFFIXES: to delete all built-in rules. This does 
      the same as the -r switch which we were using so far, 
      so this one is no more necessary. Now GNU make can be 
      started by simply running 'make' without parameters.

  * make_gcc.sh
  * make_gnu_os2.cmd
  * make_gnu.bat
    % Removed make -r switches.
    ; TODO: Do the same in the rest of the scripts.
2009-02-18 21:35:33 +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
Przemyslaw Czerpak
844cf0e16b 2009-02-18 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
  * harbour/source/vm/thread.c
    ! added support for conditional variables working like in PTHREADS
      in OS2 builds - it fixes the problem with possible dead lock or
      starvation effect which can also cause dead lock in some cases.
      OS2 users please test current code.
2009-02-18 18:55:32 +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
e9d081f82c 2009-02-18 16:45 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* ChangeLog
     * little correction to previous entry.
2009-02-18 15:45:35 +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
a7e97d89d2 2009-02-18 16:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/win/bcc32.cf
    * Synced flags with non-GNU make. This adds MT support.

  * config/win/install.cf
    ! Install command modified to not give errors and block
      the whole build process if the target file already exists.
      The workaround consisted of changing 'copy' to 'xcopy /d /y'.

  * include/inkey.ch
    + Added comments on K_MM*DOWN codes.
      These also should be protected, and moved to
      local the local headers belonging to GTs
      supporting this feature (GTWVG notably).

  * source/rtl/gtwvt/gtwvt.c
    + Protected non-Clipper compatible extension regarding
      K_MM*DOWN with __HB_GTWVT_GEN_K_MMDOWN_EVENTS #define.
      Also see notes in about app level code modification
      needed if you want to continue using default Harbour build:
      2009-02-18 12:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
2009-02-18 15:08:54 +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
Przemyslaw Czerpak
f61409bf19 2009-02-18 14:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/listbox.prg
    * changed FindText() and FindData() LISTBOX method to work without
      _SET_EXACT modification
2009-02-18 13:13:55 +00:00
Viktor Szakats
b384f79d99 2009-02-18 13:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ source/rtl/mousehb.c
     + Added missing file from previous commit.
2009-02-18 12:06:45 +00:00
Przemyslaw Czerpak
277239d801 2009-02-18 12:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    ! fixed wrong exact condition hb_itemStrICmp()
    % small optimization in hb_itemStr[I]Cmp() functions
2009-02-18 11:40:15 +00:00
Viktor Szakats
4710155eb2 2009-02-18 12:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
  * common.mak
  * source/rtl/Makefile
  * source/rtl/mouse53.c
    + Added HB_MMIDDLEDOWN() functions, plus MMIDDLEDOWN() alias.
      These are always available regardless of the CLIP53
      compatibility setting.

    ; TOFIX: K_MM*DOWN events _override_ C5.3 compatible
             K_MOUSEMOVE events (in GTWVT only), which created
             an unfortunate incompatibility with our target
             C5.x compiler when using some specific GT. Ideas 
             are welcome how to fix this. We should probably
             either send out both codes and let the inkey queue
             do the filtering as requested by app (we need a
             new filter then), or remove these event code and 
             generate proper K_MOUSEMOVE events instead. Apps
             using this these incompatible keycodes are encouraged 
             to replace expressions:
             '( key == K_KK*DOWN )' with the compatible:
             '( key == K_MOUSEMOVE .AND. M*DOWN() )' to prepare
             for the fix.
2009-02-18 11:26:39 +00:00
Przemyslaw Czerpak
fbe97f53ab 2009-02-18 12:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/hvm.c
    % replaced index to evaluated PCODE by direct PCODE pointer
      modification
2009-02-18 11:12: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
Przemyslaw Czerpak
4fd0cafdd2 2009-02-18 10:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/hvm.c
    * added hb_cmdargUpdate() function which makes final argc/argv updating
      (code moved from hb_cmdargInit())
    ! use hb_cmdargUpdate() - it fixes GPF in MT mode when some fs* functions
      were called before allocating HVM stack
    ; TOFIX: change some hb_setGet*() functions to work without HVM stack.

  * harbour/source/rtl/hbtoken.c
    * formatting
2009-02-18 09:20:39 +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
c3bfd3c191 2009-02-18 00:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/listbox.prg
    ! Restored _SET_EXACT dependent code parts to have the
      same logic as before my modifications a few years ago.
      Przemek, is it right now? I honestly didn't understand
      the issue here.
2009-02-17 23:20:16 +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
4147055ce2 2009-02-17 16:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
  * mpkg_tgz.sh
  * harbour.spec
    + Replaced hbmake with hbmk2.
2009-02-17 15:42:57 +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
002858158a 2009-02-17 13:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmysql/utils/hbmk.bat
  + contrib/hbmysql/utils/hbmysql.hbp
  - contrib/hbblat/tests/hbmk.bat
  + contrib/hbblat/tests/hbblat.hbp
    * Switched from WIN/DOS specific to .hbp.

  - contrib/hbgd/tests/hbmk_gnu.sh
  * contrib/hbgd/tests/hbgd.hbp
    * Switched from *NIX specific to .hbp.
2009-02-17 12:13:08 +00:00
Viktor Szakats
d22d029a41 2009-02-17 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbblat/tests/blatcmd.prg
    ! Reverted fix of mine until we properly fix hb_cmdline().
    ; TOFIX: Fix hb_cmdline() to work more consistently on Windows.
2009-02-17 10:37:03 +00:00