Commit Graph

884 Commits

Author SHA1 Message Date
Viktor Szakats
e5828302a8 2009-06-22 13:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.hbp
  + utils/hbrun/hbrun.rc
  + utils/hbrun/hbrun.ico
    + Added Harbour icon to hbrun executable (on Windows).
      Thanks to Vailton Renato for the .ico.
2009-06-22 11:35:24 +00:00
Przemyslaw Czerpak
021fe7e736 2009-06-22 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixes in blinker file processing
2009-06-22 10:45:51 +00:00
Viktor Szakats
bedb77d795 2009-06-22 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
    * Refreshed from source.

  * utils/hbmk2/hbmk2.prg
    + Added support for Blinker commands MAP and NOBELL. (untested)
    + upx.exe is recognized and used if put in directory of hbmk2.exe.
    ! used upx executable name now depends on host platform rather
      than target platform. This may allow using it in cross-platform
      situations (I'm not sure if Linux UPX supports compressing Windows
      executables).
    - Deleted some TOFIX/TODO comments which are no longer relevant.

  * contrib/xpp/xpp.ch
    + Added IsPrinter() translation.
2009-06-22 09:26:53 +00:00
Viktor Szakats
4e153b2773 2009-06-21 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added iccia64 build example.

  * source/vm/fm.c
    + Added C++ new/delete operator override to hb_xgrab()/hb_xfree().
      Thanks to Xavi.
      Please make any required correction, I didn't do tests with it.

  * utils/hbmk2/hbmk2.prg
    + Added support for linux/icc compiler. (untested)
    ; Tested win/icc support (static exe, shared exe, lib, dll).
      It worked, except that in shared mode it will display this,
      when the MinGW built .dll is used (instead of its own):
      Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
2009-06-21 18:56:11 +00:00
Viktor Szakats
2d4dab5875 2009-06-21 13:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
  * utils/hbmk2/hbmk2.prg
    * Updated to reflect new mingw w64 CCPREFIX. It's now in
      "prerelease" state (formerly "experimental")

  * INSTALL
    ! Added missing HB_CCPREFIX for mingw64 and mingwarm examples.
2009-06-21 11:15:20 +00:00
Viktor Szakats
a1e51d358e 2009-06-21 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    ! Fixed for non-debug. Currently it's suboptimal as non-debug
      mode will generate extra code in binaries.
    ; TOFIX
    + Added non-Windows specific debug mode by enabling __HB_NOWINDEBUG__
      macro. This may change in the future to the default, also
      names may change in the future.

  * contrib/hbqt/hbqt_utils.cpp
    * hb_par*() -> hb_parv*()

  * utils/hbmk2/hbmk2.prg
    % Minor opt to prev.
2009-06-21 08:35:58 +00:00
Viktor Szakats
1773bd8474 2009-06-20 17:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental filename escaping for *nix systems.
      Currently only space is escaped. I'd like to ask *nix
      users to make that complete.
      TODO: For speed and completeness, maybe such escaping (quoting) 
            function would come handy in RTL. Przemek, it would be 
            great if you could add one if you agree.
      TODO: It should also be enabled for linux/watcom, but
            I cannot test this.
    ! Minor addition to Windows escaping in ArrayToList().
2009-06-20 15:28:27 +00:00
Viktor Szakats
5b9c36c33a 2009-06-20 16:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Reworked space in filename support to be generic. Now all
      Windows compilers have it turned on, and this is the only
      mode of escaping currently implemented (it may also need
      to be revised).
      For MinGW it's only turned on when host and target are
      both Windows. Notice that MinGW has a few bugs regarding
      filename handling, which means you cannot use spaces
      in Harbour install path when also using input resource
      files and you cannot use spaces as input lib names.
    + Added space in filename support for external Harbour
      compiler.
    ! Fixed not to create working dir, if it's set empty.
    * Minor formatting/cleanup.
2009-06-20 14:59:38 +00:00
Viktor Szakats
85a8bd7753 2009-06-20 12:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added win/pocc* and win/watcom support for input/output
      filenames containing spaces.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Fixed a warning.

  * ChangeLog
    * Item marked DONE.
2009-06-20 10:16:47 +00:00
Viktor Szakats
501f87d383 2009-06-20 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for input/output filenames containing spaces.
      Only for msvc and bcc so far.
    ! Fixed to always delete target lib in -hblib + non-incremental mode
      before creating it.
    + Small miracles of life: Microsoft finally added /nologo switch to
      resource compiler in MSVC 2010. Hard to believe, but true. Now
      I'll have to find out what method to use to detect C compiler
      version to enable it.
    + Support for HB_COMPILER_VER envvar to tell hbmk2 what C compiler
      version is expected. Currently only used with MSVC targets.
      Use values like:
        - 710  (for MSVC .NET 2003)
        - 800  (for MSVC 2005)
        - 900  (for MSVC 2008)
        - 1000 (for MSVC 2010)
      The generic format is <99><99>[.<99>] as <major><minor>[.<revision>].
      That makes BCC 5.5.1 '505.1' or shortly '505'.
      Currently the only situation where such switch is necessary is when
      using pre-8.0 MSVC versions, so most users don't have to bother with
      this for now.
      NOTE: Harbour GNU Make compatible HB_VISUALC_VER_PRE80 envvar still
            supported to stay uniform.
    + Added /nologo switch to MSVC lib command.
    ! Protect against adding internally inherited C compiler switches,
      if they are already on the switch list.

  * tests/testhrb.prg
    ! Adapted to latest hbhrb.ch changes.

  * tests/setkeys.prg
    * Minor formatting.
2009-06-20 09:37:56 +00:00
Viktor Szakats
393d6086f2 2009-06-19 23:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + .hbl files will be created relative to target executable
      directory if it was specified. If not, it will be created 
      relative to .hbm file dir, or hbmk2 launch dir (as before).
2009-06-19 21:07:11 +00:00
Viktor Szakats
e883b1facd 2009-06-19 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Enabled 'comp' subdir for embedded C compiler storage
      (on Windows / DOS / possibly OS/2).
2009-06-19 19:57:32 +00:00
Viktor Szakats
cebc3f8997 2009-06-19 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
    ! Fixed to not use HB_CCPREFIX for libtool command.

  * utils/hbmk2/hbmk2.prg
    ! Fixed typo in libtool cmd.

  * ChangeLog
    * Items marked DONE.
2009-06-19 13:15:14 +00:00
Viktor Szakats
2afa463b34 2009-06-19 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added basic HB_CCPOSTFIX support.
    + Switched to use libtool (instead of ar) on darwin.
      (to be tested after commit)

  * config/darwin/gcc.cf
    + Added HB_CCPREFIX support.
    + Added HB_CCPOSTFIX support.
    ; Only needed for cc/gcc.

  * config/linux/gcc.cf
    + Added HB_CCPREFIX support.
2009-06-19 12:52:14 +00:00
Viktor Szakats
1c20b41cc2 2009-06-19 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/Makefile
  * include/Makefile
  * include/hbhrb.ch
  * source/vm/runner.c
    ! Added new files to Makefiles.
    ! Fixed to use hbhrb.ch from .c rather than replicating #defines.
      (also fixed comments to be ANSI)
    ! Added self protection to .ch.
    ! Made .hrb file lowercase in testhrb.prg
    ! Deleted double license header from .ch.

  * utils/hbmk2/hbmk2.prg
    + Added logic to move embedded compilers under a common subdir.
      To stay compatible with 2.0.0beta1 release I didn't yet set
      this, but it will be for final release.
      Probably 'comp', or maybe 'opt'. Sorry for asking for opininons,
      but they're welcome anyway.
2009-06-19 09:33:42 +00:00
Viktor Szakats
b9c7b1d25d 2009-06-19 00:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression from 2009-06-16 15:03 UTC+0200.
      Thanks Marek.
2009-06-18 22:17:47 +00:00
Viktor Szakats
c329dc7499 2009-06-18 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -skip option support to .hbm files.
2009-06-18 16:18:47 +00:00
Przemyslaw Czerpak
d364d762d9 2009-06-17 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    * extended -n2 to work also with code without starup procedure but with
      local variables

  * harbour/utils/hbrun/hbrun.prg
    + added -n2 to compiler parameters when .prg file is compiled and
      executed. It allows to use with hbrun .prg files with and without
      startup procedure
2009-06-17 11:56:30 +00:00
Viktor Szakats
41979f5b60 2009-06-17 08:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for rest of embedded compiler installations:
      pocc64, poccarm, dos/watcom. Since these share a common
      install kit with other targets, they can only be selected
      using -comp= switch and in this case they will be used
      if the installation is present.

  * contrib/hbwin/win_misc.c
    + Added support for embedded Chr(0) to WIN_ANSITOWIDE() and
      WIN_WIDETOANSI().
    ! Fixed WIN_ANSITOWIDE(). Dunno when it worked the last time,
      but it must be long ago (SysStringLen() was returning zero).

  * contrib/hbwin/Makefile
  * contrib/hbwin/win_misc.c
  + contrib/hbwin/wapi_shellapi.c
    * Moved and renamed WIN_SHELLEXECUTE() to WAPI_SHELLEXECUTE()
      since this implementation is a full wrapper of original
      Windows API. Incompatible. Please update your sources.

  * contrib/hbwin/legacyco.c
    * Formatting.
2009-06-17 06:34:57 +00:00
Viktor Szakats
0a25e75b8f 2009-06-16 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added preliminary support for autosetup for several more
      compilers: win/watcom, win/pocc, win/pocc64, wce/poccarm,
      dos/djgpp, dos/watcom.
      Only these were tested: dos/djgpp, win/watcom, win/pocc.
      This means it's now possible to "bundle" DJGPP, watcom or
      pocc _compiler tools_ with Harbour and hbmk2 will be able
      to detect them, or user can choose between them using
      -arch/-comp switches, then hbmk2 will just be able to use
      them "as is", without the need to change anything on the
      environment. zero-conf usage in essence, just like we
      already had for mingw family.
    ; NOTE: Before the release I'll rethink placement of these 
            tools inside the Harbour directory tree. Currently 
            they are detected in the Harbour root dir, but with 
            multiple compilers this is not ideal.

  * source/vm/thread.c
    ! Fixed compile error after 2009-06-16 08:55 UTC+0200.
2009-06-16 13:05:23 +00:00
Viktor Szakats
fed9d75a4c 2009-06-16 08:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + If HB_COMPILER is mingw/mingw64/pocc64, architecture 
      will automatically be win, regardless of the platform 
      hbmk2 is run on.
2009-06-16 06:03:59 +00:00
Viktor Szakats
b6ce92dab3 2009-06-16 00:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to always turn off -mt mode for dos targets.
2009-06-15 22:40:42 +00:00
Viktor Szakats
4037666eb6 2009-06-15 23:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * examples/uhttpd2/socket.c
    * Minor formatting.

  * examples/uhttpd2/items.dbf
    * Updated with content. Thanks Mindaugas.
2009-06-15 21:05:57 +00:00
Viktor Szakats
91bd1aee41 2009-06-15 18:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    - Deleted hb_DirBase() DJGPP hack after Przemek's fix.
    - Deleted gcc compiler command line hack after Przemek's fix.

  * contrib/hbxbp/xbp.ch
    + Added extra protection for Windows-only debug line.

  * contrib/hbxbp/apig.ch
    * Minor in comment.

  * contrib/rddado/adordd.prg
    * Minor formatting.
    * Changed it to use non-legacy OLE interface.
      PLEASE REVIEW & TEST.

  * contrib/hbwin/legacy.prg
    + Added support for TOleAuto():cClassName var.
    + Added RTE generation in case the OLE object cannot be created.
      PLEASE REVIEW & TEST.

  + contrib/rddado/tests/test.mdb
    + Added. It's generated by access2.prg to avoid any problems.

  * contrib/rddado/tests/access1.prg
    * Minor formatting.
    ; TOFIX: Does't work:
      ---
      Error BASE/3012  Argument error: OPEN
      Called from WIN_OLEAUTO:OPEN(0)
      Called from ADO_OPEN(0)
      Called from DBUSEAREA(0)
      Called from MAIN(11)
      ---

  - examples/uhttpd
  + examples/httpsrv
  - examples/httpsrv/uhttpd.ini
  + examples/httpsrv/httpsrv.ini
  - examples/httpsrv/uhttpdgd.hbp
  + examples/httpsrv/httpsrvg.hbp
  - examples/httpsrv/uhttpdc.c
  + examples/httpsrv/httpsrvc.c
  - examples/httpsrv/uhttpd.prg
  + examples/httpsrv/httpsrv.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
  * examples/httpsrv/readme.txt
    * Renamed uhttpd to httpsrv.
      NOTE: If there are better names proposed I can rename 
            it to anything else. Mindaugas's new uhttpd will 
            be name uhttpd2 to avoid any ambiguity.
2009-06-15 18:02:57 +00:00
Viktor Szakats
685f3c6511 2009-06-15 16:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed extension-less parameters not recognized as .prg
      on dos platform.
      (they were picked as libs due to extension match with 
      empty dynamic lib extension)
      Thanks to Przemek for the report.
2009-06-15 14:33:30 +00:00
Viktor Szakats
9d353c511a 2009-06-15 15:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added skip=yes|no option support to .hbc files.
      skip=yes will cause the rest of the .hbc file to be skipped
      from processing.
    + Now .hbc files are recognized even in libs= lines.
    + Showing error message when a referred .hbc cannot be found.

  * utils/hbmk2/examples/contribf.hbc
    * Updates/fixes.

  * contrib/xhb/xhb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
  + contrib/rddsql/sddpg/sddpg.hbc
  + contrib/rddsql/sddfb/sddfb.hbc
  * contrib/rddsql/sddodbc/sddodbc.hbc
  * contrib/rddado/rddado.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/rddads/rddads.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssl.hbc
    + Added some missing .hbc files.
    * Tweaked to use .hbc references.
    * Tweaked filters. .hbc files will now filter themselves out,
      if they are references in unsupported environment, like hbwin
      under linux.
2009-06-15 13:43:32 +00:00
Viktor Szakats
8276f66f37 minor 2009-06-15 08:07:25 +00:00
Viktor Szakats
40fe00e3c3 2009-06-15 10:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- utils/hbextern
  + examples/hbextern
  - examples/hbextern/make_c5x.bat
  * examples/hbextern/hbextern.prg
  + examples/hbextern/hbextern.hbp
  - examples/hbextern/Makefile
    * hbextern tool moved to examples.
    - Deleted Clipper build batch file.
    + Added hbmk2 build file.

  * utils/hbmk2/examples/minigui.hbc
    + Added xhb compatbility (untested).

  * contrib/Makefile
    + Enabled hbxbp lib to be built by default.
2009-06-15 08:06:36 +00:00
Viktor Szakats
a8633e7b1b 2009-06-15 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * Marked TOFIX/TODO as DONE.

  * utils/hbmk2/hbmk2.prg
    + Added Harbour 1.0.x support for -main and -gt* options.
      Should also work with xhb.

  * utils/hbmk2/examples/hmg.hbc
    ! Updated. Tested okay with HMG 2.9.2.

  - utils/hbmk2/examples/wxharbour.hbc
    - Deleted, now hosted by wxHarbour project.
      Many thanks to Teo Fonrouge.
2009-06-14 23:53:06 +00:00
Viktor Szakats
2551b5e6be 2009-06-14 04:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ utils/hbmk2/examples/minigui.hbc
    + Added project config for HMG Extended.
2009-06-14 02:51:37 +00:00
Viktor Szakats
d602974c8b 2009-06-14 04:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/oohg.hbc
    * Updated after testing it.
2009-06-14 02:32:17 +00:00
Viktor Szakats
657ac73dfb 2009-06-14 03:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/xhgtk.hbc
    * Updated hbmk2 make file xhgtk.
      Also sent this and xhgtk.hbp to Rodrigo Moreno to consider
      uploading them files to xhgtk repository.
      It makes building the lib and using the lib very simple
      on all platforms/compilers.

  + utils/hbmk2/examples/wxharbour.hbc
    + Added wxharbour hbmk2 config file.
      Also sent to Teo Fonrouge to consider uploading it to 
      repository (and later make it easier to merge it with 
      ours).

  * contrib/hbqt/Makefile
  * contrib/gtqtc/Makefile
    + Added another alternative header path to detection list.
2009-06-14 01:39:52 +00:00
Viktor Szakats
3219e88ed7 2009-06-13 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/achoice.prg
    ! Partially reverted this commit:
      https://sourceforge.net/apps/trac/harbour-project/changeset/10605
      After this change, activating DBU menus with all items disabled
      (f.e. F7/F8) caused app hang.
      This line:
         nUserFunc := iif( nMode != AC_NOITEM,;
            Do( xUserFunc, nMode, nPos, nPos - nAtTop ), NIL )
      Was now changed back to this:
         nUserFunc := Do( xUserFunc, nMode, nPos, nPos - nAtTop )
      ac_test2.prg still seem to function fine after this, but
      I'd kindly like to ask Vladislav Lavrecky to make tests
      again, maybe we need another fix here.

  * source/vm/evalhb.c
    * Minor formatting.

  * contrib/hbtip/client.prg
    * Minor formatting.
    ! :ReadToFile() nMode param check.

  * utils/hbmk2/hbmk2.prg
    * Cleanup to variable name prefixes.

  * contrib/xhb/Makefile
  + contrib/xhb/xthrow.prg
    + Added THROW() function for xhb compatibility.
      This is written in Harbour, based on hbcompat.ch
      and has Harbour license + exception.

  + contrib/xhb/xcstr.prg
  + contrib/xhb/xdbmodst.prg
  * contrib/xhb/Makefile
    + Ported following old functions from xhb:
      CSTRTOVAL(), STRINGTOLITERAL(), VALTOPRG(), PRGEXPTOVAL()
    + Ported following new functions from xhb:
      VALTOARRAY(), VALTODATE(), VALTOHASH(), VALTOLOGICAL()
      VALTONUMBER(), VALTOARRAY(), VALTOTYPE(),
      DBMODIFYSTRUCTURE(), DBIMPORT(), DBMERGE()
      (borrowed from xhb, work of Ron Pinkas)
2009-06-13 11:56:32 +00:00
Viktor Szakats
b491ab27bb 2009-06-12 17:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
    ! Applied patch to recent change to only accept 
      QT libs on or above version 4.5.0.
      Patch submitted by Guy Roussin.

  * utils/hbmk2/hbmk2.prg
    + Added ${hb_status} and ${hb_revision} macros which 
      will return Harbour version status and revision.

  * contrib/rddads/ads1.c
    ! Fixed to allow EF_CANDEFAULT in EG_DATAWIDTH RTE when
      trying to update field content.

  * examples/dbu/dbu52.dif
  * examples/dbu/dbu53.dif
    ! Fixed two more filename edit fields where uppercase was
      forced. Thanks to Davor Siklic for the hint.
2009-06-12 15:50:37 +00:00
Alexander S.Kresin
6969aa63c2 2009-06-12 13:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
    ! EOL handling fixed
  * utils/hbformat/hbformac.c
    * EOF dropped now
2009-06-12 09:27:24 +00:00
Viktor Szakats
74585bd192 2009-06-12 11:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to autodetect special *nix dir layout in case 
      HB_INSTALL_PREFIX envvar is set.
    % Removed an unreachable error message.
2009-06-12 09:10:13 +00:00
Viktor Szakats
a12807edfe 2009-06-12 09:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/man/hbmk.1
  * doc/whatsnew.txt
  * INSTALL
  * bin/hb-mkdyn.bat
  * external/libhpdf/Makefile
  * make_gnu.bat
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/contribf.hbc
  * source/vm/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbssl/Makefile
  * config/dos/global.cf
  - config/dos/owatcom.cf
  + config/dos/watcom.cf
  - config/win/owatcom.cf
  + config/win/watcom.cf
  - config/linux/owatcom.cf
  + config/linux/watcom.cf
  - config/os2/owatcom.cf
  + config/os2/watcom.cf
    * Renamed 'owatcom' to 'watcom'.
      Please adjust your make files, or just let them autodetect.

  * utils/hbmk2/examples/contribf.hbc
    ! Adjusted hbsqlit3 filter after enabling for dos.

  * external/sqlite3/Makefile
    + Added comment for DJGPP hack.
2009-06-12 07:28:53 +00:00
Viktor Szakats
f153a84d32 2009-06-11 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed C++ support for dos/djgpp. exe name was wrong.

  * examples/superlib/readme.txt
  * examples/dbu/readme.txt
  * examples/rl/readme.txt
    + Added hbformat command to intructions how to convert
      original sources to patchable format (EOL + lowercase).
      Many thanks to Alexander Kresin.
2009-06-11 15:15:57 +00:00
Alexander S.Kresin
bbe30929d8 2009-06-11 19:10 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
  * utils/hbformat/hbformat.ini
    * if "nEol" option is 0, the EOL is set to OS default value
    * new option added - lFCaseLow ( default - no ). If yes, the file name
      is converted to lower case.
    * A limitation for file mask has been introduced - *.* is rejected now
      ( it may be dangerous ).
2009-06-11 15:09:58 +00:00
Viktor Szakats
cd67076cf6 2009-06-11 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/Makefile
    ! Fixed to properly link with DJGPP.

  * utils/hbmk2/hbmk2.prg
    ! Fixed ${hb_cpu} macro for dos/os2 platforms.

  * contrib/hbhpdf/Makefile
  * utils/hbmk2/examples/contribf.hbc
    + Enabled for DOS platform.

  ; I could back port my app to DOS after these changes, with
    only inet stuff not linked in.
2009-06-11 11:05:16 +00:00
Viktor Szakats
4259e6ca3d 2009-06-11 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Further cleanups in pocc examples.

  * utils/hbmk2/hbmk2.prg
    + Added support to detect pocc64 vs. pocc when one 
      common PellesC installation is used. This is probably 
      how most users will use it in real life.
      New pocc 6.0 support one unified build for pocc, pocc64 and poccarm.
2009-06-11 09:05:52 +00:00
Viktor Szakats
e493c06d8e 2009-06-11 10:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Revised links section.
    + Added User Forums, removed user mailing list.
    ; I'm not sure if we should link to comp.lang.clipper.

  * utils/hbmk2/hbmk2.prg
    ! Fixed just added -hblib lib assembly command line to use {SCRIPT}
      in dos/djgpp.
2009-06-11 08:01:34 +00:00
Viktor Szakats
8875ec290f 2009-06-10 23:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
; TOFIX: dos/owatcom builds can now created successfully
           (using standard Open Watcom 1.8 installation),
           the bad news is that f.e. hbmk2 will crash the
           NTVDM when trying a simple make.

  * INSTALL
    ! Minor fix to DOS instructions.
    + Added DOS build examples.

  * mpkg_dos.bat
    ! Fixed target dir and archive name to be different
      for djgpp and owatcom builds.

  * make_gnu.bat
  + config/djg-make.exe
    + Added embedded copy of DOS build of GNU Make.
      This is to make DOS builds, specifically dos/owatcom
      builds simpler. Original filename was 'make.exe'.
      This can probably be removed once we move DOS
      platform status to a 'target-only' one, like WinCE/ARM.

  * make_gnu.bat
    ! Ugly hack added to create doc/en-EN dir. This still
      won't solve the DOS copy problem unless I remove
      the hack committed previously. If I remove it
      the make process cannot be anymore started without
      this batch file as it would choke on xcopy if
      above dir doesn't exist.

  * make_gnu.sh
    ! Applied fix to only create install dirs if called
      with 'install' option. At the same time enabled
      this feature for all platforms. It will also create
      doc/en-EN dir.
      PLEASE TEST/REVIEW, I didn't do any testing.
    ; TOFIX: Much or all of these should IMO be done directly
             from make files, it would be much self-contained
             and consistent.

  * source/pp/Makefile
    ! Fixed to find ChangeLog when building for DOS targets.
      This was a problem when trying to build dos/owatcom.
      Now in DOS mode it will refer to the ChangeLog by its
      8.3 name.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.

  * mpkg_deb.sh
  * harbour.spec
    - Deleted hbmsql.
    ; TOFIX: hbqt is missing from some Linux make files.
    ; TOFIX: (in next major release) We should try to 
             make Linux build files less-maintenance intensive.
2009-06-10 21:49:10 +00:00
Viktor Szakats
054d4e1873 2009-06-10 21:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed windows/dos cross-compilation. The error is very
      strange, it occures only when calling gcc in compiler
      mode with @script file. See comment in source, maybe 
      someone has an idea.
      Anyway now it's possible to bundle DOS libs in the unified 
      Windows build and create DOS apps/libs with it, using this command:
         hbmk2 hello.prg -arch=dos
         [needs DJGPP in PATH]
      (I couldn't make owatcom work on DOS, but that may also work 
      along the same lines)
    + Added support for static lib generation for dos/djgpp.
    + Added support for static lib generation for os2/gcc. (untested)
      Where are our OS/2 developers?
2009-06-10 19:13:26 +00:00
Viktor Szakats
6243be7d28 2009-06-10 19:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
    ! Fixed to use xcopy instead of copy to 'install' files.
      This means long filenames (and also casing) will be retained.
      This also means that now 'install' actually works.
      It may also mean that creating a DJGPP build isn't anymore
      possible on a pure DOS system, I can't remember when xcopy
      was introduced. Anyway I think it's better to have this
      requirement than not having a proper DOS build at all
      (since long years).
      This also means that our DOS release cannot even be *used* 
      in pure DOS environment, since our long filenames will 
      be chopped when extracting the distro .zip. Only final 
      .exes are able to run under DOS.
      We still have the option to implement full short name 
      support, but I'm not sure this has any importance anymore.
      If we don't want to do this, we can finally lift some 
      restrictions which tied our hands so far, based on the 
      fact that DOS builds cannot even be created and run on 
      real DOS. So, this means:
        - We may use long filenames as distro name.
        - We may convert DOS platform as a target only platform, 
          similar to WinCE/ARM.
        - If we do the above, we may even embed our DOS
          libs in Windows distro, and build DOS apps using
            hbmk2 hello.prg -arch=dos
        - We may use long filename anywhere in our tree.
          (but we must check first if long names are also 
          supported for headers, dirnames and source names)
      If you have an opinion, please tell.

  * config/dos/global.cf
    ! Adding ending pathsep to DOC_SUBDIR to make xcopy happy
      and not ask if the target is a file or directory.
    ; TOFIX: Anyhow, DOC_SUBDIR feature simply doesn't work since
             very long, so we should do something about it in the future.

  * debian/changelog
    + Added new version entry. (Thanks Guy)

  * bin/postinst.bat
    ! Added workaround to make it work under DOS.
      (avoiding 'Out of environment space' error)

  + mpkg_dos.bat
    + Added DOS package generator batch. Very similar
      to mpkg_win.bat, maybe we should merge them in
      the future.

  * mpkg_win.bat
    * Using short name for main dir, just to sync it with
      DOS version.

  * utils/hbformat/hbformat.prg
    + Changed default GT to GTCGI.

  * utils/hbmk2/hbmk2.prg
    ! Added workaround for dos/djgpp anomaly in hb_DirBase()
      (and also hb_ProgName()) where path contains forward
      slashed instead of backslashes.
    ; TOFIX: In core.

  * source/vm/Makefile
    ! Disabled hbvmall for dos build because of thid djgpp error:
      ---
      gcc -I. -I../../../../include  -Wall -W -O3    -c ../../hvmall.c -ohvmall.o
      In file included from ../../../../include/hbmath.h:60,
                      from ../../itemapi.c:97,
                      from ../../hvmall.c:67:
      c:/devl/djgpp/include/libm/math.h:97: error: redefinition of 'struct exception'
      ---

  * contrib/hbblat/hbblat.hbc
  * contrib/hbhpdf/hbhpdf.hbc
    * Minor formatting.
2009-06-10 17:38:18 +00:00
Viktor Szakats
28a1035af6 2009-06-09 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Synced HB_DYNLIB handling with GNU Make. This means
      that from now on hbmk2 won't use -DHB_DYNDLL C compiler
      switch in -hbdyn mode for mingw/cygwin compilers.

  * ChangeLog
    * Updated status of some TODO/TOFIX entries.

  * contrib/rddsql/sddodbc/tests/sddodbc.hbc
    + Added odbc32 to lib list for win platform.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    * Removed mingw specific hack which made benefit from
      the fact that mingw-made .dlls export all public symbols,
      when built for shared.
2009-06-09 12:57:22 +00:00
Viktor Szakats
59967d646b 2009-06-09 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor simplification.

  * make_gnu.bat
    * Minor cleanup.
    - Deleted 'don't modify, this is a template' text.

  * utils/hbmk2/hbmk2.prg
    + Targets will now get an alternate workdir by default
      on win/wce platforms when using -hbdyn.
    ; TOFIX: ? HB_DYNLIB usage should be cleaned and synced with
             GNU Make system.
             Current HB_DYNLIB usage:
                GNU Make system: ( win or wce ) and non-gcc
                hbmk2: ( win or wce )

  * contrib/Makefile
  - contrib/hbmsql
  + examples/hbmsql
    * Moved hbmsql to examples.

  - examples/hbmsql/Makefile
  + examples/hbmsql/hbmsql.hbp
    + Changed GNU Make file to hbmk2 make file.

  * examples/hbmake/hbmake.hbp
    * Minor to comment.
2009-06-09 08:53:24 +00:00
Viktor Szakats
f8e2a1586a 2009-06-08 21:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    + Added C compiler autodetection. This feature will kick
      in if HB_COMPILER is left empty.
      (works for all compilers except msvcarm and poccarm)

  * utils/hbmk2/hbmk2.prg
    + Added -nohblib option which will omit all static core
      Harbour libraries from link commands. Works only in 
      the command line.

  * INSTALL
    * Minor.
2009-06-08 19:22:31 +00:00
Viktor Szakats
5e4c387faa 2009-06-08 18:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Possible fix to -hbdyn in -xhb mode.
    ! Fix to -hbdyn in -hb10 mode.
2009-06-08 16:57:54 +00:00
Viktor Szakats
ba212e4c53 2009-06-08 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed again -hbdyn generation by removing hbmaindllp lib 
      from the liblist. This was added as part of a fix, so I'm 
      not sure what is the good and final solution. Anyway it 
      looks like this lib isn't to be used for .dll, or only for
      pure pcode ones. So it's probably better to leave it as 
      a manual user option: -l{win}hbmaindllp
      If someone knows more, pls speak up.
2009-06-08 16:26:08 +00:00