Commit Graph

1601 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Viktor Szakats
0eeb528a56 2013-01-19 00:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/tget.prg
    ! fixed RTE in ::OverStrike()/::Insert() when a non-string
      parameter was passed
    ! fixed Clipper incompatibility when passing certain
      multichar strings to ::OverStrike()/::Insert(). (f.e. "12", "23")
      Clipper always uses the first char only.
    ! fixed ::unTransform() missing the leading decimal
      point in number picture masks (f.e. ".9", "-.9", ".-9")

  * tests/rto_get.prg
    + added regression tests for cases fixed above

  * tests/rto_get.prg
  * tests/rto_tb.prg
    * minor modification to make them work as hbrun scripts
2013-01-18 23:02:57 +00:00
Viktor Szakats
4829bf6b1b 2013-01-17 16:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwin/gtwin.c
    ! fixed to handle Alt+numpad keyboard entry in case the scan codes
      were received in a single ReadConsoleInput() call. Such behavior
      was observed when using keypad/alt mode with multiple brands of
      barcode scanners, but most probably it might have happened anytime.
    ! fixed warnings in trace printf() masks
    + printf() trace will now log all scan codes read by ReadConsoleInput(),
      more scan code information in more readable way and alt+numpad handling
      more comprehensibly logged.
    * cleaned a few numeric types
    ; Review me.
2013-01-17 15:19:45 +00:00
Tamas Tevesz
5fa4f181a0 2013-01-16 12:44 UTC+0100 Tamas TEVESZ (ice extreme.hu)
* src/rtl/gtcrs/gtcrs.h
    ! fixed utmp.h on FreeBSD 9+.
2013-01-16 11:52:18 +00:00
Przemyslaw Czerpak
69ccfdec28 2013-01-12 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! fixed bug in scope checking
2013-01-12 12:06:27 +00:00
Przemyslaw Czerpak
1cc8e1e88c 2013-01-10 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new internal C function:
         void hb_objCloneTo( PHB_ITEM pDest, PHB_ITEM pSource,
                             PHB_NESTED_CLONED pClonedList );
      it copies object or clone it if class overloaded clone operation.
    ; TODO: add support for user defined class clone operation

  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    * changed returned type of hb_itemCloneTo() to void

  * harbour/src/vm/itemapi.c
    * use hb_objCloneTo() in hb_itemClone*() functions.

  * harbour/src/vm/arrays.c
    * use hb_objCloneTo() in array/hash clone code.

  * harbour/src/vm/arrayshb.c
    ! fixed return values in AEVAL() and ACOPY() when array
      is passed by reference.

  * harbour/src/rtl/tclass.prg
  * harbour/src/vm/classes.c
    * declare :SUPER and :__SUPER messages as non virtual ones.
      Now ::SUPER and ::__SUPER messages executed in object method
      returns casting to 1-st super object of the class in which
      executed method was defined.

  * harbour/include/hbclass.ch
    * removed xtranslations for SUPER(): - this workaround for
      missing non virtual messages in some Clipper OOP implementations
      was breaking valid code which tried to use real :SUPER message
      and made SUPER reserved word, i.e. it was not possible to create
      code like:
         LOCAL super := ::parent2
         ? super:v1, super:v2
      Now this hack is not longer necessary and :SUPER is non virtual
      massage in Harbour.
      INCOMPATIBLE: If someone has some code like:
         SUPER():MSG()
         SUPER( PARENT ):MSG()
      then please change it to:
         ::SUPER:MSG()
         ::PARENT:MSG()

  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbmysql/tsqlbrw.prg
    ! fixed to use ::super() instead of super()

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
    + added GOCOLD() method - this method is necessary for WAs
      passed to HB_DBDETACH()

  * harbour/doc/xhb-diff.txt
    * small update

  * harbour/contrib/*/*.hbx
    * regenerated
2013-01-10 22:27:11 +00:00
Przemyslaw Czerpak
dbe68f1a1f 2013-01-03 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbcom.c
    + added translation for some OS error codes

  * harbour/src/rdd/dbdetach.c
    ! minor correction in comment

  * harbour/doc/xhb-diff.txt
    + added new section:
         THREAD LOCAL WORK AREAS AND CONCURRENT WORK AREA ACCESS
2013-01-03 12:31:00 +00:00
Viktor Szakats
3ba0fe6d53 2012-12-28 14:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fix to fix to fix. I'd appreciate if someone else 
      would continue the work on Harbour.
2012-12-28 13:02:10 +00:00
Viktor Szakats
aedffc307b 2012-12-28 13:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fix to fix (code was copied in from 3.0.0)
2012-12-28 13:00:13 +00:00
Viktor Szakats
f0a8564e4d 2012-12-28 13:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fixed a regression from 2012-11-14 04:49 UTC+0100, caused
      by an odd coding case that doesn't occure anywhere else
      in codebase (verified). Thanks to Vlado for noticing.
2012-12-28 12:09:46 +00:00
Przemyslaw Czerpak
aaf9612304 2012-12-27 16:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! fixed unexpected item clearing in object item assignment when
      variable is passed by reference - problem reported by Quique.
      Here are code examples which could exploit the problem:
         o:_var( @x )
      or:
         o:var := { @x }[ 1 ]
      or:
         o:var := iif( .t., @x, )

  * harbour/src/rtl/hbcom.c
    * enable RTS and DTR registers by default in MS-Windows builds.
      I hope it will reduce number of pseudo "error" messages sent
      by people who cannot read basic flow control documentation.
    % unlock HVM when break signal is sent

  * harbour/src/rtl/hbcom.c
  * harbour/src/rtl/hbsocket.c
  * harbour/src/rtl/filesys.c
    ! fixed timeval usage in repeated select() calls in systems like Linux

  * harbour/contrib/hbwin/win_rpc.c
    ! fixed WINCE builds

  * harbour/src/rtl/hbinet.c
    * repeat accept operation if other thread concurently accpeted
      new connection or some asynchronous network error appeared.

  ; TOFIX: basic hbrun functionality is broken and now it is not possible
           to create scripts starting with line:
               #!/usr/bin/hbrun
           which do not have .hb or .prg file name extension
2012-12-27 15:17:54 +00:00
Viktor Szakats
6b822b4900 2012-12-19 07:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/core.c
  * doc/en/garbage.txt
  * include/hbapi.h
  * include/hbapicdp.h
  * include/hbapierr.h
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbexprop.h
  * include/hbhash.h
  * include/hbmacro.h
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/common/hbhash.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/harbour.yyh
  * src/compiler/hbcmplib.c
  * src/compiler/hbcomp.c
  * src/compiler/hbdead.c
  * src/compiler/hbfix.c
  * src/compiler/hbgenerr.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/compiler/hbstripl.c
  * src/compiler/ppcomp.c
  * src/macro/macro.y
  * src/macro/macro.yyc
  * src/macro/macro.yyh
  * src/macro/macrolex.c
  * src/rdd/hsx/hsx.c
  * src/rdd/workarea.c
  * src/rtl/errapi.c
  * src/vm/garbage.c
  * src/vm/hashes.c
  * src/vm/hvm.c
  * src/vm/macro.c
    * HB_*_PTR pointer types renamed to HBP_*
    * left HB_MACRO_PTR, HB_ERROR_INFO_PTR, HB_HASH_TABLE_PTR,
      HB_GARBAGE_FUNC_PTR for compatibility, but they are deprecated.
    ; Now all Harbour specific pointers types have 'PHB_' prefix
2012-12-19 06:19:13 +00:00
Viktor Szakats
1ac1121aa7 2012-12-17 19:04 UTC+0100 Viktor Szakats (harbour syenar.net)
- doc/en/hb_api.txt
  - doc/en/hb_apier.txt
  - doc/en/hb_apifs.txt
  - doc/en/hb_apigt.txt
  - doc/en/hb_apiit.txt
  - doc/en/hb_apiln.txt
  - doc/en/hb_apird.txt
  - doc/en/hb_compa.txt
  - doc/en/hb_date.txt
  - doc/en/hb_macro.txt
  - doc/en/hb_vm.txt
  * doc/en/hb_set.txt
    - deleted 0.5MB worth of collection of very outdated 1:1 copies 
      of C declarations and their comments from .h headers, as they
      were 12 years ago.

  * include/hbapi.h
  * include/hbvmpub.h
  * src/vm/codebloc.c
    * HB_CODEBLOCK_PTR type renamed to PHB_CODEBLOCK. Old type
      remains for a while for compatibility.
    ; TODO: Remaining list of similar ones:
            public:
            HB_MACRO_PTR         PHB_MACRO
            HB_ERROR_HANDLER_PTR PHB_ERROR_HANDLER
            HB_ERROR_INFO_PTR    PHB_ERROR_INFO
            HB_HASH_ITEM_PTR     PHB_HASH_ITEM
            HB_HASH_TABLE_PTR    PHB_HASH_TABLE
            internal:
            HB_VOID_PTR          PHB_VOID
            HB_CBVAR_PTR         PHB_CBVAR
            HB_EXPR_PTR          PHB_EXPR
            HB_ENUMERATOR_PTR    PHB_ENUMERATOR
            HB_ELSEIF_PTR        PHB_ELSEIF
            HB_LOOPEXIT_PTR      PHB_LOOPEXIT
            HB_SWITCHCASE_PTR    PHB_SWITCHCASE
            HB_SWITCHCMD_PTR     PHB_SWITCHCMD
            HB_RTVAR_PTR         PHB_RTVAR
            HB_COMMON_PTR        PHB_COMMON
            HB_PCODE_INFO_PTR    PHB_PCODE_INFO
            HB_COMP_PTR          PHB_COMP
2012-12-17 18:11:10 +00:00
Viktor Szakats
4961e3696b 2012-12-16 06:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexprb.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/genhrb.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/hbdbginf.c
  * src/compiler/hbdead.c
  * src/compiler/hbfix.c
  * src/compiler/hbgenerr.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/compiler/hbstripl.c
  * src/vm/memvars.c
    * renamed most remaining non-prefixed Harbour types
      See: 2012-12-16 00:17 UTC+0100
2012-12-16 05:31:26 +00:00
Viktor Szakats
a4becbaca9 2012-12-16 05:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/darwin/clang.mk
    + use 'clang++' in C++ mode

  * include/hbcomp.h
  * include/hbmacro.h
  * include/hbsetup.h
    % deleted redundant and/or unnecessary C RTL headers

  + config/win/clang.mk
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.*.po
  * README.txt
    + added very experimental clang support to the build
      systems. Very lightly tested.
    ! fixed entry function detection not being enabled with clang
    ! fixed .res files not being added on os2/gcc[omf] from .hbc/sources= directive
    + added recently added new filter 'allbcc' to help text
    ! synced compiler list per platform in help/readme to reality

  * ChangeLog.txt
    + updated 2012-12-16 00:17 UTC+0100 with the first DONE item.

  * src/3rd/pcre/*
    - reverted to 8.31 until all the breakage in configurability
      is fixed either in pcre or by redesigning our way of
      configuring it. Command-line configuration -DHAVE_*=0
      doesn't seem to work anymore.
2012-12-16 04:40:47 +00:00
Viktor Szakats
59eae7c33f 2012-12-16 00:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbcomp.h
  * include/hbcompdf.h
  * src/compiler/genc.c
  * src/compiler/genhrb.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/hbmain.c
    * few more type renames to have std Harbour prefix
2012-12-15 23:36:31 +00:00
Viktor Szakats
141a0269ed 2012-12-16 00:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbcomp.h
  * include/hbcompdf.h
  * src/compiler/genc.c
  * src/compiler/hbmain.c
  * src/compiler/ppcomp.c
    * renamed a non-prefixed Harbour type due to collision
      with bcc64 (as per xhb commit)
    ; TODO: Here is portion from my TODO backlog with a list of
            other remaining non-prefixed types to fix:
            FS_*                -> HB_FS_*
            FC_*                -> HB_FC_*
            FO_*                -> HB_FO_*
            FD_*                -> HB_FD_*
            F_ERROR             -> (-)
            VS_*                -> HB_VSCOMP_*
            VU_*                -> HB_VU_*
            VT_*                -> HB_VT_*
            FUN_*               -> HB_FUN_*
            *COMDECLARED        -> [P]HB_HDECLARED
            *COMCLASS           -> [P]HB_HCLASS
            *COMSYMBOL          -> [P]HB_HSYMBOL
            VAR, PVAR           -> [P]HB_HVAR
            _FUNC, PFUNCTION    -> [P]HB_HFUNC
            _FUNCALL, PFUNCALL  -> [P]HB_HFUNCALL
            _EXTERN, PEXTERN    -> [P]HB_HEXTERN
            AUTOOPEN, PAUTOOPEN -> [P]HB_HAUTOOPEN
            FUNCTIONS           -> HB_HFUNCTION_LIST
            INLINES             -> HB_HINLINE_LIST
            SYMBOLS             -> HB_HSYMBOL_LIST
2012-12-15 23:19:46 +00:00
Viktor Szakats
7a45440566 2012-12-09 14:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/fixcase.hb
    ! minor fix
    + accept single filename

  * contrib/hbct/fcopy.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/xhb/regexrpl.prg
  * extras/gtwvw/tests/_wvwmous.prg
  * src/rtl/tbrowse.prg
  * tests/devtest.prg
  * tests/mathtest.prg
  * tests/vidtest.prg
    ! rerun fixcase.hb after fix

  * tests/harbour.ini
  * tests/inifiles.prg
    * minor cleanups
2012-12-09 13:54:48 +00:00
Viktor Szakats
ae0b06281b 2012-12-04 23:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/3rd/pcre/Makefile
  * src/3rd/pcre/pcre.dif
  * src/3rd/pcre/*.h
    * updated with 3rdpatch to 8.32
2012-12-04 22:12:58 +00:00
Viktor Szakats
b313865e78 2012-12-04 14:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpost.hbm
  * utils/hbmk2/pkg_dynl.hbm
    * hack to avoid contrib/addon dynamic libs being used
      automatically on *nix system when building executables.
      Now they will be put in bin dir, just like on win.

  * utils/hbmk2/hbmk2.prg
    + hbshell_include_list() API to list loaded core headers.
    + allow loading dynamic extensions on *nix even if built
      against static HVM.
    * display statically linked extensions in uppercase in
      dot prompt UI and dynamic ones with original (lower) case.
      (was normal case and postfixed with '*' respectively)
    + do not load dynamic extension if the .hbc file is not found
    + attempt to detect if dynamic extension loads fine on
      a given platform and only try loading the dynamic lib
      if it does.
    + added protection to not add duplicate compiler options
      when compiling dot prompt entry.

  * contrib/hbrun/hbrun.hbp
    + load default contrib libs dynamically on *nix, even if
      hbrun is built against static HVM.

  ; these make work dynamic extensions on *nix systems.

  * contrib/hbtip/sessid.prg
  * extras/httpsrv/cgifunc.prg
    * updated HTTP date format to use preferred format:
         http://tools.ietf.org/html/rfc2616#section-3.3.1
    % optimized code and eliminated unnecessary _SET_DATEFORMATs
    ; tip_DateToGMT() and its uhttpd_DateToGMT() derivative

  * src/compiler/hbusage.c
    * updated contributor list

  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    * use std way to configure date format
2012-12-04 13:20:54 +00:00
Viktor Szakats
b91a3a5221 2012-12-03 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/utils/hbformat.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * package/harb_win.mft
  * package/harb_win.rc
  * README.txt
  * src/compiler/hbusage.c
  * src/pp/hbpp.c
  * utils/hbi18n/hbi18n.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
    * Bumped copyright year to 2013.
    + updates to contributor list
2012-12-03 14:30:34 +00:00
Viktor Szakats
92d24a5828 2012-12-03 13:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* (whole trunk repo)
    * COPYING -> COPYING.txt
2012-12-03 13:52:22 +00:00
Viktor Szakats
a6fc285772 2012-11-30 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/Makefile
  - include/hbtest.ch
  * src/rtl/Makefile
  - src/rtl/hbtest.prg
  * utils/hbmk2/hbmk2.prg
    - deleted hbtest from core.

  * contrib/hbct/tests/test.prg
  * contrib/hbgt/tests/test.prg
  * contrib/hbmisc/tests/tsstrfmt.prg
    * modified regression tests to use hbtest contrib
      instead of hbtest functionality in core RTL
    ; Thanks to Mindaugas and Przemek, now the contrib
      tests will require users to manually add 'hbtest.hbc'
      to their hbmk2 cmdline in case someone would like
      to build exes from them. Which means that fewer
      people will bother to build and run them. They still 
      run simply using 'hbrun <name>.prg' as scripts.
2012-11-30 14:20:44 +00:00
Viktor Szakats
5bfad24ff1 2012-11-30 15:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
  + contrib/hbtest
  + contrib/hbtest/core.prg
  + contrib/hbtest/corec.c
  + contrib/hbtest/hbtest.ch
  + contrib/hbtest/hbtest.hbc
  + contrib/hbtest/hbtest.hbp
  + contrib/hbtest/hbtest.hbx
  + contrib/hbtest/tests
  + contrib/hbtest/tests/hbmk.hbm
  + contrib/hbtest/tests/test.prg
    + added hbtest functionality as contrib

  - src/rtl/hbtestc.c
  * include/harbour.hbx
  * src/rtl/Makefile
    % deleted function not use in core
2012-11-30 14:11:29 +00:00
Viktor Szakats
c415852281 2012-11-30 03:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbtest.prg
    ! made another accidentally public function STATIC
    % merged XToStr() and XToStrE()
    % XToStr() modified to use hb_CStr() where it can

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_trans.prg
    % synced in-string date format with src/rtl/hbtest.prg

  * contrib/hbmisc/tests/tsstrfmt.prg
    ! fixed to not rely on current date
    ! fixed to set date format
2012-11-30 02:57:37 +00:00