Commit Graph

1800 Commits

Author SHA1 Message Date
Viktor Szakats
a7a7a06003 2009-05-17 19:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Just added bcc hack fixed to not cause problems when 
      bcc is explicitly selected, but the compiler cannot be 
      detected in path.
2009-05-17 17:55:44 +00:00
Viktor Szakats
d2ddaaf0e0 2009-05-17 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added automatic bcc configuration hack to add PSDK dir to
      the libpath list. This is to fix bcc installations where
      this isn't done in bcc configuration itself in bcc32.cfg,
      ilink32.cfg. PSDK dir is required for hbmk2 because most
      libs on the standard hbmk2 list of Windows system libs
      (like winspool) included in link process are stored in
      this subdir. It's still recommended to do this tweak in
      local bcc environment.
    ; Please test it.

  * utils/hbmk2/examples/contribf.hbp
    + Added hbqt.
2009-05-17 17:52:32 +00:00
Viktor Szakats
893cffce59 2009-05-15 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev commit.
    ! Fix ignoring .po input without a language macro when
      checking .hbl dependencies.
    ! Cosmetic fix to some i18n related outputs.
    ! Fixed recent RTE when generating .hbl.
2009-05-15 17:06:27 +00:00
Viktor Szakats
0a7dea3d7e 2009-05-15 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed incremental .hbl generation not using the whole 
      list of .po's as input.
2009-05-15 15:42:19 +00:00
Viktor Szakats
5cf36de591 2009-05-15 17:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -beep to work on all build failures.
    + Linking gtwin/trm/dos/os2 as non-default GT for -pause
      support (gtcgi doesn't support Inkey(0)).
    + Added -pause option to force a pause on exit in case of
      any error. This only works with alternate GTs above.
    ! Added missing -beep from help screen.
2009-05-15 15:10:40 +00:00
Viktor Szakats
271e2f66d0 2009-05-15 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hbm
    + Added Portuguese translation. Work of Vailton Renato. Thanks!
    ; NOTE: Quite some strings has changed since version, so the .po 
            file by now needs an update from source plus some parts 
            translated.

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    * Minor updates.
2009-05-15 11:16:16 +00:00
Viktor Szakats
0cf55690cb 2009-05-15 12:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    % Changed default way of updating .po files. New method supports
      incremental updates, thus much faster than previous solution.
      As a side-effect, removed from source and changed translatable
      strings won't automatically disappear from .po files.
      This new method is also much friendlier to version control
      systems, as .po entry order won't change on each minor update
      (and generate a huge commit diff).
    + Added -rebuildpo option to activate a complete rebuild of .po
      files, clearing all no more existing entries. This operation 
      will take more time, will create big diffs and it's recommended 
      to be done when doing a complete rebuild (maybe this will 
      be automatically enforced later on).
    ; With this, hbmk2 seems feature complete. (maybe C++/C mode
      switching could be added yet, it's on the TODO list)

  * bin/hb-func.sh
    * Addition of libs= entry in hbmk.cfg file will now be
      initiated by setting envvar HB_USER_LIBS_DEF (was HB_USER_LIBS),
      to avoid potential binary build problems where locally
      set HB_USER_LIBS envvar could create an unusuable (on other
      systems) builds (hbmk2 setup).

  + contrib/rddsql/readme.txt
    + Added readme (posted on the list). Work of Mindaugas.
2009-05-15 10:39:59 +00:00
Viktor Szakats
622639c23c 2009-05-15 09:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Using HB_USERLANG() to detect language, so it now also
      works on Windows.
    + Added support for -lang= switch to override language.
    + Added support for HB_LANG envvar to override language.
      (this is the recommended method)

  * include/hbextern.ch
  * source/rtl/Makefile
  + source/rtl/lang.c
    + Added HB_USERLANG() function to retrieve ietf code of
      language set by user. Works also on Windows.

  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
    * WAPI_*() functions moved to wapi_* files.
    + WAPI_GETPROCADDRESS() added. This is a pure wrapper to
      this Windows API.

  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prt.c
    % hb_parnl() -> hb_parni() where it was cast to int anyway.
2009-05-15 07:40:39 +00:00
Viktor Szakats
c1b0c98004 2009-05-14 19:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * -shareable -> -fullshared/-fixshared

  + contrib/hbmysql/mysqlold.c
  * contrib/hbmysql/mysql.c
  * contrib/hbmysql/Makefile
    * Compatibility function names moved to separate file.

  + contrib/hbodbc/odbcold.c
  * contrib/hbodbc/odbc.c
  * contrib/hbodbc/Makefile
    * Compatibility function names moved to separate file.

  * contrib/hbwin/win_prt.c
    ! Applied fix submitted by Alex Strickland. Thank you.

  * contrib/hbwin/legacy.c
  * contrib/hbwin/win_dll.c
    * GETLASTERROR()/SETLASTERROR() moved to legacy.c.
      We have WAPI_GETLASTERROR()/WAPI_SETLASTERROR() and
      it's recommended to use them instead.
    + XBase++ compatible DLL handling functions marked with
      HB_COMPAT_XPP.
    ! DLLLOAD() changed back to return numeric pointer. This
      is required to stay compatible with XBase++.
    ; TODO:
      - Add C API to make DLL calls.
      - Move CALLDLL*() functions to xhb lib.
      - Add WAPI_LOADLIBRARY()/WAPI_FREELIBRARY()/WIN_GETPROCADDRESS()
        functions to replace current LOADLIBRARY()/FREELIBRARY()/GETPROCADDRESS()
        calls, fixing them to work on pointers only.
2009-05-14 17:04:54 +00:00
Viktor Szakats
44ddb93fa9 2009-05-14 14:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -shareable/-shareable- option to control the aspect 
      of harbour.so absolute dir reference. It can override 
      previous rule controlled by system location detection. See 
      more in help.
    * Minor internal change to one of the functions.

  + source/rtl/hbzlibgz.c
  * source/rtl/hbzlib.c
  * source/rtl/Makefile
    % Split source into two, so unnecessary code parts won't be 
      included in final binaries.
2009-05-14 12:17:47 +00:00
Viktor Szakats
b68fe5de6f 2009-05-14 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression causing -o not to work in -hbcmp mode.
      (bug introd in the compile/link phase switch)
    + Added support for -o in -hbcmp mode for pocc compilers.
    + Added support for -o in -hbcmp mode for owatcom compilers.
    ; Please test.

  * contrib/rddads/rddads.h
    - Deleted some commented lines targeting compatibility with
      some now forgotten macros.
2009-05-14 09:04:50 +00:00
Viktor Szakats
be9f6a72a2 2009-05-14 01:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed very rare potential inconsistency between timestamp values.
2009-05-13 23:48:51 +00:00
Viktor Szakats
8d60dc359c 2009-05-14 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -map for msvc compilers.
      (regression since splitting compile/link phase)
2009-05-13 23:06:37 +00:00
Viktor Szakats
697aeee219 2009-05-13 14:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to accept any kind of parameter with -runflag= switch.
    ! Fixed to not call hb_FSetAttr( ".hbmk", FC_HIDDEN ) for *nix systems.
      This creates inaccessible dirs for some reason.
    ! Fixed to not beep in -hbrun mode.
2009-05-13 12:49:01 +00:00
Viktor Szakats
a79c0c64e6 2009-05-13 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -tshead=<file> option to create a .ch header with
      build timestamp information in it: _HBMK_BUILD_DATE,
      _HBMK_BUILD_TIME_, HB_BUILD_TIMESTAMP_.
    * -opt/-noopt -> -optim/-nooptim to avoid name ambiguity.
    + Added feature to -vcshead= to create a locally rolled
      build number if there is no version control system detected.
      In this case _HBMK_VCS_TYPE_ will be defined as "hbmk"
      and _HBMK_VCS_ID_ will be initialized with a string, starting
      with "1" and incremented on each hbmk2 call.
    * Internal change to componentize hbmk2 functionality, clearing
      away all STATIC vars and some parameter passing hacks.
      Work in progress, TODO added.
    ! Fixed cosmetic bug in debug output when making .po.

  * source/rtl/mlcfunc.c
    ! Fixed warning appeard in latest change.

  * source/rtl/trim.c
  * source/compiler/hbfunchk.c
    - Removed HB_EXTENSION protected second extended parameters
      from RTRIM() and ALLTRIM(). If you miss this option, please
      report it on the list, we may readd such functionality under
      some different name.
      INCOMPATIBLE for HB_EXTENSION builds.

   * doc/dirstruc.txt
   * bin/hb-func.sh
   * utils/hbmk2/examples/contribf.hbp
   - contrib/hbole
   * contrib/Makefile
   + contrib/hbwin/oleinit.c
   + contrib/hbwin/olecore.c
   + contrib/hbwin/hbwinole.h
   + contrib/hbwin/oleauto.prg
   + contrib/hbwin/tests/sample.odt
   * contrib/hbwin/tests/testole.prg
   - contrib/hbwin/win_tole.prg
   - contrib/hbwin/win_ole.c
   + contrib/examples/hboleold
   + contrib/examples/hboleold/tests
   + contrib/examples/hboleold/tests/testole.prg
   + contrib/examples/hboleold/win_tole.prg
   + contrib/examples/hboleold/win_ole.c
   + contrib/examples/hboleold/Makefile
     * Replaced old hbwin OLE implementation with
       new implementation in hbole. Thanks to
       Mindaugas Kavaliauskas for the new implementation.
       Those who need the old implementation in the
       meantime for any reason, can find it in contrib/example/hboleold.
     ; TODO: Fill the few missing features (ActiveX/FiveWin
             compatibility).

   * ChangeLog
     * Marked two TODO/TOFIX done.
2009-05-13 06:12:05 +00:00
Viktor Szakats
dcae25d6f6 2009-05-13 07:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
  * bin/hb-func.sh
  * doc/dirstruc.txt
  * doc/whatsnew.txt
  - contrib/hbwinprn
  * contrib/Makefile
  * contrib/hbwin/Makefile
  + contrib/hbwin/win_prn1.c
  + contrib/hbwin/win_prn2.c
  + contrib/hbwin/win_tprn.prg
  + contrib/hbwin/tests/testprn.prg
  * utils/hbmk2/examples/hmg.hbp
  * utils/hbmk2/examples/fwh.hbp
  * utils/hbmk2/examples/contribf.hbp
    ! Undone undiscussed (worsened by recent mailing list problems) 
      changes done in previous two commits.
      The direction in Harbour is that we try to gather all
      Windows specific functionality into one contrib (hbwin),
      if there is a fault or missing feature we fix it at the
      proper place (in this case in hbole) instead of splitting 
      hbwin lib into pieces.
    ; TOFIX: Refix deleted change history for "moved" files.
    ; TODO: Move hbole to hbwin and fix missing OLE bits in hbwin.

  * ChangeLog
    ! Fixed duplicated header in one of the entries after prev two commits.
2009-05-13 05:47:20 +00:00
Teo Fonrouge
626f993574 2009-05-12 15:49 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
+ contrib/hbwinprn
  + contrib/hbwinprn/Makefile
  + contrib/hbwinprn/tests
  + contrib/hbwinprn/tests/hbwinprn.hbp
  + contrib/hbwinprn/tests/testprn.prg
  + contrib/hbwinprn/win_prn1.c
  + contrib/hbwinprn/win_prn2.c
  + contrib/hbwinprn/win_tprn.prg
  - contrib/hbwin/tests/testprn.prg
  - contrib/hbwin/win_prn1.c
  - contrib/hbwin/win_prn2.c
  - contrib/hbwin/win_tprn.prg
  * bin/hb-func.sh
  * contrib/hbwin/Makefile
  * contrib/Makefile
  * doc/dirstruc.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * harbour-win-spec
  * utils/hbmk2/examples/contribf.hbp
  * utils/hbmk2/examples/fwh.hbp
  * utils/hbmk2/examples/hmg.hbp
    * WIN_PRN windows printing class moved out of "hbwin" lib
      to a new "hbwinprn" lib
2009-05-12 20:46:24 +00:00
Viktor Szakats
6c4206dd57 2009-05-12 18:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed not recognizing -incpath/-inctrypath
    ! Removed prioritizing own C compiler when detecting
      C compiler. This resulted in msvc64 not being recognized
      when using an MSVC build of hbmk2.
    + Added -instpath= option to specifiy dirs where target gets
      copied after a successful build.
2009-05-12 16:20:15 +00:00
Viktor Szakats
339c86f1bc 2009-05-12 16:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -hbrun option which will run the target without trying to
      build it. If target is missing, the command will fail.
    + -run/-hbrun options will now run GUI target executable using 'start'
      command on Windows platforms so that hbmk2 will return and leave
      the app running.

  * include/hbextern.ch
    + Added HB_GZPUTC().

  * include/hbsetup.ch
    - Removed HB_EXTENSION from documented list of build modified macros.

  * source/common/hbverdsp.c
    - Deleted HB_EXTENSION dependent part.

  * source/rtl/mlcfunc.c
    - Deleted HB_EXTENSION branch. Please modify your program to
      use Set( _SET_EOL ) instead of passing EOLs explicitly to
      memo functions. This works also in xhb.
      INCOMPATIBLE when for HB_EXTENSION builds.

  * source/rtl/alert.prg
    ! Minor in comment.

  * source/rtl/saverest.c
    - Removed SAVESCREEN()/RESTSCREEN() extra "lNoCheck" parameter
      when HB_EXTENSION is enabled. Please report on the list
      if you need this functionality.

  * source/compiler/hbfunchk.c
    ! Fix to prev: AT() declaration.

  ; TODO: Clean rest of HB_EXTENSION stuff.
2009-05-12 14:11:21 +00:00
Viktor Szakats
7298be02bd 2009-05-12 01:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -beep/nobeep/beep- options to enable beep signal
      when build is finished. In case of error a double beep
      will be heard.

  * INSTALL
    * Minor formatting.
2009-05-11 23:15:14 +00:00
Viktor Szakats
382a470680 2009-05-08 09:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not attempt cycling through all specified languages
      if target .po or .hbl filename doesn't contain a language macro.
    ! Fixed to strip encoding from LANG value.
    * Some changes to modularize language/encoding detection.
      (work in progress)
2009-05-08 07:32:28 +00:00
Viktor Szakats
7b89750a22 2009-05-07 08:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.hu_HU.po
    % LoadPOTFiles() loop optimized. (debug condition removed,
      initializing aTrans manually, moved one assigment.)
    * Tweaked a few message texts.
    + Added support for xhb compatible platform macros.
2009-05-07 06:17:21 +00:00
Viktor Szakats
adfaad7580 2009-05-06 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    % Applied __I18N_potArrayJoin() tweak to embedded LoadPOTFiles()
      function. This hugely boosts .pot merge performance for large 
      number of these files.
2009-05-06 19:37:39 +00:00
Przemyslaw Czerpak
95ee7432d0 2009-05-06 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbi18n/hbi18n.prg
    % added support for optional reusing hIndex table in repeated calls
      to __I18N_potArrayJoin() with the same aTrans array.

  * harbour/source/rtl/hbi18n2.prg
    % reuse hIndex table in repeated calls to __I18N_potArrayJoin()
2009-05-06 18:32:17 +00:00
Viktor Szakats
db91918805 2009-05-06 20:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.hu_HU.po
    % Optimize to do only one .pot -> .po merge per session 
      (was one merge per target language)
    + Added screen feedback for .po/.hbl related operations.
    % Don't do .po rebuild if no source file has changed.
2009-05-06 18:15:04 +00:00
Viktor Szakats
dd870377b4 2009-05-06 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Further fixes to .po file handling functionality after real
      life testing. What needs to be handled gracefully is that
      it's perfectly normal that a file doesn't have a .pot
      file generated (when the source doesn't have any translatable
      texts). Unfortunately this situation adds some hard-to-detect
      problems which can in turn cause .po translations to be lost.
      Since the only current way to detect if translatable texts
      exist is to check for the .pot file, if a .pot file is missing
      for other reasons (manual deletion, corruption) hbmk will take
      it normally and remove related translations from .po files.
      I don't know what could be a good solution to this problem.
      The other issue is scalability: Since there is no way to
      update .po files with only partial .pot information (coming
      from recompiled sources in that build session), each build
      session has to do a full .pot merge and update (for all
      languages). This is slow, if you have some idea how to make
      this incremental, please speak up.
      Probably we should reverse the logic and take the .po file
      (containing translations) as a base, and add new pairs from
      _available_ .pots. Pair removal (IOW cleanup) should be an
      option, done periodically (before release), but not something
      happening in each build session. This would also solve the problem
      of retaining old translations, since they will stay there until
      we specifically ask the system to remove them. Maybe that's 
      what we should do. Przemek, what do you think?
2009-05-06 12:46:18 +00:00
Viktor Szakats
39641c7f2c 2009-05-06 09:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.hbm
  - utils/hbmk2/hbmk2.hu_HU.pot
  + utils/hbmk2/hbmk2.hu_HU.po
    * Changed hbmk to use official gettext terminology, where
      .pot refers to raw extracted translation file, .po refers
      to merged .pot files which holds the actual translations.
      hbmk switch names and extensions changed accordingly.
    ! Fixes to .po from .pot generation support.
2009-05-06 07:09:18 +00:00
Viktor Szakats
1ff83fb1fb 2009-05-06 00:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -pot= option mentioned in prev entry.
    ! -pot= refinement to handle missing source .pots (which
      is normal). Also added/fixed some lng related debug options.
    ! Remaining debug texts made non-translatable.
    ; NOTE: It's now possible to handle all aspect of translation
            files using hbmk2 alone. (extraction from source ->
            creation of unified translation file -> merging this
            file with previous version retaining existing
            translations -> creation of .hbl file from .pots)
2009-05-05 22:25:01 +00:00
Viktor Szakats
ac2958e071 2009-05-05 19:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.hu_HU.pot
    + Added new -pot= switch with which it's possible to create
      one .pot file for the whole project. When this switch is
      used, Harbour compiler will be run with -j parameter so
      that .pot files will be generated.
      hbmk will take care of preserving existing translations.
      This changes contains parts taken from hbi18n, work of
      Przemek, copyright retained.
    ; TOFIX: For some reason update of existing .pot file with
             new one doesn't work. It's probably something obvious
             but I cannot see what.
2009-05-05 18:02:04 +00:00
Przemyslaw Czerpak
94d587be3d 2009-05-05 18:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbi18n/hbi18n.prg
    * expand wildcards in given file names on non *nix like platforms
2009-05-05 16:01:03 +00:00
Viktor Szakats
50e0d1d77b 2009-05-05 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Further fixes to texts.
    + Added hb_cdpSelect() call as provision. Also included a few CPs
      in executable.

  * utils/hbmk2/hbmk2.hu_HU.pot
    + Finished HU translation (probably it could be tweak with
      regards to terminology).
2009-05-05 15:33:26 +00:00
Viktor Szakats
2fdebe2b32 2009-05-05 03:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbmk2/hbmk2.prg
    ! Minor fixes to texts.

  * utils/hbmk2/hbmk2.hu_HU.pot
    + Continued HU translation.
2009-05-05 01:11:23 +00:00
Przemyslaw Czerpak
9bba984e90 2009-05-05 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbi18n2.prg
    + added new Harbour internal i18n functions:
       __I18N_POTARRAYTRANS() and __I18N_HASHJOIN()

  * harbour/utils/hbi18n/hbi18n.prg
    + added new switch to hb18n tool:
         -a    add automatic translations to 1-st .pot file using
               translations from other .pot or .hbl files
2009-05-04 22:17:07 +00:00
Viktor Szakats
cf2450c135 2009-05-04 18:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/tests/testole.prg
    + Readded CDO and OO open examples (working).

  * utils/hbmk2/hbmk2.hbm
    + Added .hbl file generation.

  * utils/hbmk2/hbmk2.prg
    + Added translator info to banner.
    ! Minor fix to now display job # if single-threaded compilation is done.
      (Thanks for __enumBase() trick to Przemek)
    * Some steps to better support xhb shared mode (untested).
    + Added filter support for .prg and .c/.cpp input files.
      (This also means that input files with '{' '}' char pairs in them
      aren't supported anymore).
    ! Minor terminology fix in one of the rare error messages.
    ; TODO: ? Adding GNU Make support to .pot -> .hbl generation, plus
            we'd also need to develop a common rule for naming and
            placement for these translation files. Current hbmk2 method
            cannot be considered final.

  + utils/hbmk2/hbmk2.hu_HU.pot
    + Added Hungarian translation (not complete/final yet).
2009-05-04 16:19:30 +00:00
Viktor Szakats
676419d4c3 2009-05-03 15:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * Translation improvements.
    ! Fixed some strings not marked as translatable.
    + Added CVS detection (not much use, but anyway).
    ; Pls regerenate .pot files.
2009-05-03 13:44:55 +00:00
Viktor Szakats
17e3ec3462 2009-05-03 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental and partial support to build using/for xhb.
      This is to help some 3rd party lib developers who'd like to
      target both compilers. Some aspects of xhb support aren't working
      or working slightly differently: Default Harbour switch is
      -n instead of -n2 which isn't supported in xhb. Everything
      related to dll handling won't currently work. Cross-compiling
      won't work either due to at least differences in __PLATFORM__
      macros. Anyway, play with it and tweak the source if needed.
      I hope we can add support without adding too much hacks into
      hbmk2 source, if however we need to bend logic too far, I'd
      rather leave those problematic parts of to keep the code
      maintainable. F.e. xhb compatible COMP/ARCH values aren't
      supported and I don't plan to add them.
      Enable support by renaming hbmk2 to have an 'x' prefix: xhbmk2,
      or use -xhb command line switch. The only intent is be able
      to use hbmk2 to build binaries from sources using xhb compiler
      and libs. Also notice that I've made just very light tests
      only with bcc55 compiler.
      [ notice: xhb support doesn't mean you can compile hbmk2 with
        xhb. This wasn't intented or planned. ]

  * utils/hbmk2/examples/contribf.hbp
    ! Fixes.
2009-05-03 08:37:13 +00:00
Viktor Szakats
614d45c3dc 2009-05-02 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * Cleanup: Added few internal constants.
    * Cleanup: Some debug strings marked as non-translatable.
    + Help screen forming changed to be friendly to translators.
      Please update .pot files.
2009-05-02 20:10:57 +00:00
Viktor Szakats
dde3ab2422 2009-05-02 12:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * Minor cleanups. (func/proc scopes)
2009-05-02 10:10:53 +00:00
Viktor Szakats
d4b2053379 2009-05-02 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added multilanguage support. Now LC_ALL, LC_MESSAGES and 
      LANG envvar will be checked for language ID and loading 
      of translation will be attempted from <hbmkdir>hbmk2.<lang>.hbl 
      file (not final name yet). You can compile such .hbl file by using 
      command:
      > hbi18n -g -ohbmk2.<lang>.hbl hbmk2.<lang>.pot
      You can create .pot using this command:
      > ..\..\bin\harbour hbmk2.prg /jhbmk2-<lang>.pot /i..\..\include
      Where <lang> is preferable the std ISO language ID, like: pt_BR.
2009-05-02 10:06:09 +00:00
Viktor Szakats
f675a96001 2009-05-02 10:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Minor s&r error in help text.
2009-05-02 08:53:13 +00:00
Viktor Szakats
ed11101b2e 2009-05-01 20:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! hbmk2 -> hbmk
2009-05-01 18:13:08 +00:00
Viktor Szakats
29db6198ae 2009-05-01 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    ! Typo in old i18n entry.

  * utils/hbmk2/hbmk2.prg
    * Formatting.

  * contrib/xhb/hbcompat.ch
    + Added i18n() compatibility translation.
2009-05-01 18:10:52 +00:00
Viktor Szakats
92b9c3ef4d 2009-05-01 16:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Changed all output texts to translatable format, using hb_StrFormat().
    + Added hb_i18n_gettext() to all translatable texts, so now it's possible 
      to create a .pot file. It's not yet perfect for the help text yet.
2009-05-01 14:14:00 +00:00
Viktor Szakats
079063a91f 2009-05-01 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added MT support for rest of C compilers (gcc, pocc).
      Please test. MT support is now complete, maybe in the 
      future it can be added for resource compiling if that's 
      a bottleneck for some users.
2009-05-01 12:54:58 +00:00
Viktor Szakats
db3d6f99ab 2009-05-01 13:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    + Added generation of libpq.lib from .dll for msvc. (not tested)
    + Added generation of QT implibs for msvc. (not tested)
    + Copying QT implibs for mingw.

  * source/common/hbverdsp.c
    ! Minor in comment.

  * utils/hbmk2/hbmk2.prg
    + Added MT support for C compilation phase.
      Single input compilers aren't covered yet (gcc, pocc).
    + Added -debugtime internal option to measure running time.
2009-05-01 11:18:17 +00:00
Przemyslaw Czerpak
6713cf1388 2009-04-30 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/Makefile
    ! do not use hbvmmt on platforms which does not support MT
2009-04-30 13:18:04 +00:00
Viktor Szakats
6e7d49a08f 2009-04-30 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -vcshead=<file[.ch]> option. This will generate 
      a header with local repository information: type of 
      repository and unique ID (in case of SVN this is the 
      revision number).
2009-04-30 11:11:36 +00:00
Viktor Szakats
e2bcaf76df 2009-04-30 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.hbm
  * utils/hbmk2/Makefile
    + Added experimental support for multithreaded compilation.
      Enable with -jobs=<x>.
      Currently Harbour compilation phase supports MT.
      If it works out well and details are polished, the same
      can be implemented for C/resource compilation phases, too.
      I'd appreciate of someone with MT experiences could review
      current code and spot bugs/problems with it before I go
      any further.
    * Changed to build hbmk2 in MT mode.
2009-04-30 08:59:54 +00:00
Viktor Szakats
e1fd24b2dd 2009-04-30 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added repository ID retrieval function. Currently supports 
      SVN, GIT and Mercurial. Not yet activated.
2009-04-30 07:44:16 +00:00
Viktor Szakats
74dc2abcef 2009-04-29 20:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Refixed -map option for *nix non-darwin systems. Well, 
      at least for Linux.
2009-04-29 18:27:05 +00:00