* 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)
* 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
* 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
- 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)
* 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
* 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
* 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
* 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
* 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.
* 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
* 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
* utils/hbmk2/hbmk2.prg
+ clarified 'target' in several help items
+ added 'to stdout' to clarifiy some help items
+ use 'platform/C compiler' except 'toolchain'
* .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
* utils/hbmk2/_md_make.hb
* utils/hbmk2/_po_pull.hb
* utils/hbmk2/_po_push.hb
+ internals almost fully generalized
+ convert Transifex newline symbol to real newline
* utils/hbmk2/hbmk2.prg
+ AllTrim() some translated text to avoid bad Markdown result
when translated text contains left/right padding.
TODO: double spaces in translated text and extend above
to all strings, and move the whole post-processing/fixing
to the po pull stage. Would be nice to have a core i18n
function to be able to apply transformations via codeblock
to translated text.