Commit Graph

29 Commits

Author SHA1 Message Date
Viktor Szakats
f47c4f3a97 2013-04-01 18:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    * __i18n_potArrayClean() will now call transformation callback
      first again
    * __i18n_potArrayClean() transformation callback returning non-string
      will now be ignored instead of deleting the item

  * utils/hbmk2/hbmk2.prg
    * TOFIX added to a help text
2013-04-01 18:53:54 +02:00
Viktor Szakats
c57aef04fc 2013-04-01 13:36 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitignore
    + added .hrb files

  * src/rtl/hbi18n2.prg
    * __i18n_potArrayClean() reverted to call transformation callback
      after deleting items
2013-04-01 13:37:33 +02:00
Viktor Szakats
1d279f7626 2013-04-01 04:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    + __i18n_potArrayClean() wlll now call transformation callback before
      deleting items
    ! __i18n_potArrayClean() fixed item deletion when transformation callback
      returns non-string

  * ChangeLog.txt
    * missed changed from prev
2013-04-01 04:14:50 +02:00
Viktor Szakats
02ebccfcdd 2013-04-01 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    ! __i18n_potArraySort() fixed to not RTE when no source is present
    + __i18n_potArraySort() tweaked to sort items w/o source info to always
      come before ones with source info
    + __i18n_potArrayClean() wlll now call transformation callback before
      deleting items
    + __i18n_potArrayClean() will now remove the item in question if the
      callback returns any non-string value
    + __i18n_potArrayClean()'s second lKeepVoidTranslations = .F. option will
      now also remove items where the translation is identical to the msg id

  - utils/hbmk2/_po_pull.hb
  - utils/hbmk2/_po_push.hb
  - utils/hbmk2/_md_make.hb
  + utils/hbmk2/hblang.hb
    * merged separate management scripts into one
    + sort pulled .po files before stripping/processing
    ! do not process .po files in place to avoid race conditions
      between parallel script sessions
    * minor tweaks

  * README.md
    ! minor
2013-04-01 04:09:18 +02:00
Viktor Szakats
cdc25aa128 2013-04-01 01:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    * consider the complete original string when sorting (was first 30 chars)

  * utils/hbmk2/_po_pull.hb
    ! more automatic translation fixups:
      "( " -> "("
      " )" -> ")"
2013-04-01 01:37:20 +02:00
Viktor Szakats
f7bd4b33e7 2013-04-01 01:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbi18n2.prg
    + added __i18n_potArrayClean() function that can clean source comments,
      empty translations and able to do transformations on translations via
      use supplied callback.

  * utils/hbmk2/_po_pull.hb
    + do cleansing on .po files pulled from Transifex:
      % strip source comments
      % strip empty translations
      ! strip right/left padding from translated strings
      ! convert multiple spaces to single one in translated strings
    ; This will help keeping the diffs nice and tight and the
      .po files in repo minimal in size

  - utils/hbmk2/po/!
    - deleted another accindental file :( fixed auto-script to be
      more selective.
2013-04-01 01:18:50 +02:00
Viktor Szakats
4f1db3a0b0 2013-03-31 22:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbi18n2.prg
    + added __i18n_potArraySort( aTrans ) -> aTrans
      to sort .pot files to a predictable order (of first
      occurrence in file). It helps reducing unnecessarily
      large and unusable diffs when updating .pots and their
      related .po files

  * utils/hbmk2/hbmk2.prg
    * marked some string previously (and intentionally) marked
      as non-translatable, as translatable. One exception less.

  * utils/hbmk2/_po_push.hb
    + sort .pot before saving and pushing to localization service
2013-03-31 22:55:32 +02:00
Viktor Szakats
35300e401d minor doc/comment/test cleanups 2013-03-31 21:35:57 +02:00
Viktor Szakats
aaa6a84532 2013-03-31 21:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitignore
    * deleted .def file as they are now covered by bin/*/ and
      otherwise .def files do exist in source repo

  * contrib/rddads/doc/en/adsfuncs.txt
  * doc/en/string.txt
    * cleanups

  * utils/hbmk2/hbmk2.prg
    * cleaned function skeletons in help

  * extras/hbdoc/hbdoc.prg
    + include unknown COMPLIANCE value as in is doc instead of an error msg

  * src/compiler/compi18n.c
    * uncrustified, tweak formatting manually
    % optimized variable scopes

  * src/rtl/hbi18n2.prg
    * minor formatting
2013-03-31 21:25:16 +02:00
Viktor Szakats
3851b7d40b 2013-03-29 23:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpdet.prg
  * src/rtl/langcomp.prg
  * utils/hbmk2/_md_gen.hb
    + added support for Spanish (Latin American) (es_419) dialect

  * utils/hbmk2/hbmk2.hbp
    + added es_419, synced with Transifex language codes

  + utils/hbmk2/_po_dl.hb
    + added automatic script that refreshes repo translations
      with Transifex translation data

  * utils/hbmk2/po/hbmk2.el.po
  * utils/hbmk2/po/hbmk2.hu.po
  * utils/hbmk2/po/hbmk2.it.po
  + utils/hbmk2/po/hbmk2.es_419.po
  + utils/hbmk2/po/hbmk2.fr_FR.po
  * utils/hbmk2/po/hbmk2.es.po -> utils/hbmk2/po/hbmk2.es_ES.po
    * synced language codes
    + updated from Transifex using new script _po_dl.hb

  * contrib/hbrun/doc/hbrun.hu.md
  * contrib/hbrun/doc/hbrun.it.md
  + contrib/hbrun/doc/hbrun.es_419.md
  * contrib/hbrun/doc/hbrun.fr.md -> contrib/hbrun/doc/hbrun.fr_FR.md
  * contrib/hbrun/doc/hbrun.es.md -> contrib/hbrun/doc/hbrun.es_ES.md
    * synced language codes
    + regerenated using _md_gen.hb

  * utils/hbmk2/doc/hbmk2.el.md
  * utils/hbmk2/doc/hbmk2.hu.md
  * utils/hbmk2/doc/hbmk2.it.md
  + utils/hbmk2/doc/hbmk2.es_419.md
  * utils/hbmk2/doc/hbmk2.fr.md -> utils/hbmk2/doc/hbmk2.fr_FR.md
  * utils/hbmk2/doc/hbmk2.es.md -> utils/hbmk2/doc/hbmk2.es_ES.md
    * synced language codes
    + regerenated using _md_gen.hb
2013-03-29 23:28:16 +01:00
Viktor Szakats
ce8414897f 2013-03-29 16:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
    ! fixed hb_langSelect() to accept ISO language codes
      using '_' as separator

  * utils/hbmk2/po/hbmk2.el_GR.po
    * updated
2013-03-29 16:23:39 +01:00
Viktor Szakats
0a066e1016 added last copyright holder to as 'Last-Translator' 2013-03-28 16:19:12 +01:00
Viktor Szakats
02bf5463a4 one more cleanup 2013-03-28 16:17:50 +01:00
Viktor Szakats
65569184aa 2013-03-28 16:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/lang/l_he.c
  * src/lang/l_hr.c
  * src/lang/l_is.c
  * src/lang/l_pt.c
  * src/lang/l_sk.c
  * src/lang/l_zh_sim.c
  * src/lang/l_zh_tra.c
    * further cleanup

  + src/lang/*.po
    + added .po files converted from language modules using
      tests/lang2po.hb script
2013-03-28 16:10:26 +01:00
Viktor Szakats
f7e766d38c 2013-03-28 16:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/lang/l_cs.c
  * src/lang/l_de.c
  * src/lang/l_he.c
  * src/lang/l_hr.c
  * src/lang/l_is.c
  * src/lang/l_pt.c
  * src/lang/l_sk.c
    * cleaned copyright holder lists

  * tests/lang2po.hb
    % convert same as original translations to empty strings
2013-03-28 16:03:46 +01:00
Viktor Szakats
3b35de952a use :__enumIsLast() 2013-03-28 15:54:21 +01:00
Viktor Szakats
11e046e204 2013-03-28 14:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    ! added standard .po meta headers (manually for now)

  * include/hbexpra.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/vm/classes.c
  * tests/foreach.prg
    + added :__enumIsLast() enum method. It returns .T. for
      last relement, .F. else. It's useful to replace conditions
      like: 'item:__enumIndex() < Len( item:__enumBase() )'

  * tests/lang2po.hb
    + added standard .po meta header
    ; use __enumIsLast()

  * contrib/hbnetio/utils/hbnetio/_console.prg
    ! fixed wrongly initialized management plugin
      (missed to update it when adapted the plugin
      for hbrun last year)

  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
    ! fixed to show proper error instead of RTE, if RPC calls
      fail to return expect values

  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
    * formatting
2013-03-28 15:00:09 +01:00
Viktor Szakats
7ad75f9543 2013-03-27 16:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed to suppress remaining remaining double outputs at
      startup in hbrun mode, when processing .hbc files

  * contrib/hbexpat/hbexpat.hbc
    ! added usage time detection of locally hosted 3rd party
      dependency to avoid warnings when the locally hosted
      dependency is not present (f.e. because the system
      hosted copy was used at build/install time)
      Experimental. If it works fine, should be applied to
      other similar contribs:
         hbbz2, hbhpdf, hblzf, hbmlzo, hbmxml, hbmzip, hbsqlit3, hbtinymt, hbxdiff, sddsqlt3

  * README.md
    * typographic and misc improvements

  * config/global.mk
    + detect qnx cross-compile tool (via Francesco Perillo)

  * include/hbsetup.h
  * src/common/hbtrace.c
    + added macro HB_OS_QNX_BB10 for BlackBerry 10 subplatform
    + guard some stuff that's not present in BB10 (via Francesco Perillo)

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbc
    ! deleted $Id$
2013-03-27 16:31:11 +01:00
Viktor Szakats
906ece32e2 fixed F_ERROR usage, unicode fix, #if 0, cleanups 2013-03-21 13:10:30 +01:00
Viktor Szakats
945b38fddd 2013-03-21 12:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/hbpp.c
    ! bcc warning
    * less empty lines in generated .h
2013-03-21 12:21:15 +01:00
Viktor Szakats
24f82d4a5d 2013-03-19 02:42 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/howtorep.txt
    * minor casing

  * src/vm/dlmalloc.c
  * src/vm/hvm.c
    ! fixed mingw -Wstrict-prototypes warnings
2013-03-19 02:43:35 +01:00
vszakats
f1640dac57 2013-03-16 16:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
    * COPYING -> COPYING.txt

  * src/common/hbver.c
    * 'Rev.' -> 'r' in VERSION() string. This affects
      all utility banners

  * utils/hbi18n/hbi18n.prg
    * assemble version display instead of assumptions
      about VERSION() content

  * utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    * cleanups

  * tests/cblock.prg -> tests/codebl2.prg
    * rename
2013-03-16 16:33:50 +01:00
vszakats
fff340897e 2013-03-16 12:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.txt
    * minor to git clone

  * src/pp/hbpp.c
    * avoid the word 'svn'
2013-03-16 12:11:13 +01:00
vszakats
9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00
vszakats
306fdd0446 2013-03-15 18:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/*
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/macro/macro.y
  * src/macro/macro.yyc
  * src/pp/hbpp.1
  * tests/*/*
  * utils/*
    * stripped svn header manually

  * tests/hbdocext.hb
  * tests/lang2po.hb
  * tests/big5_gen.prg
  * tests/uc16_gen.prg
    * do not add svn ids to generated sources

  + tests/stripsvn.hb
    + added script to strip svn header from sources
2013-03-15 18:30:08 +01:00
vszakats
cf83e38242 2013-03-15 17:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + replaced HBRawVersion() with better implementation

  * src/rtl/hbregex.c
    * formatting
2013-03-15 17:32:17 +01:00
vszakats
a4db48b97c 2013-03-15 16:40 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/hbpp.c
    + changed to form the "revision" number from last
      ChangeLog.txt entry's date/time.
      Revision will now be a 32-bit number, f.e. this
      revision: 1303151640 (YYMMDDhhmm). It will be the
      value returned by __HARBOUR__.
      This can be further formatted for better readability,
      as: '130315.1640'
2013-03-15 16:45:23 +01:00
vszakats
ebb41c7b92 2013-03-15 15:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/hbpp.c
    * fall-back to revision 0 if there is no numeric
      revision information in ChangeLog header (for Git)
      Revision is useful, so maybe we should go with one
      formed from date/time: YYMMDDhhmm -> '130315.1547'
      this is quite universal and has some advantages over
      sequential nr.
2013-03-15 15:49:50 +01:00
vszakats
a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00