Commit Graph

10048 Commits

Author SHA1 Message Date
Viktor Szakats
1a0ef66629 2009-02-23 14:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed bug which made gtwvt the default GT for mingw.
    ! Fixed to create final exe in current dir if no output
      filename was specified and the first input file
      contained a path.
    * Changed to use version-less harbour shared lib names
      on *nixes.
    ! Fixed to pass full path with harbour.so to gcc.
      (even when Harbour isn't run from a system location)
    ! Fixed compilation/linking/cleanup if an input file
      wasn't in current dir.
    * Temp stub file is now created in system default temp dir,
      instead of the current one.
    + Harbour shared lib path is normalized when Harbour
      is found on system locations. (so '*/bin/../lib/' becomes
      '*/lib')
    * Better I hope handling of .so/.dylib/.sl/.dll files passed
      on the command line.

  * bin/hb-mkdll.bat
    ! Fixed typo in Borland MT .dll name.
    ! Fixed to not include maindll.obj, maindllp.obj in
      Borland .dlls.
    * Minor formatting and cleanup on internal names.
    + Added checking for source lib existence, showing
      message if not found.
    + Better user feedback.

  * bin/postinst.bat
    + Added running hb_mkdll.bat at the end of the build
      process. For now users have to use 'set HB_DLL=yes'
      to enable this features. It's experimental yet,
      see previous comments.

  * source/vm/Makefile
    + Now generating hbmainstd and hbmainwin for remaining
      (non-mingw and non-mingwce) compilers. MSVC and BCC
      need this for -shared linkage, I'm not sure about the
      rest, anyhow we can disable it for other compilers
      if it isn't needed in future.

  * bin/hb-func.sh
    % Refined hbmkcfg.hbp setup to better detect conditions.

  * contrib/hbcurl/hbcurl.c
    ! Pacified this only one new gcc 4.3.3 warning.

  * config/win/gcc.cf
  * config/win/mingw.cf
    + Added -mtune=pentiumpro gcc optimization.
2009-02-23 13:53:42 +00:00
Pritpal Bedi
643d0291d2 2009-02-22 19:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgcombo.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! Code cleanup.
    ! Implemented generic callback functionality taking 
      use of SetProp()/GetProp() functions of WINAPI. It 
      effectively eliminates the use of AsCallBack() 
      function which has been discussed as non-scalable
      in multi-processor architect.

    ; TODO: To use hb_gcAlloc() mechanism to hold the 
            codeblock. Please review wvgwnd():SetWindowProcCallback()
            and wvgwin:WVG_SetWindowProcBlock( ::hWnd, bBlock ).
            I did try but could not resolve it properly.
2009-02-23 03:40:33 +00:00
Viktor Szakats
21baf7c58a 2009-02-22 22:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
    ! Added workaround for WinCE mode.

  * config/win/msvcce.cf
    ! Fixed cl name when building with older MSVC version.
2009-02-22 21:39:32 +00:00
Viktor Szakats
a48f3abcc3 2009-02-22 21:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdll.bat
    + Added Borland C/C++ .dll building.
      It has the same requirements as MSVC.
      NOTE: Due to tlib bug, it won't work if the HB_LIB_INSTALL
            path contains '.' chars. I can add a workaround, 
            but at the cost of speed.
2009-02-22 20:53:25 +00:00
Viktor Szakats
7080cd9c62 2009-02-22 21:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * utils/hbmk2/hbmk2.prg
    + Previous workaround changed to generic solution, keeping 
      all Harbour lib specific external lib knowledge inside 
      hbmk2.
      Guy, if you can please retest.

  * bin/hb-mkdll.bat
    * Minor in comment.
2009-02-22 20:05:16 +00:00
Viktor Szakats
fa5e255220 2009-02-22 19:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.sh
    % Deleted part generating hbfm/hbfmmt libs. Now this is 
      done my GNU make.
2009-02-22 18:34:46 +00:00
Viktor Szakats
0eea0e3932 2009-02-22 18:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    ! Fixed stupid typos after testing on Linux.

  * contrib/examples/terminal/terminal.hbp
  * contrib/examples/terminal/trm_appn.hbm
    * Minor change.
2009-02-22 17:34:06 +00:00
Viktor Szakats
0d04b875e1 2009-02-22 18:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbbtree/tests/test.hbm
  * contrib/examples/guestbk/guestbk.hbm
  * contrib/examples/pe/pe.hbm
  * contrib/examples/terminal/trm_appn.hbm
  * contrib/examples/hscript/hscript.hbm
  * utils/hbdoc/hbdoc.hbm
  + utils/hbmk2/hbmk2.hbm
    + Added -n switch to .hbm files.

  * contrib/examples/uhttpd/hbmk.bat
  + contrib/examples/uhttpd/uhttpd.hbm
    + Moved most make params to new .hbm file.
2009-02-22 17:06:44 +00:00
Viktor Szakats
a2d19fb47d 2009-02-22 17:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/lib.cf
   * config/bin.cf
     + Added -n to Harbour flags to bin.cf.
     + Added -n1 to Harbour flags to lib.cf.
     ; TOFIX: The former works, the latter doesn't.
              Could someone please help why is this
              happening?

   * utils/hbmk2/hbmk2.prg
     - Removed -n from default Harbour switches.
     ; TODO: Add prgflags=-n to all .hbp files.
     ; TODO: Add -n to all .hbm files.
     ; TODO: Add .hbp file to dirs where there are .prgs
             needing -n flag.

   + bin/hb-mkdll.bat
     + Added .dll creation for GNU-make. Not yet enabled,
       only MSVC supported, and by the nature of the
       wonderful world of Microsoft, whole Harbour needs
       to be compiled with HB_USER_CFLAGS=-DHB_DYNLIB to
       make this work. -DHB_DYNLIB has some drawbacks
       though: export table will be generated for all
       executables made from these .libs, .exp/.lib will
       also be generated for all executables.
     ; TODO: Solve to compile Harbour lib .prgs using 
             -n1 switch. (needed for .dll, and this
             one has only befenefits for other scenarios)
     ; TODO: Add hb-mkdll.bat to postinst.bat.
     ; TODO: Add BCC support, if possible.
     ; TODO: Rename hb-mkslib.sh to 8.3 name and sync
             name with the .bat version (not necessarily
             mkdll, but something short.)

   * bin/hb-func.sh
     ! Added system libs for optional components included
       in the harbour dynlib. I plan to make some more
       changes here, but this should fix missing system
       libs with shared option enabled in hbmk2.

   * contrib/examples/dbu/dbu.hbm
   * contrib/examples/rl/rl.hbm
     + Added -n.

   * utils/hbdoc/Makefile
   * utils/hbmk2/Makefile
   * utils/hbtest/Makefile
   * utils/hbi18n/Makefile
   * utils/hbrun/Makefile
     - Removed explicit -gc0 -n override.
       Should now be set automatically for all binaries.
2009-02-22 16:53:11 +00:00
Przemyslaw Czerpak
7ae7612943 2009-02-22 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.c
    + added support for HB_GTI_CLOSABLE and HB_GTI_RESIZABLE.
2009-02-22 13:54:28 +00:00
Przemyslaw Czerpak
5a5b5bc6ee 2009-02-22 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.c
    ! fixed typo which caused GPF when palette was set before console window
      initialization

  * harbour/source/rtl/gttrm/gttrm.c
    * reset console color palette to default on application exist
2009-02-22 12:01:40 +00:00
Viktor Szakats
62545cf25f 2009-02-22 00:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgtoolb.prg
    ! Enabled disabling debug calls (requiring xhb) in non-debug mode.

  * contrib/gtwvg/tests/gtwvg.hbp
    - Removed xhb lib.
    + Added mt=yes line.

  * source/vm/extrap.c
    ! Extended line buffer used for module listing. 64 bytes
      just isn't enough in 64-bit mode.
2009-02-21 23:52:08 +00:00
Viktor Szakats
333bc99a4b 2009-02-22 00:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to -mwindow/-mconsole switch handling for MinGW.
2009-02-21 23:17:15 +00:00
Viktor Szakats
4bbd27fde5 2009-02-21 22:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/dbu/dbu.hbm
  - contrib/examples/dbu/hbmk.bat
  * contrib/examples/dbu/readme.txt
  + contrib/examples/rl/rl.hbm
  - contrib/examples/rl/hbmk.bat
  * contrib/examples/rl/readme.txt
    + Replace Win/DOS specific batch files with hbmk make
      file, so now all platforms are equally supported.

  - contrib/examples/dbu/hb_dbu.dif
  + contrib/examples/dbu/dbu.dif
    * Renamed.
2009-02-21 21:17:36 +00:00
Pritpal Bedi
9ae8cd0497 2009-02-21 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
    ! Pacified more warnings on 64bits.
2009-02-21 21:01:51 +00:00
Viktor Szakats
a7839840aa 2009-02-21 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * harbour.spec
  * mpkg_tgz.sh
    % Removed -O3 user gcc switch. It's the default in all
      gcc family .cf files.
2009-02-21 18:33:50 +00:00
Viktor Szakats
287974f000 2009-02-21 18:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed forming Harbour installed paths when alternate
      *nix dir layout is detected.
      Thanks to Guy also. Please retest.
2009-02-21 17:46:35 +00:00
Viktor Szakats
b37b755697 2009-02-21 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed recent typo in shared names for *nix systems.
      Thanks Guy.
2009-02-21 17:37:09 +00:00
Pritpal Bedi
1518335505 2009-02-21 09:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wincallb.c
    ! Pacified warnings on 64 bits.
2009-02-21 17:30:10 +00:00
Pritpal Bedi
7fe143ec04 2009-02-21 09:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgwin.c
    ! Pacified warnings on 64 bits.
2009-02-21 17:02:55 +00:00
Pritpal Bedi
70db9756b1 2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvggui.c
    ! Pacified warnings on 64 bits.
2009-02-21 16:04:50 +00:00
Pritpal Bedi
7cfb40c937 2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvggui.c
    ! Pacified warnings on 64 bits.
2009-02-21 15:29:36 +00:00
Pritpal Bedi
03498f5426 2009-02-21 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgdarea.prg
    ! WIN_FillRect() => WVG_FillRect() 
      Namespace lashed with hbwin/win_prn1.c.
2009-02-21 15:10:32 +00:00
Pritpal Bedi
bb65350139 2009-02-21 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgdarea.prg
    ! WIN_FillRect() => WVG_FillRect() 
      Namespace lashed with hbwin/win_prn1.c.
2009-02-21 15:09:44 +00:00
Viktor Szakats
0e76882035 2009-02-21 15:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ source/vm/fm
  + source/vm/fm/Makefile
  + source/vm/fmmt
  + source/vm/fmmt/Makefile
  * source/vm/Makefile
    + Added hbfm, hbfmmt lib generation which works for
      all compilers, not just gcc family.
    ; Please review.
    ; TOFIX: For some reason the locally added C flags 
             appear twice. Couldn't find out why.
2009-02-21 14:04:24 +00:00
Viktor Szakats
c54d40edd9 2009-02-21 14:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * utils/hbmk2/hbmk2.prg
    ! Some three bad typos in recent commit.
    ! Fixed the way build-default GT is supplied via hbmkcfg file.
      (via gtdef= line)
    ! Fixed to fill gtdef= line only if GT was overridden at
      build time. Previously it was filled with gtstd, which
      is wrong.
    ! Temporarily disabled automatic entry point detection,
      as it needs more complicated management because there
      needs to be a second C compiler pass. We should try
      to use some other means to implement this feature IMO.
2009-02-21 13:30:37 +00:00
Viktor Szakats
3beb6d15ad 2009-02-21 13:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev.
2009-02-21 12:55:54 +00:00
Viktor Szakats
445f4da00c 2009-02-21 13:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added internal function to check for linked GTs, so that
      platform/compiler code can act accordingly.
    + Added required system libs and paths for gtsln, gtcrs
      and gtxwc. So now it's 100% hbmk script compatible.
      This effectively added support for gtsln and gtcrs
      (for *nix only). ncur194 support is missing though,
      plus maybe some build-time modifier switches aren't
      honored (the WITHOUT* ones, but I'm not positive that
      all of them have to be handled on hbmk2 level).
      Probably some clever autodetection can be used on 
      hbmk2 level for such cases.
    ! Fixed to not be case-sensitive when dealing with GT names.
    + Added NOTE about 3rd party/contrib stuff handling.
    * Minor formatting.

    ; NOTE: What remains is cross compilation support, which
            is a new topic. -n support tweak, if needed.
            And testing, adding missing compilers, fixing
            existing ones if needed, syncing with build-time
            switches, clean Win32 system libs.

  * contrib/gtwvg/tests/gtwvg.hbp
    + Readded gui=yes to better separate compontents.
  * ChangeLog
    * Entry marked done.
2009-02-21 12:45:46 +00:00
Viktor Szakats
83918637bb 2009-02-21 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/tests/gtwvg.hbp
    * Moved gtwvg from libs= to gt=. gui=yes no longer needed.
    * Added xhb, Windows libs.
2009-02-21 10:13:42 +00:00
Viktor Szakats
b9cf36014c 2009-02-21 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    - Removed HBMK_NO_GTCGI macro.
    * Cleanups and fixes to GT list handling after recent
      changes.
    * Minor rearrangement on help screen.
2009-02-21 09:57:13 +00:00
Viktor Szakats
30cfa4b77b 2009-02-21 10:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Debug line removed.
2009-02-21 09:02:57 +00:00
Viktor Szakats
d652fcf04d 2009-02-21 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgtoolb.prg
    ! Fixed unused variable.
2009-02-21 08:53:02 +00:00
Viktor Szakats
caf7db1318 2009-02-21 09:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added automatic selection of GUI/non-GNU modes for
      core/contrib GTs. This can be overridden by user by
      putting -gui (and related switches) _after_ -gt switch.
      In normal cases this isn't necessary.
    + Invalid GT names are ignored, instead of creating
      compile error in the stub.
    + GTs and FM are now requested from C stub just like they
      are in hbmk script. This makes it possible to override
      GT even for apps that already uses an official method
      to choose a GT. hbmk2 uses function call also to set GT.
    - Removed .prg stub.
    ! Fixed recent potential RTE when using darwin.
2009-02-21 08:48:35 +00:00
Pritpal Bedi
116c96a016 2009-02-21 00:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/hbwin/hbwapi.h
  * harbour/contrib/hbwin/wapi_commctrl.c
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/wapi_winuser.c
    ! Mostly warning fixes for 64bits.

      ; Viktor, review me and plese send list of warnings 
        left after this.
2009-02-21 08:18:38 +00:00
Viktor Szakats
f99693f142 2009-02-21 08:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/hvm.c
    + Added hb_vmSetLinkedMain() function to replace direct
      access to exported variable hb_vm_pszLinkedMain.
      (it's not a public call and caller should always pass
      a string literal).
    * hb_vm_pszLinkedMain -> s_vm_pszLinkedMain and made static.

  * utils/hbmk2/hbmk2.prg
    ! Not adding 'dllimport' for externs in C stub when
      MSVC is used, to avoid compiler warning mentioned in 
      previous entry.

  * utils/hbmk2/hbmk2.prg
  * bin/hb-func.sh
    * Updated for above change.

  ; TODO: Convert GT defaulting to function call too.
2009-02-21 07:45:05 +00:00
Viktor Szakats
75a9fee614 2009-02-21 08:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfimage/fi_wrp.c
    ! Added hack to trick around FreeImage.h header not to 
      #include <inttypes.h> on Borland compilers. Maybe newers
      than 5.8.1 versions have it, so this can be made BCC version 
      dependend.
2009-02-21 07:15:54 +00:00
Viktor Szakats
153d0aa5b6 2009-02-21 08:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    + Added similar to HB_DONT_DEFINE_BOOL hack: HB_DONT_DEFINE_LONG.
      (needed until we clear up our types.)

  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbfimage/Makefile
  * doc/whatsnew.txt
    % Deleted #includes/macro checks not necessary.
    ! Disabled body of fi_winfu.c when not compiled under
      Windows. This fixes one Linux compilation error.
    % Replaced HB_OS_WIN_USED with HB_DONT_DEFINE_BOOL and
      HB_DONT_DEFINE_LONG, moved foreign headers before
      Harbour headers, added non-Harbour Windows detection
      in fi_wrp.c (I'm not sure that is necessary), so that
      it now compiles on both Windows and non-Windows (Linux
      tested) systems.
    + Renabled on Linux in Makefile.
    ; Please review/test these changes.
2009-02-21 07:06:13 +00:00
Pritpal Bedi
a10ce79f88 2009-02-20 17:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgsink.c
    ! Fixes as per Przemek's observations.
      ;TOREVIEW :    return( ( ULONG ) ( ( MyRealIEventHandler * ) this )->count < 0 ? 
                                      ( ( MyRealIEventHandler * ) this )->count : 0 );
       Actually I was having some problem with some old active-x 
       and was trying to fix that, that is why, now I do not remeber...
2009-02-21 01:26:37 +00:00
Viktor Szakats
1a82ec1c3e 2009-02-21 01:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgd/gdwrp.c
    % Deleted #includes not necessary.
2009-02-21 00:49:35 +00:00
Viktor Szakats
63870d6932 2009-02-21 01:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbusage.c
    ! Fixed to not show -n option as '(default)' on help screen.
      -n isn't the default in Harbour, nor in Clipper.
      Please review me.

  * utils/hbmk2/hbmk2.prg
    + Added -main=<id> option to override starting function/procedure
      name. Using the method from hbmk script, but made portable
      to all compilers. Can we add somewhat more official method
      to set this up? Preferably .prg level, but even a function
      call seems better, as with current method, MSVC complains
      with this warning:
      "hbsc_2nwvzg.obj : warning LNK4217: locally defined symbol \
         _hb_vm_pszLinkedMain imported in function __hb_hbmk_setdef_"
    + Added code to only accept valid Harbour identified as
      -main= value.
    + Added first module detection.
    + Enabled code to automatically find entry function in first
      module and make it the app entry point. This is very serious
      hack dealing with lots of internals.

  * source/compiler/cmdcheck.c
    * Typo in comment.
2009-02-21 00:13:47 +00:00
Viktor Szakats
71928f06cb 2009-02-20 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgd/gdwrp.c
    ! Fixed double implementation of GDIMAGEELLIPSE().
      The so far inactive .c version got enabled by recently
      making lib version detection automatic, which made it
      collide with the existing .prg implementation.
      Left the .prg one active because it works regardless
      of the lib gd version. Francesco, please verify me.
    - Deleted disabled, probably older copy of GDIMAGEELLIPSE()
      from .c source.

  * utils/hbmk2/hbmk2.prg
    * Help screen update.
2009-02-20 21:42:40 +00:00
Viktor Szakats
84a89f08ff 2009-02-20 19:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    ! Fixed gtalleg lib name.
    % Removed explicit harbour -gc0 option. This is now the default.

  * utils/hbmk2/hbmk2.prg
    + Added fmstat/nofmstat support.
    ! Minor fix to allow more freedom in formatting inside .hbp files.
    ! Fixed to delete prg stub file when using -hbcc option.
    + Added Copyright section for Przemek for the ideas I've
      borrowed from hbmk script and contributed code.
    + Detect platform default GT and only create stub if the
      user selected GT is different.
    + Now using versions shared libs on *nixes.
    + Mode detection now regards the ending or the beginning
      of the original name, so prefixed or postfixed names will
      also be recognized: xhbcmp, hbcmpx, myhbcmp.
    ! Fixed to multiple -gt options override each other so the
      last one will be effective.
    ! Fixed error message text when stub cannot be created.
      Furthermore in this case hbmk will now quit.
    + Also using '-Wl,--start-group' for bsd (from hbmk script).
    + Added '-bind_at_load', '-multiply_defined suppress' gcc
      options for darwin shared mode (from hbmk script).
    * Changed stub name to hbstub (from hbmkgt).
    * pthread lib handling streamlined based on hbmk script,
      but this probably needs further cleaning as the script
      isn't clear to me here.
    + Added fmstat/nofmstat switch. It most probably needs some
      tweaking, as the conditions seem rather sophisticated here.
      TODO: For non-*nix/non-gcc platforms (msvc/bcc32/owatcom
            most importantly).
    + Added system libs for darwin if gtcrs or gtsln are selected.
      (nslang isn't a default lib here, so it won't work on plain
      installations, slang however will).
    + Missed from previous commit: Fix so that -nohbp doesn't
      prevent processing the global config .hbp file.
    ! Fixed typo in prev commit.

  * utils/hbmk2/examples/contrib.hbp
    - Removed hbtip as it's not fully portable (dos).
  + utils/hbmk2/examples/contribf.hbp
    + Added complete database of contrib, with
      availability information.

  * contrib/xhb/Makefile
  * contrib/hbmsql/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbnf/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbvpdf/Makefile
    * Formatting.
2009-02-20 18:06:33 +00:00
Przemyslaw Czerpak
559adb0959 2009-02-20 18:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gttrm/gttrm.c
    * reverted the RGB numeric color definition to be compatible
      with Windows GTs which seems to use RGB values directly.
      Users who use to define RGB colors in hex notation (0xRRGGBB)
      should now remember that it's BGR definition (0xBBGGRR).
      Why MS have to make everything in reverted way?
2009-02-20 17:31:13 +00:00
Viktor Szakats
932edd00cd 2009-02-20 15:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    ! Two typos.
    - Disabled slang/ncurses lib stuff.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to put a space after -o gcc option for darwin.
    ; This makes hbmk2 work under darwin (for basic cases).
2009-02-20 14:48:55 +00:00
Viktor Szakats
4dfad4f3ef 2009-02-20 15:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* Makefile
   * bin/postinst.bat
   + bin/postinst.cmd
     + Added postinst for OS/2.

   * utils/hbmk2/hbmk2.prg
     * Minor in comment.
2009-02-20 14:30:36 +00:00
Viktor Szakats
c635d9cb07 2009-02-20 15:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * Removed -q0 default Harbour option.
    * Turned off informational messages. (turn it on with -info)
    * Help screen made shorter.
    + Added -help option to show the full help.
    * Showing no logo for normal operation.
2009-02-20 14:15:53 +00:00
Viktor Szakats
326a725b7e 2009-02-20 14:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    + Added gpm lib to config file when mouse is enabled at build time.

  * utils/hbmk2/hbmk2.prg
    ! Fixed not to use '$' sign in generated temp filename.
    ! Fixed recent typo causing RTE in *nix.
    ; After these changes linux/gcc works out of the box, but 
      it still needs tweaking (x11, other libs).
2009-02-20 13:59:33 +00:00
Viktor Szakats
8f02046bff 2009-02-20 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
    ! Fixed hb_verPlatform() to avoid confusion for other
      parts of Harbour (and maybe even app code) parsing the
      returned string and expecting some format. NOTE added
      about this to source to avoid similar errors in future.
      The Wine text got moved between the Windows name and
      version number, and have been put into paranthesis:
      Like: 'Windows XP SP3 (Wine) 5.1'. Please test.
2009-02-20 12:44:11 +00:00
Viktor Szakats
a663960109 2009-02-20 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    + Added generation of hbmkcfg.hbp.
      gt override, cflags, ldflags and slang/curses libs are
      currently added.
    ; TODO: Add this file to distro packages.

  * utils/hbmk2/hbmk2.prg
    ! Fixed handling of -DHB_EXT_ZLIB.
    ! Fixed handling of -DHB_PCRE_REGEX.
    + Added support for -DHB_POSIX_REGEX.
    ! Removed -mconsole from *nix gccs too.
    + Added new Linux targets mingw and mingwce for future
      cross compiling support.
    + Added remaining system libs for linux, sunos and hpux.
    + Added a more complete set of win system libs for mingw.
      TODO: Some more generic solution needs to be developed
            because currently the win systems libs add by our
            tools are pretty much random across the different
            supported compilers.
    + Added system lib list for mingwce.
    + Path separator translation for mingwce.
2009-02-20 12:26:01 +00:00
Przemyslaw Czerpak
886e51ebfc 2009-02-20 13:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c
    * cleanup comment

  * harbour/source/rtl/gttrm/gttrm.c
    + added support for HB_GTI_PALETTE - it's supported only by Linux console
      and PuTTY/PTerm

  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwvg.c
    ! fixed indexes in
         hb_gtInfo( HB_GTI_PALLETE, <nIndex> [, <nNewRGBcolor> ] )
      They should be the same as in our screen buffer: 0-based not one
      based.
2009-02-20 12:13:05 +00:00