Commit Graph

1630 Commits

Author SHA1 Message Date
Viktor Szakats
78eccb928c 2011-04-16 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
  * contrib/xhb/hbsyslog.c
    + Added Android specific logging support. Untested.

  * contrib/xhb/hbsyslog.c
    ! Disabled syslog() call for Symbian.

  * include/hbsetup.h
    + Added Android OS platform detection. Untested.

  * utils/hbmk2/hbmk2.prg
    % Disabled some very old HB_INSTALL_PREFIX autodetection logic,
      which supports some obsolete looking scenarios when hbmk2 executable
      is not in standard location. Rest of logic and failure detection
      rearranged accordingly. After this step hbmk2 no more requires
      harbour executable to be present next to it.
      IMPORTANT: This is live testing, pls report any problems.
2011-04-16 17:41:23 +00:00
Viktor Szakats
b564959508 2011-04-15 22:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbrun/headers.prg
  * contrib/hbrun/plugins.prg
  * utils/hbmk2/hbmk2.prg
    * formatting on streaminclude directives
2011-04-15 20:29:02 +00:00
Viktor Szakats
2b2549b74a 2011-04-15 10:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
    + added HB_MUTEXEVAL

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/*.po
    + Added note to -l option: 'Do not add core Harbour libraries, they are automatically added as needed.'

  * utils/hbmk2/hbmk2.hbp
    ! Deleted bad hack linking in hbcplr, hbpp, hbcommon on non-mingw
      win compilers.
2011-04-15 08:21:50 +00:00
Viktor Szakats
58d01b9e0e 2011-04-13 03:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added TOFIX. There is a build error caused by gpm, when
      trying to build 64-bit Harbour on a 32-bit Ubuntu (10.10)
      Linux. gpm lib is not available in 64-bit form, but
      32-bit hbmk2 is built flagged with HB_HAS_GPM, so when
      run it will want to include gpm also for 64-bit target.
      I'm not sure what is the solution for this. Ideally
      hbmk2 should dynamically decide if gpm is really required
      for a given target. It could f.e. look into gttrm lib
      to check for this.
      [ though maybe this build scenario is just too awkward
      for any sane purpose, even more so because X11 is also
      not available in 64-bit form, limiting its use even more.
      Probably it's more realistic goal to cross-build 32-bit
      targets on a 64-bit host. ]
2011-04-14 01:16:17 +00:00
Viktor Szakats
c4271f227a 2011-04-13 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/*.po
    + Added -nodefgt[-] cmdline option and nodefgt=[yes|no] .hbc 
      commands. It will disable linkage of default GT when creating 
      statically linked application. It's little hakish solution, 
      so pls be careful when playing with it.
    % Only link to gpm lib if any of GTTRM, GTCRS or GTSLN GTs 
      are actually linked. (it can be useful in conjunction 
      with -nodefgt option)
2011-04-13 20:34:13 +00:00
Viktor Szakats
c45c3e42a0 2011-04-13 21:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! fixed RTE when using invalid GT name from cmdline ('hbmk2 test -gt.')
2011-04-13 19:13:52 +00:00
Viktor Szakats
ef9a6023b3 2011-04-12 04:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * replaced common.ch IS*() macros with hb_is*() functions
2011-04-12 02:00:41 +00:00
Viktor Szakats
787863f658 2011-04-12 03:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed potential RTE occurring at filter expression
      evaluation time (f.e. with filter {x86-64})
    + Added warning (suppressible with -quiet) when any error
      in filter expression formation or evaluation is found.
2011-04-12 01:51:05 +00:00
Viktor Szakats
8b239acf8e 2011-04-12 03:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbm
  - contrib/hbqt/qtgui/gtqtc.h
  - contrib/hbqt/qtgui/gtqtc.cpp
  + contrib/hbqt/gtqtc
  + contrib/hbqt/gtqtc/gtqtc.cpp
  + contrib/hbqt/gtqtc/gtqtc.h
    * Moved readded GTQTC related files to their original 
      position. Please add build files (f.e. from old SVN) 
      and add them to HBQT core makefiles, like f.e. for 
      hbqtsql.
      IMPORTANT: .hbx is not required for any GT, so it's not 
                 needed for GTQTC either.

  * contrib/hbqt/hbqt_common.hbm
  * utils/hbmk2/hbmk2.prg
  * config/bsd/pcc.mk
    * pcc fixups [Tamas Tevesz]

  * utils/hbmk2/hbmk2.prg
    + Added pcc to help screen
  * config/bsd/pcc.mk
    * XXX -> TODO
  * INSTALL
    + Added pcc to more platforms.
2011-04-12 01:34:06 +00:00
Viktor Szakats
237e269ca8 2011-03-30 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Continue if there were no input files specified. This 
      can be useful in some situations.
    * Show warning about no input files only when -info option is used.
    + Consider resource files as valid input files when showing 
      above warning.
2011-03-30 12:45:35 +00:00
Viktor Szakats
b93674121e 2011-03-09 21:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlibgz.c
    ! In block declaration in recent patch.
  * utils/hbmk2/hbmk2.prg
    ! Regression in recent xhb patch.
  * contrib/hbwin/axcore.c
    ! Format warning in trace.
2011-03-09 20:33:32 +00:00
Viktor Szakats
11d87204c3 2011-03-08 08:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Invoke xhb compiler (in -xhb mode) for each input source file, 
      to avoid xhb compiler bugs (like aborting due to too many 
      warnings even if -w0 is used - reported by Pritpal in xhb 2007 Oct 
      version).
2011-03-08 07:59:19 +00:00
Viktor Szakats
746fffd91f 2011-03-07 12:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Two minor fixes to prev.
2011-03-07 11:31:49 +00:00
Viktor Szakats
44ea214552 2011-03-07 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to recognize filters in options having ${} macros, 
      if the filter is placed after the macros.
2011-03-07 11:29:01 +00:00
Viktor Szakats
c61e0f1f83 2011-03-04 00:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/3rd/minizip/minizip.dif
  * contrib/hbmzip/3rd/minizip/ioapi.h
    ! Fixed for cygwin. [Tamas Tevesz]

  * contrib/hblzf/3rd/liblzf/lzfP.h
  * contrib/hblzf/3rd/liblzf/liblzf.dif
    ! Fixed for bcc. [Tamas Tevesz]

  * utils/hbmk2/hbmk2.prg
    ! Fixed to include hbmainstd after converting cygwin from 
      compiler to platform.
    ; QUESTION: should we use hbmainwin for cygwin apps in -gui mode?
2011-03-03 23:12:44 +00:00
Viktor Szakats
7aaaef1362 2011-03-02 04:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
    + Added -pic[-] option and pic= .hbc command to enable PIC.
      It's always enabled when using -hbdyn/-hbdynvm.
    ! Using -fPIC for bsd. (in sync with core make)
    + Added sunos/sparc PIC option, though to really kick in, 
      CPU detection should be implemented, or it should be 
      manually supplied using -cpu=sparc option.
      Please review these.

  * contrib/hblzf/3rd/liblzf/lzf_d.c
  * contrib/hblzf/3rd/liblzf/lzfP.h
  * contrib/hblzf/3rd/liblzf/LICENSE
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hblzf/3rd/liblzf/liblzf.dif
  * contrib/hblzf/3rd/liblzf/Changes
  * contrib/hblzf/3rd/liblzf/README
  * contrib/hblzf/3rd/liblzf/lzf_c.c
    * update lzf to 3.6 [Tamas Tevesz]

  * contrib/hbqt/qtgui/hbqt_init.cpp
    * Renamed HBQT_PUSHEVENT() to HBQTGUI_EVENTPUSH().
    * Commented this new function with a detailed TOFIX note,
      with some notes needing more close inspection.
2011-03-02 03:39:29 +00:00
Przemyslaw Czerpak
09283469f1 2011-03-01 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/win/bcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * disabled W8060 warnings in BCC builds when warning level is set to low

  * harbour/src/rtl/gtwin/gtwin.c
    ! added missing void in hb_gt_win_IsFullScreen() declaration
2011-03-01 10:50:26 +00:00
Przemyslaw Czerpak
701acbb116 2011-03-01 02:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    ! fixed to not use -wcd124 and -wcd136 in OpenWatcom C++ builds

   * harbour/config/win/xcc.mk
     ! added -noexpobj as workaround for problems with creating
       shared library
     * removed now unnecessary $(RM) harbour*.dll

  * harbour/src/rtl/base64d.c
    * pacified warning
    % removed unnecessary condition with RTE - decoded string has to
      be shorter then the source one taken from HVM string item so for
      sure it cannot exceed maximum string item size

  * harbour/src/rtl/base64c.c
    * generate RTE if encode string size is too big 
    * eliminated unnecessary INT_MAX string limit
2011-03-01 01:07:16 +00:00
Przemyslaw Czerpak
7a7f115e85 2011-02-28 18:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/Makefile
    ! fixed list of linked libraries - hbpp and hbcommon libs were
      given explicitly though they are also included in harbour
      shared library. It means that for HB_BUILD_SHARED=yes some semi
      dynamic hbmk2 executable was created with repeated compiled hbpp and
      hbcommon code. The first copy was inside hbmk2 executable file and
      the second one inside harbour shared library (.so, .dyn, .dll, ...).
      This fix should also resolves the problem with missing math library
      when hbmk2 was linked.
2011-02-28 17:13:06 +00:00
Viktor Szakats
eed0e55e34 2011-02-26 23:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to always set -quiet and -info- when --hbdir* or --hbinfo
      options are used.
2011-02-26 22:10:57 +00:00
Viktor Szakats
ed48efd2f3 2011-02-24 19:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    ! make the clean target also remove the newly-created libharbour* symlinks [Tamas]

  * utils/hbmk2/hbmk2.prg
    + Added TODO to eventually delete lib grouping.

  * config/linux/watcom.mk
    - Disabled dynlib creation on linux/watcom, because watcom support
      is broken yet.
2011-02-24 18:34:23 +00:00
Viktor Szakats
ae0cc750c5 2011-02-20 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbformat/utils/hbformat.hbp
  * contrib/hbrun/hbrun.hbp
    - Deleted nxcompat (and friends) flags from local .hbp files.
      They are enabled by config/hbpost.hbm, in more precise manner.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
    - Deleted also from here. (These .hbp files are not used
      by core make.)
2011-02-20 12:50:36 +00:00
Viktor Szakats
1b4d3382a2 2011-02-19 17:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Some more.
2011-02-19 16:26:40 +00:00
Viktor Szakats
dccca678ce 2011-02-19 17:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed "TODO" used as variable names to not collide
      with TODO comments.

  * INSTALL
    * revert.
2011-02-19 16:21:18 +00:00
Viktor Szakats
eccec8c3f5 2011-02-19 10:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted local version of HB_FNAMEDIR().
2011-02-19 09:16:25 +00:00
Viktor Szakats
5b6653c9a4 2011-02-18 23:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.prg
    + Added -F<framework> option to pass OS X/Darwin frameworks to the linker
      (in both hbexe and hbdyn modes)
    + <name.framework> input files will be recognized as OS X/Darwin frameworks.
    + Added support for frameworks= command in .hbc files.

  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    * Replaced manual hack to add QT frameworks on darwin, 
      with new hbmk2 framework options.

  * contrib/sddfb/sddfb.hbc
  * contrib/hbfbird/hbfbird.hbc
    + Added Firebird as framework on darwin.
2011-02-18 22:45:44 +00:00
Viktor Szakats
e4be7fd9c0 2011-02-17 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    + Added TOFIX.

  * src/rtl/hbrandom.c
    ! Fixed type and initialization of a variable.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2011-02-17 12:57:57 +00:00
Viktor Szakats
1165d92e5e 2011-02-11 12:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression in 2011-02-10 23:45 UTC+0100 Viktor Szakats,
      in making .hbmk dir hidden when converting from custom DirBuild() 
      to core hb_DirBuild(). Due to typo the dir was not made hidden.
    ! Fixed to make .hbmk hidden regardless of casing (f.e. on MS-DOS).
2011-02-11 11:22:20 +00:00
Viktor Szakats
af945f7b1f 2011-02-11 07:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Readded REQUEST HB_FSETATTR. It was used in conditional 
      code, so it was not linked on *nix builds, causing 
      failure to run postinst.hbs.

  * src/rtl/hbrandom.c
    * Minor formatting.
2011-02-11 06:48:27 +00:00
Viktor Szakats
bf35e61a95 2011-02-10 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % PathMakeAbsolute() converted to macro.
2011-02-10 22:56:45 +00:00
Viktor Szakats
14ad15149a 2011-02-10 23:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed to use core filename functions.
      (except hb_PathMakeAbsolute() to hb_PathJoin())

  * contrib/hbqt/hbmk2_qt.hbs
    * Changed hbmk2_*() API calls to Harbour core functions.
      If you have hbmk2 plugins, pls make these API changes:
         hbmk2_cwd()                    -> hb_cwd()
         hbmk2_PathMakeAbsolute( r, a ) -> hb_PathJoin( a, r )
         hbmk2_PathNormalize( ... )     -> hb_PathNormalize( ... )
         hbmk2_PathMakeRelative( ... )  -> hb_PathRelativize( ... )
         hbmk2_DirAddPathSep( ... )     -> hb_DirSepAdd( ... )
         hbmk2_DirDelPathSep( ... )     -> hb_DirSepDel( ... )
         hbmk2_DirBuild( ... )          -> hb_DirBuild( ... )
         hbmk2_DirUnbuild( ... )        -> hb_DirUnbuild( ... )
         hbmk2_FNameDirGet( ... )       -> hb_FNameDir( ... )
         hbmk2_FNameNameGet( ... )      -> hb_FNameName( ... )
         hbmk2_FNameNameExtGet( ... )   -> hb_FNameNameExt( ... )
         hbmk2_FNameExtGet( ... )       -> hb_FNameExt( ... )
         hbmk2_FNameExtDef( ... )       -> hb_FNameExtSetDef( ... )
         hbmk2_FNameExtSet( ... )       -> hb_FNameExtSet( ... )

  * contrib/hbide/idesaveload.prg
    ! Missed to change one function to core version in
      2011-02-10 13:33 UTC+0100.
2011-02-10 22:47:42 +00:00
Viktor Szakats
64eec33e40 2011-02-10 19:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- src/dynlib/mt
  * src/dynlib/Makefile
  * src/vm/maindllp/dllpcode.c
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
  * config/global.mk
  * config/bin.mk
    * Changed to have only one harbour dll, and this one with MT support.
      This means the old MT mode dll named harbourmt/harbourm is no more
      and the old ST mode dll vanished also. This will result in much 
      cleaner layout of Harbour binary tree, smaller distribution size, 
      and unambigous dll tree when linking an app with dll multiple 
      components (f.e. contribs).
      If someone wants to build an ST mode harbour dll, she can use the 
      internal build-time option: _HB_BUILD_DYN_ST=yes
    ; Please test.

    ; TODO: Do a final cleanup on internal variable names to not have "ST" in them.
2011-02-10 18:21:32 +00:00
Viktor Szakats
96ec4a7825 2011-02-10 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbrun/hbrun.prg
  * config/postinst.hbs
  * bin/hb3rdpat.hbs
    * Using new filename handling functions from core.
    % Deleted redundant local copies of these functions.

  * utils/hbmk2/hbmk2.prg
    + REQUESTing new filename handling function till they are
      used in hbmk2 too.
    ; TODO: Make the switch in hbmk2 too.
2011-02-10 12:34:30 +00:00
Viktor Szakats
19db5041b5 2011-02-10 12:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbmagic/hbmagic.hbp
  * contrib/hbmagic/hbmagic.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/hbcairo/hbcairo.hbc
    + Added libpaths for darwin.
    + Added libmagic detection on darwin.

  * contrib/hbgd/hbgd.hbc
    ! Fixed libpath option for darwin.

  * utils/hbmk2/hbmk2.prg
    * Add watt lib path to path list only if exists.
    * Add -L and libpaths= values to path lists only if they exist.
    ! Fixed option order in dynlib libtool command for darwin.
2011-02-10 11:20:55 +00:00
Viktor Szakats
fab0c1bad0 2011-02-10 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + switched to use libtool for lib assembly with all darwin
      compilers (was gcc only + TODO)
    + switched to use libtool for dynlib assembly with all darwin
      compilers (instead of compiler)
    + Added '-flat_namespace -undefined suppress -single_module'
      options for dynlib assembly. Now in sync with core build.
    ; Pls test. I didn't test if the created .dylibs actually work.

  * contrib/hbpost.hbm
    - Deleted now unecessary manual darwin dylib options.
2011-02-10 08:38:41 +00:00
Viktor Szakats
9d4a1b44d7 2011-02-10 01:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Tweak to self name filter.

  * contrib/hbpost.hbm
    ! Added options for darwin to make dynlib building work again
      after the -hbdynvm/-hbdyn change last year.
      ; TODO: Move these to hbmk2. Also maybe it'd be better to 
              use libtool there, like in core Harbour build.
    + Added dynlib internal name and version info.

  * contrib/hbodbc/hbodbc.hbc
  * contrib/sddodbc/sddodbc.hbc
    + Added odbc lib name for darwin.
2011-02-10 00:32:24 +00:00
Viktor Szakats
aa47c146e0 2011-02-09 14:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Also exclude self from lib list on *nix systems.
    + Try harder to detect self lib by stripping all extensions in the name.
2011-02-09 13:40:21 +00:00
Viktor Szakats
c05dd197d9 2011-02-09 13:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    ! Do not create dynamic version of 3rd party dependencies hosted 
      locally. It should fix some problems on *nix builds with 
      HB_BUILD_CONTRIB_DYN=yes.

  * contrib/hbrun/hbrun.hbp
    + -o option.

  * utils/hbmk2/hbmk2.prg
    + Added dynlib dir + prefix to --hbinfo output.
2011-02-09 12:47:35 +00:00
Viktor Szakats
38dba3eec7 2011-02-09 03:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + REQUESTed some functions needed by postinst.hbs.
    + Added .hbs/.hrb capbility to help notes.
2011-02-09 02:23:56 +00:00
Viktor Szakats
0eedcc3e20 2011-02-09 02:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/hbrun/hbrunext.hbp
  + contrib/hbrun/hbrun.prg
  + contrib/hbrun/hbrun.hbp
  + contrib/hbrun/hbrun.1
  * config/postinst.hbs
  - utils/hbrun
  * utils/Makefile
    * Moved hbrun to contrib area.
    ; Now it can contain any contrib libs.
2011-02-09 01:28:20 +00:00
Viktor Szakats
c207984879 2011-02-09 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
   - contrib/hbrunext
   + contrib/hbrun
   * doc/dirstruc.txt
     * Renamed hbrunext to hbrun. Step #1.

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    ! One English word.
2011-02-09 01:12:58 +00:00
Viktor Szakats
f6c7dde00c 2011-02-08 23:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  * contrib/Makefile
    + Changed script runner tool to hbmk2 (from hbrun).
      So now hbrun is not required for build process.

  * utils/Makefile
  * package/harbour.spec
  * INSTALL
    * Changed to reflect that now hbmk2 runs the build scripts.

  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
    + Added hbrun_ProgrName() function to return runner executable name.
2011-02-08 22:23:10 +00:00
Viktor Szakats
2425da0075 2011-02-08 22:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental hbrun script runner "emulation" to hbmk2.
      With a few differences:
      - there is no interactive console
      - it works only if filename with .hbs or .hrb is passed as first parameter
        (which present a minor incompatibility for those using hbmk2
        to compile .hbs scripts to executables)
      - the default GT environment for scripts is GTCGI.
      - scripts may request interactivity with HBRUN_GTINTERACTIVE()
        function call. This will switch mode to GTWIN/GTTRM/GTDOS/GTOS2
        depending on platform. Though interactive functions linked into
        hbmk2 are very limited.
      - only a limited set of functions and headers are available,
        those which may be useful for cmdline apps.
        (which means hbmk2 size didn't grow significantly after this
        commit)
    ; The goal is to make it possible to replace hbrun with hbmk2
      for Harbour build related scripts, and other simple user scripts.

  * utils/hbrun/hbrun.prg
    * Minor cleanups.
    * Using HB_PROGNAME() instead of HB_ARGV( 0 )
2011-02-08 21:30:08 +00:00
Viktor Szakats
0a54752987 2011-02-08 00:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    + Instead of adding "(UNICODE)" marker in build info for UNICODE 
      builds, now it will add "(WINANSI)" for non-UNICODE builds.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    * Using more hb_StrFormat()

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    * Tweak to one cmd help.

  * utils/hbrun/hbrun.prg
    * Formatting.
2011-02-07 23:58:47 +00:00
Viktor Szakats
1c6e0d342a 2011-02-07 10:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Do not add .hbx file to input file list if the file doesn't
      exist. This is to resolve the chicken-egg problem when
      initially creating the .hbx file for a new project.
    ! Never use .hbx filename for forming the output name
      and deciding about startup module.

  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    + Do not add duplicates to extern list.
      (it may have only happened if renaming sources and 
      building without clean)
2011-02-07 09:56:13 +00:00
Viktor Szakats
8ab2bf32b2 2011-02-06 11:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrunext/hbrunext.hbp
  * contrib/hbrunext/pullext.prg
  * utils/hbrun/hbrun.prg
    + Will now show the list of available extensions if any is linked.

  * INSTALL
    * watt homepage update. [Tamas]
2011-02-06 10:14:33 +00:00
Viktor Szakats
775f8ef05a 2011-02-05 16:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Updated to use hbmk2 to create hbx files.

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

  * contrib/hbblink/hbblink.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * Refinements in hbx related console feedback.
2011-02-05 15:53:17 +00:00
Viktor Szakats
54e339c0af 2011-02-05 14:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
    + Added hbrunext to contrib list, so it's now built for everyone.
    ; It also builds nicely using full shared mode (on win platform
      with '-env:__HB_DYN__=_dll -shared' options). .exe is 1MB with
      mingw.
      But, there is one catch, harbourmt.dll and harbour.dll are mixed 
      (mt pulled by hbrunexp, st pulled by contrib dlls),
      which is tricky business. What's best solution for this? (Obviously,
      building both ST and MT versions of all .dlls doesn't seem like
      a very good idea)

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    + Added 'requests=' command to .hbc files.

  * utils/hbrun/hbrun.prg
    + Added my name to copyright banner.
2011-02-05 13:04:57 +00:00
Viktor Szakats
05864cbb94 2011-02-05 11:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
    ! Updated rddbm name.

  * contrib/hbmxml/hbmxmlx.prg
  * contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiffx.prg
  * contrib/hbexpat/hbexpatx.prg
    + Added manual #define __HBEXTREQ__

  * contrib/hbgt/hbgt.hbp
  + contrib/hbgt/hbgt.hbx
  * contrib/hbblink/hbblink.hbp
  + contrib/hbblink/hbblink.hbx
  * contrib/hbsms/hbsms.hbp
  + contrib/hbsms/hbsms.hbx
  - contrib/hbsms/hbsms.prg
  + contrib/hbsms/sms.prg
  * contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbnf/hbnf.hbp
  + contrib/hbnf/hbnf.hbx
  * contrib/hbfship/hbfship.hbp
  + contrib/hbfship/hbfship.hbx
  * contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbhpdf/hbhpdf.hbp
  + contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbclipsm/hbclipsm.hbp
  + contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbmisc/hbmisc.hbp
  + contrib/hbmisc/hbmisc.hbx
  + contrib/hbcomm/hbcomm.hbx
  * contrib/hbcomm/hbcomm.hbp
  - contrib/hbcomm/hbcomm.prg
  + contrib/hbcomm/comm.prg
    + Added .hbx files and included them in .hbp.
    * Renamed sources with colliding (with .hbx) names.
2011-02-05 10:05:46 +00:00
Viktor Szakats
eafb6f595d 2011-02-05 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Add -D__HBEXTREQ__ whenever an .hbx module is present in a project.

  * contrib/hbpost.hbm
    - Delete manual -D__HBEXTREQ__. Now automatic.
2011-02-05 09:43:16 +00:00