Commit Graph

1385 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
62f1c44f96 2012-09-13 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbbffnc.c
  * harbour/include/harbour.hbx
    + added new functions for BlowFish encryption using CFB (cipher feedback)
      mode instead of ECB (electronic codebook) mode with ANSI X.923 padding:
         hb_blowfishEncrypt_CFB( <cBfKey>, <cText> [, <cInitSeed> ] )
                  -> <cCipher> | NIL
            return string encrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters)
         hb_blowfishDecrypt_CFB( <cBfKey>, <cCipher> [, <cInitSeed> ] )
                  -> <cText> | NIL
            return string decrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters),

  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbmd5enc.c
  * harbour/include/harbour.hbx
    + added new functions for MD5 encryption/decryption
      using CFB (cipher feedback) mode:
         hb_MD5Encrypt( <cText>, <cPasswd> ) -> <cCipher>
         hb_MD5Decrypt( <cCipher>, <cPasswd> ] ) -> <cText>
2012-09-13 14:02:52 +00:00
Przemyslaw Czerpak
c03dbf4af9 2012-09-12 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbmacro.h
  * harbour/src/vm/macro.c
    % added static function hb_macroClear() and cleand hb_macroDelete() code
    - removed not longer necessary HB_MACRO_DEALLOCATE macro

  * harbour/src/rdd/hsx/hsx.c
    * use hb_vmDestroyBlockOrMacro()

  * harbour/src/vm/hvm.c
    * allow to execute hb_vmThreadState() by threads without HVM stack

  * harbour/src/3rd/zlib/gzlib.c
  * harbour/src/3rd/zlib/zlib.dif
    * updated for Digital Mars builds builds

  * harbour/src/rtl/gtwvt/gtwvt.c
    * pacified warning
2012-09-12 09:51:24 +00:00
Przemyslaw Czerpak
8cf8de75c0 2012-09-09 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/config/dos/watcom.mk
  * harbour/utils/hbmk2/hbmk2.prg
    ! cleaned and synced optimization flags which interacts with calling
      convention

  * harbour/src/3rd/zlib/zconf.h
    ! added missing export attribute in OS2 dll builds

  * harbour/src/3rd/zlib/zlib.dif
    * rediffed

  * harbour/src/compiler/hbmain.c
    * minor modification to pacify warning generated by some compilers

  * harbour/src/rtl/gete.c
    ! added missing #include "hbapicdp.h" in DOS and OS2 builds

  * harbour/src/rtl/gtdos/gtdos.c
    ! fixed typo

  * harbour/contrib/3rd/sqlite3/sqlite3.hbp
    ! set SQLITE_OS_OTHER in Watcom OS2 builds - it does not support
      PTHREAD and some OS extensions used in default SQLite builds
2012-09-09 16:51:37 +00:00
Przemyslaw Czerpak
d8bae395d3 2012-09-09 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rdd/workarea.c
    ! set FOUND flag in child workareas when non index but
      record number relation is used - Clipper compatible behavior.
      Many thanks to Davor Siklic for information about the problem
      and self contain code example.
2012-09-09 12:02:25 +00:00
Przemyslaw Czerpak
576ee9e052 2012-09-04 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! fixed GCC PP rules - thanks to Teo Fonrouge for the information
      about the problem
2012-09-04 16:49:45 +00:00
Przemyslaw Czerpak
68d92676c1 2012-09-04 14:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/debug/debugger.prg
  * harbour/src/debug/dbgwa.prg
  * harbour/src/debug/dbgtarr.prg
  * harbour/src/debug/tbrwtext.prg
  * harbour/src/debug/dbgthsh.prg
    * minor formatting
    % use: hb_ADel( <aVal>, <nPos>, .t. )
      instead of: ADel( <aVal>, <nPos> ); ASize( <aVal>, Len( <aVal> ) - 1 )
    ! fixed absolute positioning in HBBrwText class - it was implemented
      as repeated line skipping from the top causing incredible fatal
      performance when larger source files are presented.
2012-09-04 12:47:22 +00:00
Przemyslaw Czerpak
745aa1eac2 2012-09-03 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/chruni.c
  * harbour/include/harbour.hbx
    + added new functions to operate on unicode and binary strings.
      They work like hb_At() but are CP independent.
         hb_UAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
         hb_BAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
2012-09-03 09:57:48 +00:00
Przemyslaw Czerpak
99273ec1f6 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added yet another protection against buffer overflow
    % eliminated redundant code

  * harbour/include/hbvmpub.h
  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/genc.c
    + added new warning message:
         STATIC Function '????' defined but never used
      It's enabled by -w2 and higher.
      The idea was inspired by recent modification in xHarbour but
      implementation is completely different. BTW I cannot even make
      this warning working in xHarbour.

  * harbour/src/rtl/cdpdet.prg
    ! disabled static functions which are unused in different builds

  * harbour/src/debug/debugger.prg
    ! removed unused function StripUntil()

  * harbour/utils/hbmk2/hbmk2.prg
    ! compile hbmk_COMP_Setup() and FindInSamePath() static functions
      only for platforms were they are used
    ! commented out unused static functions: ArrayJoinNoClone(),
      AAddNewAtTop(), DepTreeToList()
    ! commented out unused static functions:
         rtlnk_libtrans(), rtlnk_filetrans()
      Looks that this functionality is not longer supported.
      TOFIX: re-enable it or remove this code and document that automatic
             translation for libraries and files defined in Clipper .lank
             files is not longer supported~.

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbide/hbqreportsmanager.prg
  * harbour/contrib/hbide/actions.prg
  * harbour/contrib/hbide/console.prg
  * harbour/contrib/hbide/themes.prg
  * harbour/contrib/hbide/editor.prg
  * harbour/contrib/hbxbp/browse.prg
  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbsms/sms.prg
  * harbour/contrib/xhb/hterrsys.prg
    ! commented out unused static functions - please review the code

  ; Warning: I tested only Linux builds. Please check other builds and
             disable unused static functions in the rest of code.
2012-08-27 20:00:45 +00:00
Przemyslaw Czerpak
9d58ffd009 2012-08-27 17:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added protection against possible buffer overflow
    * enable mkstemps() for GLIBC 2.12 and higher

  * harbour/src/compiler/harbour.y
    ! added missing ';' at the end of C code - newer bisons
      do not add them automatically
2012-08-27 15:27:12 +00:00
Przemyslaw Czerpak
ec1b3a94fc 2012-08-24 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/3rd/tiff/LICENSE
    ! fixed EOLs and set svn:eol-style to native

  * harbour/src/3rd/tiff/tiff.dif
    * rediffed with
         hbmk2 ../../../bin/3rdpatch.hb -rediff
2012-08-24 12:25:37 +00:00
Przemyslaw Czerpak
1af506b1d4 2012-08-24 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new C function:
         PHB_ITEM hb_objGetVarPtr( PHB_ITEM pObject, PHB_DYNS pVarMsg );
      it returns pointer to object instance variable

  * harbour/src/rtl/tclass.prg
    * cleand parameter name

  * harbour/contrib/hbmisc/spd.c
    * removed unnecessary comment for older version which didn't use
      hb_snprintf()
    * formatting

  * harbour/contrib/hbmxml/3rd/minixml/config.h
    % use hb_snprintf() and hb_vsnprintf() instead of local emulation
      based on CRTL sprintf()

  * harbour/include/hbdefs.h
    + added HB_PF64 definition - it's printf format for HB_[UI]64 type

  * harbour/src/3rd/tiff/print.c
  * harbour/src/3rd/tiff/tiffconf.h
    ! use HB_PF64 instead of PFLL

  * harbour/src/3rd/tiff/tiffconf.h
    + added TIFF_FILE_HANDLE definition

  * harbour/src/3rd/tiff/tiffio.h
    ! use TIFF_FILE_HANDLE

  * harbour/src/3rd/tiff/dirread.c
    ! fixed typo in TIFF_UINT32_MAX definition

  * harbour/src/3rd/tiff/Makefile
    ! enabled fcntl.h in *unix builds

  * harbour/src/3rd/tiff/tiff.dif
    * updated
2012-08-24 12:11:59 +00:00
Przemyslaw Czerpak
3e5d6da1bd 2012-08-20 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbgtinfo.ch
    + added new hb_gtInfo() action: HB_GTI_UNITRANS
      It allows to set translation table for UNICODE characters

  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/src/rtl/gtwvt/gtwvt.h
    + added support for HB_GTI_UNITRANS - due to limited support
      for unicode vlaues in MS-Windows raster fonts it's necessary
      for some custom fonts.

  * harbour/src/rtl/tpersist.prg
    + implemented 2-nd parameter <lIgnoreErrors> in ::LoadFromFile()
      and ::LoadFromText() methods

  * harbour/src/rtl/cdpapi.c
    * indenting
2012-08-20 09:17:42 +00:00
Przemyslaw Czerpak
3ac75bd18e 2012-08-14 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/valtype.c
    * modified HB_ISEVALITEM() to use HB_IS_EVALITEM() macro

  * harbour/src/pp/ppcore.c
    ! fixed typo in .ppt file handle - many thanks to Teo Fonrouge
      for the information about the problem.

  * harbour/include/hbthread.h
  * harbour/src/vm/thread.c
    + added new C function:
         HB_THREAD_NO hb_threadNO( void )
      it returns unique thread number

  * harbour/src/vm/classes.c
    * cleaned static function names

  * harbour/src/rdd/dbffpt/dbffpt1.c
    * use RDDINFO() method instead of direct access to RDD TSD data

  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
    * changed initialization method - now RDD TSD data is initialized
      by each thread which access it. It resolves the problem with
      memo type in NSX and NTX RDDs - it was SMT/DBT in main thread
      but in child threads default FPT driver was used.

  * harbour/tests/speedtst.prg
    ! fixed xHarbour compilation - it was broken by HB_EOL()
2012-08-14 10:44:42 +00:00
Viktor Szakats
b977b18a49 2012-07-25 11:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/fr.c
    ! old typo in month name, by Guy Roussin
  * src/lang/uk.c
    ! old typo in native language name, by Alexey Myronenko
  * src/rtl/langcomp.prg
    ! recent typo in compatibility UAWIN CP, by Grigory Filatov
  ; Thanks guys
2012-07-25 09:54:40 +00:00
Viktor Szakats
35b4a0b5ce 2012-07-25 11:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/hu.c
    + minor tweaks to translation
2012-07-25 09:27:04 +00:00
Viktor Szakats
67253b4f43 2012-07-25 10:37 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/hu.c
    + translated one last string to Hungarian
2012-07-25 08:38:33 +00:00
Viktor Szakats
dedf38b3c2 2012-07-25 10:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/hr.c
    + Croatian language module updates and fixes
      from Alen Uzelac. Thanks!
2012-07-25 08:26:49 +00:00
Viktor Szakats
1ac20eeb37 2012-07-25 04:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/hu.c
    ! minor cleanup to prev
2012-07-25 02:29:40 +00:00
Viktor Szakats
d86ecf7dff 2012-07-25 04:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/rddads/rddads.hbc
    * do not force shared mode for host project if HB_DYNLOAD_RDDADS
      is enabled. It should fix hbide forced to be built in
      -shared mode unconditionally after enabling rddads
      support in hbide in 2012-06-14 12:01 UTC+0200
    ; please test

  * src/lang/hu.c
    + translated rest of strings to Hungarian
      (though they seem to make much more sense in English)
2012-07-25 02:26:34 +00:00
Viktor Szakats
3e0ad25783 2012-07-25 01:34 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
  * src/rtl/langlgcy.prg
    ! HB_LANGSELECT() fixed to keep compatibiliy with legacy
      language module IDs passed in not fully uppercased.
      Only two-letter legacy language module IDs needs to
      be passed full uppercase to maintain compatibility.
    * changed HB_LEGACY_LEVEL5 to HB_LEGACY_LEVEL4 so these
      compatibility hacks disappear quicker
2012-07-24 23:35:11 +00:00
Viktor Szakats
dec9557b73 2012-07-25 00:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/codepage/Makefile
    - deleted HUUTF CP, it caused problems with -shared 
      builds where all CPs got unconditionally linked.
2012-07-24 22:31:14 +00:00
Viktor Szakats
26450abe18 2012-07-24 23:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpapi.c
    + Extended to accept real codepage names where Harbour
      "codepage" names (which are really codepage + collation
      combinations, like "HUWIN") are accepted. It makes it
      possible to do:
         hb_translate( "stuff", "cp1250", "cp852" )
      This mod is implemented on the surface in simple way,
      which implies some notices and warnings:
        - real codepages are accepted also in places where
          you're better to specify a Harbour CP tied to a
          collation, f.e. in hb_cdpSelect() or Set( _SET_DBCODEPAGE ).
          In such case it's important to see that an arbitrary
          Harbour CP will be selected from those linked to the
          requested real codepage.
        - 'hb_cdpSelect( "iso8859-2" ); ? hb_cdpSelect()'
          will not show "iso8859-2", but one of the corresponding
          Harbour CPs.
        - you cannot REQUEST a specific real codepage,
          but you can request all of them which are linked
          to a Harbour CPs using '#include "hbextcdp.ch"'.
  ; NOTE: With more deep rework, which I most probably
          won't be able to ever do, Harbour's concept of
          CPs should be split into real codepages and
          collation modules, than interfaces identified
          where a collation is expected vs. real codepages,
          or both, question how to do that without break
          too much compatibility and question how to fit
          current HB_CP_RAW CPs into that model. For former
          problem, notation like 'HU.cp852' might be possible
          solution, where any of the parts can be omitted,
          depending on context: 'HU' or 'cp852'.
2012-07-24 21:26:52 +00:00
Viktor Szakats
459931c9ab 2012-07-24 16:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/codepage/Makefile
  + src/codepage/cphuutf.c
    + added Hungarian collation module in UTF-8. It's an
      experiment and will require low-level changes in the
      CP subsystem, since it is not yet possible to use
      HB_UNITB_UTF8 for HB_CP_UNITB parameter. The idea is
      to make it possible to define collation modules in UTF-8,
      which would in turn allow to drop the link to a specific
      legacy CP, thus allowing to drop the different CP flavours
      of them, then finally simplifying the naming, maintenance
      and usage of these modules. We could also finally call
      them what they are: 'collations' (and not "codepages" like today)
      I understand this may need substantial low-level
      modifications, by doing automatic translation on each
      HVM CP change, etc.

  * ChangeLog
    + added compatibility notes to previous (2012-07-24 15:04 UTC+0200)
      entry

  * src/rtl/langlgcy.prg
    * minor cleanup
2012-07-24 14:06:08 +00:00
Viktor Szakats
e094834457 2012-07-24 15:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/en_tpl.c
    + added comment about forming HB_LANG_ID value
2012-07-24 13:16:07 +00:00
Viktor Szakats
cd70ebcecb 2012-07-24 15:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/be.c
  * src/lang/bg.c
  * src/lang/ca.c
  * src/lang/cs.c
  * src/lang/de.c
  * src/lang/el.c
  * src/lang/en_tpl.c
  * src/lang/eo.c
  * src/lang/es.c
  * src/lang/eu.c
  * src/lang/fr.c
  * src/lang/gl.c
  * src/lang/he.c
  * src/lang/hr.c
  * src/lang/hu.c
  * src/lang/id.c
  * src/lang/is.c
  * src/lang/it.c
  * src/lang/ko.c
  * src/lang/lt.c
  * src/lang/nl.c
  * src/lang/pl.c
  * src/lang/pt.c
  * src/lang/ro.c
  * src/lang/ru.c
  * src/lang/sk.c
  * src/lang/sl.c
  * src/lang/sr_cyr.c
  * src/lang/sr_lat.c
  * src/lang/sv.c
  * src/lang/tr.c
  * src/lang/uk.c
  * src/lang/zh_sim.c
  * src/lang/zh_tra.c
  * src/rtl/langcomp.prg
  * src/rtl/langlgcy.prg
    * renamed UTF8 language modules internally. The new
      names are the two letter ISO language code in
      lowercase. With postfixes where required. For
      dialects and variants, it's now possible to use
      "LLDD", "LLDD_VVV" or "LL_VVV" formats, too.
      See the current list in
         doc/en/lang.txt
    ! Ukrainian had an "UE" prefix before, now it got
      corrected to "UK", which is it's official ISO code.
    + HB_LANGSELECT() now accepts second parameter: <cCodepage>
      to specify the CP into which the translations should
      be converted. This parameter works for legacy lang module
      IDs, too. The default is hb_cdpSelect() (or legacy CP
      for legacy language module IDs).
    + extended the way compatibility is preserved. The
      problem is with legacy language modules with a two
      character ID only (ie. without CP specification),
      this is the list:
         CA, DE, EL, EO, ES, EU, FR, GL, IT, PT, RO, SV
      If these language IDs are passed in UPPERCASE as above,
      they will be handled in compatibility mode and legacy
      default CP selected.
      Compatibility code is marked with HB_LEGACY_LEVEL5, which
      means it will stay in next two stable releases.
      To depart from compatibility (recommended), use the new
      lowercase flavor: hb_langSelect( "pl" ), hb_langSelect( "pt" ),
      hb_langSelect( "sr_cyr" ), or use standard language
      IDs: hb_langSelect( "hu-HU" )
      Or simply use this code:
      ---
         #include "hbextlng.ch"
         hb_langSelect( hb_UserLang() [, <CP> ] ) /* if <CP> is not specified, hb_cdpSelect() will be used */
      ---
2012-07-24 13:06:39 +00:00
Viktor Szakats
0f5211d054 2012-07-24 11:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/sk.c
  * src/lang/tr.c
    ! removed extra string ending spaces
2012-07-24 10:00:21 +00:00
Viktor Szakats
c0accd94e6 2012-07-24 11:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/be.c
  * src/lang/bg.c
  * src/lang/ca.c
  * src/lang/cs.c
  * src/lang/de.c
  * src/lang/el.c
  * src/lang/en_tpl.c
  * src/lang/eo.c
  * src/lang/es.c
  * src/lang/eu.c
  * src/lang/fr.c
  * src/lang/gl.c
  * src/lang/he.c
  * src/lang/hr.c
  * src/lang/hu.c
  * src/lang/id.c
  * src/lang/is.c
  * src/lang/it.c
  * src/lang/ko.c
  * src/lang/lt.c
  * src/lang/nl.c
  * src/lang/pl.c
  * src/lang/pt.c
  * src/lang/ro.c
  * src/lang/ru.c
  * src/lang/sk.c
  * src/lang/sl.c
  * src/lang/sr_cyr.c
  * src/lang/sr_lat.c
  * src/lang/sv.c
  * src/lang/tr.c
  * src/lang/uk.c
  * src/lang/zh_sim.c
  * src/lang/zh_tra.c
    * further cleaned comments and redundancy
2012-07-24 09:45:44 +00:00
Viktor Szakats
c3e8e33545 2012-07-24 11:34 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/be.c
  * src/lang/bg.c
  * src/lang/ca.c
  * src/lang/cs.c
  * src/lang/de.c
  * src/lang/el.c
  * src/lang/en_tpl.c
  * src/lang/eo.c
  * src/lang/es.c
  * src/lang/eu.c
  * src/lang/fr.c
  * src/lang/gl.c
  * src/lang/he.c
  * src/lang/hr.c
  * src/lang/hu.c
  * src/lang/id.c
  * src/lang/is.c
  * src/lang/it.c
  * src/lang/ko.c
  * src/lang/lt.c
  * src/lang/nl.c
  * src/lang/pl.c
  * src/lang/pt.c
  * src/lang/ro.c
  * src/lang/ru.c
  * src/lang/sk.c
  * src/lang/sl.c
  * src/lang/sr_cyr.c
  * src/lang/sr_lat.c
  * src/lang/sv.c
  * src/lang/tr.c
  * src/lang/uk.c
  * src/lang/zh_sim.c
  * src/lang/zh_tra.c
    % deleted redundant comments
    * cleaned copyright headers
2012-07-24 09:36:03 +00:00
Viktor Szakats
0c4aa74874 2012-07-24 11:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/be.c
  * src/lang/bg.c
  * src/lang/ca.c
  * src/lang/cs.c
  * src/lang/de.c
  * src/lang/el.c
  * src/lang/en_tpl.c
  * src/lang/eo.c
  * src/lang/es.c
  * src/lang/eu.c
  * src/lang/fr.c
  * src/lang/gl.c
  * src/lang/he.c
  * src/lang/hr.c
  * src/lang/hu.c
  * src/lang/id.c
  * src/lang/is.c
  * src/lang/it.c
  * src/lang/ko.c
  * src/lang/lt.c
  * src/lang/nl.c
  * src/lang/pl.c
  * src/lang/pt.c
  * src/lang/ro.c
  * src/lang/ru.c
  * src/lang/sk.c
  * src/lang/sl.c
  * src/lang/sr_cyr.c
  * src/lang/sr_lat.c
  * src/lang/sv.c
  * src/lang/tr.c
  * src/lang/uk.c
  * src/lang/zh_sim.c
  * src/lang/zh_tra.c
    ! CP changed from UTF-8 to UTF8
2012-07-24 09:24:45 +00:00
Viktor Szakats
33d0c02967 2012-07-24 03:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langapi.c
    + HB_LANGNEW() extended to translate language module's
      codepage string, too.
2012-07-24 01:05:30 +00:00
Viktor Szakats
6a519ed909 2012-07-24 02:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/pt.c
    ! fixed very old CP problem in one of the strings
2012-07-24 00:06:42 +00:00
Viktor Szakats
4af7b96041 2012-07-24 01:55 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/lang/be.c
  + src/lang/bg.c
  + src/lang/ca.c
  + src/lang/cs.c
  + src/lang/de.c
  + src/lang/el.c
  + src/lang/en_tpl.c
  + src/lang/eo.c
  + src/lang/es.c
  + src/lang/eu.c
  + src/lang/fr.c
  + src/lang/gl.c
  + src/lang/he.c
  + src/lang/hr.c
  + src/lang/hu.c
  + src/lang/id.c
  + src/lang/is.c
  + src/lang/it.c
  + src/lang/ko.c
  + src/lang/lt.c
  + src/lang/nl.c
  + src/lang/pl.c
  + src/lang/pt.c
  + src/lang/ro.c
  + src/lang/ru.c
  + src/lang/sk.c
  + src/lang/sl.c
  + src/lang/sr_cyr.c
  + src/lang/sr_lat.c
  + src/lang/sv.c
  + src/lang/tr.c
  + src/lang/uk.c
  + src/lang/zh_sim.c
  + src/lang/zh_tra.c
  - src/lang/msg_tpl.c
  - src/lang/msgbeutf.c
  - src/lang/msgbgutf.c
  - src/lang/msgcautf.c
  - src/lang/msgcsutf.c
  - src/lang/msgdeutf.c
  - src/lang/msgelutf.c
  - src/lang/msgeoutf.c
  - src/lang/msgesutf.c
  - src/lang/msgeuutf.c
  - src/lang/msgfrutf.c
  - src/lang/msgglutf.c
  - src/lang/msgheutf.c
  - src/lang/msghrutf.c
  - src/lang/msghuutf.c
  - src/lang/msgidutf.c
  - src/lang/msgisutf.c
  - src/lang/msgitutf.c
  - src/lang/msgkoutf.c
  - src/lang/msgltutf.c
  - src/lang/msgnlutf.c
  - src/lang/msgplutf.c
  - src/lang/msgptutf.c
  - src/lang/msgroutf.c
  - src/lang/msgruutf.c
  - src/lang/msgskutf.c
  - src/lang/msgslutf.c
  - src/lang/msgsrlat.c
  - src/lang/msgsrutf.c
  - src/lang/msgsvutf.c
  - src/lang/msgtrutf.c
  - src/lang/msguautf.c
  - src/lang/msgzhsim.c
  - src/lang/msgzhutf.c
  * src/lang/Makefile
    % shortened language module names, deleted UTF prefix, 
      since every one of them is now UTF and only-UTF, 
      cleaned postfixes for languages with multiple flavors
    ! fixed UA -> UK
2012-07-23 23:59:45 +00:00
Viktor Szakats
8d5a0a13d1 2012-07-24 01:43 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/lang/msgzhsim.c
  - src/lang/msgko.c
  - src/lang/msgzhgb.c
  * include/hblang.hbx
  * src/lang/msgzhutf.c
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  * src/rtl/langlgcy.prg
    - deleted language module KO (Korean) using CP949, which
      CP is not supported by Harbour. INCOMPATIBLE.
    + readded Chinese Traditional language module, along with
      legacy language modul "ZHGB". Notice however that the
      CP it now uses is BIG5, not the otherwise unsupported
      by Harbour, CP936. INCOMPATIBLE.
    ; Migration of legacy language modules is now finished.
2012-07-23 23:46:52 +00:00
Viktor Szakats
4175323e8f 2012-07-24 00:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
    + HB_LANGSELECT() extended to understand standard language
      codes, f.e. the ones returned by HB_USERLANG().
      It means that from now on the recommended way
      to select language module is this:
      ---
         #include "hbextlng.ch"
         hb_cdpSelect( <CP of choice> )
         hb_langSelect( hb_UserLang() )
      ---

  * ChangeLog
    * updated previous language selection code sample
      in 2012-07-23 21:48 UTC+0200 to work more universally

  * src/rtl/cdpdet.prg
    + added Hebrew to mapping list

  * src/rtl/cdpdet.prg
  * src/rtl/langcomp.prg
    + added Esperanto to language/CP mapping lists

  ; hopefully in the future Harbour cores will shift to 
    use standard primary IDs, so all these mappings can 
    be dropped.
2012-07-23 23:02:15 +00:00
Viktor Szakats
7769bde412 2012-07-23 22:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/msgcsutf.c
  * src/lang/msgskutf.c
    ! fixed long-time missing items. it fixes reported GPF.
2012-07-23 20:54:33 +00:00
Viktor Szakats
4959d1ec03 2012-07-23 22:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/msg_tpl.c
    ! fixed reference to iso language code lookup doc
  * src/lang/msgbeutf.c
    ! excessive space
  * src/lang/msghrutf.c
    ! replaced month and day names with accented versions
2012-07-23 20:44:35 +00:00
Viktor Szakats
1f05758f92 2012-07-23 22:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hblang.hbx
  * src/lang/Makefile
  + src/lang/msgsrlat.c
  * src/lang/msgsrutf.c
  * src/rtl/langcomp.prg
    + added Serbian (latin) language module
    ! fixed SR852 and SRISO legacy lang modules to use latin
      Serbian

    ; NOTE: I'd like to ask everyone to test language files
            after these changes. There may be typos,
            conversion errors or the original version I did
            the conversion from might not have been the best
            translation from the multiple ones available.
2012-07-23 20:05:12 +00:00
Viktor Szakats
2e3ef27707 2012-07-23 21:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hblang.hbx
  * src/rtl/Makefile
  * src/rtl/langcomp.prg
  + src/rtl/langlgcy.prg
    + added emulation for 'REQUEST HB_LANG_<id>' legacy code.
      protected with HB_LEGACY_LEVEL5, though until then
      probably some more shuffling will be needed to simplify
      usage (f.e. remapping UTF-8 language modules to 'LL'
      codes as opposed to 'LLUTF' codes used ATM)
    % only pull all codepages and base language modules required
      for dynamic language modules when user app REQUESTs and
      HB_LANG_<id>s.
    ; TOFIX: HB_LANGMESSAGE() often returns garbage when using 
             it from hbrun or other dynamic apps. Changing 
             hb_retc_const() to hb_retc() didn't seem to fix it.
    ; NOTE: All users are encouraged to use UTF-8 base language
            modules and request all CP components manually, then
            create their own dynamic language modules, f.e.:
            ---
            REQUEST HB_CODEPAGE_PT850
            REQUEST HB_CODEPAGE_UTF8
            REQUEST HB_LANG_PTUTF
            hb_langNew( "PT", "PT850", "PTUTF", "UTF8" )
            hb_langSelect( "PT" )
            ---

  * src/lang/msghuutf.c
    ! reconverted from a better legacy CP version, fixing
      some missing accented chars and translations
2012-07-23 19:49:22 +00:00
Viktor Szakats
9bfbd7569c 2012-07-23 16:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/msgelutf.c
  * src/lang/msgko.c
    ! minor corrections
2012-07-23 14:52:47 +00:00
Viktor Szakats
0741eef44d 2012-07-23 15:16 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/codepage/cphe862.c
  + src/codepage/cphewin.c
  - src/lang/msghe862.c
  - src/lang/msghewin.c
  - src/lang/msgsr852.c
  - src/lang/msgsriso.c
  - src/lang/msguados.c
  * ChangeLog
  * include/hbcpage.hbx
  * include/hblang.hbx
  * src/codepage/Makefile
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    + added HE862 and HEWIN codepage modules. Only to for 
      CP conversion, so they do not feature a collation table 
      yet. Please add it.
    + using HE862 and HWIN to dynamically create Hebrew language 
      modules for legacy CPs from UTF-8 one.
    + mapped SR852 and SRISO lang modules to CPs, and deleted
      old modules
    + mapped USDOS lang module to CP and deleted old module
2012-07-23 13:22:23 +00:00
Viktor Szakats
69f006b9e8 2012-07-23 13:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
    - deleted recently added UAKOI and RUKOI language modules
      (use the old names UAKOI8 and RUKOI8)
2012-07-23 11:50:04 +00:00
Viktor Szakats
27022db829 2012-07-23 13:42 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msghucwi.c
  * doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    - deleted support for HUCWI which used a long-time 
      dead CP. If you use it, it's probably time to switch
      to something more recent, or submit a patch for a 
      CWI CP in Harbour (or implement your translation 
      locally).
2012-07-23 11:46:00 +00:00
Viktor Szakats
75a6f7367b 2012-07-23 13:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
    ! using BIG5 instead of CP950 for ZHB5 language module
    ; NOTE: One will have to use 'REQUEST HB_CODEPAGE_BIG5'
            to make the compatibility layer work, or generate
            the CP dynamically using this call:
               hb_langNew( "ZHB5", "CP950", "ZHUTF", "UTF8" )
2012-07-23 11:33:29 +00:00
Viktor Szakats
a5a8f78864 2012-07-23 13:28 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msgzhb5.c
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    % deleted ZHB5 language module, which is now converted 
      dynamically from UTF8 version
2012-07-23 11:29:41 +00:00
Viktor Szakats
d1427779b2 2012-07-23 13:14 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msgbe866.c
  - src/lang/msgbewin.c
  - src/lang/msgbg866.c
  - src/lang/msgbgiso.c
  - src/lang/msgbgmik.c
  - src/lang/msgbgwin.c
  - src/lang/msgca.c
  - src/lang/msgcs852.c
  - src/lang/msgcsiso.c
  - src/lang/msgcskam.c
  - src/lang/msgcswin.c
  - src/lang/msgde.c
  - src/lang/msgdewin.c
  - src/lang/msgel.c
  - src/lang/msgelwin.c
  - src/lang/msgeo.c
  - src/lang/msges.c
  - src/lang/msgeswin.c
  - src/lang/msgeu.c
  - src/lang/msgfr.c
  - src/lang/msggl.c
  - src/lang/msghr646.c
  - src/lang/msghr852.c
  - src/lang/msghriso.c
  - src/lang/msghrwin.c
  - src/lang/msghu852.c
  - src/lang/msghuiso.c
  - src/lang/msghuwin.c
  - src/lang/msgid.c
  - src/lang/msgis850.c
  - src/lang/msgit.c
  - src/lang/msgltwin.c
  - src/lang/msgnl.c
  - src/lang/msgpl852.c
  - src/lang/msgpliso.c
  - src/lang/msgplmaz.c
  - src/lang/msgplwin.c
  - src/lang/msgpt.c
  - src/lang/msgptiso.c
  - src/lang/msgro.c
  - src/lang/msgru866.c
  - src/lang/msgrukoi.c
  - src/lang/msgruwin.c
  - src/lang/msgsk852.c
  - src/lang/msgskiso.c
  - src/lang/msgskkam.c
  - src/lang/msgskwin.c
  - src/lang/msgsl646.c
  - src/lang/msgsl852.c
  - src/lang/msgsliso.c
  - src/lang/msgslwin.c
  - src/lang/msgsrwin.c
  - src/lang/msgsv.c
  - src/lang/msgsvwin.c
  - src/lang/msgtr857.c
  - src/lang/msgtrwin.c
  - src/lang/msgua866.c
  - src/lang/msguakoi.c
  - src/lang/msguawin.c
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  * include/hblang.hbx
    - deletes legacy codepages now implemented in HB_LANGSELECT()
      compatibility layer dynamically
    + readded support for UEKOI8 and RUKOI8 CPs. Now this can
      be done cheaply
    ; Legacy languages left because of missing CPs:
        HE862, HEWIN, HUCWI, KO, SR852, SRISO, UADOS, ZHB5, ZHGB

  * include/harbour.hbx
    + added __HB_LANGSELECT() internal function (do not use it)

  * src/lang/msg_tpl.c
    + updated to UTF-8
2012-07-23 11:16:13 +00:00
Viktor Szakats
1c7fee465a 2012-07-23 13:00 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/rtl/langcomp.prg
  * src/rtl/langapi.c
  * src/rtl/Makefile
    + added compatibility layer to HB_LANGSELECT() that 
      dynamically generates language modules for legacy 
      codepages from the UTF-8 codepages.
    ; TODO: Move this layer to C level (I need help)
    ; TODO: Delete legacy codepages
    ; TODO: Resolve language modules with missing codepage modules
            (ideally by implementing the option to chose from 
            real codepages directly)
2012-07-23 11:02:30 +00:00
Viktor Szakats
7b28c40557 2012-07-23 11:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/msgcsutf.c
  * src/lang/msgelutf.c
    * minor formatting
2012-07-23 09:43:29 +00:00
Viktor Szakats
a34ee18ace 2012-07-23 02:07 UTC+0200 Viktor Szakats (vszakats syenar.net)
* src/lang/msgbgutf.c
    ! fix to prev
2012-07-23 00:08:15 +00:00
Viktor Szakats
0250b8bd79 2012-07-23 02:00 UTC+0200 Viktor Szakats (vszakats syenar.net)
+ src/lang/msgbeutf.c
  + src/lang/msgbgutf.c
  + src/lang/msgcautf.c
  + src/lang/msgcsutf.c
  + src/lang/msgdeutf.c
  + src/lang/msgelutf.c
  + src/lang/msgeoutf.c
  + src/lang/msgesutf.c
  + src/lang/msgeuutf.c
  + src/lang/msgfrutf.c
  + src/lang/msgglutf.c
  + src/lang/msgheutf.c
  + src/lang/msghrutf.c
  + src/lang/msgidutf.c
  + src/lang/msgisutf.c
  + src/lang/msgitutf.c
  + src/lang/msgkoutf.c
  + src/lang/msgltutf.c
  + src/lang/msgnlutf.c
  + src/lang/msgplutf.c
  + src/lang/msgptutf.c
  + src/lang/msgroutf.c
  + src/lang/msgruutf.c
  + src/lang/msgskutf.c
  + src/lang/msgslutf.c
  + src/lang/msgsrutf.c
  + src/lang/msgsvutf.c
  + src/lang/msgtrutf.c
  + src/lang/msguautf.c
  + src/lang/msgzhutf.c
  * src/lang/Makefile
    + added UTF-8 encoded version of language modules
    ; these will allow to drop all the 8-bit specific flavors
      putting an end to the CP mess.
2012-07-23 00:04:23 +00:00
Viktor Szakats
cff8154c2c 2012-07-23 01:51 UTC+0200 Viktor Szakats (vszakats syenar.net)
* src/lang/msgrukoi.c
  * src/lang/msguakoi.c
    ! fixed wrong module IDs. RUKOI8 -> RUKOI, UAKOI8 -> UAKOI
      INCOMPATIBLE
2012-07-22 23:52:18 +00:00