Commit Graph

130 Commits

Author SHA1 Message Date
Viktor Szakats
e2569e473c converted hbmk2 macros to lowercase for consistency 2013-04-08 13:41:32 +02:00
Viktor Szakats
7a21555851 updated localization, manuals regenerated (semi-automatic) 2013-04-06 16:55:27 +02:00
Viktor Szakats
347885568d updated localization, manuals regenerated (semi-automatic) 2013-04-06 12:08:26 +02:00
Viktor Szakats
5b0c7dabae updated localization, manuals regenerated (semi-automatic) 2013-04-05 18:11:21 +02:00
Viktor Szakats
a08811f554 2013-04-05 14:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! made it work regardless of cwd
    + added --fixup option to fix/process files
    + extended detection of SVN IDs based on 'ident' option
      in .gitattributes. Now also warn if missing.
    + added detection of C++ style comments in C files
    + ported Harbour function name casing fixup code, so
      it can now be done automatically before commit

  * bin/commit.hb
    * minor change in option name

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
    ! deleted large amount of MSDN documentation in C++ comments
    ! fixed C++ comments

  * src/pp/ppcore.c
    * avoid false C++ comment detection in deffed out
      non-code section

  * src/rtl/gttrm/gttrm.c
  * contrib/rddads/adsx.c
  * contrib/xhb/filestat.c
    ! fixed C++ comment

  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    + better comment

  * extras/gtwvw/hbgtwvw.h
  * extras/gtwvw/*.c
    ! fixed C++ comments
2013-04-05 15:03:38 +02:00
Viktor Szakats
38310bc781 2013-04-05 02:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed to use local implementation instead of hb_DirScan()
      which has known bug of missing extensionless files on win.
      (due to hb_FileMatch() problem)
    + added support to optimize images and uncrustify C source
      before upload (inactive yet)
    + added necessary exceptions now that extensionless files
      properly found
    + checks for filenames without extensions
    + checks for filenames with extensions not in .gitattributes

  * bin/commit.hb
    + show helpful advice when pre-commit hook check fails
    ! fixed to propely pick filenames that result from rename operations (for check)
    ! fixed to not pick filenames of deleted files (for check)

  * config/lang.hb
  * doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/Makefile
  * src/lang/l_zh_tra.c -> src/lang/l_zh.c
  * src/rtl/langcomp.prg
    * Language renamed: zh_tra -> zh (in sync with recently laid rules)
      The 'REQUEST HB_LANG_*' value become INCOMPATIBLE compared
      to previous dev versions

  * src/rtl/cdpdet.prg
    + added 'zh' country code to codepage detection

  * contrib/make.hb
  * contrib/hbplist -> contrib/hbplist.txt
    * renamed to have an extension

  * contrib/hbrun/doc/_GENERATED_ -> contrib/hbrun/doc/_autogen.txt
  * utils/hbmk2/doc/_GENERATED_ -> utils/hbmk2/doc/_autogen.txt
    * renamed to have names fitting naming rules
    + added warning message inside

  - extras/httpsrv/logs/empty
    - deleted unnecessary file with non-compliant filename

  - tests/stripeol.hb
    % deleted, now similar functionality is implemented in bin/check.hb

  * .gitattributes
    ! added missing .log and .ucf

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
    ! deleted SVN ID

  * debian/copyright
    ! synced with COPYING.txt

  * debian/postinst
  * debian/postrm
    ! deleted multiple EOL at EOF
2013-04-05 03:02:47 +02:00
Viktor Szakats
156423e40e updated localization, manuals regenerated (semi-automatic) 2013-04-05 00:04:43 +02:00
Viktor Szakats
a5237a1049 updated localization, manuals regenerated (semi-automatic) 2013-04-04 16:21:28 +02:00
Viktor Szakats
e93da74489 2013-04-04 16:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
  * utils/hbmk2/hbmk2.hbp
  * contrib/hbrun/doc/hbrun.es_ES.md -> contrib/hbrun/doc/hbrun.es.md
  * utils/hbmk2/doc/hbmk2.es_ES.md -> utils/hbmk2/doc/hbmk2.es.md
  * utils/hbmk2/po/hbmk2.es_ES.po -> utils/hbmk2/po/hbmk2.es.po
    * 'es_ES' -> 'es'
    ; General rule is to support the "root" language and any number
      of additional dialects, f.e. 'es'+'es_419', 'pt'+'pt_BR', 'fr').
      (as opposed to dialects only, f.e. 'es_ES'+'es_419', 'pt_PT'+'pt_BR', 'fr_FR')
2013-04-04 16:15:44 +02:00
Viktor Szakats
ea2bfda95e updated localization, manuals regenerated (semi-automatic) 2013-04-04 14:26:56 +02:00
Viktor Szakats
fb9328c9b5 2013-04-04 04:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    + added code to launch default git editor with ChangeLog.txt
      (not yet activated)

  * contrib/hbexpat/hbexpat.hbc
    - reverted these two:
        2013-04-03 16:01 UTC+0200
        2013-03-27 16:29 UTC+0100
      It seems that expat.hbc is always installed regardless
      of local or system copy is used along the build/install
      process

  * utils/hbmk2/hbmk2.prg
    ! fixed -run on Darwin after 2013-03-15 13:57 UTC+0100
      (untested)
2013-04-04 04:41:09 +02:00
Viktor Szakats
dbbe6b4170 updated localization, manuals regenerated (semi-automatic) 2013-04-04 03:53:38 +02:00
Viktor Szakats
e2b40f48fb 2013-04-04 03:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed shrinking of ChangeLog.txt to not result in broken EOLs
    ! refinements around interactions of EOL checks and fixes
    ! include Harbour files "hidden" under /3rd/ dirs

  * bin/commit.hb
    + set errorlevel, so it can now be used as a git pre-commit hook
      (as 'exec hbrun bin/commit' in .gits/hooks/pre-commit)

  * contrib/hbexpat/hbexpat.hbc
    ! fixed expat.hbc detection to actually look for .hbc file not .h
      (which is never present)

  * utils/hbmk2/hbmk2.prg
    + added depfinish= .hbc directive. It was missing, yet I
      was using it in hbexpat.hbc in recent patch, and wondered
      why it didn't work
      [ the necessity of the whole previous patch is still suspect
      though. ]
    + show warning for any .hbc directives that is unknown.
      This should avoid above situation nicely.
      INCOMPATIBILITY: Thus far all lines with unknown directives
      were ignored, now only empty ones or ones that begin with
      '#' character (in first column), as documented. Clean your
      .hbc files accordingly.
    ! fixed typo in one help text. Pls retranslate, I hope Transifex
      keeps previous texts, but you can find it in next language
      update commit, if not.

  * package/harb_win.mft
    ! deleted BOM (detected by check.hb)

  * contrib/3rd/sqlite3/sqlite3.hbc
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbc
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/_hbconf.h
  * contrib/hbexpat/3rd/expat/expat.hbc
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbhpdf/3rd/libhpdf/_hbhbpdf.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbc
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbc
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmxml/3rd/minixml/config.h
  * contrib/hbmxml/3rd/minixml/minixml.dif
  * contrib/hbmxml/3rd/minixml/mxml.hbc
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbc
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbxdiff/3rd/libxdiff/_hbconf.h
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
  * lib/3rd/win/bcc/Makefile
  * lib/3rd/win/mingw/Makefile
    ! deleted SVN IDs
    * rediffed where required
2013-04-04 03:50:52 +02:00
Viktor Szakats
3581bc2b55 updated localization, manuals regenerated (semi-automatic) 2013-04-04 00:27:35 +02:00
Viktor Szakats
8fb5c10721 2013-04-04 00:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang2po.hb
    + more translation comments
    + added source comments for core-lang translation source.
      (only the order of lang_id values is signficant, the
      actual values aren't)
    + minor code reabability

  * utils/hbmk2/hbmk2.hbp
    + enabled Galician translation

  * config/lang.hb
  * contrib/hbrun/doc/hbrun.fr_FR.md -> contrib/hbrun/doc/hbrun.fr.md
  * utils/hbmk2/doc/hbmk2.fr_FR.md -> utils/hbmk2/doc/hbmk2.fr.md
  * utils/hbmk2/po/hbmk2.fr_FR.po -> utils/hbmk2/po/hbmk2.fr.po
  * utils/hbmk2/hbmk2.hbp
    * fr_FR -> fr (to be in sync with lang modules and until there is
      no demand for fr_CA)

  * contrib/make.hb
    * whitespace
2013-04-04 00:08:04 +02:00
Viktor Szakats
764ef1bed4 updated localization, manuals regenerated (semi-automatic) 2013-04-03 16:03:16 +02:00
Viktor Szakats
21431980f1 applied autocorrections for core-lang, autoupdated with Transifex translations. 2013-04-03 13:22:29 +02:00
Viktor Szakats
c4866141fa updated localization, manuals regenerated (semi-automatic) 2013-04-03 12:12:30 +02:00
Viktor Szakats
0c6e68d4a3 updated localization, manuals regenerated (semi-automatic) 2013-04-03 12:03:44 +02:00
Viktor Szakats
99d487cb27 2013-04-03 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    * option rename

  * config/lang2po.hb
    ! typo

  * src/lang/l_pt_br.c
    ! typos

  * src/lang/l_pt.c
    * updated from Transifex
2013-04-03 03:34:36 +02:00
Viktor Szakats
ae2163cbab updated localization, manuals regenerated (semi-automatic) 2013-04-03 00:23:27 +02:00
Viktor Szakats
4d4fceb53f updated localization, manuals regenerated (semi-automatic) 2013-04-02 18:28:12 +02:00
Viktor Szakats
68223b2916 updated localization, manuals regenerated (semi-automatic) 2013-04-02 02:53:33 +02:00
Viktor Szakats
f29b373946 2013-04-02 00:06 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbrun/doc/hbrun.md
  - utils/hbmk2/doc/hbmk2.md
    - deleted files uploaded accidentally

  * config/lang.hb
    ! fixed last minute bug in adding extension to doc file
    ! fixed being wrongly based, now should be as passed option
      relative to cwd (was self dir)
2013-04-02 00:08:15 +02:00
Viktor Szakats
ba05780315 updated localization, manuals regenerated (semi-automatic) 2013-04-02 00:04:27 +02:00
Viktor Szakats
23ebe811d3 2013-04-02 00:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + now requires the target project to be passed on cmdline
    + now pulls configuration from .hbp files.
      See .hbp changes in this very commit.
    + generalized the 'hbrun' special case in 'doc_make' mode
    + generalized doc output type (so can be other than .md now)
    % doesn't require hbrun tool anymore
    ; it means the tool is now more or less generic and can
      support else than hbmk2

  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    + added configuration options for lang.hb

  * utils/hbi18n/hbi18n.prg
    + steps to make it better translatable

  * utils/hbmk2/hbmk2.prg
    + provisions to enable context in hb_i18n_*() API usage
2013-04-02 00:01:50 +02:00
Viktor Szakats
2c5662568c moved to global location 2013-04-01 23:46:10 +02:00
Viktor Szakats
f75ed9c574 2013-04-01 23:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/lang.hb
    + trs_push to push all languages
    + do not create doc of there if not supported
2013-04-01 23:44:08 +02:00
Viktor Szakats
97dee6eb03 updated localization, manuals regenerated (semi-automatic) 2013-04-01 23:38:13 +02:00
Viktor Szakats
f3847d9ddb updated localization, manuals regenerated (semi-automatic) 2013-04-01 20:47:07 +02:00
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
d630728319 updated localization, manuals regenerated (semi-automatic) 2013-04-01 18:44:16 +02:00
Viktor Szakats
10aab71a4b updated localization, manuals regenerated (semi-automatic) 2013-04-01 16:18:58 +02:00
Viktor Szakats
5ee7c8a419 updated localization, manuals regenerated (semi-automatic) 2013-04-01 14:24:35 +02:00
Viktor Szakats
fd4e1aa8b6 updated localization, manuals regenerated (semi-automatic) 2013-04-01 13:19:57 +02:00
Viktor Szakats
a0010d5b9a updated localization, manuals regenerated (semi-automatic) 2013-04-01 05:37:05 +02:00
Viktor Szakats
c2f5fc3ac9 2013-04-01 05:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/lang.hb
    + more automatic doctoring of translated strings

  * utils/hbmk2/hbmk2.prg
    * added TOFIX for an ambiguous translatable string
2013-04-01 05:36:11 +02:00
Viktor Szakats
0080b89464 updated localization, manuals regenerated (semi-automatic) 2013-04-01 04:24:27 +02:00
Viktor Szakats
159c2299d0 few value names were translatable by mistake 2013-04-01 04:23:02 +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
0aadabafd7 updated localization, manuals regenerated (semi-automatic) 2013-04-01 03:44:21 +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
f18ce81c0b 2013-04-01 01:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_po_pull.hb
    ! fixed wrong EOL forming after prev
    % consolidated newline transformation into new doctoring calling
    + fixing EOL+space into EOL in translated text
2013-04-01 01:30:23 +02:00
Viktor Szakats
f861720034 updated localization, manuals regenerated (semi-automatic) 2013-04-01 01:29:15 +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
bf545e1b4b updated localization, manuals regenerated (semi-automatic) 2013-04-01 01:08:20 +02:00
Viktor Szakats
c8192af65c updated localization, manuals regenerated (semi-automatic) 2013-04-01 00:21:44 +02:00
Viktor Szakats
3b20d12114 2013-04-01 00:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + will now use UTF-8 when the stdout is redirected to file
      (caveat: will also use UTF-8 when using Windows tools
      like 'more' do not understand UTF-8)
    + will now use UTF-8 when using -viewhelp to open the help in viewer

  * README.md
    * minor clarification to formatting cmd templates

  * .gitattributes
    + some lines for future testing
2013-04-01 00:20:58 +02:00
Viktor Szakats
671c61b6de updated localization, manuals regenerated (semi-automatic) 2013-03-31 22:56:57 +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