Commit Graph

18404 Commits

Author SHA1 Message Date
Viktor Szakats
fad87ef70b 2013-02-11 01:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! typo in an internal macro name
2013-02-11 00:47:50 +00:00
Viktor Szakats
eee1c618df 2013-02-11 01:45 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + documented $*.hbm embedded .hbm include files

  * utils/hbmk2/pkg_inst.hbm
    * avoid explicit "hbmk2"
2013-02-11 00:46:16 +00:00
Viktor Szakats
23347287ae 2013-02-11 01:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + documented all predefined source and build file macros

  * extras/gfspell/spell.prg
    ! use ASC() instead of hardcoded numeric repr.
2013-02-11 00:30:54 +00:00
Viktor Szakats
4727b6b098 2013-02-08 12:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * polishing to warning texts committed in prev
2013-02-08 11:04:45 +00:00
Viktor Szakats
79ffe03138 2013-02-08 11:58 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + show warning and offer best practice when non-portable 
      ".exe" extension is used in -o option
    + show warning and offer best practice when non-portable 
      "*.lib" library name is passed directly to hbmk2
2013-02-08 11:00:22 +00:00
Viktor Szakats
b033790ef3 2013-02-07 22:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
    * missed to tag prev entry as needed
2013-02-07 21:54:00 +00:00
Viktor Szakats
6088808505 2013-02-07 22:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/l_sv.c
    + NOTE with Klas's explanation of the extra chars 
      included over the Swedish alphabet
    + 4 new characters add to the Swedish
      collation as per Klas's guidance:
         https://groups.google.com/d/msg/harbour-devel/13ImOaYoq8o/B-mDY708EpcJ
           (and its followup)

  * utils/hbmk2/hbmk2.prg
    ! very minor fix where -hbc= options list value
      items are now trimmed from spaces.

  * config/aix/gcc.mk
  * config/beos/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/gcc.mk
  * config/bsd/pcc.mk
  * config/cygwin/gcc.mk
  * config/darwin/clang.mk
  * config/darwin/gcc.mk
  * config/dos/djgpp.mk
  * config/global.mk
  * config/hpux/gcc.mk
  * config/linux/clang.mk
  * config/linux/gcc.mk
  * config/linux/sunpro.mk
  * config/minix/ack.mk
  * config/minix/clang.mk
  * config/minix/gcc.mk
  * config/os2/gcc.mk
  * config/qnx/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
  * config/symbian/gcc.mk
  * config/vxworks/gcc.mk
  * config/vxworks/global.mk
  * config/wce/mingwarm.mk
  * config/win/clang.mk
  * config/win/mingw.mk
  * utils/hbmk2/hbmk2.prg
  * README.txt
    * envvar renamed HB_CCPOSTFIX -> HB_CCSUFFIX
      INCOMPATIBLE. (I surmise few people need this,
      hence no grace period)

  * contrib/hbmemio/tests/test.prg
    * minor cleanup
2013-02-07 21:34:52 +00:00
Viktor Szakats
01f3972624 2013-02-07 00:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/popcli.prg
    + QUESTION to method that returns three different types
      (of those two are indicating different errors)
    + TOFIX added to code that can RTE (due to similarly
      messy solution which returns multiple type in different
      cases, which is obviously not accounted for when
      calling it.)

  * include/harbour.hbx
    * updated/cased

  * contrib/hbtip/mail.prg
    * format
2013-02-06 23:18:31 +00:00
Przemyslaw Czerpak
be08690003 2013-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/arrays.c
    + added new internal VM C function: hb_arraySwap()
    ! fixed typo HB_TRACE message

  * harbour/src/vm/hvm.c
    + added support for codeblocks in __vmItemID()

  * harbour/src/vm/classes.c
    + added PRG new functions:
         __objRestoreIVars( <aIVars>, <hClass> | <sClassFunc> |
                            <cClassName>[, <cClassFuncName>] ) -> <oObject>
      it works in similar way to __objSetIVars() but stores new object
      result in passed <aIVars> array.

  * harbour/src/rtl/valtoexp.prg
    ! fixed serialization code for nested objects with redefined [] operator
    ! fixed cross references detection broken in last modification
2013-02-06 22:33:10 +00:00
Viktor Szakats
a2892a7825 2013-02-06 13:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * moved location of envvars inside help text
    ; change lost locally before prev patch
2013-02-06 12:25:23 +00:00
Viktor Szakats
e0dd0faa17 2013-02-06 13:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added docs for 'depimplib' and 'depimplibsrc' built-in
      -instpath groups (aka filelists).
2013-02-06 12:21:24 +00:00
Viktor Szakats
3ba1da2320 2013-02-06 03:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + help text added for .hbc directives
    + added -longhelp/--longhelp option which will include
      envvars, .hbc directives and maybe future details
    + added -depfinish=, -harbourhelp, -ldflag+=, -dflag+=
      to help text
    + -depfinish= will now show a warning if non-existing
      name is passed to it as parameter.
    + all warnings will now go to stderr (some were going to
      stdout before)
    + added -dflags=, -dflags+= .hbc directives in sync with
      existing options
2013-02-06 02:15:33 +00:00
Przemyslaw Czerpak
5f7b714ec3 2013-02-05 23:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hboo.ch
    * added small comment

  * harbour/include/hbapirdd.h
  * harbour/src/rdd/workarea.c
    * fixed typo in parameter name

  * harbour/include/hbapi.h
  * harbour/src/vm/arrays.c
    + added to new C functions: hb_arraySetCPtr() and hb_arraySetCConst()

  * harbour/src/vm/classes.c
    + added support for passing assign type restrictions to in
      HB_OO_MSG_PROPERTY and HB_OO_MSG_CLASSPROPERTY in __clsAddMsg()
      It can be done by new option 7-th <xType> parameter.
    + added support for super class casting in __objGetIVars() and
      __objSetIVars(). Now this functions can be used to serialize
      all object instance variables also overloaded by other classes
      so they can be accessed only with super class casting or by
      nonvirtual messages. It means that above functions create fully
      functional serialization system and can be used as backed for
      HB_SERIALIZE() and HB_VALTOEXP() when objects are serialized.
      Such serialization consumes more time and needs more memory but
      objects can be deserialized by modified code which uses slightly
      different raw object representation. The original HB_SERIALIZE()/
      HB_VALTOEXP() format is very fast and compact but it needs exactly
      the same raw object representation in the program which serialized
      object and in the program which later desrialize it. It may create
      serious problems if programmer modify the code, i.e adding new
      instance variables or changing their order in the object class or
      or in one of its ancestors and then tries to restore some objects
      serialized by previous program version.
    * updated some comments and few typos in local names

  * harbour/src/rtl/valtoexp.prg
    * modified HB_VALTOEXP() to use be default __objGetIVars() and
      __objSetIVars() to serialize objects.
    + added 2-nd parameter <lRaw> to HB_VALTOEXP(). By default it's .F.
      Setting it to .T. forces all raw serialization format.
2013-02-05 22:04:55 +00:00
Viktor Szakats
2f0dbfeed2 2013-02-05 13:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    * avoid English abbreivated forms
2013-02-05 12:02:57 +00:00
Viktor Szakats
0c8195cf3e 2013-02-05 12:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbtest/hbtest.prg
    + will now recognize -help and --help options to
      display help

  - utils/hbmk2/hbmk2.1
  - utils/hbtest/hbtest.1
  * config/postinst.hb
    - deleted platform specific "man"-files, which were
      either outdated (hbmk2) or the exact same as regular
      help output (hbtest). They are also extremely
      inconvenient to edit with regular text editors, plus
      keeping two similar docs in sync is very inefficient
      so pbly it's better idea to create .md output from
      the tools themselves and convert those to man
      format using an automated tool like md2man.rb.

  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    * updated one string in sync with hbmk2.prg

  * utils/hbmk2/hbmk2.prg
    * update in a comment
2013-02-05 11:54:30 +00:00
Viktor Szakats
3f1c43d8bf 2013-02-05 12:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + help text added for envvars, disk files and macros
      supported by hbmk2
    + HB_CCSUFFIX envvar support added. Works the same as
      HB_CCPOSTFIX, only with a new name
    * HB_CCPOSTFIX envvar deprecated with HB_LEGACY_LEVEL4
    * hbmk[ "cCCPOSTFIX" ] hbmk2 plugin variable renamed to
      hbmk[ "cCCSUFFIX" ]. INCOMPATIBLE. Update your plugin
      source if you used this.
2013-02-05 11:42:59 +00:00
Viktor Szakats
3a0a9f2b5a 2013-02-05 02:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
    ! fix to one recent log entry
2013-02-05 01:06:15 +00:00
Viktor Szakats
3a8270519c 2013-02-03 12:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/3rd/tiff/Makefile
    - disabled JPEG support in libtiff.
      I'm leaving tuning this to someone with more interest
      in this feature, or wait until libtiff is synced with
      latest jpeg lib changes. (Still related to the mess
      they are making with boolean types that collide with
      each other and certain platform ones.)
2013-02-03 12:03:43 +00:00
Viktor Szakats
a247e7d81f 2013-02-02 21:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbssl/hbssl.hbm
    * suppressed a gazillion of warnings where Apple was
      telling us that OpenSSL - as a whole - is deprecated
      since OS X Lion 10.7

  * src/3rd/tiff/tiff.dif
  * src/3rd/tiff/tiffconf.h
    ! fixed a zillion warnings when compiled on OS X
2013-02-02 20:28:30 +00:00
Viktor Szakats
8d6b43f3a2 2013-02-02 20:42 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/bsd/clang.mk
  * config/darwin/clang.mk
  * config/linux/clang.mk
  * config/minix/clang.mk
  * config/win/clang.mk
    ! applied gcc/mingw 'HB_BUILD_WARN := no' settings to clang

  * src/3rd/tiff/Makefile
    ! fixed regression due to strange change in jpeglib 9
      related to bool type
2013-02-02 19:45:57 +00:00
Viktor Szakats
1a65d0192e typo 2013-02-02 19:03:23 +00:00
Viktor Szakats
e93d9d53b5 2013-02-02 19:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    * further clarification around -comp/-plat help texts

  * README.txt
    ! typos

  * contrib/hbnf/setlastk.c
    ! map to HB_KEYSETLAST() instead of deprecated synonym

  * contrib/hbct/charlihb.c
  * contrib/hbct/charophb.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/disk.c
  * contrib/hbct/screen1.c
    + HB_EXTENSION tags for Harbour extensions

  * contrib/hbct/screen2.c
    + TODOs for missing unicode support

  * contrib/hbct/tests/csetarge.prg
    + NOTE why CTOD( "" ) must be used here

  * tests/dates3.prg
  * website/samples/dates3.prg.html
    * use HB_STOD() instead of CTOD( "" )
    ! typos

  * tests/transtst.prg
    * use HB_STOD() instead of STOD()

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  * contrib/hbtinymt/3rd/tinymt/*
  * src/3rd/jpeg/Makefile
  * src/3rd/jpeg/*
  * src/3rd/png/Makefile
  * src/3rd/png/*
    * updated using 3rdpatch to
      jpeg 9, libpng 1.5.14, tinymt 1.0.2

  * contrib/hbct/cterror.ch
  * contrib/hbct/video.c
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/xbox.prg
  * bin/harbour.ucf
    * formatting
2013-02-02 19:01:40 +00:00
Przemyslaw Czerpak
1518d1bb84 2013-02-01 15:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/run.c
    * restored dummy if() to pacify "unused result" warning - some compilers
      ignores classic method with ( void ) prefixing.
2013-02-01 14:43:27 +00:00
Viktor Szakats
ba6990fe06 2013-02-01 13:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    + added/cased recently added RTL functions

  * include/harbour.hbx
  * include/hbcpage.hbx
  * include/hblang.hbx
  * include/hbscalar.hbx
  * include/hbusrrdd.hbx
    * updated with latest generator
2013-02-01 12:40:28 +00:00
Viktor Szakats
4cfb9a78b0 2013-02-01 01:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
  * bin/commit.hb
  * contrib/hbblink/blinker.prg
  * contrib/hbxpp/runshell.prg
  * utils/hbmk2/hbmk2.prg
    % replaced hb_GetEnv() calls with GetEnv() where the
      Harbour extension parameter was not used

  * src/rtl/gete.c
    ! synced comment with reality

  * ChangeLog.txt
    + missed one fix from prev log entry
2013-02-01 00:35:52 +00:00
Viktor Szakats
d08df3ff14 2013-02-01 01:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbblink/blinker.prg
  * utils/hbmk2/hbmk2.prg
    * adapted to previous change
    + SWPRUNCMD() now returns .F. on error, like the original
2013-02-01 00:21:50 +00:00
Przemyslaw Czerpak
5a1ec7b3a5 2013-02-01 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbwinuni.h
    + added HB_WINAPI_SYSTEM() macro

  * harbour/src/rtl/run.c
  * harbour/src/rtl/hbrunfun.c
    ! use MSCRTL system call in desktop MS-Windows builds of __RUN()
      and HB_RUN() functions.
      It restores Clipper compatible __RUN() behavior and now both
      functions work in the same way on all platforms except WinCE/Mobile
      which does not have shell system.
2013-01-31 23:26:33 +00:00
Viktor Szakats
8c27114064 2013-02-01 00:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
    + added encoding information to the header, which is UTF-8
      from now on. It means that high chars are now allowed,
      but ONLY in UTF-8 encoding. Configure your editor accordingly.
    + added SVN props for UTF-8.

  * contrib/hbblink/blinker.prg
  * contrib/hbxpp/runshell.prg
    ! RUNSHELL()/SWPRUNCMD() fixes for *nix systems.

  * src/codepage/l_hu.c
    * comment made bit more precise

  * src/codepage/cpua866.c
    + comment added about the different from standard
      Ukrainian collation
2013-01-31 23:07:23 +00:00
Przemyslaw Czerpak
542379a777 2013-01-31 22:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! added missing HB_STACK_TLS_PRELOAD
2013-01-31 21:41:25 +00:00
Przemyslaw Czerpak
9a5b5ec3a4 2013-01-31 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemEqual()

  * harbour/src/vm/hashes.c
    % use hb_itemEqual()

  * harbour/src/vm/classes.c
    ! updated some code to work with class and instance variables
      declared with SYNC attribute
    ! fixed __clsGetProperties() with .T. in 2-nd parameter to not
      return PERSISTENT variables twice
    * added new PRG functions:
         __objGetIVars( <oObject>, [<nScope>], [<lChanged>] )
               -> <aIVars> { { <cName>, <xVal> }, ... }

         __objSetIVars( <oObject> | <hClass> | <cClassName> | <sClassFunc>,
                        <aIVars> ) -> <oObject>

  * harbour/src/rtl/cdpapi.c
    ! fixed upper and lower strings validation encoded in UTF8.
      If both string contained errors at the same place then
      it was silently ignored.
    + added stderr message about wrong CPs when compiled with
      __HB_IGNORE_CP_ERRORS macro

  * harbour/src/codepage/cpua866.c
    ! fixed UA866 definition. CP866 does not contain cyrillic version
      of "I" and "i" letters and also "Ґ" and "ґ" so Ukrainian letters
      defined in l_ua.c cannot be used.
2013-01-31 18:49:16 +00:00
Viktor Szakats
96b2244738 2013-01-31 14:04 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
    ! fixed uninitialized name in a past entry header
      Thanks Alexey.
2013-01-31 13:05:46 +00:00
Viktor Szakats
1f863b30a5 2013-01-30 21:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    + Added incompatible note to prev along with some analysis
      and compatibility notes.
2013-01-30 20:12:01 +00:00
Viktor Szakats
49ac9e106c 2013-01-30 20:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpsviso.c
    ! fixed codepage from ISO-8859-1 to ISO-8859-15, which
      is needed to be able to represent all characters in the
      current Swedish collation. Though it turns out these 
      offending three chars are not part of the Swedish alphabet.
      So here I'm finishing and letting others to fix the rest
      if there is any.
2013-01-30 20:00:51 +00:00
Viktor Szakats
067e03b9ab 2013-01-30 20:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.txt
    + added reminder in TROUBLESHOOTING for users who prefer
      to install various Harbour version into system locations.
      Advice for millionth time: Never install unstable Harbour
      versions to system locations.
2013-01-30 19:37:41 +00:00
Viktor Szakats
5764dcdb90 missed [incompatibility] tag from prev 2013-01-30 19:19:33 +00:00
Viktor Szakats
61f7a12fe2 2013-01-30 19:48 UTC+0100 Viktor Szakats (harbour syenar.net)
+ src/codepage/l_sr_cyr.c
  + src/codepage/l_sr_lat.c
  * src/codepage/cpsr646.c
  * src/codepage/cpsr646c.c
    * separated collations from the two correct SR CP modules
    ; TOFIX: ? This page suggests that there are latin digraphs
              that should be specially sorted:
                 https://en.wikipedia.org/wiki/Serbo-Croatian#Writing_systems

  * src/codepage/cpsrwin.c
    * changed to utilize the standard Serbian cyrillic collation to
      the same used by SR646C CP module. Old one seemed
      quite wrong though I'm not even remotely expert in Serbian.
      [INCOMPATIBLE]
      If you use "SRWIN" for indexing, make sure to reindex
    ; Verify me

  * src/codepage/cpua866.c
    * changed to utilize the standard UK (Ukrainian) collation to
      the same used by all other Ukrainian CP modules. The old
      one missed the characters:
         U+0490 (UPPER) - http://codepoints.net/U+0490
         U+0491 (LOWER) - http://codepoints.net/U+0491
      According to this page, these two chars are part of the
      Ukrainian alphabet:
         https://en.wikipedia.org/wiki/Ukrainian_language#Alphabet

  ; TOFIX: RUISO: 
           This has 4 extra character pairs compared to all
           other Russian CP modules:
              UPPER:
                 U+0401 - http://codepoints.net/U+0401 (Russian alphabet)
                 U+0404 - http://codepoints.net/U+0404 (Ukrainian alphabet)
                 U+0407 - http://codepoints.net/U+0407 (Ukrainian alphabet)
                 U+040E - http://codepoints.net/U+040E (Belarusian alphabet)
              LOWER:                            
                 U+0451 - http://codepoints.net/U+0451 (Russian alphabet)   
                 U+0454 - http://codepoints.net/U+0454 (Ukrainian alphabet) 
                 U+0457 - http://codepoints.net/U+0457 (Ukrainian alphabet) 
                 U+045E - http://codepoints.net/U+045E (Belarusian alphabet)
           From the above I surmise that it'd be better if
           above chars would be part of std russian collation, 
           though neither I'm an expert nor I'm sure that putting 
           them to the end of the collation does anything good, 
           in which latter case, it'd be better be removed from RUISO.
           For sure though that U+401/U+0451 should be added to std 
           collation in l_ru.c.
           Any comments from Russian-breathing Harbourers?
2013-01-30 19:14:54 +00:00
Viktor Szakats
4cccb2bd26 2013-01-30 18:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/en/lang.txt
  * include/hbapilng.h
  * src/rtl/langapi.c
    + HB_LANGNAME() Harbour API extended to accept optional
      language ID. See docs.
    + HB_LANGMESSAGE() Harbour API extended to accept 2nd parameter
      as optional language ID. See docs.
    + added new C level API to retrieve a language string from
      any language module (not just selected one):
         const char * hb_langGetItem( const char * pszID, int iIndex );
    + extended hb_langName() C level API to be able to retrieve
      name of any language modules, not just selected one:
         char * hb_langName( const char * pszID );
      [INCOMPATIBLE]
    * hb_langDGetItem() C level API moved to 'compatibility' status
    * uncrustified unattendedly

  * src/codepage/l_fr.c
    ! fixed another typo which was result of local paste mistake

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + extended the wording of -comp=/-plat= options, default behavior indicated

  * tests/langapi.prg
    ! updated to RTE at the end and to use non-legacy language IDs

  * tests/langapi.prg
  * contrib/hbnf/tests/datecnfg.prg
  * utils/hbtest/hbtest.prg
    * minor cleanup
2013-01-30 17:32:39 +00:00
Viktor Szakats
b6eae0ed1d 2013-01-30 15:31 UTC+0100 Viktor Szakats (harbour syenar.net)
- src/codepage/l_ua.c
  + src/codepage/l_uk.c
  * src/codepage/cpua1125.c
  * src/codepage/cpua1251.c
  * src/codepage/cpuakoi8.c
    ! renamed to be in sync with ISO language code 
      and src/lang/uk.c filename
2013-01-30 14:32:36 +00:00
Viktor Szakats
413443cb46 2013-01-30 15:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/l_sv.c
    ! fixed again after last patch where wrong value creeped back
2013-01-30 14:28:23 +00:00
Viktor Szakats
280b6dcff5 2013-01-30 15:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cphu852.c
  * src/codepage/cphuiso.c
  * src/codepage/cphuwin.c
  * src/codepage/l_hu.c
    % moved collation related NOTE to l_hu.c
2013-01-30 14:23:28 +00:00
Viktor Szakats
30007a0f8d 2013-01-30 15:15 UTC+0100 Viktor Szakats (harbour syenar.net)
+ src/codepage/l_bg.c
  + src/codepage/l_cs.c
  + src/codepage/l_de.c
  + src/codepage/l_el.c
  + src/codepage/l_es.c
  + src/codepage/l_fr.c
  + src/codepage/l_he.c
  + src/codepage/l_hr.c
  + src/codepage/l_hu.c
  + src/codepage/l_is.c
  + src/codepage/l_it.c
  + src/codepage/l_lt.c
  + src/codepage/l_pl.c
  + src/codepage/l_pt.c
  + src/codepage/l_ro.c
  + src/codepage/l_ru.c
  + src/codepage/l_sk.c
  + src/codepage/l_sl.c
  + src/codepage/l_sv.c
  + src/codepage/l_tr.c
  + src/codepage/l_ua.c
    + added per language collations modules for "CP" modules
      that used the same ones for a given language. ie. deduplication.
      Original contributor name kept but without a copyright,
      after all, it's two strings.

    ; TOFIX: Here's the list of "CP" modules, that use irregular, but
             not 'raw' collations, that can't be explained with
             compatibility or other obvious reasons:
               SRWIN - is this sr_cyr or sr_lat, or else?
               RUISO - why has this 4 extra chars at the end compared to std ru collation?
               UA866 - why is it missing an accented version of a char compared to std ua collation?

  * src/codepage/cpbg866.c
  * src/codepage/cpbgiso.c
  * src/codepage/cpbgmik.c
  * src/codepage/cpbgwin.c
  * src/codepage/cpcs852.c
  * src/codepage/cpcsiso.c
  * src/codepage/cpcswin.c
  * src/codepage/cpde850.c
  * src/codepage/cpdeiso.c
  * src/codepage/cpdewin.c
  * src/codepage/cpel737.c
  * src/codepage/cpeliso.c
  * src/codepage/cpelwin.c
  * src/codepage/cpes850.c
  * src/codepage/cpesiso.c
  * src/codepage/cpesmwin.c
  * src/codepage/cpeswin.c
  * src/codepage/cpfriso.c
  * src/codepage/cpfrwin.c
  * src/codepage/cphe862.c
  * src/codepage/cphewin.c
  * src/codepage/cphr646.c
  * src/codepage/cphr852.c
  * src/codepage/cphriso.c
  * src/codepage/cphrwin.c
  * src/codepage/cphu852.c
  * src/codepage/cphuiso.c
  * src/codepage/cphuwin.c
  * src/codepage/cpis850.c
  * src/codepage/cpis861.c
  * src/codepage/cpitiso.c
  * src/codepage/cpitwin.c
  * src/codepage/cplt775.c
  * src/codepage/cpltwin.c
  * src/codepage/cppl852.c
  * src/codepage/cppliso.c
  * src/codepage/cpplmaz.c
  * src/codepage/cpplwin.c
  * src/codepage/cppt850.c
  * src/codepage/cpptiso.c
  * src/codepage/cpro852.c
  * src/codepage/cproiso.c
  * src/codepage/cprowin.c
  * src/codepage/cpru1251.c
  * src/codepage/cpru866.c
  * src/codepage/cprukoi8.c
  * src/codepage/cpsk852.c
  * src/codepage/cpskiso.c
  * src/codepage/cpskwin.c
  * src/codepage/cpsl646.c
  * src/codepage/cpsl852.c
  * src/codepage/cpsliso.c
  * src/codepage/cpslwin.c
  * src/codepage/cpsviso.c
  * src/codepage/cpsvwin.c
  * src/codepage/cptr857.c
  * src/codepage/cptriso.c
  * src/codepage/cptrwin.c
  * src/codepage/cpua1125.c
  * src/codepage/cpua1251.c
  * src/codepage/cpuakoi8.c
    % changed to #include "lng_??.c", to avoid maintaining
      the same duplicated collations for multiple "CP" modules.
2013-01-30 14:19:50 +00:00
Viktor Szakats
dd96f16ab1 wrong link! 2013-01-30 12:41:28 +00:00
Viktor Szakats
0e0f8c1f63 2013-01-30 13:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpsviso.c
    ! fixed wrong conversion in prev. Turns out code 140, 156 and 159
      are not part of the ISO-8859-1 CP:
         [ https://en.wikipedia.org/wiki/ISO/IEC_8859-2 ]
    ; NOTE: To Klas: I'd appreciate if you could test both SVISO
            and SVWIN if they work exactly like before.
            It probably will be wrong and if it's so probably it
            should be converted to raw form, or even better to 
            use ISO-8859-15 CP, which does contain the required
            Swedish letters:
               [ https://en.wikipedia.org/wiki/ISO/IEC_8859-15 ]

  * src/codepage/cp_tpl.c
    * updated for UTF8
2013-01-30 12:32:47 +00:00
Viktor Szakats
c33db1470e 2013-01-30 12:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cphr646.c
  * src/codepage/cpsl646.c
  * src/codepage/cpsr646.c
    ! fixed escape chars wrongly converted in prev commit

  * src/codepage/cpsr646c.c
    + converted to UTF-8.
    ; TODO: test it.

  * tests/cpinfo.prg
    + generate UTF-8 CP modules when using Harbour builds.

  ; NOTE: Now all CPs are using UTF-8 (#define HB_CP_UTF8)
          so now we may well delete the non-UTF-8 mode and
          the extra flag as well.
2013-01-30 11:26:58 +00:00
Viktor Szakats
bc70e15c92 2013-01-30 10:34 UTC+0100 Viktor Szakats (harbour syenar.net)
- src/codepage/cphuutf.c
    - deleted now obsolete sample

  * src/codepage/Makefile
  - src/codepage/cpeswinm.c
  - src/codepage/cprukoi.c
  - src/codepage/cpruwin.c
  - src/codepage/cpuakoi.c
  - src/codepage/cpuawin.c
  + src/codepage/cpesmwin.c
  + src/codepage/cpru1251.c
  + src/codepage/cprukoi8.c
  + src/codepage/cpua1251.c
  + src/codepage/cpuakoi8.c
  * src/codepage/cpcs852c.c
  * src/codepage/cpde850m.c
  * src/codepage/cpdk865.c
  * src/codepage/cpel437.c
  * src/codepage/cpes850c.c
  * src/codepage/cpes850m.c
  * src/codepage/cpfr850m.c
  * src/codepage/cpit850m.c
  * src/codepage/cpnl850.c
  * src/codepage/cpnl850m.c
  * src/codepage/cpsk852c.c
  * src/codepage/cpsv850.c
  * src/codepage/cpsv850m.c
  * src/codepage/cpbg866.c
  * src/codepage/cpbgiso.c
  * src/codepage/cpbgmik.c
  * src/codepage/cpbgwin.c
  * src/codepage/cpcsiso.c
  * src/codepage/cpcskamc.c
  * src/codepage/cpcswin.c
  * src/codepage/cpde850.c
  * src/codepage/cpdeiso.c
  * src/codepage/cpdewin.c
  * src/codepage/cpel737.c
  * src/codepage/cpeliso.c
  * src/codepage/cpelwin.c
  * src/codepage/cpes850.c
  * src/codepage/cpesiso.c
  * src/codepage/cpeswin.c
  * src/codepage/cpfi850.c
  * src/codepage/cpfr850.c
  * src/codepage/cpfriso.c
  * src/codepage/cpfrwin.c
  * src/codepage/cphe862.c
  * src/codepage/cphewin.c
  * src/codepage/cphr646.c
  * src/codepage/cphr852.c
  * src/codepage/cphriso.c
  * src/codepage/cphrwin.c
  * src/codepage/cphu852.c
  * src/codepage/cphu852c.c
  * src/codepage/cphuiso.c
  * src/codepage/cphuwin.c
  * src/codepage/cpis850.c
  * src/codepage/cpis861.c
  * src/codepage/cpit437.c
  * src/codepage/cpit850.c
  * src/codepage/cpitisb.c
  * src/codepage/cpitiso.c
  * src/codepage/cpitwin.c
  * src/codepage/cplt775.c
  * src/codepage/cpltwin.c
  * src/codepage/cpno865.c
  * src/codepage/cppl852.c
  * src/codepage/cppliso.c
  * src/codepage/cpplwin.c
  * src/codepage/cppt850.c
  * src/codepage/cppt860.c
  * src/codepage/cpptiso.c
  * src/codepage/cpro852.c
  * src/codepage/cproiso.c
  * src/codepage/cprowin.c
  * src/codepage/cpru866.c
  * src/codepage/cpruiso.c
  * src/codepage/cpskiso.c
  * src/codepage/cpskkamc.c
  * src/codepage/cpskwin.c
  * src/codepage/cpsl646.c
  * src/codepage/cpsl852.c
  * src/codepage/cpsliso.c
  * src/codepage/cpslwin.c
  * src/codepage/cpsr646.c
  * src/codepage/cpsrwin.c
  * src/codepage/cpsv437c.c
  * src/codepage/cpsviso.c
  * src/codepage/cpsvwin.c
  * src/codepage/cptr857.c
  * src/codepage/cptriso.c
  * src/codepage/cptrwin.c
  * src/codepage/cpua1125.c
  * src/codepage/cpua866.c
    + converted all 8-bit encoded CPs to UTF-8
    * renamed all cp filenames to match internal CP ID
    ; NOTE: CP646C aka 'Serbian ISO-646C (Cyrillic YUSCII)'
            was not converted, and I have no idea what to do
            with it. Do it if you know this.
    ; Verify them.
      I was getting all sorts of initialization failures
      with non-UTF8 ones, after converting all of them,
      I'm getting one for 'SR646'.
    ; If this settles, it offers interesting new possiblities,
      because most of the "CP" modules now essentially differ
      only in HB_CP_UNITB setting for a given country/language (=culture).

  ; Now all files inside Harbour repo can ONLY be either
    7-bit ASCII or UTF-8. Nothing. Else.
    Mark all UTF-8 files with (this won't be necessary with GIT):
      'svn propset svn:mime-type "text/plain; charset=UTF-8"'
2013-01-30 09:53:50 +00:00
Viktor Szakats
d2d3e74952 2013-01-30 09:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpcs852.c
  * src/codepage/cpsk852.c
    + converted to UTF8. Also avoiding OS X/clang to hang

  * src/codepage/cpplmaz.c
    * 'svn propset svn:mime-type "text/plain; charset=UTF-8"'

  * src/rtl/cdpapi.c
    * spaces
2013-01-30 08:37:34 +00:00
Viktor Szakats
ad595eadd2 2013-01-30 09:21 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpcs852.c
  * src/codepage/cpsk852.c
    * reverted last change for these two
2013-01-30 08:22:12 +00:00
Przemyslaw Czerpak
8fdf44794d 2013-01-30 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcdpreg.h
  * harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
    * added to hb_cdpRegisterNew() new parameter which informs CP engine
      that passed strings with upper and lower letters are in UTF8 encoding.

  * harbour/src/codepage/cpplmaz.c
    * defined PLMAZ codepage using UTF8 encoding - just as an example.

  * harbour/utils/Makefile
    * compile hbtest before hbmk2 - it alows to build HVM test tool even if
      HBMK2 cannot be compiled (i.e. some compilers does not accept
      resource/icon files used by HBMK2)
2013-01-30 00:05:21 +00:00
Viktor Szakats
a13018f961 2013-01-29 19:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpcs852.c
  * src/codepage/cpsk852.c
    ! changed to forced binary (raw) format by regenerating them from
      Harbour with a patched cpinfo.prg. It resolves the clang hang
      on OS X after upgrading to Xcode 4.6 with clang 'Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)'
      Besides the above two, more cp sources are still generating
      warnings about invalid CP used, and these are the only remaining
      Harbour sources that use non-UTF-8 and non-7-bit ASCII chars
      (see 2012-07-22 16:09 UTC+0200), so probably it'd be best to fix
      them all either this way, or some other, f.e. by storing them
      as UTF-8.

  * tests/cpinfo.prg
    * minor in output formatting
2013-01-29 18:38:20 +00:00
Przemyslaw Czerpak
162be208a2 2013-01-29 19:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbct/ctwin.c
    ! fixed default translation in GETSCRUC() for control characters

  * harbour/package/harbour.spec
    * updated for new files in bin dir
2013-01-29 18:11:26 +00:00