Commit Graph

135 Commits

Author SHA1 Message Date
Viktor Szakáts
276b750d5d 2013-06-13 23:59 UTC+0200 Viktor Szakáts (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! reverted 2nd hunk of 2013-06-03 16:45 UTC+0200. It
      introduced unnecessary and confusing disparity between
      command-line and .hbp/.hbm while they are supposed to
      be working similarly. It also breaks syntax supported
      in .hbc directives, and it also makes behavior contracting
      with the way documented in hbmk2 help and hbmk2 examples.
      All this, to resolve the problem of space containing option
      values for one specific and rare subcase of reverted apostrophs.
      To pass option/directive value containing a space, put
      the whole option (or the option value) in double quotes
      (as documented in help), this works equally well on the
      command line and in .hbp/.hbm/.hbc files.

  * ChangeLog.txt
    ! ending whitespaces
    ! explicitly filled git $Id
2013-06-14 00:12:06 +02:00
Przemysław Czerpak
d55d57c622 2013-06-10 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtwvt/gtwvt.c
    * removed not longer user K_Ctrl[] array

  * contrib/gtqtc/gtqtc1.cpp
    ! fixed MT protection to work with recursive calls
      (such call can appear after ALT+ENTER)

  * doc/xhb-diff.txt
    * updated "HASH ARRAYS" paragraph

  * config/lang2po.hb
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbexpat/tests/tohash.prg
  * contrib/hbmxml/core.c
  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbwin/hbolesrv.c
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv2.prg
  * contrib/make.hb
  * contrib/xhb/xhbhasha.c
  * src/rtl/hbdoc.prg
  * src/rtl/hbini.prg
  * src/rtl/hbjson.c
  * tests/big5_gen.prg
  * tests/uc16_gen.prg
  * utils/hbmk2/hbmk2.prg
    * removed keeporder setting - now it's default for newly
      created hash arrays

  * contrib/gtwvg/gtwvg.hbx
    * added missing functions
2013-06-10 16:59:13 +02:00
Przemysław Czerpak
d900dc5b1c 2013-06-03 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbtoken.c
    + added support for passing token parser parameters as bit field number.
      The goal is to replace last to parameters with single bit field which
      allows to set many different parsing aspects instead of adding many
      new parameters.
    + added support for reverted apostrophes quoting: `a b c`
    ; TODO: add constant values to control parser in token functions

  * utils/hbmk2/hbmk2.prg
    ! respect reverted apostrophes quoting in options read from .hbp/.hbm
      files.
    ! do not ignore tool parameters passed in -*flags= hbmk2 params if
      they do not start with '-'. It resolves problems with shells which
      need special quoting to pass parameters, i.e. with both modifications
      it's possible to use in hbp files dynamic parameters encapsulated in
      different forms, depending on used platform, shell and parameter type,
      i.e. parameters are passed as set of separated arguments:
         -cflag=`config-tool1`
      or paramters are passed as single argument:
         -cflag="`config-tool2`"
      or parameters are passed in file which name shows config-tool3:
         -cflag="@`config-tool3`"
      In short words now things like:
         -cflag=`pkg-config --cflags gtk+-3.0`
      will work correctly with .hbp files
2013-06-03 16:45:25 +02:00
Przemysław Czerpak
ad8fcef5ae 2013-05-15 19:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/pp/hbpp.c
    ! fixed ChangeLog file name detection broken after adding .txt
      extension.

  * src/rtl/hbproces.c
    + added support merged stdout and stderr output in hb_fsProcessRun()

  * src/rtl/hbprocfn.c
    + added support merged stdout and stderr output in hb_processRun()
      PRG function. To extract merged stdin and stdout application output
      it's enough to pass by reference in 3-rd and 4-th parameters the same
      variable, i.e.:
         nResult := hb_processRun( cCommand,, @cOutErr, @cOutErr )

  * utils/hbmk2/hbmk2.prg
    ! use hb_processRun() intead of hb_processOpen() to extract merged
      stdout and stderr output. It fixes all builds in which hb_processOpen()
      does not exists due to some system limitations like missing pipes,
      i.e. DOS builds.

  * src/vm/fm.c
    ! fixed typo in DOS builds

  * src/rtl/gtwin/gtwin.c
    ! ignore mouse position reported in mouse wheel events which use
      screen based coordinates instead of console window ones.
2013-05-15 19:54:49 +02:00
Przemysław Czerpak
8ce27f3b51 2013-04-22 22:05 UTC+0200 Przemysław Czerpak (druzus/at/poczta.onet.pl)
* bin/check.hb
  * bin/commit.hb
    ! added executable attribute

  * doc/xhb-diff.txt
    ! xBase++ -> Xbase++, Harbor -> Harbour

  * utils/hbmk2/hbmk2.prg
    + show project name in error messages
    ! applied Viktor fixes:
      2013-04-17 03:45 UTC+0200 Viktor Szakats (harbour syenar.net)
        ! fixed to not leave temp .lnk file on disk with -hbdyn[vm]
          targets in win/gcc compiler family
        ! fixed win/tcc to not use gcc style .lnk files when creating
          -hbdyn[vm] targets
    ! added workaround for linker stderr messages redirected to stdout.
      It's not perfect but for sure much better then previous behavior.
      Now recently created problems like broken *nix builds can be well
      seen in stderr output.
2013-04-22 22:06:27 +02:00
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