Commit Graph

18433 Commits

Author SHA1 Message Date
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
Viktor Szakats
6aad77c4f6 2013-01-29 00:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/3rd/zlib/Makefile
    ! fix to prev commit for wce
2013-01-28 23:04:00 +00:00
Viktor Szakats
d1da687890 2013-01-28 20:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/harupdf.ch
    + sync instruction comment for developers

  * contrib/xhb/xhberr.prg
    ! replaced very shoddy commented code dealing with memvars
      with clean code (though using internal calls)
    ! fixed screen dump for unicode/non-unicode

  * include/fileio.ch
    * replaced C-specific code in a Harbour header with
      non-future-proof but cross-compatible code. untested.

  * src/3rd/zlib/Makefile
    ! potential but untested fix for msvcarm targets
2013-01-28 19:21:37 +00:00
Przemyslaw Czerpak
3d18f07b39 2013-01-28 17:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! added missing HB_STACK_TLS_PRELOAD
2013-01-28 16:53:39 +00:00
Przemyslaw Czerpak
eb438ad976 2013-01-28 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    + added new PRG function:
         __clsGetAncestors( <nClass> ) -> { <nSupper1>, <nSupper2>, ... }
    * generate RTE if someone tries to register scalar class with instance
      variables.
    * updated some comments

  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemGetLX()
      It's similar to hb_itemGetL() but returns HB_TRUE for
      some non logical items to mimic Cl*pper behavior.

  * harbour/src/rdd/workarea.c
  * harbour/src/rdd/dbf1.c
    ! use hb_itemGetLX() instead of hb_itemGetL() in DBEVAL(),
      COPY TO ..., APPEND FROM ..., SORT TO ... functions and
      commands - Cl*pper compatible behavior.

  * harbour/src/rdd/dbfntx/dbfntx1.c
    * minor indenting

  * harbour/include/fileio.ch
    + added HB_FA_ANY macro value - it's attribute mask for hb_fsFindFirst()
      which includes all directory entries regardless of their attributes.

  * harbour/contrib/hbct/files.c
    ! fixed FILEATTR() to accept by default directories, hidden and system
      files when called with file name in first parameter - it's standard
      CT3 behavior.
    ! limit attributes in mask used by FILE*() functions to standard DOS
      ones - without it existing code is not portable to * nixes.
2013-01-28 16:44:47 +00:00
Viktor Szakats
706cc6fb51 2013-01-26 15:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/usrrdd/rdds/arrayrdd.prg
    ! another formatting error in just added continued line
2013-01-26 14:06:39 +00:00
Viktor Szakats
d784a20552 2013-01-26 15:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/usrrdd/rdds/arrayrdd.prg
    ! more formatting fix to latest patch
    ; TOFIX: hbformat to uppercase 'NIL' and to add
      space between '!' operator and next token. Also to
      format #define code (old) and to not break with inline
      comments inside continued lines (old).
2013-01-26 14:05:16 +00:00
Viktor Szakats
c84fb7507f 2013-01-26 15:00 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/hbhpdf/error.prg
  + contrib/hbhpdf/errstr.prg
  * contrib/hbhpdf/hbhpdf.hbp
    ! renamed to not have the word 'error' in filename

  * src/rdd/usrrdd/rdds/arrayrdd.prg
    * patch by Quique:
      ! Fix '=' (comparative operator) in seek and scope
      ! Fix ADel()/AIns with 3 arguments
      ! Fix unlock records when change the pointer
      + Add locate
    ! my fixes: if() -> iif(), ending EOL, missing formatting,
      copyright line
2013-01-26 14:01:45 +00:00
Viktor Szakats
253b9d9116 2013-01-24 23:13 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/hbhpdf/error.prg
  + contrib/hbhpdf/tests/test.prg
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbhpdf/tests/harupdf.prg
    + hb_HPDF_GetErrorString( <nStatus> ) -> <cStatus>
    + test code

  * contrib/hbmzip/mziperr.prg
    * cleanups
2013-01-24 22:14:39 +00:00
Viktor Szakats
8dcb951427 2013-01-24 19:37 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/hbhpdf.hbx
    * casing of new func
2013-01-24 18:38:10 +00:00
Viktor Szakats
28d506bd58 2013-01-24 19:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/core.c
  * contrib/hbhpdf/hbhpdf.hbx
    + added HPDF_GetErrorDetail( hDoc ) -> nErrorCode

  * contrib/hbhpdf/harupdf.ch
    + added error constants from hpdferro.h
      descriptions here:
         https://github.com/libharu/libharu/wiki/Error-handling

  * contrib/xhb/*.prg
    * HTML

  * contrib/hbhpdf/*.c
  * tests/wvtext.prg
  * src/rtl/itemseri.c
    * formatting (mostly comments)
2013-01-24 18:28:06 +00:00
Przemyslaw Czerpak
b45c066054 2013-01-24 15:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/ChangeLog.txt
    ! removed multiple ChangeLog entry for my last commit
2013-01-24 14:34:59 +00:00
Przemyslaw Czerpak
f2bb1591f9 2013-01-24 15:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/itemseri.c
    + added support for deserialization items with cross references encoded
      by HB_SERIALIZE() in xHarbour.
      Now everything (except codeblocks) [hb_]serialized by xHarbour can
      be decoded by HB_DESERIALIZE() in Harbour.
2013-01-24 14:29:33 +00:00
Przemyslaw Czerpak
750a68f254 2013-01-24 15:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/itemseri.c
    + added support for deserialization item with cross references encoded
      by HB_SERIALIZE() in xHarbour.
      Now everything (except codeblocks) [hb_]serialized by xHarbour can
      be decoded by HB_DESERIALIZE() in Harbour.
2013-01-24 14:28:42 +00:00
Viktor Szakats
2688ce2212 2013-01-24 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + links to markdown and markdown to man-page converter tool
    ! minor cleanup to prev

  * utils/hbmk2/hbmk2.1
    * some updates

  * ChangeLog.txt
    ! typos/updates in previous entry

  * extras/hbdoc/*.prg
  * src/rtl/memoedit.prg
  * tests/clasinh.prg
  * tests/classch.prg
  * tests/inhprob.prg
    ! updated for new ::super: syntax

  * src/rtl/itemseri.c
    ! fixed typo in latest modification:
      'warning: use of unary operator that may be intended as compound assignment (+=)'

  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhttpd/*
  * contrib/hbtip/thtml.prg
  * contrib/xhb/*.prg
  * extras/httpsrv/*
  * extras/guestbk/*
  * website/faq/*.html
  * website/samples/HowToBuildOnLinux.html
  * website/third-party.html
    * some steps to modernize old HTML

  * extras/hbdoc/*.prg
    * do not use [] as string delimiter

  - tests/function.cfm
  - website/samples/function.cfm.html
  * .gitattributes
    - obsolete file deleted
2013-01-24 14:20:54 +00:00
Viktor Szakats
953737189d 2013-01-23 17:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/*.po
    + added '-warn=yes' option in sync with warn= .hbc directive
    * cleaned help for -cpp and -cpp= options
    * '-inc' option moved to short help page and clarified a little
    - deprecated several hbmk2 options synonyms. After this
      update, hbmk2 will issue a warning with the recommended
      replacement switch (and exact location where it has
      found it), and these will ultimately disappear with
      HB_LEGACY_LEVEL4 (after next release, or earlier, depending
      on how disrupting it is or how long the new release
      will take):
         -compiler=              -> -comp=
         -platform               -> -plat=
         -mwindows               -> -gui
         -mconsole               -> -std
         -nodebug                -> -debug-
         -nooptim                -> -optim-
         -nomap                  -> -map-
         -noimplib               -> -implib-
         -nobeep                 -> -beep-
         -nominipo               -> -minipo-
         -noinc                  -> -inc-
         -noignore               -> -ignore-
         -nohbcppmm              -> -hbcppmm-
         -nostrip                -> -strip-
         -warn= (value omitted)  -> -warn=yes
         -nowarn                 -> -warn-
         -compr= (value omitted) -> -compr=yes
         -compr=def              -> -compr=yes
         -nocompr                -> -compr-
         -head= (value omitted)  -> -head=full
         -head                   -> -head=full
         -head-                  -> -head=off
         -nohead                 -> -head=off
         -nocpp                  -> -cpp-
         -norun                  -> -run-
         -notrace                -> -trace-
      .hbc directives (no warning for these ones):
         compr=def               -> compr=yes
         <*>=1                   -> <*>=yes
         <*>=0                   -> <*>=no
      Macros (no warning for these ones):
         ${hb_platform}          -> ${hb_plat}
         ${hb_compiler}          -> ${hb_comp}

    ; Update your .hbp/.hbm/.hbc files and hbmk2
      command-line according to above and the new
      warnings. Important to note, that _all_ of the
      required modifications are _backward
      compatible_ with Harbour 3.0.0 and 2.0.0.

  * package/winuni/RELNOTES.txt
    * use -plat= option in examples

  * tests/testcom1.prg
    + made it compatible with unicode/script mode
2013-01-23 16:20:12 +00:00
Przemyslaw Czerpak
a6680919cf 2013-01-23 08:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    * updated some comments
    * renamed hb_setClsHandle() to __objSetClassHandle()
      old function name covered by HB_LEGACY_LEVEL5 macro

  * harbour/src/rtl/itemseri.c
    + added support for deserialization xHarbour HB_SERIALIZE() output.
      All types except codeblocks are supported. I haven't added support
      for xHarbour serialized data with cyclic references. If it will be
      really necessary then I can implement it.
      I also added workaround for bug in xHarbour serialization code so
      now Harbour correctly decodes data with LONGLONG numbers though
      xHarbour cannot correctly decode its own stream.
      Now Harbour can deserialize xHarbour data encoded by HB_SERIALIZE()
      and stored somewhere. It can be important in migration process, i.e.
      SQLRDD uses HB_SERIALIZE() to encode data in memos so now SQLRDD
      port for Harbour should read old tables and decode xHarbour items
      correctly. The same is for any other tool which saved HB_SERIALIZE()
      output in xHarbour.

  * harbour/ChangeLog.txt
    * minor update
2013-01-23 07:56:21 +00:00
Viktor Szakats
fed8401665 2013-01-23 00:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! FindInPath(): fixed for filenames with an empty
      extension on *nix systems when opening hbrun scripts.
      [slight chance of regression.]
    ! fixed to use ".\" also on non-*nix systems when using
      -run option and the target doesn't have a directory.
      Previously the wrong executable might have been executed
      if another one with the same name existed in path.
    + detect another variant of "multiple definitions" linker option
    + detect "multiple definitions" linker message for another C compiler

  + tests/testcom1.prg
    + added com sample code posted by Przemek earlier

  * contrib/hbsms/tests/send.prg
    + added Linux device name

  * src/rtl/cdpdet.prg
    * cleanup to local function name
2013-01-23 00:05:19 +00:00
Viktor Szakats
fffbd75eac 2013-01-22 02:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fixed current color being used instead of editor's own
      colorspec when scrolling the editing area using
      up/down/left/right keys

  * utils/hbmk2/hbmk2.prg
    ! -env: option being wrongly listed as command-line only in help.
      Regression after 2012-06-14 12:01 UTC+0200.
    * comments

  * ChangeLog.txt
    ! adjusted recommended replacement options in previous commit msg
2013-01-22 01:59:02 +00:00
Viktor Szakats
07cba6a57f 2013-01-22 00:37 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * code cleanup to ease adding linker message exceptions
    * unused functions enclosed in '#if 0' guards
    + show warning for options that are only valid on command line
      and ignored when used inside .hbp/.hbm files.
    - deleted compatibility features:
        - '-arch=' option (use '-platform=' instead)
          Notice it will now be passed to Harbour compiler and possibly
          interpreted as '-a' option, so it's better to update it _now_.
        - '${hb_arch}' compatibility macro (use '${hb_platform}' instead)
        - 'mt=mt' .hbc command (use 'mt=yes' instead)
    * '-mwindows' and '-mconsole' legacy options will now issue
      a warning with suggested replacement options (-gui/-std)
    + hbmk2 will now issue a warning if certain known low-level linker
      options are used. Current list is: -Wl,--allow-multiple-definition,
      -force:multiple, -w-dpl. These options are ideal if the goal
      is to shoot yourself in the foot, otherwise they are not 
      recommended.

  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/tests/clrsel.prg
    ! fixed obscure unicode issue

  * utils/hbtest/rt_class.prg
    * applied tests/fixcase.hb
    % use new Harbour functions in Harbour-only code

  * extras/httpsrv/uhttpd.prg
    % use new Harbour function
2013-01-21 23:41:05 +00:00
Przemyslaw Czerpak
d7eaeebc6a 2013-01-21 16:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    % small speed optimization for inline methods
    + added internal list of super classes bound with each class
    % use super class list for scope checking
    % use list of super classes for instance area casting
    % use super class list in super destructor code - it should cause
      noticeable speed improvement for releasing objects with destructors.
    ! few security fixes like possible GPF on wrong paramas.

  * harbour/src/vm/macro.c
    % use HB_P_DUPLICATE instrad of HB_P_PUSHUNREF in Field[W]Block()
      functions

  * harbour/src/rtl/gtwvt/gtwvt.c
    ! do not generate HB_K_RESIZE after SetMode() if there is no active
      console window.

  * harbour/include/hbstack.h
    * cleaned declarations of some hb_stack*() functions - moved to internal
      functions: hb_stackFree(), hb_stackInit(), hb_stackIncrease() and
                 hb_stackRemove()
      exported: hb_stackPush(), hb_stackTopOffset() and hb_stackTotalItems()

  * harbour/include/hbwmain.c
    ! fixed typo in argv list declaration

  * harbour/utils/hbtest/rt_class.prg
    + added code to test non virtual hidden messages and super casting.

  * harbour/contrib/hbmzip/mzip.c
    * minor modifications in casting and parameter checking to make them
      compatible with other similar core operations, i.e. FWRITE()
2013-01-21 15:37:10 +00:00
Viktor Szakats
73c232049c 2013-01-21 00:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbfilehi.prg
    ! hb_PathRelativize() with a lForceRelative == .T. option
      might have return wrong result if the base directory had symlinks.
      As a workaround/hack, now the relative path will only be returned
      if it actually exists. Otherwise the non-relative variant will
      be returned.
    ; It should fix hbmk2 on OS X when f.e. building a plain .c source
      in (default) non-incremental mode.

  * utils/hbmk2/hbmk2.prg
    ! fixed to list missing symbols once even reported multiple
      times in the linker output.
    ! fixed to not list symbols as missing if reported in certain
      different error situations (f.e. as doubly defined symbol).
      Extend exceptions as needed for other errors/compilers/language translations.
2013-01-20 23:26:39 +00:00