Commit Graph

1800 Commits

Author SHA1 Message Date
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
Viktor Szakats
3e640f36a4 2011-02-05 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/hbextern.hbs
    + Now generates code which makes it possible to use __HBEXTREQ__
      macro to compile .hbx as extern puller module. So no extra
      .prg is needed for that.

  * contrib/hbpost.hbm
    + Define __HBEXTREQ__

  * contrib/hbunix/hbunix.hbp
  + contrib/hbunix/hbunix.hbx
    + Added extern puller (now without extra .prg)

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    + Added hbunix for *nix builds.

  * contrib/hbct/hbct.hbx
  * contrib/hbmxml/hbmxml.hbx
  * contrib/hbxbp/hbxbp.hbx
  * contrib/hblzf/hblzf.hbx
  * contrib/hbxdiff/hbxdiff.hbx
  * contrib/hbwin/hbwin.hbx
  * contrib/xhb/xhb.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbx
  * contrib/hbxpp/hbxpp.hbx
  * contrib/rddads/rddads.hbx
  * contrib/hbgd/hbgd.hbx
    * Regenerated.

  ; TODO: Optimize out extern puller .prgs.
2011-02-05 08:22:50 +00:00
Viktor Szakats
2e27f33285 2011-02-04 18:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -request= option to force linking any custom function/procedure 
      to target executable.

  * contrib/hbrunext/hbrunext.hbp
    * Replaced small hack using -main= to force linking, with -request= option.
2011-02-04 17:27:14 +00:00
Viktor Szakats
4d140dc2d6 2011-02-03 22:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * Renames in new path/fn handling functions.
      * HB_FNAMEDIRGET()     -> HB_FNAMEDIR()
      * HB_FNAMENAMEGET()    -> HB_FNAMENAME()
      * HB_FNAMENAMEEXTGET() -> HB_FNAMENAMEEXT()
      * HB_FNAMEEXTGET()     -> HB_FNAMEEXT()
      * HB_FNAMEEXTDEF()     -> HB_FNAMEEXTSETDEF()

  ; Patch from Tamas:

  * src/rtl/hbcom.c
    + adds minix serial device names to hbcom

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE regression in previous recent minix patch.

  * config/dos/djgpp.mk
    ! Applied previous C++ gcc flag patch also to djgpp.
2011-02-03 21:44:01 +00:00
Viktor Szakats
132069d802 2011-02-03 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/vxworks/gcc.mk
  * config/minix/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    ! Separate -Wimplicit-int and -Wimplicit-function-declaration 
      so that they are added to cflags only when not in cpp mode.
    ; Patch by Tamas.
2011-02-03 17:14:19 +00:00
Viktor Szakats
cac8327c29 2011-02-03 09:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * INSTALL
    + Minix additions.

  * config/global.mk
    ! Added missing 'else' after prev.
2011-02-03 08:47:48 +00:00
Viktor Szakats
93e1f182c4 2011-02-03 09:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbatomic.h
  * include/hbfloat.h
  * src/vm/task.c
  * src/common/hbgete.c
  * src/common/hbver.c
  * src/common/hbprintf.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/hbsocket.c
  * utils/hbmk2/hbmk2.prg
  * config/detplat.mk
  * config/global.mk
  * config/detect.mk
  + config/minix
  + config/minix/libs.mk
  + config/minix/gcc.mk
  + config/minix/ack.mk
  + config/minix/global.mk
    + Added Harbour port for minix 3 operating system.
    ; Created by Tamas Tevesz. Many thanks!
2011-02-03 08:20:28 +00:00
Viktor Szakats
58dff21164 2011-02-02 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -manifest= hbmk2 option for -hbexe/-hbdyn targets on
      Windows platform. (all compilers supported)
      Pls test.
    ; To generate manifests with -hbdyn and pocc/msvc compilers,
      use -dflag=-manifest (or any other manifest related options
      their linker support)
    ; TOFIX: bcc's resource compiler doesn't work in -inc mode.
2011-02-02 17:16:12 +00:00
Viktor Szakats
803e501a35 2011-02-02 11:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added "nCOMPVer" variable for hbmk2 plugins. This returns
      C Compiler version, which currently gives results for 
      mingw and msvc.
2011-02-02 10:18:27 +00:00
Viktor Szakats
6e59779eea 2011-02-01 19:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Implemented experimental link script for mingw compilers with
      -hbdyn targets. If it works out it can be extended to -hbexe
      outputs, too. With further work it can be extended for os2 and
      dos platforms. I will only do this if someone actually
      reports such problems and can do tests.
    ; Please retest mingw build with HBQT contrib enabled, long HB_BUILD_NAME,
      and HB_BUILD_CONTRIB_DYN=yes, and also normal cases.
2011-02-01 18:09:40 +00:00
Viktor Szakats
3d8f0d9b7d 2011-02-01 17:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Adding clib3s lib to system lib list for win/watcom when
      in -hbdyn mode. This is to fix link errors of 3rd (non-Harbour)
      dynamic libs in HB_BUILD_CONTRIB_DYN=yes mode.
      I have no idea why it's needed, so please extended or tweak
      this fix if you have a better understanding of it.
      (maybe the lib should be add for all platforms, or for
      all link modes, etc)

  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    + Enabled for win/watcom. I don't know since when it builds and
      what fixed it, so it's possible it's still broken with older
      watcom verions. Now it builds fine with 1.9.

  ; TOFIX: watcom still has problems with missing externals when
           building hbwin dll:
              Error! E2028: IID_IDispatch is an undefined reference
              Error! E2028: IID_IOleObject is an undefined reference
              Error! E2028: IID_IUnknown is an undefined reference
              Error! E2028: GUID_NULL is an undefined reference
              Error! E2028: IID_IProvideClassInfo2 is an undefined reference
              Error! E2028: IID_IProvideClassInfo is an undefined reference
              Error! E2028: IID_IConnectionPointContainer is an undefined reference
              Error! E2028: IID_IEnumVARIANT is an undefined reference
           gtwvg dll:
              Error! E2028: IID_IPicture is an undefined reference
           and hbodbc dll:
              Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference
           Any idea?
2011-02-01 16:35:32 +00:00
Viktor Szakats
e7ff8f5a0d 2011-02-01 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Keep order of filter lists.
    
  * utils/hbmk2/hbmk2.prg
    ! Use _hbmkcpp_<cFirstFile>.cpp (instead of _hbmkcpp.cpp) on
      non MS-DOS platforms.
2011-02-01 00:56:49 +00:00
Przemyslaw Czerpak
f8d7ed8b18 2011-02-01 01:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! do not use the first source file name to set hbmk[ _HBMK_cPROGNAME ]
      when -gh switch is used - in such case multiple files are generated
      so there is no single output file.
    + added support for incremental builds when -gh option is used
    ! clean .hrb files when -gh and -clean options are used
    ! clean .ppo, ppt and .pot files when -clean option is used in
      incremental mode.
    ! use _hbmkaut_<cFirstFile>.[r]c instead of _hbmkaut.[r]c on
      non DOS platforms to resolve name conflicts in multitarget builds
    % do not check dependencies when -clean option is used
    % do not rebuild/update .po files when -clean option is used
    * added info message "Target(s) up to date." when none of
      .hrb file have to be rebuild in -inc mode
    ; TODO: copy .hrb files created in -workdir to output directory
      specified by -o option or to the current one
    ; NOTE: please verify above modifications
2011-02-01 00:09:01 +00:00
Viktor Szakats
c7a2b185d6 2011-01-31 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/dirdrive.c
    + Added HB_DIRCREATE(), which is same as MAKEDIR() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.
    + Added HB_DIRDELETE(), which is same as DIRREMOVE() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.

   * contrib/hbnetio/tests/netiotst.prg
   * contrib/hbnetio/tests/netiot03.prg
   * contrib/hbfimage/tests/fitest.prg
   * contrib/hbide/idesaveload.prg
   * utils/hbmk2/hbmk2.prg
   * utils/hbrun/hbrun.prg
   * tests/wcecon.prg
   * tests/flink.prg
   * bin/hb3rdpat.hbs
   * examples/hbdoc2/gentpl.prg
     * Replaced MakeDir() with universally available hb_DirCreate().
     ; TODO: same in config/postinst.hbs (delayed to avoid a million
             false bug reports)

  * src/rtl/Makefile
  + src/rtl/hbfilehi.prg
    + Added generic file/dir/path handling functions.
      They are taken from hbmk2 code, added parameter checking,
      did two minor change to DirBuild() to be generic,
      renamed to have HB_ prefix.
      Please note the parameter list and any details are
      subject to change yet, IOW these APIs are not yet finalized:

         hb_cwd() -> <cPath>
         hb_PathNormalize( <cPath> ) -> <cPath>
         hb_PathMakeAbsolute( <cPathRel>, <cPathAbs> ) -> <cPath>
         hb_PathMakeRelative( <cPathBase>, <cPathTarget>, <lForceRelative> ) -> <cPath>
         hb_DirAddPathSep( <cDir> ) -> <cDir>
         hb_DirDelPathSep( <cDir> ) -> <cDir>
         hb_DirBuild( <cDir> ) -> <lSuccess>
         hb_DirUnbuild( <cDir> ) -> <lSuccess>
         hb_FNameDirGet( <cFileName> ) -> <cDir>
         hb_FNameNameGet( <cFileName> ) -> <cName>
         hb_FNameNameExtGet( <cFileName> ) -> <cNameExt>
         hb_FNameExtGet( <cFileName> ) -> <cExt>
         hb_FNameExtDef( <cFileName>, <cDefExt> ) -> <cFileName>
         hb_FNameExtSet( <cFileName>, <cExt> ) -> <cFileName>
         hb_FNameDirExtSet( <cFileName>, <cDirNew>, <cExtNew> ) -> <cFileName>

    ; TODO: Review, clean interface.
    ; TODO: Use these functions in .hbs files, utils, hbide.

  * include/harbour.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * One internal function renamed.
2011-01-31 14:49:20 +00:00
Przemyslaw Czerpak
d3fda49df8 2011-01-31 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! small fix in FN_FromArray() which caused that relative paths were
      converted to the root directory, i.e. -workdir=. was not working
      correctly
2011-01-31 12:00:58 +00:00
Viktor Szakats
9528cb877a 2011-01-31 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Enabled to use link scripts with msvc compilers, to avoid 
      too long cmdline problems. (experienced when creating 
      qtgui lib in dynamic version (HB_BUILD_CONTRIB_DYN=yes) 
      with HB_BUILD_NAME set to a longer name, so it was quite 
      a stress case and should not cause a problem for most 
      users.)
2011-01-31 08:51:22 +00:00
Przemyslaw Czerpak
0e49bea8f9 2011-01-31 00:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed to not strip path in .d dependencies list for files included
      from -I<directories>

  * harbour/utils/hbmk2/hbmk2.prg
    % do not use FindHeader() for dependencies list extracted from .d
      files - they should contain full paths so it's not necessary
2011-01-30 23:54:38 +00:00
Viktor Szakats
f13db9bff6 2011-01-29 20:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.*.po
    ! Fixed RTE in FindNewerHeaders() when using autohbc feature.
      (it's regression from around 2010-08-05 15:58 UTC+0200 Viktor Szakats)
    + Added -head=dep option to help.
2011-01-29 19:29:55 +00:00
Przemyslaw Czerpak
e0f6cdda77 2011-01-29 18:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixed dependences checking for -head=full and @.clp files
    + added automatic dependencies checking for .prg files using .d
      files generated by harbour compiler (-head=dep)
    ; TODO: extend it for .c files and GCC based compilers
2011-01-29 17:50:40 +00:00
Viktor Szakats
3572482250 2011-01-29 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    * Internal var renamed to reflect its type.

  * src/rtl/einstvar.prg
  * src/rtl/einstv52.prg
    * Fixed to use manifest constants.

  * utils/hbrun/hbrun.prg
    ! Fixed to allow case-insensitive match for headers on 
      non-*nix platforms.
2011-01-29 15:26:56 +00:00
Przemyslaw Czerpak
5e2d58dff3 2011-01-29 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! remove .d files from .hbmk working dir when -clean option is used
    ! do not ignore dependencies list read from .d files
    * check dependencies specified by .d files for .c and .o files
      generated from .prg ones
    % some minor optimizations
    ; TOFIX: it's not safe to call FindNewerHeaders() with 3-rd parameter
             set to NIL (RTE) and HBMK2 does it when -autohbc option is used
2011-01-29 13:01:10 +00:00
Viktor Szakats
f000df1353 2011-01-28 21:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.hu_HU.po
    ! Minor fix.

  * utils/hbmk2/hbmk2.prg
    ! Resolved TOFIXes related to cygwin.
    + Added -head=dep option. Nothing fancy, just making room for it.
2011-01-28 20:42:09 +00:00
Viktor Szakats
f07d02c3a0 2011-01-28 11:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Changed to use hb_milliSeconds() to measure build time
      when using -debugtime option. This will now work precisely
      for builds taking more than 1 day.
2011-01-28 10:03:57 +00:00
Viktor Szakats
9cc967e87b 2011-01-28 01:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Cleaned up Harbour build specific information in generated
      comment.
2011-01-28 00:35:56 +00:00
Viktor Szakats
49a19f18d0 2011-01-28 01:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for creating extern headers in .hbx.
      It's currently only supported for static libs (-hblib mode),
      and only for gcc based compilers (can be extended to all
      platorms where 'nm' tool is available), msvc, pocc, watcom
      and bcc compilers. Some of these have not been tested.
      The feature implements the same functionality which already
      exists in Harbour build system (enabled with HB_REBUILD_EXTERN=yes),
      but now integrated into hbmk2 and with few minor enhancements.
2011-01-28 00:28:31 +00:00
Viktor Szakats
fa950fae9c 2011-01-23 10:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Minor typo in help text.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    + Updated from source.

  * contrib/hbmxml/tests/rem.xml
  * contrib/hbmxml/tests/rem_err.xml
    ! Added missing EOL @ EOF.

  * contrib/hbunix/hbposix.h
    + Added generic macro to accept both logical and numeric type for
      boolean-like input parameters.

  * contrib/hbunix/tests/testdmn.prg
  * contrib/hbunix/daemon.c
    + UNIX_DAEMON(): Changed to accept numeric value for logical parameters.
    + UNIX_DAEMON(): Changed to return numeric value.
    ; Patch by Tamas.
2011-01-23 09:24:47 +00:00
Viktor Szakats
e259115990 2011-01-15 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for .def input files when creating executable targets.
    ; Please test it.
2011-01-15 19:03:55 +00:00
Przemyslaw Czerpak
c0b28bd5da 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * do not inherit in macrocompiler -z compile time switch when -kc is
      also used

  * harbour/src/common/expropt2.c
    * disable logical expression optimization (reduction) in macrocompiler
      when -kc compile time switch is used.

  * harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * enable some important warnings in GCC builds using -W<name>... instead
      of -Wall and -Wno-<name>... for warning level set to low.
      It should help in backward compatibility with some older GCC versions.
2011-01-15 00:15:42 +00:00
Przemyslaw Czerpak
7941a797a7 2011-01-14 10:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warnings are not enabled with GCC based compilers.
      Using only -W only is rather useless because this switch enables
      warnings which can be usually ignored in 3-rd party code.
      This modification should help in locating bugs introduced by us
      to 3-rd party code, i.e. due to wrong header files used on some
      platforms (we do not use autoconf assuming some default settings
      what can be wrong in some cases). It should also not hide some
      important/critical bugs in 3-rd party code.
      This modification pacifies some common warnings which can be
      ignored usually but it also enables some more important ones.
      If it's necessary then we can tune it a little bit more and disable
      some other warnings too.
      It's possible that on some platforms using very old GCC versions
      some of -W* switches are not supported - please make tests and
      inform us about problems.

  * harbour/utils/hbmk2/hbmk2.prg
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warning level is set to low with GCC based
      compilers
2011-01-14 09:13:06 +00:00
Viktor Szakats
e8c841d7c9 2011-01-08 11:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  + contrib/hbformat
  - utils/hbformat
  * utils/Makefile
    * Moved hbformat to contrib area.
2011-01-08 10:46:21 +00:00
Przemyslaw Czerpak
058d080c64 2010-12-17 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    * removed dummy assignment

  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplwin.c
    ! fixed one message translation

  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN='no'

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when warning level is low
2010-12-17 01:00:28 +00:00