92 Commits

Author SHA1 Message Date
Przemysław Czerpak
d5899fbc57 2014-01-14 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* config/win/global.mk
  * utils/hbmk2/hbmk2.prg
  * src/rtl/hbsocket.c
    + added support for returning NIC MAC address by hb_socketGetIFaces()
      in MS-Windows builds.
      To see physical device addresses bound with active IP interfaces use:
         #include "hbsocket.ch"
         PROCEDURE Main()
            LOCAL aIFace
            FOR EACH aIFace IN hb_socketGetIFaces( , .t. )
               ? "IP:", aIFace[ HB_SOCKET_IFINFO_ADDR ], ;
                 "   MAC:", aIFace[ HB_SOCKET_IFINFO_HWADDR ]
            NEXT
            WAIT
         RETURN
2014-01-14 23:36:33 +01:00
Przemysław Czerpak
88389dbb84 2013-10-15 23:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
- contrib/hbfship/flddeci.c
  * contrib/hbfship/hbfship.hbp
    - removed FieldDeci() function. Function with the same name and
      functionality exists in HBCT.

  * config/postinst.hb
    ! typo in my previous commit

  * ChangeLog.txt
    ! UTF8 BOM, indenting and trailing line spaces in one of recent commits
2013-10-15 23:29:04 +02:00
Przemysław Czerpak
caaa1e1159 2013-10-09 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* config/globsh.mk
    * use $(CP) as workaround for missing soft links in NT shell.
      I know about mklink but it needs quite new Windows version
      and soft links need special privileges. Anyhow better solution
      is highly welcome.

  * config/postinst.hb
    * use hardlinks or copy files if symlinks do not work

  * config/linux/gcc.mk
    * added support for non SH shells - it allows to create Android
      builds in MS-Windows using Android NDK from Google.
2013-10-09 21:59:30 +02:00
Viktor Szakáts
6752936b57 use web url instead of obfuscated email 2013-10-09 20:08:24 +02:00
Przemysław Czerpak
bc02c9b89d 2013-08-27 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* config/global.mk
    * disabled HB_BUILD_CONTRIB_DYN in default non MS-Windows builds

  * utils/hbmk2/hbmk2.prg
    * formatting
2013-08-27 01:55:43 +02:00
Przemysław Czerpak
ea60542664 2013-08-23 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/fstemp.c
    ! fixed casting for DOS C++ builds

  * config/dos/watcom.mk
    ! moved CRTL library to the end of linked library list - some
      other libraries may overload some C RTL functions or symbols,
      f.e. error descriptions in WATT-32

  * utils/hbmk2/hbmk2.prg
    ! added hbpmcom library to linked library list in DOS builds
    ! fixed WATT-32 support in DOS builds to work in cross compilation
      environment
    ! link WATT-32 library before C RTL
    ! fixed simultaneous compilation with -jobs=N when N >= 2
      The same hash array (hReplace) was shared between different threads
      and each thread tried to modify it overloading their own parameters.
      It was causing different side effects, i.e. all threads compiled
      the same .c file instead of their own ones or HBMK2 was crashing
      due to memory corruption.
    * always join all started threads
2013-08-23 14:25:14 +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
Viktor Szakats
850e776bad 2013-04-16 01:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
    ! updated dir where .po files are looked for
      for util .hbl creation

  * contrib/make.hb
    ! fixed to convert dirseps and missing trim before
      existence check of hbplist.txt items
2013-04-16 01:26:16 +02:00
Viktor Szakats
fe9b84e2c2 2013-04-08 02:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
    * minor

  * doc/howtorep.txt
  * README.md
    ! updated link to hbmk2 doc
    * updated steps for committing to emphasis in bin/commit
      script than trying to describe some of the rules
2013-04-08 02:14:06 +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
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
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
5743d0f3fc further clarifications to some translations 2013-04-03 16:10:53 +02:00
Viktor Szakats
a0e2631672 added two translation notes in sync with Transifex UI 2013-04-03 13:48:29 +02:00
Viktor Szakats
a98f804220 comment 2013-04-03 13:14:21 +02:00
Viktor Szakats
0d597558db 2013-04-03 13:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + implemented translation corrections for right-to-left
      languages
    + enabled translation corrections for core-lang modules
2013-04-03 13:13:33 +02:00
Viktor Szakats
26f328e4e2 2013-04-03 12:13 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/a/*.c
  - src/lang/l_en.c
    - deleted mistakenly autocommitted files

  * config/lang.hb
    ! exclude base lang from automatically formed list of core languages

  * src/rtl/hbi18n2.prg
    * minor code clarification (but worse performance)
2013-04-03 12:14:45 +02:00
Viktor Szakats
764f140a97 2013-04-03 05:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/po2lang.hb
    * hide e-mail in lang .c files

  * src/lang/*.c
    * updated/regenerated automatically
2013-04-03 05:49:07 +02:00
Viktor Szakats
de93214c1f 2013-04-03 04:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang2po.hb
  * tests/langchk.hb
    ! fixed filter to allow pt_br and other non-legacy lang ids
      to pass

  * src/lang/l_en_tpl.c
    % deleted outdated information

  * src/lang/l_pt_br.c
    * updated automatically
2013-04-03 04:08:55 +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
f9d38b5ef5 2013-04-03 03:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fix to filename filter (needs large cleanup)

  * config/lang.hb
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  + src/lang/l_pt_br.c
    + added 'pt_br' language
2013-04-03 03:16:49 +02:00
Viktor Szakats
2e18ae8387 2013-04-03 03:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + enabled pulling all translation for core-lang

  * src/lang/l_es_419.c
    ! fixed lang ID

  * src/lang/l_*.c
    * rebuilt automatically from translations pulled from Transifex

  * config/lang2po.hb
    + added further clarification to one of the translations, in
      sync with Transifex comment. (comments cannot be pushed/pulled via .po)

  * bin/check.hb
    * minor
2013-04-03 03:04:01 +02:00
Viktor Szakats
942cfa22da 2013-04-03 01:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/lang2po.hb -> config/lang2po.hb
  * tests/po2lang.hb -> config/po2lang.hb
    * moved to their final location

  * config/lang.hb
    + implemented automatic processed for core lang modules
      (component name 'core-lang'). The script will automatically
      convert to/from .c language modules and .po files for
      Transifex.

  * src/lang/l_hu.c
    + updated using above script
2013-04-03 01:50:11 +02:00
Viktor Szakats
b9d69aa3f5 2013-04-02 17:49 UTC+0200 Viktor Szakats (harbour syenar.net)
+ bin/check.hb
    + new source verifier. Able to all documented (and more)
      required text file and filename properties.

  * bin/commit.hb
    + added feature to verify all files to be committed to
      conform with certain naming and text file content rules
    + added some more feedback

  * config/postinst.hb
    + include commit.hb and check.hb in 'install'

  * include/extend.h
  * contrib/hbcairo/paths.c
  * contrib/hbcairo/png.c
  * contrib/hbcairo/util.c
  * contrib/hbtpathy/readme.txt
  * tests/harbour.ini
  * tests/parseins.ini
    ! multiple EOL at EOF

  * contrib/hbhpdf/tests/files/cp932.txt
  * contrib/hbhpdf/tests/files/cp936.txt
  * contrib/hbhpdf/tests/files/elic_jp.txt
    ! line ending spaces
    ! missing EOL at EOF

  * contrib/hbhttpd/tests/tpl/app/account/edit.tpl
  * contrib/hbhttpd/tests/tpl/app/login.tpl
  * contrib/hbhttpd/tests/tpl/app/logout.tpl
  * contrib/hbhttpd/tests/tpl/app/main.tpl
  * contrib/hbhttpd/tests/tpl/app/register.tpl
  * lib/3rd/win/bcc/unicows_license.txt
  * lib/3rd/win/mingw/libunicows_license.txt
    ! missing EOL at EOF

  * COPYING.txt
  * src/rtl/gtcrs/hb-charmap.def
  * tests/big5_gen.prg
    ! tabs

  * extras/gfspell/spell.prg
  * src/rtl/gtwin/gtwin.c
    ! ASCII 127

  * src/codepage/cp_tpl.c
    ! converted to UTF-8 (just guessing what the original CP was)

  * src/pp/hbpp.c
    ! do not generate SVN header in hbverbld.h
    + avoid SVN header string in source as is to miss matched
      in source verifier

  * src/vm/extrap.c
    ! do not generate whitespace at EOL in output

  * tests/lang2po.hb
  * tests/po2lang.hb
    + minor improvements
    ! fixed to generate consistent EOL

  * bin/3rdpatch.hb
    * newline at top deleted

  * extras/hbdoc/hbdoc.hbp
  * extras/hbdoc/hbdoc.prg
  * extras/hbdoc/_tmplates.prg -> extras/hbdoc/_tmplate.prg
  * contrib/hbcairo/tests/lightning.prg -> contrib/hbcairo/tests/lightnin.prg
    ! long filename

  * .gitattributes
  * extras/guestbk/guestbk.prg
  * extras/guestbk/guestbk.txt
  * extras/guestbk/guestbk.htm -> extras/guestbk/guestbk.html
    * deleted .htm file, now all HTML has extension .html
    * .exe references in doc made OS neutral
    ; Can only be used on non-MS-DOS systems, so it's okay
2013-04-02 17:50:36 +02:00
Viktor Szakats
77594dd2d6 include project name in screen output 2013-04-02 02:58:06 +02:00
Viktor Szakats
783f45656d 2013-04-02 02:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    ! __i18n_potArrayClean() to evaluate transformation
      codeblock in normal order (was reverse)

  * tests/lang2po.hb
    + made all necessary modification to allow two-way conversion

  + tests/po2lang.hb
    + added script that converts a core .po back to a lang module

  * src/rtl/strc.c
    * casing in comments

  * config/lang.hb
    + added std script options
2013-04-02 02:51:04 +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
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
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
2400974a60 2013-03-27 03:54 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + changed the way script debugging is invoked, now
      instead of little awkward HBSHELL_DEBUG envvar,
      it's as simple as adding '--hb:debug' option to the
      cmdline.
    ! fixed RTE after recent patch

  * README.md
    + typographic refinements
    + added script debugging example
    + added link to BOM article

  * .gitignore
    ! fixed to not match config/<platform>

  + config/qnx/gccarm.mk
    + added qnx/gccarm (with BB in mind)

  * package/winuni/RELNOTES.txt
    ! updated README section reference

  * COPYING.txt
    * minor

  * tests/hello.prg
    + std text
2013-03-27 05:31:49 +01:00
Viktor Szakats
05634bebdc 2013-03-26 16:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed to use 'hbshell' prefix in output messages
      when running in hbrun mode
    ! do not display double warning about missing .hbc files
    % use _hbmk_OutErr() in hbshell code

  * config/global.mk
  * README.md
    + enabled HB_BUILD_CONTRIB_DYN on all platforms
      (regressions possible) (untested on platforms that
      do not support dynamic libs, like MS-DOS)

  * README.md
    % deleted redundant link
    + added no-BOM requirement
2013-03-26 16:31:37 +01:00
Viktor Szakats
4eb41f42e7 renamed README.txt to README.md 2013-03-26 01:49:20 +01:00
Viktor Szakats
dd69f84d5c 2013-03-25 20:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/Makefile
    - updated for recently deleted file

  * config/global.mk
  * utils/hbmk2/hbmk2.prg
    + autodetect gcc 4.8

  * package/winuni/mpkg_win_uni.bat
    + include sjlj and seh libgcc dlls
      (starting with gcc 4.8, libgcc dll is required by default)
2013-03-25 20:27:40 +01:00
Viktor Szakats
8c6f90cc84 Revert "Revert "2013-03-20 00:48 UTC+0100 Viktor Szakats (harbour syenar.net)""
This reverts commit bb777c776c.
2013-03-20 00:51:40 +01:00
Viktor Szakats
bb777c776c Revert "2013-03-20 00:48 UTC+0100 Viktor Szakats (harbour syenar.net)"
This reverts commit 39e0af0465.
2013-03-20 00:50:55 +01:00
Viktor Szakats
39e0af0465 2013-03-20 00:48 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % string forming optimizations

  * doc/en/tlabel.txt
  * doc/en/treport.txt
    * made filename usage clear

  * README.txt
    + added new OpenSSL documentation wiki
2013-03-20 00:50:11 +01:00
vszakats
cfd8f7db38 2013-03-16 18:11 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
    * minor

  * utils/hbmk2/hbmk2.prg
    * experimenting with formatting the revision number
      to more readable format
2013-03-16 18:12:27 +01:00
vszakats
7a00912755 2013-03-16 12:15 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    * changed order of VCS systems in help

  * config/global.mk
    - deleted commented svn support

  * tests/stripsvn.hb -> tests/stripid.hb
    * avoid the word 'svn'
2013-03-16 12:16:16 +01:00
vszakats
6c3070d8b6 2013-03-16 04:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
    ! fixed to not try to query git information and fail,
      when run in a source snapshot
2013-03-16 04:52:47 +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
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