ChangeLog

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  
c:\harbour
c:\harbour\ChangeLog
/*
 * $Id: ChangeLog 9545 2008-10-04 19:23:36Z druzus $
 */

/* Use this format for the entry headers:
   YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name (your_email address)
   For example:
   2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/

2008-10-04 21:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/fm.c
    ! do not build DL-MM when HB_FM_WIN32_ALLOC is set

  * harbour/tests/speedtst.prg
    + added support for --exclude= option to exclude some tests,
      f.e.:
         ./speetest --exclude=029.030.023.025.027.040.041.043.052.053.019.022.031.032
      disables all tests which allocates memory. The same tests can be also
      excluded by --exclude=mem

2008-10-04 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbole/ole2.c
    ! Fixed errors in previous commit. Thanks Toninho.

  * contrib/hbwin/win_ole.c
    ! Prefixed remaining static variables with 's_'.

2008-10-04 19:36 UTC+0100 Francesco Saverio Giudice (info at fsgiudice dot com)
  * contrib/hbwhat/wincore.prg
    * HB_Exec() changed to HB_ExecFromArray()
      Now contrib/hbwhat/tests/whatdemo.prg can be compiled and runs

2008-10-03 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  - harbour/tests/speedtst.prg
  + harbour/tests/speedold.prg
    * renamed old speed test - I left it because some other xbase compiler
      cannot compiple the new one due to not Clipper compatible PP

  + harbour/tests/speedtst.prg
    * added new speed test which can also measure mutlithread performance.
      When linked with MT HVM version then it can be executed with optional
      parameter which causes that each test loop is executed by separate
      thread. Please make such tests on different platforms.

2008-10-03 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/garbage.c
    * Use spinlock instead of mutex in OS2 builds - performance test.

2008-10-03 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/estack.c
    * pacified OS2 warning

2008-10-03 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/extrap.c
    + Now using standard internal error call for Windows too.
    + Implemented //BATCH for OS/2. (please test)

  * source/rtl/errorint.c
    * Upped internal buffer.

2008-10-03 09:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbole/oleauto.prg
  * contrib/hbole/ole2.c
  * contrib/hbwin/win_tole.prg
  * contrib/hbwin/win_ole.c
    * OLESHOWEXCEPTION() implemented on the .prg level, using
      Alert() rather than MessageBox().
    ! All MessageBox()es converted to Alert()s.
    + Added OLEEXCEPTIONSOURCE(), OLEEXCEPTIONDESCRIPTION()
      to hbole.

  * source/vm/maindllp.c
    ! Changed MessageBox() call to internal error.

  * contrib/gtwvg/gtwvg.c
  * source/rtl/gtwvt/gtwvt.c
    ! Changed MessageBox() calls to internal error.

  * contrib/gtwvg/gtwvg.c
    * Internal error calls synced with GTWVT.

  * source/rtl/hbgtcore.c
    - Removed "Internal error" text from two internal error descriptions.

  * make_vc.mak
    - Removed reference to MessageBox() from comment.

  ; NOTE: No more MessageBox() calls in Harbour.
          (except some wrappers for user .prg code)

2008-10-03 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/filesys.c
    * added workaround for missing S_IREAD, S_IWRITE and S_IEXEC in OS2
      when _XOPEN_SOURCE is defined

2008-10-02 23:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbsetup.ch
    ! Removed some company names from comments.

  * source/vm/extrap.c
    + Added //BATCH internal switch to indicate exception handler
      to suppress the Windows exception dialog when an exception
      occurs. Useful for programs running without user interaction.
      NOTE: This may not be the ultimate method. If we can gather
            more such situations where such "batch" mode might
            be useful, we may as well implement it as a Set().
    - Removed Harbour specific exception MessageBox(). Besides
      having gotten rid of a MessageBox() call in core VM, Harbour now
      got back the standard Windows error handling dialog, which is
      more standard and easy to get by than the previous default
      method, where several clicks were needed to pass through
      the (sometimes hidden) popups. The details of all GPFs are
      still logged into hb_out.log.
    + Removed size limit for the logged exception call stack.

2008-10-02 23:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbsetup.ch
    ! Removed some company names from comments.

  * source/vm/extrap.c
    + Added //BATCH internal switch to indicate exception handler
      to suppress the Windows exception dialog when an exception
      occurs. Useful for programs running without user interaction.
    - Removed Harbour specific exception MessageBox(). Besides
      having gotten rid of a MessageBox() call in core VM, Harbour now
      got back the standard Windows error handling dialog, which is
      more standard and easy to get by than the previous default
      method, where several clicks were needed to pass through
      the (sometimes hidden) popups. The details of all GPFs are
      still logged into hb_out.log.
    + Removed size limit for the logged exception call stack.

2008-10-02 21:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/sdf1.c
    ! fixed stupid typo (missing !) in last modification which broke
      SDF RDD read mode. Thanks to Marco for information and example.

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    * small cleanup in used macros

2008-10-02 20:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbct/Makefile
  * contrib/hbct/common.mak
  * contrib/hbct/ctmisc.prg
  + contrib/hbct/ctdummy.prg
    * Recently added dummy CT functions moved to a separate file.

  * source/vm/thread.c
    ! Fixed warning in HB_THREADID().

2008-10-02 15:54 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
  * harbour/source/vm/thread.c
    * hb_ThreadID() returns 0 when built in ST mode.

2008-10-02 15:50 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
  * harbour/source/vm/thread.c
    + added hb_ThreadID() function which returns thread ID of current thread.

2008-10-02 15:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/extrap.c
    + Upped internal buffer to store the exception dump
      and stack trace.

2008-10-02 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbstack.h
    % enable assembler inline function to access HVM thread stack pointer
      without native compiler TLS support even if HB_STACK_PRELOAD is not
      defined in MinGW builds. It gives some additional small speed
      improvement in MT mode

  * harbour/source/rtl/idle.c
    * unlock HVM inside hb_releaseCPU() function

  * harbour/contrib/hbwin/win_ole.c
    ! fixed casting and C++ compilation in some compilers

  * harbour/include/Makefile
  + harbour/contrib/examples/rdddbt/hbrdddbt.h
  - harbour/include/hbrdddbt.h
    ! moved hbrdddbt.h to correct location

  * harbour/include/Makefile
    ! added missinf hbthread.h

  * harbour/tests/rddtest/rddmktst.prg
  * harbour/tests/rddtest/adscl52.prg
  * harbour/tests/rddtest/adscl53.prg
  * harbour/tests/rddtest/ntxcl52.prg
  * harbour/tests/rddtest/ntxcl53.prg
  * harbour/tests/rddtest/cdxcl52.prg
  * harbour/tests/rddtest/rddtst.prg
  * harbour/tests/rddtest/cdxcl53.prg
    ! fixed description in header I wrongly copied without updating
      from other files

  + harbour/tests/hsxtest.prg
    + added test code for HiPer-SEEK indexes

  * harbour/source/rtl/filesys.c
    + added new functions: hb_fsExtName(), hb_fsReadAt(), hb_fsWriteAt(),
      hb_fsTruncAt() to use with shared file handles.
      Please test it in other *nixes. I used pread[64]()/pwrite[64]()
      POSIX functions but I do not know if they are available by default
      in other supported platforms like MacOSX, BSD, HPUX, SunOS.
      If not they I will have to implement some workaround.

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  * harbour/include/hbapifs.h
  + harbour/source/rtl/filebuf.c
    + added set of new file functions (hb_file*()) which are designed to
      use with shared file handles and locks (buffers in the future):
      hb_fileExtOpen(), hb_fileCreateTemp(), hb_fileClose(), hb_fileLock(),
      hb_fileReadAt(), hb_fileWriteAt(), hb_fileTruncAt(), hb_fileSize(),
      hb_fileCommit(), hb_fileHandle()
      These functions operate on PHB_FILE structure instead of HB_FHANDLE.
      Now in POSIX systems they share file handle between aliased or
      simultaneously open by other thread work areas. It resolves the
      problem with releasing all process FCNTL locks by any close()
      operation even on duplicated or open() separately handle.
      Now DOS deny flags emulation works in single process even if
      BSD locks are disabled (non Linux *nixes).
      They also keep internal file lock list what allows to synchronize
      threads and aliases with file locks in POSIX systems. In the future
      it will be used also for internal locking to synchronize threads
      without OS level locks - pseudo exclusive mode in cloned WA.
      Finally these structures will be used also for file buffers
      which will be shared between aliased WA and threads.

  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
  * harbour/include/hbrdddel.h
  * harbour/include/hbrddsdf.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbbmcdx/hbbmcdx.h
    * use PHB_FILE and hb_file*() functions instead of HB_FHANDLE (hb_fs*())
      to access files.

  + harbour/tests/aliaslck.prg
    + added test code for file lock synchronization between aliased
      work areas

2008-10-02 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/extrap.c
    * Added "error" text in exception message.

2008-10-02 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbct/ctmisc.prg
    + Added dummy functions:
      GETKXLAT(), SETKXLAT(), DSETKBIOS()

2008-10-02 08:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rtl/dbedit.prg
    ! Fixed to use local Skipped() function.
    ! Guarded some 5.3 features with HB_COMPAT_C53.
    ! Fixed stepping back to real record from append position.
      (This fixes Clipper 5.x screen trashing and
      '87 incompatibility.)
    ! Minor keyboard handling fix.
    ! Fixed behaviour in append mode.

2008-10-01 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbfbird/firebird.c
    ! Added ugly hack to make it compile with Firebird 2.1.1
      and BCC 5.8.2 (and upper).
      This way all Win32/Win64 builds are now supporting
      this newer version of Firebird. DOS still needs 2.0.4.

  * contrib/hbwin/win_tole.prg
  * contrib/hbwin/win_ole.c
    + Added support for optional License Key.
      Borrowed from xhb/Ron Pinkas.
      (untested)

2008-10-01 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbct/ctmisc.prg
    ! Fix to CENTER() when 3rd param is logical.
    + Added ALLOFREE().

2008-09-30 11:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/Makefile
  + harbour/include/hbvmint.h
    + added new header file which works like hbvmopt.h but does not enable
      stack macros

  * harbour/contrib/xhb/xhbenum.c
  * harbour/contrib/xhb/xhbqself.c
  * harbour/contrib/xhb/xhbwith.c
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/hbwin/win_ole.c
    ! use hbvmint.h instead of hbvmopt.h to eliminate direct bindings to
      HVM stack structure

2008-09-30 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_vc.mak
  * config/w32/msvc.cf
  * config/w32/msvcce.cf
    ! Removed -fp:fast optimization switch from WinCE builds.
    ! -W4 warning level enabled for MSVC in GNU-make too.

2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * contrib/mtpl_b32.mak
  * bin/bld.bat
    % Added BCC optimization switches
      (the ones used for the Harbour release versions).

  * bin/bld.bat
  * bin/bld_os2.cmd
    + Added -O3 to GCC compilation.

2008-09-29 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/hvm.c
    ! restored some item type settings I wrongly removed few days ago

2008-09-29 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/os2/gcc.cf
  * harbour/make_gnu_os2.cmd
    * moved -DTCPV40HDRS to make_gnu_os2.cmd and added small description
      about this macro. By default is enabled, can be disabled by
      setting environment variable HB_OS2_TCP32 to 'yes', f.e.
         SET HB_OS2_TCP32=yes
      David and Maurilio, please check me.

2008-09-29 13:11 UTC-0300 Antonio Carlos Pantaglione 
   * contrib/xhb/common.mak
   * contrib/xhb/makefile
   + contrib/xhb/hbstruct.ch
   + contrib/xhb/hbstruct.prg
     + STRUCTURE / MEMBER / ENDSTRUCTURE support

2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbset.h
  * harbour/source/vm/set.c
    + divided __SETCENTURY() PRG function into two functions:
      __SETCENTURY() and public C function hb_setSetCentury()
      to manipulate century setting from C code.
      Modyfication by Francesco Saverio Giudice

2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * ChangeLog
  * mpkg_tgz.sh
  * harbour.spec
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/rsx32.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/w32/mingwce.cf
  * config/w32/gcc.cf
  * config/w32/rsxnt.cf
  * config/w32/mingw.cf
    + -O3 GCC optimization level made the default for all GCC
      builds. Those who wish to use lower optimization settings,
      pls use C_USR=-O2 or such.

2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/workarea.c
    * added protection against multiple registering RDD with the same
      name by *_GETFUNCTABLE() in ST/MT mode or other thread in MT mode

2008-09-29 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbvm.h
  * harbour/include/hbthread.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
    + added hb_vmThreadRegister() funtion which allows to register new
      thread in HVM without HVM stack allocation
    + added hb_vmThreadRelease() which removes registered thread which
      does not have allocated HVM stack yet
    + added hb_threadStateNew() which returns new thread control state
      which can be used as parameter to hb_vmThreadInit(),
      hb_vmThreadRegister(), hb_vmThreadRelease()
    * register thread control state also for main thread
      Now hb_threadSelf() returns thread pointer also for main thread
    ! fixed possible race condition in hb_threadWaitForAll() and
      hb_threadTerminateAll() by using hb_vmThreadRegister() before
      starting thread.

  * harbour/source/rtl/idle.c
    * interrupt hb_idleSleep() on QUIT or BREAK requests

  * harbour/tests/mt/mttest09.prg
    * small cleanup

2008-09-29 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * make_vc.mak
    ! Fixed to use 'COPY /B' instead of 'COPY /A' to install
      headers, to avoid appending and EOL to these files.
      They should work as is.

  * make_gcc.mak
    ! Fixed mainstd lib name.
      [TOMERGE 1.0]

2008-09-27 09:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_gcc.sh
    % Minor cleanup after prev changes.

2008-09-27 09:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbthread.h
    % Disabled HB_USE_TLS for __BORLAND__ and __MINGW32__ for
      best performance.

  * contrib/hbwhat/whtmmcap.c
    ! Fixed some warnings under certain MinGW 4.3.2
      installations.
      TODO: hbwhat users pls finish this fix.

  * utils/hbmake/hbmake.prg
    ! Fixed hbw32 to hbwin.
    * Win32 references changed to Windows.

  * make_gcc.sh
    * Not accepting CFLAGS anymore as custom C flags envvar.
      Pls use C_USR instead.

  * make_gcc.mak
    + Added wsock32 lib to Cygwin system liblist.
    ! Removed setting HB_OS_* macros explicitly.

  * make_b32.mak
  * make_vc.mak
    * Minor formatting.

2008-09-26 21:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/thread.c
    * release thread return value when is retrieve

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/tthreadx.prg
    + added xBase++ compatible signal class

  * harbour/source/rdd/wacore.c
    ! added missing alias setting after attaching work area

  + harbour/tests/mt/mttest09.prg
    + added test code for using the same work area in different threads

2008-09-26 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    + added assembler inline macros for TLS access in BCC and MinGW32
      They are enabled when Harbour is compiled with -DHB_NO_TLS.
      Please check the speed difference. If it will be noticeable
      then we keep them probably as default. Otherwise they will be
      removed.

2008-09-26 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/thread.c
    ! fixed thread cleanup code when startthread() fails, f.e.
      OS refuse to create new thread.

2008-09-25 21:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbdefs.h
    ! Fixed 64-bit printf() formatting strings to be compatible
      with MinGW. MinGW seems to follow the Microsoft way instead
      of being compatible with other GCC dialects.
      This fixes some pcode/c code (-gc3) generation problems for
      long long literals, and hbfbird/FBGETDATA() potential problems,
      when MinGW 3.x/4.x compilers were used.
      [TOMERGE 1.0]

    ; TOFIX: Some sqlite3.c code may also be affected, since
             "%llX" and "%lld"s are hard-coded into the source.

2008-09-25 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  - make_tgz.sh
  + mpkg_tgz.sh
  - make_deb.sh
  + mpkg_deb.sh
  - make_rpm.sh
  + mpkg_rpm.sh
  - make_rpmwce.sh
  + mpkg_rpm_wce.sh
  - make_rpmwin.sh
  + mpkg_rpm_win.sh
  - make_xmingw.sh
  + make_gnu_xmingw.sh
  - make_xmingwce.sh
  + make_gnu_xmingwce.sh
  - make_rpm_from_svn.sh
  + mpkg_rpm_from_svn.sh
    * Some renamed in the hope that it will better separate
      the simple build scripts (make*) from package build
      (mpkg*) scripts.

2008-09-25 13:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/xhb/hbcompat.ch
    + Added xhb_CopyFile() two-way translations.
      (untested)

2008-09-25 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * tests/speedtst.prg
    ! Use hb_OSNewLine() instead of hard-wired EOL.
    + Emulate hb_OSNewLine() for non-Harbour compilers.

2008-09-25 13:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbthread.h
    + Enabled HB_USE_TLS for MinGW >= 4.3.0

2008-09-25 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  - harbour-ce-spec
  + harbour-wce-spec
  - harbour-w32-spec
  + harbour-win-spec
  - make_rpmw32.sh
  + make_rpmwin.sh
  - make_rpmce.sh
  + make_rpmwce.sh
    * Some steps done to use more consistent names for Windows
      and Windows CE, and also to move away from '32' usage.
    ; TODO: I'd prefer to give all .spec files the same
            empty extensions, could anyone help how to
            convert current harbour.spec to harbour-spec and
            not break .rpm creation? Plus it would be also
            good to implement automatic versioning on .rpm
            build just like for harbour-win/wce in make_rpmw*.sh
            scripts.

  - hbgtmk.sh
  + make_rpm_from_svn.sh
    * Renamed to give a better idea about its purpose.
    ; NOTE: make_rpm_from_svn.sh seems a bit pointless now
            that we have the final releases in separate SVN tags.

  * make_gcc.mak
    * Minor formatting.

2008-09-25 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * make_gcc.mak
  * make_vc.mak
  * harbour.spec
  * source/rtl/hbgtcore.c
  * source/rtl/Makefile
  * source/rtl/gtsys.c
  * config/w32/poccce.cf
  * config/w32/xcc.cf
  * config/w32/pocc.cf
    % Removed HB_GT_DEFAULT envvar, which was the exact synonym
      of HB_GT_LIB. Please use HB_GT_LIB instead, if you - by any
      chance - want to change the default GT at Harbour build-time.

  * tests/speedtst.prg
    ! Fixed to delete temp .dbf files before exiting.

2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/estack.c
    ! fixed stack preloading - it should be after checking if stack
      exist :)

2008-09-24 18:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * reverted modification for import attributes - this will be changed
      in the future to function calls

2008-09-24 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * utils/hbdoc/hbdoc.prg
  * utils/hbmake/hbmake.prg
  * utils/hbrun/hbrun.prg
    % One function made STATIC.

2008-09-24 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * utils/hbrun/hbrun.prg
    + Added REQUESTs for GTSTD, GTCGI, GTPCA (these GTs are
      available on all platforms).
    % Removed explicit GT defaulting logic (now identical to
      the one in RTL).

2008-09-24 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/fm.c
    + Enabled dlmalloc (HB_FM_DL_ALLOC) for MSVC, BCC and MINGW builds.
    ; It's possible to disable dlmalloc with HB_FM_STD_ALLOC
      for testing purposes.

2008-09-24 16:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/bld.bat
  * bin/bld_os2.cmd
    * HARBOURFLAGS removed as a public envvar to setup Harbour
      parameters. Use PRG_USR instead.

  * common.mak
    ! Fixed after recent modification.

  * source/compiler/cmdcheck.c
    * Minor formatting.

2008-09-24 14:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/dynsym.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/memvars.c
    ! fixed three typos which broke HB_TR_DEBUG messages

2008-09-24 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/cmdcheck.c
    ! fixed starting index in parsed parameters. argv[0] is
      application name with path not user parameter. Parsing
      it was giving unpredictable results if harbour binaries
      were located in path having option delimiters in name

2008-09-24 12:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * harbour-ce-spec
  * harbour-w32-spec
  * harbour.spec
  * make_xmingwce.sh
    % Some remaining explicit GT defaultings removed. Relying on
      RTL source code.

  * include/hbsetup.h
    ! Disabled HB_MT_VM for HB_WINCE.

2008-09-24 12:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/vmmt/Makefile
    ! Possible fix for mingw build error:
      make: *** mainstd: No such file or directory.  Stop.
      make[3]: *** [first] Error 2
      make[2]: *** [first] Error 2
    ; Please review.

    ; TOFIX: These DLALLOC warnings are present with MinGW 4.3.2
             In file included from ../../fm.c:127:
             ../../dlmalloc.c:1144: warning: ignoring #pragma warning
             In file included from ../../fm.c:127:
             ../../dlmalloc.c: In function 'sys_alloc':
             ../../dlmalloc.c:3396: warning: statement with no effect

2008-09-24 12:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * common.mak
  * source/rtl/gtgui/Makefile
  - source/rtl/gtgui/gtdef.c
    - Removed HB_GTGUI_HACK to masquerade GTGUI under a different
      name and to make Windows users happier. Instead of hacking
      Windows users with GUI programs should simply use
      this in their code:
      --
      PROCEDURE HB_GTSYS
         REQUEST HB_GT_GUI_DEFAULT
         RETURN
      --
    ; This clears up a few exceptions, make hacks and a few possible
      confusions.

2008-09-24 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_gcc.sh
  * make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * make_tgz.sh
    % Some additional GT defaulting logic removed.

2008-09-24 01:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbwhat/tests/whatdemo.prg
    ! SVN ID.

  + contrib/hbwhat/tests/bld_b32.bat
  + contrib/hbwhat/tests/bld_vc.bat
    + Added missing non-GNU make files.

2008-09-24 01:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rtl/gtsys.c
    * Added HB_WINCE with GTWVT to the set of defaults.

  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/linux/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
    % Removed unnecessary defaulting to GTSTD.

  * config/os2/gcc.cf
    ! Fixed minor typo in line 24 / HB_OS2_NEW_TCP.

2008-09-23 16:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/contrib/hbwhat
    + /tests
    + /tests/whatdemo.prg
      A demo program, very basic, will be expanded in future, together
      with gtwvt.

2008-09-24 00:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtsys.c
    * use GTTRM as default GT in *nixes

2008-09-24 00:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * tests/memtst.prg
    + Added #include "simpleio.ch" to allow output redirection.

  * bin/bld.bat
  * bin/bld_os2.cmd
    * Removed any HB_GT_LIB "selection" logic. Selection is to
      be done from source code, from now on all supported core GTs
      are included in the lib list.
    * Few other minor cleanups.

  * source/vm/cmdarg.c
    * Commented code turned into HB_C52_STRICT branch.

  * source/vm/vmmt/Makefile
    ! Fixed cemgw -> mingwce

  * config/dos/global.cf
  * config/os2/global.cf
  * config/w32/global.cf
    % Removed unnecessary logic to select default GT. This is
      done in Harbour source code now.

  ; TOFIX: After MT changes, mingw32 build gives this new error:
           make: *** mainstd: No such file or directory.  Stop.
           make[3]: *** [first] Error 2
           make[2]: *** [first] Error 2

2008-09-23 21:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * use HB_IMPORT instead of hardcoded attributes in hb* scripts

  * harbour/source/common/hbver.c
    * generate different info for POCC and XCC compilers

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * reduce header validation to not report clipper indexes as corrupted

2008-09-23 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/extrap.c
    ! Fixed to close .log file before showing MessageBox().
      [TOMERGE 1.0]

    + Don't attempt to write into .log file if the _SET_HBOUTLOG
      filename is empty.

    ; TOFIX: Remove all remaining MessageBox() calls from
             Harbour sources.

2008-09-23 18:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/rddads/adsmgmnt.c
    ! Blind fix to ADSMGGETWORKERTHREADACTIVITY() where the
      first element in list wasn't returned.
      Please test, I couldn't.

  * source/vm/fm.c
    ! Stupid typo. (I guess I'm completely confused by separated
      "#" and preprocessor command :/ Second typo in two lines.)

2008-09-23 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/os2/gcc.cf
    * enabled -DTCPV40HDRS in default builds, can be disabled by
      setting HB_OS2_NEW_TCP=yes environment variable

2008-09-23 07:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/contrib/hbwhat/wincorec.c
    % hb_retptr() => HB_RETWI()

2008-09-23 06:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/contrib/hbwin/win_ole.c
    % hb_vmPushDynDym() => hb_vmPushDynSym()

2008-09-23 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/codebloc.c
    * updated old and not longer valid comment

  * harbour/source/vm/memvars.c
    * minor code formatting

  * harbour/source/common/expropt2.c
    ! fixed bug in power math expression optimization caused
      by two lines left in the code by mistake. Many thanks to
      Maurilio for locating the problem.

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/hvm.c
    % added support for buffering hb_stack TLS access be preloading
      the stack pointer into C stack function local variables.
      Please make speed tests for MT mode with different C compilers
      and different platforms.

2008-09-23 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/rddads/adsmgmnt.c
    * Minor.

2008-09-23 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbole/ole2.c
  * contrib/hbgf/hbgfwin/winapi.c
  * contrib/hbgf/hbgfos2/os2pm.c
  * contrib/hbwin/win_ole.c
  * contrib/hbwhat/wincorec.c
  * source/rtl/do.c
  * source/rdd/workarea.c
    % hb_vmPushSymbol( hb_dynsymSymbol( p ) ) -> hb_vmPushDynSym( p )

  * contrib/hbwhat/wincorec.c
    ! WHT__GETDLGPROC() fixed.
    ! hb_vmPushSymbol( hb_itemGetSymbol( p ) ) -> hb_vmPushDynSym( p )

  * contrib/hbgf/hbgfwin/winapi.c
  * contrib/hbwhat/wincorec.c
  * contrib/hbwhat/whtmsg.c
  * contrib/hbwhat/whtbmp.c
  * contrib/hbwhat/whtcomm.c
  * contrib/hbwhat/whthead.c
  * contrib/hbwhat/whthead.c
  * contrib/hbwhat/whtkbrd.c
  * contrib/hbwhat/whtlv.c
  * contrib/hbwhat/whttext.c
  * contrib/hbwhat/whtwnd.c
  * contrib/hbwhat/whtdlg.c
  * contrib/hbwhat/whttab.c
    ! Fixed few LPARAM/WPARAM passings to be 64-bit compatible.
      (hb_parnl()/hb_parni() -> hb_parnint())

  * source/vm/thread.c
  * source/rtl/do.c
  * source/rdd/usrrdd/usrrdd.c
  * contrib/hbwhat/whtlv.c
  * contrib/hbwhat/whtfont.c
    % hb_vmPushSymbol( hb_itemGetSymbol( p ) ) -> hb_vmPush()
    ; QUESTION/TOFIX: In whtlv.c and whtfont.c this may be wrong,
                      and hb_vmPushDynSym() could be needed instead.
                      Can someone take a look pls?

2008-09-23 08:45 UTC-0300 Antonio Carlos Pantaglione 
   * contrib/rddads/adsmgmnt.c
     + ADSMGSETHANDLE( nHandle ) to set an existing connection handle
     ! ADSMGGETUSERNAMES() that was skipping first user

2008-09-23 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/fm.c
    ! Enabled USE_DL_PREFIX for _MSC_VER compilers.
      This may be refined, but without this setting MSVS 2008
      would give an error on exit and GPF.

2008-09-23 11:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbthread.h
    % Enabled TLS for _MSC_VER compilers.
    ; Tested with MSVS 2008 32-bit. Someone pls test with
      older/other MSVC compilers (especially MSVC6 and WinCE mode)
      to refine the default setting if needed.

2008-09-22 22:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/thread.c
    ! fixed GPF when hb_threadSelf() was executed from thread without
      allocated ID object (f.e. main thread)

2008-09-22 16:19 UTC-0300 Antonio Carlos Pantaglione 
  * harbour/contrib/rddads/ads1.c
    * using AdsCreateIndex61 when ADS_LIB_VERSION >= 610. This functions use
      ADS_DEFAULT as index page size parameter and force Advantage to compute
      a page size based on the key size to provide optimal balancing.

2008-09-22 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * do not allow to close production index by ordBagClear() when
      strict FP compatibility is set for production index or when
      _SET_AUTOPEN is enabled. It compatible behavior to ordListClear()
      function

2008-09-22 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/classes.c
  * harbour/source/rdd/workarea.c
    * pacified BCC warnings

  * harbour/source/debug/dbgwa.prg
  * harbour/source/debug/debugger.prg
  * harbour/source/debug/dbghelp.prg
    * eliminated two static variables

2008-09-22 14:34 UTC-0300 Antonio Carlos Pantaglione 
  * source/rtl/dbedit.prg
  * source/rtl/dirscan.prg
  * source/rtl/errorsys.prg
  * source/rtl/hbini.prg
  * source/rtl/listbox.prg
  * source/rtl/objfunc.prg
  * source/rtl/tbrowse.prg
  * source/rtl/tclass.prg
  * source/rtl/tget.prg
  * source/rtl/tgetlist.prg
    * Code formating and some local decarations inlined

2008-09-22 19:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/ChangeLog
   ! corrected previous ChangeLog entry: instead of hb_waDetach()/
     hb_waRequest() should be db_dbDetach()/hb_dbRequest()

  * harbour/source/vm/hvm.c
   * disabled PRG tracing in default builds. If someone wants to
     use this feature then he should recompile Harbour with HB_PRG_TRACE
     macro. In such case tracing can be enabled/disabled by __TRACEPRGCALLS()
     function. HB_NO_TRACE macro is not longer usable - it's default in
     current code.

  * harbour/source/vm/classes.c
    + added PRG function __clsPreallocate() which extends the size of
      classes buffer to given value to avoid later RT reallocations.
      It may be useful in some very seldom cases for MT programs which
      will allocate dynamically at runtime more then 16386 classes.
      In practice rather impossible though who knows ;-)

  * harbour/source/rdd/workarea.c
    * set default preallocation size for RDD nodes to 128
    + added PRG function __rddPreallocate() which extends the size of
      RDD nodes buffer to given value to avoid later RT reallocations.
      It may be useful in some very seldom cases for MT programs which
      will register dynamically at runtime more then 128 RDDs when other
      threads are active and may use RDD nodes.

  * harbour/include/hbrddcdx.h
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    + added ORDLSTDELETE() method.
      Now ordbagClear() should work for DBFCDX.

2008-09-22 19:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/bld.bat
    - Removed recently added cw32mt.lib.
    ; Now, for MT builds 'set HB_USER_LIBS=cw32mt.lib' should
      be used. Where cw32mt.lib may also be cp32mt.lib,
      cp32mti.lib, cw32mti.lib depending on other factors.
      Notice that even this would only work if Harbour was
      built with 'set HB_BUILD_ST=no'.

2008-09-22 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * make_vc.mak
  * common.mak
  * source/rtl/hbgtcore.c
    ! Any messing with HB_GT_LIB and HB_GT_DEFAULT was removed
      from non-GNU make files, to leave these things to the
      source code itself (just like in GNU-make).
    + Added automatic selection of GTWVT from source code
      for WinCE, so that it also works in GNU-make.

  * source/rdd/dbfcdx/dbfcdx1.c
    ! Restored RTE behaviour when key length is zero.
    ! Recently added C53 compatible but C52 incompatible
      RTE (throwing an error when index key is longer than
      240 chars) enabled only if HB_COMPAT_C53 and HB_C52_STRICT
      are both #defined to not make valid C52 apps crash.
    ; Someone pls review me.

2008-09-22 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbregex.c
    * added hack to force linking newer PCRE versions not the one included
      in BCC RTL when Harbour is compiled without HB_PCRE_REGEX_BCC.
      If user application will uses regex expressions (directly or indirectly
      by some RTL functions) then lining it without HBPCE should give link
      time error that pcre_config() function is missing.

2008-09-22 16:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    + added support for using stack macros without native compiler TLS
      support in MT mode.
    * enabled stack macros by default for OS2 MT builds
      David, if possible please try speedtst.prg with current MT HVM

2008-09-22 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbinet.c
    ! fixed W32 compilation

2008-09-21 20:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/contrib/hbwhat/*.c;*.prg
    ! Prefixed every WHAT specific functions with "WHT_" and
      Windows specific functions with "VWN_"

    ; NOTE: Now onwards HBWhat.lib use proprietory namespace and
      can be used alongwith any other WINAPI library. In the next
      few days I will upload a working demo taking care of all
      the components together.

    ; TOFIX: HBWhat.lib is not usable as is still.
      Viktor, please examine these two functions in wincorec.c
         HB_FUNC( WHT__GETDLGPROC )
         BOOL CALLBACK __DlgProc( H... )
      where I have changed the casts to original code. Only then
      I could get it worked. It is only for WHT_DialogBox() and
      I am sure until we fix it no other component will work.
      It should be easy, IMO, just I do not know the whole story.
      Probably the above change will not let HbWhat to be compliled
      by other compilers or they will produce warnings.

2008-09-22 04:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbinet.c
    ! fixed typo in previous commit which broke MS-Win builds
    * check hb_vmReaquestQuery() after executing use codeblocks

2008-09-22 03:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/hvm.c
    + added support for nested hb_vmUnlock()/hb_vmLock() calls

  * harbour/source/rtl/hbinet.c
    * encapsulated all potentially slow inet functions inside
      hb_vmUnlock()/hb_vmLock() calls

2008-09-22 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
    + added .prg function hb_threadSelf() ->  | NIL
      It returns thread ID pointer variable or NIL when thread was
      registered without it (main thread and some 3-rd party threads
      created by C API)

  * harbour/source/vm/hvm.c
    * protect s_InitFunctions and s_ExitFunctions by mutex

  * harbour/source/common/hbverdsp.c
    * use hb_verBuildDate() instead of __DATE__ and __TIME__ in
      hb_verBuildInfo() function to report the same time in both
      cases.

2008-09-21 23:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbapi.h
  * harbour/source/vm/arrays.c
    + added hb_arrayGetPtrGC(), hb_arrayGetSymbol(), hb_arraySetSymbol()

  * harbour/include/hbapi.h
  * harbour/source/vm/dynsym.c
    + added hb_dynsymProtectEval(). Works like hb_dynsymEval() but
      keeps dynamic symbol table locked during whole execution.
      It's faster then hb_dynsymEval() but user function may not
      access dynamic symbol tbale to not cause recursive locks
    + added protection against possible dynamic symbol table resizing
      during hb_dynsymEval() by other threads.

  * harbour/include/hbapi.h
  * harbour/source/vm/memvars.c
    + added hb_memvarSaveInArray( int iScope, BOOL fCopy ) and
      hb_memvarRestoreFromArray( PHB_ITEM pArray )
    % use hb_dynsymProtectEval() in places where it's safe

  * harbour/include/Makefile
  + harbour/include/hbthread.ch
    + added header file with thread constant definitions:
         HB_THREAD_INHERIT_PUBLIC
         HB_THREAD_INHERIT_PRIVATE
         HB_THREAD_INHERIT_MEMVARS
         HB_THREAD_MEMVARS_COPY

  * harbour/include/hbthread.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
    + added support for inheriting visible memvars from current
      thread when new thread is created. Memvars in child thread
      can be shared with parrent or they can be copied. See HB_THREAD_*
      attributes defined in hbthread.ch, f.e.:
         hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @thFunc() )
      or:
         hb_threadStart( HB_BITOR( HB_THREAD_INHERIT_MEMVARS + ;
                                   HB_THREAD_MEMVARS_COPY ), ;
                          @thFunc() )
      Please note that when child thread creates new PUBLIC variable
      which didn't existed when thread was started then it's visible
      only for this thread and optionally for its child threads but
      not for parent thread.
      Please also remember that write access to shared memvars have
      to be protected by users.

  + harbour/tests/mt/mttest08.prg
    + added test code for thread memvars inheritance

2008-09-20 05:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/common.mak
  * harbour/source/rdd/Makefile
    ! restored dbdetach.* in makefiles

  + harbour/source/rdd/dbdetach.c
    + added file I forgot to add in previous commit

  * harbour/source/vm/thread.c
    + added support for using function name as string in HB_THREADSTART()
    + added support for thread attributes. They will be used in the future.

2008-09-19 21:28 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
  * common.mak
  * source/rdd/Makefile
    * removed dbdetach.* from make constructors

2008-09-20 03:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/hvm.c
    * minor modification: #ifdef ... => #if defined( ... )

  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gttrm/gttrm.c
    ! fixed reentrance counter resetting

2008-09-20 00:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  + harbour/source/rdd/dbdetach.c
    + added .prg functions:
         hb_dbDetach( [|], [] ) -> 
         hb_dbRequest( [], [], [<@xCargo>], [] )
            -> 
      The first one detach workarea from current thread and move it
      to special hidden holder. Before detaching all relations (parent
      and child) to detached workarea are cleared.
      The second one restores area from the holder and attach it
      to calling thread.
    + added xBase++ compatible functions DbRelease() / DbRequest()
      xBase++ users please test. If possible please also check what xBase++
      does with relations and active RLOCKs/FLOCK on released WA.

2008-09-19 22:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/set.c
    ! fixed casting

  * harbour/contrib/xhb/xhbcopyf.c
    * replaced TABs with SPACEs

  * harbour/include/hbapirdd.h
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/wacore.c
  * harbour/source/rdd/wafunc.c
    + added support for detaching and attaching workareas

  * harbour/source/vm/hvm.c
    % minor cleanup in thread return code

  * harbour/include/hbthread.h
  * harbour/source/vm/thread.c
    * unlock HVM stack during thread join operation
    * added workaround for DosWaitThread() which seems to fail if thread
      terminated before
    ; added TOFIX note for OS2 and join code

2008-09-19 12:21 UTC+0100 Miguel Angel Marchuet 
  * contrib/hbbmcdx/bmdbfcdx.c
  * source/rdd/dbfcdx/dbfcdx1.c
    ! fixed return value after rt error.
    * Added rt error as in clipper when OrdkeyVal is greater than 240, with default
      capabilities as in clipper.
      code to test it:
      FUNCTION MAIN()

         LOCAL i
         LOCAL nSec := SECONDS()

         REQUEST DBFCDX
         RddSetDefault( "DBFCDX" )

         DBCREATE( "__MYTEST", { { "test", "C", 241, 0 } } )

         USE __MYTEST
         INDEX ON FIELD->Test TO __MYTEST

         FOR i := 1 TO 10
            APPEND BLANK
            FIELD->test := Replicate( "1", 240 ) + Str( 10 - i, 1 )
         NEXT

         DbGoTop()
         ? &(OrdKey())
         ? "Length of &(OrdKey()) :" + Str( Len( &(OrdKey()) ) )
         ? OrdKeyVal()
         ? "Length of OrdKeyVal() :" + Str( Len(OrdKeyVal()) )
         WHILE ! EOF()
            ? Right( FIELD->Test, 1 )
            DbSkip()
         ENDDO

         USE
         FERASE( "__MYTEST.DBF" )
         FERASE( "__MYTEST.CDX" )

      RETURN NIL

2008-09-19 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbct/fcopy.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbpgsql/pgrdd.prg
  * contrib/hbtpathy/telepath.prg
  * contrib/rddado/adordd.prg
    + Some STATICs converted to THREAD STATIC.

  * contrib/hbtip/ftpcln.prg
    * STATIC var renamed.

2008-09-18 22:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/vm/fm.c
    ! Suppressing warnings for foreign dlalloc.c code for BCC.

2008-09-18 21:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/xhb/Makefile
  * contrib/xhb/common.mak
  + contrib/xhb/xhbcopyf.c
  + contrib/xhb/tests
  + contrib/xhb/tests/testcp.prg
  + contrib/xhb/tests/bld_b32.bat
  + contrib/xhb/tests/bld_vc.bat
    + Added XHB_COPYFILE() function, which is (more or less)
      compatible with xhb's extended __COPYFILE() function.
      Thanks to Toninho for the initial code and hint.

2008-09-18 20:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/thread.c
    * detach local parameters passed by reference to hb_threadStart()
      to avoid possible calling thread HVM stack corruption

2008-09-18 19:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed memory leak - Many thanks to Miguel for report

2008-09-18 17:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_rpm.sh
    * use rpm to test if curl-devel package is installed

  * harbour/include/hbapi.h
  * harbour/source/common/hbstr.c
    + added hb_strduptrim() and hb_strlentrim()

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! control total length of KEY and FOR expression together
      to be compatible with other CDX drivers.
      Total length of both expressions cannot exceed 512 bytes
      (with two trailing ASCII 0 characters)

2008-09-18 15:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbcurl/hbcurl.c
    ! Made it compile with a slightly older (~7.15.x)
      versions of libcurl. Please test.

2008-09-18 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_vc.mak
    * Synced with BCC to build in ST mode by default.

  ; TOFIX: There seems to be an old problem where contrib
           .prg files won't get rebuilt after a modification
           by running make_vc.bat (MSVC only).
           Marek, if you see this, could you take a look at it?

2008-09-18 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbmisc/fileread.prg
    * Changed to use natic CLASS syntax.

2008-09-18 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_rpm.sh
    ! Attempt to detect libcurl.
      [TOMERGE 1.0]

  * contrib/hbziparc/hbziparc.prg
  * contrib/hbwin/win_tole.prg
  * contrib/hbvpdf/hbvpdf.prg
    * Some STATIC vars converted to THREAD STATIC.
    * aReport renamed to s_aReport.
      (is it a good idea to name 'ts_name' THREAD STATIC
      vars?)

  * utils/hbmake/hbmake.prg
    ! Patch by Bill Robertson applied.
      This should eliminate any messing with harbour.cfg.

2008-09-18 11:02 UTC+0100 Miguel Angel Marchuet 
  * contrib/hbbmcdx/bmdbfcdx.c
  * source/rdd/dbfcdx/dbfcdx1.c
    ! fixed generation error when length of key is greater than 256 as Clipper.
      instead of wait for internal error.
    * Used defined errors instead of hardcoded numbers.

2008-09-18 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/cdpapi.c
    * explicit casting to char * in 1-st strchr() parameter as workaround
      for wrong function prototype in DMC header files

2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbthread.h
    * use assembler version of atomic inc/dec operation in all x86 based
      GCC builds - it should noticeable improve OS2 MT build speed,
      please test.

  * harbour/include/hbcomp.h
  * harbour/include/hbapicdp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbgtcore.h
  * harbour/include/hbapifs.h
  * harbour/include/hbwince.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprop.h
  * harbour/include/hbmacro.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapi.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbexprb.c
  * harbour/source/pp/ppcore.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/extrap.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/extend.c
  * harbour/source/vm/set.c
  * harbour/source/main/harbour.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/common/reserved.c
  * harbour/source/common/expropt1.c
  * harbour/source/macro/macro.yyc
  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyh
  * harbour/source/macro/macrolex.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/hbtoken.c
  * harbour/source/rtl/gtchrmap.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtsln/mousesln.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gtsln/kbsln.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/hbhex.c
  * harbour/source/rtl/gtgui/gtgui.c
  * harbour/source/rtl/gt_tpl/gt_tpl.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/strtran.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/hbsix/sxfname.c
  * harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbdbginf.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/hbident.c
  * harbour/source/compiler/hbusage.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/contrib/hbct/charlist.c
  * harbour/contrib/hbct/charmix.c
  * harbour/contrib/hbct/screen1.c
  * harbour/contrib/hbct/atrepl.c
  * harbour/contrib/xhb/hboutdbg.c
  * harbour/contrib/xhb/hbxml.c
  * harbour/contrib/xhb/hbxml.h
  * harbour/contrib/hbgt/strexpan.c
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/hbclipsm/status.c
  * harbour/contrib/hbclipsm/gauge.c
  * harbour/contrib/hbmisc/stringsx.c
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/hbgf/hbgfgtk/msginfo.c
  * harbour/contrib/hbgf/hbgfgtk/harbgtk.h
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/utils/hbmake/hbmgauge.c
    * use const char * instead of char * in places which should be marked
      as const

2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/fm.c
  + harbour/source/vm/dlmalloc.c
    + added alternative memory manager written by Doug Lea
      It can be activated by recompiling Harbour with HB_FM_DL_ALLOC macro.
      Please make test on different platforms with different C compilers.
      Linux users will not benefit from it because the default GLIBC MM
      is derived from a version of code.
      NOTE: the results may strongly depend on total memory allocation
      and will be different then in simple memory tests.

2008-09-17 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/rddado/adordd.prg
    ! Marking one STATIC var as thread STATIC.
    ; BTW, this should be revised for whole contrib .prg code.

2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbthread.h
    + added macros to disable default native compiler TLS support:
      HB_NO_TLS

  * harbour/source/vm/set.c
    ! fixed GPF when set listeners were removed

2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_gcc.sh
  * contrib/make_gcc_all.sh
    ! cyg to w32 architecture conversion got uncommented.

2008-09-17 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/hb-mkslib.sh
  * make_gcc.sh
  * make_gnu.sh
  * make_tgz.sh
  * make_xmingw.sh
  * make_xmingwce.sh
  * contrib/make_gcc_all.sh
  * contrib/mtpl_gcc.sh
    - Removed unnecessary explicit SunOS detection.
    - Removed unnecessary explicit Darwin detection (to be tested).

  * contrib/mtpl_gcc.sh
    - Detecting 'cyg' platform looks unnecessary here and may
      only create problems, so it got removed.

  * contrib/make_gcc_all.sh
    ! Fixed 'cyg' platform in contrib make files.

  * make_tgz.sh
    ! Fixed .tgz generation for SunOS. Thanks Przemek.
      I simply copied the Linux method here, I'm not sure 64-bit
      code would apply here, too.
    ! Fix for SunOS to link against curses instead of ncurses lib.
      Someone pls verify me.
    ; TOFIX: make_tgz.sh in OpenSolaris still has these errors:
             ld: fatal: relocations remain against allocatable but non-writable sections.
             ld: fatal: library -lharbour: not found

2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/hb-mkslib.sh
  * make_xmingwce.sh
  * make_gcc.sh
  * make_xmingw.sh
  * make_gnu.sh
  * make_tgz.sh
    + Added SunOS platform detection as an attempt to make
      make_tgz.sh work on OpenSolaris.
    ; TOFIX: Still, when trying to use make_tgz.sh in OpenSolaris,
             I'm getting these errors:
             ---
             ld: fatal: library -lharbour: not found
             ld: fatal: library -lncurses: not found
             ---
             gtar: wheel: %s: Invalid group

2008-09-17 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * tests/memtst.prg
  * tests/speedtst.prg
    * Made them compile with < 1.1 Harbour versions.

2008-09-17 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_xmingwce.sh
  * harbour/make_xmingw.sh
    + added an option to build utility binaries in cross builds

  * harbour/source/vm/thread.c
    ! fixes in OS2 builds MT builds

2008-09-17 01:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * debian/changelog
    * Synced with 1.0.1.

  * source/pp/ppcore.c
    ! Minor typo in one PP error message. (sync 1.0.1)
    * Cleaned ":" from all PP error/warning messages to be
      friendly with Eclipse.

  * source/compiler/hbgenerr.c
    * Cleaned some more ":" chars from compiler error/warning
      messages to be friendly with Eclipse.
    ; NOTE: Few more still remain. If you have an idea how to rephrase these, pls tell:
            "Bound error: '%s'"
            "Syntax error: '%s'"
            "Syntax error: \"%s at '%s'\""
            "Invalid lvalue: '%s'"
            "Invalid use of '@' (pass by reference): '%s'"
            "3Incompatible type in assignment to declared array element expected: '%s'"
            "4Suspicious type in assignment to declared array element expected: '%s'"

  * utils/hbmake/hbmake.prg
    * Updated by large patch from Bill Robertson.
      Adds several enhancements, fixes and optimizations
      to the previous version.

  * utils/hbdoc/hbdoc.prg
  * utils/hbmake/hbmake.prg
  * utils/hbrun/hbrun.prg
    * Changed the way version number is shown.

  * utils/hbmake/hbmake.prg
    * Updated MT lib lists. (untested)

  * make_b32.mak
    * Minor sync with make_vc.mak.

  * make_vc.mak
    * Attempt to implement hbvmmt.lib just like in
      make_b32.mak to make them synced.

2008-09-16 19:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/utils/hbtest/rt_class.prg
    ! fixed description message

  * harbour/common.mak
  * harbour/utils/hbtest/Makefile
  * harbour/utils/hbtest/hbtest.prg
  + harbour/utils/hbtest/rt_mt.prg
    + added simple MT test for fast checking MT builds
      NOTE: DMC builds crashes with and without direct TLS access
            If possible it has to be fixed. Now MT mode is not supported
            for this compiler.

2008-09-16 15:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbthread.h
    * do not use native TLS support in BCC builds when CodeGuard
      is enabled

2008-09-16 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbthread.h
    + added DMC to list of compilers which can use __declspec( thread )
    + automatically use TLS for Linux and GLIBC >= 2.6 on x86* machines

  * harbour/include/hbthread.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/thread.c
    ! clean up typos in OS2 builds

2008-09-16 13:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/compiler/hbgenerr.c
    * Most ':' chars removed from Harbour compiler error messages.
      Few still remain, where I wasn't sure of the exact meaning
      or final layout of the texts.
      Warnings are also a TODO yet.
      Please review.
    ; NOTE: We do this to be friendly with Eclipse and maybe other
            IDEs, where ':' in messages in handled specially.

2008-09-16 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * contrib/mtpl_b32.mak
    ! Removed CG switches.

2008-09-16 05:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/gmake.txt
  * doc/gtapi.txt
  * doc/hbmake.txt
  * doc/windll.txt
    * Useless changes.

  * make_vc.mak
    * Some untested MT support for MSVC.

  * include/hbdefs.h
    ! Removed mistakenly committed experiment to pull in
      MT related libs. This caused the strange build problem due
      to empty lib name passed to #pragma. This could work
      in case someone wanted to deal with it in the future.

2008-09-15 23:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  + harbour/tests/memtst.prg
    + added some simple tests for memory manager

  * harbour/tests/speedtst.prg
    * reduced the size of allocated block size to not test C-RTL
      memory manager but HVM speed

  * harbour/include/hbthread.h
    * added for x86@32 PTHREADS builds HB_ATOM_GET() and HB_ATOM_SET()
      so they can be used together with HB_ATOM_INC()/HB_ATOM_DEC()
      also for x86@64 but with reduced to 32bit reference counter.

2008-09-15 21:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * contrib/mtpl_b32.mak
    + Added -vG -Od to debug flags (CodeGuard and no optimization
      if HB_BUILD_DEBUG is 'yes').
    ; I couldn't test it, because I'm getting a fatal error
      when trying with my so far working BCC build script.
      Fatal: Unable to open file '.OBJ'

2008-09-15 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * tests/multifnc/Makefile
  * doc/gmake.txt
  * bin/hb-func.sh
  * bin/postinst.sh
  * include/hbdefs.h
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
    ! Changed mingw32 to mingw in remaining places.

2008-09-15 17:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbthread.h
    + added assembler MT version of HB_ATOM_INC/HB_ATOM_DEC operation
      for x86@32

  * harbour/source/vm/fm.c
    ! removed #undef HB_ATOM_INC/HB_ATOM_DEC I left by mistake

2008-09-15 14:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/bld.bat
  * bin/bld_os2.cmd
  * contrib/gtwvg/tests/bld_b32.bat
  * contrib/hbgd/tests/bld_b32.bat
    ! Changed CFLAGS to C_USR.

2008-09-15 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/tests/speedtst.prg
    * small update in speedtst.prg. It should be enough to make test and
      compare MT and ST mode speed.
      Please make test with different C compiler and send results to
      devel list.

2008-09-15 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * tests/bld_b32.bat
  * tests/bld_vc.bat
    + Added bld files for tests.

  * tests/bld_b32_dll.bat
    ! .dll name updated.

2008-09-15 04:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/pack_src.sh
    * added file list to archive so it's possible to recreate it later without SVN data

  * harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
    + added HBVMMT library for default builds
      BCC version not tested - please test.

  * harbour/source/vm/hvm.c
    * moved language and code page setting before class and error initialization

  * harbour/source/rtl/fserror.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! fixed overloading FS error codes by other operations, f.e. accessing
      TLS data by OS API function call

2008-09-15 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/common/hbverdsp.c
    * Undone prev change.

2008-09-14 22:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * utils/hbmake/hbmake.prg
    ! Fixed two typos in last commit. Thanks to Bill Robertson.

2008-09-14 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/common/hbverdsp.c
    + Showing MT status on //BUILD screen.

  * contrib/hbvpdf/hbvpdf.prg
    ! Fix to previous modification (fixing bookmarks).

2008-09-14 22:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbsetup.h
    * accept both settings: HB_FM_STATISTICS and HB_FM_STATISTICS_OFF
      without errors

  * harbour/bin/postinst.sh
    * added small trick to make HBFM lib compilation not  dependent on
      default HB_FM_STATISTIC settings

  * harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
    + added C function hb_vmIsMt()

  * harbour/source/vm/cmdarg.c
    * report MT HVM status when program is executed with //INFO
      parameter

  * harbour/source/vm/fm.c
    ! fixed memory statistic MT protection in hb_xrealloc() operation

  * harbour/config/w32/owatcom.cf
    * use echo instead of echo. for non empty output.

  * harbour/include/hbextern.ch
  * harbour/source/vm/thread.c
    + added .prg function hb_threadTerminateAll() - it sends QUIT request
      to each HVM thread and waits for their termination. Can be executed
      only by main HVM thread.

2008-09-14 16:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
  * contrib/hbvpdf/hbvpdf.prg
  * contrib/hbvpdf/hbvpdf.ch
  * contrib/hbvpdf/test/pdf_demo.prg
    ! Mostly a cleanup of the code, added some functions to avoid the use
      of publics vars.

2008-09-14 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/common.ch
    % IS*() macros now using hb_Is*() functions instead of
      ValType() calls.

2008-09-14 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
    + Now setting 'HB_BUILD_ST = no' will generate an MT build.
      TODO: Change the default to 'yes' should be the way to go
            IMO.

  * bin/bld.bat
    + Added cw32mt.lib for BCC32 to make it work for MT Harbour.
    ; I hope this won't break ST Harbour builds, a quick tests
      proved not.

2008-09-14 19:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * make_vc.mak
  * make_gcc.mak
    * A change with the goal to further clean duplicate build
      controlling options and make the configuration of GNU
      and non-GNU build systems closer. INCOMPATIBLE.
      Builders should make the following changes in their
      configurations and build scripts:
      - CFLAGS -> C_USR
      - CLIBFLAGS -> C_USR
      - LDFLAGS -> L_USR
      - HARBOURFLAGS -> PRG_USR
    * BCCDLL_WITH_DYNRT -> HB_BCCDLL_DYNRT
      Shouldn't this be the default, if it's marked as 'recommended'?
    ; Basic rules for builders is now pretty simple:
      C_USR for .c options, L_USR for link options,
      PRG_USR for .prg options.
    ; L_USR doesn't work the same way as in GNU-make, yet.
    ; Also expect, that in the future - even before 1.1 release -
      these switches might be also standardized to be
      HB_USR_C, HB_USR_PRG, HB_USR_L, HB_USR_A.

2008-09-14 17:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  + contrib/hbnf/tests/nftest.prg
    + Adapted hbnf test program from xhb.

  * contrib/hbnf/common.mak
    ! File list synced with the GNU-make one.

  * source/common/hbver.c
    * "Intl." removed from the version number. Besides mimicing
      CA-Cl*pper there is not point in including this, since
      all Harbour compilers are by default international version.

2008-09-14 16:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/hb-func.sh
  * source/vm/hvm.c
  * source/rtl/hbgtcore.c
  * source/rtl/gtchrmap.c
    ! Global vars given std names:
      s_pszLinkedMain        -> hb_vm_pszLinkedMain
      s_defaultGT            -> hb_gt_szNameDefault
      s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
    ; INCOMPATIBLE.

2008-09-14 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * include/hbsetup.ch
    * Turned off HB_LEGACY_LEVEL by default.
    ; INCOMPATIBLE.

  * doc/whatsnew.txt
    * Synced with 1.0.1.

  * make_vc.mak
  * contrib/mtpl_vc.mak
    * MSVS warning level changed to -W4 (with one warning
      type manually excluded).
    ; NOTE/TOFIX: This will still generate quite some warnings,
                  hopefully we can fix these until the next major
                  release.

2008-09-14 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * make_b32.mak
  * make_vc.mak
  * contrib/mtpl_b32.mak
  * contrib/mtpl_vc.mak
    + Attempt to add support for L_USR and A_USR
      in non-GNU make. A_USR is probably wrong, L_USR
      might also be. Please test.

2008-09-14 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * harbour-ce-spec
  * make_xmingwce.sh
  * harbour-w32-spec
  * bin/bld.bat
  * make_xmingw.sh
  * make_gnu.bat
  * make_gnu.sh
  * make_tgz.sh
    * mingw32 -> mingw changes.
    ! hbw32 -> hbwin fixes.

  + config/w32/bcc32.cf
  - config/w32/bcc.cf
    * Renamed back, because it's difficult to know in advance
      how they will solve this, and there would be too many places
      to update.

2008-09-14 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  - config/w32/bcc32.cf
  + config/w32/bcc.cf
  - config/w32/mingw32.cf
  + config/w32/mingw.cf
    * Cleaning some '32's from HB_COMPILER names.
      BCC and MinGW 64-bit are coming.
    ; Please update your build files. INCOMPATIBLE.

2008-09-14 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * harbour-ce-spec
  * harbour-w32-spec
  * harbour.spec
  * common.mak
  * include/hbver.h
    * Changed version number to 1.1.0

  * include/hbextern.ch
    + Added new thread functions.

  * harbour-ce-spec
  * harbour-w32-spec
  * contrib/Makefile
  * contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  - contrib/hbw32
  + contrib/hbwin
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/common.mak
  - contrib/hbwin/hbw32.ch
  + contrib/hbwin/hbwin.ch
  - contrib/hbwin/tests/testw32p.prg
  + contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/bld_b32.bat
  * contrib/hbwin/tests/testprt1.prg
  * contrib/hbwin/tests/bld_vc.bat
  * contrib/hbwin/tests/testprt2.prg
  * contrib/hbwin/Makefile
    * Renamed hbw32 to hbwin.
    * Renamed hbw32.ch to hbwin.ch.
    ; INCOMPATIBLE.

2008-09-14 11:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/ssf.h
    ! Fixed to compile with Cygwin.

  * contrib/hbwhat/whtsock.c
    ! Fixed for PellesC 4.5 where the inclusion order of
      Windows headers needs to be the opposite of what 5.0 needs.

  * contrib/hbwhat/whtilst.c
    ! Fixed to compile with Cygwin.

  * contrib/hbwhat/whtinet.c
    ! Added missing Windows macro for Cygwin.
    ! Fixed three warnings with Cygwin.

  * contrib/hbwhat/whtseria.c
  * contrib/hbwhat/whtreg.c
  * contrib/hbwhat/whtini.c
    ! Removed #include "tchar.h", because it's unnecessary,
      and breaks Cygwin.

  * contrib/hbwhat/whtsys.c
    ! Removed #include "htmlhelp.h", because it's unnecessary,
      and breaks Cygwin.

2008-09-13 19:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/ssf.h
    ! Turned off ASM for MSVC AMD64 mode.

  * contrib/gtalleg/Makefile
    ! Disabled for OpenWatcom. (maybe compilation could be
      fixed somehow, if someone is interested pls look into it.)

  * doc/whatsnew.txt
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
    ! Fixed for OpenWatcom.

  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! Silenced some MinGW/PelleC cast warnings.

  * contrib/hbw32/win_prt.c
    ! Fixed GCC (MinGW/Cygwin) warnings. The solution I choose is
      pretty ugly, if someone knows the right one, please help.
      Warning was:
      ../../win_prt.c:70: warning: missing initializer
      ../../win_prt.c:70: warning: (near initialization for `s_PortData[0].OldDCB')
    ! Fixed few remaining warnings / minor bugs.

  * contrib/hbwhat/whtlv.c
  * contrib/hbwhat/whtcomm.c
  * contrib/hbwhat/whttab.c
  * contrib/hbwhat/whttree.c
    ! Silenced MinGW 4.12 warnings.

  * contrib/hbwhat/whtdate.c
    ! Removed #include "tchar.h", which seems unnecessary and
      fixed Cygwin compilation.

  * contrib/hbwhat/whtsock.c
    ! Changed #include order of Windows headers to satisfy PellesC 5.

  ; TOFIX1: hbct / SETFDATI() has a possible bug here (shown in PelleC 64 bit):
    ../../files.c(264): warning #2006: [ISO] Conversion from 'void *' to 'int' is compiler dependent.
    ../../files.c(264): warning #2052: Conversion from 'void *' to 'int' is undefined.
    Problem is with HFILE / HANDLE conversion.

  ; TOFIX2: Here are some remaining 64-bit problems:
    ../../hb_btree.c(643): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent.
    ../../hb_btree.c(643): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined.
    ../../hb_btree.c(739): warning #2006: [ISO] Conversion from 'ioBuffer_T *' to 'unsigned long int' is compiler dependent.
    ../../hb_btree.c(739): warning #2052: Conversion from 'ioBuffer_T *' to 'unsigned long int' is undefined.
    ../../win_dll.c(511): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent.
    ../../win_dll.c(511): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined.
    ../../win_ole.c(761): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent.
    ../../win_ole.c(761): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined.
    ../../win_ole.c(1091): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent.
    ../../win_ole.c(1091): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined.
    ../../win_ole.c(1425): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent.
    ../../win_ole.c(1425): warning #2052: Conversion from 'void *' to 'long int' is undefined.
    ../../win_ole.c(1478): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent.
    ../../win_ole.c(1478): warning #2052: Conversion from 'void *' to 'long int' is undefined.
    ../../win_regc.c(94): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent.
    ../../win_regc.c(94): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined.
    ../../win_regc.c(116): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent.
    ../../win_regc.c(116): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined.

2008-09-13 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/dirstruc.txt
    * Updated.

  - contrib/hbgf/hbgfw32
  + contrib/hbgf/hbgfwin
  * contrib/hbgf/tests/bld_b32.bat
  * contrib/hbgf/tests/bld_vc.bat
  * contrib/hbgf/Makefile
  * contrib/hbgf/hbgfwin/common.mak
  * contrib/hbgf/hbgfwin/button.prg
  * contrib/hbgf/hbgfwin/winctrl.prg
  * contrib/hbgf/hbgfwin/form.prg
  * contrib/hbgf/hbgfwin/menuitem.prg
  * contrib/hbgf/hbgfwin/menu.prg
  * contrib/hbgf/hbgfwin/edit.prg
  * contrib/hbgf/hbgfwin/Makefile
  - contrib/hbgf/hbgfwin/win32.c
  + contrib/hbgf/hbgfwin/winapi.c
  - contrib/hbgf/hbgfwin/hbgfw32.ch
  + contrib/hbgf/hbgfwin/hbgfwin.ch
    * Removed some '32's.

2008-09-13 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    * Updated.

2008-09-13 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbw32/Makefile
  * contrib/hbw32/common.mak
  * contrib/hbw32/hbw32.ch
  + contrib/hbw32/hbwin.h
  + contrib/hbw32/win_prt.c
  + contrib/hbw32/win_tprt.prg
  + contrib/hbw32/tests/testprt1.prg
  + contrib/hbw32/tests/testprt2.prg
    + Added Windows COM port handling functions.
      Contributed by Alex Strickland.
    ; I did some changes to clean warnings, few 64-bit issues,
      changed to use safe string functions, integrated
      the header into hbw32.ch, added a new general C level
      header, split BEGINDUMP into separate .c function,
      changed to ANSI C comments, marked statics with s_,
      fixed a few trashed string buffers and leaks in some
      error cases. Separated tests into distinct .prgs.
      Fixed for UNICODE mode. Minor optimizations, formatting.
    ; TODO: Test WinCE build.
    ; Please test, I don't have any COM ports on my system.

2008-09-13 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgutils.c
    ! Fixed 64-bit problems.
    ; Pritpal, could you please review and test these changes?

2008-09-13 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbvpdf/hbvpdf.prg
    ! Generic support functions made STATIC to avoid collision
      with similarly named functions in other libs (like hbct).

  * contrib/hbvpdf/hbvpdf.prg
  * contrib/hbvpdf/hbvpdft.prg
    * Using hb_run() instead of RUN and __run().

2008-09-12 19:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/Makefile
    * Excluded Cygwin.

  * contrib/hbwhat/Makefile
  * contrib/hbwhat/common.mak
  - contrib/hbwhat/whtdll.c
  - contrib/hbwhat/whtcall.c
    - Removed DLL related stuff from hbwhat, since we're
      maintaining (a better working) one already in hbw32,
      and hbwhat by itself doesn't seem to need this
      functionality internally. Users should migrate to
      the hbw32 functions, which work mostly similarly.

2008-09-12 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    * Added some build notes.

  * contrib/gtalleg/Makefile
    ! Fixed POCC, XCC compiler exlusions.
    * Excluded DMC compiler.

  * contrib/hbwhat/Makefile
    * Excluded DMC compiler.

  * contrib/hbwhat/wincorec.c
    ! Workaround for a wrong Windows API declaration in
      __DMC__ headers.

2008-09-12 11:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbole/tests/bld_vc.bat
  * contrib/hbw32/tests/bld_vc.bat
    ! Added missing system libs.

2008-09-12 04:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgutils.c
    ! Fix to previous fix, so it works again in 64-bit builds.
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ; =>
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( HB_PTRDIFF ) p - ( HB_PTRDIFF ) pdlgtemplate ) ) ;
    ; This way it's now in sync with similar function in hbwhat.

2008-09-12 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rdd/usrrdd/rdds/Makefile
  + source/rdd/usrrdd/rdds/arrayrdd.prg
  + source/rdd/usrrdd/rdds/vfpcdx.prg
    + Added two usrrdd based RDDs. Borrowed from xhb.
      Works of: Francesco Saverio Giudice and
                Miguel Angel Marchuet Frutos
    ; These were adapted to compile and link in Harbour, but
      I did no tests, so some more - hopefully minor - changes
      may happen to be needed.

2008-09-12 00:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/rddado/adordd.prg
  * contrib/rddado/adordd.ch
    * Merged changes from xhb.
      Some hbusrrdd.ch values seem to be missing from Harbour,
      related features will be automatically enabled if we
      implement them in our usrrdd.
      Please test.

2008-09-11 22:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
  * source/vm/cmdarg.c
    * Legacy undocumented symbols hb_hInstance and
      hb_hPrevInstance reenabled for 1.0.1, when HB_LEGACY_LEVEL
      is #defined. This is the default in 1.0.x. It will be
      turned off in 1.1.0.
      I did this to not break binary compatibility of 1.0.1
      with 1.0.0 for those apps that rely on these symbols
      (like gtwvg).

2008-09-11 21:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/tests/bld_vc.bat
    ! Added required list of system libs.

2008-09-11 14:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rtl/gtpca/gtpca.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/gttone.c
    ! Fixed some core MSVC -W4 warnings.

  * contrib/hbnf/getenvrn.c
    ! Fixed compile problem in MSVC C++ mode surfaced after
      recent UNICODE fix.

2008-09-11 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgutils.c
    ! Fixed last MSVC -W4 warnings.
    ; NOTE: Only these contribs have remaining -W4 warnings:
            hbbmcdx, hbbtree, hbct (in screen*.c).
            Plus core.

2008-09-11 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbnf/fttext.c
  * contrib/hbwhat/whtdate.c
  * contrib/hbwhat/wincorec.c
  * contrib/hbwhat/whtsock.c
  * contrib/hbwhat/whtseria.c
  * contrib/hbwhat/whtdlg.c
  * contrib/hbwhat/whtsys.c
  * contrib/hbwhat/whtmisc.c
  * contrib/hbwhat/whtcdlg.c
    ! Fixed all MinGW 4.3x warnings.
    ! Added workaround for slightly wrong MinGW definition for
      Windows DateTime_GetMonthCal() macro.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! Fixed all MSVC -W4 warnings.

  * contrib/gtwvg/gtwvg.h
    ! Fixed old bug, which surfaced after recently
      fixing __MINGW__ to __MINGW32__.
      Apparently, comctl32.h is never needed here.

  * config/rules.cf
  * contrib/hbbtree/tests/bld_djgp.bat
    % Removed -gc0. Now default.

  * contrib/make_b32_all.bat
  * contrib/make_vc_all.bat
    * Minor formatting.

  * contrib/hbgt/asciisgt.c
  * utils/hbdoc/hbdoc.prg
    - Removed unnecessary version strings. This was good
      in CVS times, but for SVN there is not much point.

  * utils/hbmake/hbmake.prg
    + Another patch session from Bill Robertson.
      Besides some further cleanups, this should fix
      some problems with the previous version.

  * source/lang/msghuiso.c
  * source/lang/msgskiso.c
  * source/lang/msgrukoi.c
  * source/lang/msghuwin.c
  * source/lang/msgzhgb.c
  * source/lang/msgskwin.c
  * source/lang/msg_tpl.c
  * source/lang/msgruwin.c
  * source/lang/msgelwin.c
  * source/lang/msgro.c
  * source/lang/msgpt.c
  * source/lang/msghriso.c
  * source/lang/msghrwin.c
  * source/lang/msgsliso.c
  * source/lang/msgbe866.c
  * source/lang/msgslwin.c
  * source/lang/msghe862.c
  * source/lang/msgcskam.c
  * source/lang/msggl.c
  * source/lang/msgtrwin.c
  * source/lang/msgeo.c
  * source/lang/msgbgiso.c
  * source/lang/msgbgwin.c
  * source/lang/msgskkam.c
  * source/lang/msges.c
  * source/lang/msguakoi.c
  * source/lang/msgzhb5.c
  * source/lang/msgeu.c
  * source/lang/msgpl852.c
  * source/lang/msgsr852.c
  * source/lang/msguawin.c
  * source/lang/msgde.c
  * source/lang/msgtr857.c
  * source/lang/msgru866.c
  * source/lang/msgcs852.c
  * source/lang/msgfr.c
  * source/lang/msgis850.c
  * source/lang/msgnl.c
  * source/lang/msghu852.c
  * source/lang/msgsk852.c
  * source/lang/msgca.c
  * source/lang/msgplmaz.c
  * source/lang/msgpliso.c
  * source/lang/msgplwin.c
  * source/lang/msgbgmik.c
  * source/lang/msgid.c
  * source/lang/msgbg866.c
  * source/lang/msgltwin.c
  * source/lang/msgsriso.c
  * source/lang/msgel.c
  * source/lang/msgsrwin.c
  * source/lang/msgbewin.c
  * source/lang/msgdewin.c
  * source/lang/msghr437.c
  * source/lang/msghr852.c
  * source/lang/msgko.c
  * source/lang/msgua866.c
  * source/lang/msghewin.c
  * source/lang/msgit.c
  * source/lang/msgsl437.c
  * source/lang/msgsl852.c
  * source/lang/msghucwi.c
  * source/lang/msgcsiso.c
  * source/lang/msgcswin.c
  * source/lang/msgeswin.c
  * source/rtl/langapi.c
    - Cleared unnecessary version strings. This was good
      in CVS times, but for SVN there is not much point.

2008-09-14 03:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
    + added harbour MT libraries: libfmmt and libhbvmmt

  * harbour/include/hbstack.h
    ! respect HB_USE_TLS defined in hbthread.h

  * harbour/bin/hb-func.sh
    * always create harbourmt shared library in non DOS builds

  * harbour/bin/postinst.sh
    * always create libfmmt in non DOS builds

  * harbour/source/vm/Makefile
    * always create libhbvmmt in non DOS builds

2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbpp.h
  * harbour/include/hbvm.h
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbtrace.h
  * harbour/include/hbapilng.h
  * harbour/include/hbinit.h
  * harbour/source/rtl/langapi.c
  * harbour/source/pp/ppcore.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/common/hbver.c
  * harbour/source/common/hbtrace.c
  * harbour/source/common/expropt2.c
  * harbour/source/compiler/complex.c
  * harbour/source/compiler/hbident.c
  * harbour/source/compiler/hbfunchk.c
    * changed some declarations from 'char *' to 'const char *' and
      fixed casting for some more pedantic compilers

  * harbour/source/pp/ppcore.c
    ! fixed one typo which could cause memory leak and even GPF

  * harbour/common.mak
  * harbour/source/vm/Makefile
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/set.c
  + harbour/source/vm/set.c
  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    * moved from RTL to HVM
    * eliminated hb_set global structure
    * moved set structure to HVM stack
    + added internal function hb_setClone() which is used to create
      copy of SET structure for child threads
    * hidden HB_SET_STRUCT declaration - 3-rd part code must not access it
      directly. Dedicated hb_set*() functions should be used instead.
    + added new function:
         BOOL hb_setSetItem( HB_set_enum set_specifier, PHB_ITEM pItem )
      which allow to change some set by 3-rd party code.
      TODO: not all SETs can be changed yet - if someone have a while
            then please add code for missing ones.

  * harbour/include/set.ch
  * harbour/include/hbset.h
    + added _SET_CODEPAGE which works like _SET_LANGUAGE giving common
      interface

  * harbour/include/hbsetup.h
    + added HB_CODEPAGE_DEFAULT which works like HB_LANG_DEFAULT

  * harbour/source/vm/hvm.c
    ! fixed builds which uses non EN lang or code page modules
      by forcing linking the chosen ones

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/include/hbapicdp.h
  * harbour/source/rtl/cdpapi.c
    - removed global code page variable: hb_cdp_page and moved
      code page settings to HVM stack
    + added new function hb_cdpID() which returns current code page
      character ID
    + added new functions hb_vmCDP() and hb_vmSetCDP() to get/set
      active for given thread code page structure

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/include/hbapilng.h
  * harbour/source/rtl/langapi.c
    + moved lang setting to HVM stack
    + added new functions hb_vmLang() and hb_vmSetLang() to get/set
      active for given thread language module

  * harbour/include/hbvmpub.h
  * harbour/include/hbstack.h
  * harbour/include/hbapi.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/dynsym.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/memvars.c
    * changed memvar handles for HB_HANDLE to void * which is directly
      casted to PHB_ITEM - new memvar references
    * changed HB_DYNS declarations for MT mode. In MT mode HB_DYNS does
      not contain area and memvar handles which are moved to thread
      local HVM stack
    + added array for thread local memvar and area handles to HVM stack
    % eliminated global continues array with all memvars and detached locals
    % changed HB_IT_MEMVAR to use pointers to HB_ITEM directly - it resolve
      synchronization problems in MT mode and should also improve the speed
      and reduce memory usage. It should be well visible in applications which
      uses lot of detached locals.
    - removed hb_memvarsInit() and hb_memvarsFree() - they are not necessary
      now because we do not longer use array with all allocated memvars
      and detached local and private stack initialization is made
      automatically
    + added internal functions hb_dynsymGetMemvar()/hb_dynsymSetMemvar()
    + added hb_memvarGetValueBySym() for debugger
    * moved PRIVATE variable stack to HVM stack
    * eliminated all static variables in memvars module

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/source/rtl/fserror.c
    * moved IO errors to HVM stack
    + added special IO error handling which works without HVM stack
      It allows to use hb_fs*() functions without allocated stack
      by 3-rd party threads.

  * harbour/source/rtl/filesys.c
    * moved hb_fsCurDir() to HVM stack with special handling to work
      with HVM stack like IO errors

  * harbour/source/rdd/workarea.c
    * allocated RDD node array in bigger peaces to reduce later RT
      reallocations in MT mode. If user want to add dynamically more
      then 64 RDDs then it should synchronize this operation himself.

  * harbour/source/rdd/wacore.c
    * moved WA list, current WA, default RDD and neteer() flag to HVM stack

  * harbour/include/hbdefs.h
    - removed HB_HANDLE declaration

  * harbour/include/hbapi.h
    - removed HB_VALUE structure - it's not longer used due to different
      memvar handling
    * updated hb_struMemvar to new memvar handling
    * replaced hb_vmIsLocalRef() and hb_memvarsIsMemvarRef() with
      hb_vmIsStackRef() which respect multiple stack and new memvar
      and static structures and location in GC mark pass.

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/hvm.c
    + added support for thread specific data located on HVM stack
      Now it's possible to allocate static variables which are
      local to thread. Such variables are allocated on HVM stack
      and automatically destroyed. To declare new TSD variable use:
         HB_TSD_NEW( , , ,  )
       - name of variable which holds TSD handler
       - size of TSD are which has to be allocated
       - init function, executed when new TSD is allocated by thread
               (thread access given TSD 1-st time). This function receives
               void * pointer to allocated area.
       - destructor function executed when HVM stack is destroyed
      f.e.:
         static HB_TSD_NEW( s_scrData, sizeof( HB_SCRDATA ),
                            NULL, hb_xSaveRestRelease );
      To initialize dynamically allocated TSD variable use:
         HB_TSD_INIT( , , ,  )
      Pointer to TSD can be accessed using hb_stackGetTSD( & )
      where  is name of variable which holds TSD handler, f.e.:
         PHB_SCRDATA pScrData = ( PHB_SCRDATA ) hb_stackGetTSD( &s_scrData );
      See source/rtl/xsavescr.c as an example
      It's also possible to test if data has been already allocated for
      current thread by:
         hb_stackTestTSD( & ) => pData
      it works like hb_stackGetTSD() but return NULL if current thread data
      has not been allocated yet.

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    * changed hb_stack location to thread local storage in MT mode
    + added functions and macros to access/assign new HVM stack members
    + changed garbage collection mark functions to work with multiple
      stacks, thread local static and memvar variables

  * harbour/source/rtl/xsavescr.c
    * use TSD data for screen buffer to make __XSAVESCREEN()/__XRESTSCREEN()
      thread independent

  * harbour/source/rtl/idle.c
    * use TSD data for idle task settings and codeblocks
    - removed hb_idleShutDown() - it's not longer necessary

  * harbour/source/rtl/setkey.c
    * use TSD data for allocated keys to make SETKEY() thread independent

  * harbour/source/rtl/math.c
    * moved math error handler, math error block, math error mode and
      math error structure to TSD

  * harbour/source/rtl/errorapi.c
    * moved error handler, error block, error launch counter and DOS error
      value to TSD

  * harbour/source/rtl/inkey.c
    * moved inkey "before" and "after" blocks to TSD

  * harbour/source/rdd/hsx/hsx.c
    * moved HSX handles array to TSD

  * harbour/include/hbapigt.h
  * harbour/source/rtl/console.c
    - removed hb_setkeyInit() and hb_setkeyExit() - they are not longer
      necessary, allocated resources will be freed by TSD destructor
      function

  * harbour/include/hbapi.h
  * harbour/source/rtl/console.c
    * removed hb_conXSaveRestRelease() - it's not longer necessary,
      allocated resources will be freed by TSD destructor function

  * harbour/source/vm/macro.c
    * moved s_macroFlags to TSD

  * harbour/source/rtl/accept.c
    * moved accept buffer to TSD

  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbxvm.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/hbfix.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/hbdead.c
  * harbour/source/compiler/complex.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/hbopt.c
  * harbour/source/compiler/hblbl.c
  * harbour/source/compiler/hbstripl.c
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.yyh
  * harbour/source/vm/hvm.c
    + added new PCODE HB_P_THREADSTATICS
    + added support for static variables which are local to thread:
         THREAD STATIC ], ...>
      They work like normal static variables but each thread operates
      on its own copy.
    * added protection against possible double call to hb_xfree()
      It can happen due to wrong marking expressions as used by bison
      and executing destructors after our free code when syntax error
      appear.

  * harbour/source/rtl/perfuncs.prg
  * harbour/source/rtl/menuto.prg
  * harbour/source/rtl/getlist.prg
  * harbour/source/rtl/readvar.prg
  * harbour/source/rtl/text.prg
    * use THREAD STATIC variables to make above code MT safe

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
    + added hb_gt_BaseFree() which will release current GT pointer
      locked by hb_gt_Base() function. This function will be used
      to optional automatic GT access synchronization when threads
      share the same GT.

  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/inkeyapi.c
  * harbour/source/rtl/mouseapi.c
  * harbour/contrib/hbct/ctwin.c
    * free GT pointer by hb_gt_BaseFree()
      TODO: CTWIN is not MT safe yet - it will be updated together
            with core GT when we add multi window interface for
            thread with own console window.

  * harbour/bin/hb-func.sh
  * harbour/config/linux/gcc.cf
    + added rt lib to Linux builds

  * harbour/bin/postinst.sh
    * create MT safe version of FM stat library: fmmt

  * harbour/bin/pack_src.sh
    + added support for ZIP packing

  * harbour/include/hbapi.h
  * harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
    + added hb_vmThreadInit()/hb_vmThreadQuit() functions - they initialize
      HVM for calling thread so it can execute .prg code and call HVM
      functions. They can be used by 3-rd party code threads.
    + added hb_vmUnlock()/hb_vmLock() functions which informs that
      thread will not operate on HVM structures for some time allowing
      to execute single thread only processes like GC.
    + added hb_vmThreadQuitRequest() which sends stop request to given
       thread
    + added hb_vmWaitForThreads() which stops main thread execution waiting
      for other threads
    + added hb_vmSuspendThreads() and hb_vmResumeThreads() used be GC
      to stop all HVM threads before mark/swap scan
    + added linked list of HVM stacks
    + added hb_vmTerminateThreads() used by main HVM thread in QUIT state
    * moved EXIT procedures execution from QUIT request to HVM QUIT state
      in MT mode. It may effects some non structural code which tries to
      access private variables in EXIT functions but it's much cleaner
      and understandable for user. Please remember that we guaranties
      that ALWAYS code in BEGIN SEQUENCE is _always_ executed even after
      HVM QUIT request just like destructs. Personally I think that we
      should move EXIT procedures execution also in ST mode.
    * changed startup and cleanup code for new internal structures
    * changes startup and cleanup code for MT mode
    % removed some redundant HB_ITEM type settings
    ! eliminated non MT safe code which was using reference counters
      without protection

  * harbour/common.mak
  * harbour/source/vm/Makefile
  + harbour/include/hbthread.h
  + harbour/source/vm/thread.c
    + added C level functions to manage threads and synchronization objects
      See hbthread.h for detail description. They are based on PTHREAD API
      and PTHREAD documentation can be used as reference. I intentionally
      keep this list small for easier multiplatform porting.
      Now they have been implemented for PTHREADS (POSIX threads supported by
      many different OSes), MS-Win32/64 and OS2. The OS2 version is not tested
      at all. I do not even know if it can be compiled so please make tests.
      I used Internet resources and some part of xHarbour code as documentation
      for OS2 MT API. It should be quite easy to add other platforms if necessary.
      Harbour core code needs non recursive mutexes, conditional variables and
      TLS for one pointer. If platforms does not support conditional variables
      (f.e. MS-Win or OS2) then they can be emulated using multistate semaphores.
    + added .prg functions to manage threads and synchronization objects:
         hb_threadStart( <@sStart()> |  [,  ] ) -> 
         hb_threadJoin(  [, @ ] ) -> 
         hb_threadDetach(  ) -> 
         hb_threadQuitRequest(  ) -> 
         hb_threadWaitForAll() -> NIL
         hb_mutexCreate() -> 
         hb_mutexLock(  [,  ] ) -> 
         hb_mutexUnlock(  ) -> 
         hb_mutexNotify(  [, ] ) -> NIL
         hb_mutexNotifyAll(  [, ] ) -> NIL
         hb_mutexSubscribe( , [  ] [, @ ] ) -> 
         hb_mutexSubscribeNow( , [  ] [, @ ] ) -> 
      The function list should give similar to xHarbour API but they are not exactly
      the same and except of hb_mutex*() functions which should replicate xHarbour behavior.

  + harbour/source/vm/vmmt
  + harbour/source/vm/vmmt/Makefile
    + added hbvmmt library to GNU make builds.
      Non GNU make builds should be updated.

  * harbour/contrib/hbct/pos1.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbmisc/spd.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/examples/rdddbt/dbfdbt1.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/console.c
  * harbour/source/rtl/strcase.c
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/defpath.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/dateshb.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/is.c
  * harbour/source/rtl/setcolor.c
  * harbour/source/rtl/errorint.c
  * harbour/source/rtl/transfrm.c
  * harbour/source/rtl/dates.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gtsln/gtsln.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/hbdbsort.c
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/hbsix/sxfname.c
    * use API functions instead of direct accessing to hb_cdp_page or hb_set

  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    * encapsulate potentially slow IO operation inside
      hb_vmUnlock()/hb_vmLock() calls to allow other thread GC
      activation

  * harbour/contrib/hbnf/fttext.c
    ! fixed casting

  * harbour/contrib/gtwvg/gtwvg.h
    - removed #include  - my MinGW and MinGW/CE instalations do
      not have them. If it exists in some newer ones then it has to be
      covered by #if version checking.

  * harbour/source/vm/dynsym.c
    - removed hb_dynsymLog() and hb_dynsymMemvarHandle()
    * modified code to be MT safe and improved speed of some operations
    * added MUEXT protection for global dynamic table access

  * harbour/include/hbapi.h
  * harbour/source/vm/garbage.c
    * changed to work with MT HVM
    * changed to work with new memvar structures and thread local static and
      memvar variables
    * added MUEXT protection for linked block lists
    + added parameter to hb_gcCollectAll() which will force GC activation
      in MT mode by temporary suspending all executed threads.
    + added logical parameter to HB_GCALL() functions which is passed to
      hb_gcCollectAll()

  * harbour/source/vm/fm.c
    * added MUEXT protection for FM statistic module
    * added MT protection for reference counters. For platforms
      which supports atomic incrmenetation/decrementation (f.e.
      Interlocked*() functions in MS-Win) such operations are
      used. For other it's MUTEX protection. It gives MT safe
      readonly access for HVM complex variables without user
      synchronization. The MUTEX protection can cause some speed
      overhead so it's good to define MT safe version of
      HB_ATOM_INC()/HB_ATOM_DEC() in hbthread.h if given platform
      has them. Now they are defined only for Windows. For other
      platforms We can define can define them in assembler for some
      most popular CPUs in the future.

  * harbour/source/vm/classes.c
    * changed class definition array. Now it keeps pointers to class
      structures.
    * In MT mode allocated at HVM startup big enough array for class
      definitions to avoid later RT reallocations. It effectively eliminates
      MUTEX synchronization for class structure access.
    * protect by MUTEX code for new class creation

  * harbour/source/debug/dbgentry.c
    * eliminated hbvmopt.h and direct accessing to HVM structures

  * harbour/source/rtl/gtclip.c
    * protect with MUTEX access to internal clipboard data

  * harbour/source/rdd/nulsys/nulsys.c
    + added hb_rddCloseAll()

  + harbour/tests/mt
  + harbour/tests/mt/mttest01.prg
  + harbour/tests/mt/mttest02.prg
  + harbour/tests/mt/mttest03.prg
  + harbour/tests/mt/mttest04.prg
  + harbour/tests/mt/mttest05.prg
  + harbour/tests/mt/mttest06.prg
  + harbour/tests/mt/mttest07.prg
    + added some demonstration/test small MT programs written
      using Harbour language. Some of them can be also compiled
      by xHarbour but xHarbour does not pass any of my tests in
      real multi-CPU machine so do not expect they will work
      correctly.

   Harbour threads needs OS threads support. Each Harbour thread is directly
   mapped to OS thread. It's not very efficient on some older system where
   cost of thread creation and/or task switching is very expensive but it
   should not be bigger problem for modern OS-es which can support threads
   in practice nearly in user space only.
   I haven't touched Harbour function calling convention which comes from
   Clipper. It means that we do not pass pointer to VM to each functions
   like CLIP or xBase++. To resolve the problem I have to use thread local
   storage (TLS) where such pointer is kept. If platform does not support
   TLS then it can be emulated by us. Anyhow the speed of accessing TLS
   data and extracting HB_STACK poitner is critical for performance.
   Some compilers depending on used hardware and OS give native support
   for TLS (f.e. __thread keyword in GCC/BCC or __declspec( thread ) in MSVC).
   This should give optimal performance. On other Harbour uses TLS functions
   like TlsGetValue() (MS-WIN) or pthread_getspecific() (PTHREAD) are used.
   OS2 gives quite interesting TLS functionality which seems to be quite fast
   though it will be interesting to know how it is iplemented internally for
   real multi CPU machines (if it depends on CPU exception then the
   performance will be bad). We need TLS only for one pointer to HB_STACK
   structure.
   I haven't added any tricks like HB_THREAD_STUB in xHarbour to reduce
   the cost of TLS access. If it will be necessary for some platform the we
   can add it.
   Except TLS Harbour threads needs OS support for non recursive mutexes or
   critical sections and conditional variables. If platforms does not support
   conditional variables (f.e. MS-Win or OS2) then they can be emulated using
   multistate semaphores. I intentionally didn't create code which may need
   recursive mutexes. The non recursive ones are often faster and some
   platforms may not support recursive mutexes so they will have to be
   emulated by us.
   Harbour uses reference counters for complex variables. It means that even
   readonly access to complex item causes internal write operations necessary
   to increment/decrement its reference counter. To make such readonly access
   MT safe we have to make incrementation and decrementation with result
   checking atomic. By default it's done by mutex inside vm/fm.c but some
   platforms have native support for atomic inc/dec operations, f.e.
   Interlocked*() functions in MS-Win. If they are available then such
   functions should be used to not reduce the performance by mutex call
   very often used functions. For many CPUs it should be quite easy to
   implement such atomic inc/dec functionality in assembler. F.e. for
   GCC and x86@32 it may looks like:

      static __inline__ void hb_atomic_inc32( volatile int * p )
      {
         __asm__ __volatile__(
            "lock incl %0"
            :"=m" (*p) :"m" (*p)
         );
      }

      static __inline__ int hb_atomic_dec32( volatile int * p )
      {
         unsigned char c;
         __asm__ __volatile__(
            "lock decl %0"
            "sete %1"
            :"=m" (*p), "=qm" (c) :"m" (*p) : "memory"
         );
         return c == 0;
      }

   and then it's enough to define in hbthreads.h:
      #define HB_ATOM_INC( p )    hb_atomic_inc32( ( volatile int * ) p )
      #define HB_ATOM_DEC( p )    hb_atomic_dec32( ( volatile int * ) p )

   Probably I'll make it for some most popular CPUs in the future.
   In Harbour each thread which wants to call HVM functions have to allocate
   it's own HVM stack. It's done hb_vmThreadInit(). The HVM stack is freed
   by calling hb_vmThreadQuit(). This functions can be called also by 3-rd
   party threads if they want to call HVM functions or execute .prg code.
   Calling HVM functions without allocated stack will cause GPF.
   I moved most of static variables to HVM stack to make them thread
   local. But some of them like FS errors have their own alternative
   copy which is used when thread does not allocate HVM stack. It allows
   to use hb_fs*() functions without HVM stack but programmer have to
   know that error codes return by hb_fs*Error() functions can be
   overwritten by other threads which also didn't allocated HVM stack.
   To execute garbage collector scan and mark pass it's necessary to
   stop other HVM threads. Otherwise the scan may give false results.
   It's also possible to not stop threads but protect with mutex all
   operations on GC items but it will probably cause performance reduction
   and will force some other modifications. Maybe I'll implement it
   in the future.
   I didn't use any OS level thread KILL or CANCEL calls. All HVM threads
   have to be cleanly removed without any resource leaks.
   QUIT command terminate only calling thread. If main (startup) HVM
   thread call QUIT then it sends QUIT request to all existing threads.
   In QUIT state ALWAYS statements and destructors are executed.
   New thread is created by:
      hb_threadStart( <@sStart()> |  [,  ] ) -> 
   The returned value is a pointer to internal thread structure which
   can be used in JOIN or DETACH operations. Each thread should be Joined
   or DETACHED to avoid resource leaks. If programmer does not store
    or all instances of  are destroyed then thread is
   automatically detached. I do not know clear method of thread detaching
   in OS2. If some OS2 users knows it then plase update vm/hbthread.c.
   When thread terminates then all locked by this thread mutexes are
   released.
   Each thread uses its own memvars (PRIVATEs and PUBLICs) and work areas.
   When new thread is created then it inherits from parent thread:
      - code page
      - language
      - SETs
      - default RDD
   error block is initialized to default value by calling ERRORSYS()
   and PUBLIC variable GetList := {} is created.
   The following objects are initialized to default value:
         - error block
         - math error handler and math error block
         - macro compiler features setting (hb_setMacro())
           or move them to SETs.
   We can think about inheriting them. It's also possible to add
   inheriting of all visible memvars but I do not know it's good
   idea.

   Compilation and linking:
   For MT mode HVM library should be compiled with HB_MT_VM macro.
   GNU make automatically creates hbvmmt library which should be
   linked with Harbour MT programs instead of hbvm.
   Non GNU make files should be updated.
   If given compiler support TLS then you can try to set HB_USE_TLS
   to force using native compiler TLS support. Now it's enabled by
   default only for BCC. For Linux and GCC builds it may depend also
   on used GLIBC version. In older system there is no TLS support
   at all or TLS works only for shared binaries so I haven't enabled
   it. If you will test some other compiler then please add default
   native TLS support for them in hbthread.h
   Users using hb* scripts can simply use -mt switch when they want
   to create MT program, f.e.:
      hbmk -n -w3 -es2 -mt mttest01.prg

   There are still some minor things which should be done but I'll
   do them later. Current state seems to be fully functional.
   The most important and still missing is our own file lock server
   for RDD synchronization in POSIX systems. Kernel internally
   recognize POSIX locks by PID and file i-node - not PID and file
   handle. It means that the same file open more then once by one
   process shares locks. Because POSIX locks can be overwritten
   then we do not have any synchronization between aliased workareas
   or threads using the same table in *nixes. We have to make
   synchronization ourselves. I'll create such lock server ASAP.

   Please test and enjoy using Harbour threads.

2008-09-12 16:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * contrib/gtwvg/wvgutils.c
    ! HB_FUNC( WVT__MAKEDLGTEMPLATE )
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ;
             =>
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( HB_PTRDIFF ) p - ( HB_PTRDIFF ) pdlgtemplate ) ) ;
      ; NG suggests that Viktor has fixed it but I cannot see to it. So again...

  * contrib/gtwvg/wvgcore.c
    + Added  parameter to the functions it was missing earlier.
      ; NOTE: Parameter sequence of all GUI components is a mess now, I mean are not uniform.
      ; I will be introducing a new set of API calls on top of the existing calls
        with standradized and normalized parameter passing. Developers can take
        advantage of new functions. Old API will still remain intact.

2008-09-11 18:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * contrib/gtwvg/wvgutils.c
    ! HB_FUNC( WVT__MAKEDLGTEMPLATE )
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ULONG ) ( p - pdlgtemplate ) );    =>
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ;
      Fix to open modeless/modal dialogs.
      ; NOTE: Need to be fixed in v1.0.0 also.

2008-09-10 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    + Updated.

  * contrib/hbw32/Makefile
  * contrib/hbw32/common.mak
  - contrib/hbw32/w32_prn.c
  + contrib/hbw32/win_prn1.c
  - contrib/hbw32/tprinter.c
  + contrib/hbw32/win_prn2.c
  - contrib/hbw32/dllcall.c
  + contrib/hbw32/win_dll.c
  - contrib/hbw32/w32_osc.c
  + contrib/hbw32/win_osc.c
  - contrib/hbw32/w32_ole.c
  + contrib/hbw32/win_ole.c
  - contrib/hbw32/w32_regc.c
  + contrib/hbw32/win_regc.c
  - contrib/hbw32/w32_os.prg
  + contrib/hbw32/win_os.prg
  - contrib/hbw32/w32_tole.prg
  + contrib/hbw32/win_tole.prg
  - contrib/hbw32/w32_reg.prg
  + contrib/hbw32/win_reg.prg
  - contrib/hbw32/w32_tprn.prg
  + contrib/hbw32/win_tprn.prg
    * Cleaned some 'w32'.

  * contrib/hbwhat/hbwhat.h
    ! Hack to disable UNICODE if enabled.
      hbwhat cannot currently be compiled in UNICODE mode.

  * contrib/hbwhat/wincorec.c
  * contrib/hbwhat/whtmisc.c
    % Made some internal functions static by moving them around.
    ! Removed TEXT(  ) type of syntax.

  * contrib/hbodbc/odbc.c
    ! MSVC warning fixed in the UNICODE path.

  * contrib/hbnf/getenvrn.c
    ! Fixed to compile in Windows/UNICODE mode.

2008-09-10 09:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    + Updated.

  * contrib/Makefile
  * contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  - contrib/hbwhat32
  + contrib/hbwhat
    * Renamed to not contain '32'.
      INCOMPATIBLE.
    ; NOTE: I plan to do this with a couple of other
            names too in the future.

  * contrib/hbwhat/Makefile
  * contrib/hbwhat/common.mak
  - contrib/hbwhat/what32.ch
  + contrib/hbwhat/hbwhat.ch
    * Renamed what32.ch to not contain '32' (and added
      hb for consistency if it got renamed anyway).
      INCOMPATIBLE.

  * utils/hbmake/hbmake.prg
    * Updated by Bill Robertson to fix too many things to
      mention here. (cleaned up lots of stuff, using hb_run()s
      return values, cleaned to not call main() function
      recursively (!), display output cleanups, etcetc)
    * hbwhat32, hbziparch lib name changes.

  * contrib/examples/pp/hbppcore.c
  * contrib/examples/pp/hbppcomp.c
  * contrib/rddads/ads1.c
  * source/pp/ppcore.c
  * source/vm/asort.c
  * source/vm/hvm.c
  * source/rtl/disksphb.c
  * source/rdd/dbfntx/dbfntx1.c
  * source/rdd/workarea.c
  * contrib/hbct/screen2.c
  * contrib/hbct/token2.c
    * while( TRUE ) -> for( ;; )
    * do {} while( TRUE ) -> for( ;; ) {}
    ; To avoid warnings about conditions being constant.

2008-09-09 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbwhat32/hbwhat.h
  * contrib/hbwhat32/whtcall.c
  * contrib/hbwhat32/whtclpb.c
  * contrib/hbwhat32/whtcomm.c
  * contrib/hbwhat32/whtdll.c
  * contrib/hbwhat32/whtgdi.c
  * contrib/hbwhat32/whtilst.c
  * contrib/hbwhat32/whtinet.c
  * contrib/hbwhat32/whtini.c
  * contrib/hbwhat32/whtmisc.c
  * contrib/hbwhat32/whtmmcap.c
  * contrib/hbwhat32/whtmsg.c
  * contrib/hbwhat32/whtsock.c
  * contrib/hbwhat32/whtsys.c
  * contrib/hbwhat32/whttab.c
  * contrib/hbwhat32/whttree.c
  * contrib/hbwhat32/whtwnd.c
  * contrib/hbwhat32/wincorec.c
    ! Fixed remaining 64-bit problems.
    ! Fixed to work as before, using numbers for pointers.
    ! Fixed bugs in these internet related functions:
      INTERNETREADFILE(), INTERNETWRITEFILE()
    ; NOTE: Number of warnings went down from somewhere well
            above a thousand to just a few ones, mostly common
            in other parts of Harbour. If someone could help to
            clear these remains, it'd be great.
            Tested with MSVS2008 -W4 64/32-bit modes, BCC 5.8,
            MinGW 4.31.
    ; NOTE: I didn't do any real-life tests. Pls do if you're
            interested or you're using this contrib.
    ; NOTE: Remaining warnings:
            - MSVS 2008 -W4 64-bit:
              wincorec.c(689) : warning C4244: 'argument' : conversion from 'HB_PTRDIFF' to 'ULONG', possible loss of data
              whtclpb.c(208) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'ULONG', possible loss of data
              whtdll.c(298) : warning C4311: 'type cast' : pointer truncation from 'LPSTR' to 'DWORD'
              whtdll.c(299) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'DWORD'
              whtdll.c(306) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'DWORD'
              whtlv.c(84) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data
              whtlv.c(109) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data
              whtmem.c(243) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data
              whtmem.c(270) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data
              whtmem.c(279) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data
              whtreg.c(171) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
              whtshell.c(34) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data
              whtsys.c(1093) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data
              whttext.c(127) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
              whttext.c(154) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
              whttext.c(190) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
              whttext.c(246) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
              whttext.c(299) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

            - MSVS 2008 -W4 32-bit:
              wincorec.c(434) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(438) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(442) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(446) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(450) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(454) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(458) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(462) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(466) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(470) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(486) : warning C4152: nonstandard extension, function/data pointer conversion in expression
              wincorec.c(529) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC'
              wincorec.c(543) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC'
              wincorec.c(556) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC'
              wincorec.c(569) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC'
              whtsys.c(316) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'TIMERPROC'
              whtwnd.c(197) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'WNDPROC'

            - MinGW 4.31 32-bit:
              wincorec.c:94: warning: signed and unsigned type in conditional expression
              wincorec.c:95: warning: signed and unsigned type in conditional expression
              wincorec.c:96: warning: signed and unsigned type in conditional expression
              wincorec.c:97: warning: signed and unsigned type in conditional expression
              wincorec.c:119: warning: signed and unsigned type in conditional expression
              wincorec.c:120: warning: signed and unsigned type in conditional expression
              wincorec.c:121: warning: signed and unsigned type in conditional expression
              wincorec.c:122: warning: signed and unsigned type in conditional expression
              whtcdlg.c:180: warning: signed and unsigned type in conditional expression
              whtdate.c:61: warning: passing argument 1 of 'hb_retptr' makes pointer from integer without a cast
              whtdlg.c:169: warning: signed and unsigned type in conditional expression
              whtmisc.c:95: warning: signed and unsigned type in conditional expression
              whtmisc.c:349: warning: signed and unsigned type in conditional expression
              whtseria.c:343: warning: signed and unsigned type in conditional expression
              whtsock.c:43: warning: signed and unsigned type in conditional expression
              whtsock.c:108: warning: signed and unsigned type in conditional expression
              whtsock.c:124: warning: signed and unsigned type in conditional expression
              whtsock.c:226: warning: signed and unsigned type in conditional expression
              whtsock.c:246: warning: signed and unsigned type in conditional expression
              whtsock.c:249: warning: signed and unsigned type in conditional expression
              whtsock.c:318: warning: signed and unsigned type in conditional expression
              whtsock.c:331: warning: signed and unsigned type in conditional expression
              whtsock.c:338: warning: signed and unsigned type in conditional expression
              whtsys.c:1091: warning: comparison between signed and unsigned

2008-09-09 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbwhat32/whthead.c
  * contrib/hbwhat32/whtmmcap.c
  * contrib/hbwhat32/whtshell.c
  * contrib/hbwhat32/whtdir.c
    ! Fixed a few problems when compiling with MinGW.

  * contrib/Makefile
  * contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
    + Readded hbwhat32 to default build lists.
    ; This doesn't mean this lib works, but the amount of
      warnings are now on a manageable level on both 32 and
      64 bit on BCC/MSVC/MINGW, we can gradually fix the
      remaining ones, and maybe if we have this lib
      built, someone will try to use it and maybe fix it.
      [ We may temply as well disable it again, if it turns
      out to be a showstopper for 1.0.1 release. ]
    ; If there is anything against the above, I'd suggest
      to remove the whole contrib altogether.

2008-09-09 12:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/debug/dbgentry.c
    ! Fixed recent typo. Thanks Lorenzo.

2008-09-09 11:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/mtpl_b32.mak
  * contrib/mtpl_gcc.mak
  * contrib/mtpl_vc.mak
    ! Some more fine tuning.

2008-09-09 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/asort.c
    ! fixed GPF when user sort code block reduces the size of sorted array

2008-09-09 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbct/numconv.prg
    ! Fixed typo. Thanks to Grigory Filatov for reporting it.

2008-09-09 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  + contrib/hbwhat32/hbwhat.h
  * contrib/hbwhat32/whtbmp.c
  * contrib/hbwhat32/whtbrsh.c
  * contrib/hbwhat32/whtcall.c
  * contrib/hbwhat32/whtcdlg.c
  * contrib/hbwhat32/whtclpb.c
  * contrib/hbwhat32/whtcomm.c
  * contrib/hbwhat32/whtcret.c
  * contrib/hbwhat32/whtdate.c
  * contrib/hbwhat32/whtdc.c
  * contrib/hbwhat32/whtdir.c
  * contrib/hbwhat32/whtdlg.c
  * contrib/hbwhat32/whtdll.c
  * contrib/hbwhat32/whtdraw.c
  * contrib/hbwhat32/whtfont.c
  * contrib/hbwhat32/whtgdi.c
  * contrib/hbwhat32/whthead.c
  * contrib/hbwhat32/whticon.c
  * contrib/hbwhat32/whtilst.c
  * contrib/hbwhat32/whtinet.c
  * contrib/hbwhat32/whtini.c
  * contrib/hbwhat32/whtkbrd.c
  * contrib/hbwhat32/whtlv.c
  * contrib/hbwhat32/whtmain.c
  * contrib/hbwhat32/whtmapi.c
  * contrib/hbwhat32/whtmem.c
  * contrib/hbwhat32/whtmenu.c
  * contrib/hbwhat32/whtmeta.c
  * contrib/hbwhat32/whtmisc.c
  * contrib/hbwhat32/whtmmcap.c
  * contrib/hbwhat32/whtmous.c
  * contrib/hbwhat32/whtmsg.c
  * contrib/hbwhat32/whtpen.c
  * contrib/hbwhat32/whtprn.c
  * contrib/hbwhat32/whtrect.c
  * contrib/hbwhat32/whtreg.c
  * contrib/hbwhat32/whtrgn.c
  * contrib/hbwhat32/whtscrlb.c
  * contrib/hbwhat32/whtseria.c
  * contrib/hbwhat32/whtshell.c
  * contrib/hbwhat32/whtsock.c
  * contrib/hbwhat32/whtsys.c
  * contrib/hbwhat32/whttab.c
  * contrib/hbwhat32/whttbar.c
  * contrib/hbwhat32/whttext.c
  * contrib/hbwhat32/whttree.c
  * contrib/hbwhat32/whtview.c
  * contrib/hbwhat32/whtwnd.c
  * contrib/hbwhat32/wincorec.c
    ! Changed pointer related hb_ret, hb_par and hb_stor calls
      to ptr versions. This might create incompatibilities and
      since there is no test package for this lib, it's difficult
      to test if it works. I relied on MSVC warnings.
    ; There are still some calls to change. One other problem is
      there is no public equivalent of hb_vmPushLong() for pointers,
      so these VM specific parts should be changed to use some more
      official Harbour APIs.

2008-09-09 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/mtpl_b32.mak
  * contrib/mtpl_vc.mak
    * Minor adjustment to previous change (to not display the
      obj dir creation for each command.)

  * contrib/hbwhat32/whtdll.c
  * contrib/hbwhat32/wincorec.c
  * contrib/hbwhat32/whtsock.c
  * contrib/hbwhat32/whtcall.c
  * contrib/hbwhat32/whtclpb.c
  * contrib/hbwhat32/whtmapi.c
  * contrib/hbwhat32/whtdlg.c
  * contrib/hbwhat32/whtwnd.c
  * contrib/hbwhat32/whtmisc.c
  * contrib/hbwhat32/whtinet.c
    ! Fixed MSVS 2008 -W4 warnings.

  * bin/bld.bat
    * Some further updates.

2008-09-08 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * bin/bld.bat
    * Some changes to make it more up-to-date.

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_array.prg
    + Added comment to 'TAEVSM' test case saying this is
      a CA-Cl*pper bug.
    + Added two additional tests doing resizes in ASORT()
      blocks. They fail very badly in Harbour. (TOFIX)

  ; Made my indenting of ChangeLog entries compatible with
    everyone else's.

2008-09-08 21:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/hashes.c
    ! fixed typo in hash cloning code which caused that references
      was copied to cloned array. Thanks to Mindaugas for example.

2008-09-08 13:59 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
  * include/hbclass.ch
    ! added missing MESSAGE  TO 
      ; this also fixes DELEGATE command

2008-09-08 13:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
   * contrib/mtpl_gcc.mak
     * Changed the location of intermediate obj and c files from
       /obj// to local [/contrib//]obj//
       dir so that similar filenames across different contribs
       would never interfere with each other anymore when using
       non-GNU make. This was a difficult to detect problem,
       especially when someone is trying to use custom contribs,
       and even more so if these custom contribs happen to have
       3rd party code with non Harbour controlled filenames. This
       change is also an important last step to make contribs
       fully self-containing.
     ; TODO: mtpl_gcc.mak support has to be finished by someone
             familiar with bash.
     ; NOTE: This change shouldn't go to 1.0.1 until well tested
             and reviewed.
     ; NOTE: As a consequence of the above, from now on a
             'make_*.bat clean' won't anymore clean the objects/.c
             files of all contribs. If you hadn't do so so far, now
             you'll need to explicitly call 'contrib/make_*.all.bat clean'
             to do that.

   * contrib/mtpl_gcc.mak
   * make_gcc.mak
     % HB_ARCHITECTURE hack from cyg to w32 removed,
       as cyg is not a valid public architecture name
       in Harbour. cyg is used in make_gcc.sh internally, and
       it's automatically converted to w32 before using
       make_gcc.mak, so it would seem that this is solved
       at the right place already, and the hack is not needed.

2008-09-08 11:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
   * doc/dirstruc.txt
     * Updated.

   * contrib/hbhpdf/tests/harupdf.prg
   - contrib/hbhpdf/tests/files/maskimage.png
   + contrib/hbhpdf/tests/files/maskimag.png
   - contrib/hbhpdf/tests/files/32_32_2color.dat
   - contrib/hbhpdf/tests/files/32_32_gray.dat
   - contrib/hbhpdf/tests/files/penguinattack.ttf
   - contrib/hbhpdf/tests/files/32_32_rgb.dat
     * One file renamed to short name.
     - Some unused files removed.

2008-09-08 02:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/transfrm.c
   * source/rtl/set.c
   * contrib/hbct/ctwin.c
   * contrib/hbct/token1.c
   * contrib/hbct/numat.c
     ! Fixed more MSVS 2008 -W4 warnings.

   * source/rtl/set.c
     * Formatting.

2008-09-08 01:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
     + Added support for 7.19.0 features.

   * doc/whatsnew.txt
     + Added recent changes.

2008-09-07 01:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbcurl/make_vc.bat
     ! Fixed external .lib handling for MSVC.

   * contrib/rddads/make_vc.bat
     ! Fixed external .lib handling for MSVC
       (for older ACE versions).

   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
     + Added .lib/.dll support for libharu 2.1.0
       binary distribution version.

2008-09-06 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/hbpcre/pcre.h
   * source/hbpcre/config.h
     + Upgraded PCRE lib to 7.8 release version.

   * contrib/hbct/token2.c
   * contrib/examples/pp/hbppcore.c
     * Minor formatting.

2008-09-06 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.bat
   * contrib/mtpl_vc.bat
     + Added -nologo to nmake.exe command line.

   * source/vm/memvars.c
   * source/rtl/scroll.c
   * source/rtl/diskspac.c
   * source/rtl/console.c
   * source/rtl/philes.c
   * source/rtl/oldclear.c
   * source/rtl/oldbox.c
   * source/rtl/cdpapi.c
   * source/rtl/setpos.c
   * source/rtl/errorapi.c
   * source/rtl/setcolor.c
   * source/rtl/philes53.c
   * source/rtl/setkey.c
   * source/rtl/disksphb.c
   * source/rtl/shadow.c
   * source/rtl/hbhex.c
   * source/rtl/setcurs.c
   * source/rtl/dates.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rtl/hbinet.c
   * source/rtl/hbffind.c
   * source/rtl/filesys.c
   * contrib/hbct/screen2.c
   * contrib/hbct/screen1.c
   * contrib/hbnf/fttext.c
     ! Fixed more MSVS 2008 -W4 warnings (about 100 of them).

   * contrib/hbnf/fttext.c
     ! Fixed C++ compile error after recently
       switching to Harbour API from Clipper one.

2008-09-05 20:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/rddads/adsfunc.c
     ! Fixed some more MSVS 2008 -W4 warnings.

2008-09-05 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/debug/dbgentry.c
   * source/rtl/do.c
   * source/rtl/xhelp.c
   * contrib/xhb/freadlin.c
   * contrib/hbw32/w32_prn.c
   * contrib/rddads/ads1.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbtip/encmthd.c
   * utils/hbdoc/hbdfrdln.c
   * utils/hbmake/hbmfrdln.c
     ! Fixed some more MSVS 2008 -W4 warnings.

2008-09-05 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbapollo/apollo.c
   * contrib/hbclipsm/gauge.c
   * contrib/hbct/atadjust.c
   * contrib/hbct/atnum.c
   * contrib/hbct/atrepl.c
   * contrib/hbct/ctstr.c
   * contrib/hbct/ctwfunc.c
   * contrib/hbct/dattime2.c
   * contrib/hbct/dattime3.c
   * contrib/hbct/files.c
   * contrib/hbct/pack.c
   * contrib/hbct/print.c
   * contrib/hbct/setrc.c
   * contrib/hbfbird/firebird.c
   * contrib/hbhpdf/harupdf.c
   * contrib/hbmisc/hb_f.c
   * contrib/hbmzip/hbmzip.c
   * contrib/hbnf/descendn.c
   * contrib/hbnf/dispc.c
   * contrib/hbnf/ftattr.c
   * contrib/hbnf/ftshadow.c
   * contrib/hbnf/fttext.c
   * contrib/hbodbc/odbc.c
   * contrib/hbole/ole2.c
   * contrib/hbw32/dllcall.c
   * contrib/hbw32/tprinter.c
   * contrib/rddads/ads1.c
   * contrib/xhb/cstructc.c
   * contrib/xhb/hbxml.c
   * contrib/xhb/xhbmsgs.c
   * utils/hbmake/hbmgauge.c
     ! Fixed some MSVS 2008 -W4 warnings.
     ; There are quite some more.

   * contrib/hbhpdf/harupdf.c
     ! HPDF_ADDPAGELABEL() accepting first parameter wrongly.

   * contrib/hbfbird/firebird.c
     ! FBQUERY() potential GPF when using value from freed memory.

   * doc/whatsnew.txt
     * Updated for latest fixes.

2008-09-05 17:41 UTC+0100 Miguel Angel Marchuet 
  * contrib/hbbmcdx/bmdbfcdx.c
    ! fixed dirty index reading.

2008-09-05 17:11 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
  * contrib/hbtip/test/tiptest.prg
  * contrib/hbtip/popcln.prg
    * fixed typos: "retreived vs retrieved"

2008-09-05 16:54 UTC+0100 Miguel Angel Marchuet 
  * contrib/hbbmcdx/bmdbfcdx.c
    ! fixed to not respect bitmap filters when structural order
      is scanned, f.e. in OrdListAdd() with active bitmap filter.

  * source/rtl/hbinet.c
    ! fixed return value of HB_INETGETSNDBUFSIZE

2008-09-05 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/dbffpt/dbffpt1.c
    ! fixed GPF introduced by today MSVC warning cleanup

2008-09-05 12:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * Reviewed, some clarifications.

2008-09-05 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbver.c
     ! Version detection fixed for __DMC__

   * contrib/mtpl_gcc.mak
     % One unnecessary C -I option deleted.

   - contrib/hbsqlit2
   + contrib/examples/hbsqlit2
   * doc/whatsnew.txt
     * Moved hbsqlit2 to examples.

   * contrib/examples/hbsqlit2/Makefile
   * contrib/examples/hbsqlit2/make_b32.bat
   * contrib/examples/hbsqlit2/make_gcc.sh
   * contrib/examples/hbsqlit2/make_vc.bat
   * contrib/examples/hbsqlit2/common.mak
   * contrib/examples/hbsqlit2/tests/bld_b32.bat
   * contrib/examples/hbsqlit2/tests/bld_vc.bat
     * Modified make files to work from the new location.
     * Location of sqlite2 headers can be specified by HB_INC_SQLITE2.
     ; Notice that sqlite2 lib itself should now be build separately.

2008-09-05 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbver.c
     ! Version detection fixed for __DMC__.

2008-09-05 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/mtpl_vc.mak
     - Removed recently (and mistakenly) added unnecessary option.

   * source/macro/macro.y
     - Removed old comment, other part synced with harbour.y.

   * source/rdd/dbffpt/dbffpt1.c
     ! Fixed MSVC -W4 potentially unused var warnings.

   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     - Removed (commented) references to hbsqlit2.
       hbsqlit2 is broken due to foreign code problems.
       It will be converted to use separately compiled
       sqlite2 library. Pls use hbsqlit3 as a replacement.

   - contrib/hbsqlit2/vdbeaux.c
   - contrib/hbsqlit2/build.c
   - contrib/hbsqlit2/vdbeInt.h
   - contrib/hbsqlit2/opcodes.h
   - contrib/hbsqlit2/btree.c
   - contrib/hbsqlit2/delete.c
   - contrib/hbsqlit2/printf.c
   - contrib/hbsqlit2/trigger.c
   - contrib/hbsqlit2/attach.c
   - contrib/hbsqlit2/btree.h
   - contrib/hbsqlit2/sqlite.h
   - contrib/hbsqlit2/pragma.c
   - contrib/hbsqlit2/config.h
   - contrib/hbsqlit2/util.c
   - contrib/hbsqlit2/select.c
   - contrib/hbsqlit2/os.c
   - contrib/hbsqlit2/hash.c
   - contrib/hbsqlit2/os.h
   - contrib/hbsqlit2/hash.h
   - contrib/hbsqlit2/tokenize.c
   - contrib/hbsqlit2/pager.c
   - contrib/hbsqlit2/vacuum.c
   - contrib/hbsqlit2/auth.c
   - contrib/hbsqlit2/pager.h
   - contrib/hbsqlit2/insert.c
   - contrib/hbsqlit2/copy.c
   - contrib/hbsqlit2/parse.c
   - contrib/hbsqlit2/where.c
   - contrib/hbsqlit2/date.c
   - contrib/hbsqlit2/expr.c
   - contrib/hbsqlit2/parse.h
   - contrib/hbsqlit2/LICENSE.txt
   - contrib/hbsqlit2/random.c
   - contrib/hbsqlit2/vdbe.c
   - contrib/hbsqlit2/sqliteInt.h
   - contrib/hbsqlit2/update.c
   - contrib/hbsqlit2/main.c
   - contrib/hbsqlit2/btree_rb.c
   - contrib/hbsqlit2/vdbe.h
   - contrib/hbsqlit2/table.c
   - contrib/hbsqlit2/func.c
   - contrib/hbsqlit2/opcodes.c
   - contrib/hbsqlit2/encode.c
     - Removed foreign code.

2008-09-05 04:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     + Added 1.0.1 changes. Please review.

2008-09-04 19:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed typo in previous commit

2008-09-04 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed dirty index reading, thx Miguel for bug report

  * harbour/source/compiler/hbmain.c
    * removed old comment and hack

2008-09-04 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/w32/msvc.cf
   * config/w32/msvcce.cf
     * Synced with latest non-GNU changes.

2008-09-04 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.mak
   * contrib/mtpl_vc.mak
     + -w34701 VC flag added to enabled warning 4701 (uninitialized vars) on -W3 level.
     % -FD VC flag removed. This is only needed for IDEs.
     % -Gs VC flag moved to the common section.
     % VC flags synced in contrib with core.
     + TOFIX added for WinCE command line. It's full of stuff which is _probably_ not needed.
     + NOTE added about MSDN page explaining VC switches.
     ; NOTE: -W4 and -Wp64 are recommended for MSVC.
     ; TOFIX: There are still a few uninit vars warnings:
              harboury.c(7226) : warning C4701: potentially uninitialized local variable 'hb_complval' used
              macroy.c(3095) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used
              dbffpt1.c(2671) : warning C4701: potentially uninitialized local variable 'ulType' used
              dbffpt1.c(2614) : warning C4701: potentially uninitialized local variable 'ulSize' used
              dbffpt1.c(3073) : warning C4701: potentially uninitialized local variable 'ulOldSize' used
              dbffpt1.c(3083) : warning C4701: potentially uninitialized local variable 'ulBlock' used
              dbffpt1.c(3652) : warning C4701: potentially uninitialized local variable 'pBlock' used

   * source/rdd/workarea.c
     ! Fixed DBI_POSITIONED value returned.

   * include/hbsetup.h
   * source/vm/pvalue.c
   * source/rtl/fserror.c
   * source/rtl/accept.c
   * source/rtl/descend.c
   * source/rtl/inkey.c
   * source/rtl/dates.c
   * source/rtl/fkmax.c
   * source/rtl/natmsg.c
   * source/rtl/hbinet.c
   * source/rtl/dates.c
     ! Fixed some MSVS2008 -W4 warnings (we use -W3 as the default).
     ; NOTE: There is a lot more of these.

   * source/rtl/dates.c
     * Formatting.

2008-09-03 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparc/hbziparc.prg
     ! Fix to one of the rarely used function names.

   * contrib/gtalleg/gtalleg.c
   * contrib/hbw32/dllcall.c
   * contrib/hbcurl/hbcurl.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * source/vm/memvars.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/math.c
   * source/rtl/gtclip.c
   * source/rtl/fstemp.c
   * source/rtl/is.c
   * source/rtl/xsavescr.c
   * source/rtl/fkmax.c
   * source/rtl/langapi.c
   * source/rtl/hbrandom.c
   * source/rtl/hbinet.c
   * source/rtl/hbffind.c
     * Minor formatting, code style/format cleanup (!=/== NULL mostly).

   * source/compiler/genc.c
     * Minor; empty line added to .c output.

2008-09-03 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparc/hbziparc.prg
     ! Some formatting to docs.
     + Now .zip extension will only be added if _SET_DEFEXTENSIONS
       is TRUE (the default).

2008-09-03 19:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparc/hbziparc.prg
     ! RTE fixed when not specifying some optional params.
     ! Fixed to parse the right array, and thus not exluding
       all filenames to be zipped.
     ; Disclaimer: I'm not a user of these functions, and
       I've admittedly not tested them besides tests/unzipa.prg
       and tests/zipa.prg (which are pretty basic cases), so
       bumps are expected. If you find some bugs, please try
       to provide patches to fix them. Thanks.

2008-09-03 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparc/make_b32.bat
   * contrib/hbziparc/make_vc.bat
     % Special C flags not needed anymore.

   - contrib/hbziparc/hbzipold.cpp
   + contrib/hbziparc/hbzipcpp.old
     * Renamed to not look like something live.

2008-09-03 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * make_deb.sh
   * harbour-w32-spec
   * harbour.spec
   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
   + contrib/hbziparc
   - contrib/hbziparch
     + hbziparc readded to default contrib list, as it
       creates no more harm now.
     ; NOTE: And now that this is about ready, we might
             step forward to develop a .7z interface ;)

2008-09-03 15:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/Makefile
   * contrib/hbziparch/common.mak
   + contrib/hbziparch/hbziparc.prg
   - contrib/hbziparch/hbzipnew.cpp
   + contrib/hbziparch/hbzipold.cpp
   * contrib/hbziparch/tests/bld_b32.bat
   * contrib/hbziparch/tests/bld_vc.bat
   - contrib/hbziparch/Wildcard.h
   - contrib/hbziparch/ZipString.h
   - contrib/hbziparch/FileInfo.h
   - contrib/hbziparch/ZipFileMapping_lnx.h
   - contrib/hbziparch/ZipMutex_win.h
   - contrib/hbziparch/ZipPathComponent.h
   - contrib/hbziparch/Aes.h
   - contrib/hbziparch/BaseLibCompressor.cpp
   - contrib/hbziparch/zlib
   - contrib/hbziparch/ZipCentralDir.h
   - contrib/hbziparch/RandomPool.h
   - contrib/hbziparch/ZipPathComponent_win.cpp
   - contrib/hbziparch/ZipString_stl.h
   - contrib/hbziparch/ZipPlatform_win.cpp
   - contrib/hbziparch/std_mfc.h
   - contrib/hbziparch/DeflateCompressor.h
   - contrib/hbziparch/ZipCrc32Cryptograph.h
   - contrib/hbziparch/Wildcard.cpp
   - contrib/hbziparch/ZipString.cpp
   - contrib/hbziparch/FileFilter.h
   - contrib/hbziparch/ZipMutex.h
   - contrib/hbziparch/ZipCompatibility.cpp
   - contrib/hbziparch/ZipFileMapping_win.h
   - contrib/hbziparch/ZipExtraData.cpp
   - contrib/hbziparch/Sha1.h
   - contrib/hbziparch/ZipArchive.cpp
   - contrib/hbziparch/ZipFileHeader.h
   - contrib/hbziparch/DirEnumerator.cpp
   - contrib/hbziparch/DeflateCompressor.cpp
   - contrib/hbziparch/ZipBaseException.h
   - contrib/hbziparch/std_stl.h
   - contrib/hbziparch/_features.h
   - contrib/hbziparch/ZipFileMapping.h
   - contrib/hbziparch/BaseLibCompressor.h
   - contrib/hbziparch/FileFilter.cpp
   - contrib/hbziparch/ZipException.h
   - contrib/hbziparch/ZipCryptograph.h
   - contrib/hbziparch/ZipAbstractFile.h
   - contrib/hbziparch/ZipStorage.h
   - contrib/hbziparch/ZipStringStoreSettings.h
   - contrib/hbziparch/stdafx.h
   - contrib/hbziparch/ZipCompatibility.h
   - contrib/hbziparch/ZipExtraData.h
   - contrib/hbziparch/ZipMemFile.h
   - contrib/hbziparch/Hmac.cpp
   - contrib/hbziparch/Bzip2Compressor.h
   - contrib/hbziparch/ZipExport.h
   - contrib/hbziparch/ZipArchive.h
   - contrib/hbziparch/ZipExtraField.cpp
   - contrib/hbziparch/ZipFileHeader.cpp
   - contrib/hbziparch/ZipPlatform.h
   - contrib/hbziparch/ZipAesCryptograph.cpp
   - contrib/hbziparch/ZipException.cpp
   - contrib/hbziparch/ZipCompressor.h
   - contrib/hbziparch/ZipFile_stl.cpp
   - contrib/hbziparch/DirEnumerator.h
   - contrib/hbziparch/ZipCryptograph.cpp
   - contrib/hbziparch/ZipStorage.cpp
   - contrib/hbziparch/ZipAutoBuffer.h
   - contrib/hbziparch/ZipCollections_mfc.h
   - contrib/hbziparch/ZipFile_mfc.h
   - contrib/hbziparch/resource.h
   - contrib/hbziparch/ZipCallbackProvider.h
   - contrib/hbziparch/ZipMemFile.cpp
   - contrib/hbziparch/Bzip2Compressor.cpp
   - contrib/hbziparch/ZipCollections.h
   - contrib/hbziparch/ZipFile.h
   - contrib/hbziparch/Aes.cpp
   - contrib/hbziparch/ZipCentralDir.cpp
   - contrib/hbziparch/RandomPool.cpp
   - contrib/hbziparch/ZipMutex_lnx.h
   - contrib/hbziparch/Hmac.h
   - contrib/hbziparch/ZipExtraField.h
   - contrib/hbziparch/ZipCompressor.cpp
   - contrib/hbziparch/License.txt
   - contrib/hbziparch/ZipCrc32Cryptograph.cpp
   - contrib/hbziparch/ZipAesCryptograph.h
   - contrib/hbziparch/ZipPathComponent_lnx.cpp
   - contrib/hbziparch/ZipPlatformComm.cpp
   - contrib/hbziparch/ZipString_mfc.h
   - contrib/hbziparch/ZipCallback.h
   - contrib/hbziparch/ZipAutoBuffer.cpp
   - contrib/hbziparch/ZipFile_mfc.cpp
   - contrib/hbziparch/ZipCollections_stl.h
   - contrib/hbziparch/BytesWriter.h
   - contrib/hbziparch/ZipPlatform_lnx.cpp
   - contrib/hbziparch/_platform.h
   - contrib/hbziparch/ZipFile_stl.h
   - contrib/hbziparch/readme.txt
   - contrib/hbziparch/Sha1.cpp
     + Added .prg level implementation of old hbziparch interface.
       It's based on Toninhos functions sent to the list, but
       synced with old interface and extended with new features,
       fixes and all the remaining interface functions, and old
       doc.
       There are some non-implemented stuff, and a couple of
       NOTEs and TOFIXes, if someone wants, these can be addressed.
       (some not, as hbmzip doesn't support multi-volume archives.)
     ; NOTE: This implementation is based on hbmzip.lib, so you
             MUST link it, to make it work. INCOMPATIBLE.
     * Library renamed from hbziparch -> hbziparc to be short
       filename. The dir itself will also be renamed so.
       INCOMPATIBLE.
     * Make files modified to compile on all platforms and to
       pull hbmzip to build tests.
     - Removed ZipArchive sources.
     ; Temporarily kept hbzipold.cpp to serve as reference.
     ; TOFIX: There is a problem with the loop adding new
              files to the .zip.

2008-09-03 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/Makefile
   * contrib/hbziparch/common.mak
   - contrib/hbziparch/hbziparc.c
   - contrib/hbziparch/hbxdirec.c
   * contrib/hbziparch/hbzipnew.cpp
     * Merged Harbour C parts to .cpp file.
     * Made full low-level interface static.

2008-09-03 15:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Some fixes to prev.

2008-09-03 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Some fixes and further reduction.

2008-09-03 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     % Merged slightly different internal functions, thus
       removing significant redundancy.
       Higher level hb_unzipFile(), hb_unzipFileIndex(), hb_unzipAllFile()
       are now functionally the same, since the only difference was
       how the file list parameter was handled.
     ! Removed any remaining Win32 dependency.

2008-09-02 23:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     * Complete cleanup/refactor/fixes.
       (original functions and internal logic was kept,
       except some shady path/curdir manipulations, which
       were removed, along with any directory changes)
       The code got significantly easier to oversee, so if
       someone wants to find out how this interface works,
       now the code is much easier to read. If we want to
       keep this in Harbour, maybe we could just swap the
       low-level interface to utilize hbmzip calls instead
       of ZipArchive ones. We would lose the segmented
       archive feature though, but I'm not sure how
       important this is these days, when there is no
       floppy disk anymore.
       Code size is now 40% smaller than in 1.0.0.
       It's still far from being perfect, but now it's at
       least possible to fix.

2008-09-02 10:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ; Applied patch by Bill Robertson:
     ! Fixed previously introduced (by me actually) bug. Thanks.
     % Removed "non-extended" codepath, since it was never used.
     ! UI elements fixed to properly accomodate to any
       screen dimensions.

   * utils/hbmake/hbmake.prg
     ! Fixed to not change casing of files, plus a few other minor fixes.
     ! Made one filename comparison multiplatform by using hb_FileMatch()
     ; Added TOFIXes where filename comparison is not multiplatform.
     % Removed some dead or commented code.

2008-09-01 21:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   - contrib/hbw32ddr
   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     - Removed contrib hbw32ddr.
       For those wanting to peek into this code, or
       pick up development, the exact source can be
       found in Harbour 1.0.0 release.

2008-09-01 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     % Cleanups, optimizations, fixes. Now it's possible to
       oversee what the code actually tries to do.
     * Statics reduced to one, not changing current dir anymore.
     ; It may happen that something is not working as it was, please test.
       Path handling is/was very shady. Unix support is (and was)
       not working at places.
     ; NOTE: 'Kiss of death' change.
             Please be prepared that I plan to remove hbziparch
             from the repository sometimes this week. If you have
             a strong reason not to do so (or some alternative
             proposal), pls write to the list.
             If someone wants to continue using it, it can be accessed
             from past revisions of the SVN, or the 1.0.0 binary and
             source releases.
             Someone could as well upload the lastest (or latest stable)
             revision to our website.

2008-09-01 15:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   - contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/tests/unzipa.prg
     % Further cleanups, optimizations.
     % Removed adding current directory to .zip filename
       if it didn't contain a path. If a file doesn't contain
       path, the OS will create it by default in the current dir.
       If someone knows why this hack was there, please tell.

2008-09-01 12:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     * One variable rename missed from previous commit.

2008-09-01 12:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Fixed several potential leaks.
     % Optimized out several unnecessary allocations.
     % Optimized out several unnecessary string copying.
     % Cleaned all global variables.
     % Cleaned all static variables in C code.
     % Using HB_ERR_FUNCNAME.
     ! Returning empty values instead of NULL.
     ! Fixed potential GPFs.
     ! Using manifest constants instead of literals.
     * Cleaned header file and constant usage.
     * Other minor fixes and optimizations.
     * Formatting.
     ; The code is still a mess.

2008-09-01 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/hbxdirec.c
     % Cleanups: Unused headers, types, one #define,
       one BCC582 warning, one Linux/GCC/MinGW #ifdef oddness.
     ; NOTE: Need to test this on Linux.

   * utils/hbmake/hbmake.prg
     ; Applied cleanup and fix patch from Bill Robertson:
     ! LIBFILES -> HBLIBS
       EXTERNLIB -> CONTRIBLIB
       EXTLIBFILES -> CONTRIBLIBS
     * ALLLIB = $(USERLIBS) $(LIBFILES) ... ->
       ALLLIB = $(USERLIBS) $(CONTRIBLIBS) $(HBLIBS) ...
     % Removed CONTRIBLIB = YES from makefile output as it did nothing.
     % Combined two ShowHelp() secs into one and put together
       with ShowCredits() at top of program.
     % Simplied Flag checks somewhat but it's still awkward. I fixed
       a mingw bug where a flag was set to .t. in one place and .f.
       later because of inconsistent use of letters, capitals/lower, etc.
       Still lots of checking for lower(...), upper(...), etc. of the
       command-line params.
     * Changed Help screen to reflect current program options better.
     * Made some alert message a little clearer and minor formatting.
     ! Initalized s_nMakeFileHandle to F_ERROR and reset it to F_ERROR
       whenever the file was closed. Didn't seem to be a current problem,
       just good practice.

   * utils/hbmake/hbmake.prg
     * Removed separate /credits switch and added content to
       main help screen.
     % Removed a few CLS commands from command-line orientated
       places.
     % Removed -elx and -ex from help screen (as these are the
       same as -el and -e). They are still accepted though.

   * source/compiler/hbusage.c
     + Added Bill Robertson to credits list.

2008-08-31 16:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * hbwhat32/whtdate.c
   * hbwhat32/whthead.c
   * hbwhat32/whtbrsh.c
   * hbwhat32/whtgdi.c
   * hbwhat32/whtmisc.c
   * hbwhat32/whttab.c
   * hbwhat32/whtbmp.c
   * hbwhat32/whtkbrd.c
     % Using hb_arraySet*() instead of hb_arraySet()

2008-08-31 16:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdoc/bld_vc.bat
   * utils/hbmake/bld_vc.bat
     % Minor cleanup.

   * contrib/hbwhat32/whticon.c
   * contrib/hbwhat32/whtcret.c
   * contrib/hbwhat32/whthead.c
   * contrib/hbwhat32/whtmous.c
   * contrib/hbwhat32/whtmeta.c
   * contrib/hbwhat32/whtrgn.c
   * contrib/hbwhat32/whttbar.c
   * contrib/hbwhat32/whtrect.c
   * contrib/hbwhat32/whtbrsh.c
   * contrib/hbwhat32/whtgdi.c
   * contrib/hbwhat32/whtview.c
   * contrib/hbwhat32/whtlv.c
   * contrib/hbwhat32/whtwnd.c
   * contrib/hbwhat32/whtcomm.c
   * contrib/hbwhat32/whtprn.c
   * contrib/hbwhat32/whttab.c
   * contrib/hbwhat32/whtfont.c
   * contrib/hbwhat32/whtbmp.c
   * contrib/hbwhat32/whtpen.c
   * contrib/hbwhat32/whtkbrd.c
   * contrib/hbwhat32/whttext.c
   * contrib/hbwhat32/whtdc.c
   * contrib/hbwhat32/whtdraw.c
   * contrib/hbnf/fttext.c
   * contrib/hbnf/peek.c
   * contrib/hbnf/ontick.c
   * contrib/hbnf/origin.c
   * contrib/hbnf/mouse.c
   * contrib/hbnf/poke.c
     ! Fixed to use Harbour API instead of legacy Clipper API.

   + contrib/hbbtree/tests/bld_b32.bat
   + contrib/hbbtree/tests/bld_vc.bat
   + contrib/hbbtree/tests/bld_djgp.bat
   - contrib/hbbtree/tests/mktest.bat
   * contrib/hbbtree/tests/ctest.c
     + Added make files.
     * Minor cleanups.
     ; One of the tests fail.

   * contrib/hbbtree/tbtree.prg
     ! Fixed crash due to scope problem in class declaration.

   * contrib/examples/pe/editorlo.c
     ! #include  -> #include "x" for Harbour headers.

2008-08-31 10:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbole/oleauto.prg
   * contrib/hbw32/w32_tole.prg
     * MessageBox() calls converted to Alert()s.
       A #translate added for the to be reconverted to MessageBox(),
       since I'm not sure why should we use MessageBox()es here?
       IMO it'd be better to throw RTEs, or handle these cases more
       "natively". Opinions?

   * contrib/hbole/oleauto.prg
     + Modified to generate RTE when the object could not
       be created, so that it works more like OLE in hbw32.lib,
       and the test doesn't crash in this case. I don't have
       Excel, and this is what I could fix without it.

   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_ole.c
     ! Typos, minor formatting.

   * common.mak
   * source/hbpcre/Makefile
   * source/hbpcre/cnv_hb2o.bat
   * source/hbpcre/cnv_o2hb.bat
   - source/hbpcre/ucpinter.h
   - source/hbpcre/ucptable.h
   - source/hbpcre/pcrefind.c
   + source/hbpcre/pcreucd.c
   * source/hbpcre/pcrevutf.c
   * source/hbpcre/pcre.h
   * source/hbpcre/pcreconf.c
   * source/hbpcre/pcreinfo.c
   * source/hbpcre/pcremktb.c
   * source/hbpcre/config.h
   * source/hbpcre/pcrenewl.c
   * source/hbpcre/pcreoutf.c
   * source/hbpcre/chartabs.c
   * source/hbpcre/pcrerefc.c
   * source/hbpcre/pcreget.c
   * source/hbpcre/pcrefinf.c
   * source/hbpcre/pcretryf.c
   * source/hbpcre/pcreexec.c
   * source/hbpcre/pcreinal.h
   * source/hbpcre/pcretabs.c
   * source/hbpcre/pcredfa.c
   * source/hbpcre/pcrever.c
   * source/hbpcre/pcrecomp.c
   * source/hbpcre/pcrexcls.c
   * source/hbpcre/pcrestud.c
   * source/hbpcre/ucp.h
     + Updated to PCRE 7.8 RC1
       (will be updated to final pretty soon)
       This version contains the small patches we
       so far had locally in Harbour. Thanks to
       Philip Hazel for applying them.

2008-08-30 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.ch
     + Added HB_LEGACY_OFF macro to turn off HB_LEGACY_LEVEL.

   * utils/hbmake/hbmake.prg
     * Two minor cleanups.

   * doc/en/hb_apiit.txt
   * source/vm/eval.c
     * PEVALINFO -> PHB_EVALINFO
     * EVALINFO -> HB_EVALINFO

   * contrib/hbct/ctwin.c
   * contrib/hbct/keyset.c
   * contrib/hbct/misc3.c
   * contrib/hbnf/numlock.c
   * contrib/hbnf/shift.c
   * contrib/hbnf/alt.c
   * contrib/hbnf/ctrl.c
   * contrib/hbnf/caplock.c
     * GTI_* -> HB_GTI_*

   * source/rtl/spfiles.c
     * FHANDLE -> HB_FHANDLE

2008-08-29 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ; Applied patch created by Bill Robertson:
     * The following functions aren't used in hbmake and were removed:
       FindCfile(), TestforPrg(), AsDll(), ExtenPrg(), GetMakeDir()

2008-08-29 11:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbcompdf.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! removed all classes and functions static declarations
    ! fixed cleanup code for classes and functions declarations

2008-08-29 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + config/w32/mingwce.cf
   - config/w32/cemgw.cf
   * harbour-ce-spec
   * make_xmingwce.sh
   * bin/hb-mkslib.sh
   * bin/hb-func.sh
   * bin/postinst.sh
   * source/vm/Makefile
     * Renamed 'cemgw' HB_COMPILER name to 'mingwce'
       for consistency.

2008-08-29 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * ChangeLog
     ! Minor typo.

   * utils/hbmake/hbmake.prg
     % Minor cleanup.

   * source/common/hbver.c
     * Further cleanup of constant usage.
     + Changed Borland to CodeGear to BCC5.9 and above.
       (borrowed from xhb / Andi Jahja)

   * config/w32/gcc.cf
   * config/w32/dm.cf
     * contrib syslibs moved to separate lines.

2008-08-28 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.bat
   - make_vcce.bat
     + Added some additional information how to create WinCE
       builds using make_vc.bat.
     - Deleted make_vcce.bat

2008-08-28 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtchrmap.c
   * source/rtl/hbgtcore.c
   * source/vm/hvm.c
     + Added three TOFIXes regarding namespace violations.
       s_pszLinkedMain        -> hb_vm_pszLinkedMain
       s_defaultGT            -> hb_gt_szNameDefault
       s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
       TOFIX: These should be fixed in 1.1 (or maybe even in
              1.0.1 if this isn't such a big problem for 3rd
              parties).

2008-08-28 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/gtwvg/wvgutils.c
     ! Fixed to use documented Harbour API hb_winmainArgGet()
       instead of the (since cleaned away) undocumented Harbour
       global variable hb_hInstance.

2008-08-28 12:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbfimage/fi_winfu.c
     ! Added CBM_INIT definition for Pellec C in WinCE mode.
       [UNDONE. CreateDIBitmap() also doesn't exist in WinCE. ]

2008-08-28 12:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.bat
     * Updated usage text.

   * include/hbwince.h
     ! Fix for Pelles C 5.0 in WinCE/ARM mode.

   * include/hbsetup.h
     + Detecting Pelles C 5.0 in ARM mode as HB_WINCE.

   * ChangeLog
     - Removed some advices not valid anymore from previous entry.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     * Synced with /make_*.bat so that the name of the .mak
       file is now hard-wired instead of being HB_CC_NAME dependent.
       This way contribs may be built for WinCE in the future
       (this still needs adding WinCE support to mtpl_vc.mak).

   * contrib/mtpl_gcc.sh
     + Darwin autodetection was missing.

   * contrib/hbfimage/fi_winfu.c
     ! Added CBM_INIT definition for Pellec C in WinCE mode.

   * source/rtl/gtclip.c
     + Added GMEM_MOVEABLE definition for Pelles C in WinCE mode.

   + config/w32/poccce.cf
     + Added Pellec C WinCE make file.

   + config/w32/msvcce.cf
     + Added WinCE GNU make file for MSVC. Untested, probably not working,
       this is just a small step to make the GNU-make equal in feature
       with the non-GNU make one.

   * config/w32/bcc32.cf
     * Minor sync of C options with non-GNU make file.

   * config/w32/msvc.cf
     * Attempt to sync C options with non-GNU make file.

   * contrib/hbfbird/firebird.c
     * Minor formatting.

   ; NOTE1: For better consistency I'd like to rename GNU make compiler names
            'mingw32' to 'mingw' (they've dropped '32' long ago), and
            'cemgw' to 'mingwce'.
   ; NOTE2: Pelles C WinCE build still generates following errors:
       POLINK: error: Unresolved external symbol 'GetModuleFileNameA'.
       POLINK: error: Unresolved external symbol 'RegOpenKeyExA'.
       ../../math.c(605): error #3120: [asm] Symbol 'inf' is undefined.
       contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file .
       ../../ctmath2.c(324): error #3120: [asm] Symbol 'inf' is undefined.
       ../../win32.c(70): error #2048: Undeclared identifier 'CS_OWNDC'.
       ../../win32.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'.
       ../../win32.c(75): error #2140: Type error in argument 2 to 'LoadIconA'; found 'int', expected 'const char *'.
       ../../win32.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'.
       ../../win32.c(194): warning #2027: Missing prototype for 'InsertMenuItem'.
       ../../win32.c(219): warning #2027: Missing prototype for 'SetMenu'.
       ../../odbc.c(94): fatal error #1035: Can't find include file .
       contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. [ ... ]
       ../../w32_ole.c(403): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(403): error #2168: Operands of = have incompatible types 'int' and 'long long int *'.
       ../../w32_ole.c(408): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2144: Type error: pointer expected.
       ../../w32_ole.c(792): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../hbsyslog.c(31): error #2140: Type error in argument 2 to 'RegisterEventSourceW'; found 'const char *', expected 'const wchar_t *'.
       ../../hbsyslog.c(97): error #2140: Type error in argument 8 to 'ReportEventW'; found 'const char * *', expected 'const wchar_t * *'.
       ../../firebird.c(448): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'.
       ../../firebird.c(479): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(480): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(481): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(482): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(483): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(484): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(502): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(503): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(504): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'.
       ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'.
       ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'.
       ../../fi_winfu.c(150): warning #2027: Missing prototype for 'GetDIBits'.
       [ lots of them with hbmysql ]

2008-08-28 01:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_b32.bat
   * make_vc.bat
     * exit_err.bat -> hbmkpost.bat
       Please update your environment if you used this feature.
       INCOMPATIBLE.

   * make_vcce.bat
     ! Adjusted to latest change.

   * make_gnu.bat
     * Minor formatting.

2008-08-28 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_b32.bat
   * make_vc.bat
     ! Made makefile name independent of the HB_CC_NAME envvar.
       NOTE: If this poses a limitation for someone, please shout,
             we may add an additional variable to control/override
             makefile name (but it cannot directly depend on
             HB_CC_NAME now that make_vc.mak and make_vcce.mak
             got merged.)

2008-08-27 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + config/w32/poccce.cf
     + Added POCC GNU make file for WinCE.
       It has quite some errors yet.

2008-08-27 21:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.bat
     ! Fixed.

   * contrib/rddads/make_vc.bat
     ! Undone previous modification. Quotes are needed to support
       dirs containing spaces (this is actually the case for the
       default install dir of ACE SDK).

2008-08-27 17:05 UTC+0100 JF Lefebvre (Mafact) (jfl at mafact dot com)
   * contrib/rddads/make_vc.bat
     * small typo in set _HB_LIB_INSTALL="%HB_LIB_INSTALL%
       _HB_LIB_INSTALL=%HB_LIB_INSTALL%

2008-08-27 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/compiler/hbcomp.c
     * Changed the default -gc generation mode for real.

2008-08-27 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/examples/rdddbt/dbfdbt1.c
   * contrib/gtalleg/gtalleg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctwin.c
   * contrib/rddads/ads1.c
   * source/codepage/cp_tpl.c
   * source/codepage/cpbg866.c
   * source/codepage/cpbgiso.c
   * source/codepage/cpbgmik.c
   * source/codepage/cpbgwin.c
   * source/codepage/cpcs852.c
   * source/codepage/cpcsiso.c
   * source/codepage/cpcskam.c
   * source/codepage/cpcswin.c
   * source/codepage/cpde850.c
   * source/codepage/cpdeiso.c
   * source/codepage/cpdewin.c
   * source/codepage/cpel737.c
   * source/codepage/cpelwin.c
   * source/codepage/cpes850.c
   * source/codepage/cpesmwin.c
   * source/codepage/cpeswin.c
   * source/codepage/cpfr850.c
   * source/codepage/cphr1250.c
   * source/codepage/cphr437.c
   * source/codepage/cphr852.c
   * source/codepage/cphu852.c
   * source/codepage/cphu852s.c
   * source/codepage/cphuiso.c
   * source/codepage/cphuisos.c
   * source/codepage/cphuwin.c
   * source/codepage/cphuwins.c
   * source/codepage/cpit437.c
   * source/codepage/cpit850.c
   * source/codepage/cpitisb.c
   * source/codepage/cpitiso.c
   * source/codepage/cpltwin.c
   * source/codepage/cppl852.c
   * source/codepage/cppliso.c
   * source/codepage/cpplmaz.c
   * source/codepage/cpplwin.c
   * source/codepage/cppt850.c
   * source/codepage/cpptiso.c
   * source/codepage/cpru866.c
   * source/codepage/cpruiso.c
   * source/codepage/cprukoi.c
   * source/codepage/cpruwin.c
   * source/codepage/cpsk852.c
   * source/codepage/cpskiso.c
   * source/codepage/cpskkam.c
   * source/codepage/cpskwin.c
   * source/codepage/cpsl437.c
   * source/codepage/cpsl852.c
   * source/codepage/cpsliso.c
   * source/codepage/cpslwin.c
   * source/codepage/cpsrwin.c
   * source/codepage/cpsv850.c
   * source/codepage/cpsvclip.c
   * source/codepage/cpsvwin.c
   * source/codepage/cptr857.c
   * source/codepage/cptrwin.c
   * source/codepage/cpua866.c
   * source/codepage/cpuakoi.c
   * source/codepage/cpuawin.c
   * source/lang/msg_tpl.c
   * source/lang/msgbe866.c
   * source/lang/msgbewin.c
   * source/lang/msgbg866.c
   * source/lang/msgbgiso.c
   * source/lang/msgbgmik.c
   * source/lang/msgbgwin.c
   * source/lang/msgca.c
   * source/lang/msgcs852.c
   * source/lang/msgcsiso.c
   * source/lang/msgcskam.c
   * source/lang/msgcswin.c
   * source/lang/msgde.c
   * source/lang/msgdewin.c
   * source/lang/msgel.c
   * source/lang/msgelwin.c
   * source/lang/msgeo.c
   * source/lang/msges.c
   * source/lang/msgeswin.c
   * source/lang/msgeu.c
   * source/lang/msgfr.c
   * source/lang/msggl.c
   * source/lang/msghe862.c
   * source/lang/msghewin.c
   * source/lang/msghr437.c
   * source/lang/msghr852.c
   * source/lang/msghriso.c
   * source/lang/msghrwin.c
   * source/lang/msghu852.c
   * source/lang/msghucwi.c
   * source/lang/msghuiso.c
   * source/lang/msghuwin.c
   * source/lang/msgid.c
   * source/lang/msgis850.c
   * source/lang/msgit.c
   * source/lang/msgko.c
   * source/lang/msgltwin.c
   * source/lang/msgnl.c
   * source/lang/msgpl852.c
   * source/lang/msgpliso.c
   * source/lang/msgplmaz.c
   * source/lang/msgplwin.c
   * source/lang/msgpt.c
   * source/lang/msgro.c
   * source/lang/msgru866.c
   * source/lang/msgrukoi.c
   * source/lang/msgruwin.c
   * source/lang/msgsk852.c
   * source/lang/msgskiso.c
   * source/lang/msgskkam.c
   * source/lang/msgskwin.c
   * source/lang/msgsl437.c
   * source/lang/msgsl852.c
   * source/lang/msgsliso.c
   * source/lang/msgslwin.c
   * source/lang/msgsr852.c
   * source/lang/msgsriso.c
   * source/lang/msgsrwin.c
   * source/lang/msgtr857.c
   * source/lang/msgtrwin.c
   * source/lang/msgua866.c
   * source/lang/msguakoi.c
   * source/lang/msguawin.c
   * source/lang/msgzhb5.c
   * source/lang/msgzhgb.c
   * source/pp/pplib3.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtgui/gtdef.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/hbregex.c (added as separate, next commit)
     ! Fix for MSVC 64-bit C mode startup procedure.

2008-08-27 03:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ; Applied patches made by Bill Robertson. (Thanks!)
     % Removed Function C( STRING ) as it was only used in the function,
       Attention(), to center a line on the screen.
     % Removed Static Function IsWin() since it wasn't being used.
     ! Replace all remaining calls to hb_OSNewLine() with s_cEOL.
     ! Changed some calls from OutStd() to OutErr() since they were
       essentially errors mesages.
     % Replaced some long series of FWrite()s with a single FWrite()
       where convientent so I could see what was being written to
       the makefile easier.
     ! Replaced some comparisons from '=' to '=='.

2008-08-27 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/filesys.c
     ! Disabled hb_fsPOpen() body for __CYGWIN__.
       This way __CYGWIN__ compiles cleanly.
       (although I'm not sure how important Cygwin support is)

2008-08-27 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/hbinet.c
     ! Bad workaround for the '__WSAFDIsSet unresolved' problem
       in Pelles C 5.00.13 AMD64 mode, to make final executables
       link at all. Some hbinet.c features (or the whole module)
       won't properly work though.
       This possible bug has been reported on the Pellec C forums:
       http://forum.pellesc.de/index.php?topic=2590.0

2008-08-27 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbinit.h
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/compiler/genc.c
     + Enabled init functions for MSVC 64-bit in C mode.
     ; NOTE: You get the idea, please comment. If there is
             no simpler/easier/shorter way to achieve this,
             I'll update the rest 150 files, too.

2008-08-26 22:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/gtalleg/Makefile
     * Excluded for POCC and XCC.

   * contrib/gtalleg/ssf.h
     ! Setting platform before include Allegro headers.
       (I'm not sure this is necessary for all platforms,
       but it surely is for BCC and MinGW).

   * contrib/gtwvg/gtwvg.h
     ! __MINGW__ -> __MINGW32__. __MINGW__ is not #defined by MinGW.

2008-08-26 22:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbct/atnum.c
     ! Workaround for PelleC 5.00.1 bug in AMD64 mode.
       'fatal error: Internal error: reduce_tree()'
       I didn't test if it actually works, but at least now
       is compiles.
       Bug reported on Pelles C forum.

2008-08-26 22:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbver.c
     * hb_verCompiler() buffer size cleanup.

   * source/rtl/hbinet.c
     * Minor formatting.

   * utils/hbmake/hbmake.prg
     * PRG -> .prg on some screen messages.

   * config/w32/xcc.cf
   * config/w32/pocc.cf
     + Added ws2_32.lib. Didn't solve the problem, but
       as per MS docs of some functions we use, we should
       use this instead of wsock2 (everywhere actually)
       [and ws2 instead of winsock for WinCE]. Someone pls
       correct me if I'm wrong, or if there is any reason
       we're using both and/or the older one?

   * config/w32/pocc.cf
     - Removed C switch -Zx (Enable Pelles C extensions).
       We don't need this.

2008-08-26 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbver.c
     + Show bitness for all (non-DJGPP) compilers.
     ! Fixed to show "Windows Server 2003 / XP x64" when
       Windows 5.2 is detected.

2008-08-26 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/compiler/hbmain.c
     ! Text casing fixed in some warning messages.
     ! Attempted to update hardcoded declarations for TGET methods.
       Some of them were removed, for some of them the parameter list
       was updated to be in sync with current tget.prg.

   * contrib/gtalleg/gtalleg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbmcdx/hbbmcdx.h
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctnet.c
   * contrib/hbct/ctstrfil.c
   * contrib/hbct/ctwin.c
   * contrib/hbcurl/hbcurl.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbmzip/hbmzip.c
   * contrib/hbnf/fttext.c
   * contrib/hbtip/utils.c
   * contrib/xhb/freadlin.c
   * contrib/xhb/hbxml.c
   * contrib/xhb/hbxml.h
   * doc/codestyl.txt
   * doc/en/garbage.txt
   * doc/en/hb_apifs.txt
   * include/hbapigt.h
   * include/hbchksum.h
   * include/hbdbsort.h
   * include/hbgtcore.h
   * include/hbrddcdx.h
   * include/hbrdddbf.h
   * include/hbrdddel.h
   * include/hbrddntx.h
   * include/hbrddsdf.h
   * include/hbset.h
   * include/hbsxfunc.h
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/dbsql.c
   * source/rdd/hbsix/sxcompr.c
   * source/rdd/hbsix/sxsem.c
   * source/rdd/hsx/hsx.c
   * source/rtl/console.c
   * source/rtl/copyfile.c
   * source/rtl/fssize.c
   * source/rtl/fstemp.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtapi.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/hbgtcore.c
   * source/rtl/hbmd5.c
   * source/rtl/isprint.c
   * source/rtl/memofile.c
   * source/rtl/philes.c
   * source/rtl/set.c
   * source/vm/memvars.c
   * source/vm/runner.c
   * utils/hbdoc/hbdfrdln.c
   * utils/hbmake/hbmfrdln.c
     * FHANDLE -> HB_FHANDLE
     * hbct: HB_ITEM_PTR -> PHB_ITEM

2008-08-26 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/hbmain.c
    ! reset class and functions static declarations to avoid GPF
      when more then one file is compiled with -w3 switch
      NOTE: Whole this code will have to be removed and written
            from scratch

2008-08-26 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/hbmain.c
    ! fixed GPF when more then one file was compiled with -w3 switch

2008-08-26 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   - source/rtl/gtalleg
   + contrib/gtalleg
   * TODO
   * doc/dirstruc.txt
   * include/hbgtcore.h
   * contrib/gtalleg/Makefile
   * contrib/gtalleg/make_b32.bat
   * contrib/gtalleg/make_vc.bat
   * contrib/gtalleg/make_gcc.sh
   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
   * contrib/Makefile
   * config/hpux/gcc.cf
   * config/hpux/global.cf
   * config/darwin/gcc.cf
   * config/darwin/global.cf
   * config/dos/global.cf
   * config/linux/gcc.cf
   * config/linux/global.cf
   * config/sunos/gcc.cf
   * config/sunos/global.cf
   * config/bsd/gcc.cf
   * config/bsd/global.cf
   * config/w32/global.cf
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
     * GTALLEG moved to contrib to make it possible to build
       using the non-GNU make system, also to align the build
       process with other 3rd party package dependent parts
       of Harbour.
       HB_INC_ALLEGRO or HB_DIR_ALLEGRO may be used to point
       to Allegro package directory. This is generally necessary
       on non-*nix systems.
     ; NOTE: Review and test build processes and modified files,
             and unmodified, but potentially related files:
             bin/hb-func.sh
             make_gnu.sh
             make_rpm.sh
             make_rpmce.sh
             make_rpmw32.sh

2008-08-26 09:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.h
     + Added small table (partly from MS KB) about _MSC_VER
       values and MS product names, as we know them.

   * common.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/bld_b32.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbdoc/gentrf.prg
   - utils/hbdoc/rtf.prg
   - utils/hbdoc/os2.prg
   - utils/hbdoc/teeasc.prg
   - utils/hbdoc/ng.prg
   - utils/hbdoc/html.prg
   - utils/hbdoc/troff.prg
     ! Removed non-ASCII drawing chars from comments.
     % Removed STATIC var from THTML class.
     % Merged separate support classes to their gen*.prg.

2008-08-26 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ! Some liblists synced with xhb / hbmake.

2008-08-26 02:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/xhb/hbcrypt.c
   * contrib/hbw32/tprinter.c
   * contrib/hbw32/w32_ole.c
   * contrib/hbw32/w32_prn.c
   * contrib/hbfbird/tests/testapi.c
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbhpdf/harupdf.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * contrib/hbgf/hbgfw32/win32.c
   * contrib/hbgf/hbgfos2/os2pm.c
   * source/rtl/filesys.c
   * utils/hbtest/rt_miscc.c
     * // -> ANSI comments.
     ; NOTE: hbwhat32 and gtwvg remain with //.

2008-08-26 00:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.bat
   * make_vcce.bat
   * make_vc.mak
   - make_vcce.mak
     % make_vcce functionality merged into make_vc.
     * make_vcce.bat changed to a stub calling make_vc.bat.
     ; WinCE builds can be triggered using envvars:
       set HB_BUILD_WINCE=yes
       set HB_CC_NAME=vcce
       Please update your environment and test WinCE builds
       after this change.

   * make_vc.mak
   * contrib/mtpl_vc.mak
     * Changed HB_VISUALC_VER default to 80.
       It was 60 for non-WinCE builds and contribs,
       80 for WinCE builds. Now it is 80 for all
       these cases.

   * make_b32.mak
     * Minor comment visual sync with make_vc.mak.

2008-08-25 23:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/cmdline.txt
   * doc/hrb_faq.txt
   * doc/en/cmdline.txt
   * doc/en/dir.txt
   * doc/en/file.txt
   * doc/en/set.txt
   * doc/es/cmdline.txt
   * doc/es/dir.txt
   * doc/es/file.txt
   * doc/whatsnew.txt
   * contrib/hbct/disk.c
   * contrib/hbodbc/odbc.txt
   * contrib/hbwhat32/whtmapi.c
   * contrib/hbwhat32/whtsys.c
   * contrib/hbwhat32/whtinet.c
   * contrib/hbziparch/hbziparc.c
   * contrib/hbnf/chdir.c
   * contrib/hbnf/tempfile.prg
   * contrib/hbnf/ftisprn.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/mkdir.c
   * contrib/hbnf/rmdir.c
   * contrib/hbpgsql/readme.txt
   * contrib/hbclipsm/environ.c
   * contrib/hbclipsm/tests/testenv.prg
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/test_out.prg
   * contrib/hbgd/tests/gdtestcl.prg
   * contrib/hbgd/tests/testdpi.prg
   * contrib/hbgd/tests/counter.prg
   * contrib/hbtip/thtml.prg
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/tests/pdf_demo.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/examples/guestbk/guestbk.prg
   * contrib/examples/pe/editorlo.c
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/hbmake.prg
     ! Filename casing fixes. (nothing critical)

2008-08-25 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.h
     ! Fixed OS_UNIX_COMPATIBLE
     + Small comments added.
     ; NOTE: I'd like to do the following global renames:
             HB_WINCE     -> HB_OS_WIN_CE
             HB_OS_WIN_32 -> HB_OS_WIN
             Opinions? Especially on the latter.

   * include/hbdefs.h
   * include/hbinit.h
   * contrib/hbodbc/odbc.c
     * _WIN64 -> HB_OS_WIN_64

2008-08-25 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.mak
     ! Do not explicitly #define HB_WINCE. This should be
       autodetected in hbsetup.h.

   * include/hbsetup.h
     % Minor cleanup.

2008-08-25 22:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.h
   * source/common/hbver.c
     - Removed HB_OS_MAC support. It was nothing more than a simple
       detection and a static version string, so we didn't lose much.

2008-08-25 22:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.mak
     ! Attempt to fix /MANIFEST:NO warnings for MSVC 6.0.
     ! Attempt to fix WinCE .dll linking error.
     ; Jose, another test would be great.

   * make_vc.bat
   * make_vc.mak
   * make_vcce.bat
   * make_vcce.mak
     * Some syncing and minor fixes in comments.

2008-08-25 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.mak
     ! Fixed system library list to not contain gdi32.lib.
       This lib was previously used for harbour.dll generation,
       so I wonder if it was correct, but probably not.
       It would be great if someone could try an MSVC WinCE .dll
       build using the option:
       set HB_BUILD_DLL=yes

2008-08-25 20:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/w32/mingw32.cf
     % -mno-cygwin options removed. No longer needed. If someone
       wants to compile a mingw build using cygwin, this option
       should be explicitly specified as C_USR/L_USR and 'gcc'
       should be used as a compiler. But this setup is barely
       supported in Harbour, so don't expect it to work.
       This option may also be needed to compile Harbour using
       Cygnus MinGW32 2.95.
       (Rather, install MinGW 3.x or newer)

2008-08-25 20:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ! Harbour executable detection cleanups and fix to look
       into current dir and detect Darwin as a Unix platform.
       (usable state is still very far)

2008-08-25 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbw32/w32_ole.c
    * removed hack with malloc()/free() directly used to avoid
      memory leak reports - it's not necessary in Harbour.

  * harbour/contrib/hbfbird/firebird.c
  * harbour/contrib/examples/pp/hbppcore.c
    ! fixed buffer size calculation in hbstrnc*() functions

  * harbour/contrib/hbziparch/hbzipnew.cpp
    % use hb_strdup() instead of hb_xgrab()/hb_strncpy()

  * harbour/contrib/hbnf/getenvrn.c
    ! use hb_xgrab() instead of hb_xalloc() - the returned value
      was not checked and internal error is for sure better then
      GPF on NULL pointer

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! use memcpy() instead of hb_strncpy() to avoid problems when
      there is no place for tailing 0

2008-08-25 19:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.h
     ! Fixed problem where Darwin autodetection went wrong
       between 1.0.0rc2 -> 1.0.0.
     * HB_OS_DARWIN added to the HB_OS_UNIX detection list.
       (no functional difference, just makes it more clear.)
     % HB_OS_OS2_EMX removed. It was unused.

   * source/compiler/gencobj.c
   * include/hbsetup.h
     % Removed OS_DOS_COMPATIBLE.
       It's equivalent to !defined(HB_OS_UNIX_COMPATIBLE).

2008-08-25 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbver.c
     ! Fix to commit '2008-07-11 18:20 UTC+0200' which
       effectively disabled Vista/2008 detection for
       everything but MSVC (>1400) compilers.

2008-08-25 17:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/hbmake.prg
   - utils/hbmake/hbmutils.prg
     * hbmutils.prg merged into hbmake.prg.

2008-08-25 17:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
     + Harbour option: /w3
     - Harbour option: /gc0 (now default)

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/hbmake.prg
   - utils/hbmake/pickarry.prg
     % Eliminated all STATIC vars in pickarry.prg.
     * pickarry.prg merged into hbmake.prg.

2008-08-25 16:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/tmake.prg
   - utils/hbmake/ft_funcs.prg
   - utils/hbmake/tmake.prg
     ! Applied patches sent by Bill Robertson.
       ft_funcs.prg got replaced by standard file handling
       functions and HB_FREADLINE(), EOL handling fixes,
       typos and other fixes.
       Many thanks Bill.
     * Eliminated STATIC var in tmake.prg
     * Merged tmake.prg into hbmake.prg. (this was the
       easiest way to make the new s_aEOL variable available
       to this module.)
     ; Please test.

   * common.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/bld_b32.bat
   * utils/hbdoc/bld_vc.bat
   + utils/hbdoc/hbdfrdln.c
     + Added HB_FREADLINE() to hbdoc, too. It's not
       used, just a small help to allow using it here,
       too, instead of ft_funcs.prg.

2008-08-25 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
    ! fixed _FIELD indirectly used as alias, f.e.:
         ? ("_FIELD")->NAME
      or:
         M->var := "_FIELD"
         ? ("&var")->NAME

  * harbour/include/hbclass.ch
  * harbour/include/common.ch
    * use a little bit simpler form for HB_SYMBOL_UNUSED()

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
    ! fixed numeric to pointer casting
    * accept both pointer and numeric values as window handle
      for easier code migration

2008-08-25 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/vm/cmdarg.c
     ! hb_hInstance, hb_hPrevInstance, s_iCmdShow, s_WinMainParam
       vars marked as 'static', hb_ prefix changed to s_.
       NOTE: This may pose a problem if some 3rd party code
             was relying on the names or the fact that these
             vars were exported by incident (since they were
             not declared in any Harbour headers.)
             [INCOMPATIBLE]

   * contrib/hbwhat32/whtmain.c
     ! Removed WinMain() function and some global vars colliding
       with some Harbour core ones.
     * HINSTANCE(), HPREVINSTANCE(), NCMDSHOW() functions now
       use Harbour API calls to retrieve values.

2008-08-25 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vc.mak
   * make_vcce.mak
     % Cleaned list of system libraries for VC. winspool.lib
       removed, the rest documented.
     * Syncing between VC and VCCE.
     ; NOTE: WinCE system lib list didn't get anything removed
             (just added), but nevertheless pls test it.

   * ChangeLog
     * Some cleanups (regarding my entries).

   * source/pp/hbpp.c
     ! Comment typo.

   * source/rtl/gtclip.c
     ! Fixed for __CYGWIN__.

   * contrib/hbw32/dllcall.c
     ! Disabled asm parts for __CYGWIN__ to make it compile.

   * config/w32/gcc.cf
     ! Added missing system lib wsock32 for Cygwin.

   * config/w32/gcc.cf
   * config/w32/cemgw.cf
   * config/w32/mingw32.cf
   * config/w32/owatcom.cf
   * config/w32/pocc.cf
   * config/w32/watcom.cf
   * config/w32/xcc.cf
     * Attempt to sort out system libs needed for core from
       those needed for contribs. No system libraries have
       been removed or added so far. [ I wonder why we need to
       include contrib sys lib dependencies here, when Harbour
       GNU make system doesn't build any contrib dependent
       executables. Also, some ws2_32.lib seems definitely
       superfluous. ]

   ; TOFIX: (for __CYGWIN__)
     ../../filesys.c: In function `hb_fsPOpen':
     ../../filesys.c:577: warning: passing arg 1 of `pipe' from incompatible pointer type

2008-08-25 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/tests/rddtest/rddmktst.prg
  * harbour/tests/rddtest/adscl52.prg
  * harbour/tests/rddtest/adscl53.prg
  * harbour/tests/rddtest/ntxcl52.prg
  * harbour/tests/rddtest/ntxcl53.prg
  * harbour/tests/rddtest/cdxcl52.prg
  * harbour/tests/rddtest/rddtst.prg
  * harbour/tests/rddtest/cdxcl53.prg
    * added copyright note. It's my code.

  * harbour/source/debug/dbgentry.c
    ! strip function name from module name used to initialize
      global and file wide variables. It fixes presenting file
      wide static variables in debugger.

  * harbour/source/debug/debugger.prg
    % minor optimization

2008-08-24 21:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbw32/w32_ole.c
   * contrib/hbole/ole2.c
     ! 64-bit fix for MessageBox() Harbour level functions.
     * Formatting.

2008-08-24 20:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbole/ole2.c
     ! Fixed GPF reported by Guillermo.
       (introduced in 1.0.0rc2 when switching from parnl to
       parptr as 64-bit cleanup, two calls were missed from
       the update).
     ! Fixed another potential problem.

2008-08-24 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/compiler/cmdcheck.c
   * source/compiler/hbusage.c
     * Changed default .c code generation option to -gc0 (from -gc2).
       So now the default is 'compact' (faster/smaller) instead of
       'verbose' (good to inspect/debug how Harbour pcode works).

   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_gcc.mak
   * contrib/mtpl_vc.mak
     % Removed explicit -gc0 switches from Harbour command lines.

   * make_vcce.mak
     % Removed unnecessary -DHB_WINCE from Harbour command line.

2008-08-24 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/vm/runner.c
   * source/vm/fm.c
   * source/common/hbver.c
   * source/rtl/hbgtcore.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/workarea.c
   * source/rdd/wacore.c
   * source/rdd/sdf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/delim1.c
   * source/rdd/dbf1.c
   * source/rdd/wafunc.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/compiler/hbmain.c
   * source/compiler/fixflex.c
   * source/compiler/gencobj.c
   * source/compiler/genc.c
   * source/compiler/harbour.yyc
   * source/compiler/harbour.y
   * contrib/hbct/disk.c
   * contrib/hbwhat32/whtcdlg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/examples/pp/hbppcomp.c
     * hb_strncpy()/hb_strncat() size parameter changed from
       CONSTANT to 'sizeof( dest ) - 1', where applicable.
     ! hbct/VOLUME() buffer overrun fixed.
     ; NOTE: dbfntx1.c has a couple of places where I wasn't
             sure of the intention, so I left them unchanged.

2008-08-24 11:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbmisc/spd.c
     ! strcpy() -> hb_strncpy()
       Patch by Xavi. Many thanks.

2008-08-23 12:52 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
  * harbour.spec
    * added missing contrib libs needed to build rpm packages:
      libhbmsql.a, libhbsqlit3.a, libhbtpathy.a

2008-08-23 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/common/hbwince.c
     ! strcpy() -> hb_strncpy()
     ; TOFIX: Only spd.c and dbgentry.c have some remaining strcpy()
              calls.

2008-08-23 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * tests/multifnc/t0.prg
   * tests/multifnc/t1.prg
   * tests/multifnc/t2.prg
   * source/rdd/usrrdd/example/exmemo.prg
   * source/rdd/usrrdd/example/exhsx.prg
   * source/rdd/usrrdd/example/exfcm.prg
   * source/rdd/usrrdd/example/exrlx.prg
   * contrib/xhb/hbsyslog.c
   * contrib/rddado/tests/mysql3.prg
   * contrib/rddado/tests/access1.prg
   * contrib/rddado/tests/access2.prg
   * contrib/rddado/tests/mysql1.prg
   * contrib/hbpgsql/tests/tstpgrdd.prg
     ! SVN headers.

   * contrib/hbwhat32/Makefile
   * contrib/hbwhat32/common.mak
   - contrib/hbwhat32/wintypes.ch
     - Removed wintypes.ch, as it collides with a header with
       the same name (and similar content) in xhb. It will
       now use the xhb one, since it already relied on other
       xhb headers anyway.
       If anyone wants to sort this out properly, pls do.

2008-08-23 16:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbgt/Makefile
   * contrib/hbgt/common.mak
   - contrib/hbgt/strdiff.c
   + contrib/hbgt/strdiffg.c
   - contrib/hbgt/charmix.c
   + contrib/hbgt/charmixg.c
   - contrib/hbgt/asciisum.c
   + contrib/hbgt/asciisgt.c
   - contrib/hbgt/ascpos.c
   + contrib/hbgt/ascposgt.c
   * contrib/hbgf/hbgfos2/Makefile
   - contrib/hbgf/hbgfos2/tmenuitm.prg
   + contrib/hbgf/hbgfos2/tmenuit.prg
     ! Some files renamed to not collide with each other
       on non-GNU make systems.

   * contrib/examples/hscript/cgi.ch
   * contrib/examples/hscript/dir.hs
   * contrib/examples/hscript/multiply.hs
   * contrib/examples/hscript/ugly.hs
   * contrib/examples/hscript/hello.hs
   * contrib/examples/guestbk/guestbk.ini
     + Added SVN headers.

   + source/rtl/gtalleg/common.mak
   + source/rtl/gtalleg/make_gcc.sh
   + source/rtl/gtalleg/make_b32.bat
   + source/rtl/gtalleg/make_vc.bat
     + Added non-GNU make file as an ugly hack to
       build them on Windows systems.

   - tests/altd.prg
   + tests/altdtest.prg
     * Rename.

   * include/hbver.h
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
     * Version changed to '1.0.1dev'.
       Trunk will need to be synced to tag/1.0.

   * common.mak
     + Added version to harbour.dll: harbour-101-b32/vc.dll
     ; Work in progress. Pls comment.

2008-08-23 13:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + contrib/hbnf/tests/ftgete.prg
     + Added test.

   * contrib/hbwhat32/Makefile
   * contrib/hbwhat32/common.mak
   + contrib/hbwhat32/whtbmp.c
   + contrib/hbwhat32/whtbrsh.c
   + contrib/hbwhat32/whtcall.c
   + contrib/hbwhat32/whtcdlg.c
   + contrib/hbwhat32/whtclpb.c
   + contrib/hbwhat32/whtcomm.c
   + contrib/hbwhat32/whtcret.c
   + contrib/hbwhat32/whtdate.c
   + contrib/hbwhat32/whtdc.c
   + contrib/hbwhat32/whtdir.c
   + contrib/hbwhat32/whtdlg.c
   + contrib/hbwhat32/whtdll.c
   + contrib/hbwhat32/whtdraw.c
   + contrib/hbwhat32/whtfont.c
   + contrib/hbwhat32/whtgdi.c
   + contrib/hbwhat32/whthead.c
   + contrib/hbwhat32/whticon.c
   + contrib/hbwhat32/whtilst.c
   + contrib/hbwhat32/whtinet.c
   + contrib/hbwhat32/whtini.c
   + contrib/hbwhat32/whtkbrd.c
   + contrib/hbwhat32/whtlv.c
   + contrib/hbwhat32/whtmain.c
   + contrib/hbwhat32/whtmapi.c
   + contrib/hbwhat32/whtmem.c
   + contrib/hbwhat32/whtmenu.c
   + contrib/hbwhat32/whtmeta.c
   + contrib/hbwhat32/whtmisc.c
   + contrib/hbwhat32/whtmmcap.c
   + contrib/hbwhat32/whtmous.c
   + contrib/hbwhat32/whtmsg.c
   + contrib/hbwhat32/whtpen.c
   + contrib/hbwhat32/whtprn.c
   + contrib/hbwhat32/whtrect.c
   + contrib/hbwhat32/whtreg.c
   + contrib/hbwhat32/whtrgn.c
   + contrib/hbwhat32/whtscrlb.c
   + contrib/hbwhat32/whtseria.c
   + contrib/hbwhat32/whtshell.c
   + contrib/hbwhat32/whtsock.c
   + contrib/hbwhat32/whtsys.c
   + contrib/hbwhat32/whttab.c
   + contrib/hbwhat32/whttbar.c
   + contrib/hbwhat32/whttext.c
   + contrib/hbwhat32/whttree.c
   + contrib/hbwhat32/whtview.c
   + contrib/hbwhat32/whtwnd.c
   - contrib/hbwhat32/_winbmp.c
   - contrib/hbwhat32/_winbrsh.c
   - contrib/hbwhat32/_wincall.c
   - contrib/hbwhat32/_wincdlg.c
   - contrib/hbwhat32/_winclpb.c
   - contrib/hbwhat32/_wincomm.c
   - contrib/hbwhat32/_wincret.c
   - contrib/hbwhat32/_windate.c
   - contrib/hbwhat32/_windc.c
   - contrib/hbwhat32/_windir.c
   - contrib/hbwhat32/_windlg.c
   - contrib/hbwhat32/_windll.c
   - contrib/hbwhat32/_windraw.c
   - contrib/hbwhat32/_winfont.c
   - contrib/hbwhat32/_wingdi.c
   - contrib/hbwhat32/_winhead.c
   - contrib/hbwhat32/_winicon.c
   - contrib/hbwhat32/_winilst.c
   - contrib/hbwhat32/_wininet.c
   - contrib/hbwhat32/_winini.c
   - contrib/hbwhat32/_winkbrd.c
   - contrib/hbwhat32/_winlv.c
   - contrib/hbwhat32/_winmain.c
   - contrib/hbwhat32/_winmapi.c
   - contrib/hbwhat32/_winmem.c
   - contrib/hbwhat32/_winmenu.c
   - contrib/hbwhat32/_winmeta.c
   - contrib/hbwhat32/_winmisc.c
   - contrib/hbwhat32/_winmmcap.c
   - contrib/hbwhat32/_winmous.c
   - contrib/hbwhat32/_winmsg.c
   - contrib/hbwhat32/_winpen.c
   - contrib/hbwhat32/_winprn.c
   - contrib/hbwhat32/_winrect.c
   - contrib/hbwhat32/_winreg.c
   - contrib/hbwhat32/_winrgn.c
   - contrib/hbwhat32/_winscrlb.c
   - contrib/hbwhat32/_winserial.c
   - contrib/hbwhat32/_winshell.c
   - contrib/hbwhat32/_winsock.c
   - contrib/hbwhat32/_winsys.c
   - contrib/hbwhat32/_wintab.c
   - contrib/hbwhat32/_wintbar.c
   - contrib/hbwhat32/_wintext.c
   - contrib/hbwhat32/_wintree.c
   - contrib/hbwhat32/_winview.c
   - contrib/hbwhat32/_winwnd.c
     * Renamed hbwhat32 files to not have a leading underscore
       and long filenames.

2008-08-23 11:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/pp/hbpp.c
   * source/vm/cmdarg.c
   * source/vm/memvars.c
   * source/rtl/dates.c
   * source/rtl/fstemp.c
   * source/rtl/gtchrmap.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfntx/dbfntx1.c
   * contrib/hbct/disk.c
   * contrib/hbfbird/firebird.c
   * contrib/hbw32/w32_ole.c
   * contrib/xhb/hboutdbg.c
   * contrib/examples/pp/hbppcore.c
     * strncpy() -> hb_strncpy()
     * strncat() -> hb_strncat()
     ! In most of these places the terminating zero
       was not explicitly set by the caller before.

   * contrib/hbnf/getenvrn.c
   * contrib/hbw32/dllcall.c
   * contrib/hbw32/w32_ole.c
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbwhat32/_windll.c
   * contrib/hbwhat32/_winmain.c
   * contrib/hbziparch/hbzipnew.cpp
     ! strcpy() -> hb_strncpy()
     ! strcat() -> hb_strncat()
     ; TOFIX1: There are still two strcpy()s left in SQL_SPRINTF().
               Xavi, could you pls take a look at it?
     ; TOFIX2: There are still a few strcpy()s in hbwince.c and
               dbgentry.c.

   * source/pp/hbpp.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * contrib/hbfbird/firebird.c
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbwhat32/_windll.c
     ! Fixed wrong buffer sizes (or no buffer limits) in some
       string copy operations (potential buffer overruns).

   * contrib/hbnf/getenvrn.c
     ! Fixed bad leak in FT_GETE() on Win32 systems.

   * source/rtl/fstemp.c
     ! hb_fsTempName(): Fixed potential buffer overrun by one byte.
     * Minor formatting.

   * source/rtl/fstemp.c
   * source/rtl/hbffind.c
   * contrib/xhb/hboutdbg.c
     * Using sizeof() instead of explicit size in string copy operations.
     ; TODO: There is a lot more to fix like this.

2008-08-22 22:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbtest/rt_array.prg
     + Added failing test case of doing AEval()
       and resizing the evaluated array in the
       eval codeblock.
     ; TOFIX

   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/hbmutils.prg
     ! Two EOL handling fixes applied.
       Thanks to Bill Robertson.
     ; Please test.

   * contrib/xhb/Makefile
   * contrib/xhb/common.mak
   + contrib/xhb/arrayblk.prg
     + Added HB_ARRAYBLOCK() from xhb.

2008-08-22 17:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/make_gcc_all.sh
     + Added darwin autodetection.

   * contrib/Makefile
     + Added HB_CONTRIB_ADDONS envvar which enables building
       local custom contribs stored in the contrib dir.
       A separate dir may be better, but we will see.

   * utils/hbtest/hbtest.prg
     * Changed test .dbf filename casing to lowercase.

   + tests/rddtest
   + tests/rddtest/rddmktst.prg
   + tests/rddtest/adscl52.prg
   + tests/rddtest/adscl53.prg
   + tests/rddtest/ntxcl52.prg
   + tests/rddtest/ntxcl53.prg
   + tests/rddtest/cdxcl52.prg
   + tests/rddtest/rddtst.prg
   + tests/rddtest/make_c52.bat
   + tests/rddtest/cdxcl53.prg
   + tests/rddtest/make_c53.bat
     + Added RDD tests from xhb.

2008-08-22 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtalleg/ssf.h
     ! Fixed to compile with BCC.

   * source/rtl/gtalleg/Makefile
     ! Missing SVN header.
     % Removed obsolete HB_MULTI_GT #define.

   * source/rtl/gtalleg/gtalleg.c
   * utils/hbmake/hbmake.prg
     ! Typos.

2008-08-22 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtalleg/gtalleg.c
     * GFX_* -> HB_GFX_*
     ; (untested)

2008-08-22 11:20 UTC+0100 JF Lefebvre (MAFACT) (jfl at mafact dot com)
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/Makefile
   * utils/hbmake/hbmake.prg
     % removing 'ANNOUNCE RDDSYS', not anymore needed
       causing some problem with msvc linking.
   * debug/debugger.prg
     % changing all GTI_ by HB_GTI_

2008-08-22 09:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
   * source/vm/debug.c
   * source/vm/hvm.c
   * source/vm/Makefile
   + source/vm/debugold.c
     + Added some HB_DBG_*() functions for compatibility
       with certain 3rd party libs. They are marked with
       HB_LEGACY_LEVEL, and will be removed (pbly at 1.1.0),
       so everyone is encouraged to use __DBG*() version
       for Harbour versions above 0x010000 (or not use
       them at all, if this is possible). If these functions
       are indeed needed for some functionality, it'd be
       good to hear about it, maybe there is a solution
       which doesn't require internals.

   * utils/hbdoc/ft_funcs.prg
   * utils/hbmake/ft_funcs.prg
     * Using FS_* manifest constants.

2008-08-22 08:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/bld_b32.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/hbmake.prg
     % Reduced executable size of hbmake and hbdoc
       (by 20%) by excluding unused libs and RDD stuff.
     % Optimized local non-GNU make files to work
       faster and generate faster executables.

   * utils/hbdoc/hbdocdef.ch
     % Removed unused macro.
     * minor formatting.

2008-08-21 18:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/bld_b32.bat
   * utils/hbdoc/bld_vc.bat
   - utils/hbdoc/fclass1.prg
   - utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbmake/Makefile
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/bld_b32.bat
   - utils/hbmake/fclass1.prg
   - utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/pickarry.prg
   - utils/hbmake/prb_stak.prg
   - utils/hbmake/pickfile.prg
     % Removed unused modules.
     % Replaced module with simple constructs.
     * Merged file handling classes and functions into
       one file, for easier syncing.

2008-08-21 18:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/tmake.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/pickarry.prg
   * utils/hbmake/pickfile.prg
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/hbmake.prg
     * Cleanups.
     ! Fixed open bug from previous commit (hopefully).

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   - utils/hbmake/readline.c
   + utils/hbmake/hbmfrdln.c
   * utils/hbmake/hbmlang.c
   + utils/hbmake/hbmgauge.c
     * readline.c -> hbmfrdln.c
       (made fully identical to /contrib/xhb/freadlin.c)
     * GAUGE*() stuff moved into separate file.
       (separate file is fully identical to /contrib/hbclipsm/gauge.c)
     ! GAUGE*() function copyright restored to original.

2008-08-21 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbcomp.h
     * Minor formatting (alignment).

   * ChangeLog
     ! Added missing file from previous entry.

   * contrib/hbclipsm/gauge.c
     ! Fixed very old bug (too small buffer for snprintf()).
     * Minor adjustment to Harbour percentage var retrieval.

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   - utils/hbmake/checkdef.ch
   - utils/hbmake/checks.ch
   - utils/hbmake/checks.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   - utils/hbmake/hbdocdef.ch
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmlang.c
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/Makefile
   * utils/hbmake/pickfile.prg
   * utils/hbmake/prb_stak.prg
   - utils/hbmake/radiodef.ch
   - utils/hbmake/radios.ch
   - utils/hbmake/radios.prg
   * utils/hbmake/readline.c
   * utils/hbmake/tmake.prg
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/hbdocdef.ch
     * Cleanups.
     % Removed unused parts.
     ! GAUGE*() functions synced with hbclipsm.lib.
     * Removed hbclip.ch requirement when compiled
       with CA-Cl*pper. (not tested)

2008-08-21 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/dbinfo.ch
   * include/dbstruct.ch
   * include/hbgtinfo.ch
   * include/hblang.ch
   * include/setcurs.ch
     ! Added "also used from C code" comments.

   * utils/hbmake/ffile1.prg
   * utils/hbdoc/ffile1.prg
     ! Minor cleanup.

   * include/hbgfxdef.ch
   * include/hbgtinfo.ch
     * Marked old GTI_*, GFX_* macros with HB_LEGACY_LEVEL.
       (Old macro HB_GT_NO_XHB no longer works)

   * include/hbsetup.ch
     + Added HB_LEGACY_LEVEL macro. Currently turned on.
       Will be turned off later, and completely removed
       as a final step. Times are not defined for these
       yet. Please prepare to modify your code to not
       use old legacy stuff.
       NOTE: C code using legacy Clipper (.api) headers are
             unaffected.

   * include/hbapirdd.h
     * Marked HARBOUR_* macros with HB_LEGACY_LEVEL

   * include/hbsetup.h
     * Marked OS_UNIX_COMPATIBLE, OS_PATH_DELIMITER
       macros with HB_LEGACY_LEVEL.

   * include/hbapifs.h
   * source/rtl/filesys.c
     * Marked hb_fileNameConv() as HB_LEGACY_LEVEL.
     ; 3rd party and app developers should switch to
       hb_fsNameConv().

   * source/rtl/box.c
   * source/rtl/console.c
   * source/rtl/filesys.c
   * source/rtl/gtapi.c
   * source/rtl/hbgtcore.c
   * contrib/hbclipsm/gauge.c
   * contrib/hbclipsm/status.c
   * contrib/hbct/ctwin.c
   * source/rtl/set.c
   * utils/hbmake/hbmlang.c
     * Updated core/contrib sources to use non-legacy names:
       HB_CLRSTR_LEN, HB_EVALINFO, PHB_EVALINFO, HB_FHANDLE
     ; TODO: FHANDLE -> HB_FHANDLE is incomplete yet.

   * include/hbdefs.h
     * Minor formatting.

   * include/hbmath.h
     ! #include  -> #include "hbmath.ch"

   * contrib/hbmysql/mysql.c
     + function SQLFETCHR() updated to allow fetching binary (BLOB)
       fields. [Thanks to Mitja Podgornik]

   * include/hbapifs.h
   * include/hbapigt.h
   * include/hbapiitm.h
   * include/hbdefs.h
   * include/item.api
   * include/filesys.api
   * include/gt.api
     * FHANDLE      -> HB_FHANDLE
     * EVALINFO     -> HB_EVALINFO
     * PEVALINFO    -> PHB_EVALINFO
     * EVALINFO_PTR -> marked as legacy
     * CLR_STRLEN   -> HB_CLRSTR_LEN
     ; Old names are still working if HB_LEGACY_LEVEL
       is #defined, and by default now it is.
     ; It's highly recommended to change all 3rd party and
       app C code to use the new #defines/types/functions.
     ; NOTE1: There are some more names which are still
              in the legacy "namespace", and gradually
              I'd like to clean some of these as well. The most
              important would be the type names, as these
              are currently colliding with multiple external
              packages, like windows.h, and it also makes it
              impossible to compile hbfimage on certain systems.
     ; NOTE2: I'd also like to move the *_PTR (like HB_ITEM_PTR)
              names to legacy status as we don't really use
              them except in a few VM files, and we have PHB_*
              as a wide-spread (and shorter) replacement.
     ; NOTE3: We may also use HB_LEGACY_LEVEL to obolete other
              legacy or unsafe functions, with better new
              alternatives.
     ; NOTE4: Here's a more or less complete list of names
              that _may_ cause such problems:
              ; Type related stuff
                - TRUE, FALSE
                - BOOL, BYTE, SCHAR, UINT, USHORT
                - INT_MAX, INT_MIN
                - INT16, INT16_MAX, INT16_MIN
                - INT24_MAX, INT24_MIN
                - INT32, INT32_MAX, INT32_MIN
                - INT64, INT64_MAX, INT64_MIN
                - LONG, LONG_MAX, LONG_MIN
                - LONGLONG, LONGLONG_MAX, LONGLONG_MIN
                - SHORT, SHRT_MAX, SHRT_MIN
                - UCHAR, UCHAR_MAX
                - UINT16, UINT16_MAX
                - UINT24_MAX
                - UINT32, UINT32_MAX
                - UINT64, UINT64_MAX
                - ULONG, ULONG_MAX
                - ULONGLONG, ULONGLONG_MAX
              ; Some hacks currently used:
                - HB_DONT_DEFINE_BASIC_TYPES
                - HB_DONT_DEFINE_BOOL
                - HB_OS_WIN_32_USED ->
                  (include  locally where needed)
              ; Compiler related stuff:
                - VS_*, VU_*, VT_*, FUN_*
                - *COMDECLARED, *COMCLASS, *COMSYMBOL
                - VAR, PVAR
                - _FUNC, PFUNCTION
                - _INLINE, PINLINE
                - _FUNCALL, PFUNCALL
                - _EXTERN, PEXTERN
                - AUTOOPEN, PAUTOOPEN
                - FUNCTIONS
                - INLINES
                - FUNCALLS
                - SYMBOLS
              ; Clipper compatibility #defines,
                better be moved behind a compatibility layer:
                - F_ERROR, FS_ERROR
                - IS*()
                - E_*, EF_*
                - FL_*, FLX_*, FO_*, FXO_*
                - _B_*
                - FC_*, FS_*, FD_*
                - INKEY_*, K_*
                - ES_*, EG_*
                - SC_*
                - DBS_*
              ; + All RDD related stuff, including "dbinfo.ch" constants.

2008-08-20 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/mtpl_b32.mak
   * contrib/mtpl_gcc.mak
   * contrib/mtpl_vc.mak
     ! Added -km switch to contribs by default.
       This way it's synced with the GNU-make system, too.

   * utils/hbdoc/hbdocdef.ch
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbmake/hbdocdef.ch
   * utils/hbmake/fclass1.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
     * Cleanups, optimizations (in ft_funcs.prg)
     ! Synced these for common files to be completely
       identical. In fact this is a fix, as their name
       is common so they were "randomly" interchanged
       along the non-GNU build process even before.
       There was only one very small functional difference,
       though.
     ; Please test.

2008-08-20 19:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/debug/dbgentry.c
     ! HB_DBG_*() -> __DBG*().
     ; I somehow completely missed this file from recent
       update, thanks Bill.

2008-08-20 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * tests/longdev.prg
   * tests/hbpptest/hbpptest.prg
   * tests/testcgi.prg
   * tests/foreach.prg
   * tests/onidle.prg
   * tests/tstchbx.prg
   * tests/codebl.prg
   * tests/tstdbi.prg
   * tests/vmasort.prg
   * tests/tstasort.prg
   * tests/testbrw.prg
   * tests/inkeytst.prg
   * tests/testrdd2.prg
   * tests/keywords.prg
   * tests/testhtml.prg
   * tests/readhrb.prg
   * tests/stripem.prg
   * tests/wvtext.prg
   * tests/testpre.prg
   * tests/seconds.prg
   * tests/fsplit.prg
   * tests/mousetst.prg
   * contrib/hbmysql/tmysql.prg
   * contrib/hbct/numconv.prg
   * contrib/hbct/ctmisc.prg
   * contrib/hbodbc/todbc.prg
   * contrib/hbapollo/tests/apollo.prg
   * contrib/hbnf/acctyear.prg
   * contrib/hbnf/acctadj.prg
   * contrib/hbnf/nwsem.prg
   * contrib/hbnf/week.prg
   * contrib/hbnf/acctmnth.prg
   * contrib/hbnf/savearr.prg
   * contrib/hbnf/madd.prg
   * contrib/hbnf/mouse1.prg
   * contrib/hbnf/month.prg
   * contrib/hbnf/findith.prg
   * contrib/hbnf/acctweek.prg
   * contrib/hbnf/pegs.prg
   * contrib/hbnf/acctqtr.prg
   * contrib/hbnf/nooccur.prg
   * contrib/hbnf/dayofyr.prg
   * contrib/hbnf/menu1.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/asum.prg
   * contrib/hbnf/aavg.prg
   * contrib/hbnf/any2any.prg
   * contrib/hbnf/adessort.prg
   * contrib/hbnf/amedian.prg
   * contrib/hbnf/blink.prg
   * contrib/hbnf/qtr.prg
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/xbox.prg
   * contrib/hbnf/ftround.prg
   * contrib/hbnf/invclr.prg
   * contrib/hbnf/tempfile.prg
   * contrib/hbnf/diskfunc.prg
   * contrib/hbnf/mouse2.prg
   * contrib/hbnf/daytobow.prg
   * contrib/hbnf/anomatch.prg
   * contrib/hbnf/datecnfg.prg
   * contrib/hbnf/tbwhile.prg
   * contrib/hbnf/year.prg
   * contrib/hbnf/elapsed.prg
   * contrib/hbnf/dfile.prg
   * contrib/hbnf/clrsel.prg
   * contrib/hbmisc/twirler.prg
   * contrib/hbmisc/fileread.prg
   * contrib/hbmisc/stringp.prg
   * contrib/hbgf/hbgfw32/winctrl.prg
   * contrib/hbgf/hbgfw32/form.prg
   * contrib/hbgf/hbgfos2/winctrl.prg
   * contrib/hbgf/hbgfos2/tform.prg
   * contrib/hbtip/httpcln.prg
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/examples/guestbk/guestbk.prg
   * contrib/examples/pe/editorhi.prg
     * Some more general code cleanups ( if() -> iif() ).

2008-08-20 11:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * tests/onidle.prg
   * tests/codebloc.prg
   * tests/keywords.prg
   * tests/wvtext.prg
   * tests/test_all.prg
   * tests/ainstest.prg
   * doc/es/compiler.txt
   * doc/es/file.txt
   * contrib/hbct/numconv.prg
   * contrib/hbct/tests/expomant.prg
   * contrib/hbwhat32/whatutil.prg
   * contrib/hbwhat32/winrbar.prg
   * contrib/hbwhat32/wintabs.prg
   * contrib/hbwhat32/wincomm.prg
   * contrib/hbwhat32/wincdlg.prg
   * contrib/hbwhat32/wintbar.prg
   * contrib/hbwhat32/_wininet.c
   * contrib/hbwhat32/wincore.prg
   * contrib/hbw32/w32_ole.c
   * contrib/hbapollo/tests/apollo.prg
   * contrib/hbnf/dispmsg.prg
   * contrib/hbnf/fttext.c
   * contrib/hbnf/mouse1.prg
   * contrib/hbnf/menu1.prg
   * contrib/hbnf/sleep.prg
   * contrib/hbnf/xbox.prg
   * contrib/hbnf/popadder.prg
   * contrib/hbnf/mouse2.prg
   * contrib/hbnf/pchr.prg
   * contrib/hbhpdf/tests/harupdf.prg
   * contrib/gtwvg/wvgclass.prg
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/gtwvg/wvgpaint.prg
   * contrib/rddads/tests/testmg.prg
   * contrib/hbclipsm/tests/testgaug.prg
   * contrib/hbfimage/tests/fitest.prg
   * contrib/hbmisc/twirler.prg
   * contrib/hbtip/httpcln.prg
   * contrib/hbtip/ftpcln.prg
   * contrib/hbvpdf/hbvpdft.prg
   * utils/hbmake/hbmake.prg
     * Some more general code cleanups.
     * iif(), quote char, #include, filename-casing, = usage cleanups,
       hardcoded absolute paths, non-ASCII drawing chars in source.
       Using mixed-case filenames to #include .ch files breaks on
       non-WinDOS platforms.

2008-08-20 10:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbmake/hbmake.prg
     * Some more general code cleanups.

2008-08-20 10:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbmzip/hbmzip.c
   * contrib/hbmzip/readme.txt
     ! Typos.

   * utils/hbdoc/rtf.prg
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/troff.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/tmake.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/pickarry.prg
   * utils/hbmake/pickfile.prg
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/hbmake.prg
     ! Fixed problems reported by Bill Robertson. (Thanks)
     * Some general code cleanups.

2008-08-19 17:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/en/string.txt
   * doc/en/rddord.txt
   * doc/hbmake.txt
     * More cleanups, formatting (filename casing, CA-Cl*pper, etc).

2008-08-19 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/en/string.txt
   * doc/en/rddord.txt
   * doc/en/treport.txt
   * doc/en/memvar2.txt
   * doc/en/terminal.txt
   * doc/en/rddmisc.txt
   * doc/en/setmode.txt
   * doc/en/rdddb.txt
   * doc/en/tbrowse.txt
   * doc/en/set.txt
   * doc/en/sayget.txt
   * doc/es/treport.txt
   * ChangeLog
   * utils/hbtest/rt_misc.prg
     * More cleanups, formatting (filename casing, CA-Cl*pper, etc).

2008-08-19 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/en/diskspac.txt
   * doc/en/string.txt
   * doc/en/rddord.txt
   * doc/en/terminal.txt
   * doc/en/rddmisc.txt
   * doc/en/datetime.txt
   * doc/en/array.txt
   * doc/en/rdddb.txt
   * doc/en/menu.txt
   * doc/en/file.txt
   * doc/en/eval.txt
   * ChangeLog
   * contrib/hbodbc/todbc.prg
   * contrib/hbodbc/tests/odbcdemo.prg
   * contrib/hbtpathy/readme.txt
   * utils/hbmake/pickfile.prg
     * More cleanups, formatting (filename casing, CA-Cl*pper, etc).

2008-08-19 14:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_deb.sh
     * Removed wrong comment recently added.
       (we will need to fix hbfimage compilation anyway)

   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * debian/control
   * include/vm.api
   * include/extend.api
   * include/button.ch
   * include/hbstack.h
   * include/item.api
   * include/rdd.api
   * include/gt.api
   * include/dbinfo.ch
   * include/error.api
   * include/filesys.api
   * include/hbapigt.h
   * include/clipdefs.h
   * include/assert.ch
   * include/fm.api
   * include/extend.h
   * source/compiler/genhrb.c
   * config/os2/install.cf
   * tests/db_brows.prg
   * tests/debugtst.prg
   * tests/ac_test.prg
   * tests/testhtml.prg
   * tests/tstcolor.prg
   * doc/hdr_tpl.txt
   * doc/man/harbour.1
   * doc/dirstruc.txt
   * doc/howtobld.txt
   * doc/en/diskspac.txt
   * doc/en/string.txt
   * doc/en/rddord.txt
   * doc/en/math.txt
   * doc/en/error.txt
   * doc/en/treport.txt
   * doc/en/memvar2.txt
   * doc/en/terminal.txt
   * doc/en/dir.txt
   * doc/en/rddmisc.txt
   * doc/en/var.txt
   * doc/en/nation.txt
   * doc/en/dbstrux.txt
   * doc/en/datetime.txt
   * doc/en/memo.txt
   * doc/en/tgetlist.txt
   * doc/en/tlabel.txt
   * doc/en/hb_compa.txt
   * doc/en/array.txt
   * doc/en/rdddb.txt
   * doc/en/dbsdf.txt
   * doc/en/tbrowse.txt
   * doc/en/hvm.txt
   * doc/en/input.txt
   * doc/en/dbdelim.txt
   * doc/en/browse.txt
   * doc/en/menu.txt
   * doc/en/file.txt
   * doc/en/binnum.txt
   * doc/en/tclass.txt
   * doc/en/set.txt
   * doc/en/misc.txt
   * doc/en/sayget.txt
   * doc/en/readme.txt
   * doc/es/diskspac.txt
   * doc/es/tlabel.txt
   * doc/es/array.txt
   * doc/es/dbsdf.txt
   * doc/es/tbrowse.txt
   * doc/es/math.txt
   * doc/es/hvm.txt
   * doc/es/treport.txt
   * doc/es/input.txt
   * doc/es/dbdelim.txt
   * doc/es/browse.txt
   * doc/es/memvar2.txt
   * doc/es/command.txt
   * doc/es/dir.txt
   * doc/es/file.txt
   * doc/es/eval.txt
   * doc/es/binnum.txt
   * doc/es/nation.txt
   * doc/es/var.txt
   * doc/es/tclass.txt
   * doc/es/dbstrux.txt
   * doc/es/misc.txt
   * doc/es/datetime.txt
   * doc/es/sayget.txt
   * doc/es/memo.txt
   * doc/es/readme.txt
   * doc/es/tgetlist.txt
   * doc/readme.txt
   * contrib/hbct/ctnet.c
   * contrib/hbct/video.c
   * contrib/hbct/dattime3.c
   * contrib/hbct/color.c
   * contrib/hbnf/acctyear.prg
   * contrib/hbnf/byteneg.prg
   * contrib/hbnf/isshare.prg
   * contrib/hbnf/sinkey.prg
   * contrib/hbnf/dhkey.h
   * contrib/hbnf/kspeed.c
   * contrib/hbnf/prtscr.c
   * contrib/hbnf/descendn.c
   * contrib/hbnf/peek.c
   * contrib/hbnf/scancode.prg
   * contrib/hbnf/vidmode.prg
   * contrib/hbnf/nwsem.prg
   * contrib/hbnf/acctadj.prg
   * contrib/hbnf/week.prg
   * contrib/hbnf/vidcur.prg
   * contrib/hbnf/iamidle.c
   * contrib/hbnf/prtesc.prg
   * contrib/hbnf/miltime.prg
   * contrib/hbnf/proper.c
   * contrib/hbnf/acctmnth.prg
   * contrib/hbnf/savearr.prg
   * contrib/hbnf/rand1.prg
   * contrib/hbnf/madd.prg
   * contrib/hbnf/dispmsg.prg
   * contrib/hbnf/settime.prg
   * contrib/hbnf/restsets.prg
   * contrib/hbnf/page.prg
   * contrib/hbnf/byt2bit.prg
   * contrib/hbnf/setkeys.c
   * contrib/hbnf/month.prg
   * contrib/hbnf/byt2hex.prg
   * contrib/hbnf/findith.prg
   * contrib/hbnf/at2.prg
   * contrib/hbnf/acctweek.prg
   * contrib/hbnf/dispc.c
   * contrib/hbnf/gcd.prg
   * contrib/hbnf/pegs.prg
   * contrib/hbnf/min2dhm.prg
   * contrib/hbnf/acctqtr.prg
   * contrib/hbnf/numlock.c
   * contrib/hbnf/dosver.prg
   * contrib/hbnf/nooccur.prg
   * contrib/hbnf/dayofyr.prg
   * contrib/hbnf/metaph.prg
   * contrib/hbnf/ontick.c
   * contrib/hbnf/menu1.prg
   * contrib/hbnf/byteand.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/bytexor.prg
   * contrib/hbnf/ftidle.c
   * contrib/hbnf/workdays.prg
   * contrib/hbnf/byteor.prg
   * contrib/hbnf/asum.prg
   * contrib/hbnf/shift.c
   * contrib/hbnf/sleep.prg
   * contrib/hbnf/wda.prg
   * contrib/hbnf/aavg.prg
   * contrib/hbnf/woy.prg
   * contrib/hbnf/origin.c
   * contrib/hbnf/any2any.prg
   * contrib/hbnf/chdir.c
   * contrib/hbnf/adessort.prg
   * contrib/hbnf/setdate.prg
   * contrib/hbnf/netpv.prg
   * contrib/hbnf/amedian.prg
   * contrib/hbnf/blink.prg
   * contrib/hbnf/stod.c
   * contrib/hbnf/vertmenu.prg
   * contrib/hbnf/qtr.prg
   * contrib/hbnf/linked.prg
   * contrib/hbnf/n2color.c
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/alt.c
   * contrib/hbnf/xbox.prg
   * contrib/hbnf/ftround.prg
   * contrib/hbnf/hex2dec.prg
   * contrib/hbnf/nwuid.prg
   * contrib/hbnf/dectobin.prg
   * contrib/hbnf/bitset.prg
   * contrib/hbnf/aemaxlen.prg
   * contrib/hbnf/nwlstat.prg
   * contrib/hbnf/invclr.prg
   * contrib/hbnf/ctrl.c
   * contrib/hbnf/lastday.prg
   * contrib/hbnf/tempfile.prg
   * contrib/hbnf/diskfunc.prg
   * contrib/hbnf/scregion.prg
   * contrib/hbnf/mouse2.prg
   * contrib/hbnf/d2e.prg
   * contrib/hbnf/ftisprn.c
   * contrib/hbnf/pickday.prg
   * contrib/hbnf/firstday.prg
   * contrib/hbnf/daytobow.prg
   * contrib/hbnf/anomatch.prg
   * contrib/hbnf/pvid.prg
   * contrib/hbnf/isbiton.prg
   * contrib/hbnf/color2n.c
   * contrib/hbnf/isbit.prg
   * contrib/hbnf/putkey.c
   * contrib/hbnf/cntryset.prg
   * contrib/hbnf/datecnfg.prg
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/easter.prg
   * contrib/hbnf/bytenot.prg
   * contrib/hbnf/ntow.prg
   * contrib/hbnf/poke.c
   * contrib/hbnf/aeminlen.prg
   * contrib/hbnf/floptst.prg
   * contrib/hbnf/pchr.prg
   * contrib/hbnf/savesets.prg
   * contrib/hbnf/mkdir.c
   * contrib/hbnf/year.prg
   * contrib/hbnf/caplock.c
   * contrib/hbnf/rmdir.c
   * contrib/hbnf/calendar.prg
   * contrib/hbnf/e2d.prg
   * contrib/hbnf/elapsed.prg
   * contrib/hbnf/sysmem.prg
   * contrib/hbnf/bitclr.prg
   * contrib/hbnf/eltime.prg
   * contrib/hbnf/aading.prg
   * contrib/hbnf/dfile.prg
   * contrib/hbnf/elapmil.prg
   * contrib/hbnf/setlastk.c
   * contrib/hbnf/pending.prg
   * contrib/hbnf/clrsel.prg
   * contrib/rddads/doc/en/adsfuncs.txt
   * contrib/rddads/doc/en/readme.txt
   * contrib/hbclip/hbclip.ch
   * contrib/hbclip/readme.txt
   * contrib/hbmisc/doc/en/ht_dbf.txt
   * utils/hbdoc/rtf.prg
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/troff.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/prb_stak.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/pickfile.prg
   * utils/hbmake/hbmutils.prg
     * More cleanups, formatting (filename casing, CA-Cl*pper, etc).

2008-08-19 11:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/w32/install.cf
   * doc/hbmake.txt
   * doc/whatsnew.txt
   * doc/man/hbdoc.1
   * doc/en/tlabel.txt
   * doc/en/set.txt
   * doc/en/readme.txt
   * doc/es/tlabel.txt
   * doc/es/rdd.txt
   * doc/es/hbpplib.txt
   * doc/es/treport.txt
   * doc/es/dirstruc.txt
   * doc/es/dir.txt
   * doc/es/file.txt
   * doc/es/readme.txt
   * source/rtl/setkey.c
   * source/rtl/tclass.prg
   * source/compiler/cmdcheck.c
   * contrib/hbmysql/utils/dbf2mysq.prg
   * contrib/hbw32ddr/readme.txt
   * contrib/hbodbc/odbc.txt
   * contrib/hbodbc/readme.txt
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbtpathy/ChangeLog
   * contrib/hbsqlit2/tests/hbsqlite.prg
   * contrib/hbapollo/ChangeLog
   * contrib/hbnf/byteneg.prg
   * contrib/hbnf/savearr.prg
   * contrib/hbnf/fttext.c
   * contrib/hbnf/restsets.prg
   * contrib/hbnf/byt2bit.prg
   * contrib/hbnf/byt2hex.prg
   * contrib/hbnf/ftint86.ch
   * contrib/hbnf/byteand.prg
   * contrib/hbnf/bytexor.prg
   * contrib/hbnf/byteor.prg
   * contrib/hbnf/origin.c
   * contrib/hbnf/bitset.prg
   * contrib/hbnf/popadder.prg
   * contrib/hbnf/menutonf.prg
   * contrib/hbnf/ftattr.c
   * contrib/hbnf/isbit.prg
   * contrib/hbnf/putkey.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/bytenot.prg
   * contrib/hbnf/savesets.prg
   * contrib/hbnf/tbwhile.prg
   * contrib/hbnf/ftmenuto.ch
   * contrib/hbnf/bitclr.prg
   * contrib/hbnf/readme.txt
   * contrib/rddads/doc/en/adsfuncs.txt
   * contrib/rddads/doc/en/readme.txt
   * contrib/rddads/readme.txt
   * contrib/hbgd/ChangeLog
   * contrib/hbgd/readme.txt
   * contrib/hbmisc/hb_f.c
   * contrib/hbtip/utils.c
   * contrib/hbbtree/doc/hb_btree.txt
   * contrib/examples/guestbk/guestbk.txt
   * contrib/examples/hscript/readme.txt
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbmake/checks.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/radios.prg
   * utils/hbmake/hbmake.prg
     ! Some more filename casing related cleanups.

2008-08-17 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbstack.h
   * include/hbsetup.h
   * include/hbapi.h
   * source/rtl/filesys.c
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/hbct/tests/ctwtest.prg
   * contrib/hbgd/ChangeLog
   * contrib/hbodbc/sql.ch
   * contrib/rddads/ads.ch
   * contrib/rddads/ads1.c
     ! Some more filename casing related cleanups.

2008-08-17 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/examples/guestbk/guestbk.ini
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/hscript/hscript.prg
   * contrib/examples/pp/hbppdef.h
   * contrib/examples/pp/hbpptbl.c
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/gtwvg/wvgclass.prg
   * contrib/hbapollo/tests/apollo.prg
   * contrib/hbgd/ChangeLog
   * contrib/hbgt/doc/gendoc.bat
   * contrib/hbmisc/doc/gendoc.bat
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/hbwhat32/_winclpb.c
   * contrib/hbwhat32/_windate.c
   * contrib/hbwhat32/_windc.c
   * contrib/hbwhat32/_windir.c
   * contrib/hbwhat32/_windraw.c
   * contrib/hbwhat32/_wingdi.c
   * contrib/hbwhat32/_winmisc.c
   * contrib/hbwhat32/_winpen.c
   * contrib/hbwhat32/_winprn.c
   * contrib/hbwhat32/_winrect.c
   * contrib/hbwhat32/_winrgn.c
   * contrib/hbwhat32/_winsock.c
   * contrib/hbwhat32/_wintbar.c
   * contrib/hbwhat32/import.ch
   * contrib/hbwhat32/sqltypes.ch
   * contrib/hbwhat32/windebug.prg
   * contrib/hbwhat32/winerror.prg
   * contrib/hbwhat32/winini.prg
   * contrib/hbwhat32/winrbar.prg
   * contrib/hbwhat32/winstruc.ch
   * contrib/hbwhat32/wintbar.prg
   * contrib/hbziparch/hbziparc.c
   * contrib/rddads/doc/gendoc.bat
   * doc/cmdline.txt
   * doc/dirstruc.txt
   * doc/en/cmdline.txt
   * doc/en/dbstrux.txt
   * doc/en/dir.txt
   * doc/en/file.txt
   * doc/en/rddord.txt
   * doc/es/dbstrux.txt
   * doc/es/file.txt
   * doc/es/hbpplib.txt
   * doc/howtomak.txt
   * doc/hrb_faq.txt
   * doc/windll.txt
   * include/dbinfo.ch
   * source/debug/dbghelp.prg
   * source/vm/classes.c
   * source/vm/hvm.c
   * tests/keywords.ch
   * tests/output.prg
   * tests/statics1.prg
   * tests/statics2.prg
   * tests/test_all.prg
   * tests/testcgi.prg
   * tests/testpre.prg
   * tests/testrdd2.prg
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmutils.prg
     ! Some filename casing related fixes, cleanups.
     * Some non-ASCII drawing chars in comments changed to ASCII ones.

2008-08-17 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbapirdd.h
   * include/hbsetup.h
     + Added the most commonly used old #defines for compatibility:
       - HARBOUR_MAX_RDD_DRIVERNAME_LENGTH
       - HARBOUR_MAX_RDD_ALIAS_LENGTH
       - OS_UNIX_COMPATIBLE
       - OS_PATH_DELIMITER
       Please try not to use these anymore, as they will be removed
       in version 1.1.

2008-08-17 08:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/dirstruc.txt
     * Updated to reflect current state. [Chen Kedem]

   * contrib/examples/pp/hbppcore.c
   * contrib/examples/pp/pp.c
   * contrib/hbct/disk.c
   * contrib/hbct/files.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbw32/tprinter.c
   * contrib/hbziparch/hbxdirec.c
   * contrib/hbziparch/hbziparc.c
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
   * doc/en/terminal.txt
   * include/hb_io.h
   * include/hbapifs.h
   * include/hbapirdd.h
   * include/hbdefs.h
   * include/hbsetup.h
   * include/hbwince.h
   * source/common/hbfsapi.c
   * source/compiler/gencobj.c
   * source/compiler/hbcomp.c
   * source/compiler/hbusage.c
   * source/debug/dbgentry.c
   * source/main/harbour.c
   * source/pp/hbpp.c
   * source/pp/ppcore.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rdd/usrrdd/usrrdd.c
   * source/rdd/wacore.c
   * source/rdd/wafunc.c
   * source/rdd/workarea.c
   * source/rtl/console.c
   * source/rtl/copyfile.c
   * source/rtl/defpath.c
   * source/rtl/direct.c
   * source/rtl/disksphb.c
   * source/rtl/file.c
   * source/rtl/filesys.c
   * source/rtl/fssize.c
   * source/rtl/fstemp.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/hbffind.c
   * source/rtl/hbinet.c
   * source/rtl/memofile.c
   * source/rtl/philes.c
   * source/rtl/seconds.c
   * source/rtl/set.c
   * source/vm/hvm.c
   * source/vm/main.c
     * Changed some macros to be in the HB_ namespace, to be
       possibly shorter, more unified and clearer.
       OS_UNIX_COMPATIBLE                -> HB_OS_UNIX_COMPATIBLE
       OS_PATH_LIST_SEPARATOR            -> HB_OS_PATH_LIST_SEP_CHR
       OS_PATH_DELIMITER                 -> HB_OS_PATH_DELIM_CHR
       OS_PATH_DELIMITER_STRING          -> HB_OS_PATH_DELIM_STR
       OS_PATH_DELIMITER_LIST            -> HB_OS_PATH_DELIM_LIST
       OS_FILE_MASK                      -> HB_OS_ALLFILE_MASK
       OS_DRIVE_DELIMITER                -> HB_OS_DRIVE_DELIM_CHR
       OS_HAS_DRIVE_LETTER               -> HB_OS_HAS_DRIVE_LETTER
       OS_OPT_DELIMITER_LIST             -> HB_OS_OPT_DELIM_LIST
       OS_EOL_LEN                        -> HB_OS_EOL_LEN
       HARBOUR_GCC_OS2                   -> HB_OS_OS2_GCC
       HARBOUR_START_PROCEDURE           -> HB_START_PROCEDURE
       HARBOUR_MAIN_STD                  -> HB_MAIN_STD
       HARBOUR_MAIN_WIN                  -> HB_MAIN_WIN
       HARBOUR_MAX_RDD_DRIVERNAME_LENGTH -> HB_RDD_MAX_DRIVERNAME_LEN
       HARBOUR_MAX_RDD_ALIAS_LENGTH      -> HB_RDD_MAX_ALIAS_LEN
       HARBOUR_MAX_RDD_AREA_NUM          -> HB_RDD_MAX_AREA_NUM
     ; INCOMPATIBLE change, please update your sources, a simple
       case-sensitive search and replace on .c/.cpp/.h/.hpp files
       will be enough for most sources.

2008-08-16 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * include/hbdefs.h
   * source/vm/mainwin.c
   * source/vm/hvm.c
   * source/hbpcre/_hbconf.h
   * source/hbzlib/ChangeLog
   * source/hbzlib/zconf.h
   * utils/hbmake/hbmake.prg
     * __EXPORT__ -> HB_DYNLIB

2008-08-16 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/os2/gcc.cf
     % Cleaned include path for OS/2/GCC.
       David, please test it if it still builds successfully.

   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * utils/hbmake/hbmake.prg
     % Removed using -D__EXPORT__ from any Harbour command lines,
       as this switch has no effect on the .prg level.

2008-08-16 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/linux1st.txt
     + Added some quick openSUSE package requirement information.

   * config/rules.cf
     ! Fixed .prg rule to add PRG_USR after the built-in rules,
       to allow overriding them. This way it's also in sync with
       non-GNU make files.

2008-08-16 03:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_rpm.sh
   * harbour.spec
     ! Added hbsqlit3, hbmsql to the contrib list.
     ! Added hbhpdf (libharu) detection and build.
     ; Untested

2008-08-16 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbmzip/hbmzip.c
     ! Fixed potential GPF in executable type detection.
       Fixes GCC 4.3.1 warnings in openSUSE 11.

   * dos/whatsnew.txt
     ! Minor typos.

   * tests/debugtst.prg
   * tests/funcarr.prg
   * tests/inherit.prg
   * tests/objarr.prg
   * tests/objasign.prg
   * doc/en/hvm.txt
   * doc/es/hvm.txt
   * include/hbextern.ch
   * source/vm/debug.c
   * source/vm/hvm.c
   * source/debug/dbgtobj.prg
   * source/debug/debugger.prg
   * source/rtl/altd.prg
     * Harbour level HB_DBG_*() functions renamed to __DBG*() to
       reflect their internal nature.
     - Removed old __VM*() synonyms to Harbour level __DBG*() functions.
       INCOMPATIBLE.
     ! Fixed a few minor doc bugs along the way.

2008-08-14 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * ChangeLog
     + Added entry for yesterday's syncing/tagging.

   * make_deb.sh
     ! Removed hbsqlit2 from contrib list.
     + Added libharu detection.
     + Added FreeImage detection (commented).
     * Contrib list more or less ordered by alphabet.
     ; [ QUESTION: Do we need to keep this logic duplicated here,
       if we now have the detection logic and contrib list
       embedded into the make system anyway? ]

   * doc/linux1st.txt
     * Synced with make_deb.sh.

2008-08-14 00:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    ! updated SunOS and HPUX library list
    ! allow to set startup .prg function in DJGPP builds

  * harbour/include/hbdefs.h
    ! defined HARBOUR_START_PROCEDURE procedure for DMC
      it fixes problem with executing final applications

  * harbour/config/w32/dm.cf
    ! disabled -o+time - with this switch wrong code is generated
      what can be seen in HBRUN

2008-08-13 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * SVN
     ; =========================================================
     ; =========================================================
     ; Fully synced /branches/harbour-1.0 with /trunk/harbour
     ; Created /tags/harbour-1.0.0 based on /branches/harbour-1.0
     ; (revision 9175)
     ; =========================================================
     ; =========================================================

2008-08-13 16:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * More minor adjustments.

2008-08-13 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/hpux/gcc.cf
  * harbour/config/sunos/gcc.cf
    ! fixed typo in comment

  * harbour/config/dos/owatcom.cf
    ! fixed build process in POSIX SHELL environment

2008-08-13 13:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * Minor adjustments, typo fixes.

2008-08-13 05:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/gtwvg/gtwvg.h
    ! added missing defines for DMC builds

  * harbour/contrib/gtwvg/wvgutils.c
    ! use HB_PTRDIFF for pointer to number casting

2008-08-13 05:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/pp/ppcore.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/common/hbver.c
  * harbour/source/macro/macrolex.c
  * harbour/source/hbpcre/pcrecomp.c
  * harbour/source/compiler/hbpcode.c
  * harbour/contrib/hbmisc/spd.c
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
    * pacified warnings

  * harbour/config/w32/dm.cf
    * updated to work with SHELL env
    - comment -w7 switch

2008-08-13 04:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbodbc/odbc.c
     ! Some recently updated code now conditionally restored
       to pre-ODBC 3.0 versions to support compilers (namely
       __DMC__) with old ODBC headers. I couldn't find out
       how to point DMC to newer (SDK) ODBC headers, but as
       soon as we do, we can remove this workaround.
       There is a similar problem with MSVC6.

2008-08-13 03:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtwvt/gtwvt.c
     ! Fixed one possible minor bug (synced from gtwvg.c),
       when pressing the mouse button for mark&select.

   * contrib/hbodbc/odbc.c
     ! Fixed some compile errors for __DMC__.
     ; TOFIX: Some more remain.
       ../../odbc.c(517) : Error: undefined identifier 'SQL_IS_INTEGER'
       ../../odbc.c(525) : Error: undefined identifier 'SQLSetStmtAttr'
       ../../odbc.c(536) : Error: undefined identifier 'SQLGetConnectAttr'
       ../../odbc.c(549) : Error: undefined identifier 'SQLGetStmtAttr'

   * contrib/gtwvg/gtwvg.c
   * contrib/gtwvg/gtwvg.h
   * contrib/gtwvg/wvgcore.c
   * contrib/gtwvg/wvgutils.c
     ! Synced (to some extent) with gtwvt.c, so that it now
       also compiles with __DMC__.
     ! Fixed a some more compile errors for __DMC__.
     ; TOFIX: Some more remain.
       ../../wvgutils.c(356) : Error: undefined identifier 'TTM_SETMARGIN'
       ../../wvgutils.c(367) : Error: undefined identifier 'TTM_GETMAXTIPWIDTH'
       ../../wvgutils.c(371) : Error: undefined identifier 'TTM_SETMAXTIPWIDTH'
       ../../wvgutils.c(385) : Error: undefined identifier 'TTM_GETTIPBKCOLOR'
       ../../wvgutils.c(389) : Error: undefined identifier 'TTM_SETTIPBKCOLOR'
       ../../wvgutils.c(402) : Error: undefined identifier 'TTM_GETTIPTEXTCOLOR'
       ../../wvgutils.c(406) : Error: undefined identifier 'TTM_SETTIPTEXTCOLOR'
       ../../wvgutils.c(761) : Error: undefined identifier 'UINT_PTR'
       ../../wvgutils.c(1296) : Error: undefined identifier 'LONG_PTR'
       ../../wvgutils.c(1297) : Error: undefined identifier 'ul'

   * config/w32/dm.cf
     ! Fix missed from previous commit added.
     * Added -x C compiler switch.

2008-08-13 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/gtwvt/gtwvt.c
    ! use HB_PTRDIFF for handle to number casting

2008-08-13 02:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_b32.bat
   * make_b32.mak
     - Removed dummy option HB_BUILD_MODE.

2008-08-13 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * Extended releases notes/issues section.

   * config/w32/dm.cf
     ! Fixed to exclude "possible extraneous ';'" warnings
       for every for()/while()/etc constructs with an empty body.
     ! Further fixes to link/lib rules.
     ; TOFIX1: odbc.c, gtwvg.c still don't compile.
     ; TOFIX2: Harbour executables won't run, by simply doing nothing.

   * source/rtl/gtwvt/gtwvt.c
     ! Fixed to compile with __DMC__.
     ; NOTE: Przemek, could you please check these?

   * include/hbsetup.h
     ! snprintf() for __DMC__.

   * contrib/hbw32/dllcall.c
     ! Fixed casting for __DMC__.

   * contrib/hbsqlit3/hbsqlit3.c
     ! Workaround for Pelles C 4.5 and Open Watcom, so that
       sqlite3.c won't be included for these compilers.
       Pelles C 4.5 crashes, Open Watcom 1.7 goes into an
       infinite loop on this huge file. For thes compilers
       the sqlite3 library should be supplied by the users.

   * contrib/hbapollo/apollo.c
     ! Fixed to compile with Open Watcom.

   * source/vm/mainwin.c
   * source/vm/hvm.c
     ! Fix for __DMC__ startup problem:
       'OPTLINK : Warning 134: No Start Address'

2008-08-12 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/w32/dm.cf
    * updated for central library directory used by Harbour - not tested

  * harbour/config/w32/xcc.cf
    ! fixed include PATH in XCC builds - Viktor be carefull with
      cleaning -I parameter. Some compilers use different
      rulles then the one you may expect using the most popular
      ones and such operation will break compilation. F.e. XCC
      seems to ignore source file location for releative paths
      so in GNU make builds it's necessary to add "-I$(TOP)"
      instead of "-I." and when included file starts with ".."
      then it does not try to use it with paths set by -I option
      so we need -I$(TOP)$(ROOT) and hard coded for this compiler
      directories in include/hbregex.h and include/hbzip.h

  * harbour/source/hbzlib/zutil.h
    ! do not use fdopen() with XCC - it does not support it

  * harbour/contrib/examples/pp/pp.c
  * harbour/contrib/examples/pp/hbppcore.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/rtl/fnsplit.c
  * harbour/source/rtl/fstemp.c
    ! always use _POSIX_PATH_MAX + 1 buffers

  * harbour/source/compiler/gencobj.c
    * extended line buffer size

  * harbour/source/rtl/gtcrs/gtcrs.h
    * removed unnecessary declaration for _POSIX_PATH_MAX
      it's always defined in Harbour header files

  * harbour/source/rtl/inkey.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/gtwvt/gtwvt.c
    * use hb_array[SG]et*() functions insteaf of
      hb_item*( hb_arrayGetItemPtr, ... )

2008-08-12 21:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/linux1st.txt
     * Some further updates.
       [1.0]

2008-08-12 20:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + config/w32/dm.cf
     + Digital Mars .cf file added. Some cleanups done, and
       TOFIX added besides the following:
     ; TOFIX: This file comes from xhb, and it needs to be updated
              to create core and contrib .lib files in central dir.
              Until then it doesn't work. Ryszard, if you see
              this, could you take a look?

   * config/dos/djgpp.cf
   * config/w32/bcc32.cf
   * config/w32/xcc.cf
     % Unnecessary CPPFLAGS -I options deleted:
       -I$(TOP)
       -I$(TOP)include
       -Iinclude
       -I$(TOP)$(ROOT)

   ; NOTE/TODO: CPPFLAGS -i usage should be cleaned for these files:
     config/dos/owatcom.cf
     config/linux/owatcom.cf
     config/os2/gcc.cf
     config/w32/owatcom.cf
     config/w32/watcom.cf

2008-08-12 19:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/linux1st.txt
     * Updated with hbgf package requirement information.
       [1.0]

   * contrib/hbcurl/hbcurl.ch
     * Minor update for libcurl 7.18.2
       [1.0]

2008-08-12 16:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/Makefile
   - doc/hbpplib.txt
     - Removed obsolete file.
       [1.0]

   * doc/linux1st.txt
     * Added required Ubuntu packages for all existing contribs
       (except hbgf).
       [1.0]

   * doc/whatsnew.txt
     + Added "Known issues", with MSVC 64 bit C mode compilation
       and hbfimage compile failure in Linux.
       [1.0]

2008-08-12 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_rpmw32.sh
  * harbour/make_rpmce.sh
    ! fixed release number setting for empty harbour release string
      [1.0]

2008-08-12 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbhpdf/Makefile
     ! Fixed to find libharu headers in its current default
       location. (tested on Ubuntu with .tar.gz package from
       libharu.org.)
       [1.0]

   ; Some more (albeit not new) errors from Ubuntu when compiled
     will all possible external packages installed:

     In file included from ../../fi_winfu.c:74:
     /usr/include/FreeImage.h:134: error: conflicting types for 'LONG'
     ../../../../include/hbdefs.h:205: error: previous declaration of 'LONG' was here
     In file included from ../../fi_wrp.c:74:
     /usr/include/FreeImage.h:134: error: conflicting types for 'LONG'
     ../../../../include/hbdefs.h:205: error: previous declaration of 'LONG' was here

2008-08-12 13:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_xmingw.sh
  * harbour/make_xmingwce.sh
    ! cleanup and some minor fixes
    * synced behavior of both scripts in few places
       [1.0]

  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsfunc.c
    ! fixed casting of parameters passed to snprintf()
       [1.0]

2008-08-12 12:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/rddads/adsfunc.c
     ! Fixed GCC warning (Ubuntu/GCC422 + ACE 9.00.0.0)
     ; TOFIX: These ones still remain:
       ../../ads1.c: In function 'adsInfo':
       ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32'
       ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32'
       ../../adsfunc.c: In function 'HB_FUN_ADSVERSION':
       ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 4 has type 'UNSIGNED32'
       ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 4 has type 'UNSIGNED32'
       ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32'
       ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32'
       ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32'
       [1.0]

2008-08-12 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/lang/msgcskam.c
   * source/lang/msgcs852.c
   * source/lang/msgcsiso.c
   * source/lang/msgcswin.c
     ! Typo fixed (by Vojtech Obrdlik).
       [1.0]

2008-08-11 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/hpux/gcc.cf
   * config/linux/gcc.cf
   * config/os2/gcc.cf
   * config/bsd/gcc.cf
     ! Never force the platform from the make files, rather
       rely on the autodetection in hbsetup.h.
       Compiling default parts of the software should only rely
       on manually set macros if there is no reasonable chance to
       make the detection automatic.

   * include/hbsetup.h
     ! HB_OS_LINUX, HB_OS_HPUX autodetection supposedly made more robust.
       [1.0]

   * include/hbsetup.ch
   * include/hbapi.h
   * source/rtl/hbffind.c
     - Removed HB_FILE_VER stuff. It's lost its importancy with SVN.
       [1.0]

   * include/Makefile
   * include/hbcommon.ch
     - Removed hbcommon.ch no longer needed. It only contained
       HB_FILE_VER related stuff.
       [1.0]

   * contrib/rddado/Makefile
     ! Excluded from OS/2 builds.

2008-08-11 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbmisc/spd.c
     ! Fix to SQL_SPRINTF() by Xavi.
       [1.0]

2008-08-11 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_xmingw.sh
     ! Fixed to look for hbpp in the path, like it does for
       harbour.
       [1.0]

2008-08-11 18:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/rules.cf
     % Removed unnecessary -I option from Harbour command line.

   * ChangeLog
     + Added entry to signal the branching.

2008-08-11 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * SVN
     ; =========================================================
     ; =========================================================
     + New '/branches/harbour-1.0' branch created.
       Any work involving 1.0.x versions should be done in this
       branch.
     ; In the "normal" repository (= the trunk = this one), the
       development of next main version (1.1) of Harbour should
       continue.
       To put it shortly:
       - Don't commit here anything belonging to 1.0.x.
       - Do commit everything belonging to 1.1.
       - Do commit everything belonging to 1.0 to /branches/harbour-1.0
     ; =========================================================
     ; =========================================================

2008-08-11 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.mak
     * Minor cosmetic sync with make_vc.mak

   * hbgtmk.sh
     ! Minor typos.

2008-08-10 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_xmingwce.sh
   * make_xmingw.sh
     ! Fixed to use full uppercase for script generated __PLATFORM__
       macros too. Przemek pls check me.

2008-08-10 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/rules.cf
   * make_b32.mak
   * make_gcc.mak
   * make_vcce.mak
   * make_vc.mak
     * -kM -> -km
     ! Synced make_vcce.mak HBFLAGSCMN flag with make_vc.mak.
       (-gc1 -> -gc0 -km)

   * make_xmingwce.sh
     ! Minor typos.

2008-08-10 16:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * updated library list for wince harbour.dll linking

  * harbour/source/common/hbwince.c
    ! fixed compilation new MinGWCE

2008-08-10 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/ChangeLog
  * harbour/include/hbextern.ch
    ! fixed typo, should be HB_REQUEST_SCALAR

2008-08-10 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbextern.ch
    * include scalar classes only when HB_REQUEST_SCALAR define is set

  * harbour/source/rtl/tobject.prg
    ! use :className instead of __objGetClsName(  ) in error
      message

2008-08-09 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * Minor corrections.

   * contrib/hbclipsm/Makefile
   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/num.c
   + contrib/hbclipsm/numfloor.c
   + contrib/hbclipsm/numceil.c
     * Moved CEILING() and FLOOR() to separate source files
       to lessen the impact with colliding function names in
       hbct.lib.

2008-08-09 18:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/extrap.c
    * use static buffer for signal alternative stack so it will not
      have to be deallocated for clean application exit

2008-08-09 18:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_gnu_os2.cmd
     * Minor formatting.

2008-08-09 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/runner.c
    ! fixed HB_HRBGETFUNSYM() to respect only function symbols

2008-08-09 17:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
   * include/hbextern.ch
   * source/vm/runner.c
     - Completely removed __HRBDOFU(). Users should use DO() instead.

2008-08-09 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/extrap.c
    * deallocate alternative signal stack on exit
      TOFIX: hb_vmSetExceptionHandler() / hb_vmUnsetExceptionHandler()
             cover only part of hb_vmInit() and not hb_vmQuit(). Their
             calls should be moved to external places where both
             hb_vmInit() and hb_vmQuit() are executed.

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed to not respect bitmap filters when structural order
      is scanned, f.e. in OrdListAdd() with active bitmap filter.

2008-08-09 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbsetup.h
     * Refinement to HB_OS_DARWIN autodetection.
       Thanks Przemek.

   * doc/whatsnew.txt
   * include/hbextern.ch
   * source/vm/runner.c
     * Refinements to previous commit.
       HB_HRBGETSYMBOL() -> HB_HRBGETFUNSYM()
       HB_HRBDOSYMBOL()  -> deleted
     * __HRBDOFU() made equivalent to __HRBDO()

2008-08-09 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-mkslib.sh
    * do not create temporary directory in MacOSX
    ! fixed absolute shared library soft links to be relative ones

2008-08-09 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/darwin/gcc.cf
     % Commented -Wno-long-double Darwin option. It seems that
       it's no longer needed with GCC 4.0.1.

2008-08-09 12:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/darwin/gcc.cf
     % Removed an unnecessary -I option from the GCC command line.

2008-08-09 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
   * bin/hb-mkslib.sh
     ! Changed the way harbour.dylib is created on Darwin systems
       to support universal builds. Please review and test.
     ! Fixed generating links for .dylibs on Darwin.
     ! Removed one excessive 'cd "${OTMPDIR}"' command.
       (I hope this is right)
     ! Removed previously added $(L_USR) from Darwin dynamic
       lib creation command line, as the L_USR "-arch" flags
       (and probably others) cannot work here.
     ; TOFIX: 'ld: library not found for -lharbour' is still
              present.

   * include/hbsetup.h
     + Added autodetection for HB_OS_DARWIN (based on __APPLE__).

   * config/darwin/gcc.cf
     ! Not forcing HB_OS_DARWIN from the command-line,
       we're relying on the autodetection.

   * source/rtl/hbzlib.c
   * include/hbextern.ch
   * doc/whatsnew.txt
     * Harbour level functions renamed:
       HB_COMPRESS      -> HB_ZCOMPRESS
       HB_COMPRESSBOUND -> HB_ZCOMPRESSBOUND
       HB_UNCOMPRESS    -> HB_ZUNCOMPRESS
       HB_UNCOMPRESSLEN -> HB_ZUNCOMPRESSLEN
       This is to avoid collision with xhb functions
       with similar name but different parameter list.
       Please modify your programs to use the new interface.
       INCOMPATIBLE.

   * utils/hbextern/hbextern.prg
     * Disabled scanning C HB_FUNC functions in .prg files.
     * Minor formatting.

   * include/hbapigt.h
     ! Minor cosmetic.

   * source/vm/runner.c
   * include/hbextern.ch
   * doc/whatsnew.txt
   * contrib/examples/hscript/hscript.prg
   * utils/hbrun/hbrun.prg
     * Harbour level functions renamed:
       __HRBRUN    -> HB_HRBRUN
       __HRBLOAD   -> HB_HRBLOAD
       __HRBDO     -> HB_HRBDO
       __HRBUNLOAD -> HB_HRBUNLOAD
       __HRBGETFU  -> HB_HRBGETSYMBOL
       __HRBDOFU   -> HB_HRBDOSYMBOL
       .hrb API functions moved to the documented namespace.
       Old function names still function, but are deprecated.
       Please modify your programs to use the new interface.
     ; NOTE: HB_DBG_*() function should I believe correctly
             named as __DBG*(), as they are indeed internal
             functions, not meant to guaranteed for final apps.
             We should do this cleanup in the future.

   * tests/Makefile
   - tests/spawn.prg
   - tests/spawn2.prg
     ! Removed two obsolete tests.

2008-08-08 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * bin/hb-mkslib.sh
     + Added $(L_USR) to Darwin dynamic lib creation command line.

   * config/darwin/gcc.cf
     * Changed '-o ' to a more robust expression.

2008-08-08 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbsqlit3/sqlite3/sqlite3.c
     ! Pacified one OSX GCC unused var warning.

2008-08-08 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/postinst.sh
    * use libtool instead of ar to create library on Darwin

  * harbour/make_tgz.sh
    * disabled self extracting shell envelop

2008-08-08 11:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * config/darwin/gcc.cf
     ! Added space after -o in CC_OUT to avoid a lot of
       warning messages.
       NOTE: Is there any way to add the ending space in a safer way?
             Now an editor can easily truncate it by incident.

2008-08-08 05:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/hbgtmk.sh
    * removed ncurses dependences

  * harbour/source/rtl/hbmd5.c
    * pacified warnings. Thanks to Xavi

2008-08-08 03:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * replaced all echo -n with echo - shells should remove trailing
      blank characters when stream command is not quoted by ""

2008-08-08 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_deb.sh
  * harbour/make_tgz.sh
  * harbour/make_rpm.sh
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
  * harbour/bin/pack_src.sh
    * force using BASH in all files which includes hb-func.sh

  * harbour/include/hbgtcore.h
  * harbour/include/hbapigt.h
  * harbour/include/hbextern.ch
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/inkeyapi.c
  * harbour/source/rtl/inkey.c
    + added HB_KEYINS() which works like HB_KEYPUT() but numeric
      key values puts at the beginning of keyboard buffer.
      It does not clear keyboard buffer contents.

2008-08-07 17:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/source/rtl/achoice.prg
    - Removed K_MOUSEMOVE functionality.

2008-08-07 16:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/source/rtl/achoice.prg
    + Added functionality for K_MOUSEMOVE.
      Now if the moouse is moved over the AChoice area,
      prompt ready for selection will also change, just like
      in Windows.

2008-08-08 01:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/genhtm.sh
     ! Minor fix to previous commit.

   * utils/hbdoc/rtf.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/hbdocdef.ch
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/troff.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/genrtf.prg
     ! Fixed to not convert filenames to uppercase. (sf.net #1673895)
     ! Formatting.
     * <> -> !=, .f. -> .F., .t. -> .T.
     ! = -> ==/:= (where the intent was clear)
     ! Added newline to the end of files.

2008-08-08 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + doc/genhtm.sh
     + Added Linux/Unix make file for docs (sf.net #1673897)
       Thanks to Wilfried Brunken - df7be.

2008-08-08 00:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    + recognize -mwindows -mconsole MinGW-GCC switches and update
      library list for them

  * harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    + added support HB_SET{TERM|DISP|KEY}CP() in non Unicode builds

2008-08-07 23:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   - doc/es/simplex.txt
   * doc/es/Makefile
     - Obsolete file removed.

2008-08-07 22:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     * Updated.

2008-08-07 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * contrib/examples/pp/pp.c
   * contrib/hbmisc/fileread.prg
   * contrib/hbmisc/tests/readfile.prg
   * contrib/hbmisc/tests/twirl.prg
   * contrib/hbmisc/twirler.prg
   * doc/en/readme.txt
   * doc/es/readme.txt
   * source/rtl/achoice.prg
   * tests/boxtst2.prg
   * tests/delimtst.prg
   * tests/devtest.prg
   * tests/disptest.prg
   * tests/inkeytst.prg
   * tests/longdev.prg
   * tests/output.prg
   * tests/round.prg
   * tests/sbartest.prg
   * tests/scroll.prg
   * tests/sdf_test.prg
   * tests/seconds.prg
   * tests/setkeys.prg
   * tests/testhtml.prg
   * tests/version.prg
   * utils/hbdoc/hbdoc.prg
     * Minor formattings, cosmetic updates,
       homepage made lower case everywhere.

2008-08-07 12:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/source/rtl/achoice.prg
    * Corrected behavior of K_LDBLCLK and K_LBUTTONDOWN.

2008-08-07 18:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/achoice.prg
     * Minor changes to mouse support. TOFIX/TODO added.

2008-08-07 17:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/debug/debugger.prg
    ! added missing semicolon for -DHB_NO_READDBG compilation
      Thanks to Lorenzo

2008-08-07 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/gtwvg/wvgutils.c
    ! fixed OpenWatcom compilation

2008-08-07 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    ! set HB_XBUILD evvar
  * harbour/bin/hb-func.sh
    ! do not move harbour.dll to HB_BIN_INSTALL directory when
      HB_XBUILD envvar is set

  * harbour/source/hbzlib/deflate.c
    * pacified warning

2008-08-07 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbver.h
     - Removed reference to hbverfix.

   * utils/hbmake/hbmake.prg
     - Removed local version number. Full Harbour version
       number is shown.

2008-08-07 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbodbc/odbc.c
    ! fixed casting in conditional expressions

2008-08-07 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbdefs.h
     % Tamed latest HB_SYMBOL_UNUSED() change to only affect
       __POCC__, __XCC__.

2008-08-07 13:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * excluded hbcplr library from harbour shared library

2008-08-07 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
    ! added hbextern library

  * harbour/harbour.spec
    * removed dependences on ncurses (--without gtcrs)

  * harbour/make_rpm.sh
    * added automatic ncurses detection

2008-08-07 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/pp/hbpp.c
   * utils/hbrun/hbrun.prg
     * Synced help screen, header and copyright layout.
       (some more minor)

2008-08-07 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/pp/hbpp.c
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/hbmake.prg
   * utils/hbtest/hbtest.prg
     * Synced help screen, header and copyright layout.

2008-08-07 10:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbodbc/odbc.c
     ! Replaced deprecated ODBC API calls to new ones, thus
       solving some potential buffer overflow problems and
       64 bit warnings.

   * contrib/hbodbc/tests/odbcdemo.prg
     ! Fixed some non-ASCII chars.

2008-08-07 09:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/achoice.prg
     * Minor formatting.

2008-08-07 09:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbdefs.h
     ! Changed HB_SYMBOL_UNUSED() to better work for all
       compilers, notably Pelles C.
     ! Fix to PFLL, although it didn't fix all GCC 4.3.1 warnings.
       These remained:
       ../../genc.c:1582: warning: unknown conversion type character 'l' in format
       ../../genc.c:1582: warning: too many arguments for format
       [ This change got merged with existing commit. ]
     ; Thanks to Przemek for these patches.

   * contrib/hbfbird/firebird.c
     % Using PFLL instead of local logic.

   * contrib/gtwvg/wvgutils.c
     ! Reverted some wrong fixes from previous commit.

2008-08-06 22:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * harbour/source/rtl/achoice.prg
    + Implemented mouse operations as follows.
      CASE ( nKey == K_MWFORWARD )
         Keyboard( Chr( K_UP ) )
      CASE ( nKey == K_MWBACKWARD )
         Keyboard( Chr( K_DOWN ) )
      CASE nKey == K_LDBLCLK
         Keyboard( Chr( K_ENTER ) )

2008-08-07 05:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbdefs.h
    ! fixed default printf length modifier for long long integer values

  * harbour/harbour.spec
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    ! fixed for new FM library name

2008-08-07 03:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/gtwvg/gtwvg.c
   * contrib/gtwvg/wvgutils.c
   * contrib/gtwvg/wvgcore.c
     ! Fixed 64 bit (MSVS 2008 64 bit and Pelles C 5 64 bit) related
       problems shown as warnings.
     ; Please review and test, especially WinCE and older MSVC builds.
     ; NOTE: There are many other 64 bit related problems not
             shown as compiler warnings.

2008-08-06 23:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbapollo/Makefile
     ! Excluded from DOS builds.

2008-08-06 22:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/hbzlib/zconf.h
     * Undone previous ZLIB_DLL related change, as it causes these
       warnings, when compiled with MSVS:
       hbzlib.obj : warning LNK4217: locally defined symbol _inflateEnd imported in function _hb_zlibUncompressedSize
       hbzlib.obj : warning LNK4217: locally defined symbol _inflate imported in function _hb_zlibUncompressedSize
       hbzlib.obj : warning LNK4217: locally defined symbol _inflateInit_ imported in function _hb_zlibUncompressedSize
       hbzlib.obj : warning LNK4217: locally defined symbol _zlibVersion imported in function _HB_FUN_HB_ZLIBVERSION
       hbzlib.obj : warning LNK4217: locally defined symbol _compressBound imported in function _HB_FUN_HB_COMPRESSBOUND
       hbzlib.obj : warning LNK4217: locally defined symbol _compress imported in function _HB_FUN_HB_COMPRESS
       hbzlib.obj : warning LNK4217: locally defined symbol _compress2 imported in function _HB_FUN_HB_COMPRESS
       hbzlib.obj : warning LNK4217: locally defined symbol _uncompress imported in function _HB_FUN_HB_UNCOMPRESS
       hbzlib.obj : warning LNK4217: locally defined symbol _gzclose imported in function _hb_gz_Destructor
       hbzlib.obj : warning LNK4217: locally defined symbol _gzopen imported in function _HB_FUN_HB_GZOPEN
       hbzlib.obj : warning LNK4217: locally defined symbol _gzdopen imported in function _HB_FUN_HB_GZDOPEN
       hbzlib.obj : warning LNK4217: locally defined symbol _gzsetparams imported in function _HB_FUN_HB_GZSETPARAMS
       hbzlib.obj : warning LNK4217: locally defined symbol _gzread imported in function _HB_FUN_HB_GZREAD
       hbzlib.obj : warning LNK4217: locally defined symbol _gzwrite imported in function _HB_FUN_HB_GZWRITE
       hbzlib.obj : warning LNK4217: locally defined symbol _gzgets imported in function _HB_FUN_HB_GZGETS
       hbzlib.obj : warning LNK4217: locally defined symbol _gzputs imported in function _HB_FUN_HB_GZPUTS
       hbzlib.obj : warning LNK4217: locally defined symbol _gzgetc imported in function _HB_FUN_HB_GZGETC
       hbzlib.obj : warning LNK4217: locally defined symbol _gzungetc imported in function _HB_FUN_HB_GZUNGETC
       hbzlib.obj : warning LNK4217: locally defined symbol _gzflush imported in function _HB_FUN_HB_GZFLUSH
       hbzlib.obj : warning LNK4217: locally defined symbol _gzseek imported in function _HB_FUN_HB_GZSEEK
       hbzlib.obj : warning LNK4217: locally defined symbol _gzrewind imported in function _HB_FUN_HB_GZREWIND
       hbzlib.obj : warning LNK4217: locally defined symbol _gztell imported in function _HB_FUN_HB_GZTELL
       hbzlib.obj : warning LNK4217: locally defined symbol _gzeof imported in function _HB_FUN_HB_GZEOF
       hbzlib.obj : warning LNK4217: locally defined symbol _gzdirect imported in function _HB_FUN_HB_GZDIRECT
       hbzlib.obj : warning LNK4217: locally defined symbol _gzerror imported in function _HB_FUN_HB_GZERROR
       hbzlib.obj : warning LNK4217: locally defined symbol _gzclearerr imported in function _HB_FUN_HB_GZCLEARERR

2008-08-06 22:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/compiler/hbusage.c
     + Updated credit list based on contributors
       committing ChangeLog entries.
       If anyone has someone to recommend to add to the list,
       please do this on the devl-list.

   * source/compiler/hbusage.c
   * source/compiler/cmdcheck.c
     + -k? switches made case-insensitive.

2008-08-06 17:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     + Updated with recent changes.

2008-08-06 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
    * changed FM lib name to HBFM

  * harbour/bin/hb-mkslib.sh
    * respect L_USR also in Windows builds

2008-08-06 16:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbapollo/Makefile
   * contrib/hbapollo/apollo.c
     ! Fixed include dir detection to honor file casing, to
       make it compatible with MinGW + bash.
       Could someone with Apollo for Linux check whether it uses
       'Sde61.h' or 'sde61.h' as the header name?
     ! Fixed to #include "Sde61.h" instead of "sde61.h"

2008-08-06 14:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
    * updated to create harbour.dll in HB_BIN_INSTALL instead of
      HB_LIB_INSTALL
    * added to library paths in hb* scripts HB_BIN_INSTALL directory
      for shared linking when harbour shared library does not exist
      in HB_LIB_INSTALL but it's present in HB_BIN_INSTALL

2008-08-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/hb-func.sh
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/hbgtcore.c
    * added const to s_defaultGT and s_pszLinkedMain declarations
    * make s_pszLinkedMain visible and functional for platforms
      which does not use HARBOUR_START_PROCEDURE

  * harbour/source/vm/extrap.c
    + added exception trap for SIGSEGV, SIGILL, SIGFPE and SIGBUS
      for *nixes which support sigaltstack()

  * harbour/include/hbwmain.c
  * harbour/source/vm/mainwin.c
    * use of WinMain() from hbwmain.c

  * harbour/source/pp/pplib.c
    * ignore all #pragma directives setting compiler switches instead
      of generating RT error when user uses PP in .prg code by __PP_*()
      functions

  * harbour/source/Makefile
  + harbour/source/hbextern
  + harbour/source/hbextern/hbextern.prg
  + harbour/source/hbextern/Makefile
  * harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
  * harbour/bin/hb-func.sh
    + added hbextern library
    + added hbextern to harbour shared library. Now all functions
      are registered and visible for dynamically linked applications
      not only .prg ones and .c functions explicitly bound with some
      .prg code

  * harbour/utils/hbrun/Makefile
  * harbour/utils/hbrun/hbrun.prg
    * use hbextern library instead of #include "hbextern.ch"
      It has no noticeable effect on static builds but greatly
      reduce the size of dynamic builds, f.e. current hbrun
      linked dynamically in my Linux box has 12KB.

2008-08-06 12:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * common.mak
     - Excluded hbdebug.lib from non-GNU make made harbour*.dlls.

2008-08-06 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdoc/hbdoc.prg
     ! Typos fixed on help screen.

2008-08-05 23:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/errorint.c
   * source/vm/estack.c
   * source/vm/hvm.c
   * source/vm/extrap.c
     + Added filename to stack traces. Someone please review me.
       Also, pls test if it compiles cleanly with OS/2.

2008-08-05 21:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/hbpcre/_hbconf.h
   * source/hbzlib/zconf.h
   * source/hbzlib/ChangeLog
     ! Fixed to pass down the Harbour DLL creation flag to
       integrated 3rd party sources.
       After this, pcre and zlib public symbols should be
       properly exported on Windows platform.
     ; NOTE: Harbour uses __EXPORT__ to signal DLL creation,
             which is not very ideal, so I'd suggest to
             switch to HB_DLL in future versions.

2008-08-05 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/examples/pp/bld_b32.bat
   * contrib/examples/pp/bld_vc.bat
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/guestbk/bld_vc.bat
   * contrib/examples/pe/bld_b32.bat
   * contrib/examples/pe/bld_vc.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/bld_vc.bat
   * contrib/examples/hscript/bld_b32.bat
   * contrib/examples/hscript/bld_vc.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/bld_b32.bat
     + Cleaning .c and .obj files after the build process.
     ! This is needed to not interfere with the GNU-make system,
       which would pickup and try to compile those temp .c files.

2008-08-05 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/bin/postinst.sh
    * added workaround for wrongly detected harbour root path in some
      environments

  * harbour/source/vm/extrap.c
    * minor modification

2008-08-05 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     + Added hbdot -> hbrun info.

   * utils/Makefile
     ! Missing change to previous commit.

   * contrib/examples/pp/bld_b32.bat
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/pe/bld_b32.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/hscript/bld_b32.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_b32.bat
     % -e switch removed from bcc32 command line.

2008-08-05 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * debian/rules
   - doc/man/hbdot.1
   * doc/man/hbrun.1
   - utils/hbdot
   * utils/hbrun/Makefile
   * utils/hbrun/hbrun.prg
   - utils/hbrun/external.prg
     * Replaced hbrun functionality with hbdot's.
     - Removed separate hbdot tool.

   * contrib/hbsqlit3/sqlite3/sqlite3.c
   * contrib/hbsqlit3/make_vc.bat
     ! Fixed bug in foreign code (sqlite3.c) to compile in
       MSVC C++ mode. (HANDLE -> HMODULE)
     * C++ mode is no longer forced in non-GNU MSVC builds,
       this way also avoiding a screen warning.

   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/bld_vc.bat
     ! Fixed to call 'patch' with '-N' so that it doesn't
       ask to reverse patches when run multiple times.

   + utils/hbdoc/bld_b32.bat
   + utils/hbdoc/bld_vc.bat
     + Added non-GNU make batch files to build hbdoc.
     ; This is a step towards detaching hbdoc from core.

   * utils/hbdoc/hbdocdef.ch
     ! Fixed equality operators to be SET EXACT independent.
     ; Minor formatting.

2008-08-05 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/utils/hbdot/hbdot.prg
    * removed holder class for HRB modules - it's not longer necessary
      because we have automatic destructors for .hrb modules
    * updated usage message for .hrb files
    * minor modifications

  * harbour/doc/man/hbdot.1
    * updated man page for recent modifications

2008-08-05 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + utils/hbmake/bld_vc.bat
   + utils/hbmake/bld_b32.bat
     + Added non-GNU make batch files to build hbmake.
     ; This is a step towards detaching hbmake from core.

   + contrib/examples/dbu/bld_vc.bat
   + contrib/examples/guestbk/bld_vc.bat
   + contrib/examples/hscript/bld_vc.bat
   + contrib/examples/pe/bld_vc.bat
   + contrib/examples/pp/bld_vc.bat
     + Added MSVC build scripts.

2008-08-05 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   + utils/hbmake/bld_vc.bat
   + utils/hbmake/bld_b32.bat
     + Added non-GNU make batch files to build hbmake.
     ; This is a step towards detaching hbmake from core.

2008-08-04 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbdot/hbdot.prg
     + hbdot is now able to run .hrb files too, by doing a check
       on the extension, similar to hbrun.

2008-08-04 22:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_gcc.mak
    ! fixed SPACEs used instead of TAB in clean command

2008-08-04 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * utils/hbmake/hbmake.prg
     ! Several minor typos corrected in main help screen.

2008-08-04 22:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/filesys.c
     * Minor formatting. [ Thanks for the patches, they got
       merged with prev commit. ]

2008-08-04 22:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/rddads/adsfunc.c
    ! fixed possibly unclosed AdsCloseSQLStatement()

  * harbour/contrib/rddads/ads1.c
    * minor cleanup and protection against possible strange results
      caused by indexes without tags

  * harbour/source/rtl/hbinet.c
    ! added protection against using wrong handles
    ! fixed possible resource leak (unclosed handle) when open handle is
      passed to HB_INETCONNECT[IP]()

  * harbour/source/rtl/filesys.c
    * cleaned warnings

2008-08-04 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbdefs.h
     ! Fixed 4 remaining warnings in BCC 5.8.2 builds.
       Many thanks to Przemek for the patch.
       NOTE: Now BCC58 core is warning-free and there are
             two warnings in its own header files, exploited
             by contrib hbcurl/libcurl.

2008-08-04 16:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * utils/Makefile
   - utils/hbpptest
   + tests/hbpptest
     * Moved hbpptest to tests.

2008-08-04 16:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * utils/Makefile
   - utils/hbver
     - Removed obsolete binary hbverfix.

2008-08-04 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/common.mak
  * harbour/source/compiler/Makefile
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/hbusage.c
    * disabled support for unfinished -gw compiler switch in
      default builds. It can be enabled by developers who will
      want to work on this code by recompiling Harbour with
      HB_GEN_W32_OBJ macro (f.e. by setting it in C_USR envvar)

2008-08-04 15:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/debug/dbgentry.c
    ! fixed some possible memory leaks or GPFs when wrong parameters
      are passed to debug functions
    * moved module name conversions (path stripping) into one place
      so in the future it will be easier to add automatic path detection

2008-08-04 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/genhrb.c
    ; added TOFIX note
    * pacified warning

2008-08-04 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_vcce.mak
   * make_b32.mak
   * make_vc.mak
     ! Fixed to delete .dlls from 'bin' dir, too.

2008-08-04 14:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
     ! Fixed to delete hbverbld.h from include dir on 'clean'.
     ! Using INCLUDE_DIR instead of some hard-wired 'include'
       dir references.

2008-08-04 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/console.c
  * harbour/source/rtl/box.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/rtl/do.c
  * harbour/source/rtl/filesys.c
    * cleaned warnings

  * harbour/source/vm/runner.c
    * respect references in parameters passed to init and startup
      functions

2008-08-04 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/pp/ppcore.c
    * cleaned warning

  * harbour/source/rtl/set.c
    * do not attach ".prn" extension to known device names also
      in DOS and Windows builds
    * recognize "CON" as device name in DOS, Win and OS2 builds

2008-08-04 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/debug/debugger.prg
     ! Avoided __PLATFORM__* macros in core code by using
       hb_FileMatch() instead of some local logic to make
       filename comparisons portable.
       Someone please check me if this is right.

2008-08-01 14:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/pp/ppcore.c
   * doc/whatsnew.txt
     ! __PLATFORM__* macros now all #defined in full uppercase.
       F.e.:
       __PLATFORM__Windows becomes __PLATFORM__WINDOWS
       __PLATFORM__Linux   becomes __PLATFORM__LINUX
       INCOMPATIBLE.

   * contrib/xhb/hbcompat.ch
     + Added compatibility #defines for __PLATFORM__* macros.

   * include/hbdefs.h
     ! Minor formatting.

   * harbour-ce-spec
   * harbour-w32-spec
   * make_xmingw.sh
   * make_xmingwce.sh
   * source/debug/debugger.prg
   * contrib/hbtpathy/telepath.prg
   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_tprn.prg
   * utils/hbdot/hbdot.prg
   * utils/hbmake/hbmake.prg
     * Changed __PLATFORM__* #define according to latest changes.
     ; NOTE: I find this kind of compile-time platform dependency
             quite wrong in an normal application, and we should
             definitely avoid it in core Harbour.
             In core Harbour there is one place where it would
             better be eliminated, and in order to do this, we'd
             need to have a filename equality comparison FS
             function. Maybe we already have one, I don't know.

2008-08-01 11:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/harbour.yyc
    * updated for recent harbour.y modifications - thanks to Viktor
      for remainder

2008-08-01 03:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbpp.h
  * harbour/include/hbexprb.c
  * harbour/source/pp/ppcore.c
  * harbour/source/vm/evalhb.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/fm.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/dynlibhb.c
  * harbour/source/vm/classes.c
  * harbour/source/rdd/hbsix/sxord.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.y
    * pacified warnings

2008-08-01 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbdefs.h
     ! Patch added to workaround following phoney warnings
       when using BCC 5.8 compiler (tested with 5.8.2):
       Warning W8017 C:\devl\BCC58\Include\stdint.h 77: Redefinition of 'INT16_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 78: Redefinition of 'INT32_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 79: Redefinition of 'INT64_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 82: Redefinition of 'INT16_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 83: Redefinition of 'INT32_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 84: Redefinition of 'INT64_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 87: Redefinition of 'UINT16_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 88: Redefinition of 'UINT32_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 89: Redefinition of 'UINT64_MAX' is not identical

       Many thanks to Przemek for this patch.

2008-07-31 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rdd/hbsix/sxcompr.c
    * pacified warnings

2008-07-31 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
    ! added "b" to fopen() flags to force binary mode in all systems
      during CRC32 calculation

2008-07-31 18:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbextern.ch
     + EXTERNAL __OBJGETPROPERTIES

   * doc/whatsnew.txt
     + Updated with new functions.

   * source/hbpcre/_hbconf.h
     ! Silenced a #pragma warning for MSVC 12.x.
     ; NOTE: Some notable MSVC 12.x warnings in Harbour code:
       source\rdd\hbsix\sxcompr.c(532) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(533) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(539) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(540) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       There are 3 more known warnings, the rest is common integer difference warning.

2008-07-31 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/classes.c
    + adding 2-nd parameter to __clsGetProperties()
      When it's TRUE then __clsGetProperties() returns also exported
      messages which have corresponding assign messages (with "_" prefix)

  * harbour/source/rtl/objfunc.prg
    + added __objGetProperties( oObject, [ lAllExported = .F. ] ) ->
                  aMsgAndValues
      This function returns list of PROPERTY message with their values,
      when 2-nd parameter is true it also returns exported messages which
      which have corresponding assign messages (with "_" prefix)
      This function is designed to use in object inspectors.

2008-07-31 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbmzip/readme.txt
    * changed parameters of HB_UnzipFileInfo()
      Now in 10-th parameter is @lCrypted and 11-th is @cComment

  * harbour/contrib/hbmzip/tests/myunzip.prg
    + show archive and file comment
    + show encrypted files ('*' after file name)

2008-07-31 14:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/zip.c
    ! set valid ZIP signature in header file (2.0)

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed ZIP encryption header by adding CRC32 checksum
      Now other tools should properly recognize password encrypted
      archives created by HBMZIP library. Please test.
    ! changed parameters of HB_ZipFileCreate() function to pass CRC32
      for password encrypted files:
         HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
                           nInternalAttr, nExternalAttr,
                           [ nMethod = HB_ZLIB_METHOD_DEFLATE ],
                           [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ],
                           [ cPassword, ulFileCRC32 ], [ cComment ] ) ->
                     nError
    + added new function to calculate CRC32 value from file body:
         HB_zipFileCRC32( cFileName ) -> nError
    + added translation for file attributes when DOS archive is
      decompressed in *nix environment

  * harbour/contrib/hbmzip/readme.txt
    * updated list of Harbour [UN]ZIP functions and parameters

2008-07-31 10:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/xhb/hbcompat.ch
     + Added translations for WildMatch(), hb_DeserialNext(),
       hb_Checksum().

2008-07-30 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
    ! set 0 as package release number - the release signature is necessary
      in RPM format and cannot be removed

2008-07-30 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    ! fixed wrongly hidden error message - it was causing memory leak
      Thanks to Roberto for information.

2008-07-30 11:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/dirstruc.txt
     * Some (incomplete) updates to the dir structure layout.

   * contrib/hbtpathy/tplinux.c
   * contrib/hbtpathy/tpwin32.c
     * Minor formatting.

   * contrib/hbtpathy/telepath.prg
     + Added TP_UNINSTALL() dummy compatibility function.

2008-07-30 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/xhb/dirrec.prg
    ! initialize cAttr parameter

  * harbour/contrib/hbmzip/ioapi.c
    * use hb_fopen() instead of fopen() to respect filename conversions:
      _SET_FILECASE, _SET_DIRCASE, _SET_DIRSEPARATOR, _SET_TRIMFILENAME

2008-07-30 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtwvt/gtwvt.c
     ! Fixed one MSVC 64 bit warning.

2008-07-30 03:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/memoedit.prg
     ! Fixed to never popup "Abort (Y/N)" when pressing 
       in case a user function is used with MemoEdit().

2008-07-30 01:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtwvt/gtwvt.c
     ! Fixed recent MSVC warning. Please test on WinCE/pre-1200
       MSVC versions.

2008-07-30 00:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/mlcfunc.c
    ! fixed possible infinite introduce in previous commit

2008-07-29 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/mlcfunc.c
    ! skip SOFTCR when it's on the end of extracted line.
    ; NOTE: MPOSTOLC() is not exactly CA-Cl*pper compatible
            The returned value is intentionally updated to be
            MLCTOPOS() so conversions are revertable. For me
            it's a bug in CA-Cl*pper.

2008-07-29 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/memoedit.prg
     ! Fixed so that "Abort (Y/N)" confirmation gets only popped
       up if _SET_SCOREBOARD is .T.. This way it's C5.x compatible.

2008-07-29 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
     * Disabled following contribs, to be in sync with the default
       GNU-make setup:
       hbsqlit2 - Too many warnings in unsupported foreign code. Replacement: hbsqlit3
       hbw32ddr - C++, not maintained, incomplete, warnings.
       hbwhat32 - Problems and warnings, non 64 bit compatible.
       hbziparch - C++, foreign code not well portable, interface
                   code not Harbour quality. Replacement: hbmzip
     ; NOTE: We should consider what to do with these contribs.

2008-07-29 04:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/filesys.c
    ! fixed casting in DOS builds

2008-07-29 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbhpdf/Makefile
     ! Refixed to exclude hbhpdf from DOS builds.

2008-07-28 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * tests/ainstest.prg
   * tests/array16.prg
   * tests/arrays.prg
   * tests/atest.prg
   * tests/clasinit.prg
   * tests/classch.prg
   * tests/classes.prg
   * tests/dates.prg
   * tests/db_brows.prg
   * tests/ddate.prg
   * tests/debugtst.prg
   * tests/dynobj.prg
   * tests/files.prg
   * tests/gfx.prg
   * tests/inline.prg
   * tests/keywords.prg
   * tests/objects.prg
   * tests/onidle.prg
   * tests/readhrb.prg
   * tests/rtfclass.prg
   * tests/speed.prg
   * tests/switch.prg
   * tests/test_all.prg
   * tests/testbrw.prg
   * tests/testcgi.prg
   * tests/testcls.prg
   * tests/testget.prg
   * tests/testhtml.prg
   * tests/testidle.prg
   * tests/testinit.prg
   * tests/testntx.prg
   * tests/testpers.prg
   * tests/testrdd2.prg
   * tests/teststr.prg
   * tests/tstblock.prg
   * tests/tstmacro.prg
   * tests/videotst.prg
   * tests/vidtest.prg
   * tests/wcecon.prg
     * Cleanups. SVN header, '=' operator usage.

2008-07-28 18:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * debian/changelog
     * Applied Guy's patch.

   * tests/rto_get.prg
     + Added two more test cases.
     ; They look good with latest tget.prg change.

2008-07-28 18:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/tget.prg
    ! fixed translation comma/dot translation for pictures with "@E"
      Viktor, please test it - I'm not very familiar with GET code
      and it's possible that I made sth wrong

2008-07-28 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/gttrm/gttrm.c
    ! set default color before raw scrolling in console emulation
      mode

2008-07-28 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/filesys.c
    + use utime() to set file date and time in all dos builds
      not only in DJGPP.

2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * harbour-ce-spec
   * harbour-w32-spec
   * include/hbver.h
   * harbour.spec
     * Removed 'rc2' tag in preparation for final release.

   * doc/whatsnew.txt
     ! Minor typos.

   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
     ! Fixed HB_DIR_* detection.

2008-07-28 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
    * converted TABs to SPACEs

  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * added const to some static array declarations

2008-07-28 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/tests/myzip.prg
  * harbour/contrib/hbmzip/tests/myunzip.prg
    * minor cleanup

2008-07-26 20:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * doc/whatsnew.txt
     + Updated for 1.0.0.

2008-07-26 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/tests/myzip.prg
    + added support for setting global comment
    + added support for scanning subdirectories

2008-07-26 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/zip.c
    ! fixed access to uninitialized member of z_stream by simple
      initialization. Anyhow it's minor bug in MINIZIP code exploited
      HB_ZipDeleteFile() which causes that TEXT flag is not set after
      raw binary file updating. There is also no API call to make it
      manually.

  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbmzip/readme.txt
    + added HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/dirscan.prg
    + added HB_DirScan( cPath, cFileMask, cAttr )

  * harbour/source/rtl/strmatch.c
    + added HB_FileMatch( cFile, cPattern )

  * harbour/include/hbextern.ch
    + added HB_DirScan(), HB_FileMatch()

  * harbour/contrib/xhb/dirrec.prg
    * changed to use HB_DirScan()

2008-07-26 12:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * TODO
     * Updated.
     ; QUESTION: Is this still valid?:
       Assign to: Przemek
       Detail...: Clean RDD code to be safe for return from RT errors
       Status...: Open.

2008-07-25 22:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbextern.ch
     + HB_OSFILEMASK() added.

2008-07-25 20:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/tgetlist.prg
     ! TGetList():ReadVar() implemented using duplicated code,
       instead of creating a dependency to hb_GetReadVar() in getsys.prg.

2008-07-25 19:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
    + added support to set archive comment:
         HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError
    + added support to get archive comment in append mode:
         HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ],
                     [ @cGlobalComment ] ) --> hZip
    + added support to set file comment:
         HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
                           nInternalAttr, nExternalAttr,
                           [ nMethod = HB_ZLIB_METHOD_DEFLATE ],
                           [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ],
                           [ cPassword ], [ cComment ] ) --> nError
         HB_ZipStoreFile( hZip, cFileName, [ cZipName ],
                          [ cPassword ], [ cComment ] ) --> nError
    + added new function which allow to extract archive comment:
         HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError
    + added support to extract file comment:
         HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime,
                           @nInternalAttr, @nExternalAttr,
                           @nMethod, @nSize, @nCompressedSize,
                           @cComment ) --> nError

  * harbour/contrib/hbmzip/readme.txt
    + added list of Harbour ZIP/UNZIP functions with parameters

2008-07-25 18:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/treport.prg
     ! Fixed RTE by removing some type constraints from object vars
       which get NILs assigned. Thanks to Ciro Vargas Clemow.

2008-07-25 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  + harbour/contrib/xhb/dirrec.prg
    + added DirectoryRecurse() function. It's not exactly xHarbour
      compatible as I wanted at the beginning. But when I begin
      to carefully check what xHarbour exactly does then I dropped
      the strict compatibility due to problems with xHarbour
      implementation which have to be fixed. I left this note in the
      dirrec.prg header:
         This implementation uses different rules then xHarbour one.
         It does not change current drive or current directory so
         unlike the xHarbour version it's MT safe.
         It also returns relative paths which are more similar to
         DIRECTORY() function results so they can be easy used
         directly in other code, f.e. to create archive without
         absolute paths. Please note that user can easy convert
         relative paths to absolte ones by simple adding curdir()
         and/or cPath parameter passed to DirectoryRecurse() but
         reverted conversion may not be possible in some cases.
         The 3-rd xHarbour parameter  is ignored because
         harbour uses platform native rules to check filename mask
         respecting SET FILECASE and SET DIRCASE settings.
         xHarbour does not add "D" to attribute list used for directory
         tree scanning so user always have to add it manually and later
         it ignores it so it's not possible to extract file list with
         directories entries. In Harbour it's fixed.

  * harbour/source/rtl/philes.c
    + added hb_osFileMask()

  * harbour/source/rtl/direct.c
    % minor optimization

2008-07-25 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbziparch/hbziparc.c
     ! Fixed bug reported by Juan Galvez.
     * Formatting, minor cleanup.

2008-07-24 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_xmingwce.sh
    * look for platform native hbpp also in default build paths

2008-07-24 18:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbinet.c
    ! fixed possible data file corruption due to wrong use of 0 handle.
      0 handle is perfectly valid. By default it points to stdin but
      it can be closed and then reused for any other thing, f.e. data
      file. In such case any data written to socket was written to
      such file and this situation was very easy to replicate with
      old hbinet code.
    ! fixed resource leak due to unclosed handles in few cases
    ! fixed possible double close of the some handle what could cause
      that other object handles reusing the same handle number between
      first and second close (f.e. data files) was wrongly closed
    ! fixed s_inetRecvPattern()/HB_INETRECVLINE() - the end pattern
      was wrongly checked and the code didn't detect end pattern in
      streams like: "...\r\r\n" when end pattern was "\r\n"
      NOTE: this code needs some general cleanup. IMHO it should be
      joined with adding hbinet C API.

2008-07-24 03:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbcurl/hbcurl.c
     ! Disabled string hashing for curl_formadd() with
       CURLFORM_COPYNAME. I've misread the docs (sorry Przemek),
       hashing is only needed for CURLFORM_PTRNAME, which we
       currently don't use. I've disbled some code to avoid
       unused function warnings, but other than that it may
       be good to have the possibility for hashing for future
       functions too.
     ! Fixed/Added support for CURLFORM_COPYNAME parameter
       with embedded zeroes by passing the string length
       using CURLFORM_NAMELENGTH. Not tested.

2008-07-23 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
    * pacified warnings

2008-07-23 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbcurl/hbcurl.c
    * activate string hasing in all builds for curl_formadd() with
      CURLFORM_COPYNAME
    * do not use string hasing fro curl_slist_append()

    Many thanks to Viktor for help.

2008-07-23 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/common/hbwince.c
    * formatting

  * harbour/contrib/hbcurl/hbcurl.c
    + use hash table to keep strings passed to CURL library accessible
      even if HVM destroys them. It should allow to safely use HBCURL
      wrapper also with CURL library older then 7.17.0 though it can
      be a little bit expensive in some cases. The allocated strings
      are freed when CURL pointer is destroyed (directly or by
      CURL_EASY_CLEANUP()) or reset by CURL_EASY_RESET().
      This feature is enabled only when compiled for CURL libraries
      older then 7.17.0 or when user set explicitly compile time macro
      HB_CURL_HASH_STRINGS
      Viktor, you are more familiar with this code so please check it.

2008-07-23 01:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_xmingwce.sh
    * fixed CCPATH setting - it has to be ended with ":"

2008-07-22 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/zip.c
  * harbour/contrib/hbmzip/unzip.c
    * use hb_xgrab()/hb_xfree() instead of malloc()/free()

2008-07-22 19:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/zip.c
    * set OS version information in ZIP header when ZIP archive is
      created by *nix Harbour build. It's necessary to inform some
      zip packages (f.e. infozip/unzip) that they should respect POSIX
      file permission during decompression.

2008-07-22 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed storing/setting file date, time and attributes in *nixes

  * harbour/include/hbapifs.h
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! replaced hack with direct bit conversion in *nixes attributes
      by bit testing

2008-07-22 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbct/files.c
  * harbour/contrib/hbmzip/hbmzip.c
    * use new hb_fs*() functions when native platform code does not exist

2008-07-22 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/filesys.c
    * casting for DOS OpenWatcom builds and added missing header file

2008-07-22 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/gtwvt/gtwvt.c
    * disabled SetWindowLongPtr() in 32bit MSVC WinCE builds

  * harbour/source/rtl/hbffind.c
    * minor cleanup.

  * harbour/source/rtl/filesys.c
    + implemented hb_fsGetAttr() and hb_fsGetFileTime() for DOS, MS-Win,
      OS2 and *nixes. Please test it on different platforms.

2008-07-22 11:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/genobj32.c
    ! casting

2008-07-22 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/gtwvt/gtwvt.h
    * added yet another one MSVC-WinCE missing definition

2008-07-22 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * include/hbapifs.h
   * source/rtl/filesys.c
     + Added skeletons for hb_fsGetAttr() and hb_fsGetFileTime()
       TODO: Implementation.

   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/Makefile
   - contrib/hbclipsm/dbf.c
     ! Removed duplicate implementation of DBF() from hbclipsm.lib

   ; TOFIX:
     I'm getting these new warnings under BCC55:
     Warning W8080 source\rtl\filesys.c 2718: '_fstat(int,_stat *)' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_disable()' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_enable()' is declared but never used
     Warning W8080 source\rtl\fssize.c 142: '_fstat(int,_stat *)' is declared but never used

2008-07-21 21:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/gtwvt/gtwvt.h
    * added some definitions which seems to be missing in some MSVC-WinCE
      versions

  * harbour/source/rtl/gtwvt/gtwvt.c
    * cleaned SetWindowLongPtr()/SetWindowLong() usage so now all calls
      are protected by the same #if condition

2008-07-21 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbwince.h
    * added DRIVE_UNKNOWN declaration for MSVC WinCE builds

  * harbour/source/common/expropt2.c
    * pacified warning

2008-07-21 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/ChangeLog
  * harbour/contrib/hbtip/ChangeLog
    * replaced TABs with SPACEs

  * harbour/source/compiler/genobj32.c
    ! fixed memory leak
      TODO: disable this module in default builds until it will not
      be fixed to generate valid OMF .obj files

2008-07-17 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbw32/dllcall.c
    * minor cleanup in return values

  * harbour/contrib/hbole/ole2.c
    * cleaned casting in UNICODE conversions

  * harbour/source/common/expropt2.c
    * replicate CA-Cl*pper compile time optimization bugs:
         "" $          => .T.
         AT( "",  )    => 1
         CHR( 256 )                 => ""
      only when Harbour extensions (-kh) are not enabled, f.e.
      in strict Clipper compatibility mode (-kc)

  * harbour/utils/hbtest/rt_hvma.prg
  * harbour/utils/hbtest/rt_str.prg
    * updated to test Clipper and Harbour compile time modes in
      the above situations

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/strings.c
  * harbour/source/common/hbstr.c
    * moved hb_strEmpty() from RTL to COMMON library

  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/source/common/expropt2.c
    + added compile time optimization for EMPTY() function
    ; removed 'TODO: empty optimization' note

  * harbour/source/rtl/itemseri.c
    % compress trailing spaces during string item serialization

  * harbour/include/hbapi.h
  * harbour/source/vm/hashes.c
    + added hb_hashAddNew() - works like hb_hashAdd() but it adds item
      only if new key is used

  * harbour/source/vm/hvm.c
    * use hb_hashAddNew() instead of hb_hashAdd() for HB_P_HASHGEN
      I cannot revert the order of hash item during compilation because
      it will also change the order of user expression evaluation.

2008-07-17 03:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbtpathy/tplinux.c
    * workaround for missing CRTCTS declaration in OpenWatcom

  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/hbsqlit3/hbsqlit3.c
    * pacified warnings
    ! fixed C++ compilation

  * harbour/contrib/gtwvg/gtwvg.h
    * add hack for missing GCLP_HCURSOR declaration in OpenWatcom

  * harbour/contrib/hbtpathy/tpwin32.c
  * harbour/contrib/hbw32/dllcall.c
  * harbour/contrib/hbw32/w32_osc.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/hbgf/hbgfw32/win32.c
    * updated for UNICODE builds
    * pacified warnings

2008-07-15 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/hbmd5.c
    ! fixed MD5 calculations

2008-07-15 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbgf/hbgfgtk/Makefile
    * do not add default system include directory to C_USR during testing
      for foreign header files when HB_XBUILD variable is set - protection
      against including wrong header files in cross builds

  * harbour/contrib/hbtpathy/ChangeLog
    * changed SVN EOL style to 'native'

  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    * pacified warning

2008-07-12 16:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * source/rtl/gtwvt/gtwvt.c
    * #if defined(_MSC_VER) and (_MSC_VER >= 1200) =>
      #if defined(_MSC_VER) && (_MSC_VER >= 1200)
    *#elif  =>  #else

     /* JF Please check with BCC also */

2008-07-11 19:52 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com)
  * harbour/source/rtl/gtwvt/gtwvt.c
    * Reversed my change LONG_PTR to LONG but to HB_LONG type for 64 bit compatibility

2008-07-11 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbct/files.c
    * changed SETFATTR() to use hb_fsSetAttr()

2008-07-11 18:20 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com)
  * harbour/source/common/hbver.c
    * protected by a #define the use of the new structure OSVERSIONINFOEXA, not know by MSVC 6 (_MSC_VER < 1400)

  * harbour/source/rtl/gtwvt/gtwvt.c
    * Change LONG_PTR to LONG as LONG_PTR was unknow by MSVC compiler and finally the expected type for SetWindowLongPtr() is LONG.
    * protected by a #define the call to SetWindowLongPtr(), not know by MSVC 6 (_MSC_VER < 1400)
    * not tested as working, just compile ok  !!!


2008-07-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/dbedit.ch
  * harbour/source/rtl/dbedit.prg
    + added support for undocumented Clipper DE_APPEND mode - code
      covered by HB_C52_UNDOC
    % ignore K_MOUSEMOVE events to avoid flickering just like CA-Cl*pper
      does
    + added support for cell positioning with mouse left key - CL53
      compatible behavior covered by HB_COMPAT_C53 macro
    * changed static function name dbEditCallUser() to CallUser() for
      strict Clipper compatibility - some user function code may check
      PROCNAME()
    * some minor optimizations and fixes

  * harbour/contrib/hbmzip/hbmzip.c
    * indenting

  * harbour/source/vm/hvm.c
    * formatting

2008-07-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/macro.c
    ! fixed RT error when invalid symbol string is precompiled

2008-07-10 18:51 UTC+0100 Miguel Angel Marchuet 
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    ! fixed casting for indexes with key length greater then 196 bytes
      created on tables with record number smaller then 256. In such
      case if keys have equal value then after decoding they may need
      more then 32767 bytes and casting to SHORT gives negative indexes.
      Thanks to Saulius Zrelskis for example.
    % changed some SHORT to INT to reduce runtime overhead
  * contrib/hbziparch/hbziparc.c
    ! fixed some unused variables.
    * minor sintax corrections.

2008-07-09 22:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbcurl/hbcurl.c
     + Changed to use Harbour memory allocation functions in
       libcurl.

2008-07-09 22:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/make_xmingwce.sh
    ! fixed HB_PPGEN_PATH setting

2008-07-09 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/filesys.c
    ! casting

2008-07-09 18:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbwince.h
  * harbour/source/common/hbwince.c
    + added SetFileAttributesA() for WinCE builds

  * harbour/source/rtl/filesys.c
    * replaced UNICODE translations for SetFileAttributes()
      with direct call to SetFileAttributesA()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/direct.c
  * harbour/source/rtl/filesys.c
    * changed internal representation for file attributes from USHORT
      to ULONG
    + added support for POSIX permission attributes in .c code
    ; added some comments about used attribute translations which
      should be cleand

2008-07-09 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/hbmzip/hbmzip.c
    ! added missing DJGPP header files

  * harbour/source/rtl/filesys.c
    * finished hb_fsSetAttr()

  * harbour/source/rtl/set.c
    % optimized for loop

2008-07-09 12:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/rtl/set.c
    ! do not add .prn extension to printer/extra filenames if file name
      is one of well known device name: PRN, LPT[1-3], COM[1-9]
      This code is enabled only for OS2 builds where it's necessary
      but maybe MS-Windows/DOS users should think about adding it to
      their builds too because sometimes also DOS/Win does not recognize
      correctly device name when it has extension.

2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
   * source/codepage/cp_tpl.c
   * source/codepage/cpbg866.c
   * source/codepage/cpbgiso.c
   * source/codepage/cpbgmik.c
   * source/codepage/cpbgwin.c
   * source/codepage/cpcs852.c
   * source/codepage/cpcsiso.c
   * source/codepage/cpcskam.c
   * source/codepage/cpcswin.c
   * source/codepage/cpde850.c
   * source/codepage/cpdeiso.c
   * source/codepage/cpdewin.c
   * source/codepage/cpel737.c
   * source/codepage/cpelwin.c
   * source/codepage/cpes850.c
   * source/codepage/cpesmwin.c
   * source/codepage/cpeswin.c
   * source/codepage/cpfr850.c
   * source/codepage/cphr1250.c
   * source/codepage/cphr437.c
   * source/codepage/cphr852.c
   * source/codepage/cphu852.c
   * source/codepage/cphu852s.c
   * source/codepage/cphuiso.c
   * source/codepage/cphuisos.c
   * source/codepage/cphuwin.c
   * source/codepage/cphuwins.c
   * source/codepage/cpit437.c
   * source/codepage/cpit850.c
   * source/codepage/cpitisb.c
   * source/codepage/cpitiso.c
   * source/codepage/cpltwin.c
   * source/codepage/cppl852.c
   * source/codepage/cppliso.c
   * source/codepage/cpplmaz.c
   * source/codepage/cpplwin.c
   * source/codepage/cppt850.c
   * source/codepage/cpptiso.c
   * source/codepage/cpru866.c
   * source/codepage/cpruiso.c
   * source/codepage/cprukoi.c
   * source/codepage/cpruwin.c
   * source/codepage/cpsk852.c
   * source/codepage/cpskiso.c
   * source/codepage/cpskkam.c
   * source/codepage/cpskwin.c
   * source/codepage/cpsl437.c
   * source/codepage/cpsl852.c
   * source/codepage/cpsliso.c
   * source/codepage/cpslwin.c
   * source/codepage/cpsrwin.c
   * source/codepage/cpsv850.c
   * source/codepage/cpsvclip.c
   * source/codepage/cpsvwin.c
   * source/codepage/cptr857.c
   * source/codepage/cptrwin.c
   * source/codepage/cpua866.c
   * source/codepage/cpuakoi.c
   * source/codepage/cpuawin.c
   * source/compiler/genc.c
   * source/lang/msg_tpl.c
   * source/lang/msgbe866.c
   * source/lang/msgbewin.c
   * source/lang/msgbg866.c
   * source/lang/msgbgiso.c
   * source/lang/msgbgmik.c
   * source/lang/msgbgwin.c
   * source/lang/msgca.c
   * source/lang/msgcs852.c
   * source/lang/msgcsiso.c
   * source/lang/msgcskam.c
   * source/lang/msgcswin.c
   * source/lang/msgde.c
   * source/lang/msgdewin.c
   * source/lang/msgel.c
   * source/lang/msgelwin.c
   * source/lang/msgeo.c
   * source/lang/msges.c
   * source/lang/msgeswin.c
   * source/lang/msgeu.c
   * source/lang/msgfr.c
   * source/lang/msggl.c
   * source/lang/msghe862.c
   * source/lang/msghewin.c
   * source/lang/msghr437.c
   * source/lang/msghr852.c
   * source/lang/msghriso.c
   * source/lang/msghrwin.c
   * source/lang/msghu852.c
   * source/lang/msghucwi.c
   * source/lang/msghuiso.c
   * source/lang/msghuwin.c
   * source/lang/msgid.c
   * source/lang/msgis850.c
   * source/lang/msgit.c
   * source/lang/msgko.c
   * source/lang/msgltwin.c
   * source/lang/msgnl.c
   * source/lang/msgpl852.c
   * source/lang/msgpliso.c
   * source/lang/msgplmaz.c
   * source/lang/msgplwin.c
   * source/lang/msgpt.c
   * source/lang/msgro.c
   * source/lang/msgru866.c
   * source/lang/msgrukoi.c
   * source/lang/msgruwin.c
   * source/lang/msgsk852.c
   * source/lang/msgskiso.c
   * source/lang/msgskkam.c
   * source/lang/msgskwin.c
   * source/lang/msgsl437.c
   * source/lang/msgsl852.c
   * source/lang/msgsliso.c
   * source/lang/msgslwin.c
   * source/lang/msgsr852.c
   * source/lang/msgsriso.c
   * source/lang/msgsrwin.c
   * source/lang/msgtr857.c
   * source/lang/msgtrwin.c
   * source/lang/msgua866.c
   * source/lang/msguakoi.c
   * source/lang/msguawin.c
   * source/lang/msgzhb5.c
   * source/lang/msgzhgb.c
   * source/pp/pplib3.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtalleg/gtalleg.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtgui/gtdef.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/hbregex.c
   * contrib/examples/rdddbt/dbfdbt1.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctwin.c
   * contrib/rddads/ads1.c
   * include/hbinit.h
     * Changed C mode static initialisation code.
       Thanks for Paul Tucker for the solution.

   * make_vc.mak
     * Removed /OPT:WIN98 since it is not supported in Win64
       and has less impact on WinXP/Win2003 builds

2008-07-09 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbdate.h
  * harbour/source/common/hbdate.c
    + added hb_timeStampEncode()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/filesys.c
    + added hb_fsSetFileTime()
    + added POSIX file attributes with some macros to convert Harbour
      definitions into OS ones.
    + added initial version of hb_fsSetAttr() - work in progress, I should
      finish it in the evening.

  * harbour/contrib/hbmzip/hbmzip.c
    * added setting file attribute in DJGPP builds
    ! fixed some small typos in OS2 builds reported by David

  * harbour/source/vm/fm.c
    * changed hb_xrealloc() to be ANSI-C realloc() compatible

2008-07-09 10:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     ! Fixed to accept HB_INC_* envvars to specify
       header locations for external packages.

2008-07-09 10:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * source/rtl/gtwvt/gtwvt.c
   * contrib/gtwvg/gtwvg.c
     ! Restored previous change.
       In Harbour, passing NULL to hb_itemPutC() is valid and
       will result in an empty string being stored in an optimized way.
       hb_itemPutCLPtr() should be used instead of hb_itemPutCPtr().
       The GPF in question used to happen when setting the clipboard,
       and it looks to happen inside the OS. I'm still investigating.

   * contrib/hbapollo/tests/bld_b32.bat
   * contrib/hbapollo/tests/bld_vc.bat
     ! Fixed external .lib name.

2008-07-08 16:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
  * contrib/gtwvg/gtwvg.c
  * source/rtl/gtwvt/gtwvt.c
    ! Fixed GPF in HB_GTI_CLIPBOARDDATA.

2008-07-08 20:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbcurl/hbcurl.c
     ! CURL_EASY_GETINFO() will now return the proper type
       (with an empty value) if the given info type is not
       supported in the libcurl version used at build-time.
       (This makes the test program not crash after latest
       hbcurl changes.)

2008-07-08 19:03 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
  * contrib/hbmzip/hbmzip.c
    + implemented file date/time get/set for OS2
    ; TODO: DOS implementation is still missing
    ; Implementation is not tested!

2008-07-08 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/compiler/hbusage.c
    * cleaned possible warning in some C compilers

2008-07-08 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbw32/Makefile
   * contrib/hbw32/common.mak
   + contrib/hbw32/w32_osc.c
   + contrib/hbw32/w32_os.prg
     + Ported some Windows specific version detection and
       networking checker/setup code. From Peter Rees/xhb:
       OS_ISWINNT()
       OS_ISWINNT351()
       OS_ISWINNT4()
       OS_ISWIN2000_OR_LATER()
       OS_ISWIN2000()
       OS_ISWINXP()
       OS_ISWIN2003()
       OS_ISWINVISTA()
       OS_ISWIN9X()
       OS_ISWIN95()
       OS_ISWIN98()
       OS_ISWINME()
       OS_ISWTSCLIENT()
       OS_VERSIONINFO()
       OS_NETREGOK()
       OS_NETVREDIROK()

2008-07-08 14:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/include/hbrddcdx.h
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed casting for indexes with key length greater then 196 bytes
      created on tables with record number smaller then 256. In such
      case if keys have equal value then after decoding they may need
      more then 32767 bytes and casting to SHORT gives negative indexes.
      Thanks to Saulius Zrelskis for example.
    % changed some SHORT to INT to reduce runtime overhead

2008-07-08 10:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/rddads/ads1.c
     ! Fixed to behave Clipper-like when trying to write
       when on EOF position. This way a TODO is cleared in the
       source.

2008-07-08 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbodbc/odbc.c
     ! Fixed compilation error with Pelles C 5.00.1.
     * Some formatting.

   * contrib/hbw32/dllcall.c
     + Two TOFIXes added for Win64 support.
     ! One Warning fixed under Win64.

   * contrib/hbfimage/make_gcc.sh
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
     ! Corrected to look in Dist subdir instead of 'source',
       so that simple .dll ditribution is enough to compile.

2008-07-08 07:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbodbc/odbc.c
     ! Fixed all ODBC handles to be pointers. This way it's Win64
       compatible. This is an INCOMPATIBLE change. Since normal
       app code is using ODBC error values to check for error
       conditions, the type of handles shouldn't be a concern for
       most app code.
       I'd ask everyone using hbodbc to do some tests.
     + TOFIXes added where deprecated (and potentially dangerous)
       APIs are used.

   * contrib/hbw32/dllcall.c
     ! Using hb_parnint()/hb_retnint() instead of hb_parnl()/hb_retnl()
       to make Harbour level .dll functions compatible with Win64, and
       at the same time stay compatible with XBase++.

   * contrib/rddado/adordd.prg
     ! Fixed a few places where _SET_EXACT dependent string
       comparisons were used. One of them could cause
       problems updating field values.

   * contrib/hbodbc/todbc.prg
     * Formatting.

   * contrib/hbodbc/tests/odbcdemo.prg
   * contrib/hbodbc/tests/odbccall.prg
   * contrib/hbodbc/tests/testodbc.prg
     ! Made them work out of the box.
     ; TOFIX: All of them gives "unrecognized database format" for harbour.mdb.

2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/source/vm/runner.c
    + added support for passing non string parameters to .HRB INIT/
procedures/function + added automatic destructors for .HRB modules ; TOFIX: add protection against possible double executing of EXIT procedures in .HRB modules in HVM quit phase 2008-07-08 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * disabled internal pointer handles I enabled by mistake for MS-WIN builds 2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/include/hbdefs.h * harbour/source/rtl/console.c * harbour/source/rtl/philes.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/philes53.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/filesys.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbsql.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/delim1.c * harbour/contrib/hbbmcdx/bmdbfcdx.c + added HB_NHANDLE + added hb_numToHandle() macro ! fixed WIN32 HANDLE to integer number conversions in Harbour file API ! fixed F_ERROR and FS_ERROR usage * added support for optional FHANDLE mapped to pointer instead of integer number - disable by default in hbdefs.h Now Harbour can be compiled with internal pointer and integer file handles (FHANDLE) 2008-07-08 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/compiler/genhrb.c * contrib/hbtip/utils.c ! Changed octal values in strings (and chars too) to make these functions work with Pelles C 5.00.1. 2008-07-07 20:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/xhbfunc.c ! Changed hb_ArrayID() to be in sync with xhb, and at the same time fixing the Win64 compatibility issue. Thanks Przemek. * ChangeLog ! Typo. 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/arrayshb.c * contrib/xhb/xhbfunc.c ! Moved hb_ArrayID() Harbour level function to xhb.lib. ; NOTE: This function is not compatible with Win64 architecture. 2008-07-07 19:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_xmingwce.mak * Changed the way HB_COMP_PATH, HB_PPGEN_PATH, CCPATH and CCPREFIX environment variables are handled 2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Warning fixed. * source/rtl/hbffind.c ! Added workaround for PellesC 5.00.1 compiler bug. (hang -> out of memory) when compiling a certain expression. * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg ! sqlListF() return value changed to pointer from numeric. Now compatible with Win64. INCOMPATIBLE. * contrib/hbw32/w32_prn.c ! Warning suppressed (pointer to BOOL conversion). * contrib/hbw32/dllcall.c * contrib/hbhpdf/harupdf.c * contrib/hbfimage/fi_winfu.c * contrib/hbgf/hbgfw32/win32.c ! Fixed several pointer (handle) passings to be 64bit compatible. * contrib/hbw32/w32_reg.prg * Minor formatting. ; TOFIX: There are still some PellesC 64bit warnings to be fixed. (posted separately) 2008-07-07 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! fixed bud with wrong C code generated for doubly negated integer values reported by Viktor. 2008-07-07 06:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_deb.sh + Added libgpm-dev to mouse test. Thanks Guy. - doc/simplex.txt * doc/Makefile - Removed obsolete file. * doc/linux1st.txt + Added libgpm*-dev requirements. * contrib/hbtpathy/Makefile * contrib/hbziparch/Makefile ! Fixed referring to win32 archictecture as 'win32' (should be 'w32'). Recently introduced bugs. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! Fixed for POCC, XCC compilers. 2008-07-06 23:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbundoc.api ! Casting in _tctemp() 2008-07-05 03:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/transfrm.c + Added patch by Javier. This will make @R picture compatible with Clipper 5.01 and VFP if HB_COMPAT_FOXPRO is enabled. 2008-07-05 02:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * doc/Makefile ! Removed non-existing genhtm.cmd ! howtocvs.txt -> howtosvn.txt 2008-07-05 02:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/hbpp.c * source/pp/ppcore.c * source/pp/pplib.c ! Fixed bug introduced in r8836, so that now __HARBOUR__ will again be #defined when 'harbour /u' switch is used. Thanks Randy. 2008-07-05 01:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbver.h ! Typo in comment. 2008-07-05 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Typo: hb_free() -> hb_xfree() 2008-07-04 20:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_vcce.mak ! Fixes required by an old eVC4 compiler, Better synchronization with make_vc.mak. 2008-07-04 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/Makefile ! Fixed commented file in file list. ; This may fix some GNU-make problems regarding hbziparch. ; hbziparch may not work in RC2 GNU-make builds for this reason. * harbour-ce-spec * harbour-w32-spec * doc/whatsnew.txt * include/hbver.h * harbour.spec * RC2 -> rc2 ; We should use lowercase for 'RC' in the future, for consistency with 'alpha', 'beta' (and with other projects too). It looks smoother too. * source/rtl/errorint.c ! hb_setGetCPtr( HB_SET_HBOUTLOG ) checked for NULL value. I'm not sure if this is required in real life, so this may be unnecessary safety. * utils/Makefile * Formatting. 2008-07-04 04:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c + Reenabled new OS/2 code. ! Fixed defines in OS/2 part. Requested definitions. Fixed one potential error. Pls review and test, all this was done blindly. 2008-07-04 03:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/Makefile ! Removed hbwmain.c from the header list to be installed. (Przemek please verify me) 2008-07-03 22:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/errorint.c + Internal error are now logged to hb_out.log (by default). ; This addition looks quite humble, yet very useful, please test and comment it. Credits to Randy Portnoff for the idea. ; First post-RC2, RC3/FINAL modification. 2008-07-03 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) ; Tagged: /tags/harbour-1.0.0RC2 2008-07-03 21:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c ! Fixed version detection to not break when compiling for WinCE. ; Marek, thanks a lot. 2008-07-03 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c * Temply disabled new OS/2 code to go on with the RC2 release. 2008-07-03 21:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbmysql/difer.txt - contrib/hbmysql/diffeng.txt + contrib/hbmysql/diff-en.txt + contrib/hbmysql/diff-es.txt * contrib/hbmysql/tmysql.prg - contrib/hbmysql/dbf2mysq.prg + contrib/hbmysql/utils + contrib/hbmysql/utils/bld_b32.bat + contrib/hbmysql/utils/dbf2mysq.prg + contrib/hbmysql/utils/bld_vc.bat * Some dir cleanup. * Created separate dir for standalone utility. ! SVN headers and props added. 2008-07-03 19:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/changelog * harbour/make_deb.sh * added modifications by Guy Roussin - thanks * harbour/contrib/gtwvg/gtwvg.c ! fixed pointer comparison - C uses different precedence for ! operator then Clipper/xbase I thought that I've already fixed it once :-o 2008-07-03 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * contrib/hbgd/gdwrp.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbtip/encmthd.c * contrib/hbtip/utils.c * contrib/xhb/cstructc.c * contrib/xhb/xhbwith.c % Using HB_ERR_FUNCNAME 2008-07-03 18:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c ! Fixed previous TOFIX for DOS. ! Fixed warning. ! Fixed mistake in previous commit. 2008-07-03 16:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c + Added ".cmd" to the (commented) list of OS/2 executable extensions. + Added headers for DOS/GCC line. + Guarded new DOS section with GCC guards, added dummy branch for other DOS compilers. ! Fixed embedded comment. ; TOFIX: ../../hbmzip.c:563: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) ../../hbmzip.c:568: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) * contrib/hbmisc/spd.c - Removed two __XHARBOUR__ guards, because these feature have since been implemented in xhb. ! Fixed DJGPP warning. The problem is that DJGPP will preprocess snprintf() to sprintf() (not very safe), which makes ulMaxBuf var unused. 2008-07-03 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile ! fixed some contrib library comments: # used before 1-st commented library created long comment to the end of library list 2008-07-03 15:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbmysql/dbf2mysql.prg + contrib/hbmysql/dbf2mysq.prg * contrib/hbfbird/common.mak * contrib/hbfbird/Makefile - contrib/hbfbird/tfirebird.prg + contrib/hbfbird/tfirebrd.prg * contrib/hbfimage/tests/fitest.prg + contrib/hbfimage/tests/imgs_out - contrib/hbfimage/tests/images_out * Some more long filenames removed. ; TOFIX?: freeimage.ch is still long. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c % Using HB_ERR_FUNCNAME 2008-07-03 16:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmzip/hbmzip.c + implemented file get attributes and file set attributes for DOS and OS2 ; I've not even tried to compile the code. I have no required OS and compile enviroment. DOS implementation is written using docs from http://www.delorie.com/djgpp/doc/libc-2.02/, OS2 implementation is just guess... Please test, I hope adding some #include will make this code usable. 2008-07-03 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbgd/tests/imgs_in/gdlogobig.png - contrib/hbgd/tests/imgs_in/conv_test.jpg - contrib/hbgd/tests/imgs_in/theclipper.gif + contrib/hbgd/tests/imgs_in/harbour.gif + contrib/hbgd/tests/imgs_in/gdlogo.png + contrib/hbgd/tests/imgs_in/conv_tst.jpg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/gdtestcl.prg * Removing long filenames in hbgd (part 3/3) 2008-07-03 15:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbgd/tests/images_in - contrib/hbgd/tests/images_out + contrib/hbgd/tests/imgs_in + contrib/hbgd/tests/imgs_out * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/antialia.prg * Removing long filenames in hbgd (part 2/3) ! Added SVN headers. ! Fixed to not use hbcompat.ch. 2008-07-03 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbgd/Makefile * contrib/hbgd/common.mak - contrib/hbgd/gdexternal.ch + contrib/hbgd/gdextern.ch - contrib/hbgd/tests/gdtestcls.prg + contrib/hbgd/tests/gdtestcl.prg - contrib/hbgd/tests/antialiased.prg + contrib/hbgd/tests/antialia.prg ! Removing long filenames in hbgd (part 1/3) 2008-07-03 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbbmcdx/Makefile * contrib/hbbmcdx/common.mak - contrib/hbbmcdx/bmsixcdx1.c + contrib/hbbmcdx/bmsixcdx.c - contrib/hbbmcdx/bmdbfcdx1.c + contrib/hbbmcdx/bmdbfcdx.c - contrib/hbbmcdx/hbrddbmcdx.h + contrib/hbbmcdx/hbbmcdx.h ! Removed long filenames. 2008-07-03 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/spd.c ! DJGPP warning fixed, plus another update from Xavi. ; Sorry I've removed _SPD() as IMO there is not much point in keeping compatibility with a name which was never used by Harbour. That can be easily done outside Harbour though for those (few) who need it nevertheless. 2008-07-03 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmsql/msql.h * updated for [Open]Watcom builds. Now DOS OpenWatcom builds works fine except hbbmcdx which needs special trick for long file names. Question: Should we change filenames in this library to 8.3 standard? * harbour/config/none.cf ! fixed to work with DOS and pure command.com 2008-07-03 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/Makefile * contrib/hbfimage/Makefile * contrib/hbhpdf/Makefile * contrib/rddads/Makefile ! Excluded from DOS builds. 2008-07-03 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed compile errors when compiled with some (but not all possible) older libcurl versions. ; It still requires libcurl 7.17.0 in order to work properly though. 2008-07-03 11:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/Makefile - contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/common.mak * Merged source module hbzipcom.cpp into hbzipnew.cpp. + Using hb_fsSize() Harbour API instead of implementing this functionality locally and only for a limited number of platforms/compilers. 2008-07-03 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * hbziparch/hbziparc.c * hbziparch/hbziparc.h * hbziparch/hbzipcom.cpp * hbziparch/hbzipnew.cpp ! Fixed reintroduced warnings. Sorry Miguel, but the latest fix was not needed, since bAdded was reinited to FALSE in each iteration of the loop. ! sprintf() -> snprintf() % Optimizations. * Formatting, cleanups. ; Tested with BCC55, MSVC9 and MinGW. 2008-07-03 10:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/make_gcc.sh * contrib/hbgd/tests/bld.sh * contrib/hbhpdf/make_gcc.sh * contrib/hbsqlit2/make_gcc.sh * contrib/hbsqlit3/make_gcc.sh * contrib/hbvpdf/make_gcc.sh + svn propset svn:executable ON * ; Thanks Marek. I'm updating my local files to avoid this in the future. 2008-07-03 09:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_gcc.mak ! Fixed copy/paste error in ifdef/endif * harbour/contrib/hbapollo/make_gcc.sh * harbour/contrib/hbcurl/make_gcc.sh * harbour/contrib/hbfbird/make_gcc.sh * harbour/contrib/hbfimage/make_gcc.sh * harbour/contrib/hbgd/make_gcc.sh * harbour/contrib/hbhpdf/make_gcc.sh * harbour/contrib/hbmysql/make_gcc.sh * harbour/contrib/hbpgsql/make_gcc.sh * harbour/contrib/rddads/make_gcc.sh * Changed "==" to "=" to allow compilation on Ubuntu 8.04. For some reasons I got error when "==" was used. 2008-07-03 08:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/Makefile * Changed so that only failing BSD and HPUX platforms are excluded. 2008-07-03 08:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtpathy/tpos2.c ! Blind fix for three OS/2 warnings. David please test. 2008-07-02 23:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Removed unused variable. 2008-07-02 14:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * source/rtl/gtwvt/gtwvt.c ! Changed the wat EXIT procedure works. ; The change is provided by Ron Pinkas so I have implemented as is. Before also I was not finding any problems on Harbour but appln was GPFing on Exit with GTWVG. ; TOCHECK: Viktor see if it resolves the EXIT problem you are reporting 2008-07-02 22:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/Makefile * contrib/Makefile + Reenabled hbsqlit3 for w32 platform. 2008-07-02 22:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c + Added DOS branches but not actual content. Sorry. * contrib/hbsqlit3/Makefile * contrib/Makefile + Reenabled hbsqlit3 for w32 platform. 2008-07-02 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit2/Makefile * contrib/hbsqlit3/Makefile ! Excluded from DOS builds. * contrib/Makefile - Commented following contribs from GNU-make default builds until different platform/compiler issues and excessive warnings are resolved: hbsqlit2, hbsqlit3, hbw32ddr, hbwhat32, hbziparch 2008-07-02 21:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * harbour/bin/hb-mkslib.sh * harbour/make_tgz.sh + added Darwin and OS2 to architecure autodetection. 2008-07-02 20:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_gcc.sh * make_gnu.sh + Added Darwin to architecure autodetection. 2008-07-02 20:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbgf/Makefile * do not include dir.cf when there is no platform dependent hbgf* library 2008-07-02 18:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp ! Two lines commented by mistake now reenabled. Thanks Miguel. * source/rtl/gtwvt/gtwvt.c * Minor naming, formatting. 2008-07-02 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/Makefile * added test for header files in non W32 builds ODBC is not standard system part in other then MS-Window platforms * harbour/contrib/hbgf/hbgfgtk/Makefile * updated path check for GTK header files In fact it still can give wrong results in different Linux or other *nixes distributions. The real path to GTK header files is unknown and should be always tested by pkg-config 2008-07-02 15:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbziparch/hbziparc.c - removed HB_FUNC_EXIT( HBZIPCLEANUP ) * harbour/contrib/hbziparch/hbzipnew.cpp + added automatic callback destructor registered by hb_vmAtExit() at 1-st callback set 2008-07-02 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/tpos2.c * moved INCL_* definitions before harbour header files 2008-07-02 13:06 UTC+0100 Miguel Angel Marchuet * contrib/hbziparch/hbziparc.c + Added HBZIPCLEANUP() as EXIT function to clean. It will be called automatically at end application. 2008-07-02 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat + Added possibility to use HB_INC_* envvars to specify the header directories for external packages. This way _all_ Harbour make systems now able to use the same common logic to specify external header dirs. (For GNU-make you can even use a dir list). If HB_INC_* is used with the non-GNU make system, the .dll to .lib generation _won't_ happen, which is desirable for binary builds for distribution. HB_DIR_* envvars continue to work, in this case .libs are copied/generated from the external .dlls, and this is useful who build their Harbour from source. For official Harbour binary distributions HB_INC_* must be used. 2008-07-02 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed previous modification. More to come. 2008-07-02 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak - harbour/contrib/xhb/hbchksum.c * removed HB_CHECKSUM() code - it's not necessary * harbour/contrib/xhb/xhbfunc.c + redirected HB_CHECKSUM() to HB_ADLER32() * harbour/source/rtl/gtwvt/gtwvt.c ! fixed WINCE builds. It was only for MiGWCE which partially emulates GetSystemMenu() but probably other builds will report that this function is missing. If possible please test if current Harbour application can be executed in real WinCE environment. * harbour/make_deb.sh * updated contrib library list * harbour/contrib/hbmysql/mysql.c ! fixed compilation for older MYSQL versions * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgutils.c ! fixed UNICODE builds + harbour/config/none.cf + added dummy header file for GNU make to avoid errors on unsupported platforms * harbour/contrib/hbw32ddr/Makefile * harbour/contrib/hbmysql/Makefile * harbour/contrib/hbodbc/Makefile * harbour/contrib/hbwhat32/Makefile * harbour/contrib/hbtpathy/Makefile * harbour/contrib/hbw32/Makefile * harbour/contrib/hbole/Makefile * harbour/contrib/hbapollo/Makefile * harbour/contrib/hbfbird/Makefile * harbour/contrib/hbziparch/Makefile * harbour/contrib/hbcurl/Makefile * harbour/contrib/hbhpdf/Makefile * harbour/contrib/rddado/Makefile * harbour/contrib/gtwvg/Makefile * harbour/contrib/hbpgsql/Makefile * harbour/contrib/rddads/Makefile * harbour/contrib/hbfimage/Makefile * harbour/contrib/hbgd/Makefile * harbour/contrib/hbgf/hbgfw32/Makefile * harbour/contrib/hbgf/hbgfos2/Makefile * harbour/contrib/hbgf/hbgfgtk/Makefile * harbour/contrib/hbtip/Makefile * harbour/contrib/hbbmcdx/Makefile * updated to not generate errors for unsupported builds 2008-07-02 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbdefs.h ! Fixed DLL creation for MSVC (and maybe compilers, too). Thanks to Marek Paliwoda for the hint. * contrib/hbtpathy/tpos2.c ! Blind attempt to fix OS/2 compile error. 2008-07-02 10:52 UTC+0100 Miguel Angel Marchuet * contrib/hbziparch/hbziparc.c * corrected library name in comments. 2008-07-02 08:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbpgsql/Makefile ! Added /usr/include to the default dir list. 2008-07-02 01:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/make_b32_all.bat * contrib/make_b32_vc.bat * Contribs sorted by alphabet. 2008-07-02 01:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/hbchksum.c * contrib/xhb/hbcomprs.c - contrib/xhb/hbcomprs.h + contrib/xhb/hbcomprs.ch - Removed unnecessary C header. + Added xhb compatibility .ch header. 2008-07-02 01:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/hbcomprs.c * contrib/xhb/hbcomprs.h % Stripped yet another copy of an old embedded ZLIB version from Harbour. Now xhb compatibility compression functions use Harbour hbzlib.lib, thus reducing binary size and avoiding security problems with old ZLIB. ; Now the only copy of ZLIB in Harbour is in source/hbzlib. % Using HB_ERR_FUNCNAME. 2008-07-02 01:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/hbcomprs.c + contrib/hbziparch/hbxdirec.c ! Renamed to avoid collision with an xhb contrib file. 2008-07-01 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/hbzipnew.cpp ! Fixed a potential GPFs. (GCC warnings) * contrib/hbpgsql/postgres.c * contrib/hbwhat32/_wininet.c ! Fixed two const casting warnings in MSVS non-CPP mode. - tests/run_test.bat + tests/run_prg_all.bat - tests/gnu_test.bat + tests/bld_gnu.bat - tests/bld4dll.bat + tests/bld_b32_dll.bat + Some renames in the hope they will be easier to understand, and more standard. ! Fixed .dll reference. * contrib/hbziparch/Makefile ! Excluded from Darwin and OS/2 builds. ; NOTE: The Windows build I've tried are now building relatively clearly, only with the 1) known warnings 2) warnings in foreign code, plus 3) quite some in contrib/hbwhat32. Tested compilers: Win32 BCC551 - OK BCC582 - OK MSVS2005 - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2005cpp - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2008 - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes) MinGW412 - OK MinGW430 - OK Win64 MSVS2008 Fails with: 'include\hbinit.h(218) : fatal error C1189: #error : Unknown initialization method. MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes) Linux-Ubuntu (7.10) GCC413 - OK (FreeImage f.e. fails.) Darwin (OS X Leopard 10.5.4) GCC401 Fails with a lot of: 'Wrong type of codeblock parameter, is: 1, should be: 8' 2008-07-01 22:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Fixed MSVC warnings. 2008-07-01 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/_winmmcap.c ! #include -> #include "hbapi.h" Harbour headers are not system headers. * contrib/gtwvg/gtwvg.c * Commented unused code to avoid warnings. * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp ! Fixed BCC 5.8 warning. ! Removed tabs. * Some formatting. 2008-07-01 21:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Excluded GPF dumping code for Win64 and WinCE. 2008-07-01 20:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/hbinet.c % Recently added code fixed to use HB_ERR_FUNCNAME. ! Quick fix to recently added code to compile with MSVC. Please review, it seem that get/setsockopt() 4th parameter is void* in Linux but char* in Windows. 2008-07-01 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Fixed MSVC error in new code. 2008-07-01 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * doc/whatsnew.txt + Added RC2 changes. ; Please review. 2008-07-01 18:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed version checking (pass 2). 2008-07-01 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed version checking. 2008-07-01 18:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-ce-spec * harbour-w32-spec * include/hbver.h * harbour.spec * RC1 -> RC2 * contrib/hbziparch/hbziparc.c ! Fixed potential GPF in HBZIPCLEANUP(). ! HBZIPCLEANUP() changed to be a HB_FUNC() (from HB_EXIT_FUNC()), so now it has to be called manually, but at least it's now doing something useful. (HB_EXIT_FUNC() in .c code never gets executed by itself). 2008-07-01 17:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile ! Fixed a macro check to make autodetection really work. So the previous TOFIX (2008-06-30 19:20 UTC+0200) is now cleared. ; TODO: Adjust hbodbc to contrib Makefile standards. * contrib/hbgf/hbgfgtk/Makefile + Added header detection. (default: /usr/include) * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp ! Pacified Linux warnings. * Some formatting. 2008-07-01 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * define whole contrib library list for new contrib/Makefile + added header files to respect differences between platform native and Windows only headers * harbour/harbour.spec * define whole contrib library list for new contrib/Makefile * divided libraries which needs external references into separated packages ! removed unnecessary dependences in binaries rebuild in shared mode * harbour/contrib/hbodbc/odbc.c * pacified warnings % minor optimization * harbour/contrib/hbcurl/hbcurl.c * harbour/contrib/hbfbird/firebird.c * harbour/source/vm/extrap.c * casting to pacify warnings * harbour/contrib/gtwvg/gtwvg.c ! fixed pointer comparison - C uses different precedence for ! operator then Clipper/xbase * harbour/source/rtl/hbinet.c ! fixed GPF HB_INET[GS]ET{SND,RCV}BUFSIZE() when wrong socket parameter is passed. Please remember that after RT error the control is returned to application. % removed any hardcoded limits for size of data passed in single read/write call during normal stream operations - removed iSndBufSize/iRcvBufSize 2008-06-30 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * Changed to use default for all architecture. Let's hope that checking existence for mixed platform paths won't create problems on any platforms. + Added include path detection logic to hbapollo, too. + Added Darwin path to hbgd include path list. + Added std Linux path to hbfbird include path list. ; TOFIX: Seems that 'ifneq ($(HB_INC_*_OK),)' doesn't really work if no path in the path list is valid. 2008-06-30 17:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/hbinet.c ! Fixed non-ANSI comment. 2008-06-30 17:00 UTC+0100 Miguel Angel Marchuet * source/rtl/hbinet.c + Added define SOCKET_ERROR, that is missing in some compilers. 2008-06-30 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtip/tests/tiptest.prg ! Remove strings as arrays access. Thanks Lorenzo. 2008-06-30 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch + New inet functions added. * source/rtl/hbinet.c ! Blind fix for Linux compile error. 2008-06-30 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbmysql/Makefile - Removed -DBIG_JOINS. If someone needs this, it can be specified via C_USR, but to me it seem this is a MySQL build-time switch, and it has no effect for interface code. 2008-06-30 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile + Now possible to specify external header location using the HB_INC_* envars (similar to the ones used in non-GNU makefiles). In GNU make, multiple dirs can be specified, and the make system will always autodetect whether the headers are really there. If not, the build process will be skipped for that contrib. Additionally in Linux, the HB_INC_* vars will be inited with a default, if not specified by the builder. These default should be verified by Linux users and extended/fixed accordingly. Most of them were already initialized for Linux, so there should be no big surprises here. * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat + Synced C options with GNU make. (-DBIG_JOINS=1 added) * contrib/hbmysql/make_vc.bat - Removed -D__WIN32__. Now it seems to work without it. * contrib/hbcurl/make_gcc.sh ! Fixed example dir in comment. 2008-06-30 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbapi.h * source/rtl/set.c * source/vm/fm.c ! Fixed _SET_HBOUTLOG, _SET_HBOUTLOGINFO handling in fm.c. hb_setget*() functions cannot be used here as the set system is deinited at this point. So local buffers are holding the values. 2008-06-30 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/Makefile * contrib/hbapollo/Makefile * contrib/hbbtree/Makefile * contrib/hbclipsm/Makefile * contrib/hbct/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmisc/Makefile * contrib/hbmsql/Makefile * contrib/hbmysql/Makefile * contrib/hbmzip/Makefile * contrib/hbnf/Makefile * contrib/hbodbc/Makefile * contrib/hbpgsql/Makefile * contrib/hbsqlit2/Makefile * contrib/hbsqlit3/Makefile * contrib/hbtip/Makefile * contrib/hbtpathy/Makefile * contrib/hbvpdf/Makefile * contrib/hbw32/Makefile * contrib/hbw32ddr/Makefile * contrib/hbwhat32/Makefile * contrib/rddado/Makefile * contrib/rddads/Makefile ! CFLAGS -> C_USR * var = var + x -> var += x ! Added header install rules for all places where such headers are defined. I wonder why isn't this the default in our GNU-make system. * few other minor cleanups. * contrib/rddads/Makefile * Experimenting with HB_INC_ADS implementation in GNU-make system. HB_INC_ADS can now used to enable to rddads builds. In GNU-make HB_INC_ADS can contain a list of possible places where headers may be found. GNU-make will validate these and if the headers were found in any of these places, rddads will be built. For Linux there are some default dirs which will always be checked. 'HB_WITHOUT_ADS' and 'ACE_DIRS' is not longer used. ; Please test. If this works out okay, we can use this method for the rest of 3rd party dependent contribs. * contrib/rddads/Makefile % Don't define WIN32 in GNU-makefiles for w32. * contrib/hbmisc/Makefile ! Don't include non-existing 'test' dir in make. * contrib/gtwvg/Makefile * contrib/gtwvg/common.mak ! Not installing private .h file to common include dir. * contrib/hbw32ddr/w32_ddrw.cpp ! Fixed one GCC warning. (Some remain) 2008-06-28 11:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/hbgtwvg.ch + Implemented application to run as a System Tray Icon. ; IMPLEMENTATION: Hb_GtInfo( HB_GTI_SPEC, HB_GTS_SYSTRAYICON, ; { nMode /*NIM_ADD/MODIFY/DELETE*/, ; nIconType /*NIT_FILE/RESOURCEBYNAME/RESOURCEBYID*/, ; cnFileNameOrResourceName|Id, ; cTooltip } ) Right-click on SysTrayIcon will restore the appln in its original state. : TOKNOW: Does it qualify for GTWVT? * tests/wvtext.prg ! Modified to show the SysTrayIcon feature if linked with GTWVG. Link Guarded againt __GTWVG__ define. 2008-06-28 11:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c + Added Windows GPF detailed information dump (with some modifications) provided by Mindaugas Kavaliauskas. Many thanks. ; It would be very nice to have similar for Linux, OS/2, Darwin. 2008-06-28 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * tests/extend2.c * source/debug/dbgentry.c * contrib/hbodbc/odbc.c * contrib/hbw32/tprinter.c * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * contrib/hbpgsql/postgres.c ! Changed strcpy() -> hb_strncpy() ! Changed strcat() -> hb_strncat() ! Some possible buffer overruns fixed along the way in hbziparch.lib ! Fixed some filename buffer sizes in hbziparch.lib ; TOFIX: There are still some remaining strcpy()/strcat() calls in Harbour code: core: dbgentry.c, hbwince.c contrib: hbnf, hbw32, hbwhat32, hbtip foreign code: zlib, sqlite2/3 Not all of these are necessarily bugs (but it's difficult to know without checking each). 2008-06-28 08:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/set.ch * include/hbset.h * source/rtl/set.c * source/vm/fm.c * source/vm/extrap.c + Added: Set( _SET_HBOUTLOGINFO[, ] ) -> Default value: "" This user defined text will be included in each hb_out.log messages. This way it's possible to include custom information in these entries to help identify and locate them. ! Fixed a few string not marked with HB_I_() translation marker. 2008-06-27 17:13 UTC+0100 Miguel Angel Marchuet * contrib/hbtip/client.prg * contrib/hbtip/ftpcln.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg + Added methods setget to interrogate buffer size send/recive METHOD InetRcvBufSize( SocketCon, nSizeBuff ) METHOD InetSndBufSize( SocketCon, nSizeBuff ) + Added data members to assign default buffer sizes DATA nDefaultRcvBuffSize DATA nDefaultSndBuffSize + Asigned default buffer size to 64kb only for FTP transfer, previous to open sockets ::nDefaultSndBuffSize := 65536 ::nDefaultRcvBuffSize := 65536 * Fixed port ftp protocol. * source/rtl/hbinet.c * now works with default system buffer, for example 8kb at W2000. instead of harcoded 1400 2008-06-27 17:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbgf/hbgfgtk/msginfo.c ! Blind fix for missing MultiLineDelimiters definition. 2008-06-27 15:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/wincorec.c * contrib/hbwhat32/_winwnd.c * contrib/hbwhat32/wincore.prg + hb_retnl()/hb_parnl() calls replaced with hb_retptr()/hb_parptr(). This way it won't break on Win64. ; NOTE1: Functions dealing with wndproc/dlgproc functions on the Harbour level will now return/require POINTER types instead of numerics. App level code should be updated accordingly. INCOMPATIBLE. ; NOTE2: There might be other places in hbwhat32 where such conversion would be necessary. ; Please test. 2008-06-27 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed GPF in expressions like: #command CMD => #translate abc => \ problem located by Ron in xHarbour * harbour/source/pp/hbpp.c * extended string escaping to also quote " and ? (possible trigraph) * harbour/source/compiler/gencc.c ; comment formatting 2008-06-27 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/Makefile * After this change, HB_CONTRIBLIBS will _override_ the default list of contribs, rather than adding them to the default list (which BTW contains everything since this week, so there's no much point anyway, besides if someone was hosting local contribs in the Harbour contrib dir). * include/hbver.h - Removed recenly added HB_VERSION 0x010000. * Instead I've changed both .prg level and .c level __HARBOUR__ to contain this more granular (full) version number. ; NOTE: If someone is relying on the value of __HARBOUR__ in .prg code, the values should be multiplied by 256. 2008-06-27 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbstdgen.ch * include/hbver.h * Cleanups to previous change. ! Fixed HB_STD_CH_ to not be #defined in .prgs by default. 2008-06-27 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbgf/hbgfgtk/creamenu.c - Removed deprecated pre GTK2 API call with no equivalent in newer versions. If someone needs the menu shadow functionality for GTK1, please give some hint how to guard it, and we can add it back. 2008-06-27 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbstdgen.ch * include/hbver.h * include/hbdefs.h * source/pp/pplib.c * source/pp/ppcore.c * source/pp/hbpp.c * source/common/hbver.c * source/common/hbverdsp.c * contrib/hbsqlit3/hbsqlit3.c * contrib/examples/pp/hbppdef.h * Changed .c level __HARBOUR__ to have the same value as the existing .prg level one. * PP now gets the __HARBOUR__ define directly from the .c level instead of generating it locally. ; QUESTION: Should or shouldn't we change __HARBOUR__ to contain revision number too? (0x0100 -> 0x01000) This would allow for a greater level of development opportunities between minor revisions, more "agile" development. * include/hbpp.h * source/pp/ppcore.c - Two __XHARBOUR__ guards removed. 2008-06-27 03:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/Makefile * contrib/gtwvg/common.mak - contrib/gtwvg/wvtclass.prg + contrib/gtwvg/wvgclass.prg - contrib/gtwvg/wvtpaint.prg + contrib/gtwvg/wvgpaint.prg - contrib/gtwvg/wvtcore.c + contrib/gtwvg/wvgcore.c - contrib/gtwvg/wvtutils.c + contrib/gtwvg/wvgutils.c * contrib/gtwvg/hbgtwvg.ch * contrib/gtwvg/wvtwin.ch + Added self-guards for headers. ! Added missing SVN header and copyright to hbgtwvg.ch. ! Deleted ISBLOCK() from wvtwin.ch since it's already #defined in common.ch. * Renamed local source files from wvt*.* -> wvg*.* 2008-06-26 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/hbpp.c ! Fixed typo in recent modification. Thanks to Grigory Filatov for spotting it. 2008-06-26 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg * contrib/hbmsql/msql.c * contrib/hbmsql/tmsql.prg ! Fixed again to use hb_parptr()/hb_retptr() instead of hb_parnl()/hb_retnl(). This fixes these libs on 64 bit systems. This is an INCOMPATIBLE change, users of these libs will have to update their code when dealing with return values of the following functions: - hbmysql / SQLCONNECT() - hbmysql / SQLSTORER() - hbmysql / SQLUSERES() - hbmsql / MSQLSTORER() - hbmsql / MSQLLISTFI() They will now return pointer type instead of a number, so error checking will have to be changed from r > 0, r ==/=/!=/> 0 to !Empty( r ). ; Please test. * contrib/hbgf/hbgfw32/win32.c * contrib/hbgf/hbgfos2/os2pm.c * contrib/hbgf/hbgfos2/os2pm.ch * Some cleanups. ; Please test for OS/2. 2008-06-26 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmsql/msql.c ! changed msqlGetErrMsg( NULL ) => msqlErrMsg * harbour/contrib/hbsqlit3/hbsqlit3.c ! include harbour header files after sqlite3.c which needs some extra sets for system header files * harbour/contrib/hbgf/hbgfw32/win32.c ! removed wrongly used TEXT( hb_parc( 1 ) ) macro. The TEXT() macro can be used _ONLY_ for literal strings. * harbour/contrib/hbgf/hbgfgtk/Makefile * harbour/contrib/hbgf/hbgfgtk/dispatch.c * harbour/contrib/hbgf/hbgfgtk/msginfo.c * harbour/contrib/hbgf/hbgfgtk/form.prg * harbour/contrib/hbgf/hbgfgtk/creawin.c ! fixed compilation in Linux * harbour/source/rtl/gtclip.c * pacified warning 2008-06-26 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c * Changed version information layout: "Harbour a build x.y-z" -> "Harbour x.y.za" format. * contrib/gtwvg/gtwvg.c ! Fixed compile error. (commented line, please check this code) [ pGT->iLocalGTHandle = pWVT->iHandle; ] * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/wvtclass.prg % hb_arraySet( ..., hb_itemPut*() ) -> hb_arraySet*( ... ) * if() -> iif() * != on strings to IS*() macros. ; TODO: I'd suggest to change "WVT" references to "WVG" to avoid confusion with core WVT. At least in those places which wouldn't break compatibility (like source names). If there is no objection I can do it. * source/rtl/gtwvt/gtwvt.c * Minor cleanup. 2008-06-25 15:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * Some futuristic additions and synchronization with GTWVT. * harbour/contrib/gtwvg/tests/demowvg.prg * Update to recognize all key events. ;DONE: I am done with the update og GTWVG. Open to previous modifications, Viktor? 2008-06-25 18:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! I cannot test it right now, but this should fix the build problem for hbfimage under Linux. 2008-06-25 16:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbver.h * removed unnecessary EOL inside comment * harbour/contrib/hbodbc/odbc.c ! use valid integer type instead of explicit casting in function call. Such casting is vary dangerous and may cause unpredictible results when integer value has different binary size * harbour/contrib/hbtpathy/Makefile * harbour/contrib/hbtpathy/common.mak * harbour/contrib/hbtpathy/telepath.ch * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpwin32.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/telepath.prg * harbour/contrib/hbtpathy/readme.txt * harbour/contrib/hbtpathy/tests/testtp.prg * converted EOL style to native * set valid SVN attributes * harbour/contrib/hbapollo/Makefile * disabled non W32 builds, SDE exists only for MS-Windows * harbour/contrib/hbziparch/Makefile ! fixed C flag setting for Linux builds * harbour/source/pp/ppcore.c * formatting * harbour/source/rtl/valtoexp.prg ! fixed empty date conversion * harbour/hbgtmk.sh * harbour/make_xmingwce.sh * harbour/make_deb.sh * harbour/make_rpmw32.sh * harbour/make_gcc.sh * harbour/make_rpm.sh * harbour/make_xmingw.sh * harbour/make_tgz.sh * harbour/make_rpmce.sh * harbour/contrib/hbmzip/make_gcc.sh * harbour/contrib/hbsqlit3/make_gcc.sh * harbour/contrib/make_gcc_all.sh * harbour/contrib/hbziparch/make_gcc.sh * harbour/contrib/hbnf/make_gcc.sh * harbour/contrib/hbhpdf/tests/files/cp932.txt * harbour/contrib/hbhpdf/make_gcc.sh * harbour/contrib/rddado/make_gcc.sh * harbour/contrib/gtwvg/make_gcc.sh * harbour/contrib/hbpgsql/make_gcc.sh * harbour/contrib/rddads/make_gcc.sh * harbour/contrib/hbclipsm/make_gcc.sh * harbour/contrib/mtpl_gcc.sh * harbour/contrib/hbfimage/make_gcc.sh * harbour/contrib/hbgd/tests/bld.sh * harbour/contrib/hbgd/make_gcc.sh * harbour/contrib/hbmisc/make_gcc.sh * harbour/contrib/hbtip/make_gcc.sh * harbour/contrib/hbbmcdx/make_gcc.sh * harbour/contrib/hbvpdf/make_gcc.sh * harbour/contrib/hbbtree/make_gcc.sh * set valid SVN EOL attribute 2008-06-25 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c * Slightly changed the way CLOSE button works. Now the close button, if enabled, will always force a shutdown. So this setting is made independent of SetCancel(). I choose this because there might be cases when we need to use in app code, yet we want to allow closing the window. Previously it was also easy to create confusing scenarios by using various combinations of HB_GTI_CLOSABLE + SetCancel(). Another kind of fix - without the advantage above - would be to fully sync SetCancel() with HB_GTI_CLOSABLE. * contrib/hbtpathy/tplinux.c ! Fixed embedded comments in Linux code. * contrib/hbziparch/hbziparc.h ! Fixed header casing. 2008-06-24 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmsql/msql.c * contrib/hbmysql/mysql.c ! Partially undone previous change where hb_par/retnl() calls were swapped for hb_par/retptr(). HB_PAR/RETPTR() macros are used in the time being, until .prg level code isn't updated to expect pointers rather then numerics. The problem is that these pointers are checked for zero on the .prg level. Notice that using par/retnl() for pointers makes these function fail on Win64. TOFIX: Two solutions come to mind: 1) extend HVM to make it possible to compare pointer types against zero. 2) develop different ways to return errors and modify .prg level code accordingly. I'd vote for 1) if doable. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile * __GNUC__ macro requirement moved to C source from GNU-make CFLAGS. 2008-06-24 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tgetlist.prg ! Fixed Settle() calls. ! Removed type constraint from ::nLastExitState. (this value may be of any type, even in TGet()) * Formatting. 2008-06-24 07:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/common.mak * contrib/gtwvg/Makefile ! Added missing new public .ch header. 2008-06-24 00:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + contrib/hbziparch/_features.h + contrib/hbziparch/_platform.h + contrib/hbziparch/Aes.cpp + contrib/hbziparch/Aes.h + contrib/hbziparch/BaseLibCompressor.cpp + contrib/hbziparch/BaseLibCompressor.h + contrib/hbziparch/BytesWriter.h + contrib/hbziparch/Bzip2Compressor.cpp + contrib/hbziparch/Bzip2Compressor.h + contrib/hbziparch/DeflateCompressor.cpp + contrib/hbziparch/DeflateCompressor.h + contrib/hbziparch/DirEnumerator.cpp + contrib/hbziparch/DirEnumerator.h + contrib/hbziparch/FileFilter.cpp + contrib/hbziparch/FileFilter.h + contrib/hbziparch/FileInfo.h + contrib/hbziparch/Hmac.cpp + contrib/hbziparch/Hmac.h + contrib/hbziparch/RandomPool.cpp + contrib/hbziparch/RandomPool.h + contrib/hbziparch/Sha1.cpp + contrib/hbziparch/Sha1.h + contrib/hbziparch/std_mfc.h + contrib/hbziparch/std_stl.h + contrib/hbziparch/Wildcard.cpp + contrib/hbziparch/Wildcard.h + contrib/hbziparch/ZipAbstractFile.h + contrib/hbziparch/ZipAesCryptograph.cpp + contrib/hbziparch/ZipAesCryptograph.h + contrib/hbziparch/ZipArchive.cpp + contrib/hbziparch/ZipArchive.h + contrib/hbziparch/ZipAutoBuffer.cpp + contrib/hbziparch/ZipAutoBuffer.h + contrib/hbziparch/ZipBaseException.h + contrib/hbziparch/ZipCallback.h + contrib/hbziparch/ZipCallbackProvider.h + contrib/hbziparch/ZipCentralDir.cpp + contrib/hbziparch/ZipCentralDir.h + contrib/hbziparch/ZipCollections.h + contrib/hbziparch/ZipCollections_mfc.h + contrib/hbziparch/ZipCollections_stl.h + contrib/hbziparch/ZipCompatibility.cpp + contrib/hbziparch/ZipCompatibility.h + contrib/hbziparch/ZipCompressor.cpp + contrib/hbziparch/ZipCompressor.h + contrib/hbziparch/ZipCrc32Cryptograph.cpp + contrib/hbziparch/ZipCrc32Cryptograph.h + contrib/hbziparch/ZipCryptograph.cpp + contrib/hbziparch/ZipCryptograph.h + contrib/hbziparch/ZipException.cpp + contrib/hbziparch/ZipException.h + contrib/hbziparch/ZipExtraData.cpp + contrib/hbziparch/ZipExtraData.h + contrib/hbziparch/ZipExtraField.cpp + contrib/hbziparch/ZipExtraField.h + contrib/hbziparch/ZipFile.h + contrib/hbziparch/ZipFile_mfc.cpp + contrib/hbziparch/ZipFile_mfc.h + contrib/hbziparch/ZipFile_stl.cpp + contrib/hbziparch/ZipFile_stl.h + contrib/hbziparch/ZipFileHeader.cpp + contrib/hbziparch/ZipFileHeader.h + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipFileMapping_lnx.h + contrib/hbziparch/ZipFileMapping_win.h + contrib/hbziparch/ZipMemFile.cpp + contrib/hbziparch/ZipMemFile.h + contrib/hbziparch/ZipMutex.h + contrib/hbziparch/ZipMutex_lnx.h + contrib/hbziparch/ZipMutex_win.h + contrib/hbziparch/ZipPathComponent.h + contrib/hbziparch/ZipPlatform.h + contrib/hbziparch/ZipPlatformComm.cpp + contrib/hbziparch/ZipStorage.cpp + contrib/hbziparch/ZipStorage.h + contrib/hbziparch/ZipString.h + contrib/hbziparch/ZipString_mfc.h + contrib/hbziparch/ZipString_stl.h + contrib/hbziparch/ZipStringStoreSettings.h + ZipArchive lib update finished. ; Pass 2/2 ; Please test. 2008-06-24 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + contrib/hbziparch/readme.txt + contrib/hbziparch/zlib + contrib/hbziparch/zlib/deflate.h + contrib/hbziparch/zlib/zlib.h * contrib/hbziparch/common.mak * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/License.txt * contrib/hbziparch/make_gcc.sh * contrib/hbziparch/make_vc.bat * contrib/hbziparch/Makefile * contrib/hbziparch/resource.h * contrib/hbziparch/stdafx.h * contrib/hbziparch/ZipExport.h * contrib/hbziparch/ZipPathComponent_lnx.cpp * contrib/hbziparch/ZipPathComponent_win.cpp * contrib/hbziparch/ZipPlatform_lnx.cpp * contrib/hbziparch/ZipPlatform_win.cpp * contrib/hbziparch/ZipString.cpp - contrib/hbziparch/stdafx.cpp - contrib/hbziparch/zipabstractfile.h - contrib/hbziparch/ziparchive.cpp - contrib/hbziparch/ziparchive.h - contrib/hbziparch/zipautobuffer.cpp - contrib/hbziparch/zipautobuffer.h - contrib/hbziparch/zipbaseexception.h - contrib/hbziparch/zipcentraldir.cpp - contrib/hbziparch/zipcentraldir.h - contrib/hbziparch/zipcollections.h - contrib/hbziparch/zipcompatibility.cpp - contrib/hbziparch/zipcompatibility.h - contrib/hbziparch/zipexception.cpp - contrib/hbziparch/zipexception.h - contrib/hbziparch/zipfile.cpp - contrib/hbziparch/zipfile.h - contrib/hbziparch/zipfileheader.cpp - contrib/hbziparch/zipfileheader.h - contrib/hbziparch/zipfilemapping.h - contrib/hbziparch/zipinternalinfo.h - contrib/hbziparch/zipmemfile.cpp - contrib/hbziparch/zipmemfile.h - contrib/hbziparch/zippathcomponent.h - contrib/hbziparch/zipplatform.h - contrib/hbziparch/zipplatformcomm.cpp - contrib/hbziparch/zipstorage.cpp - contrib/hbziparch/zipstorage.h - contrib/hbziparch/zipstring.h * ZipArchive 2.x -> ZipArchive 3.2.0 (latest) Only one minor modification (reported to author) Plus integrated ZLIB replaced with hbzlib. ; Pass 1 2008-06-24 00:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + contrib/hbziparch/tests + contrib/hbziparch/tests/bld_b32.bat + contrib/hbziparch/tests/bld_vc.bat + contrib/hbziparch/tests/zipa.prg + contrib/hbziparch/tests/unzipa.prg * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/hbzipnew.cpp * Further cleanup. ! Several potential buffer overruns fixed. (there are still quite some left) + Added simple tests. 2008-06-23 20:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * HB_GETREADVAR() added. 2008-06-23 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/getsys.prg * source/rtl/tgetlist.prg ! Fixed ReadModal() for C5.2 mode to not accept a (BTW unused) nPos parameter. This could cause an RTE in Harbour if ReadModal( ) was used, with HB_COMPAT_C53 turned off. Default build was not affected. + Added hb_GetReadVar( ) -> to get the name of a GET variable in uppercase and including the subscripts. Same as existing HBGetList():GetReadVar() on the active GET object. 2008-06-23 15:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/common.mak - contrib/hbziparch/zip.h - contrib/hbziparch/unzip.h * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbziparc.h * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * Further cleanup. ; Now the Harbour part compiles cleanly, except the recently added HB_FUNC_EXIT( HBZIPCLEANUP ). ; I have a version ready using the unmodified sources of the latest ZipArchive version. Waiting for testers or test code. 2008-06-23 14:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbziparch/make_b32_dll.bat - contrib/hbziparch/make_b32_dll.mak - contrib/hbziparch/doc * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbziparc.h - contrib/hbziparch/zipcomp.cpp + contrib/hbziparch/hbzipcom.cpp - contrib/hbziparch/zipnew.cpp + contrib/hbziparch/hbzipnew.cpp - Docs integrated into source. - Removed .dll building batch files (highly redundant, non-maintained and probably non-working), so now the make system is fully standard. If .dll generation is that important, we will have to add it to the central contrib make files, so that we can use it for all contribs. * Renamed some files so separate ZipArch and Harbour parts. * Cleanups, renames (statics, globals), warning fixes, deleted unneeded stuff, some functions made static. ; This is still a mess. ; NOTE: Since there is no sample or test program, neither do I use this contrib, I couldn't test any of these changes. Please test. (if you have test code, upload it to hbziparch/tests) 2008-06-23 10:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/make_b32_dll.mak * contrib/hbziparch/make_b32.bat * contrib/hbziparch/make_vc.bat * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/lincompile.sh - contrib - contrib/hbziparch/include -> contrib/hbziparch - contrib/hbziparch/Linux + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipPathComponent_lnx.cpp + contrib/hbziparch/ZipPlatform_lnx.cpp - contrib/hbziparch/zippathcomponent.cpp + contrib/hbziparch/ZipPathComponent_win.cpp - contrib/hbziparch/zipplatform.cpp + contrib/hbziparch/ZipPlatform_win.cpp * Directory cleanup. ! Fixed #include. 2008-06-23 10:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/Linux + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipPathComponent_lnx.cpp + contrib/hbziparch/ZipPlatform_lnx.cpp - contrib/hbziparch/zippathcomponent.cpp + contrib/hbziparch/ZipPathComponent_win.cpp - contrib/hbziparch/zipplatform.cpp + contrib/hbziparch/ZipPlatform_win.cpp * Directory cleanup. 2008-06-23 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vcce.mak * make_vc.mak * contrib/mtpl_vc.mak * KEEPSTATE -> HB_KEEPSTATE * contrib/hbziparch/Makefile * contrib/hbziparch/make_b32.bat * contrib/hbziparch/make_vc.bat * contrib/hbziparch/common.mak - contrib/hbziparch/zip.c + contrib/hbziparch/hbziparc.c - contrib/hbziparch/include/hbzip2.h + contrib/hbziparch/hbziparc.h - contrib/hbziparch/include/hbzip.h - contrib/hbziparch/include/hbz.h * contrib/hbziparch/zipcomp.cpp * contrib/hbziparch/zipnew.cpp - Removed unnecessary headers. * Renamed include/hbzip2.h to hbziparc.h * Renamed zip.c to hbziparc.c * Some cleanups to source. * BCC warnings suppressed. % Unecessary compilation flags removed. 2008-06-22 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbapierr.h * source/rtl/errorapi.c * source/rdd/hbsix/sxtable.c * contrib/hbct/charonly.c * contrib/hbct/charevod.c * contrib/hbct/charone.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/token1.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/replace.c * contrib/hbct/ctpad.c * contrib/hbct/justify.c * contrib/hbct/remove.c * contrib/xhb/hbxml.c * contrib/hbmzip/hbmzip.c * contrib/hbtip/utils.c * Changed remaining &hb_errFuncName -> HB_ERR_FUNCNAME + Added compatibility comments. ! Fixed hb_errFuncName value (changed to 1 to be the same as HB_ERR_FUNCNAME). ; NOTE: 3rd party developers are encouraged to use HB_ERR_FUNCNAME instead of hb_errFuncName. There is no change in functionality. [TOMERGE 1.0.0RC1] 2008-06-22 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/hbcompat.ch + Added HB_SYMBOL_UNUSED() to xhb branch. [TOMERGE 1.0.0RC1] 2008-06-22 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/w32_ole.c * contrib/hbole/ole2.c * contrib/gtwvg/gtwvg.h ! HB_ID_REF() declaration changed to compile with MSVS2008 in AMD64. Przemek please verify me. ; With this, all 64bit contrib errors are fixed. [TOMERGE 1.0.0RC1] 2008-06-22 21:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbsetup.h + Added HB_OS_WIN_64 macro to replace _WIN64. [TOMERGE 1.0.0RC1] * contrib/hbwhat32/_winsys.c * contrib/hbwhat32/_winsock.c * contrib/hbwhat32/_wincall.c * contrib/gtwvg/wvtutils.c ! Fixed WIN64 compile errors. [TOMERGE 1.0.0RC1] * contrib/hbw32/dllcall.c * contrib/hbw32/w32_ole.c * _WIN64 -> HB_OS_WIN_64 [TOMERGE 1.0.0RC1] 2008-06-22 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c + Code cleanup for 64bit. Only calls to Harbour APIs are generating warnings now. (hb_xgrab, hb_xrealloc, hb_fsWriteLarge, hb_fsReadLarge, hb_retclen, hb_storclen) [TOMERGE 1.0.0RC1] 2008-06-22 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32ddr/w32_ddrw.cpp * contrib/hbodbc/odbc.c ! Fixed to compile with MSVS2008 in AMD64 mode. [1.0.0RC1] 2008-06-22 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Added HB envvar harbour.exe override. This is currently useful in VC only to create cross-platform builds. [1.0.0RC1] 2008-06-22 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with 1.0.0RC1. * make_vc.mak * make_vcce.mak * Syncing between these two. ! Fixed minor typo in CE comment. ! Fixed one rule where HB var was not respected in CE DLL generation. Marek please check me. 2008-06-22 01:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/Makefile ! Fixed to compile using GNU make system. This contrib needs xhb header in order to compile. (solved with an ugly hack) [1.0.0RC1] 2008-06-22 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/mysql.c ! Fixed GCC warning. 2008-06-21 23:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c - Removed HB_NOSTARTUPWINDOW link time GTWVT window hiding option. ; For the same effect, but with the advantage that the screen output won't slow the application at all, and that behaviour is controllable from the command line and/or at link time, please use gtgui.lib. With GTGUI the application window is neither created nor updated, while GTWVT will create the window, update the window, but it will be fully invisible with no way to unhide. Clipboard and sound generation works in both cases. For 100% similar end-user experience as the old hack: - link gtgui.lib - replace ANNOUNCE HB_NOSTARTUPWINDOW with ANNOUNCE HB_GT_GUI_DEFAULT - add REQUEST HB_GT_GUI to your application. * contrib/hbwhat32/whatutil.prg * contrib/hbwhat32/wincomm.prg * contrib/hbwhat32/wincore.prg * contrib/hbwhat32/windebug.prg * contrib/hbwhat32/winerror.prg * contrib/hbwhat32/winini.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/wintabs.prg * contrib/hbwhat32/wintbar.prg * Some .prg level code cleanup. (= operators, if(), <> -> !=). No actual problem found. 2008-06-21 22:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbfimage/Makefile ! Fixed to compile with MinGW. [1.0.0RC1] 2008-06-21 22:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtalleg/gtalleg.c * source/rtl/gtgui/gtgui.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gtxwc/gtxwc.c * Changed some GT names to more descriptive, uniform ones and leaving "win32" (it can be win64 too): "Win32 buffered console -> "Windows native console" "Win32 buffered WVT" -> "Windows GUI console (WVT)" "Strep GT driver for W32 GUI programs" -> "Windows dummy console for GUI programs" "XWindow Console XWC" -> "XWindow GUI console (XWC)" "Multiplatform Allegro graphics console" -> "Portable Allegro GUI console" 2008-06-21 21:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * doc/whatsnew.txt + Some updates. [1.0.0RC1] * contrib/Makefile ! Fix to prev. 2008-06-21 10:42 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/commctrl.ch * contrib/hbwhat32/commdlg.ch * contrib/hbwhat32/wingdi.ch * contrib/hbwhat32/wininet.ch ! Pulled from MinGW distribution. ; TODO: Refinement for UNICODE version which I realized a little later. [1.0.0RC1] 2008-06-21 19:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/hbpp.c ! Fixed to escape strings in generated hbverbld.h. [1.0.0RC1] 2008-06-21 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/_winsock.c * contrib/hbwhat32/_winmous.c ! Silenced GCC 4.30 warnings. NOTE: These warnings are pointing to important potential bugs (GPFs) in these functions. It would be better to fix them properly. 2008-06-21 18:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbole/Makefile + Marked as w32 only. + contrib/hbgf/hbgfw32/Makefile * contrib/hbgf/hbgfos2/Makefile * contrib/hbgf/hbgfgtk/Makefile + Added w32 GNU make file. + Added platforms guards. 2008-06-21 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbgf/hbgfw32/win32.ch + contrib/hbgf/hbgfw32/hbgfw32.ch * contrib/hbgf/hbgfw32/common.mak * contrib/hbgf/hbgfw32/button.prg * contrib/hbgf/hbgfw32/form.prg * contrib/hbgf/hbgfw32/edit.prg ! Made the .ch name less generic. 2008-06-21 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/Makefile - contrib/hbgf/gtk - contrib/hbgf/os2pm - contrib/hbgf/win32 + contrib/hbgf/hbgfw32 + contrib/hbgf/hbgfos2 + contrib/hbgf/hbgfgtk + contrib/hbgf/Makefile * contrib/hbgf/hbgfos2/Makefile + Decentralized GNU make for these contribs. * Renamed according to stds. ! Fix to be built under Linux/Win32. (if they don't work they should be fixed/disabled locally) * contrib/Makefile * contrib/hbodbc/Makefile * contrib/hbw32/Makefile * contrib/rddado/Makefile * Further decentralization of contrib building decisions. + Added all existing contribs to the list. Separated into two sections: standalone contribs, and ones with external dependencies. ; TODO: Refine this by some clever commenting. This is a multiplatform issue, so we need to work together. * contrib/examples/Makefile ! Fixed to include newly added examples. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat + Some steps made to make it possible to disable any messings with .dlls. This is not yet complete, and the goal is to be able to use HB_INC_* to specify include dirs for external packages on all make systems (GNU, non-GNU .bat, non-GNU .sh) 2008-06-21 17:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) - contrib/hbgf/gtk - contrib/hbgf/os2pm - contrib/hbgf/win32 + contrib/hbgf/hbgfw32 + contrib/hbgf/hbgfos2 + contrib/hbgf/hbgfgtk + contrib/hbgf/Makefile * contrib/hbgf/hbgfos2/Makefile + Decentralized GNU make for these contribs. * Renamed according to stds. ! Fix to be built under Linux/Win32. (if they don't work they should be fixed/disabled locally) 2008-06-21 17:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32ddr/Makefile ! Fixed to compile with GNU make. ! Found a way to compile with MingW. [1.0.0RC1] * contrib/hbtpathy/Makefile ! Fixed to work at all. [1.0.0RC1] * contrib/Makefile * contrib/gtwvg/Makefile * contrib/hbbmcdx/Makefile * contrib/hbodbc/Makefile * contrib/hbtip/Makefile * contrib/hbw32/Makefile * contrib/hbw32ddr/Makefile * contrib/hbwhat32/Makefile * contrib/rddads/Makefile + Platform/compiler checks moved to the contrib level Makefiles instead of being in /contrib/Makefile. This way it's modular, anyone can easily find out any platform/compiler dependencies and the central Makefile is easier to manage since it's global for all platforms/compilers. As a side effect HB_WITHOUT_ODBC, HB_WITHOUT_ADS now behaves similarly on all platforms. ; Work in progress. The goal is to be safe to include all contribs in /contrib/Makefile. - contrib/hbw32ddr/w32_ddrw.h * contrib/hbw32ddr/w32_ddrw.cpp * Cleanups, removing unneeded fluffs. [1.0.0RC1] * contrib/hbziparch/make_b32_dll.mak - Removed many unneeded command line switches. ; This make file should better be standardized. * contrib/hbziparch/Makefile - Removed many unneeded command line switches. 2008-06-21 16:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbfbird/firebird.c ! Fixed two bugs signaled by GCC 4.30. * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/zip.c * contrib/hbziparch/ziparchive.cpp * contrib/hbziparch/include/zip.h * contrib/hbziparch/include/ziparchive.h * contrib/hbziparch/include/unzip.h * contrib/hbziparch/include/zipinternalinfo.h - contrib/hbziparch/include/hbcomprs.h - contrib/hbziparch/include/zutil.h - contrib/hbziparch/include/zconf.h ! Stripped an old version (1.1.4) of ZLIB embedded in this contrib. Some warnings and even more security problems fixed this way. Users of this lib should link hbzlib.lib from now on. ! Fixed some warnings after recent update. NOTE: One is still there (unused ..HBZIPCLEANUP function). ; NOTE: The quality of this code is not up to Harbour standard. It compiles with a large amount of warnings on all (BCC, MSVC, GCC) compilers. Also the included ziparch source is dated. Anybody volunteering to clear these up? ; NOTE: Please test these changes, I'm not a user of this contrib. [1.0.0RC1] 2008-06-21 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with 1.0.0RC1. * RC1 markings renamed to 1.0.0RC1. 2008-06-21 11:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-ce-spec * harbour-w32-spec * doc/whatsnew.txt ! Fixed version to be 1.0.0 RC1 [1.0.0RC1] * ChangeLog ! Marked a few changes for merge with 1.0.0RC1. 2008-06-20 16:25 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/winuser.ch ! Pulled from MinGW distribution. ; HbWhat32 compiles fine but I have seen a lot of contradictions in the header. Anybody using hbwhat32 needs to test it properly. May be in normal usage this is OK. [1.0.0RC1] 2008-06-20 13:25 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/winuser.ch ! Clean to confirm to .CH specifications. Formatting. ; Let me know if this cleanup fixes the Copyright issue. If it is alright then I will cleanup all other .CHs. 2008-06-20 21:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c + Refreshing whole screen after palette change. This replaces the previous method which had some side effects. * source/vm/fm.c * source/vm/extrap.c * Changed "Harbour" to "Application" in user visible screen/log messages. * contrib/hbwhat32/_winfont.c ! Fixed typo in previous commit. 2008-06-20 17:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtpathy/telepath.prg ! Fixed embedded comments. [1.0.0RC1] 2008-06-20 16:23 UTC+0100 Miguel Angel Marchuet Frutos * contrib/hbziparch/zip.c * contrib/hbziparch/zipfile.cpp * contrib/hbziparch/zipnew.cpp * contrib/hbziparch/zipplatform.cpp * contrib/hbziparch/zipstorage.cpp * Synced with xharbour. Added relative paths capability, removed memory leaks and minor refinements. ( code aported by Juan Galvez ) [1.0.0RC1] 2008-06-20 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Removed PutChar override. This was added along the palette support, but I'm afraid we'll need to find an alternative solution, as this change caused a huge amount of flickering on every screen update, essentially nilling all screen change buffering efforts. ; TOFIX: Solve realtime palette change in an alternative way. 2008-06-20 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with 1.0.0RC1. * include/hbgtinfo.ch ! Comment typo. [1.0.0RC1] * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/telepath.prg ! Moved some commented "inline" stuff to C level. [1.0.0RC1] 2008-06-20 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/spd.c ! Fix for OS/2 warning. * contrib/examples/pe/editorhi.prg * contrib/examples/hscript/hscript.prg * Cleanups. * contrib/examples/hscript/bld_b32.bat ! Fixed to have hbzlib.lib [1.0.0RC1] 2008-06-19 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/examples/guestbk/guestbk.prg * contrib/examples/guestbk/inifiles.prg * contrib/examples/guestbk/testcgi.prg * contrib/examples/hscript/hscript.prg * contrib/examples/pe/editorhi.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbbtree/tests/test.prg * contrib/hbbtree/tests/ttest.prg * contrib/hbclipsm/tests/testgaug.prg * contrib/hbct/getinfo.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keytime.prg * contrib/hbct/numconv.prg * contrib/hbfbird/tfirebird.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgf/gtk/button.prg * contrib/hbgf/gtk/form.prg * contrib/hbgf/gtk/menuitem.prg * contrib/hbgf/gtk/winctrl.prg * contrib/hbgf/os2pm/button.prg * contrib/hbgf/os2pm/edit.prg * contrib/hbgf/os2pm/tform.prg * contrib/hbgf/os2pm/tmenu.prg * contrib/hbgf/os2pm/tmenuitm.prg * contrib/hbgf/tests/formtext.prg * contrib/hbgf/tests/testctrl.prg * contrib/hbgf/tests/testform.prg * contrib/hbgf/win32/button.prg * contrib/hbgf/win32/edit.prg * contrib/hbgf/win32/form.prg * contrib/hbgf/win32/menu.prg * contrib/hbgf/win32/menuitem.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmsql/tests/dbf2msql.prg * contrib/hbmsql/tmsql.prg * contrib/hbmysql/dbf2mysql.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbnf/aredit.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/pending.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tests/test.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsqlit2/tests/hbsqlite.prg * contrib/hbsqlit3/tests/sqlite3_test.prg * contrib/hbtpathy/telepath.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * contrib/hbvpdf/tests/pdf_demo.prg * contrib/hbvpdf/tests/tstpdf.prg * contrib/hbw32/w32_tole.prg * contrib/hbw32/w32_tprn.prg * contrib/hbw32ddr/tests/testdx.prg * contrib/rddado/adordd.prg * contrib/rddado/tests/access2.prg * source/debug/debugger.prg * source/rdd/hbsix/sxini.prg * utils/hbdot/hbdot.prg * utils/hbextern/hbextern.prg * Cleanup. <> -> != or !( == ) for strings if() -> iif() (for inline, where noticed) ' = ' -> := or == for comparisons, or left as '=' in the few rare cases where this was (probably) intended (sxini.prg). Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg, hbvpdf has some difficult to judge '=' operators, so I left them. ! Fixed some _SET_EXACT dependencies in a few places. ; TODO: If possible, add a compile switch to catch these, as it's not very easy using 'grep'. 2008-06-19 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Avoid using the "Windows" word in public message. 2008-06-19 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtip/cgi.prg * contrib/hbtip/encoder.prg * contrib/hbtip/ftpcln.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg * Some formatting, cleanups, <> -> != * contrib/hbtip/sendmail.prg + hb_SendMail(): Added parameter. * contrib/hbtip/thtml.prg ! Removed five remaining _SET_EXACT dependent string comparisons. Exact comparisons were used for all these cases, with a NOTE added. 2008-06-19 02:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtip/common.mak ! Added missing sendmail.prg [1.0.0RC1] * contrib/hbtip/sendmail.prg * Formatting. 2008-06-19 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/tests/testdll.prg * source/rtl/colorind.c * contrib/hbodbc/odbc.c * Minor cleanups. * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tiptest.prg ! All tip tests fixed and tested to compile/link with Harbour. * Changed to not require hbw32.lib. [1.0.0RC1] + contrib/hbtip/tests/test.dbf + Added for tests. [1.0.0RC1] 2008-06-18 11:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtclip.c ! hb_gt_w32_setClipboard() fix to CF_UNICODETEXT EOS char setting. [1.0.0RC1] * source/rtl/gtwvt/gtwvt.c + Internal error string cleanup. 2008-06-18 10:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c + Now showing the application's executable name in the window title on startup, instead of "Harbour WVT". * Window class name handling and control flow cleaned. [1.0.0RC1] 2008-06-17 23:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg % Minor opt. * contrib/hbwhat32/_winkbrd.c * contrib/hbwhat32/_wintext.c * contrib/hbwhat32/_windc.c * contrib/hbwhat32/_winsys.c * contrib/hbwhat32/_windir.c * contrib/hbwhat32/_winmsg.c * contrib/hbwhat32/_winmisc.c * contrib/hbwhat32/_winfont.c * contrib/hbwhat32/_winreg.c ! Potential warning fixes. 2008-06-17 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * tests/rto_get.prg * source/rtl/tget.prg ! Fixed TGet():assign() to pad character values to the original length with the original content. This also clears some existing differences in rto_get.prg. + Added regression test specifically for this. [1.0.0RC1] 2008-06-17 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtclip.c ! Added three LPWSTR casts to pacify warnings. [1.0.0RC1] 2008-06-17 18:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtclip.c ! Fixed get/set clipboard when UNICODE is #defined. (WinCE mostly). ! Fixed get/set clipboard when format is CF_UNICODETEXT. (untested, please someone review me) ! Fixed get clipboard when CF_TEXT/CF_OEMTEXT format is used, so that an additionaly zero byte won't be appended anymore to the returned string. [1.0.0RC1] (someone pls verify this) * source/rtl/gtwvt/gtwvt.c * "HARBOUR_WVT" -> "Harbour WVT". This text is visible, so it's better to make it "desktop friendlier"". [1.0.0RC1] 2008-06-17 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.ch * contrib/hbmzip/hbmzip.c + Added error codes to hbmzip.ch + Interface code changed to use manifest constants instead of literals in a few places. [1.0.0RC1] 2008-06-17 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/spd.c + SQL_SPRINTF() enhancements from Javier. (internal modifiers for date and numeric types are now accepted). * contrib/hbw32/w32_ole.c * contrib/hbole/ole2.c * Formatting. 2008-06-16 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbole/ole2.c * More cleanups. * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt + Updated. [1.0.0RC1] 2008-06-16 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbole/ole2.c * And some more. 2008-06-16 13:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbole/ole2.c * Further cleanup. 2008-06-16 11:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/set.ch ! Fix to previous commit. 2008-06-16 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/set.c ! Fix to previous commit. * contrib/hbole/oleauto.prg * contrib/hbole/ole2.c * Some cleanups. 2008-06-16 01:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/set.ch * include/hbset.h * source/rtl/set.c * source/vm/fm.c * source/vm/extrap.c + Added: Set( _SET_HBOUTLOG[, ] ) -> Default value: "hb_out.log" This replaces hb_fm.log and hb_ex.log, and makes it possible for the applications to control the filename where these internal Harbour outputs are written to. * source/rtl/gtwvt/gtwvt.c % Minor redundancy removed. 2008-06-15 15:16 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/gtwvg.h + contrib/gtwvg/hbgtwvg.ch ! Syntactically and parameters wise GTWVG matches GTWVT. ! More functions ported to Hb_GtInfo(). ! wvtcore.c and wvtutils.c are now based on function call instead of static variables. + Separate hbgtwvg.ch included containg GTI_ constants proprietory to GTWVG only. ! Organizing, formatting and code clean ups. ; TODO: Separate HB_GTWVT structure in 3 units 1) Core GT member. 2) WVG specif member - per GT. 3) GDI members Work-in-progress. Please deffer updates in GTWVG. 2008-06-15 23:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/memvars.c * Minor format. * contrib/hbmzip/hbmzip.c * Minor cleanups. * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/ftpadv.prg * Changed to compile in Harbour. [1.0.0RC1] 2008-06-14 11:34 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/wvtclass.prg + Implemented all features recently added in gtwvt. * contrib/gtwvg/tests/demowvg.prg * Just refreshed to match the date/time stamps with gtwvg.lib ; This is first attempt in this series of optimizations in gtwvg to synchronize it with gtwvt builing a basis for inheretance from gtwvt. Now all EXPORTed funtions in gtwvg.c are stripped and isolated in wvtpaint.prg as prg code taking use of Hb_GtInfo() architecture. gtwvg.c contains only static functions and as such GT layer is made self contained. For this to happen I had to define few more GTI_* constants which goes in gtwvg.h and local to wvtpaint.prg. One or two of them validly become candidate fot gtwvt/hbgtinfo.ch also. TODO: To clean wvtutils.c by plugging the functionality in HB_GTINFO structure. Please do not update any of these files. 2008-06-14 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + contrib/hbtip/tests + contrib/hbtip/tests/bld_b32.bat + contrib/hbtip/tests/bld_vc.bat + contrib/hbtip/tests/base64.prg + contrib/hbtip/tests/dbToHtml.prg + contrib/hbtip/tests/dnldftp.prg + contrib/hbtip/tests/ftpadv.prg + contrib/hbtip/tests/httpadv.prg + contrib/hbtip/tests/loadhtml.prg + contrib/hbtip/tests/tipmail.prg + contrib/hbtip/tests/tipmime.prg + contrib/hbtip/tests/tipmmail.prg + contrib/hbtip/tests/tiptest.prg + contrib/hbtip/tests/tiptime.prg + contrib/hbtip/tests/uploadftp.prg + Added TIP library tests from xhb repository. [1.0.0RC1] 2008-06-14 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/w32_ole.c * Fix to previous commit. 2008-06-14 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbbmcdx/bmdbfcdx1.c * contrib/hbct/ctnet.c * contrib/hbct/pos2.c * contrib/hbgf/gtk/creabutt.c * contrib/hbgf/gtk/creawin.c * contrib/hbgt/bitflags.c * contrib/hbmisc/stringsx.c * contrib/hbtip/encmthd.c * contrib/hbtip/utils.c * contrib/hbw32/w32_ole.c * contrib/hbwhat32/_wincdlg.c * contrib/hbwhat32/_winclpb.c * contrib/hbwhat32/_wintree.c * contrib/rddads/ads1.c * contrib/xhb/xstrdel.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/delim1.c * source/rdd/hbsix/sxsem.c * source/rdd/sdf1.c * source/rdd/workarea.c * source/rtl/alert.prg * source/rtl/errorsys.prg * source/rtl/gtcrs/gtcrs.c * source/rtl/gtgui/gtgui.c * source/rtl/gtsln/gtsln.c * source/rtl/gtwin/gtwin.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbgtcore.c * source/rtl/hbregex.c * source/vm/cmdarg.c * source/vm/dynsym.c ! LUPDATE() buffer overread fixed. (hb_retds("")) [1.0.0RC1] % hb_itemPutC*()/hb_retc*()/hb_errInternal() "" parameter -> NULL NOTE: gtwvg not changed. * Few minor cleanups. * Some formatting in ads1.c. (verified to result in no actual codeflow change) ; TODO: hb_retc( NULL ) -> hb_retc_null() 2008-06-13 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Sorted out SELECTCOPY menu text and Unicode. 2008-06-13 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * tests/wvtext.prg + Added hb_gtInfo( HB_GTI_SELECTCOPY, ) to set the menu text ("Mark and Copy" on startup). cMenuText mustn't be zero length. Setting the menu text also enables select© automatically. The call will return the previously set menu text. To get the menu text without setting a new one, use: hb_gtInfo( HB_GTI_SELECTCOPY, "" ) This is good if someone wants to adapt the menu text to the OS's or app's language. * doc/en/hb_apiit.txt * include/hbapi.h * include/hbapiitm.h * source/rtl/gtwin/gtwin.c * source/rtl/hbgtcore.c * source/rtl/gtgui/gtgui.c * source/rtl/gtwvt/gtwvt.c * source/vm/macro.c * source/vm/debug.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/arrays.c * source/vm/extend.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/dbffpt/dbffpt1.c * contrib/hbw32/w32_ole.c * contrib/gtwvg/gtwvg.c * contrib/rddads/ads1.c * contrib/hbmisc/spd.c * contrib/hbbmcdx/bmdbfcdx1.c * contrib/examples/rdddbt/dbfdbt1.c * I did a mistake in 1999 by giving the name hb_itemPutCPtr() to the function which would have to be correctly named hb_itemPutCLPtr() (notice the 'L' for 'length'). So, now this was renamed to hb_itemPutCLPtr(), stub was added with the old name, and Harbour code was changed to use the new one. I've also added hb_itemPutCPtr2() as a version not requiring len parameter, the proper name would be hb_itemPutCPtr() for this, but we cannot use it without breaking compatibility. IMPORTANT: I'd strongly suggest all 3rd parties to update their code to use the call hb_itemPutCLPtr() instead of hb_itemPutCPtr(). The final goal would be to have hb_itemPutCPtr() with two parameters instead of the hakish looking hb_itemPutCPtr2(). I'd welcome any opinions how to reach this goal. I didn't want to break compatiblity with 3rd parties this time, but IMO we may do it in 1.1, or even before 1.0. ! The above also fixes the (potential) problem when hb_retc_buffer()'s szText parameter was evaluated twice if HB_API_MACROS was #defined. 2008-06-14 06:18 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c ! Replaced min()/max() functions with HB_MIN()/HB_MAX() macro. 2008-06-13 13:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed window trashing for tall/wide windows where the content cannot fill the entire window client area. ; There is still a great amount of flickering, while doing the resize. I wonder if there is any solution for this besides turning off full-content drag/resize. Anyways it's only really bad when trying insane sizes, so it's not a big problem for normal usage. 2008-06-13 22:24 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * Minor cleanups. 2008-06-13 21:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed selection of left most column and top row. Thanks to Andy Wos for help. 2008-06-13 10:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtfunc.c * harbour/include/hbapigt.h + Added Palette implementation by color index. Hb_GtInfo( HB_GTI_PALETTE, nIndex[, nNewRGB ] ) -> nOldRGB * harbour/tests/wvtext.prg * Updated to demonstrate above functionality. 2008-06-13 09:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/include/hbgtinfo.ch + Added functionality to change Palette. Hb_GtInfo( HB_GTI_PALETTE, aNewPalette ) -> aOldPalette must be of 16 elements containg RGB colors. * harbour/tests/wvtext.prg * Updated to demonstrate palette info. ; TODO : Hb_GtInfo( HB_GTI_PALETTEBYINDEX, nIndex[, nNewRGB ] ) -> nOldRGB Needs deeper modifications in GT core. Needs additional parameter in core setup. Will commit today. 2008-06-12 17:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/strfmt.c + contrib/hbmisc/tests/tsstrfmt.prg + StrFormat() extended to automatically convert parameters to strings, above that the result will AllTrim()-med too before being inserted into the mask string: StrFormat( "%2 %1 born on %3", "Smith", "Mr.", Date() ) -> "Mr. Smith born on 06/12/08" 2008-06-12 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c % Minor optimization in new screen marking code. * contrib/hbmisc/strfmt.c * Cleanup, optimization, some internal limits removed. * contrib/hbmisc/spd.c * Former _SPD() function renamed to SQL_SPRINTF() 2008-06-12 00:40 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Completely removed flickering under Mark and Copy operation without lengthy calculations. Forwarded by Andy Wos - thanks. ; Viktor, now first row and column are being selected. When right < left only then first column is not accessible but it is very rare in practical application. 2008-06-12 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbct/fcopy.prg ! Fixed crash in FILECOPY() (reported by Mario H. Sabado) [1.0.0RC1] * contrib/hbodbc/odbc.c * Using sizeof() wherever possible. ! SQLGETDATA(): One strcpy() converted to hb_strncpy() + SQLGETDATA(): One TOFIX added for strcat() usage and possible buffer overrun. Also, it looks to me that both of the above would better be replaced by memcpy() calls otherwise it cannot support embedded '\0's. Anyone? 2008-06-12 01:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed remaining Mark&Copy trashing while doing the selection. * I've undone fix (2008-06-09 14:48 UTC+0800) for non-selectable maxrow/maxcol, since after the fix the _first_ row/col couldn't be selected. TOFIX: Reopened. 2008-06-12 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/dllcall.c ! fixed typo in previous modification. It should be HB_PTRDIFF instead of HB_PTR_DIFF 2008-06-11 23:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/spd.c + Added support for index & indirect arguments ANSI C99. ; Update contributed by original author: Xavi . Thanks! * Function renamed from _SPD() to C_SPRINTF(). Name tentative. * source/rtl/filesys.c ! hb_fsIsDrv() restored to generic version fo WinCE, because its API doesn't have GetDriveTypeA(). 2008-06-11 13:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/tests/wvtext.prg + Added Massimo's contribution. 2008-06-11 12:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/include/hbgtinfo.ch + Added HB_GTI_CLOSABLE Hb_GtInfo( HB_GTI_CLOSABLE, TRUE|FALSE ) -> lPrevState TRUE enables the "X" button, FALSE disbles it. + Added functionality to respond to WM_CLOSE message. If application returns 1 then application is exited. * harbour/tests/wvtext.prg + Added functionality to demonstrate above feature. 2008-06-11 19:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with 1.0.0RC1. 2008-06-11 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbgtinfo.ch * source/rtl/gtwvt/gtwvt.c ! Fixed stupid typo from me. This is why maximized size didn't want to get right. ! Fixed to not reposition non-maximized windows while resizing them and their top/left corner was off screen. ! Fixed to not allow font screen below a certain limit (3x4 pixels). This fixes some of the more obvious cases when window gets trashed. ! Fixed to not resize the windows when toggling the resizing feature using HB_GTI_RESIZABLE. + Added to disable maximize icon after maximizing and reenable it on the first resize attempt. - Removed TIMER related stuff as it's very difficult (or impossible) to support on other platforms. Timer support could be added to hbw32.lib, though. * Some cleanups. ; Remaining TOFIXes: - Window trashing when settling on a size which cannot be properly filled with the console. Try with vertically or horizontally narrow window shapes. - Mark&Copy is still trashing when swapping directions with the selection compared to the starting position. * tests/wvtext.prg ! Added missing SVN keywords properties. ! Added missing SVN eol property. ! Fixed to use the default font to have a more common ground for testing. + Added markers to the corners to easily spot chopped borders. * contrib/xhb/Makefile * contrib/xhb/common.mak - Removed some xhb specific non-standard headers from the list of those getting installed to the Harbour central include dir. Only hbcompat.ch, hbcompat.h and xhb.ch goes now to the official include dir. After this change has been merged with 1.0.0RC1, xhb.lib may be included in the default build. [1.0.0RC1] * contrib/hbw32/tests/testdll.prg + Added some more DLL calling samples. 2008-06-11 18:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h * harbour/source/rtl/dates.c + added hb_dateUnformat() - code by David G. Holm extracted from CTOD() * updated copyright note to point original author of hb_dateFormat() and hb_dateUnformat() * harbour/source/rtl/dateshb.c * use hb_dateUnformat() in CTOD() 2008-06-11 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/dllcall.c * added casting of wOrdinal to HB_PTR_DIFF to avoid waring * disabled asm code for WIN64 builds * disabled asm code for WINCE builds * disabled some code which breaks WINCE builds ; TODO: add support for WINCE/ARM and WIN64 * harbour/source/rtl/gtwvt/gtwvt.c ! always use literal strings inside TEXT() macro for UNICODE builds 2008-06-10 23:06 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed maximized state. Borders were missing. - Removed functionality to force Windows not to show Windows contents while resizing. ; Instead application can issue : To switch off full drag DllCall( "user32.dll", NIL, "SystemParametersInfo", 37, 0, 0, 0 ) To switch on full drag DllCall( "user32.dll", NIL, "SystemParametersInfo", 37, 1, 0, 0 ) ! Fixed non-refreshed client area under certain circumstances. * Removed all the hacks to adjust borders. * Adjusted maximize operation - now window is centered on the screen. ; TODO - Find a better solution to enabling and disabling of resizing feature at run time. 2008-06-11 04:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * added optimization for DTOS( ), f.e.: static s := DTOS( 0d20080611 ) 2008-06-11 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c ! fixed typo in GetDriveTypeA() * temporary disabled GetDriveTypeW() call because not all CRTLs for WinCE support it * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * added full expression list stripping - it enables optimizations in few additional places ! fixed code to always refresh expression address after direct or indirect reduction - seems that we have some memory leaks and possible GPFs not located so far Please make tests with your code. 2008-06-10 15:35 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed maximized state. Borders were missing. + Added functionality to force Windows not to show Windows contents while resizing. This can be set manually via ; To review: If this behavior be controlled via HB_GTI_SHOWRESIZING or like. * harbour/tests/wvtext.prg * Minor changes. 2008-06-10 22:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c * Casts and cleanups. 2008-06-10 21:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c % Futher optimizations. ! Fixed LoadLibrary() handle leak in DLLPREPARECALL() when an invalid function is requested from a valid library. 2008-06-10 21:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c % Optimizations. Removed one internal limit. + contrib/hbw32/tests/testdll.prg + Added small test code. 2008-06-10 19:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! do not use min()/max() C functions. These are not portable functions. Use HB_MIN()/HB_MAX() macros instead. 2008-06-10 19:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c ! Fixed memory corruption when more than 15 parameters were passed to a DLL function. * contrib/hbw32/w32_regc.c % Minor optimization. 2008-06-10 18:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c ! Fixed to not execute code after hb_errRT*() calls. ! Fixed to call hb_gcFree() if the hb_gcAlloc()ed pointer is not hb_retptrGC()d (in case of errors). 2008-06-10 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/hashfunc.c * extended functionality of HB_HSet(), HB_HDel() and HB_HDelAt() to return hash value 2008-06-10 17:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/Makefile * contrib/xhb/common.mak - contrib/xhb/hbrandom.c - We had it in core. Removed. 2008-06-10 17:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/hbrandom.c + Added some remaining xhb functions: HB_RANDOM() HB_RANDOMINT() HB_RANDOMSEED() Work of Giancarlo Niccolai / xhb. 2008-06-10 16:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c + added GetDriveTypeA() wrapper for WinCE builds * harbour/source/rtl/gtwvt/gtwvt.c ! changed wrongly used NULL to 0 * harbour/source/rtl/gtwvt/gtwvt.c * changed LoadLibrary() to LoadLibraryA() for UNICODE builds still some other code have to be updated for UNICODE builds. 2008-06-10 16:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * xhb/Makefile * xhb/common.mak + xhb/freadlin.c + Adopted HB_FREADLINE(). Work of Marcelo Lombardo / xhb. ! Fixed one potential leak (probably not exploited by current control flow). ; Please test. [1.0.0RC1] * xhb/hbcrypt.c % Minor opt. (HB_ERR_FUNCNAME) 2008-06-10 16:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/xhb/hbcrypt.c + contrib/xhb/hbnxs.h * contrib/xhb/Makefile * contrib/xhb/common.mak + Added HB_CRYPT()/HB_DECRYPT(). Thanks to Giancarlo Niccolai / xhb. + Changed to not depend on hbzlib. ; Minor modifications to compile smoothly in Harbour. [1.0.0RC1] * bin/bld.bat * Prev change undone. 2008-06-10 15:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/dllcall.c ! Fixed some xhb specific code to work in Harbour. Now the DLL functions started to work. ! Fixed buffer corruption (by 1 byte) when strings were passed by reference. + Added some XBase++-like support to always pass a copy of our string buffers to the called functions. This is safer but slower. The support is probably not complete. Please test. + Added some XBase++ compatible #defines. + Added CALLDLLTYPED() function where the return value type can be specified. Untested work in progress, feel free to modify. ; Now this test code works: --- hDLL := DllLoad( "pscript.dll" ) cVersion := Space(24) DllCall( hDll, NIL, "PSGetVersion", @cVersion ) ? cVersion DllUnload( hDLL ) --- ; TODO: Add header for these #defines. 2008-06-10 11:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed maximized window size. * contrib/hbw32/dllcall.c * Further cleanup. ! MessageBox()es converted to RTE calls. * contrib/hbcurl/hbcurl.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * source/rdd/dbcmd.c * source/rdd/dbcmd53.c * source/rdd/dbcmdx.c * source/rdd/dbsql.c * source/rdd/wafunc.c * source/rdd/workarea.c * source/rtl/abs.c * source/rtl/at.c * source/rtl/cdpapi.c * source/rtl/chrasc.c * source/rtl/copyfile.c * source/rtl/datec.c * source/rtl/dateshb.c * source/rtl/do.c * source/rtl/gtfunc.c * source/rtl/hbadler.c * source/rtl/hbbit.c * source/rtl/hbcrc.c * source/rtl/hbhex.c * source/rtl/hbinet.c * source/rtl/hbregex.c * source/rtl/hbregexc.c * source/rtl/hbrunfun.c * source/rtl/hbtoken.c * source/rtl/hbzlib.c * source/rtl/left.c * source/rtl/len.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/replic.c * source/rtl/round.c * source/rtl/run.c * source/rtl/set.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strpeek.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/rtl/type.c * source/rtl/val.c * source/rtl/valtype.c * source/rtl/word.c * source/vm/arrayshb.c * source/vm/classes.c * source/vm/debug.c * source/vm/eval.c * source/vm/evalhb.c * source/vm/hashfunc.c * source/vm/memvars.c * source/vm/runner.c * &hb_errFuncName -> HB_ERR_FUNCNAME % Using HB_ERR_FUNCNAME wherever possible. 2008-06-09 14:48 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed for selection in the last row and column. 2008-06-09 21:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/errorapi.c * Using HB_ERR_FUNCNAME. 2008-06-09 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed windows size after maximize. * Temporary restored "instant resize" on mouse move. + contrib/hbw32/dllcall.c * contrib/hbw32/common.mak * contrib/hbw32/Makefile + Added DLL interface. From xhb. Work of several authors. ; I've applied some modifications made by Alex Strickland. ; The API calls below are implemented: XBase++ compatible: - DLLLoad() - DLLUnload() - DLLPrepareCall() - DLLExecuteCall() - DLLCall() Proprietary: - LoadLibrary() - Same as DLLLoad() - FreeLibrary() - Same as DLLUnload() - GetProcAddress() - CallDLL() - CallDLLBool() - GetLastError() - SetLastError() ! Fixed GetProcAddress() passed ordinals to always be WORDs casted to DWORD. ! Fixed a few possible buffer overruns. * Cleanup, format, etc. ; Compile with HB_NO_ASM if you use BCC55 and don't have TASM32 (or upgrade to free BCC58 which contains TASM32). ; "C struct" support was stripped (but that seems only a small portion. ; Please test. I doesn't work me for simple test code, I have no idea why. ; TOFIX: Replace MessageBox() calls with RTEs. ; TOFIX: Solve any name clashing problems and/or use namespace for the proprietary interface. * include/hbapierr.h + HB_ERR_FUNCNAME added to replace &hb_errFuncName 2008-06-09 20:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/whatsnew.txt * minor fixes in formatting * harbour/source/rtl/hbgtcore.c ! fixed memory leak when HB_GTI_NOTIFIERBLOCK was used to overload register before block * harbour/source/vm/eval.c + added support for SYMBOL items in hb_evalLaunch() to be compatible with hb_itemDo() * harbour/contrib/hbmisc/spd.c * cleaned warnings 2008-06-09 09:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed most cases of trashing whilst marking. Maybe there is a simpler way of doing this... ! Readded "HB_NOSTARTUPWINDOW" feature deleted by mistake. ; TOFIX: Some trashing is still visible if switching directions relative to the starting corner. ; TOFIX: It doesn't seem to be possible to select the last row and the last column. Pritpal, could you take a look at it? 2008-06-09 07:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/hbgtcore.c * source/rtl/gtwvt/gtwvt.c * Changed the way notifications work. It's now platform neutral and more simple. hb_gtInfo( HB_GTI_NOTIFIERBLOCK, {|nEvent, ...| myhandler( nEvent, mycustomdata, ... ) }) may be used to set it. Use NIL to disable it. The purpose of this is to be able to get notifications from GT related user interactions not initiated inside the apps UI world. F.e. to save screen size after the user has changed it, or to have a last chance to commit tables, set flags, etc when user (or OS) closed the app window. ; TOFIX: New TIMER stuff in GTWVT should be replace by a platform neutral solution, which is probably MT. (see also "background events") ; TOFIX: Is there a way to force "non full content" resize on the application level? * bld/bld.bat * HB_USER_LIBS moved to the end of the lib list. 2008-06-08 22:10 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * Hack to fix maxrow() display. Now maximizing the window displays correctly on 25x80. * harbour/tests/wvtext.pr * More information. 2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed a few warnings. ! Fixed bad selection behaviour when starting the selection (to not let it "stick" to the upper left corner). - Removed predefined symbols as a way to control GT behaviour. They may interfere with foreign libs. We have hb_gtInfo() for these kinds of settings. * HB_GTI_MARKCOPY -> HB_GTI_SELECTCOPY to use more generic terminology. * HB_GTI_RESIZEABLE -> HB_GTI_RESIZABLE ; TODO: Clean the callback interface to not be Windows specific, and to hole one notifier block with higher level of information. ; TOFIX: Sometime irreguralities appear in selection, probably due to skipped updates or the like. ; TOFIX: The window gets messy while resizing to a bigger size. Test: Grab the corner, resize to bigger size while not releasing the mouse button. ; TOFIX: Window resized to a very small size will have "dead" (non-updated) portions on the sides. ; TOFIX: Resize is without flicker now, but it's not interactive anymore, so it's difficult to predict what the result will be. ; TOFIX: It's possible to resize the windows so that parts of screen disappear. 2008-06-08 20:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * More fixes on resizing. Now appears to be behaving correctly. Please test. * harbour/tests/wvtext.pr * Formatting and typos. 2008-06-08 16:03 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch + HB_GTI_MARKCOPY Added feature to toggle "Mark and Copy" Sysmenu option with: Hb_GtInfo( HB_GTI_MARKCOPY, TRUE|FALSE ) -> lPrevState Removed necessity to have Hb_NoCopyConsole() to not include it. Now appln always HAS this SysMenu option. + HB_GTI_RESIZEABLE Added feature to toggle resizing of appln window as: Hb_GtInfo( HB_GTI_RESIZEABLE, TRUE|FALSE ) -> lPrevState Function Hb_NoResizeableWindow() still hold good for startup. You always can activate/deactivate this feature from within appln. Few more optimizations while resizing, still work in progress. * harbour/tests/wvtext.prg * Updated to demonstrate above functionality. 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * Fixed flickering in "Mark and Copy" operation. /* Viktor, see the slight change in your code. */ 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c + Added functionality to disable "Mark and Copy" prompt in the SysMenu. Include Function Hb_NoCopyConsole() if you do not want this functionality. + Added funtionality to resize the console window with mouse operations. /* Resizing of console is enabled by default. To supress this behavior include a dummy function Hb_NoResizableWindow() Resizing is available in both directions. I mean horizontal as well as verticle. Maximize button is also enabled. Click it to see to your surprize that now console window will provide you DOS like terminal. However there is a bug in maximized operation, last row does not show up correct. I feel it belongs to some miscalculation, but what that is I am unable to locate, so far. Please experiment. */ * harbour/tests/wvtext.prg * Updated to new HB_GT*_ constants and new functionality. 2008-06-08 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbgtinfo.ch + Added comment to compatibility #defines, to not use them, since they're deprecated. [1.0.0RC1] * HB_GTI_CB_* -> HB_GTE_* (stands for GT Event). Removed plain GTI_ versions, GTI_* range is frozen, pls don't add new codes to them and especially don't use them in core code. * include/hbgfx.ch * include/hbgfxdef.ch * contrib/gtwvg/gtwvg.c * source/rtl/gtxwc/gtxwc.c * source/rtl/gtwvt/gtwvt.c * GFX_* constants renamed to HB_GFX_*. The old ones are still working but it's recommended to update to use HB_GFX_*. #define HB_GT_NO_XHB to disable the compatibility #defines, if it collides with your code or you want to test after transition. ; [1.0.0RC1] * source/rtl/dirdrive.c ! Guarded C53 undoc functions with HB_C52_UNDOC, which is enabled so it won't make a difference in default builds. ; [1.0.0RC1] * source/rtl/filesys.c ! Fixed hb_fsIsDrv() to use GetDriveTypeA() API, to avoid some win32 system MessageBox() to be shown when certain types of drives (f.e. USB reader devices) are queried. ; Please test. ; TOFIX: hb_fsChDrv() suffers from the same problem. ; [CANCELLED 1.0.0RC1] * contrib/hbcurl/hbcurl.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c % Optimized out explicit function name strings in RTE calls. ! The above is actually a fix (I hope) for the one in hb_adsCheckLock(). Error text also made more consistent. ; [CANCELLED 1.0.0RC1] * contrib/hbw32/w32_prn.c % Minor optimizations, cleanups. 2008-06-08 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c + Appending CRLF to each marked row before copying to the clipboard. * "Mark" sysmenu named "Mark and Copy". 2008-06-08 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/tmysql.prg * contrib/hbmysql/mysql.c * contrib/hbmysql/mysql.ch * contrib/hbtpathy/telepath.ch * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpcommon.c * contrib/hbmsql/msql.h * contrib/hbmsql/msql.ch * contrib/hbmsql/msql.c * contrib/hbfbird/firebird.c * contrib/hbfbird/tests/test.prg * contrib/hbapollo/apollo.c * contrib/hbmisc/hb_f.c * General code cleanup, formatting, minor optimizations, Harbour API usage cleanup, ANSI comments. ! Several minor fixes to Firebird interface code, but it still doesn't seem to work, and the code is very unclear, partly because of the strange/unsafe Firebird API. ! Firebird test.prg fixes: Variable name typos, undeclared vars, hard-coded paths. * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * Fixed location where .libs are looked for. [1.0.0RC1] * contrib/hbcurl/hbcurl.c % Minor cleanups. [1.0.0RC1] 2008-06-07 15:32 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Added feature to copy text from WVT console just like any console window. /* 1. Click on SysMenu icon at the left on Title Bar 2. Click on "Mark" option 3. Place cursor on top of the text you wish to copy. 4. Keep left button down and drag to desired end of console text. 5. Release left button. 6. Right click anywhere "Paste" operation is supported. 7. Copies text is there. You can drag the mouse in any direction, copied text will always be in order. */ 2008-06-07 20:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbodbc/make_vc.bat ! Removed .dll -> .lib conversion for MSVC, since the .lib is provided by the MS SDK anyway. ; [1.0.0RC1] * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/tests/ftp_uldl.prg ! Cleanup the rare case when curl_easy_init() returns NULL. Functions now always return the same type, even in case libcurl failed to initialize. + Return values for above cases is now HB_CURLE_ERROR (== -1). ! CURL_*() passed pointers now are also checked for the pointer type, and RTE is thrown if they are not HBCURL ones. So for example in the very rare case when any hbcurl functions would get passed a GC pointer returned by another API, an argument error would be thrown now. ! CURL_ESCAPE()/CURL_UNESCAPE() fixed picked parameter ordinal. + CURL_ESCAPE()/CURL_UNESCAPE() added parameter checking. ; [1.0.0RC1] * contrib/rddads/adsmgmnt.c * Minor formatting. 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/common.mak * contrib/hbmisc/Makefile - contrib/hbmisc/mathx.c + contrib/hbmisc/spd.c - Removed math functions equivalent with CT3 ones. INCOMPATIBLE: If your code used CEIL() from hbmisc, please update it to use CEILING() from hbct. Functionality is the same. + Added _SPD() function. Contributed by Javier (jarabal at gmail.com) 2008-06-07 09:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c % Minor opt. [1.0.0RC1] * ChangeLog + Marked changes merged with 1.0.0RC1. 2008-06-07 09:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed cursor width to be synced properly after a font change. ! Fixed cursor SC_NORMAL height to be calculated from the font height, instead of being a static number. [1.0.0RC1] * contrib/hbcurl/hbcurl.c + Added RTEs when wrong parameter was passed to the remaining functions: CURL_EASY_STRERROR() CURL_SHARE_STRERROR() CURL_MULTI_STRERROR() CURL_GETDATE() [1.0.0RC1] 2008-06-06 23:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! hb_gt_wvt_Info() + GTI_SCREENSIZE Hb_GtInfo( GTI_SCREENSIZE, { nPxlWidth, nPxlHeight } ) Try to adjust the mode to rows and columns best fitting nPxlWidth, nPxlHeight. + GTI_SETTIMER Hb_GtInfo( GTI_SETTIMER, { nTimerId, nMiliSeconds } ) + GTI_KILLTIMER Hb_GtInfo( GTI_KILLTIMER, nTimerId ) 2008-06-06 20:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtcore.h * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Added building blocks for CallBacks to be set with Hb_GtInfo( GTI_* ). * harbour/tests/wvtext.prg + Test program to taste few of the callbacks. /* This also sets the ground for futuristic multi-window GT I have kept MW GT code out of current implementation. This implementation does not interfere nor affects current functionality. A work in progress. Viktor, I have found a way to implement 'consol shearing, working on it and for that to happen these building blocks are a must. Przemek, please review the structure of . I have added a few members. Please bear with my meagre knowledge if I did something stupid, just correct it. */ 2008-06-06 17:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with 1.0.0RC1. * contrib/hbpgsql/make_b32.bat - Removed special compiler switches no longer necessary. [1.0.0RC1] 2008-06-06 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c + Now throws RTEs when required parameters are missing or the wrong type. The concept here is that RTEs are only to catch syntax mistakes, and not errors resulting from actual libcurl usage/functionality/states. [1.0.0RC1] * contrib/hbapollo/apollo.ch * Formatting. [1.0.0RC1] 2008-06-06 10:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added hb_pp_errorCount() which returns total number of errors which appeared during preprocessing * harbour/source/pp/hbpp.c * added new switch: -u[] use command def set in (or none) * if neither -o nor -v is specified then -w is default action + added to default search paths INCLUDE envvar * set application exit code to non 0 value if errors appear during preprocessing * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! added support for expression list without parenthesis used in statements - Clipper compatibility fix. 2008-06-06 07:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * added build status (RC1) extracted automatically from hbver.h to final package name 2008-06-05 22:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/common.mak * contrib/hbapollo/Makefile + contrib/hbapollo/apollo.ch - contrib/hbapollo/tests/apollo.ch ! apollo.ch file was in tests by mistake. [1.0.0RC1] 2008-06-05 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) - contrib/examples/pp/hbpp.c + contrib/examples/pp/pp.c * contrib/examples/pp/bld_b32.bat * contrib/examples/pp/Makefile * hbpp.c -> pp.c to generate pp.exe using GNU make files. * contrib/examples/pp/bld_b32.bat % Removed unnecessary libs. 2008-06-05 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * harbour-ce-spec * harbour-w32-spec * harbour.spec * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.bat * make_vcce.mak * make_xmingw.sh * make_xmingwce.sh + source/pp/hbpp.c - source/pp/hbppgen.c * source/pp/Makefile * hbppgen -> hbpp ; Please test. * harbour-w32-spec ! Added 'svn:keywords "Author Date Id Revision"' [1.0.0RC1] 2008-06-05 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_tgz.sh * removed not longer used HBPP references, thanks to Adam * added hbppgen to list of installed binaries for native builds * removed hbppgen from cross builds * harbour/source/pp/Makefile * harbour/config/install.cf * added hack to install also hbppgen I do not want to make deeper modifications in non GNU makefiles now. Looks that now we are ready to rename hbppgen to hbpp. I would like to keep -w hbppgen option semantic as is. Does anyone find it as a problem? 2008-06-05 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_vcce.mak * harbour/make_vc.mak * harbour/common.mak * removed not longer used HBPP references 2008-06-05 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c + added -d[=] command line switch * harbour/source/compiler/cmdcheck.c * cleaned processing -d[=] switches 2008-06-05 12:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added get_hbverstat function to extract build status from hbver.h * harbour/make_rpmw32.sh * harbour/harbour.spec * harbour/make_rpmce.sh * moved -RC1 from version to releasen part - it resolves the problem with illegal character in version number 2008-06-05 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/pp/hbppgen.c * contrib/examples/pp/hbpp.c * Headers cleaned. 2008-06-05 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * common.mak * utils/Makefile - utils/hbpp/hbpplib.c - utils/hbpp + contrib/examples/pp + contrib/examples/pp/bld_b32.bat * Moved utils/hbpp -> contrib/examples/pp + Added BCC make file. * contrib/examples/pe/bld_b32.bat ! Fixed. [1.0.0RC1] 2008-06-05 10:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/mysql.c ! Fixes to previous commit. ! Using hb_retptr(). ! SQLNROWS() fixed to return 64 bit values. % Using array API optimally. 2008-06-05 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * contrib/hbbtree/hb_btree.c * contrib/hbclipsm/gauge.c * contrib/hbfbird/firebird.c * contrib/hbgd/gdwrp.c * contrib/hbmsql/msql.c * contrib/hbmysql/mysql.c * contrib/hbnf/dispc.c * contrib/hbnf/getenvrn.c * contrib/hbnf/getver.c * contrib/hbnf/kspeed.c * contrib/hbodbc/odbc.c * contrib/hbole/ole2.c * contrib/hbsqlit2/hbsqlit2.c * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpcommon.c * contrib/hbtip/thtml.ch * contrib/hbtip/utils.c * contrib/hbtip/tip.ch * contrib/xhb/hboutdbg.c * utils/hbpp/Makefile - utils/hbpp/pragma.c + utils/hbpp/hbpragma.c * General code quality improvements. (.api usage, sprintf -> snprintf, ANSI comments, CLIPDEFS, windows.h inclusion, hb_retc*_buffer, hb_ret(), hb_itemReturnRelease(), formatting.) ! Collision between two pragma.c files resolved. 2008-06-05 12:50 UTC-0400 Phil Barnett * Set version in harbour.spec to 1.0.0-RC1 * Set version in include/hbver.h to 1.0.0-RC1 [1.0.0RC1] 2008-06-05 03:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c * Suppressed GCC warnings in foreign code. Only works for GCC 4.2.x and above. Please test. 2008-06-05 03:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c * Suppressed MSVC warnings in foreign code. ; Added NOTE that suppressing warnings with #pragmas is not possible in GCC. 2008-06-05 02:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbpgsql/postgres.c ! Don't request windows.h. + Using hb_parptrGC() for 'PGconn'. + PQCONNECT() larger buffer for connect string. ! PQCONNECT() not passing trash to PG API if no. of params != 5 ! PQCONNECT() buffer overflow vulnerability. ! PQSETDBLOGIN() password could not be passed to PG API due to typo. ! PQMETADATA() now returns empty array instead of NIL in case of failure (so test.prg won't RTE). ! PQCREATETRACE(), PQCLOSETRACE(), PQTRACE() now only activated when 'NODLL' (temp name) is defined, since passing 'FILE *' to .dlls results in crash. ; TOFIX? added to PQESCAPEBYTEA() * Formatting. % Cleanup, optimizations. ; NOTE: I've tried test.prg and while it runs, it doesn't seem to work properly for some reason. ; TOFIX: Use hb_parptrGC() for 'PGresult', 'FILE*'. * contrib/hbpgsql/make_vc.bat + Now uses the .lib provided in the binary package. [1.0.0RC1] (This needs the current 8.3.1 version) 2008-06-05 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! pass macro compiled string to error object. It fixes Clipper incompatible behavior reported by Mindaugas. ! fixed few possible internal errors when user error handler will try to force wrong substitution 2008-06-05 02:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat ! Fixed to use the right .dll to generate the .lib. [1.0.0RC1] * contrib/hbpgsql/tpostgre.prg * Comment. 2008-06-05 00:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit2/Makefile ! Readded last char of last line. [1.0.0RC1] 2008-06-04 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit2/hbsqlit2.c * Removed commented debug code. * Code cleanup, optimizations. ! GPFs fixed in many function, when no db was open. ! Automatically closing previous db when opening a new one. ! hb_sqlite2_db initialized with NULL. 2008-06-04 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/rto_get.prg + Added keypress emulator to aid automated testing. + Added test for EMG's bug case. [1.0.0RC1] 2008-06-04 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Added test for deleting file. + Added dummy upload option: + CURL_EASY_SETOPT() / HB_CURLOPT_UL_NULL_SETUP ! Fixed all the setopt options below. Very old bug in hbcurl code. Now rename, delete, other custom commands plus a few other options work properly: HB_CURLOPT_HTTPHEADER HB_CURLOPT_HTTP200ALIASES HB_CURLOPT_QUOTE HB_CURLOPT_POSTQUOTE HB_CURLOPT_PREQUOTE HB_CURLOPT_TELNETOPTIONS ; [1.0.0RC1] 2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c ! Fix for GCC. 2008-06-04 20:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * Minor. [1.0.0RC1] * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbc.txt * contrib/hbodbc/sql.ch * contrib/hbodbc/readme.txt + Added SVN headers. * contrib/hbodbc/sql.ch ! Aligned #define values. 2008-06-04 19:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Missing cast. [1.0.0RC1] 2008-06-04 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Added some more test for downloading to memory, uploading from memory. + Added possibility to download to memory, and upload from memory: + CURL_EASY_SETOPT() / HB_CURLOPT_UL_BUFF_SETUP + CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_SETUP + CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_GET + CURL_EASY_DL_BUFF_GET() -> * Changed a few old Harbour setopt defines: (old ones are still working to retain compatibility) * HB_CURLOPT_SETUPLOADFILE -> HB_CURLOPT_UL_FILE_SETUP * HB_CURLOPT_CLOSEUPLOADFILE -> HB_CURLOPT_UL_FILE_CLOSE * HB_CURLOPT_SETDOWNLOADFILE -> HB_CURLOPT_DL_FILE_SETUP * HB_CURLOPT_CLOSEDOWNLOADFILE -> HB_CURLOPT_DL_FILE_CLOSE * HB_CURLOPT_SETPROGRESS -> HB_CURLOPT_PROGRESSBLOCK ; [1.0.0RC1] 2008-06-04 17:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * Changed all logical options to default to .T.. This way all work the same way, and in real life usage the logical parameter can omitted in most cases. INCOMPATIBLE. [1.0.0RC1] * contrib/hbcurl/tests/ftp_uldl.prg + Added small example to get a dir listing. [1.0.0RC1] 2008-06-04 17:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c + Changed to use hb_parc() (instead of hb_parcx()) for all curl_easy_setopt() string options, so that NULL (NIL) will reset these options to default state, instead of passing an empty string to them. [1.0.0RC1] 2008-06-04 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/hbbit.c + Added important NOTE about hb_bit*() functions' relation to the compiler optimization engine. [1.0.0RC1] * source/vm/fm.c * source/vm/extrap.c * Log filenames converted to static variables. With the intent that they'll be converted to Set()s or similar user settable values in the future, since it's useful and more elegant to redirect these to the app's normal logfile. * contrib/hbsqlit3/hbsqlit3.c * Minor formatting. 2008-06-04 14:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit2/hbsqlit2.c * Further cleanup, optimizations. ! Converted to use ANSI comment only. * contrib/hbsqlit3/hbsqlit3.c % Minor optimization. 2008-06-04 14:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c % Removed __XHARBOUR__ guards. * Minor cleanups. * contrib/hbsqlit2/hbsqlit2.c % Major cleanup, formatting, optimizations. ! INCOMPATIBLE: public vars prefixed with 'hb_sqlite2_'. 2008-06-04 11:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbver.h + Added HB_VERSION unified version identifier: three bytes: major + minor + revision (0x000909) This is to aid 3rd parties to detect version. [1.0.0RC1] * contrib/hbsqlit3/make_b32.bat * contrib/hbsqlit3/hbsqlit3.c ! SQLITE3_OPEN(): Fixed potential leak. + BCC warnings are now suppressed for the foreign code only, and this is now effective in all build systems. * Code formatting. 2008-06-04 12:34 UTC-0400 Phil Barnett * Set version in harbour.spec to 0.9.9-RC1 * Set version in include/hbver.h to 0.9.9-RC1 * Update header info in doc/whatsnew.txt to proper date and release tag * Tag repository with RC1 2008-06-04 04:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/bin/pack_src.sh * harbour/contrib/hbw32ddr/make_gcc.sh * harbour/contrib/hbmysql/make_gcc.sh * harbour/contrib/hbct/make_gcc.sh * harbour/contrib/hbodbc/make_gcc.sh * harbour/contrib/xhb/make_gcc.sh * harbour/contrib/hbwhat32/make_gcc.sh * harbour/contrib/hbtpathy/make_gcc.sh * harbour/contrib/hbtpathy/make_b32.bat * harbour/contrib/hbtpathy/make_vc.bat * harbour/contrib/hbgt/make_gcc.sh * harbour/contrib/hbw32/make_gcc.sh * harbour/contrib/hbmsql/make_gcc.sh * harbour/contrib/hbsqlit2/vdbeaux.c * harbour/contrib/hbsqlit2/build.c * harbour/contrib/hbsqlit2/hbsqlit2.ch * harbour/contrib/hbsqlit2/vdbeInt.h * harbour/contrib/hbsqlit2/opcodes.h * harbour/contrib/hbsqlit2/btree.c * harbour/contrib/hbsqlit2/delete.c * harbour/contrib/hbsqlit2/printf.c * harbour/contrib/hbsqlit2/trigger.c * harbour/contrib/hbsqlit2/attach.c * harbour/contrib/hbsqlit2/btree.h * harbour/contrib/hbsqlit2/sqlite.h * harbour/contrib/hbsqlit2/pragma.c * harbour/contrib/hbsqlit2/config.h * harbour/contrib/hbsqlit2/util.c * harbour/contrib/hbsqlit2/select.c * harbour/contrib/hbsqlit2/os.c * harbour/contrib/hbsqlit2/tests/hbsqlite.prg * harbour/contrib/hbsqlit2/hash.c * harbour/contrib/hbsqlit2/os.h * harbour/contrib/hbsqlit2/tokenize.c * harbour/contrib/hbsqlit2/hash.h * harbour/contrib/hbsqlit2/hbsqlit2.c * harbour/contrib/hbsqlit2/Makefile * harbour/contrib/hbsqlit2/pager.c * harbour/contrib/hbsqlit2/vacuum.c * harbour/contrib/hbsqlit2/auth.c * harbour/contrib/hbsqlit2/pager.h * harbour/contrib/hbsqlit2/insert.c * harbour/contrib/hbsqlit2/copy.c * harbour/contrib/hbsqlit2/parse.c * harbour/contrib/hbsqlit2/where.c * harbour/contrib/hbsqlit2/date.c * harbour/contrib/hbsqlit2/common.mak * harbour/contrib/hbsqlit2/expr.c * harbour/contrib/hbsqlit2/parse.h * harbour/contrib/hbsqlit2/random.c * harbour/contrib/hbsqlit2/vdbe.c * harbour/contrib/hbsqlit2/sqliteInt.h * harbour/contrib/hbsqlit2/update.c * harbour/contrib/hbsqlit2/main.c * harbour/contrib/hbsqlit2/btree_rb.c * harbour/contrib/hbsqlit2/vdbe.h * harbour/contrib/hbsqlit2/table.c * harbour/contrib/hbsqlit2/readme.txt * harbour/contrib/hbsqlit2/func.c * harbour/contrib/hbsqlit2/opcodes.c * harbour/contrib/hbsqlit2/encode.c * harbour/contrib/hbole/make_gcc.sh * harbour/contrib/hbmzip/make_b32.bat * harbour/contrib/hbmzip/make_vc.bat * harbour/contrib/hbfbird/make_gcc.sh * harbour/contrib/hbapollo/make_gcc.sh * harbour/contrib/hbcurl/tests/ftp_uldl.prg * harbour/contrib/mtpl_gcc.mak * harbour/source/hbpcre/cnv_o2hb.bat * harbour/source/hbpcre/cnv_hb2o.bat * CRLF<->LF conversion * set strict svn:eol-style 2008-06-04 02:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c ! Fix to ADSCREATEFTSINDEX(). Thanks Brian and Luis. * contrib/rddads/ads.ch * Formatting: Moved #commands together to end of the file. * Formatting: Aligned #define values to look more organized. 2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * CURL_GETDATE(): using hb_retnint(). 2008-06-03 22:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed macros used in *_LARGE setopt options. * contrib/hbcurl/hbcurl.c * contrib/hbsqlit3/hbsqlit3.c * Using hb_parnint()/hb_retnint() instead of messing with LONG_LONG locally. 2008-06-03 19:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c % clear hb_stack return item in HB_GCALL() function before executing hb_gcCollectAll() 2008-06-03 18:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/hbrun.c + harbour/source/rtl/hbrunfun.c * renamed hbrun.c to hbrunfun.c to satisfy non GNU make system 2008-06-03 18:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbextern.ch + harbour/source/rtl/hbrun.c + added function to execute commands which returns application exit code: HB_RUN( ) -> 2008-06-03 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh ! added fixes by Guy Roussin - many thanks 2008-06-03 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/w32_regc.c ! fixed typo hb_free() => hb_xfree() ! fixed UNICODE build * harbour/source/vm/itemapi.c * changed hb_itemPutC() and hb_itemPutCL() to be safe when user call it passing string which is stored in item passed as first parameter. It should fix problem located by Chen. Please test. 2008-06-03 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c ! fixed unregistering exception error handler in OS2 builds David, if possible please test. 2008-06-03 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/extend.c ! Reverted previous change. Caller should check the retval of hb_storclen_buffer() and free the pointer in case it's zero. Thanks Przemek. * contrib/hbw32/w32_regc.c * contrib/hbhpdf/harupdf.c * contrib/hbwhat32/_winsys.c * utils/hbmake/readline.c ! Fixed hb_storclen_buffer() calls. * contrib/hbwhat32/_winsys.c ! SYSTEMPARAMETERSINFO() fixed retval and leaks. ; Please test. * source/rtl/tget.prg ! Typo. 2008-06-03 09:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/rdd.api + Added necessary conversions. ; NOTE: 3 functions are not yet implemented in Harbour. * contrib/hbw32/w32_regc.c * contrib/hbw32/tests/testreg.prg % Optimizations. * Formatting. * contrib/hbw32/w32_ole.c ! Fixed indentation. * contrib/hbhpdf/harupdf.c ! Fixed hpdf_ReadFromStream() to not overflow to buffer in hb_storclen_buffer(). 2008-06-03 01:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/extend.c ! hb_storclen_buffer() fixed to free the passed buffer in case it couldn't be stored. This situation was easy to miss and difficult to detect for the caller, and it might cause leaks. * contrib/hbw32/Makefile * contrib/hbw32/common.mak + contrib/hbw32/hbw32.ch + contrib/hbw32/w32_reg.prg + contrib/hbw32/w32_regc.c + contrib/hbw32/tests/testreg.prg + Added Windows registry handling stuff. Work of Peter Rees / xhb. * Code cleaned, formatted, optimized a bit. + Added an even simpler interface: w32_regRead( ) -> xValue w32_regWrite( , ) -> where is: "HKCU\key[\subkeys]\entry" 2008-06-02 23:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + contrib/hbsqlit2 + contrib/hbsqlit2/Makefile + contrib/hbsqlit2/make_b32.bat + contrib/hbsqlit2/make_vc.bat + contrib/hbsqlit2/make_gcc.sh + contrib/hbsqlit2/common.mak + contrib/hbsqlit2/hbsqlit2.c + contrib/hbsqlit2/hbsqlit2.ch + contrib/hbsqlit2/LICENSE.txt + contrib/hbsqlit2/TODO.txt + contrib/hbsqlit2/readme.txt + contrib/hbsqlit2/attach.c + contrib/hbsqlit2/auth.c + contrib/hbsqlit2/btree.c + contrib/hbsqlit2/btree.h + contrib/hbsqlit2/btree_rb.c + contrib/hbsqlit2/build.c + contrib/hbsqlit2/config.h + contrib/hbsqlit2/copy.c + contrib/hbsqlit2/date.c + contrib/hbsqlit2/delete.c + contrib/hbsqlit2/encode.c + contrib/hbsqlit2/expr.c + contrib/hbsqlit2/func.c + contrib/hbsqlit2/hash.c + contrib/hbsqlit2/hash.h + contrib/hbsqlit2/insert.c + contrib/hbsqlit2/main.c + contrib/hbsqlit2/opcodes.c + contrib/hbsqlit2/opcodes.h + contrib/hbsqlit2/os.c + contrib/hbsqlit2/os.h + contrib/hbsqlit2/pager.c + contrib/hbsqlit2/pager.h + contrib/hbsqlit2/parse.c + contrib/hbsqlit2/parse.h + contrib/hbsqlit2/pragma.c + contrib/hbsqlit2/printf.c + contrib/hbsqlit2/random.c + contrib/hbsqlit2/select.c + contrib/hbsqlit2/sqlite.h + contrib/hbsqlit2/sqliteInt.h + contrib/hbsqlit2/table.c + contrib/hbsqlit2/tokenize.c + contrib/hbsqlit2/trigger.c + contrib/hbsqlit2/update.c + contrib/hbsqlit2/util.c + contrib/hbsqlit2/vacuum.c + contrib/hbsqlit2/vdbe.c + contrib/hbsqlit2/vdbe.h + contrib/hbsqlit2/vdbeaux.c + contrib/hbsqlit2/vdbeInt.h + contrib/hbsqlit2/where.c + contrib/hbsqlit2/tests/bld_b32.bat + contrib/hbsqlit2/tests/bld_vc.bat + contrib/hbsqlit2/tests/example.db + contrib/hbsqlit2/tests/hbsqlite.prg + Added hbsqlit2 SQLite 2.x interface library. With kind permission from the author: Alejandro de Gárate + Some renames were done here too to better fit into the contrib structure. + Added std make files. + Added to 'all' make files. + Added foreign SQLite 2.8.16 (final 2.x version) source code to the repository. Compiles with an okay amount of warnings under BCC but doesn't compile in C++ mode in MSVC (due to missing casts). ; NOTE: I've added this because this is the original SQLite Harbour interface, clean and working implementation, and SQLite 2 is incompatible with 3, and some may need to access existing 2.x databases from Harbour. 2008-06-02 21:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/hvm.c % Minor opt to __SETPROFILE(), __TRACEPRGCALLS() ! __SETPROFILE() to only set the value if a parameter was passed. This way it's possible to read the value without destroying it. 2008-06-02 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbstr.c ! HB_EXPORT added to hb_strRemEscSeq(). Thanks Javier. 2008-06-02 20:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/ppcomp.c * harbour/source/compiler/cmdcheck.c ! do not disable macrotext substitution for -kc 2008-06-02 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added compile time INT( ) optimization * harbour/source/compiler/hbusage.c * updated -k? description to show "(default)" for really set flags 2008-06-02 18:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/hbcompat.ch ! Minor fix in hb to xhb branch. * contrib/hbcurl/hbcurl.ch * '( 2 ** n )' expressions changed to actual values. ; We now have these optimized, but I'm committing anyway, as some folks may be scared away by seeing these, and not knowing it's optimized (and they might not even be optimized on some Clipper platforms...). * contrib/mtpl_vc.mak ! Fixed HB_VISUALC_VER to default to '60' rather than crashing. Same default is used for core make files already. * source/common/hbverdsp.c - Removed 'CA'. + Added word 'compatible' to the 'undocumented' line. 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! do not optimize HB_BITAND(), HB_BITOR() and HB_BITXOR() when only one parameter is passed to keep RT error compatibility * use hb_compExprListStrip() to optimize function calls also when parameters are passed in parenthesis, f.e.: ? CHR(65), CHR((65)) It's not Clipper compatible and disabled by -kc switch. Viktor it will interact with some hbtest tests when compile time optimization used by Clipper gives different results then RT function f.e. CHR( ( 256 ) ). Please think if we should keep it. It's important optimization if someone uses constant values or expressions defined in parentheses. 2008-06-02 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c ! use char * instead of LPSTR to compile in non Windows environment ! fixed one printf() parames ! fixed casting and parameter type in sqlite3_blob_open() * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c - removed unused hb_compExprAsLong() + added hb_compExprAsLongNum(), hb_compExprReduceBitFunc() + added compiletime optimizatiob for HB_BIT*() functions: HB_BITAND(), HB_BITOR(), HB_BITXOR(), HB_BITSET(), HB_BITRESET() HB_BITSHIFT(), HB_BITNOT(), HB_BITTEST() 2008-06-02 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcurl/common.mak * harbour/contrib/hbcurl/hbcurl.c * harbour/contrib/hbcurl/hbcurl.ch * harbour/contrib/hbcurl/Makefile ! set svn:eol-style to native * harbour/contrib/hbcurl/make_gcc.sh ! set svn:eol-style to LF * harbour/contrib/hbcurl/Makefile * added missing rules to install header files and create library * harbour/contrib/hbcurl/hbcurl.ch ! closed uncloused /* comments * harbour/contrib/hbcurl/hbcurl.c ! fixed hb_curl_calloc() to clear allocated memory 2008-06-02 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added hb_compExprReducePower() and compile time optimization for: ^ + added compile time optimization for: % when or is not integer value NOTE: both optimizations are not Clipper compatible and disabled when -kc compiler switch is used 2008-06-02 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/tests/blob.prg * harbour/contrib/hbsqlit3/tests/sqlite3_test.prg * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * harbour/contrib/hbsqlit3/sqlite3/sqlite3.h * converted TABs to SPACEs 2008-06-02 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbverdsp.c ! Minor correction. * Wording/layout. C++/C and ANSI C init mode is now in one line as "Other build settings". * contrib/hbcurl/hbcurl.c + Comment extended regarding libcurl version requirement. + Added version guard (not currently effective). 2008-06-02 11:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Blind fix for OS/2. 2008-06-02 02:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c ! Removed Windows API dependencies (MessageBox() -> HB_TRACE()) % Minor opt. 2008-06-02 02:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbw32/w32_prn.c * contrib/hbhpdf/harupdf.c ! Fixed to not GPF in garbage collector if objects were explicitly released by caller using HPDF_FREE(), WIN32_DELETEDC(). * contrib/hbw32/w32_prn.c % Minor opt. * Formatting. * contrib/hbcurl/hbcurl.c % Minor opt. 2008-06-02 00:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * doc/whatsnew.txt + Added some recent stuff. * contrib/xhb/hbcompat.ch + hb_FSize() <-> FileSize() * contrib/hbcurl/hbcurl.c ! Fixed typo. 2008-06-01 23:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbvm.h * source/vm/hvm.c * source/vm/extrap.c ! Fixed OS/2 problem reported by David. (BTW, do we need really need to remove the exception handler before exiting? If yes, shouldn't we do the same under Win32?) * source/common/hbstr.c ! Silenced one 'loss of significant digit' BCC warning. 2008-06-01 17:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbsqlit3/hbsqlit3.c - Not needed to #include "sqlite3/sqlite3.h" if we've already #included "sqlite3/sqlite3.c" 2008-06-01 17:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh + contrib/hbsqlit3 + contrib/hbsqlit3/Makefile + contrib/hbsqlit3/make_b32.bat + contrib/hbsqlit3/make_vc.bat + contrib/hbsqlit3/make_gcc.sh + contrib/hbsqlit3/common.mak + contrib/hbsqlit3/hbsqlit3.c + contrib/hbsqlit3/hbsqlit3.ch + contrib/hbsqlit3/sqlite3/sqlite3.c + contrib/hbsqlit3/sqlite3/sqlite3.h + contrib/hbsqlit3/tests/bld_b32.bat + contrib/hbsqlit3/tests/bld_vc.bat + contrib/hbsqlit3/tests/blob.prg + contrib/hbsqlit3/tests/pack.prg + contrib/hbsqlit3/tests/metadata.prg + contrib/hbsqlit3/tests/sqlite3_test.prg + Added Harbour interface for SQLite 3.x. Thanks goes to Petr Chornyj for creating this code and making it available for this project. (The code also based on Alejandro de Gárate SQLite 2 interface work) + Added make files, arranged std contrib layout. * Renamed header, source and lib name to comply with 8.3 rules. + Added to 'all' make files. + Added foreign SQLite 3.5.9 (amalgamation) latest version source code to the repository. Compiles with lots of warnings under BCC and doesn't compile in C++ mode in MSVC (due to missing casts). ; We may remove foreign code once the warnings has been fixed and retrofitted in the original package. Since the two required files are simply #included in the Harbour source code, moving them anywhere, or accessing them from anywhere is a matter of -I switch. ; TOFIX: - Replace MessageBox() with RTE or HB_TRACE(). - Remove HB_OS_WIN_32_USED dependency. - Review if __XHARBOUR__ branches are indeed necessary. 2008-06-01 16:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/Makefile - tests/testhbf.prg + contrib/hbmisc/tests/testhbf.prg * Moved to its place. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/make_gcc.sh * Minor. 2008-06-01 13:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.ch ! Few typos. 2008-06-01 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed TOFIX1 from the previous entry. 2008-06-01 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Fixed missing header for OS/2. * source/vm/classes.c ! Minor fix in internal error text. * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/tests/ftp_uldl.prg ! non-GNU make will also look into the /bin folder for .dlls. ! Lots of fixes, too many to mention. + Enabled GC pointers. (see TOFIX though) + Added all remaining CURL 'easy' API parts and implemented all options existing in 7.18.1: + All option values (except bit-level ones) made available in hbcurl.ch + All options updated to latest CURL version in hbcurl.ch + All error codes made available in hbcurl.ch + CURL_EASY_DUPLICATE() + CURL_EASY_RESET() + CURL_EASY_PAUSE() + CURL_EASY_SEND() (not yet available in stable builds) + CURL_EASY_RECV() (not yet available in stable builds) + CURL_EASY_GETINFO() + CURL_ESCAPE() (obsolete) + CURL_UNESCAPE() (obsolete) + CURL_GETDATE() ; TOFIX1: Could someone look at it? In case I call the destructor (curl_easy_cleanup()) manually, the garbage collector will run into an invalid pointer, when terminating the test program. ; TOFIX2: The casting to 'curl_off_t' goes wrong. Could someone help? ; NOTE1: Harbour needs at least libcurl 7.17.0. Unfortunately compile time version detection is not working at this time, so try with the latest version 7.18.1. ; NOTE2: Most callback interfaces are not implemented on the Harbour level. ; NOTE3: Harbour is currently not optimizing " ** " type of expressions at compile time. Could we add it? This expression is not widespread, but anyways, it cannot hurt, if isn't too much work to do. 2008-05-31 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Using hb_fsReadLarge()/hb_fsWriteLarge() + Added redefinitiion of memory allocator functions. (doesn't work, disabled. hb_xgrab() is getting ptrs not allocated by us.) ! Fixes handling of size options in CURL_EASY_SETOPT(). + CURL_VERSION() + CURL_VERSION_INFO() + CURL_EASY_STRERROR() + CURL_SHARE_STRERROR() + CURL_EASY_ESCAPE() (see TOFIX) + CURL_EASY_UNESCAPE() (see TOFIX) + Test app extended. * Renames. ; Added several more TOFIXes. * source/rtl/tget.prg * Minor formatting. 2008-05-31 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Replaced AdsShowError() calls with HB_TRACE() ones. DEBUG guards removed. ! Minor fixes in HB_TRACE messages. * contrib/rddads/adsmgmnt.c * Minor formatting. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg * Minor changes. 2008-05-31 14:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmacro.ch * harbour/source/vm/macro.c * harbour/source/vm/hvm.c - removed HB_MACRO_STATEMENTS and HB_SM_PREPROC 2008-05-31 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Using Harbour FS API. ! Minor fix in uploaded file name. * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + Added to 'all' makefiles. 2008-05-31 12:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbcurl + contrib/hbcurl/Makefile + contrib/hbcurl/make_b32.bat + contrib/hbcurl/make_vc.bat + contrib/hbcurl/common.mak + contrib/hbcurl/make_gcc.sh + contrib/hbcurl/hbcurl.ch + contrib/hbcurl/hbcurl.c + contrib/hbcurl/tests + contrib/hbcurl/tests/bld_b32.bat + contrib/hbcurl/tests/bld_vc.bat + contrib/hbcurl/tests/ftp_uldl.prg + Added hbcurl - CURL interface library. ; Based on original work of Luiz Rafael Culik / xhb, but heavily reworked and fixed, and still a work in progress. 2008-05-31 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * removed some unused var, formatting * harbour/source/pp/ppcore.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbdate.c * casting * harbour/source/common/hbstr.c * casting * use HB_ISSPACE() instead of isspace() for strict Clipper compatibility * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! never use 'char' to 'int' casting for parameters of toupper()/to*()/isuper()/is*() functions 2008-05-31 09:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbdefs.h * For __BORLANDC__: _declspec( dllexport ) -> __declspec( dllexport ) _declspec( dllimport ) -> __declspec( dllimport ) to suppress warning: Non-ANSI keyword used: '_declspec'. NOTE1: This warning could be normally seen when compiling contrib/rddads/ads1.c, or creating a .dll build of Harbour, after the recent addition of -w switch to enable BCC warnings. NOTE2: Neither look like ANSI C, and both are undocumented in BCC. ; Please test. * include/hberrors.h * source/compiler/hbgenerr.c + Pointless historical surprise added. * contrib/mtpl_b32.mak - Removed duplicate -d switch. * contrib/rddads/ads1.c + Empty line. * TODO - Removed TBrowse() item. 2008-05-30 22:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/pp/ppcore.c * "hb_inLine" -> "hb_inline" * source/hbpcre/_hbconf.h + Added #pragma warn -sig (-w-sig-) * source/common/hbverdsp.c * source/compiler/hbusage.c * Minor adjustments to compatible product names. 2008-05-30 19:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/accept.c * Minor format. * contrib/hbfbird/readme.txt + Added SVN header. * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdf.ch * contrib/hbvpdf/tests/pdf_demo.prg + contrib/hbvpdf/readme.txt + Updated to latest 0.8 version. + Added readme.txt (including revision log) from original package. 2008-05-30 18:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbsetup.h * include/hbinit.h * source/compiler/harbour.yyc * source/compiler/harbour.y * HARBOUR_YYDEBUG -> HB_YYDEBUG (do we need this? it's a synomym for YYDEBUG) * HARBOUR_STRICT_ANSI_C -> HB_STRICT_ANSI_C (do we need this?) + HB_PCRE_REGEX added. + HB_PCRE_REGEX_BCC added. + HB_POSIX_REGEX added. - HB_MACRO_STATEMENTS 2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbverdsp.c * Some cleanups on appearance. * Company names removed (except CA). * contrib/rddads/adsmgmnt.c * Minor formatting. + contrib/examples/dbu/hb_dbu.dif * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/readme.txt + Added .dif file with a patch fixing some multiplatforms issues in original dbu source. It's a quick hack, I might have missed something, and I didn't do any testing. Add your own fix, if you have some. * DBU_DIR -> HB_DIR_DBU * make_b32.mak * contrib/mtpl_b32.mak * config/w32/bcc32.cf + Added following switches for BCC: -d: merge duplicate strings (was enabled already in GNU make) -w: enable warnings. -w-sig-: disable 'Conversion may lose significant digits' warnings. 2008-05-30 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbdefs.h - Removed WIN32_LEAN_AND_MEAN to make things more standard. We're losing some compile time performance for Windows build, but it's marginal. Runtime performance is not affected. * contrib/hbgd/gdwrp.c * Removed BCC55 hack to workaround WIN32_LEAN_AND_MEAN problem. 2008-05-30 12:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbsetup.ch * include/hbsetup.h * source/common/hbverdsp.c * source/vm/arrays.c - HB_FUNC_CALLCONV - no longer used. - HARBOUR_OBJ_GENERATION - no longer used. + Added profiler setting to build info. - YACC debug setting removed frmo build info. * Build info strict compatibility line now says 5.2e/5.3b. * HB_EXTENSION renamed to "non-portable extension" - HB_COMP_STRONG_TYPES - no longer used. - HB_FIX_ACOPY_BUG Replaced with a HB_C52_STRICT guard, but locally overridden to always be strict (thus replicating the bug). This means no change in functionality for default builds. In any ways this is not a decision to make by the Harbour users. If anyone had this locally #defined anyway, pls shout. ; NOTE: It's nice that I'm removing unused stuff, but my impression is that by time we have added quite some new such settings burried in the code, so if you're aware of any such ones, please add them to hbsetup.h (or let's discuss which ones to add). 2008-05-30 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbgd/gdwrp.c * Tweaked the BCC55 hack for WIN32_LEAN_AND_MEAN and gd.h. 2008-05-30 09:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c ! disabled SetUnhandledExceptionFilter() for WinCE builds * harbour/contrib/hbole/ole2.c * cleaned compilation in different env C/C++/UNICODE/compilers * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbole/ole2.c * harbour/contrib/gtwvg/gtwvg.h ! do not use HB_ID_REF() for _WIN64 - I would like to ask someone with Win64 to verify current Harbour build status? 2008-05-30 09:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbapollo/apollo.c ! Added __BORLAND__ specific hack to suppress numerous non-ANSI warnings in foreign header. (#define _declspec __declspec) * contrib/hbapollo/apollo1.prg + File ending CRLF. * contrib/hbgd/gdwrp.c ! Fixed to explicitly include for __BORLANDC__ only. The reason for this hack is still unknwown, if anyone could help to investigate this, it would be great. 2008-05-30 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * removed unnecessary variable * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbole/ole2.c * harbour/contrib/gtwvg/gtwvg.h ! use trick with HB_ID_REF() only for BCC and MSVC some other C++ compilers like OpenWatcom have different header files and does not need it. 2008-05-30 02:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/extrap.c * moved code to set exception handler from hvm.c to extrap.c + added void hb_vmSetExceptionHandler( void ) to set exception filter ! fixed problem with C++ builds caused by missing extern "C" declaration for exception handlers in extrap.c 2008-05-30 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * Some internal envvars are now cleared on exit. * Some internal envvar names standardized (-> _HB_*). 2008-05-30 01:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! fixed memory leak in FILEDELETE() reported by Ed - thanks. 2008-05-30 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * declare hb_stack as static variable when HB_STACK_MACROS is disabled to be sure that non extern code will access hb_stack It's very important to eliminate such code before we add MT support. * harbour/source/vm/hvm.c * changed hb_vmFrame() to work in the same way as hb_vmVFrame() * harbour/source/rtl/hbgtcore.c ! fixed wrong clear column in right horizontal scrolling * harbour/source/rtl/memoedit.prg * use hb_inkeySetLast( n ) instead of KEYBOARD Chr( n ) ; InKey() 2008-05-29 20:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak - HB_NO_BCC_MAX_OPENFILES_HACK - no longer used. * include/hbsetup.h - HB_ASORT_OPT_ITEMCOPY - no longer used. - HB_FAST_STOD - no longer used. 2008-05-29 20:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/dateshb.c * source/rtl/datesx.c % Reworked to be a bit faster than non-HB_FAST_STOD. - Removed HB_FAST_STOD build time option, because it wasn't safe. It caused reaching into undefined buffers when passed string was shorter than 8 chars. 2008-05-29 20:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/vm/hvm.c * Minor formatting. + source/vm/extrap.c + Added. Now for real. Thanks Luis. 2008-05-29 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/vm/Makefile * source/vm/mainwin.c * source/vm/estack.c + source/vm/extrap.c * source/vm/hvm.c * Rearranged/cleaned up exception handlers. * Renamed OS/2 one to comply with namespace rules. * Moved from estack.c/mainwin.c to extrap.c and hvm.c. * win32 ex.handler now enabled by default at HVM startup. * win32 ex.handler now writes exception info into hb_ex.log. * win32 ex.handler now pops up a MessageBox() by default. We should consider removing this but currently the default Windows handler kicks in anyway, which is also a GUI dialog. ; TODO: A common way to log these errors across all platforms. ; NOTE: HB_INCLUDE_WINEXCHANDLER is not used by Harbour anymore. ; NOTE: Please test OS/2 2008-05-29 17:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/make_gcc.sh * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/hbfbird/make_gcc.sh * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_gcc.sh * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/make_vc_all.bat * contrib/hbhpdf/make_gcc.sh * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbpgsql/make_gcc.sh * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_gcc.sh * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_gcc.sh * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_gcc.sh * contrib/hbgd/make_vc.bat * Changed envvars pointing to external packages to comply with our own rules: APOLLO_DIR -> HB_DIR_APOLLO FIREBIRD_DIR -> HB_DIR_FIREBIRD FREEIMAGE_DIR -> HB_DIR_FREEIMAGE GD_DIR -> HB_DIR_GD MYSQL_DIR -> HB_DIR_MYSQL PGSQL_DIR -> HB_DIR_PGSQL ADS_DIR -> HB_DIR_ADS LIBHARU_DIR -> HB_DIR_LIBHARU (same rule for _INC -> HB_INC_) Sorry folks, but you'll need to update your env. (I can send a 'gsar' script to help that) + Added option for non-GNU BCC/VC contrib makes to accept HB_INC_ format envvars to specify the include dir only, so that we're now in sync with the non-GNU GCC build system (make_gcc.sh). ; TODO: HB_LIB_ (or HB_BIN_) is still to be done any .dll/.lib handling. 2008-05-29 17:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg * ::picture(), ::PutMask(), ::unTransform() moved next to each other for easier editing/fixing. * common.mak - source/common/hbfhnd.c * source/common/Makefile - Removed file not used by Harbour anymore. * contrib/hbole/ole2.c ! Fixed OLE C++ errors under MSVC. Using Przemek's method. ; TOFIX: This one is still left: .\ole2.c(714) : error C2664: 'HRESULT (IUnknown *,const IID &,void **)' : cannot convert parameter 2 from 'LPIID' to 'const IID &' Reason: cannot convert from 'LPIID' to 'const IID' No constructor could take the source type, or constructor overload resolution was ambiguous 2008-05-29 11:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/rto_get.prg + Some tests added. + Some older tests fixed and enabled (they made C5.x crash). * source/rtl/tget.prg + Some notes about C5.x crash behaviour. ! Formatting/indentation fixes. % Minor optimizations. * contrib/xhb/Makefile * contrib/xhb/common.mak ! Added hbfast.h, hbxml.h * contrib/hbfimage/fi_wrp.c ! Fixed two BCC warnings in new code. * contrib/hbgd/gdwrp.c ! Changed to generate proper extern references even for BCC. Now tests compile OK. The trick was to explicitly #include before all the other headers, instead of just requesting it using HB_OS_WIN_32_USED. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * contrib/hbct/ct.h * contrib/hbpgsql/postgres.c - Removed #defining _CLIPDEFS_H. It's only needed when using Clipper compatibility API headers (*.api, extend.h). 2008-05-29 03:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/hbw32/w32_ole.c ! fixed compilation in C++ mode 2008-05-28 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/hbpcre/cnv_o2hb.bat * source/hbpcre/cnv_hb2o.bat + Added LICENSE * contrib/hbfimage/tests/fitest.prg * contrib/hbfimage/fi_wrp.c + Added FI_LOADFROMMEM(), FI_GETFILETYPEFROMMEM() ; Borrowed from Pavel Tsarenko / xhb. * contrib/hbclipsm/gauge.c % Minor rearrangement. * contrib/hbmysql/make_vc.bat ! #defining __WIN32__ to make it build under VC. ; NOTE: C++ builds of everything related to OLE2 are broken. Could someone look into it? (hbw32, gtwvg, hbole under BCC and MSVC) 2008-05-28 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile * respect HB_WITHOUT_ODBC and HB_WITHOUT_ADS envvars * harbour/debian/control * harbour/make_deb.sh * removed libncurses5-dev, libslang2-dev, libgpmg1-dev, libx11-dev and unixodbc-dev from dependences list. + added support for HB_COMMERCE=yes envvar + added automatic detection for curses, slang, gpm, x11 and odbc devel packages + added test for ACESDK detection - it tests if ach.h file exists in default user or system wide installation The above modifications are not tested and I would like to ask Debian/Ubuntu users to make necessary tests. 2008-05-28 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/hbzlib/ChangeLog * harbour/source/hbzlib/zutil.c * harbour/source/hbzlib/gzio.c * harbour/source/hbzlib/zutil.h * harbour/source/hbzlib/zconf.h * use _WINCE macro instead of _WIN32_WCE to detect WinCE builds defining _WIN32_WCE interacts with header files and should be left for user to specify exact WinCE version 2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * harbour/make_rpm.sh * removed --with zlib switch - now zlib will be created in all builds * added hbzlib library * added hbmzip library - MiniZIP wrapper to manage ZIP files * harbour/contrib/Makefile * added hbmzip library to default builds * harbour/include/hbzlib.h ! changed \ in include path ! added relative paths for LCC and XCC * harbour/bin/hb-func.sh * updated for hbzlib library in core code and hbmzip in contrib * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile * added hbzlib library to linked library list * harbour/include/hbzlib.h * harbour/bin/hb-func.sh * harbour/make_gcc.mak * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/bsd/gcc.cf * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile + added support for compilation with HB_EXT_ZLIB macro It forces using external (OS) ZLIB library instead of hbzlib. Still some other make files should be updated to respect it. 2008-05-28 14:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat * bin/bld_os2.cmd + Added hbzlib + Added hbpcre for OS/2. - contrib/hbzlib - Removed. 2008-05-28 14:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * include/Makefile + include/hbzlib.ch + include/hbzlib.h * include/hbextern.ch + source/rtl/hbzlib.c * source/rtl/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh * contrib/Makefile + contrib/hbmzip + contrib/hbmzip/Makefile + contrib/hbmzip/common.mak + contrib/hbmzip/make_b32.bat + contrib/hbmzip/make_vc.bat + contrib/hbmzip/make_gcc.sh + contrib/hbmzip/hbmzip.ch + contrib/hbmzip/ioapi.c + contrib/hbmzip/zip.c + contrib/hbmzip/unzip.c + contrib/hbmzip/ioapi.h + contrib/hbmzip/crypt.h + contrib/hbmzip/zip.h + contrib/hbmzip/unzip.h + contrib/hbmzip/hbmzip.c + contrib/hbmzip/readme.txt + contrib/hbmzip/tests + contrib/hbmzip/tests/bld_b32.bat + contrib/hbmzip/tests/bld_vc.bat + contrib/hbmzip/tests/myzip.prg + contrib/hbmzip/tests/myunzip.prg + Added hbzlib.h which is a simple wrapper to source/hbzlib/zlib.h. * Moved ZLIB specific Harbour wrappers and header from /contrib/hbzlib to /source/rtl. + Added /contrib/hbmzip lib based on /contrib/hbzlib. Copy + modify was used to keep the repo history. hbmzip contains all the MiniZip parts from former /contrib/hbzlib. New hbmzip header file: hbmzip.ch + Added new Harbour level zip functions to hbextern.ch. ; TODO: Remove /contrib/hbzlib, add core hbzlib to lib lists. 2008-05-28 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/hbzlib/ChangeLog * source/hbzlib/adler32.c * source/hbzlib/compress.c * source/hbzlib/crc32.c * source/hbzlib/deflate.c * source/hbzlib/gzio.c * source/hbzlib/infback.c * source/hbzlib/inffast.c * source/hbzlib/inflate.c * source/hbzlib/inftrees.c * source/hbzlib/trees.c * source/hbzlib/uncompr.c * source/hbzlib/zconf.h * source/hbzlib/zutil.c + Added modified ZLIB sources, with many tweaks to compile cleanly under Harbour. Thanks to Przemek for it. + source/hbpcre/LICENCE + source/hbzlib/README + Added legal text to foreign libs. 2008-05-28 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * make_b32.mak * make_vc.mak * make_vcce.mak * make_gcc.mak * source/Makefile + source/hbzlib + source/hbzlib/ChangeLog + source/hbzlib/adler32.c + source/hbzlib/compress.c + source/hbzlib/crc32.c + source/hbzlib/crc32.h + source/hbzlib/deflate.c + source/hbzlib/deflate.h + source/hbzlib/gzio.c + source/hbzlib/infback.c + source/hbzlib/inffast.c + source/hbzlib/inffast.h + source/hbzlib/inffixed.h + source/hbzlib/inflate.c + source/hbzlib/inflate.h + source/hbzlib/inftrees.c + source/hbzlib/inftrees.h + source/hbzlib/Makefile + source/hbzlib/trees.c + source/hbzlib/trees.h + source/hbzlib/uncompr.c + source/hbzlib/zconf.h + source/hbzlib/zlib.h + source/hbzlib/zutil.c + source/hbzlib/zutil.h + Added unmodified ZLIB sources to Harbour core. + Added them to make systems. ; Work in progress. 2008-05-28 12:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg % Flow cleanup. 2008-05-28 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg ! Fixed ::unTransform() padding for strings with @R picture. (Edmer Issue #1) ! Fixed ::unTransform() to not use the "Chr( 1 )" hack to remove certain chars from string. (there is still one such remaining) ! Fixed ::unTransform() padding with zero decimals for numerics. This cleared some differences in rto_get.prg. ! Fixed ::toDecPos() to not crash with non-numeric vars. - Removed some XBase++ specific code which is not needed for Harbour. - Removed some other unnecessary code dealing with '.'/',' swapping. % Minor cleanups. ; WARNING! Please test these with real code, as we have no extensive regression test suite for the above code parts. * tests/rto_get.prg + Added some test cases (and counter test cases) for problems reported by Edmer. * source/hbpcre/cnv_o2hb.bat * source/hbpcre/cnv_hb2o.bat ! Fix for potential s&r problem. (not adapted to converted code yet) * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/xstrdel.c + STRDEL() added from Walter Negro / xhb. * contrib/rddads/adsfunc.c + Minor correction to HB_TRACE handling. * contrib/hbfimage/fi_winfu.c % Removed unused var. 2008-05-28 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/include/hbapirdd.h * harbour/source/rdd/workarea.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbbmcdx/bmdbfcdx1.c + added ULONG ulConnection parameter to DROP() and EXISTS() RDD node methods + added 4-th parameter with ulConncetion index to [HB_]DBDROP() and [HB_]DBEXISTS() functions 2008-05-27 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh ! fixes suggested by Guy Roussin 2008-05-27 22:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * added hbvpdf library 2008-05-27 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/idle.c * updated included header files * removed unnecessary separated code for MacOSX * small modification in comment * harbour/source/hbpcre/pcreinal.h ! do not redefine BOOL type and TRUE / FALSE definitions * harbour/source/hbpcre/_hbpcreg.c * remap memory functions to Harbour core ones * harbour/source/hbpcre/pcrevutf.c * harbour/source/hbpcre/pcreoutf.c * harbour/source/hbpcre/pcrecomp.c * pacify warnings when utf8 mode is disabled * harbour/source/hbpcre/pcrefind.c * casting * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/rddads/adsfunc.c * cleanup warnings 2008-05-27 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbapi.h * source/vm/hvm.c * source/vm/cmdarg.c + Added support for internal switch format: --hb: //hb: Both are equivalent to original CA-Cl*pper: // 2008-05-27 04:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_vc.mak - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ macros. 2008-05-27 04:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/_windlg.c * contrib/hbole/ole2.c * contrib/hbfbird/firebird.c * contrib/hbziparch/zipnew.cpp * contrib/hbziparch/hbcomprs.c * contrib/hbnf/dispc.c * contrib/gtwvg/wvtutils.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! MSVC errors and warnings fixed. ; TOFIX: Several of them remain. Some contribs don't compile (gtwvg, hbole, hbw32) at all in C++ mode. * contrib/mtpl_vc.mak - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ macros. 2008-05-27 03:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat + MSVC now sets the lib dir globally, so lib names don't need to contain the path anymore. * source/vm/fm.c * Minor cleanup. - contrib/hbgd/tests/bldtest.sh + contrib/hbgd/tests/bld.sh * Update, cleanup, SVN header. 2008-05-27 03:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed cursor positioning when it's moved faster then record buffer refreshed. It should also fix flickering problem reported by Viktor - please test. 2008-05-26 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/hbpcre/Makefile * source/hbpcre/chartabs.c -- changes * source/hbpcre/config.h * source/hbpcre/pcre.h * source/hbpcre/pcrecomp.c * source/hbpcre/pcreconf.c * source/hbpcre/pcredfa.c * source/hbpcre/pcreexec.c * source/hbpcre/pcrefind.c * source/hbpcre/pcrefinf.c * source/hbpcre/pcreget.c * source/hbpcre/pcreinal.h * source/hbpcre/pcreinfo.c * source/hbpcre/pcremktb.c * source/hbpcre/pcreoutf.c * source/hbpcre/pcrerefc.c * source/hbpcre/pcrestud.c * source/hbpcre/pcretabs.c * source/hbpcre/pcretryf.c * source/hbpcre/pcrever.c * source/hbpcre/pcrevutf.c * source/hbpcre/pcrexcls.c * source/hbpcre/ucp.h * source/hbpcre/ucpinter.h - source/hbpcre/pcreglob.c -- renames + source/hbpcre/_hbpcreg.c - source/hbpcre/pcreprni.c + source/hbpcre/pcreprni.h - source/hbpcre/ucptable.c + source/hbpcre/ucptable.h + source/hbpcre/_hbconf.h -- new files + source/hbpcre/pcrenewl.c - source/hbpcre/dftables.c -- deletion + Updated to PCRE 7.7 (from 6.3) ; Original code not (yet) modified, so some warnings may appear in foreign code. ; Please test. + source/hbpcre/cnv_hb2o.bat + source/hbpcre/cnv_o2hb.bat + Added batch files to help conversion from original PCRE source files into Harbour, and also to convert back to original to make it easy to spot local changes. 2008-05-26 12:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbclipsm/gauge.c ! Fixed GPF in GaugeNew(). Old bug. (leak and non-function was a misreport, it was indeed this GPF. Now it works correctly.) 2008-05-26 12:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbapi.h * source/vm/extend.c + Added hb_retc_null() which is equivalent to hb_retc( NULL ) and will return an empty string. I opted for this because hb_retc( NULL ) usage is not compatible with CA-Cl*pper _retc(), so it might create problems when writing C code intended for both Clipper and Harbour. * contrib/hbclipsm/stack.c * contrib/hbclipsm/environ.c * contrib/hbclipsm/status.c * contrib/hbclipsm/gauge.c % Optimizations. ; TOFIX: GAUGE*() still leaks and doesn't seem to function. * contrib/rddads/adsmgmnt.c % Optimizations (using hb_arraySet*()). ! Fixed typo in ADSMGGETOPENTABLES2(). 2008-05-26 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmsql/make_b32.bat * contrib/hbmsql/make_vc.bat * contrib/hbmsql/msql.c + Now automatically setting _OS_WIN32, no need to use special CFLAGS anymore. 2008-05-26 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu) - contrib/hbgd/include - contrib/hbgd/doc/COPYING ! Removed foreign headers. * contrib/hbgd/gdwrp.c ! Minor comment correction. 2008-05-25 17:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Fixed two resource leaks. 2008-05-25 14:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbclipsm/date.c ! Fixed internal error in MDY(), DMY(). Thanks Petr. ! DMY() extra space removed. 2008-05-25 02:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * doc/whatsnew.txt + Uploaded Przemek's detailed 1.1.1 Harbour change listing. ; I've actually committed this accidentally a few days ago, without noticing. I apologize for doing so, and I'm now at least correcting the missing ChangeLog description. (plus those few minor typos I've mentioned on the list) 2008-05-24 14:55 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c * Uncommitted previous changes. - hb_arraySet( a, hb_itemPut*(x,*) ) + hb_arraySet*( a,* ) * harbour/contrib/gtwvg/wvtclass.c * CLASS TBrowseWVG() - ::DoConfigure() + ::SetVisible() This method override is more appropriate for the purpose. 2008-05-24 08:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c ! Wvt_CreateDialogDynamic() ! Wvt_CreateDialogModal() ! Win_GetDlgItemText() ! Win_SetDlgItemText() Fixed memory leak. 2008-05-23 21:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/browse.prg * source/rtl/getsys53.prg * source/rtl/profiler.prg * source/rtl/tbrowse.prg * source/debug/dbghelp.prg * source/debug/dbgwa.prg * utils/hbextern/hbextern.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * utils/hbtest/rt_class.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_file.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_trans.prg % FUNCTION -> PROCEDURE 2008-05-23 21:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/compiler/hbfunchk.c ! Typo in message. 2008-05-23 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtclass.prg * Class TBrowseWVG - METHOD ColumnsSep + METHOD DoConfigure Optimized population of ::aColumnsSep. Thanks Viktor pointing to this direction. 2008-05-23 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * harbour.spec + Added one missing HU translation. 2008-05-23 10:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvtclass.prg + TBrowseWVT class moved to contrib core, to make it available for all WVT apps. 2008-05-22 19:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg + CLASS TBrowseWVG FROM TBrowse Subclassed TBrowse to retreive <::aColumnsSep> for WVG browsers to paint column separator lines. Now Wvt*class prompt of main menu works like a charm. /* BTW, new TBrowse is really a wonderful code. Hats off to Przem, once again. */ 2008-05-22 12:20 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/common/hbstr.c * fixed typo in prevoius commit 2008-05-22 10:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * source/rdd/dbcmdx.c + Added dbPack() and dbZap() XBase++ compatibility functions. 2008-05-22 10:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/common/hbstr.c * casting for gcc 4.3.0 * source/rtl/idle.c * changed for make it work in Centos 5.1 * source/rtl/hbini.prg * set only = as default key, field separator 2008-05-22 08:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * hbwhat32/_winsys.c * hbwhat32/_wincomm.c ! Warnings. * source/rtl/net.c ! Fixed GPF in NETNAME() under DOS (in error condition only). ! Fixed GPF in NETNAME()/HB_USERNAME() on unsupported platforms. 2008-05-22 08:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) - contrib/hbmisc/dbftools.c * contrib/hbmisc/common.mak * contrib/hbmisc/Makefile - Removed to avoid collision with similar file in hbct. Notice the content was also similar, except that in hbct it was updated and extended. There was also FIELDTYPE() implemented which was colliding with function with the same name in core. * include/hbextern.ch * source/rdd/dbcmd.c * source/rdd/dbdrop.c * source/rdd/dbexists.c * source/rdd/fieldhb.c + Added HB_ prefixed versions of DBDROP(), DBEXISTS(), FIELDDEC(), FIELDLEN(), FIELDTYPE() * source/rdd/rddinfo.c ! Comment. * tests/multifnc/Makefile ! Updated lib names. * contrib/hbapollo/apollo.c ! Fixed MSVC errors. * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat ! Removed one obsolete line. + Now defines _HB_MAKELOG. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbgd/make_b32.bat * contrib/hbhpdf/make_b32.bat * contrib/hbmysql/make_b32.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/rddads/make_b32.bat + Redirects .lib creation (implib, lib) output to log file. * contrib/xhb/hbcompat.ch + Added some more conversions for xhb code. * contrib/rddads/ads1.c + Added two TODOs. (to adsDrop and adsExists) * source/pp/hbppgen.c ! MSVC warning fixed. * make_vc.mak ! Typo in prev commit. 2008-05-21 19:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rdd/dbdrop.c * source/rdd/dbexists.c % Minor opt in source layout. * ChangeLog ! Typos. 2008-05-21 17:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * harbour.spec + Added HU translation (cpwin). * source/rtl/gtfunc.c % Minor opt. * source/rtl/console.c * source/rtl/fserror.c * source/rtl/strmatch.c * source/rtl/padr.c * source/rtl/hbhex.c * source/rtl/at.c * source/rtl/abs.c * source/rtl/dates.c * source/rtl/padc.c * source/rtl/mod.c * source/rtl/hbrandom.c * source/rtl/filesys.c * source/rtl/padl.c * source/rtl/val.c * source/rtl/hbregex.c * source/vm/runner.c * source/vm/hashes.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/maindllp.c * source/vm/fm.c * source/vm/arrayshb.c * source/vm/classes.c * source/common/hbtrace.c * Formatting (whitespace only) 2008-05-21 16:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak * make_vcce.mak + Added HBDOC_LIBS to specify external libs for HBDOC. Only for non-GNU B32/VC/VCCE builds! For non-GNU GCC it's probably LDFLAGS, for GNU it's probably LDLIBS. NOTE: Use full path for the libs. Such dependency is anything but good though (the core build depends on a contrib lib, the contrib lib depends on the core build), so consider this a temporary solution. Moving HBDOC to the contrib area is one possibility, dropping it is another one. ; There is quite a big mess regarding these envvars depending on the type of make system, platform, compiler, etc, that it's almost impossible to document or understand, so maybe it'd be worth a review after the release, and sync all these external flag and dir envvars. * utils/hbdoc/genpdf1.prg ! Fixed warnings in HBDOC_PDF guarded code. 2008-05-21 15:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat * bin/bld_os2.cmd ! Removed trailing backslash from default Harbour bin dirs. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed to handle long *_DIR settings in those contribs where external packages are required. * contrib/gtwvg/tests/bld_b32.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/hbapollo/tests/bld_b32.bat * contrib/hbapollo/tests/bld_vc.bat * contrib/hbclipsm/tests/bld_b32.bat * contrib/hbclipsm/tests/bld_vc.bat * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/bld_vc.bat * contrib/hbfimage/tests/bld_b32.bat * contrib/hbfimage/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbgd/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/tests/bld_vc.bat * contrib/hbhpdf/tests/bld_b32.bat * contrib/hbhpdf/tests/bld_vc.bat * contrib/hbmisc/tests/bld_b32.bat * contrib/hbmisc/tests/bld_vc.bat * contrib/hbmysql/tests/bld_b32.bat * contrib/hbmysql/tests/bld_vc.bat * contrib/hbnf/tests/bld_b32.bat * contrib/hbnf/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat * contrib/hbodbc/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbole/tests/bld_vc.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat * contrib/hbtpathy/tests/bld_b32.bat * contrib/hbtpathy/tests/bld_vc.bat * contrib/hbvpdf/tests/bld_b32.bat * contrib/hbvpdf/tests/bld_vc.bat * contrib/hbw32/tests/bld_b32.bat * contrib/hbw32/tests/bld_vc.bat * contrib/hbw32ddr/tests/bld_b32.bat * contrib/hbw32ddr/tests/bld_vc.bat * contrib/hbzlib/tests/bld_b32.bat * contrib/hbzlib/tests/bld_vc.bat * contrib/rddado/tests/bld_b32.bat * contrib/rddado/tests/bld_vc.bat * contrib/rddads/tests/bld_b32.bat * contrib/rddads/tests/bld_vc.bat ! Fixed to honor HB_*_INSTALL envvar settings in bld_*.bats for /tests * contrib/examples/hscript/dir.hs * contrib/examples/hscript/bld_b32.bat - contrib/examples/hscript/makehtm.bat * Cleanup. * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * Header cleanup, minor code opt. * ADS_REQUIRE_VERSION==8 is now equivalent to ADS_LIB_VERSION=810. Brian suggested this is what the majority of users need. See next however. * ADS_REQUIRE_VERSION compatibility handling disabled to make usage and support more straightforward. I'd suggest everyone to remove any old ADS_REQUIRE_VERSION settings, if - and only if - there is a need to force an older version, ADS_LIB_VERSION=??? should be used, where ??? is 810 for ACE 8.10 (for example). 2008-05-21 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * updated some comments * harbour/source/vm/hvm.c * harbour/source/vm/classes.c * formtting 2008-05-21 03:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbvpdf/Makefile * contrib/hbvpdf/common.mak * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg + contrib/hbvpdf/hbvpsup.prg - contrib/hbvpdf/tests/fonts.dat + fonts.dat embedded in code (using BASE64 encoding). 2008-05-20 21:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbvpdf/tests/pdf_demo.prg * contrib/hbvpdf/tests/tstpdf.prg * contrib/hbvpdf/hbvpdft.prg ! TABs -> SPACEs 2008-05-20 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added HB_USR_LIBS set during build time to list of predefined libs in hb* scripts * harbour/source/rtl/hbgtcore.c ! fixed horizontal scrolling. Warning CTIII does not support horizontal scrolling and ignores 6-th scroll parameters. This behavior is intentionally not replicated in CTWIN though it can be easy added if someone will need it but covered with some macro to not change default builds. It will be enough to overload SCROLL() method and set iCol = 0 before calling SUPER_SCROLL(). 2008-05-20 17:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbvpdf/hbvpdft.prg ! Fixed include filename to be in lower case. Reported by Lorenzo. * contrib/hbhpdf/tests/files/gray.jpg * contrib/hbhpdf/tests/files/rgb.jpg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcls.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/images_in/gdlogobig.png - contrib/hbgd/tests/images_in/conv_test.jpeg + contrib/hbgd/tests/images_in/conv_test.jpg ! .jpg cleanup. 2008-05-20 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbvpdf + contrib/hbvpdf/common.mak + contrib/hbvpdf/hbvpdf.prg + contrib/hbvpdf/hbvpdf.ch + contrib/hbvpdf/make_gcc.sh + contrib/hbvpdf/tests + contrib/hbvpdf/tests/fonts.dat + contrib/hbvpdf/tests/files + contrib/hbvpdf/tests/files/color.tif + contrib/hbvpdf/tests/files/test.txt + contrib/hbvpdf/tests/files/color.jpg + contrib/hbvpdf/tests/pdf_demo.prg + contrib/hbvpdf/tests/tstpdf.prg + contrib/hbvpdf/tests/bld_b32.bat + contrib/hbvpdf/tests/bld_vc.bat + contrib/hbvpdf/hbvpdft.prg + contrib/hbvpdf/make_b32.bat + contrib/hbvpdf/make_vc.bat + contrib/hbvpdf/Makefile + Added Viktor K's pure Clipper pdf lib. + Added Pritpal's OOP version. + Added make files, reorged dir layout, named files to avoid collision. + Added minor #define tweak to compile as-is. * Renamed pdf.ch to hbvpdf.ch for above reasons, if this hurts anybody, I will correct it. ! Fixed unused vars and a few other things. ; TOFIX: - ShellExecute(), GetDeskTopWindow() dependencies commented out. - fonts.dat dependency is a PITA, so this file should be moved inside the .prg somehow. - There are some hard-wired non portable things like Acrobat executable path. * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + hbvpdf added to make systems. 2008-05-20 09:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/wincorec.c ! Removed old-style Clipper comment from C code. * contrib/hbwhat32/_winsys.c ! Fixed unresolved external in SYSTEMPARAMETERSINFO(). 2008-05-20 08:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/numtxthu.prg * contrib/hbmisc/numtxten.prg + Updated. * utils/hbmake/hbmake.prg ! Typos. 2008-05-20 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * doc/es/Makefile * doc/whatsnew.txt * source/lang/Makefile * source/rtl/gtcrs/Makefile * source/main/Makefile * source/debug/Makefile * source/codepage/Makefile * source/rdd/hbsix/Makefile * source/compiler/Makefile * contrib/hbgf/os2pm/Makefile * contrib/hbgf/gtk/Makefile * Some TAB/space cleanup. 2008-05-20 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c ! fixed typo in last modification - I chose wrong token 2008-05-19 23:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * harbour/harbour.spec * changed --without gpl to --without gpllib * harbour/source/compiler/complex.c * changed END terminal symbol used for END SEQUENCE to ENDSEQ for better error reporting in wrong .prg code 2008-05-19 18:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak + contrib/hbwhat32/wincorec.c * contrib/hbwhat32/wincore.prg ! Got rid of begindump/enddump ; No more begindump/enddump in repo. 2008-05-19 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbtpathy/common.mak * contrib/hbtpathy/Makefile * contrib/hbtpathy/telepath.prg + contrib/hbtpathy/tpcommon.c ! Got rid of begindump/enddump 2008-05-19 16:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * doc/whatsnew.txt + Added first round of whatsnew update. 2008-05-19 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c + ADSSTMTSETTABLELOCKTYPE() + ADSVERIFYSQL() (for ACE 6.20 or upper) + ADSCREATEFTSINDEX() (for ACE 7.00 or upper) ; Thanks to Brian Hays for these functions. 2008-05-19 09:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/Makefile ! Spaces to TABs. 2008-05-19 09:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/xhb/usrrdd.ch + contrib/xhb/math.ch + contrib/xhb/classex.ch * contrib/xhb/Makefile * contrib/xhb/common.mak + Some more xhb compatibility. 2008-05-19 09:01 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg % Minor code optimization. * contrib/rddads/adsfunc.c ! Minor correction. 2008-05-19 00:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed HPDF_READFROMSTREAM() to not directly write into the variable buffer. The function will now return the status code instead of buffer length. The latter can be determined using Len(). 2008-05-19 00:07 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed to use garbage collector to automatically free HPDF_Doc pointers. The rest of pointers seem to be handled automatically by internal memory manager of libharu. Also note that leaks wouldn't be reported by Harbour, because libharu currently uses memory via std C calls, not via hb_x*() functions. 2008-05-18 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Added one TOFIX. ! Fixed some casts. 2008-05-18 22:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c + Calling hb_fsNameConv() in filename parameters. Thanks Petr for the suggestion. ! Changed hb_parnl()/hb_retnl() calls to hb_parptr()/hb_retptr() where a "handle" (which is a memory pointer) is passed. ; TOFIX: Some of these calls should be changed to the GC version to avoid leaks by bad or interrupted program code. 2008-05-18 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed GPFs. Thanks to Petr Chornyj. 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/tests/harupdf.prg ! "\" -> hb_OSPathSeparator(). 2008-05-18 18:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/rddads/tests/datad.prg + Added new test program for ADS DD/SQL functionality. Kindly sent by Brian Hays. NOTE: The code will show some errors on SQL execution. I couldn't investigate, but it does the same with older versions of rddads, too. * contrib/rddads/ads1.c ! Two occurences of AdsShowError() calls guarded with DEBUG. This call pops up a visual dialog box on screen and halts execution until this is confirmed by the user. Not very desirable inside RDD code in real life environments. Proper error codes were and are still returned in these cases. * contrib/rddads/adsfunc.c * Final reformat and optimization. ! Fixed to not call AdsShowError() by default, only when DEBUG is #define-d. For about the same reason as above. Caller should use AdsGetLastError() to get the error code and string and present it to the user as required. + QUESTIONs added. * contrib/rddads/adsmgmnt.c * ADSMGGETOPENTABLES() changed to return empty array instead of error code in case of error. This way it now behaves consistently with the rest of the mgmnt functions. Error code and string can be get by the caller using ADSGETLASTERROR(). + ADSMGGETOPENTABLES2() added, which is similar to ADSMGGETOPENTABLES(), but will also return lock type for all tables, this way clearing a long standing TODO in the source. 2008-05-18 09:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c + QUESTION added. * Formatting. 2008-05-18 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed all MSVC warnings. Now builds cleanly. 2008-05-18 08:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbhpdf/Makefile + contrib/hbhpdf/make_b32.bat + contrib/hbhpdf/make_vc.bat + contrib/hbhpdf/make_gcc.sh + contrib/hbhpdf/common.mak + contrib/hbhpdf/tests/bld_b32.bat + contrib/hbhpdf/tests/bld_vc.bat + Added build/make files. ; Please test GNU make files. * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + Added hbhpdf to 'all' make files. (not yet to GNU make files though) - contrib/hbhpdf/tests/ + contrib/hbhpdf/tests/files/ * Data files needed for test app moved to a subdir. * contrib/hbhpdf/tests/harupdf.prg ! Absolute paths changed to relative ones (for both input and output ones). ! NumToHex() -> hb_NumToHex() + hbct added to lib list because test program uses SIN()/COS()/TAN() from it. - contrib/hbhpdf/tests/harupdf.ch + contrib/hbhpdf/harupdf.ch * Moved to main dir. - contrib/hbhpdf/hpdf.h - Removed original libharu header. This will be picked up from the package dir, along with the rest of the .h files. * contrib/hbhpdf/harupdf.ch + Added self-guard. * contrib/hbhpdf/harupdf.c ! Fixed a few BCC warnings. It now builds cleanly. ; NOTE: There are a lot MSVC casting warnings and errors left. ; Many thanks for this contrib to Pritpal Bedi. 2008-05-17 18:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbhpdf + harbour/contrib/hbhpdf/harupdf.c + harbour/contrib/hbhpdf/hpdf.h Initial upload of wrappers for HaruPDF Library (http://sourceforge.net/projects/libharu/). + harbour/contrib/hbhpdf/tests + harbour/contrib/hbhpdf/tests/harupdf.prg + harbour/contrib/hbhpdf/tests/harupdf.ch Test program. + harbour/contrib/hbhpdf/tests/32_32_color.dat + harbour/contrib/hbhpdf/tests/32_32_gray.dat + harbour/contrib/hbhpdf/tests/32_32_rgb.dat + harbour/contrib/hbhpdf/tests/a010013l.afm + harbour/contrib/hbhpdf/tests/a010013l.pfb + harbour/contrib/hbhpdf/tests/basn0g01.png + harbour/contrib/hbhpdf/tests/basn0g02.png + harbour/contrib/hbhpdf/tests/basn0g04.png + harbour/contrib/hbhpdf/tests/basn0g08.png + harbour/contrib/hbhpdf/tests/basn2c08.png + harbour/contrib/hbhpdf/tests/basn0g16.png + harbour/contrib/hbhpdf/tests/basn2c16.png + harbour/contrib/hbhpdf/tests/basn3p01.png + harbour/contrib/hbhpdf/tests/basn3p02.png + harbour/contrib/hbhpdf/tests/basn3p04.png + harbour/contrib/hbhpdf/tests/basn3p08.png + harbour/contrib/hbhpdf/tests/basn4a08.png + harbour/contrib/hbhpdf/tests/basn4a16.png + harbour/contrib/hbhpdf/tests/basn6a08.png + harbour/contrib/hbhpdf/tests/basn6a16.png + harbour/contrib/hbhpdf/tests/maskimage.png + harbour/contrib/hbhpdf/tests/cp932.txt + harbour/contrib/hbhpdf/tests/cp936.txt + harbour/contrib/hbhpdf/tests/elic_jp.txt + harbour/contrib/hbhpdf/tests/euc.txt + harbour/contrib/hbhpdf/tests/gray.jpg + harbour/contrib/hbhpdf/tests/rgb.jpg + harbour/contrib/hbhpdf/tests/penguinattack.ttf + harbour/contrib/hbhpdf/tests/sjis.txt Needed files to run the haruprf.prg. Files are pulled from HaruPDF library distribution. /* NOTE! this library need distribution from : http://sourceforge.net/projects/libharu/ The distribution contains libpng.lib and zlib.lib for Windows. Viktor, please put copyright notices and all other necessary batch files to build this library. */ 2008-05-17 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c * cleaned code used to locate ChangeLog file 2008-05-16 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! moved function related variables and structures from HB_COMP to PFUNCTION - it fixes many different problems which can appear in some code, also the recent Mindaugas' example ! initialize statement value in error action to avoid valgrind/CodeGuard warning reports when syntax error appear in some complex statements * harbour/source/rtl/scrollbr.prg * repalced TAB with SPACEs 2008-05-16 09:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tbrowse.prg + HIDDEN -> PROTECTED * contrib/rddads/rddads.h * Comment. * contrib/rddads/adsfunc.c ! ADSCOPYTABLECONTENTS() fixed to throw an RTE if destination area is not ADS. ! ADSCOPYTABLECONTENTS() fixed to not change the current workarea to the destination area (even if destination area wasn't ADS). * contrib/rddads/ads1.c ! Added some missing bits to VFP support. Requires ACE 9.00 or upper. 2008-05-15 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.c * harbour/source/rtl/gtwvt/gtwvt.c ! fixed memory corruption caused by missing ASCII-0 terminator when window title is retrieve 2008-05-15 12:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h ! Fix to previous commit to avoid warning. (and again) 2008-05-15 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h ! Fix to previous commit to avoid warning. * contrib/rddads/adsmgmnt.c * contrib/rddads/tests/testmg.prg % Final cleanup, minor optim. + HB_TRACE messages made shorter, added to all functions, consume less string space, now enabled if HB_TRACE trace level is INFO or above (instead of being commented out). Maybe they could be deleted, even. + ADSMGGETINSTALLINFO(), ADSMGGETACTIVITYINFO(), ADSMGGETCOMMSTATS(), ADSMGGETCONFIGINFO() now return an empty array in case of error instead of NIL, to be in sync with the rest of the functions. Now the only exception is ADSMGGETLOCKOWNER() which will return an ADS error code on failure and array on success. Please tell if the above functionality change hurts compatibility too much. WARNING: Change in error behavior. 2008-05-15 09:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h ! Fixed to not allow to override to a higher lib version of the one of ACE lib. This applies to both ADS_LIB_VERSION and the compatibility ADS_REQUIRE_VERSION. ! Fixed so that ADS_LIB_VERSION override always takes precedence over ADS_REQUIRE_VERSION. * contrib/rddads/tests/testmg.prg ! Fixed to not crash when there's no server. * contrib/rddads/adsmgmnt.c % Minor opt. 2008-05-15 03:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/db_brows.prg ! Removed note of hbmisc requirement. * tests/Makefile - tests/twirl.prg + contrib/hbmisc/tests/twirl.prg ! Test moved to local test dir. * source/vm/cmdarg.c ! hb_cmdargIsInternal(): Removed '--' as internal option marker, since it will disallow any application code to accept such options. We will now stick with '//' prefix for Clipper compatible internal options. * contrib/hbzlib/tests/myzip.prg * contrib/hbzlib/tests/myunzip.prg * contrib/hbzlib/hbmzip.c + Added support for password on Harbour API level. ; NOTE: This password is not at the moment compatible with .zip passwords added by standard .zip utilities. 2008-05-15 02:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! declare HBDebugger as friend class of HBBrwText to avoid scope errors when debugger code executes some protected messages. It will be better to clean debugger code but I do not have time for it now. ! use HBEditor() in edit mode to eliminate problems with cursor positioning in source code window * harbour/source/debug/debugger.prg * added protection against RT error during macro evaluation of wrong user expressions 2008-05-14 20:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c % Some optimizations and cleanups. ! ADSVERSION(): Fixed possible memory corruption when wrong parameter was passed (not 0 or 3). ! ADSVERSION(): Fixed not trimming first char if it's a space. ! ADSSTMTSETTABLEPASSWORD(): Fixed to check pArea->hStatement rather than hConnect before making the call to ACE API AdsStmtSetTablePassword(). Someone please check me on this. 2008-05-14 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c ! Minor cleanups. 2008-05-14 13:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/bld4dll.bat * tests/gnu_test.bat - tests/test.ch - tests/testinc.prg - tests/db_brows.ch * tests/db_brows.prg - tests/entries.ini - tests/hversion.prg - tests/cgi.ch * tests/testcgi.prg ! Cleanups. 2008-05-14 12:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbclipsm/tests/bld_b32.bat + contrib/hbclipsm/tests/bld_vc.bat + contrib/hbmisc/tests/bld_b32.bat + contrib/hbmisc/tests/bld_vc.bat + contrib/hbmysql/tests/bld_b32.bat + contrib/hbmysql/tests/bld_vc.bat + contrib/hbnf/tests/bld_b32.bat + contrib/hbnf/tests/bld_vc.bat + contrib/hbtpathy/tests/bld_b32.bat + contrib/hbtpathy/tests/bld_vc.bat + contrib/hbw32/tests/bld_b32.bat + contrib/hbw32/tests/bld_vc.bat + contrib/hbw32ddr/tests/bld_b32.bat + contrib/hbw32ddr/tests/bld_vc.bat + contrib/hbzlib/tests/bld_b32.bat + contrib/hbzlib/tests/bld_vc.bat + contrib/rddado/tests/bld_b32.bat + contrib/rddado/tests/bld_vc.bat + contrib/rddads/tests/bld_b32.bat + contrib/rddads/tests/bld_vc.bat + Added non-GNU make files to make it easy to build contrib tests. * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat + Added automatic generation of ddraw.lib. * contrib/rddads/tests/testmg.prg ! _ADS -> ADS * contrib/rddads/ads1.c ! Fixed MSVC warning. * contrib/hbbtree/tests/test.prg * contrib/hbbtree/tests/ttest.prg * License moved to top of the files. * contrib/hbw32ddr/tests/testdx.prg ! SVN ID added. * Some formatting. 2008-05-14 11:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Completed namespace cleanup, with the global vars: adsFileType -> hb_ads_iFileType adsLockType -> hb_ads_iLockType adsRights -> hb_ads_iCheckRights adsCharType -> hb_ads_iCharType bTestRecLocks -> hb_ads_bTestRecLocks adsConnectHandle -> hb_ads_hConnect adsOEM -> hb_ads_bOEM ; Please modify your code, if you relied on these. ! Minor code cleanups. 2008-05-14 11:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Fixed and extended ADS_REQUIRE_VERSION compatibility handling. Thanks Brian. Usage of this #define is obsoleted, and in case someone wants to override version autodetection, ADS_LIB_VERSION should be used instead. ! Some public C level functions renamed to respect namespace: adsCloseCursor() -> hb_adsCloseCursor() hb_rddGetADSWorkAreaPointer() -> hb_adsGetWorkAreaPointer() ShowPercentage() -> hb_adsShowPercentageCB() 2008-05-14 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbfimage/tests/bld_b32.bat + contrib/hbfimage/tests/bld_vc.bat + Standardized. 2008-05-14 10:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_vc.bat * contrib/hbmysql/make_vc.bat * contrib/hbzlib/make_vc.bat * contrib/rddads/make_vc.bat + Use .lib files supplied with 3rd party packages (where available), rather than generating them locally. ; Please test. 2008-05-14 10:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed :insColumn() - added missing hb_aIns() parameter. 2008-05-14 10:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu) - lib/b32/empty - lib/vc/empty - bin/b32/empty - bin/vc/empty - contrib/hbgd/tests/images_out/EMPTY - obj/b32/empty - obj/vc/empty - No longer needed for SVN. 2008-05-14 08:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat + contrib/hbodbc/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat + contrib/hbole/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat + contrib/hbfbird/tests/bld_vc.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/gtwvg/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_b32.bat + contrib/hbpgsql/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat + contrib/hbgf/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbgd/tests/bld_vc.bat - contrib/hbgd/tests/bldtest.bat + Standardized contrib test build batch files for non-GNU make systems. + Added MSVC flavour of these. + Now automatically sets Harbour bin/inc/lib paths. * source/rtl/scrollbr.prg % Minor opt, slipped in by last change. * contrib/hbfbird/tfirebird.prg ! Fixed duplicate class var declaration. 2008-05-14 01:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/adsfunc.c ! use OemToCharBuffA() and CharToOemBuffA() for UNICODE W32 builds 2008-05-14 00:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c ! added casting to unsigned char to force syntax error when some unknown tokens appear. Negative values bison recognizes as end of input. * harbour/contrib/rddads/adsmgmnt.c ! cleaned one warning 2008-05-13 11:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/txml.prg ! fixed wrongly defined scopes. Note: during porting xHarbour code to Harbour scopes should be carefully checked because in xHarbour in many cases wrong scopes does not cause any RT errors. 2008-05-13 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbct/tests/bld_b32.bat + contrib/hbct/tests/bld_vc.bat + Added non-GNU make files for tests. * contrib/hbct/tests/Makefile + Added ctwtest.prg to GNU makefile for hbct tests. (so building of these was actually solved already) * contrib/rddads/adsfunc.c ! Minor comment. 2008-05-12 22:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/tests/bld_b32.bat + Added switch to compile in GUI mode. 2008-05-12 21:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * Some cleanups. Minor fixes, comments added. 2008-05-12 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/Makefile + Added hbpcre to the list of libs. 2008-05-12 14:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat + Added hbpcre to lib list. * source/rtl/hbini.prg ; Some formatting. * tests/Makefile + tests/parseini.prg + tests/parseini.ini + tests/parseins.ini + Added .ini handling tests. Adapted from xhb. 2008-05-12 13:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/bld.bat + Added %HB_USER_LIB% for w32/msvc. + contrib/hbapollo/tests/bld_vc.bat + contrib/gtwvg/tests/bld_vc.bat + Added VC make files. * contrib/gtwvg/tests/demowvg.prg - Removed (unused) embedded C code. ; It still doesn't run though. * contrib/gtwvg/tests/bld_b32.bat ! Fixed eol-style. 2008-05-12 11:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c ! Readded one mistakenly removed cast. 2008-05-12 11:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/scrollbr.prg ! Fixed :Update(). Submitted by Edmer. ! Fixed formula in :CalcThumbPos(). Reported by Edmer. ! Fixed assigment in :CalcThumbPos() to not interfere with ::lOverride. Reported by Edmer. ; Please test. 2008-05-12 18:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/ads1.c + Added DBOI_SKIPUNIQUE (C5.3 ordSkipUnique()) implementation when compiled for ADS 9.00 or above. 2008-05-10 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * More cleanups, internal fixes. ! ADSTESTLOGIN() fixed to not write into the 7th param string buffer directly since this may cause HVM corruption. To solve this properly, this parameter must now be passed by reference. 8th parameter is no longer needed. ! ADSBLOB2FILE(), ADSFILE2BLOB(), ADSGETTABLECHARTYPE() fixed to not GPF when selected workarea is not ADS. + ADSDDSETDATABASEPROPERTY() now able to clear the content of numeric properties. 2008-05-09 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * More cleanups, minor fixes. ! One fix to previous change. + Implemented: ADSMGGETLOCKS() ADSMGGETWORKERTHREADACTIVITY() Please test these. 2008-05-08 21:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/ads.ch * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * Lots of minor code cleanups, formatting fixes, optimizations, and several minor fixes. ! Lib version related fixes. (some features were not updated for newer ACE versions). + Automatic version detection extended with 6.20 and 5.00. 6.00 is still missing, if someone has it, pls send it to me. Even 6.11-8.00 versions disappeared from the vendor's site lately. + Added support for all possible properties in ADSDDGETDATABASEPROPERTY() ADSDDSETDATABASEPROPERTY() * ADSMGGETUSERNAMES() will now always return an array of users with 6 elements in each item, all data which is not available for the compiled version of the lib, will be filled with empty strings. Previously the number of elements depended on the compiled version. ; Besides the above, no functionality change should be experienced. ; Please test. * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Changed to never look for ace32.dll in system32 dir to generate the ace32.lib. ! Some other fixes to prev change where ADS_VER was obsoleted. * contrib/hbct/ctwfunc.c * contrib/hbct/ctextern.ch + Added hbct_MaxRow()/hbct_MaxCol() emulating the original overloaded MaxRow()/MaxCol() functions of CT3 lib. * source/rtl/maxrow.c * Reverted previous change on request, thus introducing a 3rd party lib specific function parameter extension. Users of CT3 lib's overloaded MaxRow(.T.)/MaxCol(.T.) functions are encouraged to change the app code to rather use hbct_MaxRow()/hbct_MaxCol() or hb_ScrMaxRow()/hb_ScrMaxCol(). These functions are easy to implement in CA-Cl*pper too (simple wrappers to Max*()). * source/compiler/hbmain.c * Reverted previous change on request. Some outputs are not exactly CA-Cl*pper compatible this way, but functionally it probably doesn't matter for most ppl. * contrib/xhb/hbcompat.ch ! Corrected MaxRow()/MaxCol()/hb_ScrMaxRow()/hb_ScrMaxCol() translations. (hopefully. someone using xhb please test) - tests/ctwtest.prg + contrib/hbct/tests/ctwtest.prg * Moved CT lib specific test to contrib local test directory (containing lots of other CT tests already). Building these is yet to be solved. * contrib/hbct/tests/math.prg * contrib/hbct/tests/trig.prg * contrib/hbct/tests/num1.prg ! Added SVN header. * include/hbgtinfo.ch * Minor comment. * contrib/rddads/make_gcc.sh * Help text sync with *.bat. 2008-05-08 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed positioning when cursor is moved by :rowpos assignment and vertical move methods used together * harbour/source/vm/estack.c * updated hb_stackDispCall(), hb_UnhandledExceptionFilter(), OS2TermHandler() to show functions where codeblock where defined instead of EVAL() just like in call stack presented by cancel operation * updated hb_UnhandledExceptionFilter() to work in unicode mode * harbour/source/vm/hvm.c ! fixed 1-st procedure presented in call stack during cancel operation to use the same conditions as for all others 2008-05-07 11:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/rddads/ads.ch * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c + Added ACE version autodetection. You can override with: -DADS_LIB_VERSION=700 (and similar) (ADS_REQUIRE_VERSION still accepted for compatibility) ! Fixed a few lib version related problems. ! hMgmtHandle global renamed to ads_g_hMgmtHandle. * Formatting. * contrib/rddads/rddads.h + QUESTION: added about ADS_MAX_KEY_LENGTH redefinition. Is it needed? * source/compiler/hbmain.c * Changed output device (hb_compOutStd() -> hb_compOutErr()) for following texts: "Compiling..." "No code generated" "Lines x, Functions/Procedures x" This is to replicate CA-Cl*pper behaviour a bit more. * include/hbextern.ch * common.mak * source/rtl/Makefile * source/rtl/maxrow.c + source/rtl/scrrow.c * contrib/xhb/hbcompat.ch + Added hb_ScrMaxRow(), hb_ScrMaxCol() These will return the screen dimensions regardless of the size of an active window (when using CT windows for example). Functionality is the same as MaxRow(.T.) and MaxCol(.T.) previously. ! MaxRow()/MaxCol() extended parameters removed. + Added MaxRow(.T.)/MaxCol(.T.) conversions for xhb lib (hbcompat.ch) in both directions. ; XBase++ doesn't have any extended parameters for Max*() function. Flagship has two of them, both of them doing something different. CAVO doesn't have these functions at all. * contrib/xhb/hbcompat.ch ! GTI_* macros updated to HB_GTI_*. * source/vm/memvclip.c % Minor opt in __QQPUB(). * source/vm/extend.c * 0 -> NULL * source/vm/estack.c - QUESTION removed. * source/lang/msgbgmik.c * source/rtl/console.c * source/rtl/philes.c * source/rtl/adir.prg * source/rtl/getsys53.prg * source/rtl/getsys.prg * source/rtl/tget.prg * source/rtl/ttopbar.prg * source/rtl/pushbtn.prg * source/rtl/mod.c * source/rtl/memofile.c * source/rtl/radiobtn.prg * source/rtl/filesys.c * source/rtl/tbrowse.prg * source/vm/estack.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/eval.c * source/common/hbver.c * source/common/expropt2.c * utils/hbtest/hbtest.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg ! Comment fixes and minor formatting. 2008-05-06 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! do not add .exe suffix if user added it explicitly in W32/DOS builds * harbour/source/vm/dynsym.c * added internal error when size of dynamic table exceed maximal size % small optimization in hb_dynsymFind() function * harbour/source/pp/ppcore.c * added support for generating #line directives in strictly Clipper compatible way even if they are redundant. It can be enabled by HB_PP_STRICT_LINEINFO_TOKEN compiler time macro, f.e. using environment variables: set C_USR=-DHB_PP_STRICT_LINEINFO_TOKEN %C_USR% and making clean build. 2008-05-05 11:31 UTC+0100 Miguel Angel Marchuet Frutos * include/hbmemory.ch * source/vm/fm.c + Added Memory( HB_MEM_BLOCKS ) 2008-05-02 10:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c ! Fixed to compile without ADS_VER/ADS_REQUIRE_VERSION being set. + Some features are automatically detected. NOTE1: To get all supported features included, it's still recommended to set ADS_VER/ADS_REQUIRE_VERSION before building this lib. NOTE2: Lowest tested ACE version is 6.11, and it may work with 5.x (if someone has this version, pls send it to me) 2008-04-29 13:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/rdd/Makefile * source/rdd/dbstrux.prg * source/rdd/rddord.prg + source/rdd/rddordu.prg + source/rdd/dbstruxu.prg + Moved some UNDOC functions to separate files. * Removed STRICT guard from _dtxCondSet(). * include/hbextern.ch ! Added missing _dtxCondSet(). * source/rtl/colorind.c * source/rtl/direct.c * Minor formatting. * source/vm/asort.c ! Changed one direct item access to item API call. * contrib/rddads/ads.ch * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Added support for ADS9 VFP file type and fields. ; Borrowed from xhb / Luiz Rafael Culik. (changed to compile using original - older - ADS headers) ; Please review & test. * source/vm/pcount.c % Minor opt. * contrib/hbtip/sendmail.prg ! SF bugtracker#1934698 fix applied. Thanks Chen. - contrib/hbapollo/tests/bld.bat * contrib/hbapollo/tests/bld_b32.bat % Using central bld.bat instead of modified local copy. + contrib/gtwvg/tests/bld_b32.bat + Added BCC32 build batch file for GTWVG tests. ; NOTE: demowvg still doesn't seem to work. 2008-04-28 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c * added mouse wheel support to GTWIN ; TOFIX: the mouse events code in GTWIN needs cleanup current code which uses s_mouseLast is wrong and can cause that some events will be missing and some others are wrongly reported. It should be changed to sth similar to the code I added to GTOS2 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c ! Fixed warning in recent change. * Minor adjustment to Vista/Server 2008 detection to be exactly along MS recommendation. 2008-04-28 09:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/rtl/Makefile * source/rtl/einstvar.prg + source/rtl/einstvau.prg * Undoc function moved to separate file. 2008-04-28 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rdd_ads/adsfunc.c ! Fixed warning in ADSDIRECTORY() for ADS >= 9.00. * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c + Added AdsIsEmpty( ) -> With .adt tables will return .T. if value of the field is NULL. With .dbf it's just equivalent to Empty(). (by Luis Krause Mantilla) + Added ADSMGGetOpenTables( nMaxNumberOfFilesToReturn, cUserName, nConnection ) + Added ADSMGGetOpenIndexes( nMaxNumberOfFilesToReturn, cTableName, cUserName, nConnection ) (by Antonio Carlos Pantaglione & Brian Hays) ; Changes borrowed from xhb, added minor optimization, formatting and warning fix. * include/hbclass.ch ! Comment typos. 2008-04-27 22:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c + OS(), hb_verPlatform(): Added detection of Windows Server 2008. * source/rtl/tobject.prg ! XPP feature guarded with HB_COMPAT_XPP 2008-04-26 07:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg ! Fixed to not extend ::left(), ::right(), ::backspace(), ::delete() with an internally used (but also externally accessible) extra parameter. This interface is now made fully C5x compatible. * tests/rto_tb.prg ! Fixed to override __eInstVar53() (instead of _eInstVar()) * include/hbextern.ch * common.mak * source/rdd/Makefile + source/rdd/dbcmdhb.c + Added non-internal versions of __dbPack() and __dbZap(), named: hb_dbPack() and hb_dbZap(). If group needs it I can add dbPack() and dbZap() too in separate files to lessen the problem of name collision with app code. * source/rtl/inkey.c * Formatting. + HB_KEYPUT(): Now possible to pass an array with string elements. (see feature in xhb/__KEYBOARD()) * HB_KEYPUT(): For string parameter it now uses hb_inkeySetText() API, rather than a loop of hb_inkeyPut()s. * contrib/xhb/xhbfunc.c ! xhb flavour of __KEYBOARD() sync fixed. (hb_inkeySetText() got extended in xhb, so here we're using hb_inkeyPut() for single numeric key codes). ; Now same code is used as in HB_KEYPUT(). * source/vm/memvars.c * source/vm/hvm.c * source/vm/arrayshb.c + Added HB_C52_STRICT branches for the remaining RTEs which produced different results in hbtest. ! Fixed HB_C52_STRICT RTE for AFill(). ; NOTE: It's not possible to build Harbour currently when HB_C52_STRICT, so it's not easy to test these. * include/hbclass.ch ! Typos. * source/rtl/memoedit.prg * source/rtl/achoice.prg * source/rtl/treport.prg * Formatting. * source/rtl/tobject.prg * Formatting. % Minor opt. 2008-04-25 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * changed internal logic used for vertical movements. Now it should be much closer to Clipper though it also replicates some wrong Clipper behaviors due to removed protection against some concurrent modifications in browsed object. I left two TOFIX notes and I'll reimplement them later. Please test. Lorenzo it should resolve the problem you reported. 2008-04-24 21:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * make_vcce.mak * make_b32.mak * make_gcc.mak * make_vc.mak * utils/hbdoc/Makefile * utils/hbdoc/hbdoc.prg * utils/hbdoc/genpdf1.prg - Removed pdflib references from make file, since the contrib was not working and got removed. + PDF enabling logic in HBDOC made local to HBDOC. Now HBDOC_PDF should be #defined in HARBOURFLAGS (or PRG_USR) envvar, proper pdf library should be specified using LDFLAGS envvar. * contrib/mtpl_b32.mak ! Removed permanent '-P' C compiler switch from .prg -> .c rule. Thanks Rafa. Marek pls check me. 2008-04-24 13:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbgd/gdimage.prg * removed two method that simply call public function * renamed GetTrueColorPixel back to GetTrueColor * contrib/hbtip/sendmail.prg * contrib/hbtip/smtpcln.prg * added support for smtp with authentication * added timeout parameter * borrowed from xHarbour 2008-04-24 11:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/achoice.prg ! Fixed to abort (rather than crash), when user callback function returns a non-numeric type. This is CA-Cl*pper compatible behaviour. * source/rtl/dbedit.prg + Documented CA-Cl*pper behaviour when it crashes if a non-numeric (and non-NIL) var is returned from the user callback function. 2008-04-24 10:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/memoedit.ch * source/rtl/memoedit.prg ! XPP feature marked with HB_COMPAT_XPP. ! Fixed to not crash if user callback function returns non-numeric type. 2008-04-24 10:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c ! xhb flavour of __KEYBOARD() synced with current xhb code. * contrib/hbmisc/hb_f.c ! Swapped C file seek constants to Harbour ones. * Minor cleanups and formatting. * source/rtl/tbrowse.prg ! Committed patch to ::setPosition() submitted by Przemek on the devl list. * source/rtl/tget.prg * Minor changes. Copyright updated. 2008-04-23 22:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c + Added these functions: ADSCREATESAVEPOINT() (for ADS 8 and above) ADSROLLBACKSAVEPOINT() (for ADS 8 and above) ADSDDCREATELINK() (for ADS 9 and above) ADSDDMODIFYLINK() (for ADS 9 and above) ADSDDDROPLINK() (for ADS 9 and above) + Extended AdsMgGetUserNames() to return aucAuthUserName, aucOSUserLoginName and aucTSAddress from ADS_MGMT_USER_INFO structure. Only available for ADS >= 8. ; Borrowed from xhb / Luiz Rafael Culik. * contrib/rddads/ads1.c + Made it compile with ADS 9. * contrib/rddads/adsmgmnt.c ! Fixed ADS_VER -> ADS_REQUIRE_VERSION 2008-04-23 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg + Some protected object vars renamed to better show their roles. ! Fixed ::setFocus() to not mess with width related vars. ! Fixed ::PutMask() to not mess with display width. ! Fixed ::varPut() to only accept certain var types. ! Fixed ::picture() to more consistently reset picture related vars. ! Hack added to ::Reform() to try to set ::nDispLen like CA-Cl*pper. ! Fixed ::posInBuffer() to only work when in focus. (I didn't test if this is XPP compatible, but it surely avoids a possible RTE now.) ! Removed ::display() non-compatible 'lForce' parameter. ! Minor cleanups. ; NOTE: Now o[16] (aka ::nDispLen) is almost totally CA-Cl*pper compatible. * tests/rto_get.prg + Added some more tests. 2008-04-23 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/achoice.prg * source/rtl/alert.prg * source/rtl/browse.prg * source/rtl/einstv52.prg * source/rtl/einstvar.prg * source/rtl/persist.prg * source/rtl/tclass.prg * source/rtl/teditor.prg * source/rtl/typefile.prg * source/rtl/wait.prg * Formatting. * != -> !( == ) for strings. 2008-04-23 14:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg ! Fixed o[13] and o[14] content (they were swapped) in C5.3 mode. ! Fixed ::varPut() to not have the extra Harbour parameter. ! Fixed ::picture to not mess with ::nDispLen when @S is used. Now solved with new internal var ::nPicLen. % ::ResetPar() internal method moved inside ::display() ! Fixed ::updateBuffer() to set ::xVarGet (o[19] in C5.3 mode and o[11] in C5.2 mode when ::hasFocus) to ::original. ! Fixed ::display() behavior when not in focus. ! Fixed ::reset() to be more compatible by setting ::xVarGet. ! Fixed ::undo() for non-gettable variable types. ! Fixed ::killFocus() to never call ::assign(). ! Fixed ::varPut() to never touch internal vars (old 'lReFormat' mode). ! Fixed ::varGet() to not touch ::xVarGet internal var. ! Fixed ::insert()/::overStrike() to call ::display() in out of bound and rejected cases. ! Fixed ::insert()/::overStrike() to not set ::Rejected when position is out of bound. ! Fixed internal ::PutMask() to never initiate a ::block evaluation. ; NOTE: Since Get() object is a highly complicated beast, bumps are expected. Pls test this code with your applications and report any problems with reduced code snippet. I'll include those tests in the regression test suite. Notice that after these changes, the number of differences between C5.x and Harbour are further reduced, especially regarding the "object as array" kind of access and regarding block evaluation. Currently, differences are mostly present in o[16] in C5.3 mode, plus some odd cases testing mostly invalid picture values, and a few other minor differences here and there. Plus of course further differences may happen to exist in cases not covered by rto_get.prg. * source/rtl/einstvar.prg ! Fixed to only include _eInstVar() if HB_C52_UNDOC is #defined (it is by default). * source/rtl/tbrowse.prg + Added missing XPP methods (three synomyms to existing methods). * tests/rto_get.prg + Added even more tests. + Added some additional info about errors. ! Fixed ::block SETGET tracing. 2008-04-23 09:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed some combinations of user functions in stream pragmas, f.e.: #pragma __cstream|f1(%s)|f2() or: #pragma __cstream||f2(%s) + added support for: #pragma __[c]streaminclude "fileName"| f.e.: #pragma __streaminclude "foo1.html"|cHtml:=%s __cstreaminclude decode C like escape sequences, __streaminclude doesn't do that and takes file body in raw form. Maximum file size is arbitrary set to 65520. 2008-04-23 02:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbgd/gdimage.prg ! Fixed at gdimage.prg(271): "Warning W0019 Duplicate declaration of Method 'GETTRUECOLOR'" the method was having a INLINE to the gdImageTrueColorPixel() function and the fix simply renamed the method name from 'GetTrueColor' to 'GetTrueColorPixel'. Please, someone used to the hbgd lib check if the new method name is correct. 2008-04-23 02:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg * respect oCol:colorBlock() used by debugger code in few places * harbour/source/debug/dbgtobj.prg * sort messages and show methods in lower letters just like Clipper * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/dbgtarr.prg ! added protection against RT error when user type wrong expression in OBJECT, ARRAY and HASH inspectors 2008-04-22 20:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! fixed -w3 warnings when class name is different then function name * allow to overwrite predefined classes definitions it's a dirty hack but current implementation of predefined function and class declarations has to be rewritten from scratch in the future so I make it intentionally - at least it resolves some memory leaks like: harbour -n -w3 tbcolumn.prg * harbour/config/rules.cf * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_vc.mak * changed default Harbour compiler switch -w2 to -w3 * harbour/contrib/xhb/xhbcomp.prg * replaced repeated declarations by small hack * harbour/utils/hbmake/tmake.prg ! fixed reported by -w3 repeated aDir declaration * harbour/source/rtl/tbrowse.prg * calculate frozen area size for 5-th element of array returned by xbase++ compatible method :viewArea(). Viktor please check me. If you can also describe what exactly TOFIX in :firstScrCol() and :viewArea() means then maybe I can help - I do not have xbase++ so I do not know what should be fixed. 2008-04-22 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/bld_os2.cmd * changed eol-style from native to CRLF 2008-04-22 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * updated mouse positioning for non integer coordinates 2008-04-22 04:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + added new function hb_dbgObjSendMessage() which allows to call messages with given given execution context for proper scope checking * harbour/source/debug/dbgentry.c + added HB_DBG_SENDMSG() for calling messages with given execution context * harbour/source/debug/dbgtobj.prg * removed all __obj*() function calls * use HB_DBG_SENDMSG() to access/assign object variables ! fixed default value in GET operation called from object inspector to always show current object variable value ! fixed set for object variables which hold value: "Method" they were recognized as method Now object variables can be inspected by debugger. If object has multiple private messages with the same name inherited from parent classes then their context will be dynamically changed depending on position in currently debugged code. 2008-04-21 15:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tbrowse.prg ! Added some new lines to XPP methods. * contrib/hbtip/thtml.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/mail.prg * contrib/hbtip/ftpcln.prg ! Fixed ambigous "=" and "!=" to "==" or ":=" or "!( == )" constructs. Someone pls verify if these fixes are right in the broader context. 2008-04-21 15:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * include/hbextern.ch * source/rtl/Makefile * source/rtl/checkbox.prg * source/rtl/einstvar.prg + source/rtl/einstv52.prg * source/rtl/listbox.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tget.prg * source/rtl/tmenuitm.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg ! _eInstVar() made compatible with C5.2 in C5.2 mode. * Renamed _eInstVar52() -> __eInstVar52() (Harbour internal function namespace) * Renamed _eInstVar53() -> __eInstVar53() (Harbour internal function namespace) * __eInstVar52() moved to a separate file. * Harbour now uses __eInstVar53() internally. - make_os2_gcc.cmd + make_gnu_os2.cmd * Renamed to align the filename with the rest of the GNU make command files. Content unchanged. 2008-04-21 14:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/rto_get.prg * tests/rto_tb.prg + Added more tests. + Enabled object as array results by default. + More details for TGet test results. * bin/bld_os2.cmd ! Fixed lib names. Thanks David. * source/rtl/tobject.prg * Formatting. * source/rtl/tget.prg ! Delimiter colors in C5.3 mode made compatible. ! ::colorSpec handling in C5.3 mode made compatible for some invalid parameter types. ! Fixed handling decimals in :row, :col, :pos methods. ! Fixed to compile in C5.2 mode without warning (introduced in recent commit). * source/rtl/tbrowse.prg ! Fixed handling decimals in :nTop, :nBottom, :nLeft, :nRight. + Added unfinished XPP method :viewArea() + Added untested XPP method :firstScrCol() ; Few minor formatting. * include/hbextern.ch * source/rtl/einstvar.prg + Added _eInstVar52() which is the C5.2 compatible version of this function. It also replicates a bug. * _eInstVar() renamed to _eInstVar53(). * _eInstVar() made a stub to call _eInstVar53(). * source/rtl/checkbox.prg * source/rtl/listbox.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/symbol.prg * source/rtl/teditor.prg * source/rtl/tget.prg * source/rtl/tget1.prg * source/rtl/tgetlist.prg * source/rtl/tmenuitm.prg * source/rtl/tmenusys.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * Formatting (EXPORT: -> EXPORTED:) * contrib/hbtip/thtml.prg * contrib/hbtip/ftpcln.prg ! Fixed to work regardless of SET EXACT setting. ; NOTE: I'd suggest an optional compiler warning to detect plain "=" usage. It's bad practice in most cases. 2008-04-20 13:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tobject.prg ! fixed the problem with SET EXACT ON I introduced recently by mistake * harbour/contrib/xhb/txml.prg * harbour/contrib/hbw32/w32_tole.prg * harbour/contrib/hbw32/w32_tprn.prg * replaced some = use for assign or comparison with := or == when it will have the same meaning. Looks like some parts of TIP library will not work with SET EXACT ON and should be updated. 2008-04-18 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! fixed missing ; in last modification * when wrong color string is passed from user code then use hb_gtGetCurrColor() 2008-04-18 03:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed typo in last minute modification 2008-04-18 02:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * new TBrowse code - many thanks to Viktor Szakats for his help and code and to all others who tested this implementation. It should be very close to Clipper except some minor differences. Most of them are bugs not replicated intentionally. In few cases some of them like wrong positioning of logical columns with extended size by oCol:picture expression the original Clipper behavior is covered by HB_C53_STRICT macro (with cell overwriting during navigation but without internal buffer overflows) but it should be used rather for tests only not for normal applications. I left three TODO notes in the code for some less important things which maybe addressed in the future though they should not effect 99.99% of Clipper programs. It's a new code so it's possible that it contains bugs so if you will find any problems then please inform me. Warning: This TBrowse implementation is strongly Clipper oriented. It's neither compatible with previous Harbour nor xHarbour one in intentional or unexpected differences to Clipper. It also does not have any extensions which existed in the old code. In the old code there was TODO note about some xBase++ extensions - I do not have xBase++ so I cannot say anything about it. If any of you things that they are important then I can add them if group agree but I will need detail description of additional methods and probably results of some tests. 2008-04-18 01:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c ! changed USHORT hb_gtColorToN( char * szColorString ) to int hb_gtColorToN( char * szColorString ) - it should be the same type as indexes in hb_gtColorsToString() functions * harbour/source/rtl/hbgtcore.c * return -1 from COLORNUM() method when passed color is not valid color string * harbour/contrib/hbct/screen2.c * harbour/contrib/hbct/color.c * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbnf/color2n.c * harbour/contrib/gtwvg/wvtcore.c * updated to respect -1 returned for wrong color strings * harbour/source/rtl/tget.prg * updated to respect -1 returned for wrong color strings Viktor please check me, now it's simpler and hbtest does not reports any errors so I guess that this version will work like in Clipper also for :colorSpec := "R,X,Y,0" or similar * harbour/source/rtl/tobject.prg * harbour/source/debug/dbgbrwsr.prg * formatting 2008-04-18 01:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/rto_tb.prg + Added some assigment tests using numerics with decimals. ! Fixed typo in prev commit. 2008-04-18 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/rto_tb.prg + Added some C5.3 var tests. + Added object as array info. * Suppressed _eInstVar() difference by including a strictly compatible copy of it for Harbour. * Exclude incompatible binary array elements of the object. * tests/rto_get.prg * Exclude incompatible binary array elements of the object. + bin/bld_os2.cmd + Added OS/2 build command file. ; Someone pls test and update the content if needed. 2008-04-17 13:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg * Formatting. * source/rtl/net.c ! Casting in DOS branch. 2008-04-17 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/rtl/Makefile * source/rtl/defpath.c + source/rtl/defpathu.c * source/rtl/errorapi.c + source/rtl/errorapu.c * source/rtl/shadow.c + source/rtl/shadowu.c * Undocumented compatibility functions moved to separate files. 2008-04-17 03:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * source/rtl/errorapi.c + Added ERRORINHAN() (and alias ERRORINHANDLER()) CA-Cl*pper compatible, undocumented function, guarded with HB_C52_UNDOC. Same as Harbour __ERRINHANDLER(). * source/rtl/trim.c * source/rtl/strtran.c + Added strict branches for incompatible error messages. % Minor optimization in STRTRAN() parameter checking. * utils/hbtest/rt_str.prg + Reenabled two C53-only test calls. * include/hbdefs.h ! Minor indentation fix. * utils/hbdoc/hbdoc.prg * utils/hbdot/hbdot.prg * utils/hbmake/hbmake.prg * utils/hbpp/hbpp.c * utils/hbtest/hbtest.prg * utils/hbrun/hbrun.prg ! Year updated in copyright banners. 2008-04-16 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! removed: MESSAGE IS used as synonym of: MESSAGE METHOD If someone was using the removed version then please update the code to MESSAGE ... METHOD ... The removed command has special meaning in Class(y) and it allow to define alternate names for existing messages. I'll add support for them in the future. * harbour/contrib/hbct/ctwin.c * added disabled code which is a workaround for some possible bad side effect caused by online shadow showing by CTWIN. * harbour/source/rtl/errorint.c ! fixed displaying internal error message * harbour/source/common/hbver.c * added "Rev." prefix to shown revision number * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c + added hb_compExprReduceNegate() ! fixed wrong negate optimizations for platforms where HB_LONG_MAX is smaller then -HB_LONG_MIN, f.e. all x86 based CPUs. ! fixed setting the size in optimized negative numbers ! fixed some math optimizations to not use casting to double value when it's not necessary - when double precision is smaller then HB_LONG (f.e. on x86 it's 53 bits and HB_LONG has 64bit) such casting can damage up to 11 less significant bits in big 64 bit numbers. * harbour/source/rtl/hbinet.c * replaced MAKEWORD() macro with HB_MKWORD() to pacify BCC58 warnings * harbour/include/hbdefs.h + added #include It should hide some warnings related to redefined integer size constants Viktor if it will not help for BCC58 warnings then you will have to add #include few lines below but please remember that older BCC version does not have it so check for the exact compiler version. ! changed macros which setting default numeric item size for more strict Clipper compatible mode. I'm not a fun of some Clipper behavior in calculating number size and I left some notes about it in hbdefs.h Anyhow this and some other modifications below should cover the differences you've found recently. Some things are not addressed by me intentionally, f.e. _itemPutNL() in Clipper always set size to 10 without checking the maximum size so it's too small for values less then -999999999. Harbour compiler makes more compile time optimizations then Clipper. The formatting rules used by compiler are a little bit different then by VM so this can be source of some other differences to Clipper. I can easy create some examples. Harbour supports 64bit signed integers and Clipper doesn't. This is yet another situation when we may have different results then Clipper. Most of them can be hidden if we add new PCODE(s) for integer number with explicit size but I do not think it's such important to increase PCODE list. In few cases it will be necessary to disable some optimizations at all and I do not like it. In the future when I will be adding some new optimizations I also add compiler switch to disable/enable optimizations which can have such side effects for people who need strict formatting. * harbour/include/hbvmpub.h * harbour/source/common/hbstr.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/rtl/round.c * updated for more Clipper compatible number formating using new macros 2008-04-15 13:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tget.prg + TGet instance variable ordering in class definition made CA-Cl*pper compatible, so that it's now possible to access object vars as array elements the same way. Read-only access is strongly recommended when using this unofficial access method, and the practice is overall discouraged. NOTE: oGet[8] is not supported in Harbour. NOTE: in oGet[11] (in C52 mode), oGet[17] (in C53 mode) only the first char is compatible, which is the type. The rest is 'trash' in CA-Cl*pper. * tests/rto_get.prg + Extended tests with regards to array access of the TGet object. * source/rtl/tbcolumn.prg * Formatting. * source/common/hbstr.c * source/compiler/ppcomp.c * source/compiler/hbgenerr.c * utils/hbpp/hbpp.c ! Fixed some BCC58 warnings. ; TOFIX: These remain: Warning W8017 C:\devl\BCC58\Include\stdint.h 77: Redefinition of 'INT16_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 78: Redefinition of 'INT32_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 79: Redefinition of 'INT64_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 82: Redefinition of 'INT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 83: Redefinition of 'INT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 84: Redefinition of 'INT64_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 87: Redefinition of 'UINT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 88: Redefinition of 'UINT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 89: Redefinition of 'UINT64_MAX' is not identical Warning W8084 source\rtl\hbinet.c 507: Suggest parentheses to clarify precedence in function HB_FUN_HB_INETINIT * utils/hbtest/rt_main.h ! Typo. * utils/hbtest/make_c5x.bat + Cleanups, fixes, enhancements. * Changed invocation for C53. Now "53" (without quotes) should be used as command line parameter. + Now automatically selects linker. ! Fixed MSC parameters for C53. + Copyright added. 2008-04-14 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/errorapi.c * allow to pass NULL instead of PHB_ITEM pointer in argument list of RT error functions: hb_errRT_BASE() hb_errRT_BASE_Ext1() hb_errRT_BASE_Subst() hb_errRT_BASE_SubstR() to not force allocating dummy item in upper level code. * harbour/source/rtl/mod.c ! small fix in substitued return value in code like: proc main() set fixed on ? transform(mod( 12345, 0 ),"") return * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbmake/hbmutils.prg * harbour/utils/hbmake/hbmake.prg ! removed gtnul library - it does not longer exists * minor formatting 2008-04-14 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbtest/rt_main.h * Cleanup. 2008-04-14 01:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tbcolumn.prg + TBColumn() instance variable ordering in class definition made CA-Cl*pper compatible, so that it's now possible to access object vars as array elements the same way. Read-only access is strongly recommended when using this unofficial access method, and the practice is overall discouraged. 2008-04-13 22:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbtest/make_c5x.bat * utils/hbtest/hbtest.prg * utils/hbtest/rt_miscc.c * utils/hbtest/rt_misc.prg - Removed dependency on hbclip. + Added proper C version of hb_SToD() for C5.x builds. (Needs MSC) ! Refixed hb_SToD() results messed up in my previous commit. Sorry for the confusion, Harbour was perfectly 100% compatible, the reference values were wrong in default HBTEST for CA-Cl*pper. + Disabling hb_SToD() tests with invalid input values for CA-Cl*pper in case there was no C compiler available when building HBTEST. This is to avoid any invalid results (due to the .prg version of hb_SToD()) and to avoid confusions such as above. 2008-04-13 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/mod.c ! Fixed error object to be C5x compatible when wrong or too few parameters were passed to MOD(). Now the previously corrected MOD() regression tests pass. (I misinterpreted the problem in the previous ChangeLog entry.) * utils/hbtest/rt_math.prg + Added two new tests for MOD() 2008-04-13 19:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak + utils/hbtest/rt_main.h + utils/hbtest/rt_miscc.c * utils/hbtest/rt_str.prg * utils/hbtest/Makefile * hbtest/make_c5x.bat * hbtest/make_xpp.bat + Added light framework to implement C level regression tests. + Added regression tests for some incompatible Str() conversions. TOFIX: The problem seems to be in hb_retnl() (and friends, presumably) where in C5x the internal width gets modified to 20 when certain value is reached (+/-1000000000), while in Harbour the length stays 10. I tried to do the same test using Item API, but I got so strange results in Clipper, that I finally dropped it. + Added optional C compilation using MSC for CA-Cl*pper build batch file. + Added better support to compile the test suite under C5.3. Caller will need to use "set HB_COMPAT_C53=1" for this mode. * utils/hbtest/rt_array.prg ! Corrected some (ASize()) expected results when not in 5.3 mode. * utils/hbtest/rt_str.prg + Added comments for some erroneous C5.3 'Str(Val())' results. * utils/hbtest/rt_math.prg ! Corrected expected C5.2/5.3 result for 'MOD()'. * utils/hbtest/rt_misc.prg ! Some results synced with C5.x (where the result could be "explained"), two marked as buggy/questionable. ! Two strange Harbour-synced results swapped for the somewhat more meaningful C5.x ones. + Added some more strange date conversion tests. ; All these could be fixed in Harbour to give the exact same C5.x values even for these strange inputs, but it's by no means a priority. * source/rtl/transfrm.c ! FoxPro/XPP feature guarded with HB_COMPAT_FOXPRO || HB_COMPAT_XPP, meaning that it stays enabled by default because of HB_COMPAT_XPP. * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed the dir precedence when looking for ace32.dll. 2008-04-11 11.45 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg ! removed old reference aAdoFunc[UR_FOUND]:=(@ADO_FOUND()) 2008-04-10 13:50 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/debug/tbrwtext.prg ! fixed small typo that was allowing wordwrapping long source code lines and was messing with the correct display of the current line 2008-04-10 15:39 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg * Instead of overloading FOUND method in ADO RDD it will be more efficient to use standard implementation written in C by Przemyslaw suggestion 2008-04-09 20:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/harbour.spec * reverted translation to UTF8 - Tomaz please check your editor settings and disable automatic translation to UTF8. It's not the first as such situation happens. * harbour/include/hbclass.ch + added two missing PP directives ! protected against some repeated external definitions * harbour/source/pp/Makefile * harbour/source/pp/hbppgen.c * harbour/source/pp/ppcore.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/main/harbour.c * harbour/source/vm/cmdarg.c * harbour/utils/hbpp/hbpp.c * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/include/hbver.h * harbour/include/hbapi.h * harbour/make_vcce.mak * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_gcc.mak + added support for dynamically set during compilation ChangeLog entry ChangeLog ID and SVN revision and compilation flags Now hbppgen creates in include directory hbverbld.h file with information extracted from ChangeLog. New hbppgen parameters: Syntax: ./hbppgen [.prg] [options] Options: -i add #include file search path -c[] look for ChangeLog file -o creates .c file with PP rules -v creates .h file with version information -w write preprocessed (.ppo) input file -q disable information messages + added new C functions: int hb_verSvnID( void ) - retrieves ChangeLog SVN revision number const char * hb_verSvnChangeLogID( void ) - retrieves a static buffer containing ChangeLog ID string const char * hb_verSvnLastEntry( void ) - retrieves a static buffer containing ChangeLog last entry string const char * hb_verFlagsC( void ) - retrieves a static buffer containing build time C compiler flags in C_USR envvar const char * hb_verFlagsL( void ) - retrieves a static buffer containing build time linker flags in L_USR envvar const char * hb_verFlagsPRG( void ) - retrieves a static buffer containing build time Harbour compiler flags in PRG_USR envvar + added new default PP defines which can be used in .prg code compiled by Harbour compiler: HB_VER_LENTRY, HB_VER_CHLID, HB_VER_SVNID * harbour/source/rtl/gtxwc/gtxwc.c * formatting * harbour/source/rtl/gttrm/gttrm.c ! fixed redrawing GPM mouse pointer after screen updating * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * updated for compilation even if some POSIX macros are not supported f.e. problems with some DJGPP versions reported recently * harbour/source/debug/dbgentry.c * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgtarr.prg ! Fixed object inspector in the debugger. ! Added HbDbBrowser:invalidate() message. Fixes work area browsing in debugger. ! Added an minimalistic TBrowse implementation that is just enough for internal use by the debugger. Fixes miscellaneous problems e.g. when debugging a piece of code with RELATIONs turned on. Fixes by Phil Krylov borrowed from xHarbour. 2008-04-09 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg * harbour/contrib/rddado/tests/access2.prg * Support For Found() working after a LOCATE command by Antonio Linares 2008-03-26 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtos2/gtos2.c * small changes, removed some un-needed code - by Maurilio Longo in xHarbour ! use screen buffer in BYTEs instead of USHORTs to avoid possible problems on big endian machines. I do not know if such OS2 ports exist but this code should be also endian independent like rest of Harbour code * harbour/source/rtl/hbgtcore.c ! Fixed screen buffer corruption on little-endian platforms in hb_gt_def_ColdArea() - fixed by Phil Krylov in xHarbour - many thanks 2008-03-25 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgskiso.c + harbour/source/lang/msgskwin.c + harbour/source/lang/msgskkam.c + harbour/source/lang/msgsk852.c + added Slovak national messages by Gyula Bartal - many thanks * harbour/include/hbapi.h * harbour/source/vm/arrays.c ! Guarded hb_arraySetNLL() declaration with #ifndef HB_LONG_LONG_OFF. ! Fixed trace in hb_arraySetNInt(). By Phil Krylov borrowed from xHarbour * harbour/include/hbgtcore.h ! added missing HB_EXTERN_BEGIN / HB_EXTERN_END By Ron Pinkas borrowed from xHarbour * harbour/source/rtl/gtos2/gtos2.c % updated for much faster screen updating in OS2 console - many thanks for Maurilio Longo for tests and code. * harbour/source/rtl/cdpapi.c ! fixed CP string translation for CPs with accented equal characters + added HB_UTF8CHR( ) -> It's compatible with the function HB_UTF8CHR() by Phil Krylov in xHarbour * harbour/source/rtl/gtsln/gtsln.h * removed repeated #include * harbour/contrib/hbct/files.c ! fixed FILESEEK() called with 3-rd parameter set to .T. (exact attribute match) * harbour/config/os2/global.cf ! added fixes by David Arturo Macias Corona + harbour/make_os2_gcc.cmd + added build file for GCC OS2 users with minimal environment settings 2008-03-15 16:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c ! fixed to not ignore errors in zipFlushWriteBuffer() * harbour/contrib/hbzlib/tests/myzip.prg * harbour/contrib/hbzlib/tests/myunzip.prg ! removed procedure return values 2008-03-15 15:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzlib/zip.c ! fixed compression bug 2008-03-13 11:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbsql.c ! fixed typo in last commit which causes GPF when FOR condition was used without WHILE - thanks to Lorenzo 2008-03-12 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbver.c * harbour/source/rtl/gttone.c * added hb_iswince() and fixed TONE() for WinCE * harbour/source/rtl/math.c ! added workaround for SIGFPE platforms which generate it instead of setting errno during execution of math functions * harbour/source/rtl/gtcrs/hb-charmap.def ! remap 0x9b (155) to '.' in Linux terminals - it's control code * harbour/source/rdd/dbsql.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c ! always restore current workarea in WA EVAL() method ! always use EVAL() method for user codeblocks and macros * harbour/source/rdd/dbcmd.c ! fixed DBRELATION() called without numeric parameters or with 0 to return first relation expression (Clipper compatible) * harbour/contrib/hbtip/thtml.prg ! fixed wrongly ported to Harbour xHarbour specific code * harbour/source/common/hbstr.c + added missing const in one declaration * formatting * harbour/source/rtl/transfrm.c ! fixed casting for C++ compilers * harbour/source/rtl/errorapi.c * harbour/source/rdd/dbfntx/dbfntx1.c ! cleanup warnings * harbour/source/common/hbtrace.c * harbour/source/rdd/dbcmdx.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcrypt.c * formatting 2008-03-11 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_trans.prg * cleaned TRANSFORM() tests * harbour/contrib/rddads/ads1.c ! fixed binary number formatting 2008-03-10 09:53 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/utils/hbtest/rt_trans.prg ! added news regression test Corretted error Formatted source 2008-03-10 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h ! default usage of BSD locks in *BSD systems for emulating DOS/Windows DENY_* flags has been disabled because tests on FreeBSD 6.2 and MacOSX shows that this implementation can create self deadlock when used simultaneously with POSIX locks - thanks to Phil and Lorenzo for locating the problem and tests. 2008-03-09 18:30 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * config/darwin/install.cf * added missed semicolon * contrib/hbtip/utils.c * added translation for CR and LF 2008-03-09 16:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtclip.c ! fixed two very bad bugs in get clipboard action used for W32 and GTs which do not support system clipboard data 2008-03-07 19:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctrand.prg ! fixed random() parameter interpretation - the action was reverted 2008-03-05 19:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_trans.prg * minor comment cleanup 2008-03-05 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/screen2.c ! fixed possible vary bad bug (memory buffer overflow) in SCREENSTR() * harbour/source/rtl/hbffind.c ! fixed possible GPF in some *nixes * harbour/source/vm/classes.c ! do not execute the same destructor inherited from different parent classes more then once * harbour/source/rtl/transfrm.c ! fixed bug with '9' used as stop condition of function pattern this character cannot be stripped, f.e.: ? transform( "abc", "@_99*" ) ! fixed bug with '*' or '$' used with @), f.e.: ? transform( -12345, "@) $999999" ) ! fixed replacing '.' with ',' when @E is used without picture part, f.e.: ? transform( 123.45, "@E" ) ! fixed ',' conversions ? transform( 12.34,"@E ab,cd.ef9,9.99,.--" ) ! fixed bug with picture starting with ".", f.e.: ? transform( 0.3456, ".999" ) ! fixed "@(" and "@)" conversions, f.e.: ? transform( -12345, "@) 1999*999" ) ! fixed late oveflow detection in "@(" and "@)", f.e.: ? transtest( -12345, "@( 6798^999" ) ! fixed "@E" conversion for dates to keep user delimiters set in _SET_DATEFORMAT, f.e.: set( _SET_DATEFORMAT, "mm:dd:yyyy" ); ? transform( date(), "@E" ) set( _SET_DATEFORMAT, "yyyydd" ); ? transform( date(), "@E" ) Please note that Harbour is not strictly Clipper compatible here because it respects _SET_DATEFORMAT set by user. ! fixed 64bit integer conversion by eliminating conversion to 'double' f.e.: ? transform( 1234567890123456789, "99999999999999999999" ) ? transform( -1234567890123456789, "99999999999999999999" ) ! some other fixes, see regression test transtst.prg % speed improvement in numeric conversions + harbour/tests/transtst.prg + added regression test for transform function * harbour/utils/hbtest/rt_trans.prg * disabled transform() tests for "@E" and result smaller then 5 bytes CA-Cl*pper do not check result size and always exchanges bytes 1-2 with bytes 4-5 for @E conversion. It's buffer overflow bug and I do not want to replicate it inside our transform implementation. It also causes that the results for for strings smaller then 5 bytes behaves randomly. In fact precise tests can show that it's not random behavior but CA-Cl*pper uses static buffer for result and when current one is smaller then 5 bytes then first two bytes are replaced with 4-5 bytes from previous result which was length enough, f.e.: ? transform( "0123456789", "" ) ? transform( "AB", "@E" ) ? transform( "ab", "@E" ) Replicating exact CA-Cl*pper behavior it's trivial (it will be enough to use static buffer two and not check the size of current result) but IMHO it's bug. * harbour/source/rtl/round.c * added strictly Clipper compatible code covered by HB_C52_STRICT and comment about possible difference in Harbour. * harbour/include/hbgtinfo.ch * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtwvt/gtwvt.c + added HB_GTI_ISUNICODE - it returns logical value with information about Unicode mode in active GT driver - it's necessary for proper CP initialization in some GTDs which can work in both mode depending on client side settings * harbour/source/rtl/gttrm/gttrm.c * improved UTF-8 detection * added automatic PuTTY detection * improved PuTTY and some xterm key handling * added some missing RXVT keys 2008-02-25 00:08 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * make_vc.mak ! Fixed small typo 2008-02-22 22:28 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * Synchronized with make_vc.mak regarding HB_BUILD_ST and HB_BUILD_MODE environment usage. There is still a difference between make_b32.mak and make_vc.mak, because under BCC - ST mode is default, while under MSVC - MT mode is default. To use MT mode under BCC one needs to set HB_BUILD_ST to something different than a word "yes". For example: set HB_BUILD_ST=no. The difference comes from the fact that so far BCC build has always been done in ST mode. It will be changed after a 1.0 release. Please note that harbour.dll is *always* built in MT mode under BCC and MSVC. * harbour/make_vc.mak ! Forced MT mode for harbour.dll * Minor formating * harbour/contrib/mtpl_vc.mak ! Fixed compilation using ST mode * harbour/contrib/mtpl_b32.mak ! Fixed compilation of CPP files + Added ST/MT handling logic * harbour/contrib/hbziparch/make_b32.bat ! Fixed compilation on some BCC instalations 2008-02-22 03:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added -xhgtk switch for linking with xHGtk library * harbour/source/pp/hbppgen.c * harbour/utils/hbpp/hbpp.c ! added missing #include "hbset.h" 2008-02-22 00:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed unicode values for control codes in default CP437 unicode table * harbour/source/rtl/gtchrmap.c ! added missing default translation of chr(155) - it's control code on most of terminals and should not be shown in non UFT-8 mode * harbour/source/rtl/gttrm/gttrm.c ! do not use alternate character set for box drawing in UTF-8 mode New Linux consoles disable UTF-8 mode when alternate character set is enabled * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * overload ReadKey() method for future window moving when scroll lock is set and for KEYREAD() implementation. * store real last key value in CTWIN GT. 2008-02-21 22:17 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vc.mak + Added a possiblity to compile harbour in ST or MT mode by using an environment variable called HB_BUILD_ST. Setting HB_BUILD_ST to yes, causes Harbour+RTL+VM to be built in ST mode. Otherwise MT mode is used. 2008-02-20 00:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbpp/hbpp.c ! added hb_setGetDirSeparator() 2008-02-20 00:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c ! added hb_setGetDirSeparator() * harbour/source/common/hbfsapi.c ! fixed wrong index in path updating 2008-02-19 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/harbour.c * harbour/source/common/hbfsapi.c ! fixed hb_fsFNameSplit()/hb_fsFNameMerge() to respect path delimiter set by user * harbour/contrib/hbct/ctwfunc.c ! fixed WFORMAT() called without parameters - it should reset all existing margins ! fixed WSETSHADOW() to accept color also as character parameter 2008-02-18 12:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed very bad typo in my last commit - thanks to Jorge and Enrico for confirmation 2008-02-16 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h ! fixed limitation which forced to use hbdate.h after hbapi.h or hbdefs.h 2008-02-15 10:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbnf/Makefile * contrib/hbnf/common.mak - contrib/hbnf/descend.c + contrib/hbnf/descendn.c - contrib/hbnf/menuto.prg + contrib/hbnf/menutonf.prg ! Renamed some files in libnf to not collide with core source names. (Thanks Marek) 2008-02-15 09:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbfimage/make_gcc.sh ! Fixed CFLAGS settings from a proper FREEIMAGE_INC envvar * harbour/contrib/hbziparch/make_vc.bat ! Disabled warnings about functions considered "depreciated" by MS * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_gcc.sh ! Fixed HB_ARCHITECTIRE, CC and LD envvar settings * harbour/contrib/mtpl_vc.mak ! Forced CPP mode compilation for a ".cpp.obj" rule 2008-02-13 20:13 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_vc.mak ! Enable compilation in C++ mode using HB_BUILD_MODE envvar 2008-02-13 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c * pacify compiler warning 2008-02-13 14:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwhat32/whatutil.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/winerror.prg * contrib/hbwhat32/wintabs.prg * contrib/hbwhat32/windebug.prg * contrib/hbwhat32/wintbar.prg * contrib/hbwhat32/wincore.prg ! Fixed warnings. 2008-02-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/direct.c * fixed Clipper compatibility when last character of given path is directory delimiter or drive delimiter * harbour/source/rdd/dbf1.c * added RT error when corrupted memo block address is detected in DBF file. 2008-02-12 08:04 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbwhat32/make_gcc.sh ! Fixed compilation under MingW and Cygwin * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat + Added hbwhat32 to a list of compiled contribs * harbour/contrib/make_gcc_all.sh - Removed hbzlib from a list of mandatory compiled contribs. It still can be compiled conditionaly. 2008-02-11 16:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/wintypes.ch ! added missing => in #ytranslate command - thanks to Alex * harbour/contrib/hbw32/w32_tole.prg * fixed typo in one comment * harbour/contrib/hbw32/w32_ole.c ! added cleanup code for s_pOleAuto - memory leak fix 2008-02-10 04:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * source/lang/Makefile + source/lang/msgbgmik.c + source/lang/msgbe866.c + source/lang/msgbewin.c + source/lang/msghr437.c + source/lang/msghrwin.c + source/lang/msgua866.c + source/lang/msguakoi.c + source/lang/msguawin.c + Added some msg files from xhb. Some problems corrected. (Belarussian ISO code, long filename and internal ID for HR1250) 2008-02-09 22:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/make_rpm.sh * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * updated for recent changes in library names * added '--with zlib' build switch * changed '--without odbc' to '--with odbc' * changed '--with adsrdd' to '--with ads' * harbour/debian/control * updated note about supported platforms 2008-02-09 12:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/global.cf * removed ' quoting from commands - *sh shells removed them but without such shell they are passed to windows command interpreter and not all version removed them 2008-02-09 10:06 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/tpwin32.c * Fixed guarding file content with proper OS constant (HB_OS_UNIX, HB_OS_WIN_32, HB_OS_OS2) 2008-02-08 19:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbfimage/make_gcc.sh * contrib/rddads/make_gcc.sh ! Two minor corrections to *_INC path setting examples for Windows. 2008-02-08 16:51 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + harbour/contrib/gtwvg/make_gcc.sh + harbour/contrib/hbapollo/make_gcc.sh + harbour/contrib/hbclipsm/make_gcc.sh + harbour/contrib/hbct/make_gcc.sh + harbour/contrib/hbfbird/make_gcc.sh + harbour/contrib/hbfimage/make_gcc.sh + harbour/contrib/hbgd/make_gcc.sh + harbour/contrib/hbgt/make_gcc.sh + harbour/contrib/hbmisc/make_gcc.sh + harbour/contrib/hbmsql/make_gcc.sh + harbour/contrib/hbmysql/make_gcc.sh + harbour/contrib/hbnf/make_gcc.sh + harbour/contrib/hbodbc/make_gcc.sh + harbour/contrib/hbole/make_gcc.sh + harbour/contrib/hbpgsql/make_gcc.sh + harbour/contrib/hbtip/make_gcc.sh + harbour/contrib/hbtpathy/make_gcc.sh + harbour/contrib/hbw32/make_gcc.sh + harbour/contrib/hbw32ddr/make_gcc.sh + harbour/contrib/hbwhat32/make_gcc.sh + harbour/contrib/hbziparch/make_gcc.sh + harbour/contrib/hbzlib/make_gcc.sh + harbour/contrib/rddads/make_gcc.sh + harbour/contrib/xhb/make_gcc.sh + Added missing files to allow compilation using non standard build system. Please note that some contribs require external packages, so to succesfuully compile them you will have to set a proper environment variable, pointing to a list of directories, containig required package header files. Those envvars are listed below : APOLLO_INC FIREBIRD_INC FREEIMAGE_INC GD_INC MYSQL_INC PGSQL_INC ZLIB_INC ADS_INC Note that those envvars may contain list of directories, for example : export ADS_INC="/usr/include include ." Also note that on Windows systems, using MingW or Cygwin, you will have to generate a proper import files from dlls, available in those packages - using MingW or Cygwin dlltool - to build end user programs, utilizing those packages. * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_gcc.sh * harbour/contrib/make_gcc_all.sh + Added the rest of contrib libs to compile * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/tpwin32.c + Added an operating system guard around the content of thses files to allow including all three files in a library. 2008-02-08 15:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbmacro.h * harbour/include/hbexprb.c * harbour/source/vm/macro.c * harbour/source/compiler/hbmain.c ! fixed name conflict in privates/publics declaration. Harbour allows to declare memvars with the same name as file wide statics or fields but this extensions was not working well in some cases and can cause unexpected results in variable declaration, f.e. try this code: static v:="static" proc main() public v:="public" ? v, M->v return compiled with -n -w switches and also with -n -w -a before this fix. ! fixed some compile time warnings in memvars declaration to be more Clipper compatible ! fixed compiling external modules (DO [WITH ]) when function is already declared but with different letter case. Harbour does not convert in DO statement to upper case to play well with case sensitive file systems and it could cause confusing warning message: Cannot open .prg, assumed external * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! added protection against bug in bison destructors which might cause multiple free the same memory block on syntax error due to * harbour/source/rdd/dbf1.c ! added missing binary flag for daytime fields * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible memory leak during accessing corrupted NTX files ! fixed possible GPF during accessing corrupted NTX files * harbour/source/compiler/genc.c * minor cleanup * harbour/config/os2/global.cf ! use FOR command to delete group of files 2008-02-07 20:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/lib.cf * moved some definitions for easier detecting library build mode * harbour/config/os2/dir.cf * harbour/config/os2/global.cf * some modifications which should help for old GNU make OS2 ports and maybe also current ones 2008-02-07 11:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * use OS2_LIB_ARCH as library name to avoid problems with DEL * harbour/config/os2/global.cf * use double backslash characters - hack to test if it's sufficient workaround for problems mkdir on OS2 2008-02-06 11:08 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak * harbour/make_gcc.sh ! Some fixes for OS/2+eComStation. Still not all is working ok (dlls) 2008-02-05 10:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf ! fixed typo in FOR command 2008-02-04 22:57 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak ! Fixed compilation under DJGPP * contrib/mtpl_gcc.mak ! Fixed compilation under GNU make 2008-02-04 15:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf * added workaround for non working 'if' function in OS2 GNU make port 2008-02-04 16:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/fm.c ! fixed hex dump of fm.log. The previous "hex" dump contained characters: ( ) . , + - / * 2008-02-04 09:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for new library names * harbour/ChangeLog * harbour/include/hbexprb.c * formatting * harbour/source/rtl/net.c ! fixed casting * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/contrib/Makefile * removed hbzlib - it cannot be longer part of default build because Viktor removed zlib header files. Viktor sorry but IMHO you should revert it and also restore ace.h - it creates serious problems without any valuable addition. Now we will have to rebuild Harbour on many different platforms and often it will not be possible to install some libraries. We cannot force installing additional libs by people who will create binaries for incoming releases so it's important to revert it. Please do it. * harbour/config/bsd/install.cf * harbour/config/darwin/install.cf * harbour/config/hpux/install.cf * harbour/config/linux/install.cf * harbour/config/sunos/install.cf * harbour/config/dos/install.cf * harbour/config/os2/install.cf * harbour/config/w32/install.cf * redirected echo error messages to stderr when *sh shell is used * harbour/config/lib.cf * harbour/config/bin.cf * harbour/config/global.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/global.cf * harbour/config/dos/rsx32.cf * harbour/config/global.cf * harbour/config/linux/owatcom.cf * harbour/config/linux/global.cf * harbour/config/os2/gcc.cf * harbour/config/os2/global.cf * harbour/config/sunos/gcc.cf * harbour/config/sunos/global.cf * harbour/config/bsd/global.cf * harbour/config/w32/owatcom.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/global.cf ! fixed build process. DOS and WINDOWS users should make tests for different compilers. I tested only DOS-OpenWatcom, DOS-DJGPP, W32-BCC32, W32-OpenWatcom, W32-POCC, W32-XCC and corss builds W32-MinGW, W32-MinGW-CE. OS2 version not testes at all - I hope it will work. LINUX-GCC, LINUX-G++, LINUX-OpenWatcom, BSD-GCC, HPUX-GCC tested and they are working. I hope that SunOS version also works though I do not have any solaris installation where I can make real tests. 2008-02-02 23:40 UTC+0100 Ryszard Glab (harbour//rglab.pl) * config/os2/global.cf * restored double backslash in deletion command 2008-02-02 15:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/examples/rdddbt - contrib/examples/dbfdbt * Renamed after move. 2008-02-02 15:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/examples/dbfdbt + contrib/examples/dbfdbt/dbfdbt1.c + contrib/examples/dbfdbt/Makefile - source/rdd/dbfdbt * Moved no longer used (superceded) core RDD code to /contrib/examples/ 2008-02-02 02:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapicdp.h * common.mak * source/codepage/Makefile + source/codepage/uc1252.c + source/codepage/cpdewin.c + source/codepage/cpruiso.c + Added RUISO (Russian ISO-8859-5) and DEWIN (German CP1252, actually identical to DEISO) codepages and a CP1252<->Unicode table. Borrowed from Phil Krylov (xhb). 2008-02-01 17:35 UTC+0100 Ryszard Glab (harbour/at/rglab.pl) * config/lib.cf * fixed to correctly list the source of installed library 2008-02-01 12:25 UTC+0100 Ryszard Glab * config/os2/global.cf * fixed to delete single library during 'clean' when command shell is used 2008-02-01 08:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbw32ddr/w32_ddrw.cpp ! Fixed compile error under MSVC. ! Fixed MSVC warning (strdup() -> hb_strdup()) Now compiles without warnings under MSVC. ! Reindented, some formatting. 2008-02-01 02:35 UTC+0100 Ryszard Glab * config/lib.cf * added vpath to search target libraries in lib// * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/w32/global.cf * fixed to remove a single library during 'clean' 2008-01-31 23:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/gtwvg/tests/demowvg.prg ! SVN header added. * source/rtl/dircmd.prg ! Minor typos in comments. * source/rtl/net.c % Minor opt. 2008-01-31 22:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/examples/guestbk/bld_b32.bat * contrib/examples/pe/bld_b32.bat * contrib/examples/dbu/bld_b32.bat * contrib/examples/hscript/bld_b32.bat ! Lib name changes. 2008-01-31 19:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/net.c ! Typo fixed. 2008-01-31 19:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_gcc_all.sh ! Added SVN header. * contrib/hbgf/win32/common.mak ! Same change done as on the other 'common.mak's in contrib. 2008-01-31 18:47 UTC+0100 Ryszard Glab * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/owatcom.cf * config/dos/watcom.cf * config/dos/bcc16.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/os2/icc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/w32/msvc.cf * config/w32/owatcom.cf * config/w32/watcom.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/xcc.cf * config/w32/rsxnt.cf * config/w32/cemgw.cf * config/w32/pocc.cf * config/w32/mingw32.cf * fixed to link contrib libraries (all contrib libraries are placed in lib// directory) NOTE: OS/2 users: the names of libraries have 'hbgf' prefix 2008-01-31 18:41 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + contrib/mtpl_gcc.mak + Readded to SVN yet another time 2008-01-31 18:29 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/gtwvg/common.mak * contrib/hbapollo/common.mak * contrib/hbbmcdx/common.mak * contrib/hbbtree/common.mak * contrib/hbclipsm/common.mak * contrib/hbct/common.mak * contrib/hbfbird/common.mak * contrib/hbfimage/common.mak * contrib/hbgd/common.mak * contrib/hbgt/common.mak * contrib/hbmisc/common.mak * contrib/hbmsql/common.mak * contrib/hbmysql/common.mak * contrib/hbnf/common.mak * contrib/hbodbc/common.mak * contrib/hbole/common.mak * contrib/hbpgsql/common.mak * contrib/hbtip/common.mak * contrib/hbtpathy/common.mak * contrib/hbw32/common.mak * contrib/hbw32ddr/common.mak * contrib/hbwhat32/common.mak * contrib/hbziparch/common.mak * contrib/hbzlib/common.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * contrib/rddado/common.mak * contrib/rddads/common.mak * contrib/xhb/common.mak * contrib/mtpl_gcc.mak ! Fixed possible error in Bcc build, related to recent changes + contrib/hbbmcdx/make_gcc.sh + contrib/hbbtree/make_gcc.sh + contrib/rddado/make_gcc.sh + contrib/make_gcc_all.sh + contrib/mtpl_gcc.sh + Readded, due to my wrong last commit, when these files were not added at all 2008-01-31 18:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * harbour-ce-spec * harbour-w32-spec * harbour.spec * make_tgz.sh * utils/hbpptest/Makefile + utils/hbpptest/hbpptest.prg - utils/hbpptest/pretest.prg ! Fixed hbpptest to have this name (instead of 'pretest') even when built with the GNU make system. 2008-01-31 17:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/hb-func.sh + Updated for lib name change. Please test & review. * source/rtl/net.c * include/hbapi.h + Added hb_netname() and hb_username() low level versions of NETNAME() and hb_USERNAME(). 2008-01-31 17:40 UTC+0100 Ryszard Glab * config/w32/mingw32.cf * fixed library name mainstd -> hbmainstd 2008-01-31 16:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * source/rtl/net.c * contrib/xhb/hbcompat.ch ! Removed non-compatible xhb extension from NetName(). + hb_UserName() function added with the above functionality. ! Slight correction to the Win32 branch of hb_UserName(). + Added compatibility translations to NetName(1) for xhb lib users (enough to #include "hbcompat.ch"). 2008-01-31 14:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbbtree/hb_btree.c ! Removed HB_ERR_SS_TOOLS reference. 2008-01-31 13:00 UTC+0100 Ryszard Glab * source/rdd/Makefile * config/global.cf * added HB_LIB_DIRS with a list of valid RDD subdirectories (HB_LIB_DRIVERS stores the list of valid RDD libraries) 2008-01-31 12:40 UTC+0100 Ryszard Glab * doc/howtosvn.txt * svn update does not report locally modified files - it is required to run 'svn status' to list all changed files * config/lib.cf * config/bin.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/hpux/gcc.cf * config/hpux/global.cf * config/dos/owatcom.cf * config/dos/watcom.cf * config/dos/bcc16.cf * config/dos/global.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/global.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/icc.cf * config/os2/global.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/w32/msvc.cf * config/w32/owatcom.cf * config/w32/watcom.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/xcc.cf * config/w32/rsxnt.cf * config/w32/global.cf * config/w32/cemgw.cf * config/w32/pocc.cf * config/w32/mingw32.cf * updated to create libraries in harbour/lib// subdirectories NOTE: only 'linux/gcc' modifications were tested -please report any problems (mostly slash or backslash issues probably) 2008-01-30 21:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/gtwvg/common.mak * contrib/hbapollo/common.mak * contrib/hbbmcdx/common.mak * contrib/hbbtree/common.mak * contrib/hbclipsm/common.mak * contrib/hbct/common.mak * contrib/hbfbird/common.mak * contrib/hbfimage/common.mak * contrib/hbgd/common.mak * contrib/hbgt/common.mak * contrib/hbmisc/common.mak * contrib/hbmsql/common.mak * contrib/hbmysql/common.mak * contrib/hbnf/common.mak * contrib/hbodbc/common.mak * contrib/hbole/common.mak * contrib/hbpgsql/common.mak * contrib/hbtip/common.mak * contrib/hbtpathy/common.mak * contrib/hbw32/common.mak * contrib/hbw32ddr/common.mak * contrib/hbwhat32/common.mak * contrib/hbziparch/common.mak * contrib/hbzlib/common.mak * contrib/rddado/common.mak * contrib/rddads/common.mak * contrib/xhb/common.mak ! Changed to be compatible with GNU make for alternative building system centered around common.mak. + contrib/make_gcc_all.sh + contrib/mtpl_gcc.mak + contrib/mtpl_gcc.sh + New files for building contrib libs with GNU make using alternative building system centered around common.mak. + contrib/hbbmcdx/make_gcc.sh + contrib/hbbtree/make_gcc.sh + contrib/rddado/make_gcc.sh + New files for building contrib libs with GNU make using alternative building system centered around common.mak. Work in progress. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + Added Copyright notes. * contrib/mtpl_b32.bat * contrib/mtpl_b32.mak * contrib/mtpl_vc.bat * contrib/mtpl_vc.mak ! Minor cleanup and formatting. * make_gcc.mak * make_gcc.sh ! Minor fix related to Cygwin platform 2008-01-29 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog ! Typos. * utils/hbpp/hbpplib.c ! Replaced RTE code 1001 with 1002. (almost the same error condition, but better have it different to avoid any support confusions). 2008-01-28 12:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapierr.h * source/rtl/errorapi.c ! Removed HB_ERR_SS_TOOLS non-core #define (formerly used by /contrib/hbct) from core header. ! Removed non-core related Error API call hb_errRT_TOOLS() (functionality was similar to hb_errRT_BASE()) * contrib/hbct/ctnet.c ! Fixed RTE calls to use unique IDs instead of 9999. Subcode changed to 0 from 999. * utils/hbpp/hbpplib.c ! Replaced RTE code 9999 with 1001. 2008-01-28 09:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rdd/dbfntx/Makefile * source/rdd/dbfdbt/Makefile * source/rdd/dbfcdx/Makefile * source/rdd/dbffpt/Makefile ! Missing LIBNAME change now done. * ChangeLog ! Missing dbfdbt -> rdddbt name change added to prev entry. 2008-01-27 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat ! Minor formatting. * contrib/hbzlib/make_b32.bat ! -a added to implib until a better fix is found for the problem. * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c ! Changed previously used internal error code ranges to better fit in already used ones. (70??/71?? -> 93??) * contrib/hbbmcdx/bmdbfcdx1.c ! 9999 internal error codes synced with CDX RDD. 2008-01-27 15:26 UTC+0200 Chen Kedem * source/rtl/objfunc.prg ! Change hb_ISPOINTER() -> hb_ISSYMBOL() 2008-01-27 12:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/objfunc.prg ! Fixed ISNUMBER() -> hb_ISPOINTER() for pointers. Thanks to Chen Kedem. * utils/hbtest/rt_stra.prg * utils/hbtest/rt_array.prg ! Fixed expected results to use the recently introduced new error codes. Thanks to Chen Kedem. 2008-01-26 22:42 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_gcc.mak + Added an extra compilation phase for building shared VM+RTL library (if needed) ! Some minor fixes and cleanup 2008-01-26 17:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/rtl/gtxwc/gtxwc.h added missed K_SH_keys 2008-01-26 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile ! Missed modification made after lib name change. 2008-01-26 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/adsfunc.c ! Warning fixed in ADSGetServerName(). * contrib/hbtip/sessid.prg ! SVN header added. * contrib/hbtip/common.mak + New file added. * contrib/hbtip/Makefile * Formatting. * source/rtl/gtxwc/gtxwc.c ! Formatting. 2008-01-26 10:10 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbtip/utils.c added .ico support to TIP_MIMETYPE * contrib/hbtip/cgi.prg + contrib/hbtip/sessid.prg moved statis funcs GenerateSID, CheckSID, DateToGmt from cgi.prg to new sessid.prg and renamed to TIP_* * contrib/hbtip/httpcln.prg fixed few typos that generated RT errors * source/rtl/gtxwc/gtxwc.c added missed K_SH_keys 2008-01-26 09:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile + contrib/rddado * contrib/rddado/common.mak * contrib/rddado/Makefile + contrib/gtwvg * contrib/gtwvg/common.mak * contrib/gtwvg/Makefile + contrib/rddads * contrib/rddads/common.mak * contrib/rddads/Makefile - contrib/hbrddado - contrib/hbgtwvg - contrib/hbrddads * utils/hbmake/hbmutils.prg ! Done some final renames in contrib to be consistent with the core names where some new rules had to be made for DJGPP compatibility. Old name New name -------- -------- hbgtwvg -> gtwvg hbrddado -> rddado hbrddads -> rddads 2008-01-26 07:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/pp/pplib.c * source/rtl/run.c * source/rtl/hbgtcore.c * source/rtl/philesx.c * source/rtl/strzero.c * source/vm/runner.c * source/vm/debug.c * source/vm/itemapi.c * source/vm/arrayshb.c * source/vm/classes.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c ! Replaced 9999 internal and RT error codes with unique ones, in new Harbour ranges: RT/PP: 1001-1999 RT/BASE: 6001-6999 runner: 6101-6199 Internal/misc: 6001-6999 Internal/RDD: 9301-9399 NOTE: If you find some more 9999s in the core code, pls tell. 2008-01-26 06:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/gfx.prg * tests/wcecon.prg * tests/gtchars.prg * tests/gtkeys.prg * include/hbgtinfo.ch * source/rtl/hbgtcore.c * source/rtl/gtkbstat.c * source/rtl/gtdos/gtdos.c * source/rtl/gtwin/gtwin.c * source/rtl/gtxwc/gtxwc.c * source/rtl/gtos2/gtos2.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtalleg/gtalleg.c * source/rtl/gtstd/gtstd.c * source/rtl/gtsln/gtsln.c * source/rtl/gttrm/gttrm.c * source/rtl/gtpca/gtpca.c * source/rtl/gtgui/gtgui.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtwvt/gtwvt.c * contrib/hbgtwvg/gtwvg.c ! Some minor formatting to the .ch file. Removed reference to non-existing doc/gtinfo.txt. * Using HB_GTI_* instead of GTI_* in Harbour files. 2008-01-25 21:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour-ce-spec * harbour-w32-spec * bin/bld.bat * harbour.spec * common.mak * source/pp/Makefile * source/lang/Makefile * source/macro/Makefile * source/rtl/Makefile * source/vm/mainstd/Makefile * source/vm/Makefile * source/vm/mainwin/Makefile * source/main/Makefile * source/debug/Makefile * source/codepage/Makefile * source/common/Makefile * source/rdd/nulsys/Makefile * source/rdd/Makefile * source/rdd/hsx/Makefile * source/rdd/usrrdd/Makefile * source/compiler/Makefile * contrib/hbct/tests/Makefile * contrib/hbodbc/tests/bld_b32.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbapollo/tests/bld.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/Makefile * contrib/hbpgsql/tests/Makefile * contrib/hbfimage/tests/bld_b32.bat * contrib/hbgd/tests/bldtest.bat * contrib/hbmisc/tests/Makefile * contrib/hbgf/tests/bld_b32.bat * contrib/hbbtree/tests/Makefile * contrib/examples/guestbk/Makefile * contrib/examples/pe/Makefile * contrib/examples/dbu/Makefile * contrib/examples/misc/Makefile * contrib/examples/hscript/Makefile * utils/hbdoc/Makefile * utils/hbextern/Makefile * utils/hbdot/Makefile * utils/hbmake/Makefile * utils/hbmake/hbmutils.prg * utils/hbmake/hbmake.prg * utils/hbpp/Makefile * utils/hbpptest/Makefile * utils/hbtest/Makefile * utils/hbrun/Makefile * tests/Makefile * Core libs renamed to be prefixed with hb, while having the first significant 5 chars unique. Old name New name -------- -------- codepage -> hbcpage common -> hbcommon compiler -> hbcplr debug -> hbdebug hbsix -> hbsix hsx -> hbhsx lang -> hblang macro -> hbmacro pp -> hbpp rtl -> hbrtl vm -> hbvm rdd -> hbrdd dbfcdx -> rddcdx dbffpt -> rddfpt dbfntx -> rddntx dbfdbt -> rdddbt nulsys -> hbnulrdd usrrdd -> hbusrrdd mainwin -> hbmainwin mainstd -> hbmainstd NOTE/TODO: We're currently not in sync with contribs, regarding hb prefixing, since in contrib rdds and gts (rightly) also have hb prefixes. The only reason not to add them in core this time, is to keep compatibility with DJGPP. Maybe we should remove those prefixes from contrib. NOTE/TODO: Do tests in as many platforms and as many contrib tests as possible. Feedback from hbmake users is also welcome. !!! Please update your local make files !!! * include/hbgtinfo.ch + Added HB_ prefixed versions for all GTI_ macros. Unprefixed GTI_ macros are to be considered xhb compatible (or legacy) ones, and they can be excluded by #defining HB_GT_NO_XHB if they seem to collide with user code. TODO: Switch to use HB_GTI_* inside Harbour code. 2008-01-25 17:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/radiogrp.prg ! Minor formatting. 2008-01-25 16:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbzlib/zlib.h - contrib/hbzlib/zconf.h * contrib/hbzlib/hbmzip.c * contrib/hbzlib/readme.txt ! Removed zlib headers included in Harbour SVN. For this contrib to compile, users will need to have the zlib package installed. ! stricmp() -> hb_stricmp() to avoid MSVC warning and to be more portable. 2008-01-25 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbmain.c ! fixed a few /w3 memory leaks 2008-01-25 10:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/make_b32_all.bat * contrib/make_vc_all.bat ! moved hbzlib compilation into "conditional section" of above batfiles 2008-01-25 10:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbrddads/make_b32.bat * contrib/hbrddads/make_vc.bat ! Removed duplicate line. 2008-01-25 10:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat + Added creation of .lib from .dll for non-GNU make systems. 2008-01-23 02:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddntx.h ! fixed type of Signature field in tag structure * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible leaving locked index when number of tags exceed 63. 63 is maximum number of tags in multi tag NTX file ! fixed typo in HB_TRACE message % simplify NTXNODE data access in RDDINFO method * harbour/source/rdd/dbfcdx/dbfcdx1.c * formatting, some minor cleanup and fixed typo in comment 2008-01-18 02:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbrddads/make_b32.bat * contrib/hbrddads/make_vc.bat ! Fixed typo in a label. (Thanks to Eduardo Horbino) 2008-01-18 01:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/hbmzip.c * cast result of hb_fsGetOsHandle() to expected OS handle type - thanks to Jorge 2008-01-18 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/unzip.c ! fixed possible access to uninitialized memory - thanks to Lorenzo * harbour/contrib/hbzlib/hbzlib.c * fixed casting - thanks to Andi * harbour/contrib/hbzlib/hbmzip.c * use hb_fsGetOsHandle() instead of LongToHandle() - code which uses hb_fsGetOsHandle() will work also with our own virtual handles if we add such extensions in the future * harbour/source/vm/harbinit.prg ! call __SetHelpK() only when HELP() function/procedure exist Clipper compatible behavior 2008-01-17 17:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! removed dummy %endif which left after recent modification for Mandriva detection * harbour/ChangeLog ! fixed ChangeLog description - I repeated by mistake the previous one 2008-01-17 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/ioapi.c * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/unzip.c * harbour/contrib/hbzlib/crypt.h * harbour/contrib/hbzlib/hbzlib.c * harbour/contrib/hbzlib/hbmzip.c * casting for C++ compilation * changed function declaration for C++ compilation * removed #include "errno.h" - some platforms do not have it * updated WIN32 API for WinCE and UNICODE builds * use localtime_r() only for Linux builds - TODO: create our own API for it and remove all #if... from core code so we will have it only in one place easy to update for different platforms * harbour/contrib/hbzlib/common.mak * replaced TABs with SPACEs * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/bin/hb-func.sh * harbour/contrib/Makefile + added hbzlib to contrib libraries compiled by default 2008-01-16 12:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat + contrib/hbzlib/common.mak + Added missing non-GNU make file. + Added hbzlib to "all" non-GNU make batches. 2008-01-16 03:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbzlib/crypt.h + added modified for minizp crypt.h - it comes from minizip source code and it's modified infozip file * harbour/contrib/hbzlib/zip.c * disabled unused functions to eliminate warning * harbour/contrib/hbzlib/unzip.c * added suggested by compiler statement markers {} to pacify warnings * harbour/contrib/hbzlib/hbmzip.c ! added missing parenthesis in one logical expression * updated for Linux compilation - not tested yet but it can be cleanly compiled * harbour/contrib/hbzlib/hbzlib.c * synced with some minor modifications in my local copy 2008-01-16 03:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! strip trailing and leading SPACEs and TABs from macro compiled symbols 2008-01-16 01:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbzlib + added support for zlib library and zip files (based on minizip) + harbour/contrib/hbzlib/zconf.h + harbour/contrib/hbzlib/zlib.h + zlib include files + harbour/contrib/hbzlib/zip.h + harbour/contrib/hbzlib/unzip.h + minizip include files + harbour/contrib/hbzlib/ioapi.c + harbour/contrib/hbzlib/zip.c + harbour/contrib/hbzlib/unzip.c + minizip source files. Some fixes are applied to avoid compile time warnings and errors, see readme.txt for list ; I've compiled with BCC only, please, check other compilers + harbour/contrib/hbzlib/hbzlib.c + zlib wrapper functions. Przemyslaw Czerpak is author of this code. The file was posted to developers mailing list on 2007-05-17. I think licence statements in the begining of file gives permission to include it into SVN. * HB_UNCOMPRESSLEN() function added. Source copied from Przemyslaw's email on 2008-01-10. + harbour/contrib/hbzlib/hbmzip.c + wrapper functions for minizip library Function names uses convention: - HB_ZIP*() - manages compression of .zip file: HB_ZIPOPEN(), HB_ZIPCLOSE() - HB_ZIPFILE*() - manages compression of files inside .zip: HB_ZIPFILECREATE(), HB_ZIPFILEWRITE(), HB_ZIPFILECLOSE() - HB_UNZIP*() - manages decompression of .zip fileL HB_UNZIPOPEN(), HB_UNZIPCLOSE() - HB_UNZIPFILE*() - manages decompression of files inside .zip HB_UNZIPFILEOPEN(), HB_UNZIPFILEREAD(), HB_UNZIPFILECLOSE(), HB_UNZIPFILEFIRST(), HB_UNZIPFILENEXT(), HB_UNZIPFILEPOS(), HB_UNZIPFILEGOTO(), HB_UNZIPFILEINFO() Parameters of functions are documented inside source files. + implemented some higher level functions. These function are not wrapper of minizip: HB_ZIPSTOREFILE(), HB_UNZIPEXTRACTCURRENTFILE() ; minizip gives low level access on zip files. This could be a problem if you not going to put your fingers on internals, but just want to compress/decompress files. Because managing of file attributes is a little complicated. These higher level functions do the job. ; please test code under linux. Source is written using docs only, without test or deeper knowledge. + harbour/contrib/hbzlib/hbzlib.ch + defines for zlib and minizip libraries ; I've used HB_ZLIB_* and HB_ZIP_* prefixes, because some original names of minizip library are too general, ex., APPEND_STATUS_CREATE If you want to use original define names we change this. + harbour/contrib/hbzlib/readme.txt * some comments on the source of libraries and ChangeLog for minizip files + harbour/contrib/hbzlib/tests/myzip.prg + harbour/contrib/hbzlib/tests/myunzip.prg + tiny compression/decompression utilities written in Harbour + harbour/contrib/hbzlib/Makefile + harbour/contrib/hbzlib/make_b32.bat + harbour/contrib/hbzlib/make_vc.bat + makefiles written using another contrib's makefiles as template ; I'm not makefiles guru, please test it. I've also used command line parameters: -DNOCRYPT -DNOUNCRYPT, to compile minizip. I don't know howto include these to our makefiles 2008-01-15 19:30 UTC+0100 Tomaz Zupan (tomaz.zupan/at/orpo.si) * harbour.spec * Recognize more Mandriva releases * Changed platform from mdk to mdv for Mandriva 2008-01-15 14:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! make macro substitution before macro compilation - Clipper compatible behavior - fix borrowed from xHarbour ! do not overwrite 1-st error object by others which can appear during macro TYPE() checking 2008-01-14 13:44 UTC+0100 Miguel Angel Marchuet Frutos * source/vm/extend.c * Undo Added conversion from logical params in hb_par* functions. ( thks to Juan Gálvez ) 2008-01-14 12:28 UTC+0100 Miguel Angel Marchuet Frutos * source/vm/extend.c * Added conversion from logical params in hb_par* functions. ( thks to Juan Gálvez ) 2008-01-15 10:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! do not define [U]LONGLONG when HB_DONT_DEFINE_BASIC_TYPES macro is set 2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c * added missing 'const' to few variable declarations 2008-01-14 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * replaced TAB with SPACEs * harbour/source/rdd/dbcmd.c * changed hb_retnl() in LASTREC() to hb_retnint() to increase maximum record number to 2^32 - unsigned 32bit integer instead of signed one. * harbour/source/rdd/dbf1.c ! fixed possible memory leak/GPF when sx_DBFencrypt() is called when table already has password set * added support for password passing in sx_DBFdecrypt() - it's accepted only when table has no password * harbour/source/rdd/hbsix/sxcompat.prg - removed SX_SETPASS() * harbour/source/rdd/hbsix/sxtable.c + added new SX_SETPASS() implementation which supports some undocumented SIX3 actions ! fixed problem with setting password for currently open table with SX_SETPASS( ) 2008-01-12 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c - removed hb_itemLockReadCPtr()/hb_itemLockWriteCPtr()/hb_itemUnLockCPtr() Whole modification which will address all different aspects it to complex to introduce it now. I'll return to this problem after 1.0 release 2008-01-11 18:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * removed unused variable 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added new functions: BOOL hb_itemParamStore( USHORT uiParam, PHB_ITEM pItem ) BOOL hb_itemParamStoreForward( USHORT uiParam, PHB_ITEM pItem ) They copy/move pItem body to parameter passed by reference and return TRUE when operation was done successfully (uiParam was passed by reference) * harbour/include/hbcompdf.h * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbusage.c * removed HB_I18N_SUPPORT macro and enabled I18N code in default build 2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprb.c * harbour/source/compiler/hbmain.c ! added string escaping before to i18n .pot files + added hb_i18n_gettext_strict() support for compiler. This function generates warning if argument is not literal string. See discussion on mailing list from 2007-11-23 to 2007-11-29, for details. 2007-01-10 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/teditor.prg ! Fixed [ scrolls past ::naTextLen ] 2007-01-10 17:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/memoedit.prg * source/rtl/teditor.prg + Implemented Clipper compatible missing parameters: nTextBuffRow nTextBuffColumn nWindowRow nWindowColumn Tested slightly but need deeper testing in case scrolls past ::naTextLen. 2008-01-09 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * added missing static to s_initSymbol declaration * harbour/include/hbgtinfo.ch * harbour/source/rtl/scroll.c * formatting * harbour/common.mak * added empty line necessary for some make systems (f.e. wmake) * harbour/bin/hb-func.sh * changed system libs order to avoid problems on some platforms * harbour/bin/pack_src.sh * collect information about repository files using 'svn status -v' command instead of scanning .svn/entries files to avoid problems with different formats used by SVN * harbour/include/hbchksum.h * harbour/include/hbset.h ! added missing extern in few function prototypes * harbour/include/hbclass.ch * use HB_CLS_PARAM_LIST macro instead of ... for strict C52 mode * harbour/source/common/hbfsapi.c + added missing const to one declaration * harbour/source/common/hbstr.c * minor cleanup in hb_stricmp() * harbour/source/rtl/inkey.c ! casting to avoid negative values during char to int translation * harbour/source/rtl/mouse53.c * added one internal definition * harbour/source/rtl/philes.c * removed unnecessary #include(s) * added missing const to one declaration * harbour/source/rtl/valtype.c * harbour/source/vm/hashfunc.c * cleanup RT error call to eliminate hb_paramError() function * harbour/source/pp/pplib.c * harbour/source/vm/runner.c * harbour/source/vm/debug.c * harbour/source/vm/arrayshb.c * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtfunc.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/hbregex.c * harbour/source/rtl/idle.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/hbtoken.c * harbour/source/rtl/direct.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbcmd53.c * harbour/source/rdd/fieldhb.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/compiler/hbcmplib.c * harbour/contrib/hbrddads/adsfunc.c * harbour/contrib/hbrddads/adsmgmnt.c - removed unnecessary calls to hb_ret() % replaced hb_itemRelease( hb_itemReturn( pItem ) ) with hb_itemReturnRelease( pItem ) % replaced hb_itemPut*( hb_arrayGetItemPtr( pArray, ... ), ... ) with hb_arraySetNI( pArray, ... ) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/contrib/xhb/cstructc.c * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbgtwvg/wvtcore.c * cleaned typos with double ;; * harbour/source/vm/extend.c * harbour/source/rtl/math.c * cleaned HB_EXPORT usage * harbour/source/pp/ppcore.c ! fixed Harbour extension which allows to use match marker at the beginning of rule definition * harbour/source/main/harbour.c ! fixed hex conversion in FM log module - fix done by Phil Krylov in xHarbour * harbour/source/rdd/nulsys/nulsys.c + added dummy version of DBEVAL() and DBFILTER() - these functions are used in RTL * harbour/contrib/hbct/bitnum.c + added INTNEG(), INTPOS() + harbour/contrib/hbct/ctrand.prg + added RANDOM(), RAND() - borrowd from xHarbour by Pavel Tsarenko + harbour/contrib/hbct/setrc.c + added SETRC() * harbour/contrib/hbct/getinput.prg % minor optimization * harbour/contrib/hbct/Makefile * harbour/contrib/hbct/common.mak * updated for new files * harbour/contrib/hbnf/tempfile.prg * use HB_FTempCreate() - modification borrowed from xHarbour TOFIX this function uses hb_isbyref() which does not exist in Harbour * harbour/config/w32/msvc.cf + added -nologo flag for cl.exe (Phil Krylov's modification borrowed from xHarbour * harbour/config/w32/mingw32.cf - removed repeated definitions * harbour/config/w32/install.cf ! added alternative install rule for command.com with max line size limit 2008-01-08 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbclass.ch ! Enabling HB_CLS_NO_DECORATION if compiled with HB_C52_STRICT, since in strict mode some PP extensions required by the decoration feature are not available. (Thanks Przemek for the tip) * source/rtl/tget.prg * Some formatting. 2008-01-05 01:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tpopup.prg ! Fixed typo in POPUPMENU():getAccel(), causing wrong position being returned. Reported by Jose Miguel. * source/rtl/ttopbar.prg ! Changed HB_C52_STRICT guards to HB_EXTENSION. 2007-12-28 15:51 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/tbrowse.prg Method DispCell() case 'L' DispOut( ftmp, cColor ) => DispOut( alltrim( ftmp ), cColor ) 2007-12-22 13:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh + added HB_BUILDSUF - removed hbverfix and pretest from final binaries ! fixed setting UNTAR_OPT 2007-12-22 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh + added HB_BUILDSUF - removed hbverfix and pretest from final binaries ! fixed setting UNTAR_OPT 2007-12-22 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * use -fPIC on HP-UX * respect user defined C_USR and L_USR ! fixed typo in GNU tar detection 2007-12-22 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh + added -fPIC to GCC parameters - it's necessary on some platforms + use .sl suffix for shared library in HP-UX * harbour/bin/hb-func.sh + use .sl suffix for shared library in HP-UX * harbour/bin/postinst.bat * removed < > from email address * harbour/include/hbgtcore.h * harbour/source/rtl/gtkeycod.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * fixed typo in function name - it should be hb_gt_dos_keyCodeTranslate() not hb_gt_dos_keyCodeTanslate() * harbour/make_tgz.sh * updated for non GNU tar versions * harbour/ChangeLog * replaced TABs with SPACEs 2007-12-21 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * fixed yet another typo located by Phil Krylov - thanks 2007-12-21 18:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * fixed two typos - many thanks to Phil Krylov for locating them 2007-12-21 18:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * try to detect GNU tar * harbour/make_xmingw.sh * added new default location for MinGW cross-compiler in Gentoo distribution * added auto detection of MinGW cross-compiler installation which should work in most cases when default location test fails * harbour/make_tgz.sh * try to detect GNU make and GNU tar * harbour/source/rtl/gtwvt/gtwvt.c * call hb_gt_wvt_InitWindow explicitly to eliminate problems with ignored WM_CREATE message when new window handler is not yet registered 2007-12-21 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * month name typo 2007-12-21 10:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added system libraries necessary for linking some of harbour contrib libs in WinCE * minor cleanup * harbour/source/rtl/gtxwc/gtxwc.c * added missing 'const' in declaration 2007-12-21 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * respect -fPIC used to create Harbour binaries in default GCC switches used by hb* scripts 2007-12-20 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpmw32.sh * moved -maxdepth option before actions and expressions in find parameters 2007-12-20 15:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/make_xmingw.sh * moved -maxdepth before -name * harbour/source/rtl/hbini.prg * added hb_ininew() * harbour/contrib/hbtip/sendmail.prg * removed hbcompat.ch dependences + harbour/contrib/hbtip/utils.c * fixed a type in jpeg mime string * added TIP_HTMLSPECIALCHARS + harbour/contrib/hbpgsql/postgres.c * added PQRESULT2ARRAY 2007-12-20 11:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbgtcore.h + harbour/source/rtl/gtkeycod.c + added hb_gt_dos_keyCodeTanslate() - based on hb_gt_ReadKey() from GTDOS by David G. Holm * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * use hb_gt_dos_keyCodeTanslate() to eliminate repeated code * harbour/contrib/hbrddads/Makefile * harbour/contrib/hbpgsql/Makefile * updated code to locate directories with header files * harbour/source/rtl/hbini.prg ! fixed typo in HB_IniRead() * harbour/source/rtl/persist.prg ! eliminated internal static variable 2007-12-20 08:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! added missing 'return;' - in OS2 builds - it should fix value returned by SETFDATI(), many thanks to David for his tests, now SETFDATI() should be fully functional in OS2 builds. 2007-12-19 18:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak + harbour/contrib/xhb/xhbqself.c + added xHarbour compatible HB_QSELF() function * harbour/contrib/xhb/xhbfunc.c * removed HB_QSELF() redirecting to Class(y) compatible __SENDER() function * harbour/contrib/xhb/xhbcomp.prg ! fixed scalar classes overloading, do not enable extended messages for basic types if user haven't requested it (ENABLE TYPE CLASS ...), use scalar classes defined in RTL 2007-12-19 13:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmath.h * harbour/source/rtl/math.c * cleaned matherr API, now it works in the same way on all platforms - this modification fixes also some strange results when math functions were called with wrong arguments on some platforms * harbour/contrib/hbct/trig.c * harbour/contrib/hbct/finan.c * harbour/contrib/hbct/ctmath2.c * updated for new matherr API and cleaned some minor problems * harbour/contrib/hbct/files.c ! use DATE and TIME parameters formated like for DOS in OS2 version of SETFDATI() - David, if possible please repeat the test from my previous commit, thank you. 2007-12-18 13:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/xhb/xhbcomp.prg + Added xHarbour specific methods to Type classes. 2007-12-18 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * reverted conversion to UTF8 of national characters (svn diff) * harbour/include/hbdate.h * harbour/source/common/hbdate.c + added hb_timeStrGet() * harbour/contrib/hbct/files.c * use hb_timeStrGet() instead of sscanf() + added OS2 version of SETFDATI() - please test it !!! I'm interesting in results of this code compiled with OS2 Harbour build: proc main() local cFile:="_tst.tmp" FCLOSE(FCREATE(cFile)) ? FILEDATE(cFile), FILETIME(cFile) ? SETFDATI(cFile,STOD("20061129"),"12:34:45") ? FILEDATE(cFile), FILETIME(cFile) ? SETFDATI(cFile) ? FILEDATE(cFile), FILETIME(cFile) FERASE(cFile) return 2007-12-18 06:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c * harbour/source/common/hbfsapi.c ! fixes in OS2 build - thanks to David 2007-12-17 21:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/bld.bat ! %HB_USER_LIBS% (for bcc32) moved to the beginning of the lib list. * contrib/mtpl_b32.mak ! Fixed preprocessor error in line 190 when HB_INSTALL_PREFIX != HB_ROOT * source/rtl/getsys53.prg * source/rtl/getsys.prg ! Moved ReadStats() to getsys53.prg * ChangeLog ! Removed UTF-8 signature from the beginning of the file. Unfortunately accented chars got converted to UTF8, which would need to fixed. Pritpal, please turn off this feature on your editor for Harbour. 2007-12-17 21:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbgtwvg/gtwvg.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * added missing const to few declarations * formatting and minor code cleanup * harbour/source/rtl/hbgtcore.c ! fixed GTNUL registration * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * moved static variables to dynamic GT area * harbour/contrib/hbct/files.c ! fixed DOS version 2007-12-17 13:41 UTC+0100 Miguel Angel Marchuet Frutos * common.mak + Added some missing files (suggested by Juan Gálvez) 2007-12-16 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbgtwvg/gtwvg.h * added OleLoadPicture() declaration when BCC5.5 is used. It's missing in BCC55 header files. 2007-12-16 15:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! fixed pure C compilation I broke in previous commit 2007-12-16 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c + added OS2 version of hb_fsFileExists() and hb_fsDirExists() Please test - I do not have OS2 * harbour/source/rdd/dbf1.c ! removed unnecessary printf() message I left by mistake * harbour/contrib/hbct/files.c + added OS2 version of SETFATTR() Please test - I do not have OS2 * harbour/config/os2/global.cf + added temporary workaround for possible problems with some GNU make versions * harbour/make_deb.sh + build hbpgsql when libpq-dev is installed * harbour/include/clipdefs.h * do not define PBYTE, PSHORT, PUSHORT, PLONG, PULONG, PBOOL, PVOID when HB_OS_OS2 && HB_DONT_DEFINE_BASIC_TYPES is defined 2007-12-15 18:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbrddads/adsfunc.c + ADSGetServerName() * harbour/contrib/hbrddads/make_b32.bat * harbour/contrib/hbrddads/make_vc.bat ! Fixed variable names in help screen * Added setting to ADS_REQUIRE_VERSION by value of ADS_VER 2007-12-14 08:55 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/wvtutils.c ! Fixed memory leak in HB_FUNC( WVT_GETTITLE ) 2007-12-14 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * force linking GT drivers in hb* scripts also when shared library is used 2007-12-14 08:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tscalar.prg + added APPEND method to array scalar object 2007-12-13 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c ! fixed DISPCOUNT() return value * cleaned some GT functions declarations 2007-12-13 10:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! fixed allocating terminal context - thanks to Enrico * harbour/contrib/hbct/token2.c + added automatic cleanup code for static data allocated by TokenInit() using hb_vmAtExit() functions * Change RestToken() to validate size of passed string * harbour/contrib/hbct/ct.prg - removed TokenExit() from CT EXIT procedure - it's not longer necessary * harbour/contrib/hbrddads/adsmgmnt.c * minor cleanup - hb_xgrab() cannot return NULL pointer 2007-12-13 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbrddads/adsmgmnt.c ! Fixed memory leak in HB_FUNC( ADSMGGETLOCKOWNER ) if ( pstUserInfo ) hb_xfree( pstUserInfo ); 2007-12-12 22:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * updated for new API * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtalleg/gtalleg.c * cleanup 2007-12-13 10:42 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/wvtpaint.prg ! Formatting. * harbour/contrib/hbgtwvg/hbgtwvg.c + static BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol, BYTE bColor, BYTE bAttr, USHORT usChar ) GUI elements need that every screen region requsted to be redrawn must be redrawn. 2007-12-12 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * removed UTF-8 signature: 0xEF 0xBB 0xBF * harbour/source/rtl/gtwvt/gtwvt.c * converted TABs to SPACEs 2007-12-12 10:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/idle.c ! fixed casting in hb_idleSleep() which truncated the fraction part of given timeout 2007-12-11 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/compiler/hbusage.c * Year bumped to 2008. 2007-12-11 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * formatting * harbour/source/vm/hvm.c ! fixed typo in HB_TRACE message * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * updated for multi window usage * harbour/source/vm/maindllp.c * use MessageBox() instead of hb_errInternal() - thanks to Jon Jagger for information about the problem 2007-12-09 19:17 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/tests/demowvg.prg ! Formatting. ! "xHarbour" => "(x)Harbour" 2007-12-08 12:13 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/xhb/cstruct.prg + #include 'xhb.ch' ! Line#259 : cSynon[1] == '*' => left( cSynon,1 ) == '*' Now C Structure support in Harbour is exactly like xHarbour. Tested. 2007-12-07 15:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbgtwvg/Makefile * contrib/hbgtwvg/common.mak - contrib/hbgtwvg/gtwvt.h + contrib/hbgtwvg/gtwvg.h - contrib/hbgtwvg/gtwvt.c + contrib/hbgtwvg/gtwvg.c * contrib/hbgtwvg/wvtutils.c * contrib/hbgtwvg/wvtcore.c ! Renamed gtwvt to gtwvg to avoid clash with gtwvt in core when using non-GNU make files. * source/vm/extend.c ! Fixed trace messages in hb_parcx() * utils/hbmake/hbmutils.prg ! Fixed cosmetic problem. (Thanks to Bill Robertson) 2007-12-07 11:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/hbgtwvg/gtwvt.h * harbour/contrib/hbgtwvg/gtwvt.c * moved RGB definition of used colors to terminal window structure, now each window can use different palette 2007-12-07 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/inkeyapi.c * harbour/source/rtl/mouseapi.c - removed hb_gt_*(), hb_inkey_*(), hb_mouse_*() functions + implemented HB_GTSELF_*() functions and changed HB_GTSUPER_*() ones to operate on GT context passed ad 1-st parameter. Now GT API allows to create many GTs working simultaneously + added hb_gt_Base() core function which returns GT context it will be extended soon to allow using many GT contexts, setting thread default one or switch between them using some .prg function. * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbgtwvg/gtwvt.h * harbour/contrib/hbgtwvg/gtwvt.c * updated GT code for new GT API. I still haven't added GT cloning to them and only GTTRM is ready to use in multi window MT programs but now they can be systematically modified and it can be done locally without core code modifications. * harbour/contrib/hbgtwvg/wvtutils.c ! fixed some memory leaks in Unicode conversions 2007-12-06 11:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * more changes from LT to LTWIN * harbour/common.mak * restored missing msgltwin.c * harbour/include/hbapi.h * harbour/source/vm/hashes.c + added hash key support for pointer type 2007-12-06 00:20 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c ! Small addition in PaintText() wrongly omitted while cleaning. * harbour/contrib/gtwvg/wvtutils.c * Tooltip - Initialization of variable. * harbour/contrib/gtwvg/tests/demowvg.prg ! Fixed to run with Harbour perfectly. Please note that TBrowse in Harbour needs some fixes. Replace it with xHarbour TBrowse and the look of composite dialog changes. 2007-12-06 02:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * common.mak * source/codepage/Makefile - source/codepage/cpdedos.c + source/codepage/cpde850.c - source/codepage/cpeldos.c + source/codepage/cpel737.c - source/codepage/cpesdos.c + source/codepage/cpes850.c - source/codepage/cpfrdos.c + source/codepage/cpfr850.c - source/codepage/cptrdos.c + source/codepage/cptr857.c ! Renamed some codepage modules to include the actual DOS codepage number instead of nothing or generic "dos" name. * common.mak * source/lang/Makefile + source/lang/msgtr857.c - source/lang/msgtrdos.c ! Rename one language module to be in sync with proper internal ID. 2007-12-06 01:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * doc/howtosvn.txt ! Fixed the SVN propset command to include all needed keywords, not just "Id". * common.mak * source/codepage/Makefile - source/codepage/cpgedos.c - source/codepage/cpgeiso.c + source/codepage/cpdedos.c + source/codepage/cpdeiso.c ! Renamed to be in sync with rules and content. * source/lang/msgnl.c ! svn propset svn:keywords "Author Date Id Revision". (to correct my prev commit) * include/hbextern.ch ! Adjusted CP/MSG module names. 2007-12-05 21:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/codepage/cpltwin.c * harbour/source/lang/msgltwin.c * changed language ID to: LTWIN * svn properties 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/codepage/cphuwins.c * source/codepage/cphuiso.c * source/codepage/cphuwin.c * source/codepage/cphuisos.c ! Fixed sloppy wording in comment. (Thanks Chen) * common.mak * source/codepage/Makefile + source/codepage/cpgeiso.c - source/codepage/cpgewin.c * Renamed to ISO to be in sync with the actual codepage used. (Thanks Chen) ; Might be a good idea to readd the "real" WIN version to stay compatible. Anyone? 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/lang/msgnl.c * source/lang/msgelwin.c * source/lang/msgltwin.c * source/lang/msgel.c * source/codepage/cpitisb.c * source/codepage/cpit850.c * source/codepage/cpcswin.c * source/codepage/cpskwin.c * source/codepage/cpitiso.c ! Some SVN header, SVN keywords and some errors in comments fixed. (Thanks Chen) 2007-12-05 14:20 UTC+0200 Chen Kedem * doc/dirstruc.txt * Change "test" to "tests". * doc/en/lang.txt * Update language table for HB_LANGSELECT to reflect source/lang * Update codepage table for HB_SETCODEPAGE to reflect source/codepage 2007-12-05 09:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/files.c ! FILESIZE() fixed to return -1 when the file doesn't exist. - contrib/hbmysql/test + contrib/hbmysql/tests - contrib/hbw32ddr/test + contrib/hbw32ddr/tests - contrib/hbodbc/test + contrib/hbodbc/tests - contrib/hbtpathy/test + contrib/hbtpathy/tests - contrib/hbw32/test + contrib/hbw32/tests - contrib/hbole/test + contrib/hbole/tests - contrib/hbfbird/test + contrib/hbfbird/tests - contrib/hbapollo/test + contrib/hbapollo/tests - contrib/hbnf/test + contrib/hbnf/tests - contrib/hbfimage/test + contrib/hbfimage/tests - contrib/hbmisc/test + contrib/hbmisc/tests - contrib/hbgtwvg/test + contrib/hbgtwvg/tests - contrib/hbrddads/test + contrib/hbrddads/tests - contrib/hbbtree/test + contrib/hbbtree/tests ! Renamed test to tests to use 'tests' everywhere inside the repository. 2007-12-04 23:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Small typo and formatting. * harbour/contrib/gtwvg/wvtutils.c * More UNICODE compliant. * harbour/contrib/gtwvg/test/demowvg.prg ! Adjusted to respect changes in core lib. 2007-12-05 08:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * added HB_GTSELF_*() macros for future use * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/gtalleg/ssf.c * replaced one global variable by static one * formatting * harbour/contrib/hbct/files.c ! fixed default attribute mask in FILEATTR() 2007-12-05 02:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmake/hbmutils.prg ! Some fixes related to contrib dir renames. NOTE: Blind fix. I don't use this tool. If you do, pls report problems. 2007-12-04 20:39 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat ! Fixed argument handling in created "worker bat file" 2007-12-04 17:04 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * harbour/make_vc.mak * TABs converted to spaces. Minor formatting * harbour/make_gcc.mak * harbour/make_vcce.mak * Minor formatting 2007-12-04 16:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.bat * Checking if HB and HBPPGEN envvars are set is moved to BUILD rule to not affect CLEAN and INSTALL rules 2007-12-04 12:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h + added some missing HB_GTSUPER_* functions * harbour/contrib/hbgtwvg/wvtcore.c * use hb_gt*() functions instead of hb_gt_*() ones * harbour/contrib/hbgtwvg/wvtutils.c * harbour/contrib/hbgtwvg/gtwvt.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gttone.c * harbour/source/rtl/gtclip.c * minor cleanup in hb_gt_w32_*() function names * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtclip.c * use common for all GT internal Clipboard buffer - thanks to Pritpal for a note 2007-12-04 10:17 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat - Removed the dependancy on a worker bat file named make_.bat. Now a worker bat file is created on a fly. - harbour/contrib/make_b32.bat - harbour/contrib/make_vc.bat - Removed. No longer neccesary. 2007-12-03 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/inkey.c + harbour/source/rtl/inkeyapi.c * moved hb_inkey*() functions to GT subsystem so now they can be overloaded by GT drivers and/or operate on different GT context * harbour/source/rtl/mouse53.c * eliminated to unused static variables * harbour/source/rtl/mouseapi.c * do not include unnecessary header files * harbour/source/rtl/gtchrmap.c * replaced // comment by /* ... */ 2007-12-03 21:40 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.sh * Eliminated HB_GT_LIST hack in common.cf, converted from common.mak * harbour/make_gcc.mak * Minor change in handling platforms which are Windows compatible 2007-12-03 18:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak * harbour/make_gcc.sh + Added the possibility to build dll/so of Harbour VM+RTL (tested om MingW, Cygwin, FC8/64) * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_vcce.mak + Added HB_ARCHITECTURE definition (to be used in a future) * harbour/source/rtl/gtchrmap.c ! Fixed compilation under Linux using make_gcc.sh 2007-12-03 16:30 UTC+0200 Chen Kedem * ChangeLog * Update my email address * doc/dirstruc.txt + Add short description to the newly added directories. 2007-12-03 11:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * removed declaration for not existing function: hb_inkeyGet() * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * moved all static variables used by core GT code to HB_GT_BASE structure * harbour/source/rtl/inkey.c * cleanup * harbour/contrib/Makefile * moved HB_CONTRIBLIBS to the end build library list because they may need some other contrib libraries in dependences list 2007-12-02 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnf/nwsem.prg * harbour/contrib/hbnf/prtesc.prg * harbour/contrib/hbnf/mouse1.prg * harbour/contrib/hbnf/workdays.prg * harbour/contrib/hbnf/sleep.prg * harbour/contrib/hbnf/xbox.prg * harbour/contrib/hbnf/d2e.prg * harbour/contrib/hbnf/mouse2.prg * harbour/contrib/hbnf/ntow.prg * harbour/contrib/hbnf/floptst.prg * harbour/contrib/hbnf/e2d.prg * converted TABs to SPACEs 2007-12-02 05:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated for new contrib libraries names 2007-12-02 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/hbpcre/ChangeLog * harbour/source/hbpcre/pcrecomp.c * minor modifications to pacify some MSVC warnings 2007-12-02 04:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mouse53.c * do not include unnecessary header files * harbour/bin/pack_src.sh * changed packing procedure - now it does not scan chosen directories and files but all contents of all .svn/entries to extract files stores in SVN repository and then pack them - it's very good method to pack whole Harbour repository without .svn/* data and risk of packing local files. * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for recent changes in directory and library names 2007-12-01 23:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * svn properties 2007-12-01 22:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbgd/make_b32.bat * contrib/hbgd/gdwrp.c ! Fixed the way HB_OS_WIN_32_USED is used and windows.h is included to work like in rest of Harbour. This way it works for all compilers/build systems. 2007-12-01 22:21 UTC+0100 Francesco Saverio Giudice (info at fsgiudice dot com) * harbour/contrib/hbgd/make_b32.bat ! Fixed compilation under BCC added -DHB_OS_WIN_32_USED to CFLAGS env var to compile gdwrp.c creating undecorate C function names 2007-12-01 21:07 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.mak ! Fixed compilation against bug in Texas Instruments versions of ARM processors 2007-12-01 21:52 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbwince.h ! Fixed compilation in C++ mode by renaming local variable named "template" to "tmplt". "template" is a reserved word in MSVC C++. + Added few missing WINAPI function declarations under MSVC WinCE. * harbour/source/common/hbwince.c ! Fixed compilation in C++ mode by renaming local variable named "template" to "tmplt". "template" is a reserved word in MSVC C++. 2007-12-01 20:12 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.bat + Added existence verification of HB and HBPPGEN environment variables and existence of files which are pointed by them 2007-12-01 20:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/source/lang/msgltwin.c * harbour/source/lang/Makefile * harbour/common.mak + message file for Lithuanian language 2007-12-01 15:27 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/rtl/hbinet.c ! Fixed compilation under Cygwin environment * harbour/make_gcc.sh + Added Cygwin as a detected platform 2007-12-01 03:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * debian/copyright * doc/license.txt * COPYING - Removed one explicily listed license exception: 'samples\pe\license.txt', since it is now in the contrib which is covered in the "contrib license" section anyway. This license is probably included only as an example file for the editor. Ryszard? 2007-12-01 03:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hgf + contrib/hbgf * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak * contrib/hbfbird/test/bld_b32.bat * contrib/hbapollo/test/bld.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbfimage/test/bld_b32.bat * contrib/hbgd/tests/bldtest.bat * contrib/hbgf/os2pm/Makefile * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/win32/common.mak * contrib/hbgf/gtk/Makefile * contrib/hbrddado/common.mak * contrib/hbrddado/Makefile * contrib/hbbmcdx/common.mak * contrib/hbbmcdx/Makefile * contrib/hbgtwvg/common.mak * contrib/hbgtwvg/Makefile * contrib/hbrddads/common.mak * contrib/hbrddads/Makefile ! Some fixes to previous changes. ; Here is the final summary of contrib lib renames: ----------- ------------- ------------- Old Old New DIR LIBNAME DIR & LIBNAME ----------- ------------- ------------- adordd adordd hbrddado apollo apollo hbapollo bmdbfcdx bmdbfcdx hbbmcdx btree hbbtree hbbtree directx hbwin32ddrw hbw32ddr firebird firebird hbfbird freeimage hbfreeimage hbfimage gd hbgd hbgd gtwvg gtwvg hbgtwvg hbzlib hbziparch hbziparch htmllib html (DELETED) libct ct hbct libgt gt hbgt libmisc hbmisc hbmisc libnf nf hbnf msql msql hbmsql mysql hbmysql hbmysql odbc hbodbc hbodbc ole hbole hbole pdflib hbpdflib (DELETED) pgsql hbpg hbpgsql rdd_ads rddads hbrddads samples samples hbclipsm telepath telepath hbtpathy tip tip hbtip what32 what32 hbwhat32 win32 hbwin32 hbw32 xhb xhb xhb hgf hgf* hbgf* 2007-12-01 02:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile - contrib/telepath + contrib/hbtpathy * contrib/hbtpathy/common.mak * contrib/hbtpathy/Makefile - contrib/what32 + contrib/hbwhat32 - contrib/win32 + contrib/hbw32 * contrib/hbw32/common.mak * contrib/hbw32/Makefile - contrib/adordd + contrib/hbrddado - contrib/gtwvg + contrib/hbgtwvg - contrib/rdd_ads + contrib/hbrddads - contrib/tip + contrib/hbtip * contrib/hbtip/common.mak * contrib/hbtip/Makefile - contrib/bmdbfcdx + contrib/hbbmcdx * contrib/hbct/Makefile * contrib/hbct/common.mak * contrib/hbgt/common.mak * contrib/hbgt/Makefile * contrib/hbnf/common.mak * contrib/hbnf/Makefile * Contrib lib rename finished. ; Please report build (or other) problems. 2007-12-01 02:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/libct + contrib/hbct - contrib/libgt + contrib/hbgt - contrib/libnf + contrib/hbnf * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * utils/hbmake/hbmutils.prg * Contrib lib rename continued. 2007-12-01 02:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile - contrib/msql + contrib/hbmsql * contrib/hbmsql/common.mak * contrib/hbmsql/Makefile - contrib/libmisc + contrib/hbmisc - contrib/mysql + contrib/hbmysql - contrib/odbc + contrib/hbodbc - contrib/ole + contrib/hbole - contrib/pgsql + contrib/hbpgsql * contrib/hbpgsql/common.mak * contrib/hbpgsql/Makefile - contrib/samples + contrib/hbclipsm * contrib/hbclipsm/common.mak * contrib/hbclipsm/Makefile * Contrib lib rename continued. 2007-12-01 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/pdflib * contrib/make_b32_all.bat * contrib/make_vc_all.bat - Removed pdflib (not working, abandoned) 2007-12-01 02:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/htmllib * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * Removed htmllib (obsolete, non-maintained). 2007-12-01 01:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/btree + contrib/hbbtree - contrib/directx + contrib/hbw32ddr * contrib/hbw32ddr/Makefile * contrib/hbw32ddr/common.mak - contrib/firebird + contrib/hbfbird * contrib/hbfbird/Makefile * contrib/hbfbird/common.mak - contrib/freeimage + contrib/hbfimage * contrib/hbfimage/Makefile * contrib/hbfimage/common.mak - contrib/gd + contrib/hbgd - contrib/hbzlib + contrib/hbziparch * contrib/hbziparch/make_b32_dll.bat * contrib/hbziparch/make_b32_dll.mak * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * Contrib lib rename continued. 2007-12-01 00:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/apollo + contrib/hbapollo * contrib/hbapollo/common.mak * contrib/hbapollo/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * First contrib lib rename (live rehearsal). (goals: hb prefix, dirname = libname, 8 chars limit) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * DIRS internal envvar renamed to _HB_DIRS. 2007-11-30 20:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbstack.h ! Added HB_EXPORT to hb_stackPop(). Required by dll build with -gc3 switch * Removed HB_EXPORT from hb_stackReturnItem() and hb_stackSelfItem() 2007-11-30 19:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/contrib/libct/ctwin.c * harbour/contrib/gtwvg/gtwvt.c + added GT ID (int s_GtId) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added some missing wrappers for hb_gt_* functions to avoid including hbgtcore.h by non GT code - such functions separation will be important in MT mode where each thread can operate on different GT context (window) * harbour/contrib/libct/screen2.c * harbour/contrib/libct/screen1.c * harbour/contrib/libct/ctwfunc.c * use hb_gt* functions instead of hb_gt_*() ones * harbour/include/hbapigt.h * harbour/source/rtl/inkey.c * changed hb_setInkeyLast() to hb_inkeySetLast() to keep hb_inkey*() prefix in all inkey() related functions + added hb_inkeySetText() - removed hb_inkeyTranslate() * harbour/contrib/libct/setlast.c * use hb_inkeySetLast() instead of hb_setInkeyLast() * harbour/source/rdd/usrrdd/usrrdd.c * removed dummy xHarbour code not usable in Harbour * harbour/include/hbapi.h * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * added const to BYTE * pCode parameter of hb_codeblockMacroNew() 2007-11-30 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_vc.mak ! Reverted moving HB_GT_LIB to common.mak, because in common.mak it is set to gtstd by default. 2007-11-30 08:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.mak ! Conditionaly add HB_NO_WIN_CONSOLE to CFLAGS based on HB_WINCE_COMPILE_WITH_GTWIN envvar 2007-11-30 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_vc.mak % HB_GT_LIB definition moved to common.mak to avoid redundancy 2007-11-30 06:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat + Cleanup of used environment variables 2007-11-30 06:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Restored handling of exit level 2007-11-29 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_vcce.bat * make_vcce.mak * make_b32.bat * make_b32.mak * make_vc.bat * make_vc.mak * common.mak + Now every internally used envvars are reset before exiting. ! Not tampering with user level envvars by changing their content to default values. % HB_GT_* envvar defaulting moved to .mak file level, since these envvars were not used on batch file level anyway. * make_vcce.bat * make_vcce.mak * CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file. If there was any reason to have this only CE C flag in batch file separated from the rest of the extra CE C flags in the make file, please speak up. This change may cause trouble for those using the make file directly and at the same time don't want to use the HB_NO_WIN_CONSOLE compiler flag. In this case we should add a documented way to disable it inside the make file IMO. * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/what32/make_b32.bat * contrib/what32/make_vc.bat * contrib/msql/make_b32.bat * contrib/msql/make_vc.bat + Now every internally used envvars are reset before exiting the batch file, so they won't interact with other batch files even if being called after each other using "call". So "%COMPSPEC% /c" is not necessary anymore when calling these batches. ! Fixed to use _HB_CC_NAME when dealing with .dll to .lib conversions. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + Added gtwvg library. + Added what32 library (to DO_NOT_COMPILE list for b32). * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat ! Undone prev change because it interacted with .dll to .lib conversions. 2007-11-29 22:10 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Added handling of exit level in case of make error 2007-11-29 21:40 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Take care of environment variables possibly modified inside batch files. Should leave user environment space in a consistent state. 2007-11-29 01:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat + Clear the internal envvars used by these .bat files, to not leave any junk after themselves. 2007-11-28 18:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/common/hbfhnd.c * Added conditional define to disable Bcc extension (HB_NO_BCC_MAX_OPENFILES_HACK). Required for dll build with dynamic runtime (-tWR). * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_vcce.mak * $ECHO) and $(DEL) definitions moved to common.mak to avoid redundancy 2007-11-28 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for library name modification 2007-11-28 15:01 UTC+0100 Tomaz Zupan (tomaz.zupan@orpo.si) * harbour.spec ! fixed name libhbmisc. Change needed after namechange see: (2007-11-23 03:03 UTC+0100 Viktor Szakats) 2007-11-27 21:38 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c * Minor fixes. * harbour/contrib/gtwvg/wvtutils.c * Tooltip functions activated guarded against __WINCE__ ! Minor fixes. More UNICODE compliant. * harbour/contrib/gtwvg/wvtpaint.prg ! Wvt_GetOpenFileName() - Fixed to respect recent UNICODE compliance. * harbour/contrib/gtwvg/test/demowvg.prg ! Adjusted to respect changes in core lib. 2007-11-27 21:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32.bat * contrib/make_vc.bat ! Refixed to work again with /contrib/hgf/win32 (or any other nested libs) 2007-11-27 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c ! fixed typo 2007-11-27 18:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h * harbour/contrib/freeimage/fi_winfu.c * harbour/contrib/firebird/test/testapi.c * harbour/contrib/firebird/firebird.c * harbour/contrib/what32/sqltypes.ch * harbour/contrib/what32/_wincret.c * harbour/contrib/what32/_winpen.c * harbour/contrib/what32/what32.ch * harbour/contrib/what32/_winmem.c * converted TABs to spaces 2007-11-27 18:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c * define INVALID_FILE_ATTRIBUTES when not defined in C header files - temporary workaround for missing INVALID_FILE_ATTRIBUTES definition in new MSVC versions * harbour/include/hbwince.h * removed INVALID_FILE_ATTRIBUTES definition 2007-11-27 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c * disabled dummy GetDiskFreeSpaceA() overloading - it's not longer necessary 2007-11-27 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR during build as default C compiler/linker switches in hb* scripts * harbour/config/w32/pocc.cf + added comdlg32.lib to linked library list * harbour/source/common/hbwince.c + added dummy FreeResource() function. This is a note from MSDN: FreeResource() is an obsolete function. It is provided for backward compatibility with 16-bit Windows applications. FreeResource() is not necessary for 32-bit Windows applications to free the resources loaded using LoadResource() function. * harbour/contrib/gtwvg/wvtutils.c + added workaround for wrong ChooseColorW() definition in header files include in last oficial relase (0.50) of MinGW32-CE Pritpal above finished modifications I was able to make using only pure MinGW32-CE 0.50. The following functions used by GTWVG are still missing: GetMenu(), SetMenu(), CreateBrushIndirect(), GetViewportOrgEx(), IsDlgButtonChecked(), OleLoadPicture(), TrackPopupMenu(), If you are sure that they exist in WinCE then simply create static import library for them or dynamic wrappers. 2007-11-27 11:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c * added MulDiv() implementation for MinGW32-CE builds 2007-11-27 11:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * make all hb_compI18n*() functions which do not need external access static - now only hb_compI18nAdd() is public function. If it will be necessary to make other functions public then we will make it but please always try to declare new functions as static if it's not necessary to access them externally - it helps in future modifications because we do not have to worry about external code which may access some functions. * harbour/config/hpux/gcc.cf * added commented -mlp64 GCC switch to CFLAGS and LDFLAGS - this switch forces 64-bit mode in HP-UX on IA64 * harbour/source/common/hbwince.c + added wrapper for LocalHandle() and direct translation for LocalLock() * harbour/config/w32/cemgw.cf + added commdlg, commctrl, luuid and ole32 to linked library list for some contrib code 2007-11-27 10:36 UTC+0100 J. Lefebvre Mafact (jfl/at/mafact.com) * source/common/hbfsapi.c added a check for HB_WINCE for using "FILE_ATTRIBUTE_DEVICE" 2007-11-27 09:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak + Added optional HB_CC_DIRNAME to control (and override) where the final target files will be created inside obj/lib/bin dirs. Marek pls report if this solved anything for you. 2007-11-27 01:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.mak ! Removed -l flag from .dll creation to be in sync with the rest of Harbour. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Synced with core flags (VC mainly). * contrib/freeimage/fi_winfu.c * contrib/freeimage/fi_wrp.c * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/firebird/firebird.c * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/pdflib/pdfhbdoc.c * contrib/pgsql/postgres.c * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/mysql/mysql.c * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat ! Some extra lib-level custom C flags fixed to be in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED) * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat ! hbziparch extra switches removed (all of them). This made surface a whole lot of warnings. If someone wants to create a .dll from this, -DZLIB_DLL will need to be added to C_USR. -a8 switch was also removed from the BCC build. If someone know that it's necessary, pls shout. 2007-11-27 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * updated for recent file name modifications * harbour/include/hbgtcore.h * harbour/source/rtl/gtclip.c * changed hb_gt_w32_SetClipboard() type from void to BOOL * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * added basic input support for DJGPP * harbour/contrib/gtwvg/gtwvt.c ! fixed memory leak and GPF trap * harbour/contrib/gtwvg/wvtutils.c ! rewritten and fixed CLIPBOARD functions - Pritpal this functions should be removed, they are redundant and works only in MS-Windows * make WVT__GETOPENFILENAME() and WVT__GETSAVEFILENAME() Unicode ready and fixed possible GPF trap 2007-11-26 22:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat % Eliminated _HB_SHOW_ERRORS. 2007-11-26 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Fixed: HB_CC_NAME -> _HB_CC_NAME (files were directly created in '/lib//' since last change) If someone wants to override the default dir names where bin/lib/obj files are created - by using an undocumented internal envvar - pls use 'set _HB_CC_NAME=...' 2007-11-26 20:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32.bat * harbour/contrib/make_vc.bat * Removed TABS unintentionaly introduced in my last commit 2007-11-26 19:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat ! Fixed CFLAGS assignments to not include %C_USR%, as this is done in the .mak files anyway. * contrib/what32/make_b32.bat * contrib/what32/make_vc.bat + Added ..\xhb to the include path for Harbour. 2007-11-26 18:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak ! Fixed "hardcoded" definitions for OBJ_DIR, LIB_DIR, BIN_DIR * Reset "echo" to "echo." 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/gtwvg/test + demowvg.prg + test.dbf + dia_excel.ico + v_browse.ico + v_clcltr.ico + v_calend.ico + v_clclt.bmp + v_filter.ico + v_help.ico + v_index.bmp + v_lock.bmp + v_new.bmp + v_notes.bmp + v_notes1.bmp + v_selct1.bmp + v_tools.bmp + vr_1.ico Initial placement of files to demonstrate the usage of gtwvg and its GUI elements. Please note that this appln may terminate without notice at places where browser is opened because appln needs tbrowse:aColumnsSep instance variable which I will do shortly. Rest all components are working ok. 2007-11-26 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * workaround for missing 'install' command in some HP-UX versions * harbour/contrib/xhb/cstructc.c * casting for 64bit builds 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal(). * harbour/contrib/gtwvg/wvtclass.prg * Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib. 2007-11-26 07:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 * wininet.ch * winerror.prg * windebug.prg * wintabs.prg * wintbar.prg svn:eol-style = native svn:keywords = Id 2007-11-26 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * set predefined CCPREFIX in cross build hb*-mkslib * harbour/make_xmingw.sh ! fixed BSD build cross build - problem noticed by Phil Krylov in xHarbour * harbour/source/rdd/dbffpt/dbffpt1.c * casting * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/bsd/gcc.cf * added support for HB_CRS_LIB envvar which allow to overload platform default [n]curses library name 2007-11-26 14:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/what32/wintabs.prg * contrib/what32/wintbar.prg ! Fixes to make them compile with Harbour. Pritpal, could you please check this, because it's not exactly clear what is the intent in the source code, so these might be the wrong fixes. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Using a neutral character instead of double quote in hacked DOS "if %1 ==" commands to avoid the situation where the quote is filtered, replaced under certain (not defined) Windows/BCC environments. Same change done for VC to stay in sync. 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak ! Fixed generation of pptable.c for dll build (I am amazed how it used to work before) * Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR) 2007-11-26 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed typo * harbour/contrib/gtwvg/gtwvt.c * use hb_strncpy() instead of strcpy() 2007-11-26 08:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * casting and minor formatting 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak ! HB and HBPPGEN definitions moved to end of file, because they have to be defined after HARBOUR_EXE and HBPPGEN_EXE 2007-11-26 02:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! fixed typo 2007-11-26 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * harbour/contrib/gtwvg/wvtcore.c * moved hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib(), hb_wvt_gtLoadPictureFromResource(), hb_wvt_gtLoadPicture(), hb_wvt_gtRenderPicture(), hb_wvt_gtDestroyPicture() from gtwvt.c to wvtcore.c * changed hb_wvt_GetStringAttrib() and hb_wvt_PutStringAttrib() to work with any GTs ! removed GTWVG internal screen buffer and fixed to work well woth core code screen buffer ! some fixes borrowed from Harbour GTWVT * synced most of contrib/gtwvg/gtwvt.c code with rtl/gtwvt/gtwvt.c - removed unused GLOBAL_DATA members: foreground, background, BUFFERSIZE, byAttributes, byBuffer, pAttributes, pBuffer, caretPos, displayCaret, RectInvalid Pritpal please check if it works for you with GUI extensions. I've tested it as normal GT driver and it works correct in my tests. 2007-11-25 23:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + extended GTI_WINTITLE to return window title: hb_gtInfo( GTI_WINTITLE [, ] ) -> * formatting and code cleanup 2007-11-25 23:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/what32/Makefile + contrib/what32/make_b32.bat + contrib/what32/make_vc.bat + contrib/what32/common.mak + Added GNU and non-GNU make files for what32. ; Not fully tested, because I stumbled across a few problems when compiling: - for BCC32 this lib needs TASM32 (non-free AFAIS) - it need xhb lib and headers - several .prg warnings, so it needs PRG_USR=-w1 before building. - error in .prg: .\wintabs.prg(98) Warning W0001 Redefinition or duplicate definition of #define TCN_SELCHANGE ; An MSVC warning: - ..\..\obj\vc\wincore.c(711) : warning C4129: 'w' : unrecognized character escape sequence This is inline C code in wincore.prg 2007-11-25 13:15 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 + wininet.ch + winerror.prg + windebug.prg + wintabs.prg + wintbar.prg Renamed/synchronised for GNU makes. 2007-11-25 13:07 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 - wininet.CH - errorsys.prg - debug.prg - wintabs.Prg - wintbar.Prg Removed to have all lower case and avoid name conflicts. 2007-11-25 20:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * Moved HB and HBPPGEN definitions to common.mak to reduce unnecesary redundancy * harbour/contrib/make_b32.bat * harbour/contrib/make_vc.bat * Enclosed "help usage message" in double quotes due to special meaning of "<>" symbols in command processor. 2007-11-25 11:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/what32 + _winbmp.c + _winbrsh.c + _wincall.c + _wincdlg.c + _winclpb.c + _wincomm.c + _wincret.c + _windate.c + _windc.c + _windir.c + _windlg.c + _windll.c + _windraw.c + _winfont.c + _wingdi.c + _winhead.c + _winicon.c + _winlist.c + _wininet.c + _winini.c + _winkbrd.c + _winlv.c + _winmain.c + _winmapi.c + _winmem.c + _winmenu.c + _winmeta.c + _winmisc.c + _winmmcap.c + _winmous.c + _winmsg.c + _winpen.c + _winprn.c + _winrect.c + _winreq.c + _winrgn.c + _winscrlb.c + _winserial.c + _winshell.c + _winsock.c + _winsys.c + _wintab.c + _wintbar.c + _wintext.c + _wintree.c + _winview.c + _winwnd.c + commctrl.ch + commdlg.ch + debug.ch + import.ch + sqltypes.ch + what32.ch + wingdi.ch + wininet.ch + winstruc.ch + wintypes.ch + winuser.ch + debug.prg + errorsys.prg + whatutil.prg + wincdlg.prg + wincomm.prg + wincore.prg + winini.prg + winrbar.prg + wintabs.prg + wintbar.prg Initial upload of xharbour/contrib/what32. Direct item access replaced with api calls. Still untested. 2007-11-25 12:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtutils.c ! changed 'template' used as variable name to 'lpTemplate' Some C++ compilers may not accept 'template' as variable name because 'template' has special meaning in C++ so please do not use such name - thanks to Andi 2007-11-25 12:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwmain.c * harbour/source/vm/mainwin.c ! fixed unnecessary conversion of WinMain() parameters on W32/W64 when UNICODE macro is set - thanks to Chen * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c ! fixed code wrongly synced with xHarbour - in Harbour HB_SET_EOL is char* not PHB_ITEM - thanks to Andi * harbour/source/compiler/genc.c ! fixed file name in generated for C inline code by escaping special characters - thanks to Andi * harbour/source/rtl/gtwvt/gtwvt.c * minor code cleanup * harbour/contrib/gtwvg/wvtcore.c ! fixed setting default foreground and background color when user does not pass it's own one. Previous versions was using _s->background and _s->foreground - it was wrong because this variables in all GTWVT base GTs (also in xHarbour) contains not default color but the color recently used to redraw some part of screen - f.e. after exposing some region - it means that they can have any value. Such bugs are hard to locate because the same program can be executed many times without any problem and suddenly he will use wrong colors drawing sth - if you observed such effect then it can be the results of the above problem. Now default color is taken from core GT code. Two functions make it: hb_wvt_FgColorParam() and hb_wvt_BgColorParam() Both accept also colors passed as standard Clipper strings. The same should be also fixed in xHarbour just like the problem with executing registered user functions when HVM is closing fixed in previous commit - even if now it does not cause GPF (due to race condition it may be exploited only sometimes) then it does not mean it works correctly. 2007-11-24 20:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * removed unused global hdc * formatting and minor code cleanup * harbour/source/vm/hvm.c + added to hb_vmRequestReenter() support for checking if HVM is properly initialized and working for code which may want to execute PCODE before HVM initialization or after HVM close - in such case hb_vmRequestReenter() will return FALSE. Please also remember that in the future hb_vmRequestReenter() may return FALSE also in some other cases. * harbour/source/vm/eval.c * use hb_vmRequestReenter()/hb_vmRequestRestore() in hb_itemDo[C]() instead of hb_vmPushState()/hb_vmPopState() * harbour/contrib/gtwvg/gtwvt.c ! always use hb_vmRequestReenter()/hb_vmRequestRestore() before executing .prg functions/codeblocks. It will resolve the problem with executing .prg functions during HVM closing. Anyhow I suggest to register C cleanup functions using hb_vmAtExit() for code which needs some additional destructor/closing procedure. * code formatting and indenting 2007-11-24 11:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/gtwin/gtwin.c * source/rtl/gtcrs/gtcrs.h * source/rtl/gtsln/gtsln.h * source/rtl/gttrm/gttrm.c * source/rtl/gtwvt/gtwvt.h + #defining xhb compatible K_SH_* keyboard codes only if they were not already defined. * utils/hbdoc/genasc.prg ! Fixed problem generating filenames for .txt output. Also added LFN branch to get rid of the 8.3 limitation. 2007-11-24 01:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/msql/Makefile * contrib/msql/make_b32.bat * contrib/msql/make_vc.bat * contrib/msql/msql.h * contrib/msql/tmsql.prg ! Fixed to compile with non-GNU BC/VC makefiles. (short-term fixes, there may be better / more generic ways to fix it) ! C warnings fixed. ! Harbour warnings fixed. ! Makefile changed to Harbour standard GNU format. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + msql enabled. - contrib/msql/dbf2msql.prg - contrib/msql/test.prg + contrib/msql/tests + contrib/msql/tests/dbf2msql.prg + contrib/msql/tests/test.prg * Tests moved to tests dir. 2007-11-23 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl_vc.mak ! Some minor fixes for VC. - %1 -> %%1 to be on the safe side. - Fixed double execution of inline files. Thanks to Marek. * contrib/make_b32_all.bat * contrib/make_vc_all.bat ! Batch file calling method reset to Marek's version ('%COMSPEC% /c' as opposed to 'call') to avoid any unwanted "crosstalk" between contrib build procedures through the CFLAGS envvar. 2007-11-23 21:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/man/harbour.1 * harbour/source/compiler/hbusage.c + added description for -j switch * harbour/include/hbexprb.c * replaced // comments by /* */ * accept (domain) parameters of HB_i18nGettext() when number of parameters is two or more Should we generate compile time warning when wrong number of parameters is passed to this function or they are not literal strings? Maybe only after -j+ or sth like that? * harbour/include/hbclass.ch * harbour/include/tbrowse.ch * harbour/include/hbpers.ch * harbour/include/getexit.ch * replaced // comments by /* */ 2007-11-23 18:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/include/hbexprb.c * changed HB_i18nGettext() to hb_i18n_gettext(), to respect original gettext lowercase function name convention 2007-11-23 06:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c * HB_EXPORT void hb_wvt_GetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib ) * HB_EXPORT void hb_wvt_SetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib ) ! Restored. Please keep these functions as is as those have wide-usage. 2007-11-23 12:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed bad typo in hb_compI18nAdd() and memmove() range which can cause GPF * changed pFileName to FileName in hb_compI18nSave() to respect used by us naming convention * eliminated strcpy() - do not use strcpy()/strcat() - these functions are reported as dangerous by security restrict compilers. I suggest to use hb_strncpy()/hb_strncat() instead (remember about different size meaning in these functions) or some others depending on context (f.e. hb_strdup() in this case) 2007-11-23 10:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtcore.c * use lstrlen( text ) instead of strlen( hb_parc( 2 ) ) * removed dummy casting 2007-11-23 09:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c + added dummy Arc(), FrameRect(), FloodFill() for WinCE builds * harbour/make_gcc.mak ! restored TABs in rules definitions. Viktor TABs for GNU make have special meaning - your last modifications broke this file * harbour/contrib/libmisc/Makefile ! comment DIR rule as temporary workaround for problem with library name 2007-11-22 22:49 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Fixes for UNICODE Support. ? Przem, please review. I suspect about like these fixes: DrawText( _s->hGuiDC, hb_parcx( 6 ), strlen( hb_parcx( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP ); => LPTSTR text = HB_TCHAR_CONVTO( hb_parc( 6 ) ); DrawText( _s->hGuiDC, text, strlen( hb_parc( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP ); ^--------------------^ OK | How to compute length of "text" 2007-11-22 21:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c ! Fixes for UNICODE Support. ? Przem, please review. It is not complete, still there are warnings. 2007-11-23 05:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! casting * harbour/source/rtl/memofile.c * cleaned warning in *nixes 2007-11-23 05:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * removed foreground and background from GLOBAL_DATA - they are not necessary + added support for gfxPrimitive() - fixed xHarbour code * harbour/contrib/gtwvg/gtwvt.c + added support for gfxPrimitive() - fixed xHarbour code * removed some methods which can be safely replaced by default ones * harbour/tests/gfx.prg * harbour/tests/wcecon.prg * harbour/tests/gtchars.prg * updated the order of changed font parameters * harbour/contrib/xhb/hbcompat.ch ! added missing closing square bracket 2007-11-23 04:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.bat * make_vc.bat * make_vcce.bat + Accepts "Install" and "Clean" consistently. ! Not directly modifying C_USR, instead use CFLAGS internally. * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_b32.bat * contrib/make_vc.bat * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak - contrib/mtpl_defs.mak % Removed COPYCMD requirement. ! Not modifying any user level envvars anymore. (so no need for COMPSPEC trick to call another copy of command com) ! Some other smaller fixes. ! Fixed rdd_ads in make_*_all.bats. * Removed the simple common part for BC/VC to consistently separate the BC/VC make file system. The only common part now is common.mak in each contrib. (Marek I hope you don't mind, I promise to update them in case of changes. We have quite some reduancy between BC/VC anyway, so this won't hurt much overall, but they are now nicely separated and maybe bit easier to oversee for someone new to the project. ! Avoiding 'exit' command, as it stops all batch file execution, and as a bad side-effect can force to exit shells too. - CFLAGS, CLIBFLAGS, HARBOURFLAGS not advertised anymore as official public vars to set compiler flags. C_USR, PRG_USR should be used, which are also GNU make system compatible. ! Fixed copyrights. ! Tabs converted to spaces. 2007-11-23 03:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/examples/dbu/bld_b32.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat + Accepts "Install" and "Clean" consistently. * Not using "exit" command anymore. ! Restored some lost changes. ! Not directly modifying C_USR, instead use CFLAGS internally. + Now rddads will find ace32.dll in system32 dir too. ; It's not possible to set HB_DLL_DIR directly now, just through the _DIR envvar. Some contribs may try to "autodetect" the exact location of the .dll (currently rddads). 2007-11-23 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * common.mak ! Fixed copyrights. ! Tabs converted to spaces. - CFLAGS not advertised anymore as an official public var to set compiler flags. C_USR should be used, which is also GNU make system compatible. * make_vc.mak * make_vcce.mak ! Removed /Y from copy command (we're using the COPYCMD trick in core make files). - contrib/adordd/access1.prg - contrib/adordd/access2.prg - contrib/adordd/mysql1.prg - contrib/adordd/mysql3.prg + contrib/adordd/tests + contrib/adordd/tests/access1.prg + contrib/adordd/tests/access2.prg + contrib/adordd/tests/mysql1.prg + contrib/adordd/tests/mysql3.prg - contrib/btree/mktest.bat + contrib/btree/test/mktest.bat - contrib/samples/testdate.prg - contrib/samples/testenv.prg - contrib/samples/testgaug.prg - contrib/samples/testnum.prg - contrib/samples/teststat.prg - contrib/samples/testtime.prg - contrib/samples/tststack.prg + contrib/samples/tests + contrib/samples/tests/testdate.prg + contrib/samples/tests/testenv.prg + contrib/samples/tests/testgaug.prg + contrib/samples/tests/testnum.prg + contrib/samples/tests/teststat.prg + contrib/samples/tests/testtime.prg + contrib/samples/tests/tststack.prg * Test related files moved to test dir. ! Added EOLs to the last line in adordd files. - contrib/gd/README + contrib/gd/readme.txt * Renamed to use proper extension. * contrib/adordd/common.mak * contrib/apollo/common.mak * contrib/bmdbfcdx/common.mak * contrib/btree/common.mak * contrib/directx/common.mak * contrib/firebird/common.mak * contrib/freeimage/common.mak * contrib/gd/common.mak * contrib/hbzlib/common.mak * contrib/hgf/win32/common.mak * contrib/htmllib/common.mak * contrib/ole/common.mak * contrib/pdflib/common.mak * contrib/pgsql/common.mak * contrib/libct/common.mak * contrib/libgt/common.mak * contrib/libnf/common.mak * contrib/libmisc/common.mak * contrib/mysql/common.mak * contrib/odbc/common.mak * contrib/rdd_ads/common.mak * contrib/samples/common.mak * contrib/telepath/common.mak * contrib/tip/common.mak * contrib/win32/common.mak * contrib/xhb/common.mak * Formatting made consistent. * contrib/adordd/common.mak * contrib/bmdbfcdx/common.mak * contrib/btree/common.mak * contrib/freeimage/common.mak * contrib/gd/common.mak * contrib/hgf/win32/common.mak * contrib/libct/common.mak * contrib/libnf/common.mak * contrib/mysql/common.mak * contrib/odbc/common.mak * contrib/pdflib/common.mak * contrib/pgsql/common.mak * contrib/rdd_ads/common.mak * contrib/samples/common.mak * contrib/tip/common.mak * contrib/xhb/common.mak + Added headers. * contrib/btree/common.mak * contrib/freeimage/common.mak * contrib/freeimage/Makefile * contrib/hbzlib/common.mak * contrib/hbzlib/Makefile * contrib/libct/common.mak * contrib/libmisc/common.mak * contrib/libmisc/Makefile * contrib/mysql/common.mak ! Library names synced between GNU and non-GNU make systems. ! Some libraries renamed to not have a too common or non-descriptive name, like "misc". non-GNU hb_btree -> hbbtree (synced with GNU) non-GNU fi_lib -> hbfreeimage GNU fi_lib -> hbfreeimage non-GNU hbzip -> hbziparch GNU ziparchive -> hbziparch non-GNU libct -> ct (synced with GNU) non-GNU libmisc -> hbmisc GNU misc -> hbmisc non-GNU mysql -> hbmysql (synced with GNU) * contrib/apollo/Makefile * contrib/firebird/Makefile ! Fixed space to tabs. + contrib/msql/make_b32.bat + contrib/msql/make_vc.bat + contrib/msql/common.mak + Added non-GNU make files. ; TOFIX: I cannot compile these still. * contrib/msql/Makefile ! Added SVN header. ; TOFIX: This is a non-standard Makefile. Did anyone manage to compile this lib? * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg ! Added EOLs to the last line. * utils/hbmake/hbmutils.prg * Lib names fixed and changed to reflect the recent changes in contrib. * contrib/rdd_ads/rddads.h ! Minor cosmetic fix. * include/hbextern.ch * source/rtl/memofile.c ! MEMOWRIT() 3rd parameter marked as extension. + HB_MEMOWRIT() function added, which never writes the obsolete EOF char at the end of the file. 2007-11-23 03:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/include/hbcompdf.h * harbour/source/include/hbexprop.h * harbour/source/include/hbexprb.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbmain.c + added i18n support Implemented -j[filename] switch to indicate output filename. Default filename is .pot. If switch -o is used, this file is created in specified output path. Output file format is compatible with 'gettext' utils, but not all available features are implemented. Harbour level function HB_i18nGettext( cText [, cContext ] ) should be used to indicate translatable strings. All this commit is commented using #ifdef HB_I18N_SUPPORT and is in development stage. Please, do not use it yet. 2007-11-23 01:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + gtwvg/common.mak + gtwvg/make_b32.bat + gtwvg/make_vc.bat + Added non-GNU make files. ; TOFIX: gtwvt.obj will clash with the core file with this name, so this won't properly work yet. * gtwvg/wvtpaint.prg ! HB_INLINE() -> hb_bitAnd() * gtwvg/Makefile * Minor formatting. 2007-11-23 01:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * make hb_vmPushNumInt() public function * harbour/contrib/gtwvg/wvtcore.c ! fixed hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal() - fixed GPF when codeblock are used - use hb_vmPushNumInt() instead of hb_vmPushLong() to push handles and numbers with potentially unknown size. I still suggest to use pointers ITEMs instead of converting handles to numbers but I'm leaving such modifications to library authors - using hb_vmPushNumInt() is a workaround for striping highest 32 bit from handles by hb_vmPushLong() in XP64 - use hb_vmRequestReenter() / hb_vmRequestRestore() to avoid crash when function/codeblock is executed during HVM has been serving an exception (f.e. BREAK/QUIT/RETURN) 2007-11-22 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * declared two functions hb_gt_wvt_AddCharToInputQueue() and hb_gt_wvt_AddCharToInputQueue() as static - they were public by mistake * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * moved hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal() from gtwvt.c to wvtcore.c These both functions are wrong and have to be fixed. * farther cleanup: - declared some internal functions as static - synced some other with GTWVT - removed some repeated declarations 2007-11-22 14:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h + added HB_TCHAR_CONVNREV() macro * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * cleaned MinGW warnings ! fixed compilation with HB_TR_LEVEL_DEBUG * some minor cleanup in UNICODE conversions 2007-11-22 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * formatting * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * removed some unused code and redirect some methods to common for all MS-Win GTs functions. Pritpal this code needs cleanup. Now it's xHarbour GT hacked to compile and link with Harbour API. It means that this code also inherited some small incompatibilities to Clipper which exists in xHarbour GTs. If you agree I'll try to systematically clean it and as I can see IMO the final version will look like GTWVT in core code plus some additional code so it can be quite easy separated. Probably with some small modifications in GTWVT it will be possible to remove these two files from GTWVG at all changing GTWVG to inherit from core GTWVT. Such separation will also show what is core GT code and what is GUI Windows extension what should help in defining common multi platform API. 2007-11-21 22:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c ! Suppressed warnings. 2007-11-22 04:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * updated for removed ace.h * harbour/bin/pack_src.sh * updated for some recent modifications in contrib/pgsql TOFIX: it should be updated for all recent modifications in contrib and MS-Windows build scripts. * harbour/bin/hb-func.sh + added gtwvg to -gt* parameters in hb* scripts * harbour/contrib/Makefile + added gtwvg in W32 builds * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h * cleaned some warnings * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtpaint.prg * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/wvtclass.prg * set svn attributes: svn ps svn:eol-style native svn ps svn:keywords Id Pritpal please remember about it before you commit new files. For .bat files use svn ps svn:eol-style CRLF or better set default attribute in your SVN config file so you will not have to set it manually each time you are adding new file. 2007-11-21 06:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/gtwvt + gtwvt.c + gtwvt.h + wvtcore.c + wvtutils.c + wvtpaint.prg + wvtclass.prg + wvtwin.ch * Initial port of xHarbour's GTWVT + WVTGUI in a combined manner. ? Please create the make files as I am poor in this field. ? Przem, please add switches to hnmk/hbcemk files for -gtwvg as is done for -gtwvt. 2007-11-22 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * set _LARGEFILE64_SOURCE in all builds and use HB_USE_LARGEFILE64 macro (set automatically when __USE_LARGEFILE64 is defined too or HB_OS_HPUX && O_LARGEFILE) to enable large file support in 32 bit POSIX systems. It should help to enable large file support in other then Linux different 32 bit *nixes. I hope it will resolve Sandro problems with HPUX. * harbour/source/vm/itemapi.c * do not return DATE item value in hb_itemGetNDDec() It was old and unused xHarbour only code - now hb_itemGetNDDec() is compatible with hb_itemGetND() * harbour/source/rtl/seconds.c ! fixed typo in BSD builds BTW can someone test current SVN code with Solaris? I will not be able to make such test myself in the nearest few weeks. 2007-11-21 21:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_defs.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak * Resored Viktor's Copyright removed by mistake in my last commit 2007-11-21 21:10 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/contrib/make_all.mak - harbour/contrib/mtpl_ruls.mak - Removed due to explict request from Viktor to revert new make system * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat * Restored to my original version * After restoration modified to allow proper compilation under Win98 * Blocked compilation for contribs required additional setting (Sorry Viktor I do not share your opinion in regard to this issue) + harbour/contrib/make_b32.bat + harbour/contrib/make_vc.bat + Restored to my original version * Modified to show which dir is compiled * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak * Removed makefile integration between Bcc and Msvc. You now HAVE TO do duplicative work to modify CLEAN and INSTALL rule. IMO this is wrong behavior, but requested by Viktor. 2007-11-21 19:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c + added emulation for clipboard in core GT code. Now: hb_gtInfo( GTI_CLIPBOARDDATA ) -> and: hb_gtInfo( GTI_CLIPBOARDDATA, ) is working in all GTs even if such functionality is not supported by OS. 2007-11-21 18:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_vcce.bat * harbour/make_vcce.mak * harbour/make_b32.mak * harbour/common.mak * harbour/contrib/make_all.mak * harbour/contrib/mtpl_ruls.mak * harbour/make_gcc.mak + added missing Marek's Copyright * set svn attributes: svn ps svn:eol-style [native|CRLF] svn ps svn:keywords Id * harbour/contrib/mtpl_defs.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak + added missing Marek's and Viktor's Copyrights * set svn attributes: svn ps svn:eol-style [native|CRLF] svn ps svn:keywords Id Viktor, Marek if I missed sth then please fix me. * harbour/make_gcc.sh * added mine Copyright note 2007-11-21 17:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_all.mak * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat * harbour/contrib/mtpl_b32.bat * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.bat * harbour/contrib/mtpl_vc.mak * Adopted to new make system - Handling of PRG_HEADERS and C_HEADERS is implemented. All common.mak files from contrib dirs should be modified to add those defines if required. Only those headers defined in PRG_HEADERS and C_HEADERS are installed into HB_INC_INSTALL dir. If this dir is equal HB_ROOT those header are automaticaly CLEANed. - Changed "echo." to "echo" for Borland makefiles to enable proper work on Win2003 + harbour/contrib/mtpl_defs.mak + Rules for Bcc and Msvc are unified now and placed into a new makefile, "included" by mtpl_b32.mak and mtpl_vc.mak. + harbour/contrib/mtpl_ruls.mak - harbour/contrib/mtpl.mak + Renamed to more verbose name - harbour/contrib/make_b32.bat - harbour/contrib/make_vc.bat - Removed - no longer neccesary * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/libnf/delone.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/mysql/delone.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/mysql/make_vc.bat * harbour/contrib/odbc/a_mk_vc.bat * harbour/contrib/odbc/delone.bat * harbour/contrib/odbc/make_b32.bat * harbour/contrib/odbc/make_vc.bat * harbour/contrib/odbc/mhlp_b32.bat * harbour/contrib/odbc/mhlp_vc.bat * harbour/contrib/ole/delone.bat * harbour/contrib/ole/make_b32.bat * harbour/contrib/ole/make_vc.bat * harbour/contrib/pdflib/delone.bat * harbour/contrib/pdflib/make_b32.bat * harbour/contrib/pdflib/make_vc.bat * harbour/contrib/pgsql/delone.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/pgsql/make_vc.bat * harbour/contrib/rdd_ads/delone.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/samples/delone.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/telepath/delone.bat * harbour/contrib/telepath/make_b32.bat * harbour/contrib/telepath/make_vc.bat * harbour/contrib/tip/delone.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/win32/a_mk_bc.bat * harbour/contrib/win32/delall.bat * harbour/contrib/win32/delone.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/xhb/delone.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * Adopted to new make system * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * Minor cleanup 2007-11-21 05:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * harbour/make_rpm.sh * changed --without adsrdd to --with adsrdd now ADS* RDDs are not created by default * harbour/make_rpm.sh * set '--with adsrdd' when ${HOME}/ads/acesdk/ace.h or /usr/local/ads/acesdk/ace.h exists * harbour/contrib/rdd_ads/Makefile + added ${HOME}/ads/acesdk/ace.h as alternative ace.h location * harbour/source/rdd/hbsix/sxini.prg ! fixed typo 2007-11-20 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed using -o in hbcc * harbour/contrib/rdd_ads/rddads.h ! small hack for Linux compilation and compilers which do not set unix macro * harbour/contrib/rdd_ads/Makefile * added /usr/local/ads/acesdk to include directory list Viktor the side effect of removing ace.h from our repository is blocking ADS* RDDs compilation by people who do not have ACE installed - I expect it will be serious problem in creating BETA4 binaries because not all people who create them have ACE installed or even want to install it and without these RDDs for many users new Harbour version will be unusable. * harbour/source/rtl/seconds.c ! fixed stupid typo in milliseconds calculation * harbour/contrib/xhb/hbchksum.c * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h ! use hb_retclenAdopt() instead of hb_retclenAdoptRaw() + svn:keywords Id svn:eol-style native TOFIX - these files have to be removed or changed to avoid name conflicts with ZLIB - personally I vote to add real ZLIB wrapper and only xHarbour compatible .prg functions when they are necessary. Probably only: HB_COMPRESS(), HB_UNCOMPRESS(), HB_COMPRESSBUFLEN() and maybe: HB_COMPRESSERROR(), HB_COMPRESSERRORDESC() In xHarbour: HB_CHECKSUM( [, ] ) -> is exactly the same function as in Harbour: HB_ADLER32( [, ] ) -> with the exception to bug with negative values fixed in Harbour only. 2007-11-20 17:02 UTC+0100 Miguel Angel Marchuet Frutos * contrib/xhb/common.mak + Added some missing lines (suggested by Juan Gálvez) 2007-11-20 13:45 UTC+0100 Miguel Angel Marchuet Frutos * contrib/bmdbfcdx/bmdbfcdx1.c * synced with dbfcdx as nedded 2007-11-19 20:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/examples/dbu/bld_b32.bat * Now the non-GNU build batch file will look for DBU source in the original CA-Cl*pper installation, if specified (using 'set CLIPPER_DIR=C:\CLIPPER5\'). 2007-11-19 20:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/rdd_ads/test + contrib/rdd_ads/test/testmg.prg - contrib/rdd_ads/testmg.prg * Moved. * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/rdd_ads/adsmgmnt.c - contrib/rdd_ads/ace.h + Non-GNU make files standardized. You'll need to set these envvars to tell the package (Advantage Client Engine) location (and version): set ADS_DIR=C:\ads\acesdk set ADS_VER=810 * ADS_VER is optional, if not speficied, zero will be returned as "index sort buffer size" by AdsMgGetConfigInfo(). ; The exact .dll location inside the package dir will be detected (tested 6.11-8.10) - Now ADS header is not included anymore in Harbour. Notice that this header file is a copyrighted file where such distribution is not permitted. Anyhow, distributing other packages headers is not good practice anyway. * contrib/rdd_ads/rddads.h * WatcomC / LCC hack implemented outside ace.h. Please test this as I don't have any of these compilers. 2007-11-19 19:03 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbopt.c ! fixed HB_P_MACROFUNC optimization 2007-11-19 15:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/examples/dbu + contrib/examples/dbu/readme.txt + contrib/examples/dbu/bld_b32.bat + contrib/examples/dbu/Makefile + Added make files for original CA-Cl*pper DBU. One will need the original sources to compile. 2007-11-18 23:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/mtpl_b32.bat + contrib/mtpl_vc.bat + Added generic non-GNU make batch files. ; Thanks to Marek. * utils/hbmake/hbmutils.prg ! Some untested fixes to hbmake. If someone uses this tool, pls send reports. - contrib/mkall_b32.bat * contrib/make_b32_all.bat + contrib/make_vc_all.bat * Renamed. + VC version added. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Minor fix by Marek. * contrib/rdd_ads/doc/gendoc.bat ! Fix to run from its place. * contrib/rdd_ads/adsmgmnt.c ! Fixed to compile with ADS 8.10. #define ADS_VER=810 (or upper) to enable this. * contrib/rdd_ads/rddads.h ! Fixed to compile using original ads.h headers. (tested with 6.11, 7.00, 7.10, 8.00, 8.10) * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Suppressed this BCC32 warning using #pragma: 'Call to function 'AdsApplicationExit' with no prototype in function ...' + contrib/rdd_ads/unixutils.h + Added dummy header to fix compilation under Linux, using the original ads.h headers. Not tested. Supposed to replace the workaround currently in local ads.h where '#include "unixutils.h"' is commented out. * contrib/rdd_ads/readme.txt ! Added SVN header. * contrib/pgsql/Makefile * contrib/pgsql/common.mak + Added pgrdd.prg to make files. - contrib/pgsql/tstpgrdd.prg + contrib/pgsql/tests/tstpgrdd.prg ! Moved test to test dir. * contrib/pgsql/pgrdd.prg ! Fixed warnings. - contrib/pgsql/README + contrib/pgsql/readme.txt * Rename. * contrib/pgsql/common.mak ! Lib name change: libhbpg -> hbpg + contrib/pgsql/tests/bld_b32.bat + Added test app build helper. * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/ole/make_b32.bat * contrib/ole/make_vc.bat * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat * contrib/telepath/make_b32.bat * contrib/telepath/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat % Using the batch file templates. + Some other additions and fixes related to make it easy to specifiy 3rd party package locations. These envvars can be used for our libs: set APOLLO_DIR=C:\Apollo set FIREBIRD_DIR=C:\Firebird set FREEIMAGE_DIR=C:\FreeImage set GD_DIR=C:\gd set MYSQL_DIR=C:\mysql set PDFLIB_DIR=C:\pdflib set PGSQL_DIR=C:\pgsql 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/xhb/hbcomprs.c % Direct access to item values changed to api calls. + contrib/xhb/hbchksum.c % Direct access to item values changed to api calls. + contrib/xhb/hbcomprs.h Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available. Borrowed from xHarbour. 2007-11-18 13:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch + Added xhb SecondsSleep() translation. * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat ! Some fixes. * contrib/libct/cttime.prg ! SECTOTIME() fix. Borrowed from xhb. * contrib/apollo/apollo.c * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat ! Fixed and tested with latest downloadable package. * contrib/win32/w32_tprn.prg * contrib/win32/w32_prn.c + Minor fix (from xhb) * source/rtl/errorint.c ! Defaulting all string parameters to "" when they are NULL to avoid any potential problems later in the function. * source/rtl/hbgtcore.c % Passing NULL instead of "" in hb_errInternal() calls. * source/vm/itemapi.c ! Internal error is lauched in case the parameters passed to hb_itemPutCLConst() are violating string item rules. Thanks for Mindaugas for the suggestion. TOFIX: Since this violation will most probably happen in contrib/win32 OLE code, we'll need to fix that code too. * utils/hbmake/hbmake.prg ! Fixed to not request wvtgui.lib. 2007-11-17 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/make_b32.bat * contrib/make_vc.bat * contrib/mkall_b32.bat ! Added SVN headers. ! Fixed SVN properties (keywords, eol-style=CRLF). 2007-11-17 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/cstructc.c * contrib/make_b32.bat ! Some fixes for recent changes. 2007-11-17 10:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/adordd/make_b32.bat * harbour/contrib/adordd/make_vc.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/apollo/make_vc.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/bmdbfcdx/make_vc.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/make_vc.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/firebird/make_b32.bat * harbour/contrib/firebird/make_vc.bat * harbour/contrib/freeimage/make_b32.bat * harbour/contrib/freeimage/make_vc.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/make_vc.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/mysql/make_vc.bat * harbour/contrib/odbc/make_b32.bat * harbour/contrib/odbc/make_vc.bat * harbour/contrib/ole/make_b32.bat * harbour/contrib/ole/make_vc.bat * harbour/contrib/pdflib/make_b32.bat * harbour/contrib/pdflib/make_vc.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/pgsql/make_vc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/telepath/make_b32.bat * harbour/contrib/telepath/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat ! Synced with recent changes to main bat files from harbour dir + harbour/contrib/make_b32.bat + harbour/contrib/make_vc.bat + harbour/contrib/mkall_b32.bat + Added bat files for compiling (almost) all contribs 2007-11-17 07:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat + Customize showing error log file in case of compilation error ! Do not remove error log file if CLEAN rule fails. * harbour/make_vcce.mak ! Minor formatting 2007-11-17 03:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/win32/w32_ole.c ! Fixed more direct item accesses. Now only complicated cases remain. 2007-11-17 03:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_vcce.bat * make_vcce.mak ! Minor corrections (syncing with existing files). * doc/genhtm.bat ! Minor fix to make it work out of the box. - Some obsolete stuff removed from it. * include/hbapiitm.h * include/hbapi.h * source/vm/itemapi.c + Added hb_itemPutCLConst() which is the same as hb_itemPutCConst() but the buffer length can be passed. Same as xhb hb_itemPutCRawStatic(). + contrib/xhb/hbcompat.h + Added C level compatibility header file. * contrib/win32/w32_ole.c ! hb_itemPutCRawStatic() -> hb_itemPutCLConst() ! Some more xhb API calls changed to Harbour ones. ! TraceLog() -> HB_TRACE() ! HB_ITEM s_OleAuto -> PHB_ITEM s_pOleAuto TOFIX (new): s_pOleAuto is not freed on app exit. ! Fixed a few more internal accesses by using API calls. ; NOTE: There are four more complicated problems here to be solved: 1) hb_stackSetActionRequest() call 2) Passing direct references to HB_ITEM .value members to external functions. 3) Storing "hidden" information in string ITEMs prepended after the strings' actual content. 4) Not freeing s_pOleAuto (this var BTW is used in one static function only) * source/rtl/hbinet.c * source/rdd/dbcmd.c ! Changed some xhb C level API calls to Harbour ones. * contrib/xhb/Makefile * contrib/freeimage/Makefile * contrib/apollo/Makefile * contrib/firebird/Makefile * contrib/libct/Makefile * contrib/telepath/Makefile * contrib/pgsql/Makefile * contrib/gd/Makefile * contrib/libnf/Makefile * contrib/tip/Makefile * contrib/adordd/Makefile * contrib/rdd_ads/Makefile * contrib/btree/Makefile * contrib/samples/Makefile * contrib/mysql/Makefile * contrib/odbc/Makefile * contrib/pdflib/Makefile ! Added C and Harbour public headers to GNU makefiles. ! Added one missing SVN header. * contrib/pdflib/pdfhbdoc.ch * contrib/pdflib/pdf.ch ! Added missing SVN headers. - contrib/pdflib/pdflib.h - Removed this file which belongs to the pdflib package. This package is needed anyway to use this contrib. (but the contrib is badly broken) * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat ! Minor typo. * source/rtl/persist.prg ! Prefixed static var name with "s_" 2007-11-16 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/win32/w32_ole.c ! Some trivial cases fixed where low-level stuff was directly accessed. ! Some remaining static vars prefixed with s_. 2007-11-16 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/natmsgu.c ! Typo fixed. 2007-11-16 18:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + harbour/make_vcce.bat + harbour/make_vcce.mak + Added WinCE/MSVC 8.0 bat/makefile environment 2007-11-16 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.mak * make_vc.mak ! Fixed BC/VC make files to generated pptable.c in the obj dir instead of source/pp. ! Synced BC/VC pptable.c dependencies with make_gcc.mak ; Suggested by Przemek. * make_gcc.mak ! Fixed to not delete source/pp/pptable.c on clean (since it's never generated there). 2007-11-16 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.ch ! Minor fix in comments. * contrib/xhb/hbcompat.ch + Added hb_rddInfo() translation for xhb apps. * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/natmsgu.c * source/rtl/natmsg.c + Added Harbour internal version of undocument Clipper Nat*() (and friends) calls. These are always available in core. Harbour __natIsAffirm() = Clipper IsAffirm() Harbour __natIsNegative() = Clipper IsNegative() Harbour __natMsg() = Clipper NationMsg() Harbour __natSortVer() = Clipper _NatSortVer() Harbour __natMsgVer() = Clipper _NatMsgVer() * utils/hbtest/rt_misc.prg * source/rtl/dircmd.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/tlabel.prg * source/rtl/treport.prg ! Now using Harbour internal __NAT*() functions instead of C5.x undocumented calls, so Harbour will now compile with HB_C52_UNDOC turned off. 2007-11-16 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/freeimage + contrib/freeimage/Makefile + contrib/freeimage/make_b32.bat + contrib/freeimage/make_vc.bat + contrib/freeimage/common.mak + contrib/freeimage/freeimage.ch + contrib/freeimage/fi_winfu.c + contrib/freeimage/fi_wrp.c + contrib/freeimage/readme.txt + contrib/freeimage/test + contrib/freeimage/test/bld_b32.bat + contrib/freeimage/test/fitest.prg + contrib/freeimage/test/sample1.jpg + contrib/freeimage/test/italia.gif + contrib/freeimage/test/fsg.jpg + contrib/freeimage/test/images_out + Added FreeImage OSS library Harbour interface. ! Some minor fixes and file rearrangements made. + Added std make files. ; TOFIX: There is still a potentially dangerous warning to be fixed in FI_GETBACKGROUNDCOLOR() ; Borrowed from xhb. ; NOTE: The lib made some features available through the xhb specific C struct functionality. Since such functionality is not implemented in Harbour, the library would need to be extened with some more wrappers to make C level vars accessible from Harbour code. But even without this functionality, the lib seems quite useful. ; NOTE: The lib also has some Windows specific functions: FI_FITOBITMAP(), FI_BITMAPTOFI(), FI_WINDRAW() + contrib/xhb/hbfast.h + Added this file to enhance C interface code compatibility with xhb. * contrib/firebird/* ! Fixed SVN properties. 2007-11-15 20:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/firebird + contrib/firebird/Makefile + contrib/firebird/make_b32.bat + contrib/firebird/make_vc.bat + contrib/firebird/common.mak + contrib/firebird/tfirebird.prg + contrib/firebird/firebird.c + contrib/firebird/readme.txt + contrib/firebird/test + contrib/firebird/test/Makefile + contrib/firebird/test/bld_b32.bat + contrib/firebird/test/simple.prg + contrib/firebird/test/test.prg + contrib/firebird/test/stress.prg + contrib/firebird/test/testapi.c + Added firebird library, with some warnings and other minor things fixed, and Harbour std non-GNU make / build files added. ; TOFIX: There is still a potentially dangerous warning to be fixed in FBGETBLOB(). ; Borrowed from xhb. * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat ! Fixed to not override C_USR set by user. + contrib/mysql/test + contrib/mysql/test/test.prg - contrib/mysql/test.prg * Moved test file to test dir. 2007-11-15 00:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat ! Removed HB_*_INSTALL manipulation from .bat files. ! Different but compatible logic added on batch file level for odbc and rddads, where the batch file is copying the .dll .libs to the final install dir. 2007-11-14 23:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * include/hbextern.ch * source/rdd/Makefile + source/rdd/rddinfo.c * source/rdd/dbcmd.c + source/rdd/dbdrop.c + source/rdd/dbcmd53.c + source/rdd/dbexists.c + source/rdd/fieldhb.c ! Moved away C53 functions to a separate file. + Added HB_RDDGETTEMPALIAS() as a documented version of the long existing __RDDGETTEMPALIAS(). The latter name still kept for compatibility. ! Moved away non-namespace conformant HB_EXTENSIONs to separate files to cause less harm form those not wanting these or already using these names in app code. + Added HB_RDDINFO() namespace conformant version of the RDDINFO() Harbour extension. RDDINFO() still works but it's now defined in a separate file to cause less potential harm. - Removed HB_EXTENSION guards from around DBDROP(), DBEXISTS(), RDDINFO(), FIELDLEN(), FIELDDEC(), FIELDTYPE() non namespace conformant Harbour extensions, so these are now always available. ; NOTE/TOFIX: In RDD we have some more hidden Harbour specific extensions not properly marked or at least documented, like cRDD, nConnection, cCodePage extra parameters, DBS_FLAG, maybe more. ; Przemek: I'm sorry you didn't bother to answer, so I just can hope these address the problems you were having. * source/rdd/sdf1.c * source/rdd/delim1.c ! Removed two __XHARBOUR__ guards, by making the guarded code the default. We have SET EOL support in Harbour now, so this seems okay. If not, tell. ; TOFIX: We still have __XHARBOUR__ #defines in pp/ppcore.c and debug/debugger.prg. * include/hbsetup.ch ! HB_EXTENSION turned off. 2007-11-14 21:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * updated for different then GCC host C compiler name (DJGPP in DOS and MINGW32 in MS-Windows) 2007-11-14 19:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/utils/hbver/hbverfix.c * modified for clean compilation with POCC/XCC and ARM processors 2007-11-14 17:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for recently modified hb-mkslib.sh name in cross builds 2007-11-14 15:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh ! added -D__PLATFORM__Windows for non MS-Windows based hosts I removed by mistake in previous commit * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * in cross builds changed hb-mkslib.sh name to respect prefix used by other hb* scripts (f.e. hbce or hbw) and set destination platform to fixed value 2007-11-14 14:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * cleaned possible warning message when host computer is controlled by MS-Windows cross build ! fixed harbour.exe and hbppgen.exe detecting in Windows 2007-11-14 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/codepage/Makefile + harbour/source/codepage/cpesmwin.c - harbour/source/codepage/cpesmwi.c * renamed * harbour/source/rtl/cdpapi.c ! do not use '~' as accented character marker if neither ACCENTED_EQUAL nor ACCENTED_INTERLEAVED is set - in some CPs '~' is a letter ! use '~' as accented character marker only if it exists in UPPER and LOWER letter sets - our CP code cannot properly decode letter sets when this condition is not true - it should be fixed (TOFIX) ! use '.' as multibyte character marker only if it exists in UPPER and LOWER letter sets - our CP code cannot properly decode letter sets when this condition is not true - it should be fixed (TOFIX) * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * updated accent marker upper letters to be the same as in lower ones Greek users should fix me. 2007-11-14 00:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/make_gnu.sh * harbour/make_tgz.sh * updated for new MSYS versions 2007-11-13 22:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/strcase.c * casting 2007-11-13 22:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed bad typo in my last modification 2007-11-13 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * do not include gtwin in harbour.dll for MinGW-CE builds gtwin can work only if additional (non standard) libraries are installed in WinCE/PocketPC so it should not be part of harbour.dll * harbour/source/rtl/gtwin/gtwin.c * removed HB_WINCE_USE_POCKET_CONSOLE macro It's not longer necessary when gtwin is not part of harbour.dll 2007-11-13 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * harbour/make_xmingw.sh * do not create compiler binaries in cross builds * use hbce and hbw prefixes for generated build scripts * harbour/make_tgz.sh * use strip from cross compiler instead of native one * harbour/include/Makefile + added missing header files * harbour/harbour.spec * minor cleanup * harbour/source/compiler/cmdcheck.c * accept internal option delimiters in define value (-d option, f.e.: '-dABC="QWE-ASD"') 2007-11-13 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/odbc/odbc.c ! MSVC casting warnings silenced. * utils/hbmake/hbmake.prg ! Fixed "$" used on array named s_cInvalidExt. ! Fixed to not include ct/tip/ctmt/tipmt in Harbour. ; The reports and fixes were provided by Bill Robertson. 2007-11-12 20:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * do not redefine LongToHandle() for __XCC__ and __POCC__ WinCE builds * harbour/utils/hbver/hbverfix.c ! fixed typos in previous commit 2007-11-12 19:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbassert.h * harbour/include/hb_io.h * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/filesys.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/genc.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * harbour/utils/hbver/hbverfix.c * harbour/utils/hbpp/hbppcore.c * removed dependences to unsupported by new MSVC header files most of this modifications can be enabled also for standard Win32 builds * harbour/source/common/hbwince.c * do not create dummy LocalLock() and LocalUnlock() function in MSVC WinCE builds * harbour/source/rtl/gtwin/gtwin.c + added HB_WINCE_USE_POCKET_CONSOLE macro which enable console support in WINCE builds (macro suggested by Marek Paliwoda) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * changed default window and font size on WinCE to values suggested by Marek Paliwoda Marek if you have a while please make test with MSVC WinCE/PocketPC builds and current SVN code. 2007-11-12 16:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c + added hb_fsMaxFilesError() * harbour/source/pp/ppcore.c * harbour/utils/hbpp/hbppcore.c * use hb_fsMaxFilesError() to avoid direct accessing of errno value - some compilers/platforms do not support errno * harbour/include/hbdate.h * harbour/source/rtl/seconds.c + added hb_dateMilliSeconds() * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/idle.c * harbour/source/rtl/inkey.c * use hb_dateMilliSeconds() to avoid using clock_t clock() some compilers/platforms do not support it * harbour/include/hbwince.h * harbour/source/common/hbwince.c * disabled clock_t clock() emulation - it's not longer used + added some declarations for ANSI functions emulated by us for WinCE and some defines - code sent by Marek Paliwoda * harbour/include/hbwmain.c * harbour/source/vm/mainwin.c * always use unicode translations with WinMain() parameters for compilers which do not set UNICODE macro for WinCE * harbour/source/rtl/fserror.c * do not include errno.h for HB_WIN32_IO - it's not necessary * harbour/utils/hbver/hbverfix.c * do not include errno.h for _MSC_VER and HB_WINCE builds * harbour/contrib/libmisc/dates2.c - commented DATETIME() function - this was not standard DATETIME() value but raw ctime() function output and some compilers/platforms do not support ctime() * harbour/contrib/libnf/getenvrn.c + added HB_OS_WIN_32_USED * harbour/contrib/mtpl.mak * harbour/contrib/pdflib/pdflib.h * replaced TABs with SPACEs * harbour/include/hbsetup.ch ! reenabled HB_EXTENSION in default builds - disabling it makes a lot of RDD code unusable and breaks default builds due to insufficient dependences 2007-11-12 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmake/hbmake.prg ! Fixed warnings. 2007-11-12 01:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapi.h + Added xhb compatibility #define for hb_storclenAdopt() (equivalent to Harbour's hb_storclen_buffer()) * contrib/xhb/hbcompat.ch + Added xhb IsDirectory() <-> hb_DirExists() translation. Harbour version works using access(), while xhb version does a filefind, so Harbour will return a more accurate result more quickly, but it won't work with wildcards. * source/rtl/persist.prg % Using hb_StrShrink() * common.mak * utils/hbdoc/Makefile * utils/hbdoc/ffile1.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/html.prg * utils/hbdoc/ng.prg * utils/hbdoc/os2.prg * utils/hbdoc/rtf.prg + utils/hbdoc/teeasc.prg + Synced with xhb. ; Someone who uses this tool, pls test. * common.mak * utils/hbmake/Makefile * utils/hbmake/ft_funcs.prg * utils/hbmake/hbmake.prg * utils/hbmake/hbmutils.prg * utils/hbmake/pickarry.prg * utils/hbmake/radios.prg + utils/hbmake/readline.c + utils/hbmake/tmake.prg + Synced with xhb. ; Someone who uses this tool, pls test. 2007-11-11 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * source/rtl/Makefile + source/rtl/getsys53.prg * source/rtl/getsys.prg + source/rtl/secondfs.c * source/rtl/seconds.c + source/rtl/mouse53.c * source/rtl/mouseapi.c + Some C53 and FlagShip functions moved to separate source file. * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/hbstrsh.c * utils/hbtest/rt_stra.prg + Added hb_StrShrink([,]) -> cStringShrinked has a default value of 1. Returns empty string on error, returns full string if is zero or negative. This function call is meant to be use instead of code like this: cString := Left( cString, Len( cString ) - 1 ) -> cString := hb_StrShrink( cString, 1 ) TODO: Maybe to support passing it by reference and make it even faster. + Added regression tests for this function. 2007-11-11 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/telepath + contrib/telepath/ChangeLog + contrib/telepath/Makefile + contrib/telepath/make_b32.bat + contrib/telepath/make_vc.bat + contrib/telepath/common.mak + contrib/telepath/telepath.ch + contrib/telepath/tplinux.c + contrib/telepath/tpwin32.c + contrib/telepath/tpos2.c + contrib/telepath/telepath.prg + contrib/telepath/readme.txt + contrib/telepath/test + contrib/telepath/test/testtp.prg + Added Telep*th(y) compatible contrib lib. Borrowed from xhb. * source/debug/dbgtobj.prg ! Fixed crash. Borrowed from xhb. 2007-11-11 18:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mtpl.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak + Added support for HB_ROOT. + Now default HB_*_INSTALL dirs are set inside make files. (to avoid manipulating these envvars on the batch file level) * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat - Removed HB_*_INSTALL manipulation from .bat files. * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat - contrib/hgf/win32/make_b32.mak - contrib/hgf/win32/make_vc.mak + contrib/hgf/win32/common.mak + Now using contrib template make files. * make_b32.bat * make_vc.bat * common.mak ! Moved HB_*_INSTALL defaulting to make file level. + contrib/ole + contrib/ole/common.mak + contrib/ole/oleauto.prg + contrib/ole/test/sample.odt + contrib/ole/test/testole.prg + contrib/ole/test/bld_b32.bat + contrib/ole/ole2.c + contrib/ole/make_b32.bat + contrib/ole/make_vc.bat + contrib/ole/Makefile + Restored "old" OLE implementation, as it was reported by Mindaugas Kavaliauskas that it works better in some respects than the newer version in /contrib/win32. Until we know further about the details there is no reason to not have this contrib. + Added CreateObject() and GetActiveObject() to enhance compatibility with newer implementation. + Standardized make files. * test moved to test dir. + Added VC make file. * contrib/win32/test/testole.prg + contrib/ole/test/testole.prg + The two test apps from the two OLE implementations were merged and now they are the same. A quick look shows differences when detecting the presence of an OLE object. "old" OLE GPFs with "new" OLE method, "new" OLE RTEs with "old" OLE method. * contrib/pdflib/common.mak * contrib/pdflib/pdf1.prg * contrib/pdflib/pdfhbdocs.prg * contrib/pdflib/pdfhbdoc.c * contrib/pdflib/Makefile ! Removed GLOBAL requirement. ! Moved away C code inside .prg. ! Fixed some unused var warnings. ! Removed some unused stuff. ; Now there are clashing symbols. I suspect this is an unfinished contrib, even in xhb. 2007-11-11 16:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch + Added hb_At() translation to extended At() * contrib/tip/popcln.prg * contrib/tip/mail.prg ! Changed extended At() to hb_At(). 2007-11-11 16:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch + Added extended At() translation to hb_At() * contrib/tip/ftpcln.prg ! Changed extended At() to hb_At(). (Thanks Petr) 2007-11-11 14:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat + Added HB_DLL_DIR for BC too. ! Minor fix for VC: echo -> echo. 2007-11-11 14:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * source/rtl/tmenuitm.prg ! MENUITEM class :row and :col vars changed to :__row and :__col, instead of adding HB_EXTENSION guards to them, because they are needed internally. * source/rtl/browse.prg * source/rtl/tbrowse.prg * Two mouse-wheel handling extensions now rather guarded with HB_C52_STRICT. * source/rtl/gete.c ! Fixed GETENV()/GETE() to return an empty string when called with more than one parameter, to be fully C5.x compatible. * source/vm/proc.c ! PROCFILE() HB_EXTENSION guard changed to HB_C52_STRICT. Since PROCFILE() is an undocumented function in C5.x we can legally extend it in Harbour. * include/hbsetup.ch * Turned off HB_EXTENSION for the default build. Now HB_EXTENSION covers all the extensions which in some ways violates namespace rules or extends functionality of existing CA-Cl*pper functions or classes in an "invisible" (or "dirty") way, like adding new parameters or accepting new types of parameters. In case we want to keep some extended functionality in the default build, we'll need to create new function names. For class extensions, I'm not yet sure what is the proper way to go. In case of ML*() functions, I think they should respect SET EOL instead of accepting EOL settings as parameters. 2007-11-11 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowse.prg ! Fixed to compile with HB_C52_STRICT. * contrib/rdd_ads/make_vc.bat * contrib/odbc/make_vc.bat ! Fixed .dll to .lib generation to work using GNU sed. (now it doesn't need exports.sed anymore). NOTE: I'm not sure if the batch tricks will work on every flavour of Windows. It should for W2K and above though, probably NT too. ! Fixed to pick .dlls from HB_DLL_DIR, which when not defined, points to system32 dir. ; I know "sed" dependency is not optimal, but we can remove this later if we have better solution, until then it cannot hurt and it's better than nothing. "sed" is a free tool included in mingw32, cygwin, and also downloadable as a self-contained .exe from the gnuwin32 project: http://gnuwin32.sourceforge.net/packages/sed.htm Direct link to bin package: http://gnuwin32.sourceforge.net/downlinks/sed-bin-zip.php (it cannot hurt to have this in ones "utils" dir anyway :) * contrib/odbc/make_b32.bat - contrib/odbc/odbc32.def - Removed .def file from repository. .lib have to be generated from live .dll instead of this old .def. 2007-11-11 12:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/std.ch ! SET STRICTREAD command definition fixed. * include/hbextern.ch ! Fixed placement of MENUMODAL, to compile when HB_COMPAT_C53 is turned off. * contrib/libmisc/Makefile ! Fixed test dir name. (broken since yesterday) * contrib/pdflib/common.mak + Added another file. + contrib/pdflib/Makefile + Added GNU make file for pdflib. * utils/hbdoc/ft_funcs.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/hbmake.prg ! Made them compile with HB_COMPAT_C53 turned off. There is a loss of functionality in this case. (MAKEDIR(), DIRCHANGE() and @ CHECKBOX are used here) * source/rtl/menuto.prg * source/rtl/tgetlist.prg ! Fixed to compile when HB_COMPAT_C53 is turned off. * include/hbextern.ch * source/rtl/defpath.c * source/rtl/adir.prg * __DEFPATH() is now always included, not just when HB_C52_UNDOC is defined, since we use this function from core, and __*() functions are okay to be included without this guard. DEFPATH() is still marked as HB_C52_UNDOC. ! ADIR() now uses __DEFPATH() instead of DEFPATH() to compile with HB_C52_UNDOC turned off. ; TOFIX: There are still a few functions we use from core, which are guarded with HB_C52_UNDOC: NATIONMSG(), ISNEGATIVE() * source/vm/memvars.c * Changed HB_EXTENSION to HB_C52_STRICT. Reason: This is a Harbour internal (undocumented) function, where extension is possible. CA-Cl*pper internal (undocumented) function __MRESTORE() is mapped to this function, which is still okay. We could create a fully CA-Cl*pper compatible, non-extended __MRESTORE() without any trouble, if this is an issue. 2007-11-11 02:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/at.c * include/hbextern.ch + Added hb_At() which is equivalent to At() with HB_EXTENSION turned on. Users are encouraged to use hb_At(), and this is also a must inside core. * include/hbextern.ch ! Added missing hb_AIns(), hb_ADel(), hb_AScan() * source/rtl/persist.prg ! Fixed hard-wired EOL length. ! Fixed to not go into an infinite loop on non EOL terminated texts. (Thanks Petr) ! Fixed to use hb_At() instead of extended At(). ! Fixed to also handle LF delimited texts. ; All this in static function ExtractLine() * contrib/rdd_ads/doc/gendoc.bat ! Added version header. * contrib/hgf/tests/bld_b32.bat ! Some more minor cleanups. * contrib/pgsql/make_vc.bat * contrib/apollo/make_vc.bat * contrib/gd/make_vc.bat * contrib/adordd/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/btree/make_vc.bat * contrib/samples/make_vc.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_vc.bat ! Fixed EOL-style. + contrib/libmisc/test - contrib/libmisc/tests * Dir rename. 2007-11-11 01:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tpopup.prg ! Fixed a few problems regarding HB_EXTENSION guards. (one method declaration was mistakenly guarded, and one IF construct broke when compiled without HB_EXTENSION) * source/rtl/mlcfunc.c * source/rtl/alert.prg ! Fixed unused var warnings when HB_EXTENSION is off. * contrib/hgf/tests/bld_b32.bat ! Some more fixes. (removed hard coded BCC path, and a few wrong dirs) ; For me form3.hbf works without a closing EOL, under Windows. So the problem might rather be something else. For sure though, HBPersistent()'s EOL detection and handling is not portable (TOFIX). * source/compiler/hbcomp.c ! Reverted previous change for non-Unix platforms, regaring command-line output. Now Harbour will again use stderr/stdout about the same way CA-Cl*pper does. However odd this is, most DOS/Windows programs work this way, so the "when in Rome" rule got in effect here. Otherwise, any DOS/Windows build output (BC/VC/GCC) goes to stdout, _except_ Harbour errors/warnings, and this is not a good thing. Still, the //STDOUT:, //STDERR: compiler switches could come handy to override the platform defaults. 2007-11-11 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/std.ch * Removed HB_EXTENSION guard from around SET commands implementing Harbour _SET_* extensions. The reason: _SET_* extensions are not marked as extensions (and it would be nearly impossibly to do so), so it's more consistent to behave the same way for their command counterparts. * utils/hbpp/hbpplib.c ! Removed HB_EXTENSION guard from around __PP*() functions which are Harbour undocumented ones, so they don't need to be guarded. We're also in sync with hbextern.ch now. * utils/hbtest/rt_stra.prg ! Removed HB_EXTENSION guard from around hb_ValToStr() calls, because this function is no longer marked as HB_EXTENSION. * contrib/hgf/os2pm/tmenu.prg * contrib/hgf/os2pm/tmenuitm.prg * contrib/hgf/gtk/shared.ch * contrib/hgf/gtk/dispatch.c * contrib/hgf/gtk/creamenu.c * contrib/hgf/gtk/msginfo.c * contrib/hgf/gtk/creabutt.c * contrib/hgf/gtk/general.c * contrib/hgf/gtk/creawin.c * contrib/hgf/gtk/harbgtk.h * contrib/hgf/gtk/menuitem.prg * contrib/hgf/win32/button.prg * contrib/hgf/win32/edit.prg * contrib/hgf/win32/form.prg * contrib/hgf/win32/menu.prg * contrib/hgf/win32/menuitem.prg * contrib/hgf/win32/winctrl.prg * contrib/hgf/tests/bld_b32.bat * contrib/hgf/tests/form2.prg * contrib/hgf/tests/form3.prg * contrib/hgf/tests/form3.hbf * contrib/hgf/tests/form3res.prg * contrib/hgf/tests/formtext.prg * contrib/hgf/tests/testctrl.prg * contrib/hgf/tests/testform.prg ! Fixed bld_b32.bat to link properly. ! Changed HBMenuItem CLASS to HGFMenuItem() to not collide with Harbour class HBMenuItem() (C53 compatibility class). ; The above reported by Petr Chornyj. ! Added CRLF at the end of each source file where there was none. ! Fixed version headers. ; TOFIX1: HBPersistent():LoadFromFile() has a bug where it doesn't load the last line if it doesn't end with newline. ; TOFIX2: HBPersistent() uses At() "dirty" extension. * contrib/odbc/test/odbcdemo.prg - contrib/odbc/test/browodbc.prg * contrib/odbc/test/odbccall.prg * contrib/odbc/test/testodbc.prg * contrib/odbc/common.mak + contrib/odbc/browodbc.prg ! Moved back browodbc.prg to /contrib/odbc (since it was not a test, just missing from the non-GNU make files) Reported by Petr Chornyj. ! Added browodbc.prg to non-GNU makefile. ! Added version headers. 2007-11-10 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * Makefile - samples + contrib/examples * contrib/Makefile * contrib/examples/Makefile * contrib/examples/guestbk/inifiles.prg * contrib/examples/guestbk/testcgi.prg * contrib/examples/guestbk/bld_b32.bat * contrib/examples/guestbk/Makefile * contrib/examples/pe/pe.prg * contrib/examples/pe/Makefile * contrib/examples/misc/Makefile * contrib/examples/hscript/bld_b32.bat * contrib/examples/hscript/Makefile * contrib/examples/Makefile * Moved /samples to /contrib/examples 2007-11-10 17:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/vm/hvm.c ! Fixed unused var warning when HB_NO_DEBUG was defined and TRACE disabled. (Reported by Enrico Maria Giordano) 2007-11-10 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.bat * make_vc.bat * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat + contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat ! Readded COPYCMD "hack" to core Harbour for fully portable "copy /y" functionality across all Micro$oft operating systems. + Same feature added for all contribs. * contrib/hbzlib/make_b32_dll.bat * contrib/hbzlib/make_b32_dll.mak * contrib/hbzlib/make_b32.bat - contrib/hbzlib/make_b32.mak * contrib/hbzlib/make_vc.bat - contrib/hbzlib/make_vc.mak + contrib/hbzlib/common.mak + Standardized make files (and some cleanup along the way) ; TODO: BC dll creating is still to be cleaned. ; TOFIX: Lots of warnings if compiled with standard BCC switch set. ; TOFIX: Lots of warnings when compiler for MSVC. * contrib/hgf/win32/win32.c * contrib/hgf/win32/form.prg ! Fixed one unused var warning in .prg code. ! Fixed to not use Harbour internals. (Petr, this should have the same effect as your request, but pls test this change.) 2007-11-10 12:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libmisc/common.mak * contrib/apollo/common.mak * contrib/libnf/common.mak * contrib/gd/common.mak * contrib/htmllib/common.mak * contrib/tip/common.mak * contrib/adordd/common.mak * contrib/rdd_ads/common.mak * contrib/libgt/common.mak * contrib/btree/common.mak * contrib/win32/common.mak * contrib/directx/common.mak * contrib/samples/common.mak * contrib/mysql/common.mak * contrib/bmdbfcdx/common.mak * contrib/pgsql/common.mak ! .obj -> $(OBJEXT) * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat ! Minor fix. + contrib/pdflib/make_vc.bat + contrib/pdflib/make_b32.bat + contrib/pdflib/common.mak + contrib/pdflib/pdf1.prg + contrib/pdflib/pdfhbdoc.ch + contrib/pdflib/pdf.ch + contrib/pdflib/pdfhbdocs.prg * contrib/pdflib/pdflib.h * contrib/pdflib/pdfhbdoc.c * Borrowed from xhb. ! Fixed HB_ITEM -> PHB_ITEM. ! Fixed warnings. + Added non-GNU make files. ; NOTE: I didn't test this, it would be great if someone would. 2007-11-10 06:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hgf/tests/build_b32.bat + contrib/hgf/tests/bld_b32.bat - contrib/hgf/win32/makefile.bc + contrib/hgf/win32/make_b32.mak - contrib/hgf/win32/makevc.bat + contrib/hgf/win32/make_vc.bat - contrib/hgf/win32/makefile.vc + contrib/hgf/win32/make_vc.mak * contrib/hgf/win32/make_b32.bat - contrib/hbzlib/hrbdll.bc + contrib/hbzlib/make_b32_dll.bat - contrib/hbzlib/dll_b32.bat + contrib/hbzlib/make_b32_dll.mak - contrib/hbzlib/makefile.vc + contrib/hbzlib/make_vc.mak - contrib/hbzlib/makefile.bc + contrib/hbzlib/make_b32.mak * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * Some non-GNU make file cleanup. 2007-11-10 05:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.bat + make_b32.mak - makefile.bc * make_gcc.sh + make_gcc.mak - makefile.gc * make_vc.bat + make_vc.mak - makefile.vc * common.mak - contrib/maketpl.b32 + contrib/mtpl_b32.mak - contrib/maketpl.vc + contrib/mtpl_vc.mak - contrib/maketpl.mak + contrib/mtpl.mak * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat % Makefile name cleanup, batch file synchronization, setting name cleanup. Some minor fixes. Now all non-GNU makefiles have the .mak extension. - contrib/xhb/makefile.vc * contrib/xhb/make_b32.bat + contrib/xhb/common.mak - contrib/xhb/makefile.bc * contrib/xhb/make_vc.bat - contrib/libmisc/makefile.vc * contrib/libmisc/make_b32.bat + contrib/libmisc/common.mak - contrib/libmisc/makefile.bc * contrib/libmisc/make_vc.bat + contrib/apollo/common.mak - contrib/apollo/makefile.bc * contrib/apollo/make_b32.bat + contrib/apollo/make_vc.bat - contrib/htmllib/makefile.vc * contrib/htmllib/make_b32.bat + contrib/htmllib/common.mak - contrib/htmllib/Makefile.bc * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat - contrib/libgt/makefile.vc * contrib/libgt/make_b32.bat + contrib/libgt/common.mak - contrib/libgt/makefile.bc * contrib/libgt/make_vc.bat * contrib/libnf/make_b32.bat - contrib/libnf/makefile.vc * contrib/libnf/make_vc.bat + contrib/libnf/common.mak - contrib/libnf/makefile.bc * contrib/gd/make_b32.bat + contrib/gd/common.mak - contrib/gd/makefile.bc + contrib/gd/make_vc.bat - contrib/tip/makefile.vc * contrib/tip/make_b32.bat + contrib/tip/common.mak - contrib/tip/makefile.bc * contrib/tip/make_vc.bat + contrib/adordd/common.mak - contrib/adordd/makefile.bc * contrib/adordd/make_b32.bat + contrib/adordd/make_vc.bat - contrib/rdd_ads/makefile.vc * contrib/rdd_ads/make_b32.bat + contrib/rdd_ads/common.mak - contrib/rdd_ads/makefile.bc * contrib/rdd_ads/make_vc.bat + contrib/btree/common.mak - contrib/btree/makefile.bc * contrib/btree/make_b32.bat + contrib/btree/make_vc.bat + contrib/directx/common.mak - contrib/directx/makefile.bc - contrib/directx/makefile.vc * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat + contrib/win32/common.mak - contrib/win32/makefile.bc - contrib/win32/makefile.vc * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat + contrib/bmdbfcdx/common.mak - contrib/bmdbfcdx/makefile.bc * contrib/bmdbfcdx/make_b32.bat + contrib/bmdbfcdx/make_vc.bat - contrib/samples/makefile.vc * contrib/samples/make_b32.bat + contrib/samples/common.mak - contrib/samples/makefile.bc * contrib/samples/make_vc.bat * contrib/mysql/common.mak - contrib/mysql/makefile.bc * contrib/mysql/make_b32.bat + contrib/mysql/make_vc.bat * contrib/pgsql/common.mak - contrib/pgsql/makefile.bc * contrib/pgsql/make_b32.bat + contrib/pgsql/make_vc.bat * Changed most libs to use the generic non-GNU makefiles. + Added support for MSVC for all above libs. + Added "implib" for rdd_ads. TOFIX: Doesn't work for MSVC. ; TOFIX: directx won't build under MSVC with an error. ; TOFIX: I couldn't compile pgsql using latest 8.2.5. * contrib/samples/gauge.c ! Fixed MSVC warning. + odbc/test + odbc/test/bld_b32.bat + odbc/test/harbour.mdb + odbc/test/odbcdemo.prg + odbc/test/browodbc.prg + odbc/test/odbccall.prg + odbc/test/testodbc.prg - odbc/bld_b32.bat - odbc/harbour.mdb - odbc/odbcdemo.prg - odbc/browodbc.prg - odbc/odbccall.prg - odbc/testodbc.prg - odbc/bldodbc.bat + odbc/make_b32.bat + odbc/make_vc.bat - odbc/hbodbc.b32 + odbc/common.mak * Moved test functions to test fir. ! Fixed bld_b32.bat ! Renamed non-GNU BC make files to be in sync with the rest of contribs. ; TOFIX: There are some warnings under MSVC. ; TOFIX: .def -> .lib conversions fails under MSVC. - contrib/ole - contrib/delphi - contrib/hb_struc - contrib/dot - contrib/tprepro - Removed obsolete, incomplete or non-working contribs. 2007-11-09 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/compiler/hbcomp.c ! Changed error messages to go to stderr on non-Unix platforms too. With this change the Harbour compiler uses the same output on non-Unix platforms as on Unixes. With Przemek's previous and now this change, the compiler uses stdout/stderr in the standard way (messages to stdout, warnings/errors to stderr), instead of being more or less CA-Cl*pper compatible. (in CA-Cl*pper startup msg plus some info went to stderr and errors/warnings and some other progress info went to stdout) * source/compiler/hbusage.c + Added -f* switches to help screen. * source/compiler/cmdcheck.c * source/compiler/hbusage.c ! -r= -> -r: * contrib/libct/screen2.c * contrib/libct/cursor.c * contrib/libct/ctstrfil.c ! Fixed MSVC warnings. * contrib/htmllib/Makefile.bc * Changed to not generate .ppo output on build. * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat - contrib/libct/makefile.bc - contrib/libct/makefile.vc + contrib/libct/common.mak + contrib/maketpl.b32 + contrib/maketpl.vc + contrib/maketpl.mak + Added BC/VC non-GNU generic make script for contribs. + Using the above generic make scripts to build LIBCT. Notice BC/VC now uses one make file per contrib project named common.mak. The two helper batch files are essentially identical for BC and VC, and there is no reduancy or any complexity in common.mak (they much resemble in content to Makefile). Notice that with this new system users have to call make_[b32|vc].bat INSTALL in order to get the libs and headers installed in the final lib/header destinations. (This step was previously done automatically by the .bat files in LIBCT - or maybe not in other contribs.) The new scripts also have a generic CLEAN functionality. ; Thanks Marek Paliwoda for the generic make scripts. 2007-11-09 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/ftpcln.prg * converted TABs to SPACEs 2007-11-08 22:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * minor modification in one message + harbour/make_rpmw32.sh + harbour/harbour-w32-spec + added script to build RPMs with cross build of Harbour for MS-Windows using MinGW32 cross compiler. make_rpmw32.sh should create harbour-w32-.i[345]86.rpm which can be installed with platform native harbour RPMs. This RPM contains Harbour libraries compiled for Win32 and set of hbw* scripts which should be used instead of standard hb* ones to create MS-Windows binaries. It means that you can create standard Linux binaries and MS-Windows binaries in the same session without setting/changing any additional environment variables, f.e: hbmk -n -w -es2 test.prg will create Linux binaries and: hbwmk -n -w -es2 test.prg will create binaries for MS-Windows. Please also remember that if you create and install RPMs with Harbour for WinCE/PocketPC (make_rpmce.sh) then hbce* scripts will create WinCE/PocketPC binaries, f.e.: hbcemk -n -w -es2 test.prg 2007-11-07 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/mlcfunc.c * harbour/source/vm/classes.c * harbour/source/common/reserved.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbfunchk.c * cleaned possible dangerous code reported by Chen - many thanks 2007-11-07 10:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c ! fixed DJGPP builds * use _chmod() if available (for long file name support) or _dos_getfileattr() instead of direct interrupt calls 2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * updated hb_fsTell() and hb_fsEof() to respect platform dependent API calls used in hb_fsSeek[Large]() 2007-11-06 23:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgentry.c * changed the name of global static variable from 'info' to 's_pInfo' to avoid possible typos 2007-11-06 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * put functions declarations inside HB_EXTERN_BEGIN / HB_EXTERN_END + harbour/include/hbwmain.c + added WinMain() to main() wrapper * harbour/include/hbexprb.c * harbour/source/common/expropt1.c ! fixed typo reported by Chen * harbour/source/pp/hbppgen.c * harbour/source/main/harbour.c * harbour/utils/hbpp/hbpp.c * use hbwmain.c when main() is not supported by C compiler/platform * harbour/source/rtl/gtwin/gtwin.c * include wincon.h in all builds except LCC * harbour/source/rtl/fserror.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/filesys.c * use HB_OS_WIN_32_USED as in other files (still on TOFIX list) * harbour/source/rtl/seconds.c + added HB_OS_WIN_32_USED * harbour/source/compiler/hbcomp.c ! fixed typo: stderr was used instead of stdout 2007-11-05 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/wcecon.prg + added small test for DBF/FPT/CDX file creation and browsing in PocketPC/WinCE 2007-11-05 01:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmake/hbmlang.c * pacify some other data lost conversion warnings by explicit casting * harbour/source/compiler/harbour.y * cleaned explicit comparison with TRUE value * harbour/source/compiler/harbour.yyc * rebuild with all recent cleanup in harbour.y 2007-11-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbmacro.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.y * harbour/source/vm/macro.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/classes.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rtl/binnum.c * harbour/source/rtl/gtwvt/gtwvt.c * added explicit casting or changed some declarations to avoid warning about possible data lost in conversions * harbour/source/rtl/direct.c % optimized directory array creation and fixed one TOFIX note I left few warnings intentionally to mark places which should be updated in the future (f.e. HB_SYMBOLSCOPE translations). Victor, if you can please make build test with MSVC builds and send the list of warnings which still exist to harbour-devel. 2007-11-04 17:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h ! fixed typo in quoting condition for 1-st line token 2007-11-04 03:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbapifs.h * harbour/source/common/hbfsapi.c ! fixed hb_fsFileExists() for DOS + Added hb_fsDirExists() * include/hbextern.ch * source/rtl/hbfile.c + Added HB_DIREXISTS() 2007-11-04 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c + added hb_strlow() * harbour/source/rtl/fstemp.c * harbour/source/rtl/filesys.c ! fixed _SET_DIRSEPARATOR behavior - now it's always set to default OS directory separator what means no translations. If you want to enable some translations then it should be set to other value, f.e. in *nixes: set( _SET_DIRSEPARATOR, "\" ) enables translations of "\" in paths to "/" * harbour/source/main/harbour.c + added support for new compiler switches: - Filename casing: -fn:l (lower) -fn:u (upper) -fn- (disable - default) -fn (disable - default) - Directory casing -fd:l (lower) -fd:u (upper) -fd- (disable - default) -fd (disable - default) - Path separator: -fp: -fp (default: OS defined) - Filename space trimming: -fs (enable) -fs- (disable - default) These switches works only in standalone compiler. When compiler is linked with HVM and RTL then corresponding _SET_* switches are used instead. 2007-11-03 11:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * indenting 2007-11-03 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * some minor speed improvement * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * use hb_cdpSelect() instead of direct accessing hb_cdp_page variable 2007-11-02 22:09 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/directx/makefile.vc * contrib/hbzlib/makefile.vc * contrib/hgf/win32/makefile.vc * contrib/htmllib/makefile.vc * contrib/libct/makefile.vc * contrib/libgt/makefile.vc * contrib/libmisc/makefile.vc * contrib/libnf/makefile.vc * contrib/rdd_ads/makefile.vc * contrib/samples/makefile.vc * contrib/tip/makefile.vc * contrib/win32/makefile.vc * contrib/xhb/makefile.vc * removed the "-TP" (force source as c++) msvc compiler flag 2007-11-03 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * replaced all direct access to hb_set structure with functions Now it's possible to link bmdbfcdx with harbour.dll but because it still access hb_cdp_page then only if linker supports auto import conversions * harbour/source/common/hbfsapi.c * harbour/source/main/harbour.c * harbour/source/pp/hbppgen.c * harbour/utils/hbpp/hbpp.c * added filename conversion (hb_fsNameConv()) to hb_fsFileExists() function * harbour/include/hbapifs.h + harbour/source/common/hbfopen.c * harbour/source/common/Makefile * harbour/common.mak + added hb_fopen() function - it's a wrapper to fopen() function but calls internally hb_fsNameConv() * harbour/source/pp/hbppgen.c * harbour/source/pp/ppcore.c * harbour/source/common/hbtrace.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/genc.c * harbour/source/rtl/gtchrmap.c * harbour/source/vm/fm.c * use hb_fopen() instead of fopen() 2007-11-02 18:52 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/common/hbfsapi.c ! fixed hb_fsFileExists() to return TRUE for files only 2007-11-02 16:04 UTC+0100 Miguel Angel Marchuet Frutos * contrib/bmdbfcdx/bmdbfcdx1.c ! fixed undoing previous fix 2007-11-02 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - doc/genhtm.cmd - utils/hbtest/make_xpp.cmd - contrib/libmisc/doc/gendoc.cmd - contrib/libgt/doc/gendoc.cmd - Removed .cmd versions of .bat files. + contrib/dot/bld_b32.bat + New build batch file added (for testing). 2007-11-02 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c * harbour/source/common/hbwince.c ! fixed hb_fsFileExists() in W32 Unicode builds and WinCE 2007-11-02 21:32 UTC+0100 Miguel Angel Marchuet Frutos * contrib/bmdbfcdx/bmdbfcdx1.c ! fixed acces to set variables. 2007-11-01 21:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/samples/pe/bld_b32.bat * updated svn attributes 2007-11-01 20:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/sendmail.prg * harbour/contrib/directx/test/anima2.bmp * harbour/contrib/directx/test/brick1.bmp * harbour/contrib/directx/test/black.bmp * harbour/contrib/directx/test/brick2.bmp * harbour/contrib/directx/test/brick3.bmp * harbour/contrib/directx/test/shot.bmp * harbour/contrib/directx/w32_ddrw.h * harbour/contrib/directx/Makefile * harbour/samples/pe/pe.prg * updated svn attributes 2007-11-01 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * fixed typo, changed eol-style to svn:eol-style 2007-11-01 18:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * set eol-style to CRLF 2007-11-01 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * added mossing const in declaration * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * changed EOL style to CRLF 2007-11-01 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * changed accented character handling and multibyte character comparison to make some operations like: dbSeek(cVal) while ordKeyVal() = cVal ... enddo safe also with such CDPs 2007-10-30 18:37 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/sendmail.prg * cleanup to compile with a std harbour build, removed the "include "hbcompat.ch"", and added the #translate for LIKE found in the hbcompat.ch file, to keep it easy and clean when comparing from/to the xHarbour version. 2007-10-30 19:45 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/tip/Makefile * harbour/contrib/tip/ftpcln.prg * harbour/contrib/tip/httpcln.prg + harbour/contrib/tip/sendmail.prg * synced with xHarbour's fixes and additions 2007-10-30 19:25 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd/gd.prg * harbour/contrib/gd/gdbar.prg * harbour/contrib/gd/gdbarcod.prg * harbour/contrib/gd/gdchart.prg * harbour/contrib/gd/tests/counter.prg * removed #ifdef HB_COMPAT_XHB 2007-10-30 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/fttext.c - removed not necessary size_t definition 2007-10-29 17:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/make_xmingwce.sh * harbour/make_xmingw.sh * removed HOST_OS_UNIX_COMPATIBLE * harbour/makefile.gc * changed ppgen.c -> hbppgen.c * harbour/source/pp/hbppgen.c * harbour/source/vm/dynsym.c * fixed some typos in comment * harbour/source/rtl/hbcrc.c ! fixed casting 2007-10-29 11:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * doc/howtosvn.txt + Added few propset command. Would need some more cleanup. * contrib/win32/test/testw32p.prg ; Formatting * source/common/hbfsapi.c ! Minor fixes. * source/compiler/hbusage.c + Added (c) after copyright. - lib/b16 - obj/b16 - Removed not needed directories. 2007-10-27 17:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbpp/pragma.c * source/rtl/binnum.c * source/rtl/direct.c ! Some VS2005 -O2 warnings. One TOFIX added at the same time, since DIRECTORY() has a problem returning file sizes greater than 2GB. 2007-10-27 16:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapifs.h * source/rtl/fserror.c * source/rtl/philes.c * source/rtl/philes53.c ! Two FS API functions moved to the hb_fs*() namespace: hb_getFError() -> hb_fsGetFError() hb_setFError() -> hb_fsSetFError() 2007-10-27 16:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapifs.h * source/common/hbfsapi.c ! Added missing HB_EXPORTs. + Added hb_fsFileExists(). This is the preferred way to check for the existence of a file, because it is fast and will find a file even if directory traversal is not possible for the file's directory. Works the same way as file existence check in most other tools. ; NOTE: DOS branch was not compiled or tested (it is a rewrite of a tested ASM function though). * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/hbfile.c + Added HB_FILEEXISTS() Harbour level function to check for the existence of a file. This works better than FILE() in most situations, but it doesn't accept any wildcards. * source/compiler/gencobj.c ! Fixed to not used access(). Using hb_fsFileExists() instead. 2007-10-27 16:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/compiler/gencobj.c ! HOST_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE 2007-10-27 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.h - Removed HOST_OS_UNIX_COMPATIBLE which was a misleading alias for OS_UNIX_COMPATIBLE. * source/compiler/hbcomp.c % HOST_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE * common.mak * harbour-ce-spec * make_xmingw.sh * make_xmingwce.sh * makefile.bc * makefile.gc * makefile.vc * source/pp/Makefile - source/pp/ppgen.c + source/pp/hbppgen.c ! executable ppgen renamed to hbppgen. * samples/pe/editorlo.c * samples/pe/pe.prg + samples/pe/bld_b32.bat + Added BCC build batch file. ! Fixed to compile under current Harbour. ! Fixed filename casing. ! Fixed several warnings (quite some signedness problem still remain). ; This is a very nice editor written in C (Harbour callable), I think it is the work of Ryszard. * samples/hscript/bld_b32.bat * samples/hscript/hscript.prg * samples/hscript/dir.hs * samples/hscript/multiply.hs * samples/hscript/ugly.hs * samples/hscript/hello.hs ! Fixed build batch file. ! Fixed to use NFLib file IO rather than libmisc, because latter was broken (it is a clone of the NFLib file IO). ! Fixed scripts to use Start instead of Main as an entry point otherwise __hrbRun() got confused and called the app Main(). ! Fixed some other problems to make it run. 2007-10-26 20:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/win32/w32_prn.c + Using hb_retptrGC()/hb_parptrGC(). * source/rtl/filesys.c ! DosToWinHandle() made static. ; Minor formatting. 2007-10-26 03:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/include/hboo.ch * harbour/ChangeLog * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpp.c * harbour/source/pp/ppcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/fstemp.c * harbour/source/rtl/idle.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/hbregex.c * harbour/source/vm/hvm.c * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/hbxml.c * harbour/contrib/xhb/hbxml.h * harbour/contrib/xhb/cstructc.c * harbour/contrib/xhb/hbsyslog.c * harbour/contrib/libmisc/hb_f.c * harbour/contrib/libnf/fttext.c * harbour/contrib/libnf/mouse.c * harbour/contrib/tip/encmthd.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h * harbour/contrib/btree/hb_btree.c * harbour/contrib/samples/status.c * harbour/contrib/samples/gauge.c * harbour/contrib/odbc/odbc.c * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * cleanup errors in strict ANSI C compilation 2007-10-25 22:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/win32/w32_prn.c ! Changed hb_retnl() -> hb_retptr() for Windows handles. ! Changed hb_parnl() -> hb_parptr() for Windows handles. ; Thanks Przemek. ; The GC-ed version is yet to be done. - bldcmncf.sh * make_gcc.sh % bldcmncf.sh integrated into make_gcc.sh. After consulting with Przemek. * include/clipdefs.h ! Fixed HANDLE clash with Windows headers after recent modification. Notice that I've left HB_VMHANDLE as ULONG for now. It's enough to revisit this when implementing those VM API calls. Another notice that because of this name clash legacy Clipper VM API calls in Harbour won't work with Windows headers, native Harbour VM API calls will do work however. - make_xcemgw.sh + make_xmingwce.sh * Rename to be in sync with make_xmingw.ch 2007-10-25 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - ChangeLog.001 - ChangeLog.002 - ChangeLog.003 - ChangeLog.004 - ChangeLog.005 - ChangeLog.006 - ChangeLog.007 - ChangeLog.008 - ChangeLog.009 - ChangeLog.010 - ChangeLog.011 - ChangeLog.012 - ChangeLog.013 - ChangeLog.014 - ChangeLog.015 - ChangeLog.016 - ChangeLog.017 - ChangeLog.018 - ChangeLog.019 * ChangeLog + Re-merged changelog into one file. Now searching is easy, clutter is less, performance should stay the same. 2007-10-24 15:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * bin/hb-func.sh * removed not longer needed "gharbour","harbour-link" references in build script. 2007-10-24 21:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/debian/hbdot.1 - harbour/debian/harbour.1 - harbour/debian/hbmake.1 - harbour/debian/hbtest.1 - harbour/debian/hbpp.1 - harbour/debian/hbrun.1 - harbour/debian/hbdoc.1 + harbour/doc/man + harbour/doc/man/hbdot.1 + harbour/doc/man/harbour.1 + harbour/doc/man/hbmake.1 + harbour/doc/man/hbpp.1 + harbour/doc/man/hbtest.1 + harbour/doc/man/hbrun.1 + harbour/doc/man/hbdoc.1 * moved man files from ./debian directory to ./doc/man * harbour/debian/rules * updated for new man files location * harbour/bin/pack_src.sh * harbour/harbour.spec * added man files to RPMs 2007-10-24 21:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/hbdot.1 * harbour/debian/harbour.1 * harbour/debian/hbrun.1 * updated man files 2007-10-24 20:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/rtl/hbbit.c + fixed HB_BITRESET() 2007-10-24 17:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * debian/control ! Fixed pkg dependency to allow building Harbour on some non-Linux ports as per Petr Salinger's request. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375426 2007-10-24 09:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * debian/copyright * doc/license.txt * COPYING ! Synced COPYING with doc/license.txt ! Synced old license list with debian/copyright ! Removed one old license file reference from text: contrib\libmisc\dates2.c (Only the DateTime() function by Jon Berg) Since this copyright clearly refers to doc/license.txt. Moreover, it's clearly stated in the text that licenses in contrib can be anything as per defined in the given contrib. * Removed 1 char left margin from the text. 2007-10-24 04:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - bin/b16 - Removed obsolete directory. 2007-10-24 04:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - .cvsignore - utils/hbpptest/.cvsignore - Removed .cvsignore files, they were not used anymore. 2007-10-24 04:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - bin/bld_b16.bat - Removed file. DOS/BCC16 usage is not that common now, that it needs a separate batch file. DOS/BCC16 users should use bld.bat with proper envvars. 2007-10-24 03:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/vm.api * include/hbapi.h * include/clipdefs.h * common.mak * source/vm/Makefile + source/vm/vm.c + Added skeletons for CA-Cl*pper-like C-level VM API. Types slightly modified for portability and to support larger memory than C5x. 2007-10-24 03:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/make_rpmce.sh * automatically update version number * harbour/doc/howtobld.txt * set svn:keywords=Id * harbour/contrib/libnf/Makefile - removed test.prg 2007-10-24 03:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbclass.ch * include/hbsetup.ch - Removed HB_SHORTNAME last occurences. Harbour doesn't have a 10 char symbol compatibility since some time, and it didn't make too much sense anyway since long. I wonder if HB_CLS_NO_DECORATION (in hbclass.ch) has any point anymore? 2007-10-24 03:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - make_gnu.cmd - Remove obsolete file. This was the same as make_gnu.bat but with defaults set for OS/2. OS/2 users should use make_gnu.bat with proper platform/compiler sets. * bin/bld.bat * make_gnu.bat * Changed default compiler/platform to w32/mingw32 (was dos/djgpp) 2007-10-24 01:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libnf/fttext.c % Optimized _writeeol() * contrib/libnf/readme.txt ! Old typos fixed. * include/hbgtinfo.ch * contrib/xhb/hbcompat.ch ! Some xhb specific MaxRow()/MaxCol() parameter extension macros (also named GTI_*) moved to xhb contrib. - bin/bld.cmd - Removed obsolete version of bld.bat (aimed for OS/2). OS/2 users should use bld.bat. - bin/bld.sh - Removed obsolete file. Linux/Unix users should use hb*.sh scripts, which are properly working (as opposed to bld.sh). * harbour-ce-spec * harbour.spec * doc/howtobld.txt - Removed gharbour and harbour-link compatibility commands (to lessen equivalent user choices and to have every harbour related stuff to start with hb) Pls use hbcmp and hblnk respectively. 2007-10-23 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * set svn:keywords=Id, svn:eol-style=native 2007-10-23 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libnf/Makefile * contrib/libnf/makefile.vc * contrib/libnf/makefile.bc - contrib/libnf/round.prg + contrib/libnf/ftround.prg - contrib/libnf/test.prg + contrib/libnf/test + contrib/libnf/test/test.prg ! Rename one file in NFLIB to not clash with core Harbour. * Moved test file to a separate test dir. * source/debug/dbgtobj.prg ! Fixed an RTE when browsing subarrays in object monitor. (from xhb by Phil Krylov) 2007-10-23 21:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/fttext.c ! added missing type declaration in _ins_buff() and _del_buff() 2007-10-23 20:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/doc/howtobld.txt + added hb* scripts description * harbour/Makefile * harbour/source/Makefile + harbour/harbour-ce-spec * harbour/bin/pack_src.sh + harbour/make_rpmce.sh + added script to build RPMs with cross build of Harbour for PocketPC make_rpmce.sh should create harbour-ce-1.1.1-0.i386.rpm which can be installed with other harbour RPMs It contains Harbour libraries compiled for WinCE/PocketPC and set of hbce* scripts which should be used instead of standard hb* ones to create PocketPC binaries. It means that you can create standard Linux binaries and PocketPC binaries in the same session without setting/changing any additional environment varibales, f.e: hbmk -n -w -es2 test.prg will create linux binaries and: hbcemk -n -w -es2 test.prg will create binaries for WinCE/PocketPC 2007-10-23 16:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libnf/fttext.c ! Fixed opening mode in FT_FUSE(). ! Fixed FT_FAPPEND() infinite loop when called without parameter or with an odd number. (bug in original function) + Added support for plain LF line ending. * Changed to use OS dependant line ending instead of hardwired CRLF when adding new lines. ; Please test. 2007-10-23 13:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/libnf/ftisprn.c + contrib/libnf/setkeys.c + contrib/libnf/setlastk.c * contrib/libnf/Makefile * contrib/libnf/makefile.bc * contrib/libnf/makefile.vc * contrib/libnf/readme.txt + Added FT_SETKEYS(), FT_ISPRINTER() (not 100% compatible in all situations), FT_LASTKEY(). 2007-10-23 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/directx/w32_ddrw.cpp * contrib/directx/w32_ddrw.h ! Cleanup, formatting. ! Tabs converted to spaces. * contrib/libnf/aading.prg * contrib/libnf/aavg.prg * contrib/libnf/acctadj.prg * contrib/libnf/acctmnth.prg * contrib/libnf/acctqtr.prg * contrib/libnf/acctweek.prg * contrib/libnf/acctyear.prg * contrib/libnf/adessort.prg * contrib/libnf/aemaxlen.prg * contrib/libnf/aeminlen.prg * contrib/libnf/amedian.prg * contrib/libnf/anomatch.prg * contrib/libnf/any2any.prg * contrib/libnf/aredit.prg * contrib/libnf/asum.prg * contrib/libnf/at2.prg * contrib/libnf/bitclr.prg * contrib/libnf/bitset.prg * contrib/libnf/blink.prg * contrib/libnf/byt2bit.prg * contrib/libnf/byt2hex.prg * contrib/libnf/byteand.prg * contrib/libnf/byteneg.prg * contrib/libnf/bytenot.prg * contrib/libnf/byteor.prg * contrib/libnf/bytexor.prg * contrib/libnf/calendar.prg * contrib/libnf/clrsel.prg * contrib/libnf/cntryset.prg * contrib/libnf/d2e.prg * contrib/libnf/datecnfg.prg * contrib/libnf/dayofyr.prg * contrib/libnf/daytobow.prg * contrib/libnf/dectobin.prg * contrib/libnf/descend.c * contrib/libnf/dfile.prg * contrib/libnf/dhkey.h * contrib/libnf/diskfunc.prg * contrib/libnf/dispmsg.prg * contrib/libnf/dosver.prg * contrib/libnf/e2d.prg * contrib/libnf/easter.prg * contrib/libnf/elapmil.prg * contrib/libnf/elapsed.prg * contrib/libnf/eltime.prg * contrib/libnf/findith.prg * contrib/libnf/firstday.prg * contrib/libnf/floptst.prg * contrib/libnf/ftattr.c * contrib/libnf/ftint86.ch * contrib/libnf/ftmenuto.ch * contrib/libnf/fttext.c * contrib/libnf/gcd.prg * contrib/libnf/getenvrn.c * contrib/libnf/getver.c * contrib/libnf/getvid.c * contrib/libnf/hex2dec.prg * contrib/libnf/idle.c * contrib/libnf/invclr.prg * contrib/libnf/isbit.prg * contrib/libnf/isbiton.prg * contrib/libnf/isshare.prg * contrib/libnf/kspeed.c * contrib/libnf/lastday.prg * contrib/libnf/linked.prg * contrib/libnf/madd.prg * contrib/libnf/menu1.prg * contrib/libnf/menuto.prg * contrib/libnf/metaph.prg * contrib/libnf/miltime.prg * contrib/libnf/min2dhm.prg * contrib/libnf/month.prg * contrib/libnf/mouse.c * contrib/libnf/mouse1.prg * contrib/libnf/mouse2.prg * contrib/libnf/netpv.prg * contrib/libnf/nooccur.prg * contrib/libnf/ntow.prg * contrib/libnf/nwlstat.prg * contrib/libnf/nwsem.prg * contrib/libnf/nwuid.prg * contrib/libnf/ontick.c * contrib/libnf/origin.c * contrib/libnf/page.prg * contrib/libnf/pchr.prg * contrib/libnf/peek.c * contrib/libnf/pegs.prg * contrib/libnf/pending.prg * contrib/libnf/pickday.prg * contrib/libnf/poke.c * contrib/libnf/popadder.prg * contrib/libnf/prtesc.prg * contrib/libnf/prtscr.c * contrib/libnf/pvid.prg * contrib/libnf/qtr.prg * contrib/libnf/rand1.prg * contrib/libnf/readme.txt * contrib/libnf/restsets.prg * contrib/libnf/round.prg * contrib/libnf/savearr.prg * contrib/libnf/savesets.prg * contrib/libnf/scancode.prg * contrib/libnf/scregion.prg * contrib/libnf/setdate.prg * contrib/libnf/settime.prg * contrib/libnf/sinkey.prg * contrib/libnf/sleep.prg * contrib/libnf/sqzn.prg * contrib/libnf/sysmem.prg * contrib/libnf/tbwhile.prg * contrib/libnf/test.prg * contrib/libnf/vertmenu.prg * contrib/libnf/vidcur.prg * contrib/libnf/vidmode.prg * contrib/libnf/wda.prg * contrib/libnf/week.prg * contrib/libnf/workdays.prg * contrib/libnf/woy.prg * contrib/libnf/xbox.prg * contrib/libnf/year.prg - contrib/libnf/idle.c + contrib/libnf/ftidle.c + contrib/libnf/iamidle.c * contrib/libnf/Makefile * contrib/libnf/makefile.bc * contrib/libnf/makefile.vc + Added svn headers. ! Fixed FT_IDLE() ! Renamed idle.c to not clash with core idle.obj. ! FT_F*() functions fully ported from original NFLIB. Pls test. * Some minor cleanups, formatting. + Added FT_IAMIDLE() * include/filesys.api ! _fsRead(), _fsWrite() now more compatible. * include/hbundoc.api + Added _lcopy(), _ncopyuc(), _ncopylc() compatibility functions. * include/hbapi.h * source/common/hbstr.c + Added hb_strncpyLower() 2007-10-23 10:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c ! added missing ; in DOS builds 2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/win32/tprinter.c * casting 2007-10-23 04:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/source/rtl/gtwin/gtwin.c * harbour/contrib/win32/tprinter.c * harbour/contrib/win32/w32_prn.c * updated for compilation with UNICODE support 2007-10-23 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/vm/mainwin.c * harbour/source/common/hbwince.c ! fixed compilation with Unicode support and standard MS-Windows 2007-10-22 21:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c * harbour/source/rdd/dbcmd.c ! fixed registering workareas with numbers from 65280 to 65534 2007-10-21 11:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/directx/media - contrib/directx/samples - contrib/directx/lib - contrib/directx/directx.lib - contrib/directx/readme.1st + contrib/directx/readme.txt + contrib/directx/test + contrib/directx/test/testdx.prg + contrib/directx/test/anima2.bmp + contrib/directx/test/brick1.bmp + contrib/directx/test/black.bmp + contrib/directx/test/brick2.bmp + contrib/directx/test/shot.bmp + contrib/directx/test/brick3.bmp - contrib/directx/buvcdx.bat + contrib/directx/Makefile + contrib/directx/makefile.bc + contrib/directx/makefile.vc + contrib/directx/make_b32.bat + contrib/directx/make_vc.bat * contrib/directx/w32_ddrw.h * contrib/directx/w32_ddrw.cpp + Added build scripts ! Further fixes to make it compile and run. * Rearranged test/readme files. ; Now it runs but the sample .bmps seem to be corrupted. 2007-10-21 11:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/directx/w32_ddrw.cpp ! Fixed two -w warnings left. 2007-10-21 02:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/set.c ! Fixed SET DEVICE TO PRINTER not to add an extension (".prn") to the filename specified by SET PRINTER TO (the extension is only added by the SET PRINTER TO command). ! Fixed SET DEVICE TO PRINTER to point to "LPT1" by default (instead of "PRN") under Win32 (this is now in sync with ISPRINTER() logic). Added "PRN" for the rest of OSes (TOFIX). ; Pls test. * source/rtl/isprint.c ! Cleaned up platform branches in ISPRINTER(). Non DOS/Win32 branch is a dummy TODO now. * contrib/libnf/fttext.c ! Some fixes reported by Mike Evans. Pls test. Not all reported bugs were fixed. (ft_FError() returns a constant zero, ft_FUse() still needs ft_FSelect()) - contrib/directx/HB_DDraw.cpp + contrib/directx/w32_ddrw.cpp - contrib/directx/HB_DDraw.h + contrib/directx/w32_ddrw.h * contrib/directx/readme.1st ! Harbour API updates to this severly outdated code. ! Fixed warnings. + Added SVN headers. 2007-10-19 16:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added hb_cdpGetChar() + harbour/tests/wcecon.prg + added demonstration console program for WinCE, compile it using: hbmk -n -w -es2 -gtwvt wcecon * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/contrib/win32/w32_ole.c * harbour/contrib/odbc/odbc.c * use UNICODE macro instead of HB_WINCE to allow using Unicode WINAPI also in other MS-Windows versions * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + added support for Unicode IO * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c ! fixed wrongly set error code ! fixed possible access to uninitialized memory * use GetDiskFreeSpaceEx() on WinCE instead of GetDiskFreeSpace() for disk larger then 4GB - I do not know if PocketPC have such large devices now or if WinCE can support it but for sure it will somewhere in the future 2007-10-19 01:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/runjava - Obsolete contrib removed. (Thanks Petr) 2007-10-18 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/pack_src.sh * updated for recent Viktor's modifications * harbour/source/rtl/oemansix.c ! added missing #include "hbpai.h" * harbour/include/Makefile + harbour/include/hbwince.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbdefs.h * harbour/include/hbsetup.h * harbour/include/hbrddcdx.h * harbour/include/hbrddfpt.h * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/hbsyslog.c * harbour/contrib/xhb/xhbfunc.c * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/files.c * harbour/contrib/libct/disk.c * harbour/contrib/libnf/getenvrn.c * harbour/contrib/win32/tprinter.c * harbour/contrib/win32/w32_ole.c * harbour/contrib/win32/w32_prn.c * harbour/contrib/odbc/odbc.c * harbour/source/pp/ppgen.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/gtclip.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/oemansi.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/rtl/net.c * harbour/source/rtl/gtgui/gtdef.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/vm/Makefile * harbour/source/vm/mainwin.c * harbour/source/vm/dynlibhb.c + harbour/source/vm/mainwin/Makefile * harbour/source/common/Makefile * harbour/source/common/hbgete.c * harbour/source/common/hbver.c + harbour/source/common/hbwince.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbdot/hbdot.prg * harbour/utils/hbver/hbverfix.c + added support for WinCE and PocketPC + harbour/make_xcemgw.sh + harbour/config/w32/cemgw.cf * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh + added support for CeGCC-MinGW32 port - those of you who want to create applications for WinCE on PockePC with ARM processors on Linux or MS-Windows can download from SF cegcc-mingw32ce port. User using RPM based Linux distribution for x86 CPUs can simply download cegcc-mingw32ce-0.50-1.i586.rpm and install it. The hb* scripts created by ./make_xcemgw.sh [tgz|gnu] are automatically updated to work with CeGCC-MinGW32 so later you can simply crate WinCE-ARM binaries using them as for native port. I'm waiting for users feedback. Please remember that I'm not Windows user and even this port was created without any Pocket machine. With Marek Paliwoda help I only tested that final applications are working using PocketPC emulator. 2007-10-18 18:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/win32/test/testole.prg - contrib/win32/test/oleenum.prg + contrib/win32/test/sample.odt + Added new OLE examples for OpenOffice, CDO. + Added new OLE examples from xhb. 2007-10-18 12:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/win32prn - contrib/ole2 - Removed two contribs which were merged into one. ; Pls use hbwin32 instead of win32prn and/or hbole. 2007-10-18 12:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/Makefile + contrib/win32 + contrib/win32/test + contrib/win32/test/testw32p.prg + contrib/win32/test/oleenum.prg - test/oleenum.prg + contrib/win32/Makefile + contrib/win32/makefile.bc + contrib/win32/makefile.vc + contrib/win32/make_b32.bat + contrib/win32/make_vc.bat + contrib/win32/w32_tole.prg + contrib/win32/w32_tprn.prg + contrib/win32/tprinter.c + contrib/win32/w32_ole.c + contrib/win32/w32_prn.c + Added a Win32 contrib lib by merging win32prn and ole2 libs. The name of the new library is "hbwin32". ; directx was not added for now. 2007-10-17 11:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * source/rtl/Makefile * source/rtl/oemansi.c + source/rtl/oemansix.c * source/rtl/typefile.prg + source/rtl/typefilx.prg * source/rdd/Makefile * source/rdd/dbjoin.prg + source/rdd/dbjoinx.prg * source/rdd/dblist.prg + source/rdd/dblistx.prg * source/rdd/dbtotal.prg + source/rdd/dbtotalx.prg * source/rdd/dbstrux.prg + source/rdd/dbstruxx.prg * source/rdd/dbfuncs.prg + source/rdd/dbfuncsx.prg * source/rdd/dbsort.prg + source/rdd/dbsortx.prg * source/rdd/dbcmd.c + source/rdd/dbcmdx.c * source/rdd/dbupdat.prg + source/rdd/dbupdatx.prg + Moved XPP compatible functions into separated source files. 2007-10-17 00:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/Makefile + contrib/win32prn/Makefile + contrib/win32prn/makefile.vc + contrib/win32prn/make_vc.bat + Added win32prn to GNU make system. + Added VC makefiles for win32prn. 2007-10-16 23:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/isprint.c - Removed Win32 bitmap printer specific (non-multiplatform) functionality. For this feature (and more) pls use hbwin32prn.lib from contrib: PRINTEREXISTS(), GETDEFAULTPRINTER(), etc. % Minor optimization. 2007-10-16 23:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/xhbfunc.c * contrib/win32prn/make_b32.bat * contrib/win32prn/tprinter.c ! Warnings/errors fixed from previous commit. 2007-10-16 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/win32prn + contrib/win32prn/makefile.bc + contrib/win32prn/make_b32.bat + contrib/win32prn/w32_pcls.prg + contrib/win32prn/w32_papi.c + contrib/win32prn/tprinter.c + contrib/win32prn/testw32p.prg + Ported Win32 specific bitmap printing class from xharbour core. ; Please test. 2007-10-16 12:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/isprint.c ! Fixed ISPRINTER() on Win32 after last changes. Thanks Guillermo, pls test now. * source/rdd/dbcmd.c ! Marked as HB_EXTENSION: FIELDLEN(), FIELDDEC(), FIELDTYPE() * include/hbextern.ch * source/rdd/dbcmd.c ! Marked as HB_EXTENSION: DBDROP(), DBEXISTS(), RDDINFO() (they were properly marked in hbextern.ch but not in source) * include/hbextern.ch * source/rtl/disksphb.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/inkey.c * source/rtl/oemansi.c * source/rtl/philes.c * source/rtl/setcolor.c * source/rtl/setfunc.prg * source/rtl/setkey.c * source/rtl/shadow.c * source/rtl/trace.c * source/rtl/valtostr.c * source/vm/dynsym.c + Removed HB_EXTENSION from all the .prg level functions prefixed with HB_. (there was a mixed situation here, but there's no need to mark any HB_ functions as extensions, as it's obvious by their name. So as a rule, no HB_ prefixed function should ever be marked as HB_EXTENSION anymore.) ! Fixed some inconsistencies in HB_EXTENSION between hbextern.ch and actual sources. * source/rtl/tgetlist.prg * One HB_EXTENSION changed to !HB_C52_STRICT because it was guarding a bugfix rather than a real extension. * source/rtl/gui.prg * _GetNumCol() is now always strictly compatible. NOTE added about sloppy C5.3 behaviour. * source/rtl/inkey.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c ! __KEYBOARD() xhb hidden parameter extension moved to xhb lib. For similar functionality inside Harbour pls use HB_KEYPUT(). __KEYBOARD is now 100% C5.x compatible. * source/rtl/setfunc.prg * __SetFunction() extension now uses HB_KEYPUT() instead of __KEYBOARD() extended parameters. * source/compiler/hbfunchk.c * source/rtl/at.c ! AT() extra parameters handled when HB_EXTENSION is on (was !HB_C52_STRICT). (The first extra parameter is XPP and Flagship compatible. The three parameter version of this function is called AT3() in CAVO.) ! TRIM()/RTRIM() extra parameters handled on compiler level when HB_EXTENSION is on (default). ! FILE() parameter check turned off in compiler. (to be C5.x compatible) * source/rtl/alert.prg ! ALERT() Harbour extended parameter (1st parameter type) is now guarded with HB_EXTENSION instead of HB_C52_STRICT. * source/rtl/gete.c ! GETE[NV]() Harbour extended parameter guarded with HB_EXTENSION. * source/vm/proc.c ! PROCFILE() Harbour extended parameter guarded with HB_EXTENSION. * source/rtl/mlcfunc.c ! Harbour extended parameters for MEMOLINE()/MLCOUNT()/ MLPOS()/MLCTOPOS()/MPOSTOLC() are now guarded with HB_EXTENSION (instead of HB_C52_STRICT). It seems to be possible to specify custom EOLs for all these functions. (Maybe simple automatic Unix/Win EOL style handling would be better here) * source/vm/memvars.c ! Guarded Harbour extension in __MVRESTORE() with HB_EXTENSION. ; After this cleanup: - HB_EXTENSION is marking extra features living inside existing C5.x functions or classes, or Harbour extension functions not complying with the HB_ prefix rule (we have six such functions in RDD). If there are more extended parameters in Harbour pls mark them with HB_EXTENSION too. - HB_C52_STRICT is guarding bugfixes compared to C5.x. - No HB_ functions are guarded with HB_EXTENSION anymore. - We'd pbly need to review each HB_EXTENSIONs to check whether they are safe or not. - A list of HB_EXTENSIONs: - MLCOUNT() MEMOLINE() MLPOS() MLCPOS() MPOSTOLC() - 5th and up can specify custom EOLs. - ALERT() - 1st parameter type can be any type in Harbour, char only in C5.x - SET FUNCTION TO __SETFUNCTION - 2nd parameter can be numeric or array of numeric in Harbour. - SETKEY() - 3rd codeblock parameter ("isactive" block) - SAVESCREEN() - 5th parameter: lNoCheck (?) RESTSCREEN() - 6th parameter: lNoCheck (?) - AT() - 3rd and 4th parameters to set search range. 3rd parameter is also supported by XPP and FS. Results in compiler error in C5.x. (CAVO uses AT2() and AT3() for extended versions.) - TRIM() RTRIM() - 2nd parameter is an extension regarding space trimming mode. Results in compiler error in C5.x. - ALLTRIM() - 2nd parameter is an extension regarding space trimming mode. - GETE() GETENV() - 2nd parameter specifies a default value. Can be found in HB_GETENV(). - PROCFILE() - 1st parameter is a Harbour extension. Undocumented function in C5.x. The extension looks similar to the one found in Flagship. - __MVRESTORE() - 3rd/4th parameters are Harbour extensions to set variable name mask. Redirected from the internal 5.x function named __MRESTORE(). - DB*() - cRDD, nConnection, cCodePage extra parameters in many DB*() functions. TOFIX: None of them is marked as HB_EXTENSION. - SET()s - These are not marked as HB_EXTENSION. - ? - Is there anything else? 2007-10-16 09:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * source/rtl/gete.c + Added HB_GETENV(). There you have a 2nd parameter which will be returned in case the requested envvar doesn't exist. This extensions is still present in GETE[NV](), but we'd better remove it. * include/hbextern.ch * source/rtl/isprint.c + Added HB_ISPRINTER() with support for extra parameter printer port name. This parameter also currently has support for Win32 printers. Win32 printer name support was removed from ISPRINTER() to keep compatibility. ISPRINTER() extra parameter is enabled with HB_COMPAT_XPP (which is the default). 2007-10-15 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbcolumn.prg ! Strict C5.2e compatible behaviour made the default. * source/rtl/inkey.c + Added handling of arrays of numbers in HB_KEYPUT(). (this was copied from __KEYBOARD()'s extended section) + Added handling of string parameter in HB_KEYPUT(). (this way we don't really need the hidden extensions in __KEYBOARD() anymore.) * common.mak * include/hbcompdf.h * source/compiler/hbmain.c * source/compiler/cmdcheck.c * source/compiler/hbcomp.c * source/compiler/harbour.l * source/compiler/Makefile * source/compiler/ppcomp.c * source/compiler/hbusage.c - source/compiler/genjava.c - source/compiler/gencli.c - Removed two non-working (experimental) output types: Java, CLI ! Prefixed LANG_* enums with HB_ 2007-10-15 17:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbmath.h * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/Makefile * harbour/source/rtl/diskspac.c * harbour/source/rtl/fserror.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/gttone.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/vm/mainwin.c * harbour/source/common/hbver.c * harbour/source/common/hbtrace.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/ppcomp.c * harbour/utils/hbver/hbverfix.c * harbour/utils/hbpp/hbppcore.c * harbour/config/w32/pocc.cf * code cleanup: - eliminated unnecessary errno access - use WinAPI functions instead of some standard C library functions in Windows builds 2007-10-13 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbdead.c % minor improvement 2007-10-13 02:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * updated for recent modifications 2007-10-13 02:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/destruct.txt * update description for multiple inherited destructors * harbour/source/compiler/complex.c * _HB_CLASS and _HB_MEMBER are not longer reserved words * harbour/include/hbclass.ch * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/macro/macro.y * harbour/source/compiler/harbour.y * formatting and minor code cleanup * harbour/source/compiler/hbusage.c * added missing information about -undef: switch to usage description * harbour/source/compiler/gencc.c ! fixed bug reported by Teo in code generated for SWITCH statement 2007-10-10 21:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/tests/multifnc/t0.prg * harbour/tests/multifnc/t1.prg * harbour/tests/multifnc/t2.prg + one more test for function overload with C function 2007-10-10 00:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/complex.c * cleanup: removed unused variable, some extension to datetime decoding, etc. 2007-10-09 09:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c * harbour/source/compiler/genhrb.c ! added support for functions marked as DYNAMIC in .hrb format * harbour/source/compiler/complex.c + finished code (stil disabled) to decode datetime in VFP strict date form 2007-10-09 00:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/dynsym.c * minor optimzation * harbour/tests/multifnc/t0.prg * harbour/tests/multifnc/t1.prg * harbour/tests/multifnc/t2.prg + one more test for function overload 2007-10-08 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * do not clear references to public functions in symbol tables used by unloaded modules * harbour/source/compiler/complex.c + added disabled yet code to decode datetime in VFP strict date form {^YYYY/MM/DD[,][HH[:MM[:SS[.CCC]]][A|P]]} It's for future datetime implementation. 2007-10-08 19:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch + Moved lines which do not need xhb lib itself from xhb.ch to hbcompat.ch. xhb.ch now includes hbcompat.ch and not vice versa. So now hbcompat.ch can be used as a "lighter" compatibility layer which doesn't need the lib binary. Pls test. * contrib/mysql/tmysql.prg * contrib/mysql/tsqlbrw.prg * contrib/mysql/Makefile ! Applied MySQL lib patch on behalf of Guy Roussin. 2007-10-08 01:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c ! fixed value returned by HB_RASCAN( aVal, bCode ) - it was returning index -1, f.e. hb_rascan({1,2,3},{|x|x==2}) returned 1 when it should 2 2007-10-06 21:28 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/thtml.prg * contrib/tip/cgi.prg * contrib/tip/httpcln.prg * removed HB_HSetAutoAdd, now Harbour hashes by default have AUTOADD on assign. 2007-10-06 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hashes.c * set AUTOADD for assign operation by default in new arrays * removed last HB_COMPAT_XHB * harbour/source/vm/hashfunc.c * change HB_HAUTOADD( hHash, .T. ) to set AUTOADD for assign only when no default value is set Above are minimal modifications to make default Harbour behavior more similar to other languages f.e. PHP or xHarbour. Other modifications will depend on group decision. 2007-10-06 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * cleanup * harbour/source/vm/hvm.c % use extended reference for enumerator destructor - it eliminates 3 hb_itemNew() calls reducing the cost of creating FOR EACH envelope about 40% 2007-10-05 23:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * minor cleanup comment * harbour/source/vm/hvm.c * save/restore return value in extended references 2007-10-05 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynsym.c * added some additional comments. I still do not know MSVC behavior can someone check the results from tests/multifnc in MS[V]C build? 2007-10-04 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * ignore Sx_SetTrigger( TRIGGER_ENABLE ) when trigger function not set 2007-10-04 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbffpt/dbffpt1.c ! fixed memo pack when DBF record were not updated but only memo file Problem reported by Miguel 2007-10-04 13:15 UTC+0100 Miguel Angel Marchuet Frutos * contrib/bmdbfcdx/bmdbfcdx1.c * removed memory leak. * contrib/xhb/makefile.bc * added missing file. * source/vm/estack.c * corrected sintax 2007-10-04 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/multifnc/t0.prg * show information about Harbour version and used C compiler 2007-10-04 12:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! removed one call to hb_vmRequestRestore() left by mistake % minor optimization 2007-10-04 02:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed setting HB_FS_FIRST flag 2007-10-03 17:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/oleenum.prg + added Enrico example and test code for enumerators and OLE objects * harbour/contrib/Makefile * enabled hbole, ado_rdd, hybodbc in most of Windows builds * harbour/contrib/ole2/win32ole.prg * harbour/contrib/ole2/w32ole.c * synced with recent Ron's modifications in xHarbour I'd like to ask Windows users to make tests with above oleenum.prg and example sent by Luis * harbour/source/rtl/gttrm/gttrm.c * disable ACS mode before sending BEL on Linux compatibile terminals - some of them may try to display chr(7) instead of generating sound when ACSC is enabled * harbour/source/vm/proc.c + added support for character parameter in PROCFILE() - now it can accept | | as first parameter * harbour/source/vm/dynsym.c * added support for detecting not cleanly overloaded by linker .prg functions. In such case hb_dynsymNew() checks if linker updated function addresses and if yes then remove unnecessary HB_FS_LOCAL flag. In such case works GCC (but not MinGW and DJGPP), OpwenWatcom for Linux, DOS, Windows (and probably for OS2), POCC, XCC (with /FORCE:MULTIPLE linker switch) and some other linkers I haven't tested. Otherwise (two different functions with the same name linked and each accessible from different symbol, f.e. BCC32, MinGW, DJGPP) it accept multiple HB_FS_LOCAL for dynamically loaded modules (.hrb, .dll, .so, .dyn, ...) if HVM also accepted it (for future KEEP_LOCAL_FUNC HB_LIBLOAD()/__HBRLOAD() parameter). For statically linked modules it overloads one of the functions when HB_OVERLOAD_MULTIPLE_FUNC macro is set (now by default to make tests with different linkers). I left detail description in source code of hb_dynsymNew() in source/vm/dynsym.c. I hope it will also help Ron in recent xHarbour modifications - AFAIK it's sth what he tires to do. Anyhow please remember that that dirty overloading any symbols by linker is very bad idea and in such case you have big chance that wrong binaries will be created so the most preferable choice is eliminating such situations and not using linker switches like -Wl,--allow-multiple-definition or /FORCE:MULTIPLE + harbour/tests/multifnc + harbour/tests/multifnc/t0.prg + harbour/tests/multifnc/t1.prg + harbour/tests/multifnc/t2.prg + harbour/tests/multifnc/Makefile + added test code for results of dirty overloaded functions. With recent modifications expected results are: main t0.prg t0.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK === main2 t1.prg t1.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK === main3 t2.prg t2.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK I've tested only few compilers: GCC/G++ (Linux) MinGW (WINE-W32), DJGPP (DOSEMU), OpenWatcom (Linux, WINE-W32, DOSEMU), XCC/POCC (WINE-W32) and I'm interesting in results from other compiler/ platforms, f.e. from M[V]SC. 2007-10-02 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole2/win32ole.prg ! fixed typo in __enumStart() - enum parameter has to be passed by reference ro __enumSkip() method 2007-10-02 10:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c + added support for HB_ENUM*([@]) functions - disabled by default can be enabled by HB_USE_ENUM_FUNCTIONS macro * harbour/source/rtl/gttone.c * use assembler code for tone emulation for POCC/XCC compiler only for X86 platforms * harbour/source/rtl/filesys.c * do not include for POCC/XCC * harbour/source/compiler/gencli.c * pacify warning * harbour/config/w32/owatcom.cf * harbour/config/w32/xcc.cf * updated description in header files + harbour/config/w32/pocc.cf + added support for Pelles ISO C Compiler 2007-10-02 10:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/ChangeLog + harbour/ChangeLog.019 * ChangeLog archived. * contrib/tip/cgi.prg * contrib/tip/url.prg * contrib/tip/httpcln.prg * contrib/tip/mail.prg ! Some hash function calls corrected after last modification. Thanks Juan. 2007-10-01 22:53 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/httpcln.prg * removed unnecesary include file hbcompat.ch 2007-10-01 23:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/tip/Makefile * contrib/tip/makefile.bc + contrib/tip/makefile.vc + contrib/tip/make_vc.bat * contrib/tip/tip.ch * contrib/tip/utils.c * contrib/tip/base64x.c * contrib/tip/encmthd.c - contrib/tip/hbhex2n.c * contrib/tip/cgi.prg * contrib/tip/client.prg * contrib/tip/ftpcln.prg * contrib/tip/httpcln.prg * contrib/tip/mail.prg * contrib/tip/thtml.prg * contrib/tip/url.prg + Code converted to not require xhb lib. % Now compiled with -kM switch to avoid macro expansion of strings. This is important here, as "&" char is used quite often in the code, so expect a somewhat better performance. - Removed hex number conversion functions, as compatible versions are now available in Harbour with am hb_ prefix. + C code update to use Harbour API calls only. + Added VC build script. ! Fixed two C warnings. ! Standardized SVN header in one file. ! Set std SVN keywords and eol-style. ; Please test it. * include/hbextern.ch * source/rtl/hbinet.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c * Renamed hb_IsInetSocket() to hb_inetIsSocket() to keep all inet related functions in one namespace. 2007-10-01 19:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/errorapi.c + added protection against possible GPF when some assign methods were called without parameters * harbour/source/rdd/workarea.c * initialize uiFalgs also when DBS_FLAGS is not set * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * fixed hb_cdxSkipFilter() declaration - it should be 'static' function * harbour/source/pp/ppcore.c * harbour/source/compiler/ppcomp.c + added support for changing all -k? switches by #pragma, f.e.; #pragma -ks+ #pragma -kM- #pragma -kx1 #pragma -kJ0 * harbour/source/compiler/hbusage.c * changed -ks description * harbour/include/hbexpra.c * harbour/include/hbexprb.c * do not generate error message for negative indexes and [] operators are used for simple types when -ks option is used * harbour/include/hbvmpub.h * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c + added HB_IT_DEFAULT flags - it allows to check if item was changed * harbour/source/vm/memvars.c * harbour/include/hbvm.h ! fixed HB_IT_MEMOFLAG updating to be Clipper compatible. Here we are not Clipper compatible in one place: in clodeblock local parameters with memo values are marked as MEMO but if you leave function where codeblock were created then Clipper during detaching removes MEMO flag. In Harbour memo flag is kept. * harbour/include/hbvm.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c % improved speed of extended references used for SETGET methods and overloaded [] operators * harbour/include/hbapi.h * harbour/include/hbsetup.ch * harbour/source/compiler/hbcomp.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * harbour/source/vm/cmdarg.c * removed HB_COMPAT_XHB flags - only one HB_COMPAT_XHB still exist in HVM in hashes.c - it will be removed soon. * harbour/source/common/hbverdsp.c * removed information about xHarbour compatibility mode - it's not longer used. We are emulating xHarbour behavior using external XHB library and standard compiler/HVM features * harbour/contrib/xhb/xhb.ch * harbour/contrib/xhb/xhbfunc.c * harbour/source/vm/arrayshb.c * moved XHB_AINS(), XHB_ADEL() from XHB lib to HVM as HB_AINS(), HB_ADEL() * harbour/contrib/xhb/xhb.ch + added #pragma -ks+ + added transaltion for hb_enumindex( ) + harbour/contrib/xhb/xhbenum.c + added emulation for HB_EUMMINDEX() * harbour/contrib/xhb/xhbfunc.c * do not add INET*() function wrappers for DOS builds or when HB_NO_DEFAULT_INET macro is set * harbour/contrib/xhb/xhbmsgs.c * added comment * harbour/contrib/Makefile + added TIP and XHB * harbour/make_rpm.sh * harbour/harbour.spec * removed HB_COMPAT_XHB, --with tip, --with xhb they are not longer necessary 2007-09-01 17:54 UTC+0100 Miguel Angel Marchuet * contrib/bmdbfcdx/bmdbfcdx1.c * contrib/bmdbfcdx/hbrddbmcdx.h * synced with dbfcdx * contrib/tip/make_b32.bat * fixed copy of lib by Juan Galvez. * contrib/xhb/makefile.bc + added missing files by Juan Galvez. 2007-09-29 11:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbf1.c + Added support for _SET_DEFEXTENSIONS to RDD. 2007-09-28 23:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! fixed typo in hb_dbfGetRowVer() reported by Mindaugas, many thanks for information, it was side effect of some experiments I hadn't cleanly removed before commit. 2007-09-28 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * pass compile time -ks state to RT macro compiler flags. It means that if you compile some with which ¯os then -ks compile time switch will be passed also to macro compiler and respected later at runtime * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y + added support for passing by reference array and object items * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * generate compile time error for @func() only @func() is acceptable 2007-09-28 17:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/Makefile - include/hbcompat.ch + contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch * contrib/xhb/Makefile * Moved content or hbcompat.ch into xhb.ch. Those who need compatibility, have to replace * Moved hbcompat.ch (for compatibility) to contrib/xhb 2007-09-28 16:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * respect -ks in macrovars and array item references * harbour/source/vm/memvars.c * do not detach array items during detaching enumerator variable also in standard (without HB_COMPAT_XHB) build 2007-09-28 14:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/itemapi.c * harbour/source/vm/garbage.c + added extended item references - it's universal reference which can be used by HVM for many different things without introducing new item types * harbour/include/hbexprb.c * respect -ks compiler also with =, --, ++ operators * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/classes.c + added extended references for SETGET methods used as object item references * use extended references to respect overloaded [] operator in object item references + added support for passing indexes to string item characters ( @cValue[n] ) by reference using extended references - extension enabled by -ks compiler switch and //flags:s RT switch. + added hb_vmPushItemRef() * harbour/source/rdd/dbf1.c * harbour/source/rdd/usrrdd/usrrdd.c * use hb_vmPushItemRef() * harbour/contrib/xhb/xhbcomp.prg * harbour/contrib/xhb/xhbmsgs.c * overload +, -, *, %, ^, ++, -- in string and numeric scalar classes to emulated xHarbour behavior when 1 byte string is used as numeric value. Note: + in XHB lib gives numeric value when in xHarbour character. But because in xHarbour gives numeric value then I guess that it's xHarbour bug and I should not replicate it, f.e.: proc main() ? 1+"A", 131-"A", 33 * 2, 132 / chr(2), 133 % "C" return * overload +, - in hash scalar class to emulated xHarbour behavior for + and - Seems that now we can remove HB_COMPAT_XHB flag from HVM and keep Harbour compatibility only with -ks compile time switch and XHB library. Please make some tests with Harbour compiled without HB_COMPAT_XHB and xHarbour code using REQUEST XHB_LIB. It's possible that I missed sth but some basic test shows that our emulation is better then original and addresses places where xHarbour does not work at all or gives strange results, f.e.: #ifndef __XHARBOUR__ request XHB_LIB #endif proc main() local h:={"ABC"=>123.45} ? h:abc h:abc+=1000 ; ? h:abc h["ABC"]+=1000; ? h:abc p(@h:abc) ; ? h:abc p(@h["ABC"]) ; ? h:abc return proc p(x) x+=1000 return or: #ifndef __XHARBOUR__ request XHB_LIB #endif #include "hbclass.ch" proc main() local o:=myClass():new() o:setget:="ABC"; ? o:setget o:setget[2]:=42; ? o:setget o:setget[2]+=42; ? o:setget ? o:setget[2]+=42; ? o:setget ? o:var:="ABC"; ? o:var o:var[2]:=42; ? o:var o:var[2]+=42; ? o:var ? o:var[2]+=42; ? o:var return CREATE CLASS myClass VAR var METHOD setget SETGET END CLASS METHOD setget( xNewVal ) CLASS myClass IF pcount() > 0 ::var := xNewVal ENDIF RETURN ::var * harbour/include/hbapirdd.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/contrib/rdd_ads/ads1.c * changed second parameter in RELTEXT() method to PHB_ITEM Now RELTEXT() works like FILTERTEXT() and the size of expression is not limited. It's a modification I wanted to make for a long time and I think that now is a good moment to make it together with HB_FT_* modifications - rmoved not longer necessary HARBOUR_MAX_RDD_RELTEXT_LENGTH * harbour/source/rtl/gttrm/gttrm.c * small cleanup 2007-09-28 11:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/compiler/hbusage.c ! Show the -ks switch only when compiled with HB_COMPAT_XHB. 2007-09-27 15:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c + added support for DBI_POSITIONED flag. Because some RDDs may not support phantom record then checking for EOF() does not have to be enough to detect that the cursor is positioned to phantom record. Checking for RecNo() == LastRec() + 1 does not have to work either because some RDD may use not use continuous record numbers f.e. ADT. So in code like BROWSE() if you want to be sure that current record is phantom one then (!dbInfo(DBI_POSITIONED)) should be used. 2007-09-27 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * recognize field { "T", 4, 0 } as TIME and { "T", 8, 0 } as DAYTIME * harbour/source/vm/hvm.c * formatting 2007-09-26 05:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in function names in previous commit description * harbour/contrib/xhb/xhbfunc.c + added HB_QSELF() 2007-09-26 05:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbwith.c + added HB_QWith( [] ), HB_WithObjectCounter(), HB_ResetWith() 2007-09-26 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added: ON ERROR FUNCTION OPERATOR FUNCTION * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c + added support for overloading right side $ operator * harbour/contrib/xhb/xhbfunc.c * rewritten xhb_ains() and xhb_adel() in C * harbour/contrib/xhb/xhb.ch * changed AINS() conversion to be xHarbour compatible * harbour/contrib/xhb/Makefile + added xhb.ch to PRG_HEADERS so it's installed automatically during 'make install' * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbmsgs.c * harbour/contrib/xhb/xhbcomp.prg + added support for $ operator used with hashes and arrays on right side working _exactly_ like in xHarbour. + added support for negative indexes in used in [] operator for array and strings. Please remember that standard harbour build (without HB_COMPAT_XHB flag) generate warning for negative indexes, if you wan to pacify them then instead of var[-1] use var[(-1)] + added support for assign string characters with [] index. Please remember that for standard harbour build (without HB_COMPAT_XHB flag) you have to use -ks compile time switch if you want to assign strings in such way because this feature needs different PCODE, f.e. try to compile this code: proc main() local s:="ABC" s[(-1)] := "*" ? s return with and without -ks switch + added support for accessing hash items using OO interface, f.e.: proc main() local h:={"ABC"=>123.45,"XYZ"=>567.89} ? h["ABC"], h["XYZ"] ? h:ABC, h:XYZ h:ABC+=1000 h:XYZ:=-2000 ? h:ABC, h:XYZ return All of the above extensions are written in C code so the speed overhead is very small. Harbour evaluates PCODE faster then xHarbour so in speed tests where above operators are executed in loop without any other code the xHarbour results with native support are comparable with Harbour ones where above operators are overloaded using scalar classes so in normal code you should not find any difference with one exception for assigning characters in very long strings. 2007-09-25 19:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/xhbcomp.prg + Added "string as array" implementation. I didn't test it for 100% compatibility, but the base is there. One problem though that Harbour won't allow an zero or negative index even with the -ks switch. (I find the error useful though, so we should keep it, but allow it with a switch -ks?) 2007-09-25 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbcompat.ch * source/vm/arrayshb.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c + Added HB_ASCAN() to Harbour, which does the same as the plain AScan() in xhb. I decided to do this because we already had hb_RAscan() implemented, and having hb_Ascan() is good to keep symetry. * Modified xhb lib to use the Harbour one. * Translations moved to hbcompat.ch. - Removed HB_COMPAT_XHB from Harbour level array functions. 2007-09-25 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wafunc.c ! fixed typo which broke array returned by dbStrunct() 2007-09-25 00:55 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/xhb/xhbcomp.prg + added "[]" operator overloading for the HBCharacter type class: [n] : access assign is not implemented ( [n] := ) negative index is not implemented ( [-n] ) + added "$" operator overloading for the following type classes: HBCharacter : $ HBDate : $ HBLogical : $ HBNil : $ HBNumeric : $ ; all the new extended types, has a ::ClassName with the "HB" prefix. 2007-09-25 04:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/Makefile * contrib/xhb/xhbfunc.c + contrib/xhb/xhb.ch + contrib/xhb/xhbcomp.prg + Added xhb_AScan(), xhb_AIns(), xhb_ADel() plus defines to redirect extended AScan(), AIns(), ADel() calls to these functions. They need to be tested as I'm no xhb user. + Added compatibility header, which adds a the above translations and include hbcompat.ch. + Added INIT PROC xhb_Init() as a future place for xhb specific startup settings. ; TODO: - Add $ and [] operator overloading. - Add operator overloading for hash type. - Add a way hash API call to control the default flag hb_hashNew() uses, then add this default setting to the xhb libs INIT PROC. ; For better xhb compatibility, developers should add #ifndef __XHARBOUR__ #include "xhb.ch" #endif to every .prg file they use. + contrib/xhb/make_b32.bat + contrib/xhb/make_vc.bat + contrib/xhb/makefile.bc + contrib/xhb/makefile.vc + Added non-GNU makefiles for xhb lib. * include/hbcompat.ch + Added xhb compatibility translates for ENDSWITCH end friends. * source/rtl/scrollbr.prg * Minor formatting. 2007-09-25 03:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + harbour/contrib/xhb/xhbextrn.ch * harbour/contrib/xhb/Makefile * moved xHarbour compatible functions from hbextern.ch to xhbextrn.ch 2007-09-25 03:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/rtl/set.c * changed recently added hb_set*() functions to hb_setGet*() Please do not use these functions yet - it's possible that they will be removed soon. + added hb_setGetL(), hb_setGetCPtr(), hb_setGetNI(), hb_setGetNL() * harbour/contrib/libct/dattime2.c * harbour/contrib/samples/date.c * use hb_setGetCentury() instead of hb_setGetL( hb_set_century ) we do not have hb_set_century SET switch so hb_setGetL() cannot be used * harbour/harbour.spec * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/contrib/Makefile + harbour/contrib/xhb + harbour/contrib/xhb/hboutdbg.c + harbour/contrib/xhb/cstruct.ch + harbour/contrib/xhb/hblog.prg + harbour/contrib/xhb/hblog.ch + harbour/contrib/xhb/hblognet.prg + harbour/contrib/xhb/hbxml.c + harbour/contrib/xhb/hbxml.h + harbour/contrib/xhb/hbxml.ch + harbour/contrib/xhb/hblogdef.ch + harbour/contrib/xhb/hbctypes.ch + harbour/contrib/xhb/wintypes.ch + harbour/contrib/xhb/txml.prg + harbour/contrib/xhb/hbsyslog.c + harbour/contrib/xhb/cstructc.c + harbour/contrib/xhb/Makefile + harbour/contrib/xhb/cstruct.prg + harbour/contrib/xhb/xhbfunc.c + added XHB library with xharbour compatible functions borrowed from xHarbour. Now it contains HBLOG, HBXML, HBCSTRUCT, HASH, INET*() functions and classes. * harbour/source/rtl/itemseri.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/hbinet.c * harbour/source/vm/hashfunc.c * moved xHarbour compatible functions to XHB library * harbour/source/vm/classes.c + added support for ERROR HANDLER message in scalar classes * harbour/contrib/tip/mail.prg * harbour/contrib/tip/ftpcln.prg + added #include "hbcompat.ch" * harbour/include/hbdbferr.h + added new RT errors: EDBF_CREATE_TEMP, EDBF_WRITE_TEMP, EDBF_READ_TEMP * harbour/include/dbinfo.ch + added DBI_ENCRYPT, DBI_DECRYPT, DBI_MEMOPACK, DBI_DIRTYREAD + added DBOI_INDEXTYPE, DBOI_USECURRENT + added RDDI_LOCKRETRY, RDDI_DIRTYREAD * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/include/hbrddfpt.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for MEMOPACK, table ENCRYPT/DECRYPT, index DIRTYREAD * harbour/include/hbapirdd.h * harbour/include/dbstruct.ch * harbour/include/hbusrrdd.ch * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * changed HB_IT_* as field type to HB_FT_* + added field flags HB_FF_* + added support for new field types to core code * harbour/source/rdd/dbf1.c + added support for AUTOINC (+), ROWVERSION (^), TIME (T), DAYTIME (@) and MODTIME (=) fields * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h + added support for ROWVERSION (^), and MODTIME (=) fields * harbour/source/rdd/dbcmd.c ! fixed bug in dbSkipper() reported by Viktor + harbour/include/hbsix.ch * harbour/source/rdd/hbsix/Makefile * harbour/source/rdd/hbsix/sxdate.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c + harbour/source/rdd/hbsix/sxsem.c + harbour/source/rdd/hbsix/sxord.c + harbour/source/rdd/hbsix/sxredir.c + harbour/source/rdd/hbsix/sxfname.c + harbour/source/rdd/hbsix/sxtable.c + harbour/source/rdd/hbsix/sxutil.c + harbour/source/rdd/hbsix/sxcompat.prg + harbour/source/rdd/hbsix/sxtrig.prg + harbour/source/rdd/hbsix/sxini.prg + added SIx3 compatible functions: RDD_Count(), RDD_Name(), RDD_Info(), SetRDD(), sxChar(), sxNum(), sxDate(), sxLog(), Sx_DToP(), Sx_PToD(), Sx_BLOB2File(), Sx_File2BLOB(), Sx_Compress(), Sx_Decompress(), Sx_FCompress(), Sx_FDecompress(), Sx_AutoOpen(), Sx_AutoShare(), Sx_MemoExt(), Sx_MemoBlk(), Sx_SetMemoBlock(), Sx_MemoPack(), Sx_SetTrigger(), Sx_SetTrig(), Sx_DefTrigger(), Sx_INIheader(), _sx_INIinit(), _sxOpenInit(), Sx_SetPass(), Sx_Encrypt(), Sx_Decrypt(), Sx_DBFdecrypt(), Sx_DBFencrypt(), sx_MakeSem(), sx_KillSem(), sx_IsSem(), Sx_ClrScope(), Sx_SetScope(), Sx_Freeze(), Sx_Warm(), Sx_Chill(), Sx_Thermometer(), Sx_IsReindex(), Sx_Step(), Sx_KeysIncluded(), Sx_I_IndexName(), Sx_I_TagName(), Sx_IndexCount(), Sx_IndexName(), Sx_IndexType(), Sx_IndexFilter(), Sx_ROXLock(), Sx_ROXUnLock(), Sx_IsMyROX(), Sx_IsROXLock(), Sx_KeyAdd(), Sx_KeyDrop(), Sx_KeyData(), Sx_KeySkip(), Sx_KeyCount(), Sx_KeyNo(), Sx_KeyGoto(), Sx_WildSeek(), Sx_WildMatch(), Sx_IsFLocked(), Sx_IsReadOnly(), Sx_IsShared(), Sx_IsLocked(), Sx_IsDBT(), Sx_IDtype(), Sx_TableType(), Sx_TableName(), Sx_SetTurbo(), Sx_TurboArea(), Sx_SetDirty(), Sx_DirtyArea(), Sx_RLock(), Sx_UnLock(), Sx_GetLocks(), Sx_LockRetry(), Sx_SeekLast(), Sx_FindRec(), Sx_SkipUnique(), Sx_TagUnique(), Sx_TagCount(), Sx_TagOrder(), Sx_TagNo(), Sx_TagName(), Sx_TagInfo(), Sx_Tags(), Sx_SetTag(), Sx_SetTagOrder(), Sx_SetTagNo(), Sx_KillTag(), Sx_FileOrder(), Sx_SetFileOrd(), Sx_ClearOrder(), Sx_VSigLen(), Sx_VFGet(), Sx_dbCreate(), Sx_StrxCheck(), Sx_Rollback(), Sx_SortOption(), _sxCondSet(), Sx_FNameParser(), Sx_SlimFast(), Sx_Version(), Sx_Error(), + added SIx3 compatible commands: SET DIRTYREAD ON|OFF USE ... [TRIGGER ] [PASSWORD ] SORT ... USECURRENT WILDSEEK WILDSEEKNEXT CLEAR ORDER SET TAGORDER TO [] SET ORDER TO TAG <(tag)> [OF <(bag)>] SET TAG TO [ [OF <(bag)>]] REINDEX OPTION [STEP ] DELETE TAG <(tag1)> [OF <(bag1)>] [, <(tagN)> [OF <(bagN)>]] DELETE TAG ALL [OF <(bag)>] CLEAR SCOPE SET SCOPETOP TO [] SET SCOPEBOTTOM TO [] SET SCOPE TO [] SET TURBOREAD ON|OFF MEMOPACK [BLOCK ] [OPTION [STEP ]] SET MEMOBLOCK TO SUBINDEX ON TO <(file)> ; [OPTION [STEP ]] [FILTERON] [EMPTY] SUBINDEX ON TAG <(tag)> [OF <(bag)>] [TO <(bag)>] ; [OPTION [STEP ]] [FILTERON] [EMPTY] INDEX ON [TAG <(tag)>] TO <(bag)> ; [OPTION [STEP ]] [FILTERON] [EMPTY] [SUBINDEX] INDEX ON TAG <(tag)> [OF <(bag)>] [TO <(bag)>] ; [OPTION [STEP ]] [FILTERON] [EMPTY] [SUBINDEX] Unlike Ads*() functions the Sx_*() ones can be used with any RDD and will work if RDD supports necessary functionality. The global settings in SIx3 are RDD dependent in Harbour, f.e. in SIx3 Sx_MemoExt() change MEMO file extensions in all SIX* RDDs but in Harbour only in default RDD driver. In Harbour default trigger function "Sx_DefTrigger" is not enabled by default. If user needs such functionality then he has to enable it himself using rddInfo( RDDI_TRIGGER, "SX_DEFTRIGGER", [] ) f.e. this code: init procedure sx_inittrig() local aRDDs := { "DBF", "DBFNTX", "DBFCDX", "SIXCDX", ; "RMDBFNTX", "RMDBFCDX" } local aRDDList := RddList(), cRdd for each cRdd in aRDDs if ascan( aRDDList, { |x| x == cRdd } ) != 0 rddInfo( RDDI_TRIGGER, "SX_DEFTRIGGER", cRDD ) endif next return sets SX_DEFTRIGGER as default trigger in DBF* based RDDs. I still do not allow to encrypt tables with memo fields to not replicate SIx3 bugs which may cause data corruption. 2007-09-24 02:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole2/win32ole.prg * changed Invoke() method to work with core code compiled without HB_COMPAT_XHB * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rdd/dbcmd.c * code clean-up * harbour/include/hbset.h * harbour/source/rtl/set.c * code clean-up + added functions to access set parameters: hb_setAltHan() hb_setCentury() hb_setExtraHan() hb_setPrintHan() hb_setAlternate() hb_setAltFile() hb_setAutOpen() hb_setAutOrder() hb_setAutoShare() hb_setBell() hb_setCancel() hb_setColor() hb_setConfirm() hb_setConsole() hb_setDateFormat() hb_setDebug() hb_setDecimals() hb_setDefault() hb_setDeleted() hb_setDelimChars() hb_setDelimiters() hb_setDevice() hb_setEOF() hb_setEpoch() hb_setEscape() hb_setEventMask() hb_setExact() hb_setExclusive() hb_setExit() hb_setExtra() hb_setExtraFile() hb_setFixed() hb_setIdleRepeat() hb_setInsert() hb_setIntensity() hb_setPath() hb_setMargin() hb_setMBlockSize() hb_setMCenter() hb_setMessage() hb_setMFileExt() hb_setOptimize() hb_setPrinter() hb_setPrintFile() hb_setScoreBoard() hb_setScrollBreak() hb_setSoftSeek() hb_setStrictRead() hb_setTypeAhead() hb_setUnique() hb_setFileCase() hb_setDirCase() hb_setDirSeparator() hb_setVideoMode() hb_setWrap() hb_setDBFLockScheme() hb_setHardCommit() hb_setForceOpt() hb_setDefExtension() hb_setEOL() hb_setTrimFileName() This is compatible with recent modifications by Andi Jahja in xHarbour. 2007-09-22 21:43 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/thtml.prg * contrib/tip/cgi.prg * contrib/tip/httpcln.prg ! Fixed missing logical parameter on HB_HSetAutoAdd 2007-09-18 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added new commands for scalar classes: ASSOCIATE CLASS WITH TYPE ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL ENABLE CLASS TYPE ALL ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL Please remeber that: ENABLE CLASS TYPE ALL and: ENABLE TYPE CLASS ... can be used in any place of code - this commands are translated to REQUEST HB so are not executed * harbour/source/vm/classes.c + added __clsAssocType( , ) => * harbour/common.mak * harbour/source/rtl/tscalar.prg * harbour/source/rtl/Makefile + harbour/source/rtl/tscalars.c + harbour/source/rtl/tscalard.c + harbour/source/rtl/tscalarh.c + harbour/source/rtl/tscalarl.c + harbour/source/rtl/tscalarp.c + harbour/source/rtl/tscalara.c + harbour/source/rtl/tscalaru.c + harbour/source/rtl/tscalarb.c + harbour/source/rtl/tscalarn.c + harbour/source/rtl/tscalarc.c + added scalar classes for basic types, Now it's possible to define messages also for basic item types. It's even possible to overload some not defined in HVM operators, f.e. in this example we overload operator "+" so it makes AADD( , ) for code like + : #include "hbclass.ch" PROC MAIN() LOCAL a:={} ASSOCIATE CLASS MyArray WITH TYPE ARRAY a := a + "elem1" a += "elem2" a := a + "elem3" a += "elem4" ? a:asString, a:isScalar AEVAL(a,{|x,i|QOUT(i,x)}) RETURN CREATE CLASS MyArray INHERIT __HBArray OPERATOR "+" ARG xValue INLINE AADD( Self, xValue ), Self ENDCLASS Operators which have default actions for given types defined in HVM cannot be overloaded. 2007-09-18 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/hvm.c + added hb_clsDoInit() function to initialize classy .prg functions * harbour/source/compiler/complex.c * allow to use NIL as class name * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh % optimize automatically var[0] declaration and generate the same PCODE as for var:={} * harbour/source/rtl/tscalar.prg + added HASH, POINTER and SYMBOL scalar classes * changed NIL class to not use any instance variables * harbour/source/vm/classes.c + added support for scalar classes. Now at startup classy code looks for hb functions and try to execute them to register scalar classes. It's Class(y) compatible behavior and only the prefix of scalar ceases class function is different: 'CSY' in class(y) and 'HB' in Harbour, f.e.: hbNumeric() If you prefer xHarbour like not automatic scalar class registration with some PP commands: ASSOCIATE CLASS WITH TYPE ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL ENABLE CLASS TYPE ALL ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL WITH METHOD Then I can replace current code with it. If not then we should divide scalar cases definitions into separated files to allow easier overloading. I'm interesting in your opinions. 2007-09-17 18:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowsys.prg * source/rtl/getsys.prg * source/rtl/tbrowse.prg ! Some rearrangements to avoid including the C5.3 compatible (and yet to be implemented) bloat in tbrowsys.prg 2007-09-17 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/rto_get.prg * tests/rto_tb.prg * source/rtl/gui.prg + source/rtl/tbrowsys.prg * source/rtl/tmenusys.prg * source/rtl/menusys.prg * source/rtl/tscalar.prg * source/rtl/tbrowse.prg + Added missing file from previous commit. + Set Id keyword and eol-style to native on newly added files. 2007-09-17 12:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tscalar.prg ! Some fixes for previous commit regarding scalar classes. 2007-09-17 12:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak + source/rtl/tbrowsys.prg * source/rtl/Makefile * source/rtl/getsys.prg * source/rtl/tbrowse.prg + Added new file for C5.3 TB*() functions. Most of them is dummy, a few of them were moved here from existing files. * include/hbextern.ch + Added rest of C5.3 TB*() functions. * source/rtl/teditor.prg ! Fixed new scope violations reported by Guillermo. * source/rtl/tbrowse.prg + :border implemented (to be tested). ! :setColumn() return value fixed, NOTE added. ! Non-character :picture handled properly. (to be tested for full compatibility) % Some optimizations. - :TApplyKey() removed (it is not a C5.3 method) ; Some source cleanup and other changes. ; Work in progress. * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/tscalar.prg - source/rtl/array.prg - source/rtl/block.prg - source/rtl/characte.prg - source/rtl/date.prg - source/rtl/logical.prg - source/rtl/nil.prg - source/rtl/numeric.prg - source/rtl/scalar.prg + Consolidated scalar classes to one file. + Minor optimizations and cleanup done on files. + Class function names now consistently HB*() (was non-Class(y) compatible and a mixed list of plain unprefixed class names and class names prefixed with an underscore). Notice however that Class(y) has only CsyArray() defined in its own library, the rest was seemingly made only available as additional source code. ! Fixed NIL class to be named NIL (was _NIL). % Some unneeded MESSAGE redirections removed. % LOCAL var[0] -> LOCAL var := {}. This results in better pcode. + Added all these symbols to hbextern.ch * source/rtl/symbol.prg * Some cleanup. ; I believe this should be named HBSymbol() and added to hbextern.ch 2007-09-16 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbopt.c ! fixed bad typo in last modification - thanks to Viktor * added additional line number validation to not make optimizations which will change line numbers 2007-09-16 20:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowse.prg ! C5.x compatible fix for non-numeric values inside the defColor array or the one returned by colorBlock. 2007-09-16 18:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowse.prg ! Another fix for TBrowse() full color compatibility. 2007-09-16 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libct/makefile.vc * Some alignment. * source/rtl/listbox.prg ! Using manifest constant. * source/rtl/tbrowse.prg ! Some final fixes for full color compatibility. * source/common/hbver.c + Added NOTE about what CA-Cl*ppers are returning for Version(). 2007-09-15 22:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() macros * harbour/source/rdd/wafunc.c * changed FIELD->, _FIELD->, -> stripping from expressions to respect shortcuts * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbopt.c * jump joining optimization changed to work also for code with line numbers 2007-09-15 13:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowse.prg ! Color handling made fully C5.x compatible. Pls test. + One C5.3 bug replicated where no special header/footer colors are being used if there is not header/footer separator specified. ! Fixed compile error (because of unused var warning) when HB_COMPAT_C53 is not defined. ! Fixed recently introduced vertical header aligning. * source/rtl/numeric.prg * source/rtl/memoedit.prg * source/rtl/typefile.prg * source/rtl/block.prg * source/rtl/symbol.prg * source/rtl/errorsys.prg * source/rtl/scalar.prg * source/rtl/nil.prg * source/rtl/radiogrp.prg * source/rtl/logical.prg * source/rtl/array.prg * source/rtl/listbox.prg * source/rtl/browse.prg * source/rtl/characte.prg * source/rtl/pushbtn.prg * source/rtl/ttextlin.prg * source/rtl/profiler.prg * source/rtl/date.prg * source/rtl/persist.prg * source/debug/dbgbrwsr.prg * source/debug/tbrwtext.prg * source/debug/dbgtmenu.prg + Enabled "PROTECTED:" keyword in profiler.prg * Finished CLASS declarations to use a more or less consistent syntax inside Harbour (Class(y) compatible except SETGET and the METHOD parameter lists, maybe some more). * Finished WHILE, iif(), END, string quotation to be consistent along Harbour. ! Fixed some indentations. * Some other minor cleanups. 2007-09-14 18:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tbrowse.prg ! Fixed cell color. This was needed because the oCol:colorBlock() now always contains a block (it cannot be NIL) to be CA-Cl*pper compatible, so the logic had to be adjusted in :DispCell() accordingly. 2007-09-14 07:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsxdef.ch * harbour/contrib/pdflib/pdflib.h * harbour/source/rtl/tbrowse.prg * harbour/samples/pe/editorlo.c * converted TABs to SPACEs 2007-09-13 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/make_c5x.bat + added alternative results for oGet:colorspec compatible with CL53 when HB_COMPAT_C53 macro is set 2007-09-13 20:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/run_prg.bat * harbour/tests/gnu_test.bat * harbour/tests/run_test.bat * harbour/tests/bld4dll.bat * harbour/doc/genhtm.bat * harbour/bin/bld.bat * harbour/bin/postinst.bat * harbour/bin/bld_b32.bat * harbour/bin/bld_b16.bat * harbour/bin/bld_vc.bat * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_gnu.bat * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/ole2/make_b32.bat * harbour/contrib/directx/buvcdx.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/runjava/bld_java.bat * harbour/contrib/runjava/make_vc.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * harbour/utils/hbextern/make_c5x.bat * harbour/utils/hbpptest/compare.bat * harbour/utils/hbtest/make_c5x.bat * harbour/utils/hbtest/make_xpp.bat * harbour/samples/guestbk/bld_b32.bat * harbour/samples/hscript/makehtm.bat * harbour/samples/hscript/bld_b32.bat * set svn:eol-style to CRLF 2007-09-13 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * variable name clean-up 2007-09-13 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbsxdef.ch * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c + added SIx3 compatible triggers support They should work like in SIx3 with some intentional excpetions: 1) if 4-th parameter exists (PREUSE/GET/PUT) then it's passed by reference otherwise is not passed at all and PCOUNT() in trigger functions returns 3 SIx3 do not pass 4-th parameter by reference and if it not exist then passes 0 2) EVENT_POSTCLOSE is executed after SUPER_CLOSE() SIx3 executes EVENT_POSTCLOSE just before SUPER_CLOSE() 3) EVENT_UPDATE is executed _ALWAYS_ when DBF is updated also when WA does not have open indexes SIx3 executes EVENT_UPDATE only when at least one index is open without checking if it's updated or not 4) EVENT_POSTUSE is executed from OPEN() method in "DBF" RDD not from index RDDs so before the indexes are open SIx3 executes EVENT_POSTUSE after opening indexes It's possible that I'll change this condition in the future 2007-09-13 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * makefile.vc * makefile.gc * makefile.bc * config/rules.cf + Using Harbour -kM switch when building Harbour itself. (this switch will turn off macro substitution in string literals.) 2007-09-13 13:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/rto_get.prg * Changes missed from previous commit. 2007-09-13 10:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/debug/debugger.prg ! Fixed scope violation in debugger by creating a new :Get() method for HBGetList(). ! Fixed some minor issues. % Minor optimization. Like dropping HBGetList():ReadExit() which was just a wrapper to SET( _SET_EXIT ). ! Replaced a few remaining external HBGetList() var accesses with :ReadStats() calls. ! TGetList():GetApplyKey() parameter list rearranged after yesterday to keep it compatible with previous versions. This also avoids a crash in the debugger. 2007-09-13 04:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/memoedit.prg * source/rtl/teditor.prg * source/debug/tbrwtext.prg + HBEditor():RefreshWindow() renamed to :display() old message name kept for compatibility. + HBEditor():hitTest() added. + HBEditor():changed() added. (returns internal ::lDirty) * source/rtl/getlist.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg ! Fixes for UI problems reported by Lorenzo and more. Mostly from xhb. + ReadModal() core functionality moved inside HBGetList() + ReadStats() functionality moved inside HBGetList() + All HBGetList() vars made protected. + Cleaned up the .prg and class interfaces. ! Fixed crashes of several GETSYS compatibility functions, when no getlist was active. We're still not fully C5.x compatible though. * source/rtl/tmenusys.prg + Uses ReadStats() instead of direct HBGetList() var access. * source/rtl/tbrowse.prg ! :hitTest() fixed. * source/rtl/tget.prg ! Minor fixes to :capCol() and :capRow() * source/rtl/checkbox.prg * source/rtl/listbox.prg * source/rtl/menuto.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * Formatting (some varnames uniformized). 2007-09-12 19:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tget.prg ! :HitTest() crash fix. ! :HitTest() made more compatible. + Added proper wrappers for undocumented C5.3 vars. + Added support for Caption. + Added support for C5.3 color handling (it's quite ugly, but it's on by default). ; Some snippets from xhb but heavily fixed. * source/rtl/scrollbr.prg * source/rtl/tpopup.prg * source/rtl/radiogrp.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * source/rtl/tget.prg * source/rtl/ttopbar.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg % __GUIColor() -> hb_ColorSelect() 2007-09-12 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * changed default UNSELECTED collor from W/N to N/W 2007-09-12 12:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/teditor.prg * source/rtl/tbrowse.prg ! Fixed to assign SetColor() in New() rather than in INIT. (INIT value gets evaluated and stored on first class usage, not on every instantiation.) * source/rtl/tget.prg * tests/rto_get.prg + Added Harbour extensions: :hideInput (logical value) :style (1 char long string to control mask character when :hideInput is .T.) QUESTION: Is there any need to support multiple hiding styles? (like always fully masked or masked with random chars?) ! Fixed several bugs in SET DELIMITERS handling. (color, focus behaviour, "caching", positioning) + Added test cases for SET DELIMITERS issues. 2007-09-12 11:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c + added two new members to DBFAREA structure: fModStamp and fTrigger * harbour/include/hbrddntx.h * harbour/include/hbrddcdx.h * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * updated for DBFAREA structure modifications * harbour/contrib/libct/ctnet.c * use hb_stricmp() instead of stricmp() * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c * updated for DBFAREA structure modifications + added some very basic support for order temperature flags 2007-09-12 08:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/getsys.prg ! Fix for crash in TGetList():ShowGetMsg() reported by Lorenzo. * contrib/libct/blank.prg * source/rtl/menuto.prg * source/rtl/valtoexp.prg * source/rtl/readkey.prg * source/rtl/browse.prg * source/debug/debugger.prg + Replaced END with ENDSWITCH and ENDWITH 2007-09-12 02:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/std.ch * cover ENDSEQUENCE translation with HB_C52_STRICT macro + added translations for END SWITCH, END WITH, END OBJECT * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh + added support for ENDSEQ[UENCE], ENDSW[ITCH] and ENDW[ITH] * harbour/source/rtl/hbgtcore.c ! changed string to color number translation to be fully Clipper compatible. Now I do not know any examples which we translate differently - if someone will find any them then please inform me. The only one intentional difference between Harbour and Clipper is in color number to string translation and background highlighting attribute "*", Clipper put it just before "/" as part of foreground color (f.e.: 248 => "N*+/W") but Harbour as part background color (f.e.: 248 => "N+/W*") - Clipper compatible behavior is enabled when Harbour is compiled with HB_C52_STRICT macro * harbour/utils/hbtest/rt_misc.prg * control the position of background highlighting attribute (*) in expected results depending on HB_C52_STRICT. Harbour passes correctly all included color translation tests. 2007-09-11 23:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/hbgtcore.c ! Fixed handling of some strangely formatted colorstrings mainly inside TGet(). The low-level functionality modified is the colorstring to number conversion. The only change is to continue (and not exit) on a non-std char. * utils/hbtest/rt_misc.prg + Added some color string parsing tests. Some of them fail. * source/rtl/achoice.prg * source/debug/debugger.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * Formatting. 2007-09-11 15:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/rto_get.prg * source/rtl/tget.prg ! Fixed display issue when using display->varput->display sequence. (Thanks Lorenzo) + Above case added to test suite. * source/rtl/tbrowse.prg + Some scattered logic moved inside :Configure() + Some TOFIXes added. ! ::ColorSpec() to call Configure(). * source/debug/dbgtobj.prg * source/debug/dbgwa.prg + Formatting, var name cleanup. 2007-09-11 00:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbcompat.ch * include/hbextern.ch * source/rtl/hbini.prg + .ini functions added to hbextern.ch. * .ini functions renamed so that all of them reside in the hb_ini*() namespace. xhb compatibility translates added. * source/debug/debugger.prg * Formatting. * source/rtl/teditor.prg % Minor optimization. * source/rtl/memoedit.prg ! Fixed to not ask for confirmation when pressing on an unedited buffer. 2007-09-10 22:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libct/ctnet.c * contrib/libct/dattime2.c * contrib/samples/date.c * contrib/bmdbfcdx/bmdbfcdx1.c * Changed hb_set.* access to hb_setGet*() in all contrib code. * source/rtl/hbini.prg + Further cleanup. 2007-09-10 22:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbtoken.c ! fixed bad typo in hb_tokenCount() * minor code cleanup 2007-09-10 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * changed HB_TR_ALWAYS to HB_TR_DEBUG in two places and removed some old comment for which Brian received answer from ExtSys 2007-09-10 19:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * declare hb_set with HB_EXPORT attribute when HB_SET_IMPORT macro is not set - it's temporry modification and it will be removed when we will have real hb_setGet*() and hb_setPut*() functions. 2007-09-10 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_IMPORT macro * harbour/include/hbset.h * declare hb_set with HB_IMPORT attribute when HB_SET_IMPORT macro is set + added macros to retrieve information from hb_set structure: hb_setGetCPtr(), hb_setGetNI(), hb_setGetNL(), hb_setGetL() In the future these macros will be replaced by functions and direct access to hb_set structure from non core code will be forbidden so please update your code and and replace all hb_set.HB_SET_* with hb_setGet*( HB_SET_* ) f.e. replace: hb_set.HB_SET_SOFTSEEK with: hb_setGetL( HB_SET_SOFTSEEK ) I'll also add hb_setPut*() functions to assign some set values. Both hb_setGet*() and hb_setPut*() functions will validate parameters and in future MT mode will operate on global or thread local structures. * harbour/contrib/rdd_ads/ads1.c * define HB_SET_IMPORT before #include "hbset.h" * use hb_setGet*() to access SET values 2007-09-10 17:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/source/rdd/workarea.c * renamed RDDI_TRIGGERS to RDDI_TRIGGER + added RDDI_PENDINGTRIGGER, RDDI_PENDINGPASSWORD, DBI_TRIGGER, DBI_OPENINFO * do not generate RT error in WA default ORDERINFO() method * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbini.prg + added HB_ReadIni()/HB_WriteIni() - code by Giancarlo Niccolai borowed from xHarbour with some minor fixes 2007-09-10 12:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/color53.prg + Added HB_COMPAT_C53 guards. * source/rtl/tgetlist.prg + Two new methods to return Self rather than NIL. * source/rtl/einstvar.prg + Added HB_C52_STRICT branch. * source/rtl/tbrowse.prg + Continued prev. changes. 2007-09-10 03:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/scrollbr.prg * source/rtl/tpopup.prg % Removed two no more needed classname override lines. 2007-09-10 03:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/color53.prg ! Fixed ApplyDefau(). % Optimized. * source/debug/tbrwtext.prg ! Minor formatting. * source/rtl/memoedit.prg ! Variable name cleanup. * source/rtl/memoedit.prg * source/rtl/symbol.prg * source/rtl/color53.prg * source/rtl/teditor.prg * source/debug/dbgthsh.prg * source/debug/dbgtarr.prg ! "=" operators changed to ":=" (or "==" as per context) 2007-09-10 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tgetlist.prg ! Fixed two typos in previous commit. * source/debug/dbgtobj.prg * source/debug/dbgthsh.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * Further formatting, cleanup, minor optimizations. + Added Ctrl+PgUp/PgDn + Ctrl+Home/End everywhere as synonyms to Home/End. 2007-09-09 19:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/setcurs.ch * include/hbapigt.h * SC_UNDEF moved to .prg level. ! SC_* defs not duplicated on C level. * include/hbcompat.ch + Added debugger class compatibility translations. * source/rtl/tmenusys.prg * source/rtl/menusys.prg * Formatting. * source/rtl/teditor.prg * source/debug/debugger.prg + Added :RowPow(), :ColPos(), :IsWordWrap(), :WordWrapCol() ! Changed debugger to use the above methods instead of direct instance var access. * source/rtl/tbcolumn.prg * source/rtl/tget.prg * source/rtl/tbrowse.prg ! Public class initializator names hidden when in strict (and non-XPP) mode. * source/rtl/tbrowse.prg + Some work in progress towards better C5.x compatibility (borrowed from xhb) ! Fixed crash in TBMouse() (due to recent changes) (Thanks to Guillermo) * source/rtl/getsys.prg * source/rtl/tgetlist.prg + (Better) C5.3 message line support, several 5.3 fixes, some of them borrowed from xhb. * include/hbcompat.ch * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg ! Class names named to be in the Harbour namespace. xhb compatibility translations added to hbcompat.ch ! Unneeded BEGINDUMP and .h inclusions removed. ! Added :End() to HBBrwText to avoid using some internals vars of the class. ! Fixed problem with HBDebugger:SaveAppScreen() where it crashed due to wrong initialization order of TBrowse() screen coordinates. Bug appeared due to the now more compatible TBrowse() behaviour. ! Locally used function (named ShowTopic()) made STATIC. % Optimizations and cleanups. % Unused vars/functions removed. * Formatting (except large parts of debugger.prg and those files which were okay). ; Majority of formatting, optimization and code cleanup work is still left to do. 2007-09-08 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * updated comment * harbour/contrib/rdd_ads/ads1.c * replaced hb_itemGetPtr(hb_param(n,HB_IT_POINTER)) with hb_parptr(1) * harbour/contrib/hbzlib/hbcomprs.c * changed variable name: PHB_FNAME fDirSpec to PHB_FNAME pDirSpec * harbour/source/rdd/dbcmd.c ! fixed parameter checking in OrdNumber() to generate Clipper compatible RT error * code cleanup * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * do not evaluate KEY expresion in custom indexes in KEYDEL operation. It may interact with MULTIKEY/TEMPLATE indexes. * updated default order in DBOI_BAGNUMBER and DBOI_BAGORDER 2007-09-07 12:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch ! Fix of some corrected public function names. 2007-09-07 03:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/Makefile * tests/rto_get.prg + tests/rto_tb.prg * include/button.ch * include/hbextern.ch * common.mak * source/rtl/Makefile - source/rtl/mssgline.prg + source/rtl/gui.prg + source/rtl/menusys.prg + source/rtl/tmenusys.prg * source/rtl/checkbox.prg * source/rtl/einstvar.prg * source/rtl/getlist.prg * source/rtl/getsys.prg * source/rtl/listbox.prg * source/rtl/memoedit.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/teditor.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/tlabel.prg * source/rtl/tmenuitm.prg * source/rtl/tpopup.prg * source/rtl/treport.prg * source/rtl/ttopbar.prg ; These changes mainly targeted the .prg level UI classes of Harbour. + Code standardization, cleanup, formatting. (formatting is not fully complete yet) ! Lots of compatibility fixes. ! Lots of bugfixes (crashes, wrongly passed parameters, etc). ! Minor fix in one of the methods of HBReportForm() - Non-Clipper classes removed (the MENUSYS/msgline related ones). ! Some fixes adapted from xHarbour's TBrowse() + Class VARs properly scoped. + TBColumn() is now fully compatible. * The mess in the TTopBar and related classes was cleaned up, some small non-Clipper compatible classes were removed and a new TMenuSys class was created of the related parts. % Optimizations. + TBrowse/TBColumn regression test suite added (far from complete at this point). ; NOTE: No C5.3 GUI support is implemented in Harbour. ; NOTE: Harbour uses Disp*() functions in UI functions to update screen. C5.x uses a mixture of Dev*(), Q?Out() and Disp*(). ; NOTE: TBrowse() fixing is still a work in progress. ; Please test. 2007-09-06 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/set.c ! fixed typo in SET name 2007-09-06 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use for teraterm Linux controle codes * harbour/source/rtl/filesys.c * harbour/source/rtl/file.c ! fixed GPF trap which appeared after my last modifications 2007-09-05 16:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * replaced CVS checkout commands by SVN checkout # This script checks you have all tools to build Harbour binaries # installed then takes current Harbour sources from SourceForge SVN # repository and build binary RPMs at your local host If possible I think it will be good to put this script on Harbour home page so Linux users using RPM based distributions can simply download it and execute. It should greatly help them and it will reduce some repeated questions. * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c + added hb_fsNameConv() function, hb_fileNameConv() kept only for backward compatibility - it should not be used * use hb_fsNameConv() instead of hb_fileNameConv() * updated conversion code to use hb_fsFNameSplit()/hb_fsFNameMerge() and respect some other DOS like conditions * harbour/include/hbdate.h * harbour/source/common/hbdate.c * harbour/source/rtl/seconds.c * use MT safe localtime_r() instead of localtime() in Linux + hb_dateTimeStamp(), hb_timeStampStr(), hb_timeStampDecode(), hb_dateTimeStampStr(), hb_dateTimeStampStrGet() * harbour/contrib/libct/files.c * harbour/contrib/libct/disk.c * harbour/contrib/hbzlib/hbcomprs.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/file.c * use hb_fsNameConv() instead of hb_fileNameConv() * harbour/source/debug/dbgentry.c + added modifications by Phil Krylow borowed from xHarbour for supporting :: in command line expressions * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/sdf1.c * minor clenup: use hb_parptr(n) instead of hb_itemGetPtr(hb_param(n,HB_IT_POINTER)) 2007-09-03 01:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/apollo/makefile + harbour/contrib/apollo/Makefile * renamed * harbour/contrib/apollo/test/apollo.ch * harbour/contrib/pgsql/postgres.c * harbour/contrib/htmllib/errorsys.prg * harbour/contrib/adordd/adordd.ch * converted TABs to SPACEs 2007-09-02 17:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/tests/codebl.prg * harbour/tests/testprof.prg * harbour/tests/keywords.prg * harbour/tests/testpp.prg * harbour/make_rpm.sh * harbour/makefile.gc * harbour/bin/hb-mkslib.sh * harbour/include/hbexpra.c * harbour/include/hbmath.ch * harbour/include/hbrddntx.h * harbour/include/hbexprb.c * harbour/harbour.spec * harbour/contrib/dot/pp.prg * harbour/contrib/libct/ctwin.c * harbour/contrib/ole2/w32ole.c * harbour/contrib/hgf/win32/win32.c * harbour/contrib/mysql/mysql.ch * harbour/contrib/odbc/todbc.prg * harbour/contrib/odbc/sql.ch * harbour/contrib/hb_struc/hbstruc.ch * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * harbour/contrib/msql/msql.ch * harbour/contrib/msql/readme.txt * harbour/source/pp/ppcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtxwc/gtxwc.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/itemseri.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/tget.prg * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/hbinet.c * harbour/source/vm/hvm.c * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgwa.prg * harbour/source/common/expropt2.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpptest/pp_test.prg * harbour/utils/hbpptest/pretest.prg * harbour/make_tgz.sh * converted TABs to SPACEs 2007-09-01 16:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added some new translation rules * harbour/source/vm/proc.c * fixed buffer size to protect against possible overflow 2007-09-01 14:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbhex.c * replaced TAB by spaces 2007-08-31 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added some reverted translation rules for xHarbour * harbour/source/rtl/hbhex.c ! fixed HB_HEXTOSTR() - I had really bad day, sorry 2007-08-31 18:01 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/rtl/hbhex.c * fixed typo in HB_STRTOHEX() * harbour/source/vm/extend.c * code optimisation 2007-08-31 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbhex.c + added HB_HEXTOSTR() and HB_STRTOHEX() - they are compatible with HEXTOSTR() and STRTOHEX() in xHarbour * harbour/include/hbcompat.ch + added translations for HB_HEXTOSTR(), HB_STRTOHEX() * harbour/include/hbextern.ch + added new functions * harbour/contrib/libct/ctextern.ch * updated function list 2007-08-31 03:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/dircmd.prg * changed STOD() to HB_STOD() 2007-08-31 03:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c + added hb_dynsymIsFunction() * harbour/source/rtl/filehb.c * updated comment * harbour/source/rtl/philes.c * renamed HB_F_EOF() to HB_FEOF() * harbour/source/rtl/scroll.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/file.c * formatting * harbour/source/rtl/substr.c * harbour/source/rtl/trim.c % optimization * harbour/source/rtl/typefile.prg % use HB_ATOKENS() instead of static .prg function * harbour/source/rtl/setkey.c % optimization and protection aganst possible GPF when wrong array is passed to HB_SETKEYSAVE() * harbour/source/rtl/xhelp.c ! do not generate RT error when HELP symbol exist (f.e. after PUBLIC HELP) but HELP() function doesn't ! keep reference in parametes passed by reference to __XHELP() * use only PHB_DYNS instead of PHB_SYMB * harbour/source/rtl/seconds.c + added WIN32 version borrowed from XHARBOUR * harbour/source/rtl/trace.c ! protection against possible GPF when wrong parameters are passed * harbour/source/rtl/samples.c ! protection against possible GPF when wrong parameters are passed Warning! We have in this file few functions without HB_ prefix. Some of them may create conflicts with future functions for TIMEDATE items. * harbour/source/rtl/inkey.c + added support for passing array with key codes as __KEYBOARD() parameter, covered by HB_EXTENSION macro - this is xHarbour compatible extension. I do not like it but we already had extension with numeric parameters and probably it would be hard to remove it now and keep __KEYBOARD() code clean so I decided to add support also for arrays instead of creating new function and adding conditional code covered by HB_COMPAT_XHB macro. * harbour/source/rtl/setfunc.prg * accept extended __KEYBOARD() parameters when HB_EXTENSION macro is set. 2007-08-30 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * repeated -ldl at the end of linked library list in linux for fullstatic builds 2007-08-30 03:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/rtl/console.c * changed hb_conOutAlt() from static to global function. * harbour/include/hbapi.h * harbour/source/common/hbver.c + added hb_verBuildDate() * harbour/source/rtl/accept.c ! Fixed ACCEPT to respect SET CONSOLE and similar sets. * harbour/source/rtl/hbgtcore.c * harbour/contrib/libct/ctwin.c ! fixed chr(8) console output - it should erase character on the screen * harbour/include/set.ch * harbour/include/hbset.h * harbour/source/rtl/set.c * harbour/source/rtl/filesys.c + added _SET_TRIMFILENAME - when enabled low level hb_fs*() functions strip trailing and leading spaces from file names to emulate DOS like behavior - switch compatible with xHarbour * harbour/source/rtl/run.c * remove compiler type checking - if system() is not supported by some platform/compiler then I'd prefer to exclude it explicitly. * harbour/source/rtl/dircmd.prg + added support for extended DBF types and replaced some of Bin2W() by ASC() * harbour/source/rtl/defpath.c * use OS_HAS_DRIVE_LETTER macro to detect if platform supports drive letters * harbour/source/rtl/philes.c + added HB_FCOMMIT(), HB_OSERROR(), HB_OSDRIVESEPARATOR() Question: why we have HB_F_EOF() instead HB_FEOF() * harbour/source/rtl/oldbox.c * harbour/source/rtl/box.c ! fixed __BOX() to be Clipper compatible * harbour/source/rtl/math.c * harbour/source/rtl/dateshb.c * formatting and some minor improvements * harbour/source/rtl/isprint.c * harbour/source/vm/itemapi.c * harbour/source/rtl/ampm.c * harbour/source/rtl/inkey.c * harbour/source/rtl/gete.c * harbour/source/rtl/fkmax.c * harbour/source/rtl/langapi.c * harbour/source/rtl/colorind.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/readvar.prg * harbour/source/rtl/devoutp.prg * harbour/source/rtl/readkey.prg * code checking and formatting ! some minor fixes % some speed improvements * harbour/source/rtl/menuto.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * code checking and formatting ! added fixes borrowed from xHarbour ! some other fixes % some speed improvements * harbour/source/rtl/filehb.c + added commment * harbour/source/rtl/transfrm.c ! fixed integer numbers transformation when _SET_FIXED is on to be Clipper compatible * harbour/source/rtl/version.c + added HB_PCODEVER() and HB_BUILDDATE() * harbour/source/rtl/copyfile.c ! fixed __COPYFILE() - source and destination files should respect _SET_DEFAULT 2007-08-28 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * formatting * harbour/source/rtl/disksphb.c ! fixed typo in numeric drive parameter, now 1->A, 2->B, ..., 0->default * extract drive letter only when second letter in path is OS_DRIVE_DELIMITER 2007-08-28 03:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c ! casting for C++ compilers * harbour/source/rtl/hbinet.c * added hack for unimplemented in Linux OpenWatcom version h_errno and hstrerror() * harbour/source/rtl/hbregex.c * harbour/source/hbpcre/pcreglob.c * harbour/contrib/btree/hb_btree.c * workaround for C/C++ compilers which may use different calling convention for standard C functions 2007-08-27 17:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * use statvfs() instead of statfs() in *nixes - unlike statfs() statvfs() is documented POSIX function * respect superuser status in calculating free space in DISKSPACE() * respect _SET_FILECASE, _SET_DIRCASE in HB_DISKSPACE() * accept numeric parameter with driver number in systems which supports drive letters * harbour/source/rtl/binnum.c * harbour/source/rtl/binnumx.c * force positive return value in BIN2W() and BIN2U() 2007-08-26 18:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.gc * Added a DIRTY hack for Windows systems to allow building either CONSOLE or GUI programs with gcc. A new library libmainstd.a is created. This library should be added to a link libraries if programs are CONSOLE based. 2007-08-25 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c * harbour/source/vm/extend.c ! fixed hb_stor*() functions return value to be Clipper compatible. These functions should return 1 _ONLY_ when the operation is really successful; otherwise, they return zero. + added hb_storclen_buffer(), hb_arraySetPtrGC() * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/dos/rsx32.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/gcc.cf * harbour/config/w32/rsxnt.cf + added rtl library after gt drivers for linker which do not support backward references 2007-08-24 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbdot/hbdot.prg * some minor modifications for GT drivers which allow to change the size of console window * changed the order of requested GTs for CYGWIN builds 2007-08-24 20:35 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.gc ! Fixed compilation of hbverfix * harbour/make_gcc.gc * Changed the way CC and LD envvars are set 2007-08-24 14:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/debian/hbdot.1 * harbour/debian/rules + added man page for hbdot 2007-08-24 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbdot/hbdot.prg ! fixed typo in history updating 2007-08-24 03:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * harbour/source/vm/runner.c * code cleanup 2007-08-23 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * enable automatic LF->CR+LF translation on TTY device * harbour/utils/hbdot/hbdot.prg * do not clear screen when hbdot executed with -h or --help switch * harbour/utils/hbtest/hbtest.prg * use stdout() instead of fwrite(1,) - now GT driver can catch and redirect output if necessary 2007-08-23 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * set cursor position at beginning of new line on application exit * harbour/include/hbextern.ch + added missing functions (CDPs, LANGs, HSX, ...) * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile + added codepage library 2007-08-23 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added new GT method: SEMICOLD() * harbour/source/rtl/gtxwc/gtxwc.c * use SEMICOLD() for late console window initialization * harbour/source/rtl/gttrm/gttrm.c * use SEMICOLD() to not erase startup screen contnts. Now applications which uses GTTRM and only simple QOUT()/QQOUT() output will work like with GTSTD. It means that in *nixes we can use GTTRM as default GT driver for all Harbour utilities. * harbour/make_gcc.sh * harbour/make_tgz.sh * harbour/harbour.spec * changed default GT driver for *nixes from to GTSTD to GTTRM 2007-08-23 02:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/watcom.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/global.cf * harbour/config/dos/rsx32.cf * harbour/config/dos/djgpp.cf * harbour/config/linux/owatcom.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/os2/global.cf * harbour/config/sunos/global.cf * harbour/config/bsd/gcc.cf * harbour/config/bsd/global.cf * harbour/config/w32/msvc.cf * harbour/config/w32/owatcom.cf * harbour/config/w32/watcom.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/xcc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/global.cf * harbour/config/w32/mingw32.cf + added support for linking with all GT libraries - please test * harbour/makefile.gc * removed system screen libraries - they are set by make_gcc.sh * harbour/bin/pack_src.sh + added HBDOT * harbour/harbour.spec * harbour/make_tgz.sh * replaced PP with HBDOT 2007-08-22 22:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/makefile.gc * harbour/common.mak * always pass all GT libraries to linked library list so compiled programs can use REQUEST HB_GT_* + added HBDOT 2007-08-22 19:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/pp/ppcore.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/main/harbour.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbcmplib.c * harbour/source/compiler/ppcomp.c * added 'const' to some 'char *' declarations + added hb_pp_inBuffer() + extended hb_compMain() to accept source code passed as ASCIIZ string + .prg function HB_COMPILEFROMBUF() + added support for -q2 compiler switch - it disables _ALL_ stdout/stderr messages * harbour/utils/Makefile + harbour/utils/hbdot + harbour/utils/hbdot/hbdot.prg + harbour/utils/hbdot/Makefile + added hbdot utility program. It's a "DOt Prompt" Console for the Harbour Language Syntax: hbdot [ []] It should look and work in similar way to pp/xBaseScript by Ron Pinkas but unlike xBaseScript is does not have preprocessor or simulated runtime environment but simply uses Harbour pp and compiler libraries to preprocess and compile commands. It means that it supports all language constructions also statements, f.e.: "for i:=1 to 10; ? i; next" Additionally it can also compile and execute .prg files given as first parameter just like hbrun. Please test it. If it will work as expected then we can remove 'pp' (contrib/dot) from standard packages 2007-08-21 16:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c + added __MVSETBASE() function * harbour/source/pp/ppcore.c * redirect error messages when error trap is not defined into user dispout function * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genc.c * harbour/source/compiler/hbcmplib.c * harbour/source/compiler/ppcomp.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/hbgenerr.c + added hb_compOutStd() and hb_compOutErr() * redirected all compiler output to above functions 2007-08-20 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! added workaround for undefined Epoch tag * harbour/source/rtl/Makefile * harbour/common.mak - harbour/source/rtl/terror.prg - removed .prg level ERROR class * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added ERROR class supported at .c level and updated all necessary functions to work without PCODE execution - it should allow to create and update ERROR object when HVM has active exceptions * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/rt_array.prg * update HBTEST for new ERROR object structure 2007-08-20 17:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tget.prg ! Recent missing date picture mask bug fixed in another different way. Now without any side-effects, tested with the regression test suit. ! Fixed a minor incompatibility in some rare situations. This is grey area even in C5.2 so compatibility is not 100% here. 2007-08-20 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * do not generate error for QSELF()[...] - Clipper allows such operation and because some valid Clipper code needs it then I disabled error message. * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/einstvar.prg + added undocumented CA-Cl*pper function _eInstVar() used to validate variable type in assign messages. * harbour/include/hbapi.h * harbour/source/vm/arrays.c * changed 'char *' to 'const char *' in hb_arraySetC() and hb_arraySetCL() * harbour/source/rdd/dbcmd.c * cleaned DBSKIPPER() code * harbour/source/rtl/browdb.prg * use written in C DBSKIPPER() function instead of static .prg Skipped() when HB_COMPAT_XPP macro is enabled * harbour/source/rtl/browse.prg ! fixes in BROWSE() function: ! displaying box characters + added CL53 compatible mouse actions + added mouse wheel actions + added support for deleting records (K_DEL) + added support for edit mode + added support for append mode 2007-08-20 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fserror.c + added translation (errno=>dosError) for ENOSPC 2007-08-20 04:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tget.prg ! Fixed incompatible setting of ::TypeOut in certain situations. As an example this could cause infinite loops in the get reader when a bad date was entered like: 2007.12.32 (very old bug) ! Recent missing date picture mask bug fixed in a different way, because the previous one caused some regressions. ! Fixed ::TypeOut behaviour for non-editable types. 2007-08-19 18:35 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/makefile.gc + Added more descripion in a makefile's headers % Minor makefile cleanup 2007-08-19 17:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tgetlist.prg ! Fixed crash when bad date is detected. (:TypeOut was used in an assignment) 2007-08-19 12:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tget.prg ! Fixed bug where negative number in get buffer beginning with a decimal sign was erroneously converted back to a numeric. (like: -.58) % Minor optimization in @E handling. 2007-08-19 05:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tget.prg ! Fixed bug where mask was missing for date var type when no explicit picture was used. * contrib/libct/makefile.bc ! Added missing lines. 2007-08-14 15:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c + added HB_UTF8TRAN(), HB_UTF8STUFF(), HB_UTF8POKE() 2007-08-09 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/misc3.c * cleanup 2007-08-09 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/misc3.c * changed hb_set.HB_SET_INSERT to GTI_KBD_INSERT - thanks to Saulius for information 2007-08-09 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/ftattr.c ! fixed to work with GT drivers which do not use VGA compatible screen buffer * harbour/contrib/libnf/proper.c ! fixed to not change passed string and possible buffer overflow * harbour/contrib/libnf/dispc.c ! fixed hard coded item type and updated some old code for current GTs * harbour/contrib/libnf/getenvrn.c + added support for nixes * borrowed W32 version from xHarbour 2007-08-09 08:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c + added support for GTI_KBDSHIFTS 2007-08-09 03:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/numlock.c * harbour/contrib/libnf/caplock.c * harbour/contrib/libct/keyset.c ! fixed typo 2007-08-09 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/gtgui.c ! fixed typo in copy and past in previous commit 2007-08-09 02:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added GTI_KBD_INSERT * harbour/common.mak * harbour/include/hbgtcore.h * harbour/source/rtl/Makefile + harbour/source/rtl/gtkbstat.c + added common for W32 GT drivers: hb_gt_w32_getKbdState() and hb_gt_w32_setKbdState() * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwin/gtwin.c * use hb_gt_w32_getKbdState() and hb_gt_w32_setKbdState() for GTI_KBDSHIFTS * harbour/source/rtl/gtdos/gtdos.c + added support for GTI_KBDSHIFTS * harbour/contrib/libct/keyset.c * use GTI_KBDSHIFTS to get/set keyboard flags * harbour/contrib/libnf/prtscr.c * harbour/contrib/libnf/numlock.c * harbour/contrib/libnf/shift.c * harbour/contrib/libnf/alt.c * harbour/contrib/libnf/ctrl.c * harbour/contrib/libnf/caplock.c * use GTI_KBDSHIFTS to get/set keyboard flags + harbour/contrib/libnf/ftshadow.c * harbour/contrib/libnf/makefile.bc * harbour/contrib/libnf/makefile.vc + added missing file I forgot to add in previous commit 2007-08-08 16:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbcompat.ch * include/hbextern.ch * contrib/libnf/fttext.c * source/vm/arrayshb.c + xhb RASCAN() added to Harbour without HB_COMPAT_XHB switch, under the name HB_RASCAN(). Translation from RASCAN() is done via hbcompat.ch ! NFLib/FT_FRSEEK() now works in Harbour regardless of the HB_COMPAT switches. 2007-08-08 15:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libnf/make_b32.bat - contrib/libnf/nanfor.bc + contrib/libnf/makefile.bc * BC makefile name made uniform. 2007-08-08 15:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/libnf/makefile.vc * contrib/libnf/nanfor.bc * Updated. 2007-08-08 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/at2.prg * harbour/contrib/libnf/min2dhm.prg * harbour/contrib/libnf/ontick.c * harbour/contrib/libnf/sqzn.prg * harbour/contrib/libnf/bytexor.prg * harbour/contrib/libnf/asum.prg * harbour/contrib/libnf/sleep.prg * harbour/contrib/libnf/any2any.prg * harbour/contrib/libnf/origin.c * harbour/contrib/libnf/mouse.c * harbour/contrib/libnf/stod.c * harbour/contrib/libnf/vertmenu.prg * harbour/contrib/libnf/aredit.prg * harbour/contrib/libnf/n2color.c * harbour/contrib/libnf/xbox.prg * harbour/contrib/libnf/hex2dec.prg * harbour/contrib/libnf/getver.c * harbour/contrib/libnf/Makefile * harbour/contrib/libnf/invclr.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/d2e.prg * harbour/contrib/libnf/anomatch.prg * harbour/contrib/libnf/color2n.c * harbour/contrib/libnf/datecnfg.prg * harbour/contrib/libnf/easter.prg * harbour/contrib/libnf/ntow.prg * harbour/contrib/libnf/floptst.prg * harbour/contrib/libnf/pchr.prg * harbour/contrib/libnf/tbwhile.prg * harbour/contrib/libnf/e2d.prg * harbour/contrib/libnf/sysmem.prg * harbour/contrib/libnf/dfile.prg * harbour/contrib/libnf/clrsel.prg + harbour/contrib/libnf/fttext.c + harbour/contrib/libnf/putkey.c * basic cleanup and syncing with some of xHarbour fixes and extensions. I'd like to ask Windows users to update non GNU make file * harbour/source/pp/ppcore.c + added support for .T., .F., .Y., .N. in PP and #IF ... / #ELIF ... expressions. It was reported by Nick Van Dyck on xHarbour devel list that old PP supported it. I haven't known that old PP suported .T. and .F. in #IF directive. Please not that there are other diferences between new PP and the old one in expresions which can be used in #IF ... / #ELIF directives. New PP supports C like expressions with support for pseudo functions like defined(), operates on integer numbers only to not damage 64bit values during conversion to double and keep C compatible results (the old one used double values) and is much more restrictive in checking for valid expression. 2007-08-07 03:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! fixed typo: AddClsMthds() => AddClsMethod() + added support for executing InitClass() constructor - it's not exact Class(y) behavior but rather sth what xHarbour does now. It will be change in the future when we will have real class methods and variables. * harbour/contrib/libct/blank.prg ! fixed typo * harbour/contrib/libct/dbftools.c * added function list in header * harbour/contrib/libct/screen1.c + added SCREENTEXT() * harbour/contrib/libct/disk.c - removed DELETEFILE() and FILEMOVE() * harbour/contrib/libct/files.c + added DELETEFILE(), RENAMEFILE(), FILEMOVE() * harbour/contrib/libct/ctwfunc.c ! fixed typo in parameters numbers in WFORMAT() + harbour/contrib/libct/charsprd.c + added CHARSPREAD() + harbour/contrib/libct/scrmark.prg + added SCREENMARK() + harbour/contrib/libct/expand.c + added EXPAND() + harbour/contrib/libct/fcopy.prg + added FILECOPY(), FILECOPEN(), FILECCLOSE(), FILEAPPEND(), FILECDATI() it's modified and fixed code by Frederic J. Bell borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * update for new files. makefile.bc will have to be modified yet (some files were missing and I added them to file list) but I'd like to leave it for BCC users who can test modifications 2007-08-05 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen3.prg ! fixed typo ISNUMERIC was used instead of ISNUMBER 2007-08-05 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile + harbour/contrib/libct/keysec.prg + harbour/contrib/libct/keytime.prg + added KEYSEC() and KEYTIME() modified code by Pavel Tsarenko borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files 2007-08-05 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen2.c + added CLEARSLOW() + harbour/contrib/libct/getsecrt.prg + added GETSECRET() + harbour/contrib/libct/getinput.prg + added GETINPUT() * harbour/contrib/libct/ctmisc.prg * moved SAVEGETS() and RESTGETS() to getinfo.prg file + harbour/contrib/libct/getinfo.prg + added COUNTGETS(), CURRENTGET(), GETFLDROW(), GETFLDCOL(), GETFLDVAR() modified code by Philip Chee borrowed from xHarbour + added SAVEGETS() and RESTGETS() from ctmisc.prg + harbour/contrib/libct/keysave.prg + SAVESETKEY(), RESTSETKEY() - code by Philip Chee borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files * harbour/contrib/libct/screen3.prg * harbour/contrib/libct/showtime.prg * set svn:eol-style=native 2007-08-03 23:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/debian/rules.cf + harbour/debian/rules * renamed rules.cf to rules - I forgot to make it before commit * removed link to not installed hbverfix.1 * changed default INSTDIR 2007-08-03 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen1.c * removed unnecessary casting + harbour/contrib/libct/screen3.prg + added CLEAREOL(), CLEOL(), CLWIN() * harbour/contrib/libct/screen2.c + harbour/contrib/libct/showtime.prg + added SHOWTIME() * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files 2007-08-03 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwin.c * added protection against overwriting right and bottom WBOX border directly inside GTCTW so now other screen functions does not have to check maximum window coordinates. Please remeber that CTWIN from CT3 has a bug which allows to damage top and left border which I partialy replicated because peope used it to set window title. 2007-08-03 04:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen2.c + added SCREENSTR(), STRSCREEN() * harbour/contrib/libct/keyset.c * casting to fix warnings in DOS builds * harbour/source/rtl/seconds.c * update timezone in BSD systems when clock is stored in UTC 2007-08-02 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/contrib/libct/keyset.c ! Fixed gcc 4.1.2 warning in SetGet() (Win32 branch). 2007-08-02 17:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbfixdj.h ! Added blank copyright header. * include/hbpers.ch ! Added EOL to last line. (GCC 4.1.2 is very picky on that) 2007-08-02 17:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/keyset.c * cleaned warning * harbour/bldcmncf.sh * harbour/debian/control * harbour/debian/harbour.cfg * harbour/debian/harbour.1 * harbour/debian/dirs * harbour/debian/rules.cf * harbour/debian/compat * harbour/debian/hbmake.1 * harbour/debian/changelog * harbour/debian/copyright * harbour/debian/hbtest.1 * harbour/debian/hbpp.1 * harbour/debian/hbrun.1 * harbour/debian/hbdoc.1 * harbour/make_deb.sh * harbour/tests/foreach2.prg * harbour/tests/gtchars.prg * harbour/tests/gtcolors.prg * harbour/tests/gtkeys.prg * harbour/make_gcc.sh * harbour/doc/howtosvn.txt * harbour/makefile.gc * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch * harbour/contrib/libct/screen2.c * harbour/contrib/libct/dbftools.c * harbour/contrib/libct/ctdisk.ch * harbour/contrib/libct/maxline.c * harbour/contrib/libct/video.c * harbour/contrib/libct/dattime3.c * harbour/contrib/libct/lton.c * harbour/contrib/libct/cursor.c * harbour/contrib/libct/misc2.c * harbour/contrib/libct/color.c * harbour/contrib/libct/cttime.prg * harbour/contrib/libct/ctvideo.ch * harbour/contrib/libct/numcount.c * harbour/contrib/libct/pack.c * harbour/contrib/libct/setlast.c * harbour/contrib/libct/like.c * harbour/contrib/libct/disk.c * harbour/contrib/libct/ctstrfil.c * harbour/contrib/libct/ctstrfil.h * harbour/contrib/libct/numline.c * harbour/contrib/libct/dattime2.c * harbour/contrib/libct/misc3.c * harbour/contrib/libct/ctpad.c * harbour/contrib/libct/datetime.c * harbour/contrib/libct/blank.prg * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/hbbit.c * harbour/source/codepage/cpsv850.c * harbour/source/codepage/cpsk852.c * harbour/source/codepage/ucmik.c * harbour/source/codepage/cpbgmik.c * harbour/source/codepage/cpsvwin.c * harbour/source/codepage/cpskiso.c * harbour/source/codepage/cpskwin.c * harbour/source/codepage/cpsvclip.c * harbour/source/codepage/cpskkam.c * harbour/config/w32/owatcom.cf + set svn:eol-style property to native + add some missing svn:keywords Id property 2007-08-02 12:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog - removed mixed ChangeLog entry 2007-08-02 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/screen2.c + added SAYDOWN(), SAYSPREAD(), SAYMOVEIN() + harbour/contrib/libct/cursor.c + added SAVECURSOR(), RESTCURSOR() * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files * harbour/contrib/libct/ctmisc.prg ! fixed CSETCURS() when called with non logical parameter * harbour/source/vm/classes.c + added basic version for executing all known inherited destructors final version in the future after some testes * harbour/source/codepage/cpsv850.c * harbour/source/codepage/cpsk852.c * harbour/source/codepage/ucmik.c * harbour/source/codepage/cpbgmik.c * harbour/source/codepage/cpsvwin.c * harbour/source/codepage/cpskiso.c * harbour/source/codepage/cpskwin.c * harbour/source/codepage/cpsvclip.c * removed hardcoded CHR(13)+CHR(10) EOLs 2007-08-01 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/rtl/file.c + added xHarbour compatible C function hb_fsIsDirectory() * harbour/contrib/libct/color.c * harbour/contrib/libct/screen1.c + added UNTEXTWIN(), CHARWIN(), COLORWIN(), COLORREPL() * changed CLEARWIN(), INVERTWIN() to use common helper functions 2007-07-31 23:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * cleanup - harbour/make_drw.sh - harbour/make_bsd.sh - removed not longer necessary files - make_gnu.sh can be used instead with exactly the same effect 2007-07-31 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh * cleanup 2007-07-31 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * removed not longer necessary flex and bison from dependences list + harbour/debian + harbour/debian/control + harbour/debian/harbour.cfg + harbour/debian/harbour.1 + harbour/debian/dirs + harbour/debian/rules.cf + harbour/debian/compat + harbour/debian/hbmake.1 + harbour/debian/changelog + harbour/debian/copyright + harbour/debian/hbtest.1 + harbour/debian/hbpp.1 + harbour/debian/hbrun.1 + harbour/debian/hbdoc.1 + harbour/make_deb.sh + added rules to generate DEB packages - rules by Luis Mayoral taken from Debian distribution updated for current code but not tested at all. Please make some test running make_deb.sh in Debian and Ubuntu distribution and give me an information about results. 2007-07-31 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * disable CTOD("") optimization when -kc switch is used * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * fixed typo reported by Mindaugas * harbour/source/vm/classes.c * fixed typo reported by Lost 2007-07-31 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/utils.c * harbour/contrib/tip/encmthd.c * changed hb_retclenAdoptRaw() to hb_retclen_buffer() 2007-07-30 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/foreach2.prg * added example for FOR EACH overloading 2007-07-30 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added #xtranslate ISPOINTER( ) * simplified bit operator translations * harbour/include/hbapi.h + added #define hb_itemPutCStatic(...) hb_itemPutCConst(...) * harbour/include/hbapiitm.h - removed #define hb_retclenAdoptRaw(...) hb_retclen_buffer(...) it's not _exactly_ the same and in some cases it cannot be replaced so users should know what exactly they are doing * harbour/source/rtl/gttrm/gttrm.c + added some #ifdef OS_UNIX_COMPATIBLE for future non *nix ports * harbour/source/rdd/dbf1.c ! added RT error when someone tires to create DBF with more then 2046 fields - without it corrupted files were created or GPF appeared * harbour/contrib/ole2/w32ole.c * changed hb_retclenAdoptRaw() to hb_retclen_buffer() 2007-07-27 01:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/makefile.gc * cleanup 2007-07-26 21:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/bldcmncf.sh + harbour/make_gcc.sh + harbour/makefile.gc * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/make_vc.bat * harbour/make_b32.bat * added support for GCC and common make file. The extension created by Marek Paliwoda with some modifications added by me. Victor this commit removed the HB_* prefix from some of internal make variables. I've done it temporary to avoid synchronization problems with files in SVN, used by me and Marek. I hope we will clean the code and restore necessary prefixes when Marek will have returned so we can test it in different environments - such modification have to be done in all of the above files. 2007-07-26 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * removed old XTerm (XFree 3.x.x) key sequences which are used in current XTerm implementation as for keys with modifiers 2007-07-26 01:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/gtcrs.c * added protection against misleading mouse wheel and mouse drag events * harbour/source/rtl/gttrm/gttrm.c * added protection against misleading mouse wheel and mouse drag events * enable XTERM like mouse reporting also for Linux terminal - it's possible with external mouse driver * added some CTRL+Fx escape sequences XTERM and gnome-terminal compatible * disabled some escape sequences mapped to simple cursor keys which are used as CTRL+[cursor key] in recent XTerm versions 2007-07-25 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * indenting * harbour/source/rtl/gttrm/gttrm.c * added some key sequences I used in patch for PuTTY/PTerm CTRL+{INS,DEL,HOME,END,PGUP,PGDN} - they are gnome-terminal compatible 2007-07-25 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h + added translation for HB_GT_trm * harbour/source/rtl/gttrm/gttrm.c + map some Linux key codes also in XTerm - they will be usable in terminals like PuTTY/PTerm * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c + changed the order of checking HB_WIN32_IO and OS_UNIX_COMPATIBLE macros for CYGWIN compilation 2007-07-25 09:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * source/codepage/Makefile + source/codepage/cpsv850.c + source/codepage/cpsvclip.c + source/codepage/cpsvwin.c + Added Swedish codapages from xHarbour. ; The codepages are now synced. 2007-07-24 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * include/hbapicdp.h * source/codepage/Makefile + source/codepage/ucmik.c + source/codepage/cpbgmik.c + Added BGMIK codepage and Bulgarian MIK unicode conversion table from xHarbour. ! Changed internal ID "MIK" to "bg-mik". * include/hbapicdp.h * source/codepage/uckam.c ! Changed internal ID "CSKAM" to "Kamenicky". 2007-07-24 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * source/codepage/Makefile + source/codepage/cpsk852.c + source/codepage/cpskiso.c + source/codepage/cpskwin.c + source/codepage/cpskkam.c + Added Slovak codepages. Pls. test them if you are familiar with the language rules. 2007-07-24 19:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * makefile.vc * makefile.bc * PPGEN -> HBPPGEN * Some redundancies removed. ! Redone and fixed my previous modifications. (Thanks Marek and pls test this.) 2007-07-24 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgentry.c ! cleaned memory leak in not freed trap on debugger exit 2007-07-20 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc + harbour/contrib/libct/ctvideo.ch + harbour/contrib/libct/video.c + added CHARPIX(), VGAPALETTE(), VIDEOTYPE(), SETFONT() code by Phil Krylov borrowed from xHarbour + harbour/contrib/libct/dattime3.c + added WAITPERIOD(), TIMEVALID(), SETTIME(), SETDATE() 2007-07-19 20:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile + harbour/contrib/libct/maxline.c + harbour/contrib/libct/lton.c + harbour/contrib/libct/pack.c * harbour/contrib/libct/color.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/screen1.c - harbour/contrib/libct/screen2.prg * harbour/contrib/libct/makefile.vc * harbour/source/rtl/gtapi.c * synced with xHarbour modifications and fixes * new functions or .prg functions rewritten in C ! some fixes * indenting 2007-07-19 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/strdiff.c * harbour/contrib/libct/token2.c * harbour/contrib/libct/Makefile * harbour/contrib/libct/wordrepl.c * harbour/contrib/libct/strswap.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/screen1.c * harbour/contrib/libct/token1.c * harbour/contrib/libct/makefile.vc * harbour/contrib/libct/ctwfunc.c * harbour/contrib/libct/relation.c + harbour/contrib/libct/setlast.c * harbour/contrib/libct/tab.c * harbour/contrib/libct/replace.c - harbour/contrib/libct/setlast.prg * harbour/contrib/libct/wordtoch.c * harbour/contrib/libct/remove.c * synced with xHarbour modifications and fixes * new functions or .prg functions rewritten in C ! some fixes * indenting 2007-07-19 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/ctdisk.ch + added missing file I forgot to add in previous commit * harbour/contrib/libct/pos1.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/posdiff.c * harbour/contrib/libct/range.c * harbour/contrib/libct/pos2.c * harbour/contrib/libct/print.c * synced with xHarbour modifications and fixes ! some fixes * indenting 2007-07-19 04:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hb_io.h + added #include for DOS builds * harbour/source/rtl/gttone.c + #include for WATCOM builds * harbour/config/w32/watcom.cf * cleanup + harbour/config/w32/owatcom.cf + added OpenWatcom support * harbour/contrib/libct/files.c * rewritten FILESEEK(), FILESIZE(), FILEATTR(), FILETIME(), FILEDATE() now they should work on all supported platforms + added FILESMAX() for POSIX systems * added FILEDELETE() - It's Phil Krylov code from xHarbour modified to be MT safe * indenting, cleanup and some minor fixes 2007-07-18 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added C functions: hb_cdpUTF8StringSubstr(), hb_cdpUTF8StringPeek() + added .prg functions: HB_UTF8SUBSTR(), HB_UTF8LEFT(), HB_UTF8RIGHT(), HB_UTF8LEN(), HB_UTF8PEEK() They are working like corresponding functions: SUBSTR(), LEFT(), RIGHT(), LEN(), STRPEEK() but operates on UTF-8 strings. TODO: HB_UTF8STUFF(), HB_UTF8TRAN(), HB_UTF8POKE() * harbour/include/hbcompat.ch + added translation rule for str(,,,.t.) * harbour/contrib/tip/ftpcln.prg ! changed str(,,,.t.) to ltrim(str()) * harbour/source/rtl/right.c * harbour/source/rtl/left.c % minor optimization 2007-07-18 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * added new files and Juan Gálvez fixes * harbour/contrib/libct/like.c * harbour/contrib/libct/keyset.c ! fixed typo 2007-07-18 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/gtchars.prg * harbour/tests/gtcolors.prg * harbour/tests/gtkeys.prg * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch * harbour/contrib/libct/misc2.c * harbour/contrib/libct/color.c * harbour/contrib/libct/numcount.c * harbour/contrib/libct/numline.c * harbour/contrib/libct/misc3.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/hbbit.c * set valid Id svn:keyword * harbour/include/hbcompat.ch * reverted hb_adler32() <=> hb_checksum() translations * harbour/contrib/libct/keyset.c + harbour/contrib/libct/like.c * harbour/contrib/libct/finan.c * harbour/contrib/libct/justify.c * synced with xHarbour modifications and fixes * indenting 2007-07-17 16:48 UTC+0100 Miguel Angel Marchuet * contrib/tip/client.prg * contrib/tip/ftpcln.prg + Added support to PORT transfer mode, alternative to PASV transfer mode. When :bUsePasv will be false PORT mode will be used. and cleaned some unused variables. + Added method :NoOp() + Added method :Rest( nPos ) * Changed method :LS( cSpec ) * Changed method :List( cSpec ) * Changed method :TransferStart() * Changed method :Stor( cFile ) * Changed method :UploadFile( cLocalFile, cRemoteFile ) * Changed method :DownloadFile( cLocalFile, cRemoteFile ) + Added method :Port() + Added method :SendPort() 2007-07-16 9:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak * makefile.vc * makefile.bc * HB -> HB_HARBOUR_EXE PPGEN -> HB_PPGEN_EXE * Some redundancies removed. ; Please test VC. 2007-07-16 07:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * added cross-compilation capabilities by means of HB and PPGEN environment variables. You can set them to fully qualified paths to harbour.exe and ppgen.exe respectivly, to allow cross-compiling. * minor cleanups in rules and code formatting 2007-07-15 09:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * harbour/contrib/libct/misc1.c + harbour/contrib/libct/misc2.c + harbour/contrib/libct/misc3.c * harbour/contrib/libct/num1.c * harbour/contrib/libct/numconv.prg + harbour/contrib/libct/numcount.c + harbour/contrib/libct/numline.c * harbour/contrib/libct/numat.c * synced with xHarbour modifications and fixes + added some missing functions borrowed from xHarbour, in most cases it was Pavel Tsarenko code ! some fixes * indenting * harbour/source/rtl/gtfunc.c * replaced hb_itemRelease( hb_itemReturn( pItem ) ) by hb_itemReturnRelease( pItem ) 2007-07-14 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * added protection against corrupted by programmer screen buffer * harbour/source/rtl/hbgtcore.c * extended hb_gtColorToN() to recognize also "I", "N", "U" and numeric NN/NN attributes * harbour/contrib/libct/ftoc.c * cleanup * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc - harbour/contrib/libct/color.prg - harbour/contrib/libct/invrtwin.prg + harbour/contrib/libct/color.c * rewritten INVERTATTR(), INVERTWIN(), COLORTON(), NTOCOLOR(), ENHANCED(), STANDARD(), UNSELECTED() in C code. Now COLORTON() and NTOCOLOR() use GT functions for color translations. ! fixed INVERTATTR() to not change blink and highlight attributes ! fixed INVERTWIN() to work with GT divers which do not use VGA compatible screen buffer 2007-07-14 12:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch ! changed hb_adler() to hb_adler32() * harbour/contrib/libct/dattime2.c * changed WEEK() to be exactly CT3 compatible. I do not know why but in CT3 WEEK() checks if the first character of date format is 'd' or 'D' and in such case uses differ algorithm to calculate week number. 2007-07-11 12:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mysql/tmysql.prg ! Some fixes for the previous fixes. 2007-07-11 09:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/mysql/tmysql.prg ! Some further date fixes. (pls test) 2007-07-11 09:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - doc/howtocvs.txt + doc/howtosvn.txt * File renamed (using 'svn rename'). 2007-07-11 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * doc/howtocvs.txt * Adapted for SVN (roughly). * contrib/mysql/tmysql.prg ! Fixed converting MySql date to Harbour date. (Thanks Chen) 2007-07-07 12:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak ! Added dbsql.c 2007-07-07 12:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/compiler/hbusage.c * Steps done to protect e-mail addresses against e-mail scanners. 2007-07-07 11:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c * added to credits list some Harbour developers which were missing and also some xHarbour developers which are authors of modules we borrowed and ported to xHarbour. It's highly possible that still some people are missing. If you fill that you or someone else should be added to this list then please send a message to harbour devel list 2007-07-07 11:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * common.mak ! OBJEXT -> HB_OBJ_EXT EXEEXT -> HB_EXE_EXT DLLEXT -> HB_DLL_EXT LIBEXT -> HB_LIB_EXT LIBPREF -> HB_LIB_PREFIX - contrib/libct/alt - contrib/libct/token1.prg - contrib/libct/ctcolton.c - Removed obsolete files. QUESTION: Shouldn't LIBCT's COLORTON() simply pass the call to HB_COLORTON() instead of replicating the functionality there (in .prg code)? * source/rtl/scrollbr.prg ! Formatting. 2007-07-07 04:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/dbftools.c - harbour/contrib/libct/dattime2.prg * harbour/contrib/libct/ctmath.h * harbour/contrib/libct/Makefile * harbour/contrib/libct/exponent.c + harbour/contrib/libct/cttime.prg * harbour/contrib/libct/ctstr.h * harbour/contrib/libct/ct.h + harbour/contrib/libct/disk.c + harbour/contrib/libct/ctstrfil.c + harbour/contrib/libct/ctstrfil.h - harbour/contrib/libct/datetime.prg - harbour/contrib/libct/pad.c + harbour/contrib/libct/dattime2.c + harbour/contrib/libct/ctpad.c + harbour/contrib/libct/datetime.c * synced with xHarbour modifications and fixes ! some fixes * indenting 2007-07-06 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/bitnum.c * harbour/contrib/libct/charlist.c * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/charonly.c * harbour/contrib/libct/atadjust.c * harbour/contrib/libct/ctmath.c * harbour/contrib/libct/ctset.c * harbour/contrib/libct/charsort.c * harbour/contrib/libct/ctmath.h * harbour/contrib/libct/ctset.h * harbour/contrib/libct/cterror.ch * harbour/contrib/libct/charmix.c * harbour/contrib/libct/charevod.c * harbour/contrib/libct/charrepl.c * harbour/contrib/libct/charswap.c * harbour/contrib/libct/charop.c * harbour/contrib/libct/color.prg + harbour/contrib/libct/blank.prg * harbour/contrib/libct/ct.prg * harbour/contrib/libct/ct.ch * harbour/contrib/libct/charone.c * harbour/contrib/libct/ctchksum.c * harbour/contrib/libct/ascpos.c * harbour/contrib/libct/charmirr.c * harbour/contrib/libct/ctc.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/atnum.c * harbour/contrib/libct/ctmisc.prg * harbour/contrib/libct/count.c * harbour/contrib/libct/ctcrypt.c * harbour/contrib/libct/addascii.c * harbour/contrib/libct/ctmath2.c * harbour/contrib/libct/ctextern.ch * harbour/contrib/libct/asciisum.c * harbour/contrib/libct/atrepl.c * harbour/contrib/libct/ctstr.c * harbour/contrib/libct/ctstr.h * synced with xHarbour modifications and fixes ! some fixes * indenting * harbour/source/rtl/errorapi.c * indenting * harbour/source/vm/hashfunc.c + added HB_HSETCASEMATCH(), HB_HSETAUTOADD() % some minor optimizations * harbour/include/hbcompat.ch + added hb_checksum() <=> hb_adler() * use new HB_HSET*() function to avoid warnings * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbgenerr.c ! fixed using EXIT/LOOP inside WITH OBJECT / END statement ! fixed optimization of empty BEGIN/END sequence when recover has EXIT or LOOP statement ! forbidden using EXIT and LOOP inside ALWAYS code in BEGIN/END sequence ! forbidden using ALWAYS statement if RECOVER code has EXIT or LOOP statement 2007-07-04 21:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/listbox.prg * synced with some xHarbour modifications 2007-07-04 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + added some other missing functions for which I had no doubt they should be included 2007-07-04 17:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencobj.c + added support for environment variable substitution in harbour.cfg file, envvar should be given as $() f.e.: $(HB_INC_INSTALL) 2007-07-04 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! fixed using LOOP inside SWITCH/CASE.../END statement ! fixed possible memory leeks when compile time error appear with some unfinished LOOP statements ! do not push unnecessary NIL on HVM stack when SWITCH/CASE.../END statement were used without OTHERWISE clause * harbour/source/pp/ppcore.c ! do not calculate last line when it does not contain any character * clear line number counter after preprocessing standard definitions/ rules - I hope it will make David happy ;-) 2007-07-04 13:52 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * source/rdd/dbfcdx/dbfcdx1.c * removed unnecesary code 2007-07-04 04:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * do not allocate self calss casting method when class name cannot be used as method 2007-07-04 04:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed typo in adding messages with HB_OO_MSG_PROPERTY flag ! fixed __clsDelMsg() to be safe with later dictionary resizing 2007-07-03 21:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch ! added closing parentheses in operators translation rules to avoid wrong translations * harbour/include/hbextern.ch + added many missing functions 2007-07-03 16:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/makefile.bc - removed cstr.prg + added thtml.prg 2007-07-03 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch * removed bit translation rules starting with comma (,) * harbour/source/rtl/hbhex.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c ! fixed casting 2007-07-02 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c ! allow to use 'FIELD' and '_FIELD' as variable/function/field name. * allow to use 'IF' and 'IIF' as variable/field name. 2007-07-02 17:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbhex.c * added HB_HEXTONUM() and HB_NUMTOHEX() * harbour/include/hbcompat.ch * added trnaslation rules for expresions in parentheses which use new xHarbour operators: HAS, IN, LIKE, &, |, ^^, >>, << Please note that only code which uses above operators in parentheses will be translated, f.e. this code will not be translated: if cVal1 IN cVal2 nVal := nVal1 | nVal2 | nVal3 | nVal4 endif will not be translated but this one will: if ( cVal1 IN cVal2 ) nVal := ( nVal1 | nVal2 | nVal3 | nVal4 ) endif * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch + added $\Id * harbour/source/rtl/hbbit.c + added $\Id ! fixed typo in HB_BITSHIFT() 2007-07-02 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added hb_CStr() <=> CStr() translations * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbbit.c + added set of hb_bit*() functions for bit manipulations: HB_BITAND( , , [] ) => HB_BITOR( , , [] ) => HB_BITXOR( , , [] ) => HB_BITNOT( ) => HB_BITTEST( , ) => HB_BITSET( , ) => HB_BITRESET( , ) => HB_BITSHIFT( , ) => * harbour/contrib/tip/Makefile * harbour/contrib/tip/utils.c * harbour/contrib/tip/popcln.prg * harbour/contrib/tip/Changelog * harbour/contrib/tip/cgi.prg * harbour/contrib/tip/url.prg * harbour/contrib/tip/httpcln.prg * harbour/contrib/tip/client.prg * harbour/contrib/tip/encoder.prg * harbour/contrib/tip/smtpcln.prg * harbour/contrib/tip/mail.prg * harbour/contrib/tip/ftpcln.prg + harbour/contrib/tip/thtml.prg + harbour/contrib/tip/thtml.ch - harbour/contrib/tip/cstr.prg * synced with recent xHarbour modifications - please test * harbour/source/vm/hvm.c * formatting * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c % do not copy date value to separate memory buffer but decode dates directly from record buffer * harbour/source/compiler/hbopt.c * optimize PCODE generated for: return ([]) 2007-06-29 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/hbsix/sxcompr.c ! fixed bug in workaround for SIX3 bug ;-) 2007-06-29 08:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * minor code reorganization 2007-06-28 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * disable ternminal signals at startup * redraw screen after __RUN() 2007-06-28 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed possible GPF and some other problems in HB_TRANSLATE() * harbour/source/rtl/dateshb.c * harbour/source/rtl/datesx.c * harbour/source/common/hbdate.c * make STOD() exact Clipper compatible 2007-06-27 21:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * restore default color on exit * harbour/source/rdd/dbf1.c * cleaned few warnings * harbour/make_tgz.sh * harbour/make_gnu.sh * if HB_WITHOUT_GTSLN not set then check if slang.h exists in one of known locations and set HB_WITHOUT_GTSLN automatically 2007-06-27 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! removed double quotas from files extension definitions Neither Borland make nor NMake can accept them, sorry my fault but I used to work with GNU make * harbour/makefile.vc - removed recently added by J. Lefebvre Mafact alternative verion of file extnesions. Thank you for your help but it was my mistake and the default definitions in common.mak should not use quotas * harbour/source/rtl/datesx.c * harbour/source/common/hbdate.c * accept date strings longer then 8 characters in STOD() just like in CT3 * changed casting in date decoding code to be strict Clipper compatible and cover date string validation by HB_C52_STRICT macro. Now STOD() can give _EXACTLY_ the same results as Clipper for wrong date strings if you disable code covered by #ifndef HB_C52_STRICT in hb_dateStrGet(). It fixes errors reported by hbtest in: stod("19 90905") -> "17490905" stod("199 0905") -> "19740905" but I do not know if you want to have it as default. * harbour/source/rtl/gtsln/gtsln.c ! fixed variable declaration to be ANSI C compatible 2007-06-27 16:00 UTC+0200 J. Lefebvre Mafact (jfl/at/mafact.com) * harbour/makefile.vc * Setting file extensions variables without double quotes for nmake Will overide those in common.mak 2007-06-27 10:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * added support for CP translation in OUTSTD()/OUTERR() when they are not redirected to console 2007-06-26 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/harbour.spec * added description for -L in hb* scripts * harbour/include/hbapicls.h * harbour/source/vm/classes.c * changed hb_objSendMsg() and hb_objSendMessage() to return hb_stackReturnItem() - xHarbour users asked about it. It does not change binary compatibility with existing code. * harbour/common.mak * replaced some hard coded values like file extensions with variables for future use on other platforms * harbour/contrib/mysql/mysql.c * changed code to not use non standard function filelength() and optimized * harbour/source/compiler/cmdcheck.c * recognize --version on platforms where '-' is option separator * harbour/source/compiler/hbusage.c * changed syntax description from: Syntax: harbour [options] to: Syntax: harbour [options] 2007-06-26 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use separate trnaslation tables for dispout() and dispbox() like in GTCRS 2007-06-26 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use ECMA-48 compatible sequence to disable bold intensity also on Linux terminals (one byte longer but will work also in some non Linux terminals which do not emulate it well) * use STDIN handle for full screen output when STDOUT redirected to non terminal device, f.e. file. 2007-06-23 15:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gttrm/gttrm.c + added 3-rd parameter BOOL fSetACSC to hb_gt_chrmapinit() function * initialize ACSC translation for XTERM like terminals when hb_charmap.def file cannot be found or there is no valid section for used terminal + harbour/tests/gtchars.prg + harbour/tests/gtcolors.prg + harbour/tests/gtkeys.prg + added test ptograms for GT drivers to test all character output and automatic CP translation, colors settings and keyboard/mouse input 2007-06-23 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c + set Id keyword property * harbour/source/common/expropt1.c ! fixed typo in HB_TRACE() parameters * harbour/include/hbapicdp.h * harbour/include/hbapirdd.h * harbour/source/rtl/strcase.c * harbour/source/rtl/is.c * harbour/source/rtl/gtxwc/gtxwc.h * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/vm/hvm.c ! fixed compilation with HB_CDP_SUPPORT_OFF - I do not plan to create such builds but now these macro allow to easy locate CDP dependent code * harbour/include/hbextern.ch * harbour/source/rtl/cdpapi.c + added two prg functions for translations from/to UTF-8: HB_STRTOUTF8( [, ] ) -> HB_UTF8TOSTR( [, ] ) -> is Harbour codepage id, f.e.: "EN", "ES", "ESWIN", "PLISO", "PLMAZ", "PL852", "PLWIN", ... When not given then default HVM codepage (set by HB_SETCODEPAGE()) is used. 2007-06-22 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + added GTTRM to compressed file list * harbour/include/hbgtcore.h + added HB_GT_ATTR_UNDEF * harbour/source/rtl/hbgtcore.c * minor cleanup in COLD() method * harbour/source/rtl/gtchrmap.c * disable control characters when hb_charmap.def file cannot be found or there is no valid section for current terminal inside * harbour/source/rtl/gttrm/gttrm.c - removed OUTERR() and OUTSTD() method - the default one are enough + set CLIPKEY flag in GTI_ADDKEYMAP 2007-06-21 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/hb-charmap.def * harbour/source/rtl/gttrm/gttrm.c + added 'screen' terminal 2007-06-20 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * removed 'static const' from s_szDefaultCharMapFile declaration I forgot that it was used by some build scripts I made public few years ago - I'll change these declaration when I'll add alternative method of changing default charmap file. * harbour/source/rtl/gttrm/gttrm.c + added support for SetBlink(.f.) working like in GTCRS and GTSLN. We cannot change from the server side the interpretation of BLINK attribute in 99% of terminals (it has to be done on client side) so SetBlink(.f.) simply disables sending BLINK attribute to terminal. 2007-06-20 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added GTI_ADDKEYMAP and GTI_DELKEYMAP * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added const to declarations of some function parameters * harbour/include/hbgtcore.h * harbour/source/rtl/Makefile + harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gtcrs/Makefile - harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * hb_gt_chrmapinit() common function now for different GT drivers * minor cleanup in GTCRS code * harbour/include/hbcompat.ch + added some new translation rules * harbour/include/hbapi.h * cleanup comment * harbour/source/pp/ppcore.c ! fixed line numbering when errors are reported in different order due to preprocessing extended code block + harbour/source/rtl/gttrm + harbour/source/rtl/gttrm/Makefile + harbour/source/rtl/gttrm/gttrm.c + added new GT driver - it's terminal driver like GTCRS and GTSLN but it does not use any external library like [N]CURSES or SLANG so it can be compiled in nearly all POSIX systems. It's not such flexible like curses or slang base drivers because instead of using termcap/terminfo databases to extract terminal capabilities it uses some hard coded sequences for few terminals (now Linux, ANSI, XTERM) but it should cover users requests in 95% of cases. Terminals I tested are quite well supported (GTTRM works even better then GTCRS or GTSLN and is much faster in full screen mode - 2-4 times). I noticed that most terminal emulators works much better with GTTRM then with GTCRS or GTSLN due to limited list of used escape sequences so some minor differences in each terminal implementation are not noticeable. GTTRM automatically detects ISO/UTF8 terminal mode and chose valid output what should also help *nix users. Now I would like to ask BSD and MacOSX users to test GTTRM in these systems with pure text console and XWindow terminal emulators. I'm interesting in any problems you may found. * harbour/source/vm/hvm.c + added protection for possible GPF caused by wrong .prg code * harbour/source/vm/maindllp.c % store function addreses in static variables to improved execution speed + added support for compilers which does not use "_" as function prefix + added support for using with harbour*.dll * harbour/source/vm/memvars.c + added new method of detaching enumerators and array item references covered by HB_COMPAT_XHB macro. xHarbour does not work in such way but the final results are similar. * harbour/source/vm/dynlibhb.c + added protection against passing wrong pointer items to HB_LIB*() functions * harbour/source/common/reserved.c * cleaned warning * harbour/bin/hb-func.sh * harbour/config/hpux/global.cf * harbour/config/darwin/global.cf * harbour/config/linux/global.cf * harbour/config/sunos/global.cf * harbour/config/bsd/global.cf + added GTTRM to library list 2007-06-20 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/make_drw.sh * harbour/make_rpm.sh * harbour/bin/hb-mkslib.sh * harbour/bin/bld.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/bin/pack_src.sh * harbour/make_bsd.sh * harbour/make_xmingw.sh * harbour/make_gnu.sh * harbour/make_tgz.sh * set executable attribute small thing but makes happy ;-) - Many thanks Victor! 2007-06-14 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/whatsnew.txt * harbour/harbour.spec * harbour/include/hbver.h * small information about new release * updated version number to 1.1.1 * tagged as build48 2007-06-14 00:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tclass.prg * initialize date members to ctod("") 2007-06-14 00:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added translation rules for extended code blocks * harbour/source/compiler/gencc.c * cleaned C compiler warnings in -gc3 output and SWITCH statement * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * allow to use 0d0 and 0d00000000 as empty date value * harbour/source/pp/Makefile * workaround for problems with some GNU make versions, f.e. 3.76.1 on OS2 2007-06-12 23:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * cleaned BCC warning * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added set of hb_arraySet*() functions - I hope they will help 3-rd party developers to eliminate using C stack level HB_ITEM and reduce usage of potentially danger function like hb_arrayGetItemPtr() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemReturnRelease() * harbour/include/hbcompat.ch + added hb_pvalue() <-> pvalue() translations * harbour/source/vm/pvalue.c + added support for 2-nd parameter for assugb operation, f.e. now hb_pvalue( 3, "abc" ) sets "abc" to 3-rd function parameter * harbour/source/compiler/gencc.c * harbour/source/compiler/hbopt.c ! fixed two buggy optimizations 2007-06-11 16:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/ChangeLog + harbour/ChangeLog.018 * ChangeLog archived. 2007-06-11 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * allow to use #pragma begindump / enddump in .prg files without any .prg code * harbour/source/vm/hvm.c ! fixed assign in overloaded [] 2007-06-08 14:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! generate valid RT errors in some methods so NETERR() can be properly set 2007-06-08 06:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * restored original national characters which were unintentionally damaged on 2006-06-29 08:25 UTC+0200 Tomaz Zupan Toma¾ please do not use editors which will change national characters in the whole file when you will change harbour.spec in the future 2007-06-07 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * some minor cleanups in Requires section and added %{epoch} * harbour/make_rpm.sh * build Harbour GD library only when GD 2.0 or newer is installed 2007-06-06 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbregex.h * harbour/source/rtl/hbregex.c ! fixed GPF and removed two hacks 2007-06-06 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbregex.c ! added workaround for some wrong hack (to check if both can be safely removed) 2007-06-06 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * changed extern hb_bProfiler to local HVM static variable * harbour/source/vm/hvm.c + added two macros HB_NO_TRACE and HB_NO_DEBUG for these people who needs/wants to test HVM speed without debugger support and PRG call tracing - the difference is rather small 2007-06-05 22:44 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib/zip.c * cleaned a couple of warnings 2007-06-05 21:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * formatting * harbour/include/hbexpra.c + added comment * harbour/source/common/expropt2.c + added optimization for == NIL, = NIL, != NIL ! disabled in macro compiler buggy Clipper compiler optimization for expressions like: AT( "", "" ), "" $ "", CHR(256), now the folowwing code gives the same results when compiled by Clipper and Harbour: proc main() ? ""$"", &('""$""') ? AT(""," "), &('AT(""," ")') ? LEN(CHR(0)+CHR(256)), &('LEN(CHR(0)+CHR(256))') return 2007-06-05 20:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/doc/linux1st.txt + Added info about required Ubuntu packages. (Thanks Przemek) * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_str.prg + Added two more tests for "" $ "" / At( "", "" ) combinations. 2007-06-05 10:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/hbzlib/Makefile.mingw - removed not necessary file 2007-06-05 09:56 UTC+0300 Chen Kedem * source/rtl/achoice.prg ! Fix bug#1729881 by ACHOICE() was not handling AC_GOTO when user function was used. 2007-06-05 03:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c * cleaned some warnings * harbour/contrib/ole2/w32ole.c * harbour/contrib/ole2/win32ole.prg * changed deinitialization code to allow using OLE in .prg object destructors and user EXIT functions * added support for FOR EACH overloading - not tested please check % use BEGIN SEQUENCE WITH as TRY / CATCH replacement 2007-06-04 22:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/include/stdafx.h * harbour/contrib/hbzlib/include/ziparchive.h * cleaned some warnings * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c * restored Mindaugas code for UPPER optimization and added logic to optimize UPPER for strings with only Latin letters, digit and spaces just like in Clipper. Now code like: ? Upper( chr(65)+chr(66)+chr(67)+"0123 QWE asd " ) + "ZXC" is fully optimized at compile time to single string expression. % optimized hb_compExprReduceCHR() by eliminating memory allocation for new string ! fixed typo in my previous commit 2007-06-04 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c % added compile time optimization for CTOD("") % added compile time optimization for - used forconstant string values, f.e.: ? "Harbour " - " Compiler" * harbour/source/vm/hvm.c % added optimization for string resizing in cVal1 - cVal2 * harbour/source/rtl/dateshb.c % minor optimization - removed one not necessary ISCHAR() 2007-06-04 19:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c - removed UPPER("") optimisation because of ... ? 2007-06-04 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * HPUX build cleanup * harbour/source/debug/dbgentry.c * cast isalpha() and isdigit() parameters to unsigned char * harbour/source/rtl/hbinet.c * harbour/source/rtl/gtstd/gtstd.c * HPUX build cleanup 2007-06-04 08:04 UTC-0300 Antonio Carlos Pantaglione + harbour/contrib/tip/make_b32.bat + harbour/contrib/tip/makefile.bc 2007-06-04 12:17 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib/include/zipexception.h * removed wrong CZipException:: qualificator in CZipException copy constructor * harbour/contrib/hbzlib/zip.c + added extern void hb_fsDirectory() declaration * harbour/contrib/hbzlib/include/hbzip2.h * harbour/contrib/hbzlib/zipnew.cpp * changed fifth parameter to const char *pbyBuffer in hb_UnzipSel() function 2007-06-03 23:03 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * added UPPER("") optimisation. The side effect of this modification is that Harbour becomes Clipper bug compatible in calculation of AT(UPPER(""), "test"). Though this optimisation does not introduce any buggy behaviour itself. 2007-06-02 12:30 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib * replaced with the one borrowed from xharbour, source modifications by Przemek * harbour/contrib/hbzlib/makefile * harbour/contrib/hbzlib/makefile.bc * harbour/contrib/hbzlib/makefile.vc * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/include/zipfilemapping.h * harbour/contrib/hbzlib/include/zipautobuffer.h * harbour/contrib/hbzlib/include/hbzip2.h * changed to make contrib/hbzlib working with harbour + harbour/contrib/hbzlib/hbcomprs.c + harbour/contrib/hbzlib/include/hbcomprs.h + added to make contrib/hbzlib working with harbour + harbour/contrib/hbzlib/doc + harbour/contrib/hbzlib/doc/zipnew.txt + added documentation borrowed from xharbour/doc/en 2007-06-01 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/pgsql/postgres.c * cover PQescapeByteaConn() by #if HB_PGVERSION >= 0x0800 * harbour/source/rtl/gtxwc/gtxwc.c ! fixed casting in DBLCLICK checking 2007-06-01 19:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_rpm.sh * harbour/contrib/Makefile * cleanup and added HB_CONTRIBLIBS to set additional contrib libraries + added -with xhb switch to build Harbour RPMs with HB_COMPAT_XHB macro * harbour/contrib/mysql/Makefile + added -I/usr/include/mysql -I/usr/local/include/mysql to C compiler flags * harbour/contrib/mysql/tmysql.prg * harbour/contrib/mysql/tsqlbrw.prg * cleaned -w2 warnings - in few places I added HB_SYMBOL_UNUSED() which should be replace sin the future by valid code 2007-06-01 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * set attributes explicitly to clean some wrong attributes committed to CVS and minor cleanup * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added hb_errorBlock() * harbour/source/macro/macro.yyc * harbour/source/compiler/harbour.yyc * manual hack to pacify BCC warning messages * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added support for: BEGIN SEQUENCE WITH [] [ RECOVER [ USING oErr ] ] ... [ ALWAYS ] ... END It works like normal BEGIN SEQUENCE but sets as ErrorBlock() before executing and restore previous ErrorBlock() at the end or when exception will appear. I hope it will make some xHarbour user happy ;-) * harbour/include/hbcompat.ch + added preprocessor directive for TRY / CATCH / FINALLY / END working like in xHarbour - translated to: BEGIN SEQUENCE WITH { |oErr| Break( oErr ) } ... [ RECOVER [ USING oErr ] ] ... [ ALWAYS ] ... END 2007-06-01 13:00 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/make_gnu.sh * updated msgs * harbour/pach_src.sh * added contrib/gd * harbour/make_rpm.sh * harbour/harbour.spec * added support for --with gd, --with pgsql, --with pgsql4 and --without tip * contrib/tip/cgi.prg * added lDumpHtml to create a dump of the html useful for syntax check * added support for "var" and "src" in both scripts and styles * contrib/pgsql/tpostgre.prg * added ::Read() method to use in forward only loop * instead of while !::eof() ... ::skip() * several optimizations now in a typical loop it is 30% faster * !!! now char fields are not sized to len !!! 2007-06-01 02:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/bin/bld.sh ! Updated list of libs for linux/gcc. * harbour/bin/bld.bat * Minor. 2007-06-01 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/bin/pack_src.sh + added hbpcre library 2007-05-31 23:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.yyc * synced with recent modifications in harbour.y - I missed it. * harbour/source/hbpcre/pcrecomp.c * cleaned some warnings reported by Lorenzo 2007-05-31 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.vc * added some missing declaration for PCRE library * harbour/include/hbregex.h * added PCRE_STATIC - it fixes problem with MinGW build * harbour/utils/hbrun/Makefile * removed one redundant hbpcre from library list 2007-05-31 17:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! added PCRE_LIB * harbour/bin/hb-func.sh ! fixed typo in last commit * harbour/source/hbpcre/pcredfa.c * harbour/source/hbpcre/pcreexec.c * harbour/source/hbpcre/pcrefind.c * harbour/source/hbpcre/pcreprni.c * harbour/source/hbpcre/pcrestud.c * harbour/source/hbpcre/pcretryf.c * cleaned some warnings 2007-05-31 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/bin/hb-func.sh * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/source/Makefile + harbour/source/hbpcre/ChangeLog + harbour/source/hbpcre/Makefile + harbour/source/hbpcre/chartabs.c + harbour/source/hbpcre/config.h + harbour/source/hbpcre/dftables.c + harbour/source/hbpcre/pcre.h + harbour/source/hbpcre/pcrecomp.c + harbour/source/hbpcre/pcreconf.c + harbour/source/hbpcre/pcredfa.c + harbour/source/hbpcre/pcreexec.c + harbour/source/hbpcre/pcrefind.c + harbour/source/hbpcre/pcrefinf.c + harbour/source/hbpcre/pcreget.c + harbour/source/hbpcre/pcreglob.c + harbour/source/hbpcre/pcreinal.h + harbour/source/hbpcre/pcreinfo.c + harbour/source/hbpcre/pcremktb.c + harbour/source/hbpcre/pcreoutf.c + harbour/source/hbpcre/pcreprni.c + harbour/source/hbpcre/pcrerefc.c + harbour/source/hbpcre/pcrestud.c + harbour/source/hbpcre/pcretabs.c + harbour/source/hbpcre/pcretryf.c + harbour/source/hbpcre/pcrever.c + harbour/source/hbpcre/pcrevutf.c + harbour/source/hbpcre/pcrexcls.c + harbour/source/hbpcre/ucp.h + harbour/source/hbpcre/ucpinter.h + harbour/source/hbpcre/ucptable.c + added HBPCRE library - based on older xHarbour 6.3 version filenames changed to 8.3 DOS format * harbour/include/hbregex.h * harbour/source/rtl/Makefile * harbour/source/rtl/hbregex.c + harbour/source/rtl/hbregexc.c * divided harbour regular expression functions into two files Now regular expression low level library is not linked with application until user will not use or REQUEST for one of HB_REGEX* functions. It also means that also DBOI_SKIPREGEX will not work when regex module is not linked. + added support for build-in regular expression library + added ulLen parameter to hb_regexMatch() to support strings with embedded 0 * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/strmatch.c * use new hb_regexMatch() format * harbour/utils/hbrun/Makefile + added hbpcre to linked library list 2007-05-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/harbour.c - removed unnecessary code for HB_PARANOID_MEM_CHECK macro 2007-05-30 01:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc ! fixed bug in operator precedence - seems that it existed from beginning and partially were fixed in xHarbour. This code exploits the problem: #define EOL chr(13)+chr(10) #command ? [] => [outstd( );]outstd(EOL) #command TEST => BEGIN SEQUENCE ; ; ? ; ; RECOVER USING oErr ; ; ? "Error:", oErr:subCode, ; oErr:description, oErr:operation ; ; END proc main() local oErr, s1:="X", s2:="Y", t:=.T. errorBlock({|oErr|break(oErr)}) TEST t != s1 $ s2 TEST t == s1 $ s2 TEST t = s1 $ s2 TEST t < s1 $ s2 TEST t <= s1 $ s2 TEST t > s1 $ s2 TEST t >= s1 $ s2 TEST s1 $ s2 != t TEST s1 $ s2 == t TEST s1 $ s2 = t TEST s1 $ s2 > t TEST s1 $ s2 < t TEST s1 $ s2 >= t TEST s1 $ s2 <= t return 2007-05-29 10:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.vc * synced with BETA branch * harbour/contrib/Makefile * disable BMDBFCDX for DOS builds due to long names which do not pass 8.3 convention * use OLE2 instead of OLE * harbour/contrib/ole2/w32ole.c * warning fixes * harbour/include/hbregex.h + added REGEX support for DJGPP build * harbour/source/rtl/net.c * warning cleanup 2007-05-28 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile + harbour/contrib/adordd/Makefile + added ADORDD to default windows GNU make builds * harbour/contrib/adordd/makefile.bc + added -w2 to harbour compoiler switches * harbour/contrib/adordd/adordd.prg + added HB_SYMBOL_UNUSED() for some methods + harbour/contrib/ole2/Makefile + added GNU make file * harbour/include/common.ch * changed HB_HASH_AUTOADD_* to HB_HAUTOADD_* 2007-05-28 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf + added -lpcreposix -lpcre to linked system libraries when C_USR contains -DHB_PCRE_REGEX * harbour/source/compiler/hbmain.c * clear HB_COMP_PARAM->functions.pLast in hb_compCompileEnd() to avoid accessing freed memory 2007-05-28 15:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO - removed some not longer valid notes * harbour/common.mak - removed dbgaltd.obj * harbour/include/common.ch + added HB_HASH_AUTOADD_* definitions 2007-05-28 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/Makefile - harbour/source/debug/dbgaltd.prg - removed repeated ALTD() implementation 2007-05-28 09:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * harbour/source/pp/Makefile * recent xHarbour fixes for MinGW Linux->W32 cross build by Phil Krylow with small modifications * harbour/config/rules.cf + added rules for C++ files * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added hb_arraySetForward() * harbour/include/hbapi.h * harbour/source/rtl/strmatch.c + added hb_strMatchFile() - compare two strings using platform dependent rules for file matching, respects platform dependent wildcards + added hb_strMatchCaseWildExact() - compare two strings using pattern with wildcard (?*) ignoring the case of the characters - patern have to cover whole string * changed hb_strMatchRegExp() to use real reguar expresions, if build does not support regex then redirected to hb_strMatchWildExact() - removed not longer used hb_strMatchDOS() - in fact it was neither DOS nor classic wildcards (?*) compatible * harbour/source/common/hbstr.c ! casting to avoid possible problem on platforms where toupper does not accept negative char value * harbour/include/hbcomp.h * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbmain.c * minor modifications in cleanup functions * harbour/source/rtl/hbffind.c * use hb_strMatchFile() * harbour/source/vm/memvars.c * use hb_strMatchCaseWildExact() instead of hb_strMatchRegExp() I still keep the hack which translates any mask starting with '*' to "*" but if you think that we should fully respect wildcards patterns then we should remove it from function hb_memvarGetMask() Opinions? 2007-05-26 09:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed bug reported by Lorenzo * harbour/contrib/rdd_ads/ads1.c * changed static variable name from iSetListenerHandle to s_iSetListenerHandle to keep common naming convention * harbour/include/hbapi.h * harbour/source/vm/hashes.c * harbour/source/vm/hashfunc.c * harbour/source/vm/hvm.c + added new 3-rd parameter to hb_hashGetItemPtr() to control independently hash autoadd behavior in access/assign operation * harbour/include/hbrdddbf.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c * moved static variables holding RDDI_* settings to RDDNODE data so they can be set separately for each RDD which inherits from DBFNTX * harbour/source/vm/classes.c + added disabled code to access hash items using messages * harbour/source/vm/garbage.c * comment 2007-05-25 11:46 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * contrib/bmdbfcdx/bmdbfcdx1.c * removed unnecesary code ! fixed bug on SKIP with SET DELETED ON when skips a deleted recno, OrdKeyNo was wrong. 2007-05-25 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macrolex.c * harbour/source/vm/macro.c - removed hb_macroIsIdent() + added hb_macroTextSymbol() ! fixed old bug (it exists in all [x]Harbour versions) in macrocompiler which caused HVM stack corruption * generate from lexer symbols which are well formatted (uppercase and size <= HB_SYMBOL_NAME_LEN) % use hb_dynsymGetCase() instead of hb_dynsymGet() % some minor speed improvement * harbour/source/rtl/gtwin/gtwin.c % use hb_dynsymFind() instead of hb_dynsymFindName() * harbour/source/rdd/dbcmd.c * harbour/source/rdd/wafunc.c * reenabled by default strict clipper compatible behavior for code select(), dbSelectArea() and alias allocating * harbour/source/rdd/dbf1.c + added DBI_ISENCRYPTED for tables encrypted by SIX3 * harbour/source/rtl/hbinet.c ! added missing break (Ron fix from xHarbour) 2007-05-23 12:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/debug.c ! fixed access/assign local variables from debugger in functions with variable number of parameters 2007-05-23 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbapidbg.h * harbour/source/vm/classes.c - removed one unused debug function * harbour/source/vm/debug.c * formatting 2007-05-22 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! fixed typo during copy and past in last modification - changing files when the modifications cannot be checked is always dangerous, sorry 2007-05-22 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * synced RTL files 2007-05-22 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbfix.c ! fixed local IND/DED when PARAMETERS is used ! fixed local names generated for debugger when PARAMETERS is used * harbour/source/debug/dbgentry.c ! fixed very bad typo in my previous commit % minor optimization 2007-05-22 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added -lpcreposix to system libraries when C_USR has -DHB_PCRE_REGEX * harbour/include/hbregex.h * removed pcre/ path from PCRE header files - if you want to build Harbour with PCRE regex and PCRE header files are not in default\ path then set valid path in C_USR, f.e.: export C_USR="${C_USR} -DHB_PCRE_REGEX -I/usr/include/pcre" * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * minor optimizatin for -gc3 output 2007-05-22 01:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapicls.h * harbour/include/hbcomp.h * harbour/include/hbvm.h * harbour/include/hbvmpub.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/debug/dbgentry.c * harbour/source/rdd/wafunc.c * harbour/source/rtl/itemseri.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/vm/classes.c * harbour/source/vm/dynsym.c * harbour/source/vm/hvm.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * casting: changed some 'char *' to 'const char *', added const to some other declarations, added workaround for GCC warnings about dereferencing pointer with strict-aliasing optimization, etc. 2007-05-21 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed E"..." ! added new hack for strings inside [] 2007-05-21 13:11 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * contrib/bmdbfcdx/bmdbfcdx1.c * minor warning fix on os/2 compile. 2007-05-20 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/hbffind.c ! Added HB_EXPORT for hb_fsFind*() functions. (missed from prev commit) 2007-05-19 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * formatting * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added support for: #pragma escapedstrings = on cStr := "some value with internal \" character" #pragma escapedstrings = off + added support for multiline strings in escaped strings * harbour/source/compiler/gencobj.c * minor simplification * harbour/source/rtl/hbffind.c * always set hb_fsError() * harbour/source/rtl/mlcfunc.c ! fixed minor typo 2007-05-18 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c * changed 'char hb_errFuncName' to 'const char hb_errFuncName' * harbour/source/compiler/ppcomp.c * added note about Harbour exception in header * harbour/include/hbapifs.h * harbour/source/rtl/fserror.c + added hb_getFError(), hb_setFError() * harbour/source/rtl/philes.c * harbour/source/rtl/philes53.c * use hb_getFError()/hb_setFError() in F*() functions * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * fixed setting hb_fsError() * harbour/source/rtl/console.c * harbour/source/rtl/dirdrive.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/philesx.c * harbour/source/rtl/set.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c * removed code to save/restore hb_fsError() 2007-05-18 07:24 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO_GETFIELDTYPE() Improved * ADO_GETFIELDSIZE() Now support MEMO Field 2007-05-17 00:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/utils/hbtest/rt_misc.prg ! SET EOLs guarded with __HARBOUR__ to make it compile on other platforms. 2007-05-17 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO * removed some not longer necessary TODO/TOFIX * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/memoline.c - harbour/source/rtl/mlcount.c - harbour/source/rtl/mlctopos.c - harbour/source/rtl/mlpos.c - harbour/source/rtl/mpostolc.c + harbour/source/rtl/mlcfunc.c * new version of memo line functions: MEMOLINE(), MLCOUNT(), MLPOS(), MLCTOPOS(), MPOSTOLC() * harbour/include/hbexpra.c ! fixed in HB_COMPAT_XHB build hb_enumIndex() used inside internal FOR/NEXT loop * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! removed some not longer necessary hack % added some speed optimizations - it's not done in the way I want to have in the final version but with some very small modifications it should make people using a lot of #[x]translate (Enrico ;-)) happy. * harbour/source/rtl/set.c * minor cleanup in HB_SET_EOL initialization * harbour/source/vm/hvm.c * clean MEMO flag in array and hash items created by { MEMOFILED, ... } or { "KEY" => MEMOFILED, ... } and optimized results of PLUS operation * harbour/utils/hbtest/rt_misc.prg * SET EOL to CHR(13) + CHR( 10 ) before MLCTOPOS() tests to avoid false alarm on platforms with differ default EOL 2007-05-16 16:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/ChangeLog + Added one missing entry (2007-05-15 15:40 UTC+0300). * harbour/include/hblass.ch ! Fix added for misplaced *UNUSED() macro. (Thanks Juan) * harbour/include/hbapifs.h ! Added HB_EXPORT for hb_fsFind*() functions. 2007-05-16 11:03 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * /include/hbclass.h ! fixed INLINE, incorrect parameters are passed to. reported by Juan Galvez. 2007-05-15 15:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/gencobj.c ! fixed unrecoverable error "hb_xfree called with an invalid pointer" related to HB_CFG_FILE implementation 2007-05-14 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbmain.c ! fixed memory leak when error appears during generating codeblock 2007-05-13 09:20 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved ADO_PUTVALUE() 2007-05-11 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc ! Fixed error message text when unclosed multiline codeblock was detected (said: <||...> instead of {||...}). (two more places) 2007-05-11 18:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/compiler/harbour.y ! Fixed error message text when unclosed multiline codeblock was detected (said: <||...> instead of {||...}). ; TOFIX: In this same case two memory blocks are not released: source\main\harbour.c:329: HB_TR_ERROR Block 1 0098C39C (size 100) source\main\harbour.c:329: HB_TR_ERROR Block 2 0098C200 (size 92) 2007-05-12 17:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/tip/cgi.prg * support of option encoding in StartHtml * removed language= in htmlscript * fixed use of pre and post parameters in HtmlOption * now TipCgi code is validated xhtml 1.0 strict 2007-05-12 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbffind.c ! fixed typo in my previous commit 2007-05-12 10:48 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * OrdCreate() fixed * OrdDestroy() implemented 2007-05-12 10:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbpp.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbmain.c * harbour/source/pp/ppcore.c + added support for extended multiline codeblocks: { || ... return } Such codeblocks allow nested definitions. They can also have their own variable declarations (local, static, field, memvar, parameters, private, public) and visibility of declared variables is similar to nested function in Pascal but please note that there is one limitation which exists also for normal codeblocks (Clipper compatible behavior): internal codeblock local parameters and local variables cannot be used in nested codeblocks, f.e. such code: eval( { |p| eval( {|| qout( p + 1 ) } ) } ) is illegal in Clipper and Harbour. This limitation also can be eliminated but but it will be necessary to make deeper modifications in code for local detaching changing the method of generating codeblocks local variables in nested blocks so unlike the above also some modifications in HVM will be necessary. Please test. 2007-05-11 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbmain.c * changed code used for variable scoping - now it's much more simple (only one function) and allows to use declarations in nested functions/codeblocks with visibility similar to Pascal ! fixed parsing FILED IN we were accepting code like: FIELD f1, f2 IN db1, f3 IN db2 IN db3 and for all fields the last alias (db2 in this example) was used ! fixed calculating number of static variables with -b (debugger) compilation (number of file wide statics were doubled) ! fixed generation of static variable names for debugger when declared with array dimensions, f.e.: static sVar[3] * harbour/source/rtl/hbffind.c * minor cleanup *nix version * harbour/contrib/bmdbfcdx/bmdbfcdx1.c ! fixed casting for C++ compilation * harbour/source/rdd/dbfdbt/dbfdbt1.c * updated for some old API modifications (this library is not used now but if we keep it in CVS then I think it should be updated) 2007-05-11 18:09 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * COMMIT changes 2007-05-11 14:27 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * some minor changes 2007-05-11 10:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/filehb.c * Changed one old TOFIX to a NOTE regarding a minor incompatibility in FILE() where the filename is RTrim()-ed in Clipper but not in Harbour. It became a NOTE because making it compatible would mean losing some portability. * harbour/source/rtl/hbffind.c ! Removed code in UNIX branch which would change an empty file mask to "*" (thus causing FILE("") to return .T. and DIRECTORY("") to return the whole dir content.) ! Made sure in UNIX branch that an empty file mask won't return any files regardless of the filename matching method used. * harbour/source/rtl/strmatch.c + Added NOTE about hb_WildMatch() / sx_WildMatch() incompatibility. ! Guarded WILDMATCH() with HB_COMPAT_XHB. * WILDMATCH() now calls HB_WILDMATCH() internally. 2007-05-11 01:04 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Reduced used variables and memory 2007-05-10 08:13 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * FoxPro support 2007-05-09 15:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved ADO_CLEARREL() 2007-05-09 15:03 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg + Improved Deleted() 2007-05-09 10:55 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg + Added function HB_AdoRddGetRecordSet( [] ) --> oAdoRecordset 2007-05-09 10:41 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg + New functions HB_AdoRddGetConnection( [] ) --> oAdoConnection and HB_AdoRddGetCatalog( [] ) --> oAdoCatalog 2007-05-09 10:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/config/w32/mingw32.cf * fixed typo * harbour/include/Makefile * removed reference to deleted hbrddwrk.h * harbour/include/std.ch * added SET EOL clause * harbour/include/hbcompat.ch * fixed typos and added TEXT INTO * harbour/contrib/gd/Makefile * fixed install of includes * harbour/contrib/gd/gdwrp.c * fixed warnings 2007-05-08 16:06 UTC+0300 Chen Kedem * source/rtl/mlctopos.c ! Make the function MLCTOPOS() more compatible. TOFIX note added about existing problems. * utils/hbtest/rt_misc.prg + Add some tests for MLCTOPOS() 2007-05-07 19:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Added some connection strings, borrowed from xharbour 2007-05-07 15:46 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO_GOTOID() borrowed from xHarbour with modifications 2007-05-07 14:06 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * DbRSelect() and DbRelation() implemented 2007-05-07 11:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * INDEX ON ... implementation * OrdListClear() and OrdListAdd() implementation 2007-05-07 11:04 UTC+0300 Chen Kedem * source/rtl/mlctopos.c ! Fix bug#1635288 - Make the function MLCTOPOS() more Clipper compatible. Also, the WordWrap value was taken from the wrong parameter. 2007-05-07 02:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c * initialize lpaParent in DBRELINFO structure to pArea - please note that this initialization is ignored by default SETREL() RDD method * harbour/source/rdd/usrrdd/usrrdd.c ! fixed GPF when NULL lpaParent or lpaChild was used in DBRELINFO structure 2007-05-06 11:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * New define added * contrib/adordd/adordd.prg * SET RELATION implementation 2007-05-06 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c * harbour/source/vm/classes.c * harbour/include/hbapirdd.h * harbour/source/compiler/hbmain.c * updated HB_TRACE messages and some minor cleanups * harbour/source/rdd/dbcmd.c ! fixed initialisation of DBRELINFO dbSetRelation() - thanks to Antonio for locating the problem * harbour/source/rtl/idle.c * increase timeout in nanosleep() from 1 microsecond to 1 millisecond - removed some wrong comment 2007-05-06 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * changed __cls_IncData() to return index to newly allocated instance item and __cls_DecData() to return number of local (not inherited) instance items 2007-05-06 11:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/hbrandom.c ! HB_RANDOMSEED() fixed to correctly handle passed parameter. (Thanks to Mitja Podgornik) 2007-05-05 12:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tget.prg ! Fixed a recently introduced crash in Get():ColorDisp(). (Thanks to Teo Fonrouge) 2007-05-05 10:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved formatting and xharbour compatibility 2007-05-04 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile * harbour/contrib/bmdbfcdx/Makefile * harbour/source/rdd/Makefile ! fixed GNU make compilation * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c + added support for DOS/Windows DENY_* flag emulation in POSIX systems using BSD locks. So far such emulatin was done with standard POSIX locks. The new emulation can be enabled by setting HB_USE_BSDLOCKS and disabled by HB_USE_BSDLOCKS_OFF. By default it's enabled in Linux and BSD* based systems. Please not that it BSD locks work in differ way then POSIX ones. They are bound with file handle and process ID not i-node and PID. It will allow to synchronize even single process but it will not work in NFS and some old BSD and Linux kernels. This synchronization cannot be used also between different platforms. If someone needs such synchronization then he should build Harbour on all platforms with HB_USE_BSDLOCKS_OFF and HB_USE_SHARELOCKS with valid multi platform lock offset * harbour/source/rdd/dbcmd.c * removed all explicit NETERR setting - now it can be set only by NETERR() function (executed by default errorsys) * changed ordListAdd()/dbSetIndex() - now they return logical value with information about success * harbour/source/rdd/wafunc.c * changed hb_rddOpenTable()/hb_rddCreateTable() to make dbUseArea()/ dbCreate() more Clipper compatible - it's not exact Clipper behavior but I intentionally do not want to replicate some strange for me things, f.e. I do not know why Clipper ignores RDDNAME when it has only one character + harbour/tests/tstuse.prg + test code for dbUseArea() 2007-05-04 11:06 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * source/rdd/wafunc.c * change of the behavior of DbUseArea opening, so that one behaves like made Clipper, when it fails the opening of a table, does not recover the previous area. 2007-05-04 10:15 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) + contrib/bmdbfcdx/Makefile + contrib/bmdbfcdx/bmdbfcdx1.c + contrib/bmdbfcdx/bmsixcdx1.c + contrib/bmdbfcdx/hbrddbmcdx.h + contrib/bmdbfcdx/make_b32.bat + contrib/bmdbfcdx/makefile.bc + contrib/bmdbfcdx/readme.txt + BMDBFCDX RDD: Is a DBFCDX RDD compatible with clipper 5.3, use SET OPTIMIZE ON to make a static bitmap filters, with SET OPTIMIZE OFF works as harbour DBFCDX. Addons: BM_DbSeekWild( uKey, [lSoftSeek], [lFindLast], [lNext], [lAll] ) => .T./.F. or aSeekRec when lAll clause BM_Turbo( lOnOff ) // Is only recomendable to use it on creating FILTERS BM_DbGetFilterArray() => aFilterRec BM_DbSetFilterArray( aFilterRec ) BM_DbSetFilterArrayAdd( aFilterRec ) BM_DbSetFilterArrayDel( aFilterRec ) Respecting command: SET OPTIMIZE Change the setting that determines whether to optimize using the open orders when processing a filtered database file ------------------------------------------------------------------------------ Syntax SET OPTIMIZE ON | OFF | () Arguments ON enables optimization. OFF disables optimization. is a logical expression that must be enclosed in parentheses. A value of true (.T.) is the same as ON, and a value of false (.F.) is the same as OFF. Note: The initial default of this setting depends on the RDD. Description For RDDs that support optimization, such as BMDBFCDX, SET OPTIMIZE determines whether to optimize filters based on the orders open in the current work area. If this flag is ON, the RDD will optimize the search for records that meet the filter condition to the fullest extent possible, minimizing the need to read the actual data from the database file. If this flag is OFF, the RDD will not optimize. Examples ¦ The following example enables optimization for the Inventor database file using the SET OPTIMIZE command: USE Inventor NEW VIA "BMDBFCDX" SET OPTIMIZE ON 2007-05-03 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c * updated casting for recent modifications in RDD API 2007-05-03 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/include/hbapirdd.h - harbour/include/hbrddwrk.h * harbour/source/rdd/Makefile + harbour/source/rdd/wacore.c + harbour/source/rdd/wafunc.c * harbour/source/rdd/workarea.c * cleaned RDD code: * the default work area implementation from which each RDD inherits and RDD management is now in workarea.c file - this part will be common for all threads in future MT version * the code to mange workareas and aliases moved to wacore.c - this code uses some static variables which will be moved to HVM stack in MT version * helper RDD functions thread independent moved to wafunc.c * harbour/source/rdd/dbcmd.c * removed RDD/WorkArea management code - only independent HB_FUNCs left. IMHO it will be good to divide this file into few ones. * changed dbCreate() and dbUseArea() to return logical value * harbour/config/global.cf - removed nulsys from linked library list - it should not be here because it can confuse some linkers and wrong library will be created * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/nulsys/nulsys.c * updated for recent modifications in RDD API * harbour/include/hbextern.ch - removed __RDDSETDEFAULT() - this function was necessary with old rdd register code and we not not need it for few years. It's not Clipper function so I do not see any reason to keep it but if you want we can add wrapper to standard RDDSETDEFAULT() * harbour/source/rdd/hbsix/sxcompr.c + added workaround for SIX3 bug which I intentionally replicated in [x]Harbour but it may cause data corruption so IMHO it will be better to fix it. * harbour/source/rtl/errorsys.prg * added default action for EG_LOCK - it's Clipper compatible behavior but done in differ way. Due to some differences in linker we are using we cannot exactly replicate Clipper behavior because it will not work on some platforms as expected so I decided to add it here. I think it's even more Clear then the trick with source/sys/ntxerr.prg done by Clipper. Many people do not even knows about it. * harbour/source/rtl/gtcrs/chrmap.c * changed environment variable name from HB_CHRMAP to HB_CHARMAP to be compatible with description in default map file 2007-05-01 22:53 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * DbCreate() implementation just for Microsoft Access + contrib/adordd/access2.prg * DbCreate() sample with Microsoft Access 2007-05-01 08:48 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg * LOCATE and CONTINUE support + contrib/adordd/mysql3.prg * MySQL LOCATE and CONTINUE sample 2007-04-30 21:58 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * IndexKey( n ) support 2007-04-30 20:58 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * ZAP implemented. GO TOP fixed for empty tables 2007-04-30 10:15 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO connection objects and ADO catalog objects are automatically created, stored and used by the ADORDD 2007-04-29 17:34 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Oracle support, thanks to Srdjan Dragojlovic * contrib/adordd/adordd.ch * formatting 2007-04-29 12:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * SET FILTER TO ... support i.e.: SET FILTER TO First = "Homer" To use special SQL expressions, place quotation marks around them, i.e.: SET FILTER TO "City LIKE 'Chi*'" 2007-04-27 19:33 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg * QUERY support and MS SQL support (thanks to Vikthor!) 07-04-27 14:35 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * Minor change to header file name 2007-04-27 13:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/rtl/set.c * harbour/include/set.ch * harbour/include/hbset.h * added support for SET EOL as in xHarbour * harbour/source/rtl/mlcount.c * fixed count for softcr * harbour/include/hbcompat.ch * added compatibility for isregex(string) function * harbour/contrib/tip/cgi.prg * changed return of StartSession to Self 2007-04-27 10:53 UTC+0100 Fernando Mancera (fmancera@viaopen.com) + contrib/adordd/adordd.ch + contrib/adordd/adordd.prg + contrib/adordd/make_b32.bat + contrib/adordd/makefile.bc + contrib/adordd/access1.prg + contrib/adordd/mysql1.prg * ADORDD header file, source code, makefiles and samples 2007-04-24 10:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetint.prg * harbour/tests/rto_get.prg * Minor fixes, cleanups, formatting. 2007-04-23 23:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/diskspac.c ! Fixed to return free space instead of disk size under Unix OSes. * harbour/source/rtl/tget.prg ! Fixed checking for invalid GET var types. ! More C5x compatible behaviour for invalid types. ! ::UnTransform() fixed when not in focus. - ::UnTransform() cBuffer incompatible parameter removed. ! ::Reform() probably made more compatible. + ::PosInBuffer() XBase++ compatible method implemented. (but not tested or compared with XBase++) ! ::Minus assignment fixed. ! ::Clear assignment fixed. ! ::Changed assignment fixed. ! ::Buffer assignment fixed. ! ::Block assignment fixed. ! ::Name assignment fixed. ! ::UnTransform() extra parameter removed. ! ::UpdateBuffer() minor fix when not in focus. ! ::Reform() made more compatible. % ::SetFocus() some superfluous stuff removed. % ::SetFocus() some fixes, cleanups. ! ::KillFocus() now sets ::TypeOut properly. ! ::VarPut(), ::VarGet() fixed for invalid ::Subscript contents. ! ::VarPut(), ::VarGet() fixed for invalid ::Block content. ! ::Pos rewritten to be fully compatible. ! ::ColorSpec made fully compatible. ! ::UnTransform() fixed when not in focus. ! ::UnTransform() fixed handling "YL" in string pictures. % ::UnTransform() minor optimization. % ::PutMask() some hacks removed. ! ::PutMask() invalid types handling. ! ::BackSpace() fixed when not in focus. ! ::Delete() fixed when not in focus. ! ::DeleteAll() fixed when not in focus. ! ::IsEditable() fixes. ! ::Picture fixes for invalid types, assignment behaviour. ! ::Picture hacks removed. ! Non-assignable vars made READONLY. (will generate different RTEs than in CA-Cl*pper due to the more refined oo engine in Harbour.) ! ::BadDate changed to be a METHOD. ! ::DecPos fixed. ! ::ToDecPos fixes. ! ::Row assigment and behaviour fixes. ! ::Col assigment and behaviour fixes. + Several comments and NOTEs added. * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/setcolor.c + hb_gtColorsToString() public API added. + hb_NToColor() function added to convert a single color value (returned by hb_ColorToN()) back to a string. Used in TGet():ColorSpec implementation. * harbour/source/vm/fm.c * "Blocks" -> "Block(s)" * harbour/tests/rto_get.prg + Added many test cases. * harbour/source/vm/cmdarg.c + Added support to use "--" instead of "//" for internal command line options. * harbour/source/rtl/tbcolumn.prg + Formatting. * harbour/source/rtl/tbrowse.prg + Added Harbour (undocumented) extension NOTE. * harbour/include/Makefile - harbour/include/usrrdd.ch + harbour/include/hbusrrdd.ch * harbour/source/rdd/usrrdd/usrrdd.c * harbour/source/rdd/usrrdd/rdds/dbtcdx.prg * harbour/source/rdd/usrrdd/rdds/fcomma.prg * harbour/source/rdd/usrrdd/rdds/fptcdx.prg * harbour/source/rdd/usrrdd/rdds/hscdx.prg * harbour/source/rdd/usrrdd/rdds/rlcdx.prg * harbour/source/rdd/usrrdd/rdds/smtcdx.prg * harbour/contrib/pgsql/pgrdd.prg ! Changed public header filename to comply with the "hb*.ch" rule. (namespace protection) 2007-04-23 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.y * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c ! reverted fix for unnecessary -W2 warning: Function '...' does not end with RETURN statement in code like: func f(v) if v return "TRUE" else return "FALSE" endif Sorry but I had to make it because this fix was wrong and causes that code like: func f(v) if v ? v else return "FALSE" endif was compiled without any warnings but wrong PCODE was generated. In some spare time I'll try to implement valid RETURN detection, now simply add RETURN NIL at the end of such functions - it will be removed by dead code eliminator. ! fixed memory leak when more then one .prg file was given as compiler parameter + cleaned some code for future modifications * harbour/source/macro/macro.y + added small hack for two BCC/OW warnings * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * regenerated with modified Bison version which should give code without BCC warnings - I cannot promise I'll keep it in the future but I will try. * harbour/source/rdd/dbcmd.c ! use default RDD instead of current one in COPY TO and APPEND FROM * harbour/source/vm/classes.c * added support for (@func()):eval(...) 2007-04-20 21:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg % Avoiding INLINE for speed. % Using INIT for quicker object initialization. + Added TGet() NOTEs, TOFIX. ! Fixed some problems in TGetList. (Two GetApplyKey() potential RTEs.) ! Fixed a few missing "CLASS TBrowse"-es. ; Some formatting, code cleaning. 2007-04-20 04:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tget.prg * harbour/tests/Makefile + harbour/tests/rto_get.prg ; Fixed lots of minor bugs and differences between CA-Cl*pper and Harbour Get system. The following methods got most of the fixes: + ::Reform() undocumented C52 method added. ! ::Display() fixed when not having focus. (old TOFIX) ! ::UpdateBuffer() fixed when not having focus. ! ::SetFocus() fixed to do nothing when already having focus. ! ::KillFocus() made almost fully compatible. (the ::Assign() call is still raising questions) ! ::Reset() made compatible. ! ::VarPut() fixed when not having focus. ! ::Undo() made compatible. ! ::Type() behaviour now fully C5x compatible. ! ::Block() assignment now fully C5x compatible. ! ::OverStrike() fixed RTE when not having focus. ! ::Insert() fixed RTE when not having focus. ! ::ToDecPos() fixed to set ::Changed. ! ::PutMask() fixed to not pad the string to ::nMaxLen to be fully compatible with C5x. ! ::DecPos, ::Pos initialization made compatible. (here the CA-Cl*pper NG is wrong in stating that these vars ever hold NIL, they don't and they hold 0s instead) ! ::Minus more compatible but still far from perfect. % ::ParsePict() integrated into ::Picture() - ::HasScroll() internal method removed. ! ::HitTest() guarded with HB_COMPAT_C53. + Propely marked Get vars/methods as PROTECTED/VISIBLE. % Several minor optimizations, meaningless code elimination. ; Formatting, removed many old commented code snippets. + Added regression style tests for basic Get methods. All the above fixes was the result of comparing Get object var dumps after calling different methods in different order. ; Notice that there could be new/rare cases when any of the above methods would need more fixes, in that case the regression test is there to check if the existing behaviour stayed the same after the fix and it's also very useful to add the new cases to the test. 2007-04-19 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gd/gdwrp.c * harbour/contrib/libmisc/hb_f.c * harbour/contrib/samples/dbf.c * harbour/contrib/samples/time.c * harbour/doc/es/hb_apiln.txt * harbour/include/hbapicdp.h * harbour/include/hbapilng.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbnubs.c * harbour/source/rdd/hsx/cftsfunc.c * harbour/source/rtl/accept.c * harbour/source/rtl/defpath.c * harbour/source/rtl/oemansi.c * harbour/source/rtl/pad.c * harbour/source/rtl/shadow.c * harbour/source/rtl/trim.c * harbour/source/vm/debug.c * changed HB_FUNCNAME( )() to HB_FUNC_EXEC( ) * harbour/utils/hbrun/Makefile * changed order of linked libraries * harbour/source/rtl/empty.c * changed EMPTY( ) - not it returns .T. when is not a function symbol * harbour/source/rtl/errorapi.c % replaced all hb_dynsym{Find,Get}*() by static variables initialized at HVM startup variables - it reduce the cost of creating and initializing error object about 50% * harbour/include/hbapifs.h * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * changed to use 64bit file API + harbour/contrib/libct/ctextern.ch + added list with EXTERN requests for our CT3 function. List generated automatically from final binary CT lib created on Linux. 2007-04-18 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/codepage/cp_tpl.c + Added NOTE about the fact that hb_Translate() (and hb_cdpTranslate()) would only work properly if all codepages for the same language are using the exact same number of lowercase/uppercase cp chars in the exact same order. * harbour/source/codepage/Makefile * harbour/common.mak * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphu852s.c * harbour/source/codepage/cphuiso.c + harbour/source/codepage/cphuisos.c * harbour/source/codepage/cphuwin.c + harbour/source/codepage/cphuwins.c ! Synced HU WIN and HU ISO codepage lower/uppercase strings with HU 852, so that hb_Translate() works properly. (this means there are now several duplicate chars included in the WIN/ISO versions, along with a non-HU char, all just needed to stay compatible with original CA-Cl*pper HU/852 index ordering and keep hb_Translate() working at the same time.) IMO, we'd need to introduce a separate "collation" string in each cp file to detach index ordering from upper/lowercase and codepage translation without any hacks, since as this example shows these two are not always in sync. (or, as an alternative we might want to make codepage translation more sophisticated, like converting first to unicode and convert back to the other codepage from unicode, but that leads a bit further.). (If I'm missing something, pls don't hesitate to clarify) + Added SixDriver compatible HU ISO/WIN codepage files for the reasons described above. * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * harbour/source/codepage/cpbg866.c * harbour/source/codepage/cpbgiso.c * harbour/source/codepage/cpbgwin.c * harbour/source/codepage/cpcs852.c * harbour/source/codepage/cpcsiso.c * harbour/source/codepage/cpcskam.c * harbour/source/codepage/cpcswin.c * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * harbour/source/codepage/cpesdos.c * harbour/source/codepage/cpesmwi.c * harbour/source/codepage/cpeswin.c * harbour/source/codepage/cpfrdos.c * harbour/source/codepage/cpgedos.c * harbour/source/codepage/cpgewin.c * harbour/source/codepage/cphr1250.c * harbour/source/codepage/cphr437.c * harbour/source/codepage/cphr852.c * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphu852s.c * harbour/source/codepage/cphuiso.c * harbour/source/codepage/cphuwin.c * harbour/source/codepage/cpit437.c * harbour/source/codepage/cpit850.c * harbour/source/codepage/cpitisb.c * harbour/source/codepage/cpitiso.c * harbour/source/codepage/cpltwin.c * harbour/source/codepage/cppl852.c * harbour/source/codepage/cppliso.c * harbour/source/codepage/cpplmaz.c * harbour/source/codepage/cpplwin.c * harbour/source/codepage/cppt850.c * harbour/source/codepage/cpptiso.c * harbour/source/codepage/cpru866.c * harbour/source/codepage/cprukoi.c * harbour/source/codepage/cpruwin.c * harbour/source/codepage/cpsl437.c * harbour/source/codepage/cpsl852.c * harbour/source/codepage/cpsliso.c * harbour/source/codepage/cpslwin.c * harbour/source/codepage/cpsrwin.c * harbour/source/codepage/cptrdos.c * harbour/source/codepage/cptrwin.c * harbour/source/codepage/cpua866.c * harbour/source/codepage/cpuakoi.c * harbour/source/codepage/cpuawin.c * harbour/source/codepage/uc1250.c * harbour/source/codepage/uc1251.c * harbour/source/codepage/uc1253.c * harbour/source/codepage/uc1254.c * harbour/source/codepage/uc1257.c * harbour/source/codepage/uc737.c * harbour/source/codepage/uc850.c * harbour/source/codepage/uc852.c * harbour/source/codepage/uc857.c * harbour/source/codepage/uc866.c * harbour/source/codepage/uc88591b.c * harbour/source/codepage/uc8859_1.c * harbour/source/codepage/uc8859_2.c * harbour/source/codepage/uc8859_5.c * harbour/source/codepage/uckam.c * harbour/source/codepage/uckoi8.c * harbour/source/codepage/uckoi8u.c * harbour/source/codepage/ucmaz.c ! #define namespace issue in public API header file corrected: CPID_* -> HB_CPID_* UNITB_* -> HB_UNITB_* * harbour/source/compiler/gencobj.c ! Fixed warning. 2007-04-18 09:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * fixed declaration 2007-04-18 09:23 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * added support of HB_CFG_FILE envvar which define the file name to use for -go compiler switch borrowed from xHarbour * harbour/config/w32/mingw32.cf * fixed a typo 2007-04-18 00:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/mysql/Makefile * changed library name from mysql to hbmysql * harbour/bin/hb-func.sh + added hbgd hbole hbpg hbmysql to linked library list in hb* scripts 2007-04-17 23:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd/Makefile * added install of gd.ch * harbour/contrib/gd/gd.prg * removed two unused vars * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/Makefile * added ctnet.c borrowed from xHarbour * harbour/contrib/pgsql/postgres.c * fixes some warnings * harbour/contrib/tip/cgi.prg * added session name parameter * harbour/include/hbcompat.ch * added gtProcessMessages() translate 2007-04-17 20:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! update NetErr() in ordListAdd() If you know other then dbCreate()/dbUseArea() functions which reset NetErr() flag in Clipper then please report them. We will have to update our functions (dbSetIndex() is a wrapper to ordListAdd() so you nay not report it ;)) * harbour/source/rtl/gtstd/gtstd.c * do not stop Harbour process when controlling terminal has TOSTOP attribute set (as long as no direct out is done) * harbour/source/rtl/tclass.prg * harbour/source/rtl/terror.prg * harbour/source/rtl/tobject.prg * set valid class function * harbour/source/rtl/tmenuitm.prg * harbour/source/rtl/tpopup.prg ! I think that no one has been checking what these code does for very long time. Both MenuItem() and PopUp() on each call tries to create new _CLASSES_ called "MenuItem" and "PopUpMenu" instead of creating only new instance of these classes (new objects) Updated to use standard hbclass.ch commands. If possible try to not create classes manually and always use documented commands from hbclass.ch 2007-04-17 19:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/common/hbver.c + Added Vista and 2003 Windows versions. * Updated Cygwin/Mingw compiler names. 2007-04-17 04:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c * removed const from return value of hb_dynsymName() to not force updating of existing 3-rd party code 2007-04-17 04:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/itemseri.c * cleaned OW warnings 2007-04-17 04:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c * changed some declarations from 'char *' to 'const char *' * harbour/include/hbapicls.h * harbour/source/vm/classes.c * changed some declarations from 'char *' to 'const char *' + added hb_clsFuncName(), hb_clsFindClass(), hb_objSetClass() * harbour/source/rtl/itemseri.c ! fixed some stupid typos in previous commit * added support for serialization of object variables - I'm not sure it's good idea anyhow people ask about it so we have it. Probably we should add some special method like OnError(), f.e.: OnRestore() or sth like that and execute it after deserialization or object cloning. 2007-04-17 01:55 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) + contrib/ole2/make_b32.bat + contrib/ole2/makefile.bc * Borland makefile for HBOleAut.lib * contrib/ole2/win32ole.prg * minor fix 2007-04-17 01:32 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/ole2/win32ole.prg * contrib/ole2/w32ole.c * Some changes to get them working on Harbour 2007-04-17 01:17 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) + contrib/ole2 + contrib/ole2/win32ole.prg + contrib/ole2/w32ole.c * win32ole.prg borrowed from xharbour, source modifications by Przemek 2007-04-16 22:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/hbinet.c ! Warnings fixed for Darwin (gcc 4.0.1 OSX 10.4.9 PPC) * harbour/source/rtl/idle.c ! Fixed releasing idle CPU cycles. (thanks Przemek) The committed method was tested against usleep( 1 ) and usleep( 100 ) and found to work perfect as opposed to the usleep() calls. * harbour/source/rtl/tget.prg ! Adjusted my old TOFIX note. 2007-04-16 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch * always translate hash H*() function to HB_H*() ones even if HB_COMPAT_XHB is set. Code which uses HB_H*() functions can be linked with any Harbour builds * harbour/include/hbapi.h * harbour/source/vm/hashes.c + added hb_hashId() * harbour/source/pp/ppcore.c + added #ytranslate, #ycommand, #yuntranslate, #yuncommand case sensitive version of corresponding #x* directives * harbour/source/rtl/itemseri.c + added support for serialization arrays and/or hashes with cyclic references 2007-04-16 21:25 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg * fixed ::UpdateBuffer() * source/codepage/uc88591b.c * source/rtl/gtxwc/gtxwc.c * added support for Euro sign 2007-04-16 11:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/compiler/ppcomp.c ! fixed file name in errors/warnings generated from PP just after including some file 2007-04-16 01:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * removed some not longer necessary GTWVW extensions * harbour/source/rtl/hbgtcore.c * harbour/contrib/libct/ctwin.c + added support for GTI_{NEW,GET,SET}WIN in CTWIN Now debugger can be used with CTWIN without any problems 2007-04-16 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/bin/pack_src.sh * harbour/source/vm/Makefile - harbour/source/vm/dbgentry.c * harbour/source/debug/Makefile + harbour/source/debug/dbgentry.c * moved dbgentry.c from HVM to DEBUG library * harbour/source/rtl/hbgtcore.c + added basic version of GTI_{NEW,GET,SET}WIN * harbour/include/hbapidbg.h * harbour/source/vm/hvm.c * harbour/source/debug/debugger.prg * harbour/source/debug/dbgentry.c + added set of .prg level functions (HB_DBG_*()) to control debugger internals * eliminated HB_INLINE() calls * use to switch between user and debugger screen * cleaned debugger interface in HVM, removed unused variables added one common debug function 2007-04-15 14:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c ! fixed typo in buffer size passed to snprintf() 2007-04-15 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/vm/dbgentry.c * harbour/source/vm/hvm.c ! fixed GPF in debugger 2007-04-15 11:20 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/gd/tests/images_in/conv_test.jpeg + harbour/contrib/gd/tests/images_in/gdlogobig.png + harbour/contrib/gd/tests/images_in/theclipper.gif + uploaded in binary form 2007-04-15 11:17 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) - harbour/contrib/gd/tests/images_in/empty.jpeg - harbour/contrib/gd/tests/images_in/conv_test.jpeg - harbour/contrib/gd/tests/images_in/gdlogobig.png - harbour/contrib/gd/tests/images_in/theclipper.gif - removed from CVS because not marked as binary I will upload them in binary form on next commit, but not empty.jpeg 2007-04-14 14:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/include/hbcompat.ch ! Added copyright and CVS header. ! Indentation fixes. 2007-04-14 13:47 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/include/hbcompat.ch * added xharbour compatible hash translations 2007-04-14 13:36 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/bin/bld.bat * added HB_USER_LIB var to bcc link line to make usable bldtest.bat Question: Is there a way to build from bcc adding contrib libs ? - harbour/contrib/gd/hbgd.txt + harbour/contrib/gd/doc/hbgd.txt * moved in doc dir + harbour/contrib/gd/doc/COPYING + gd copyright text (it's free for any use, but this file has to be reported) + harbour/contrib/gd/include/entities.h + harbour/contrib/gd/include/gd.h + harbour/contrib/gd/include/gd_io.h + harbour/contrib/gd/include/gdcache.h + harbour/contrib/gd/include/gdfontg.h + harbour/contrib/gd/include/gdfontl.h + harbour/contrib/gd/include/gdfontmb.h + harbour/contrib/gd/include/gdfonts.h + harbour/contrib/gd/include/gdfontt.h + harbour/contrib/gd/include/gdfx.h + harbour/contrib/gd/include/gdhelpers.h + harbour/contrib/gd/include/jisx0208.h + harbour/contrib/gd/include/wbmp.h + include files for compiling in windows environment + harbour/contrib/gd/tests/digits/57chevy.gif + harbour/contrib/gd/tests/digits/7seg.gif + harbour/contrib/gd/tests/digits/brsd.gif + harbour/contrib/gd/tests/digits/digib.gif + harbour/contrib/gd/tests/digits/fdb.gif + harbour/contrib/gd/tests/digits/jelly.gif + harbour/contrib/gd/tests/digits/odb.gif + harbour/contrib/gd/tests/digits/odw.gif + harbour/contrib/gd/tests/digits/pdg.gif + harbour/contrib/gd/tests/digits/pdw.gif + digits images for counter.prg sample + harbour/contrib/gd/gdexternal.ch + external declarations for use with linker + harbour/contrib/gd/make_b32.bat + harbour/contrib/gd/makefile.bc + harbour/contrib/gd/tests/bldtest.bat + harbour/contrib/gd/tests/bldtest.sh + make files * harbour/contrib/gd/tests/images_in/conv_test.jpeg * harbour/contrib/gd/tests/images_in/gdlogobig.png * harbour/contrib/gd/tests/images_in/theclipper.gif * updated images (I got them corrupted, probably is CVS ?) * harbour/contrib/gd/README * harbour/contrib/gd/gd.prg * harbour/contrib/gd/gdbar.prg * harbour/contrib/gd/gdbarcod.prg * harbour/contrib/gd/gdchart.prg * harbour/contrib/gd/gdimage.prg * harbour/contrib/gd/gdwrp.c * harbour/contrib/gd/tests/animgif.prg * harbour/contrib/gd/tests/antialiased.prg * harbour/contrib/gd/tests/barms.prg * harbour/contrib/gd/tests/bartest.prg * harbour/contrib/gd/tests/counter.prg * harbour/contrib/gd/tests/gdtestcls.prg * harbour/contrib/gd/tests/test_out.prg * harbour/contrib/gd/tests/testdpi.prg * harbour/contrib/gd/tests/tostring.prg * fixed hbgd files ! Please test in other environment. I have built harbour as downloaded from CVS, no HB_COMPAT_XHB defined 2007-04-14 12:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/include/hbstdgen.ch * harbour/include/box.ch * harbour/include/hbclass.ch * harbour/include/hbcommon.ch * harbour/include/hbextern.ch * harbour/include/hbgetcmt.ch * harbour/include/hbsetup.ch * harbour/include/ord.ch * harbour/source/rdd/dbdelim.prg * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dbjoin.prg * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rdd/rddord.prg * harbour/source/rtl/alert.prg * harbour/source/rtl/browdb.prg * harbour/source/rtl/browdbx.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/dircmd.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/input.prg * harbour/source/rtl/mssgline.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/setfunc.prg * harbour/source/rtl/setta.prg * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetint.prg * harbour/source/rtl/tmenuitm.prg * harbour/source/rtl/tpopup.prg * harbour/source/rtl/ttopbar.prg * harbour/source/rtl/typefile.prg * harbour/source/vm/harbinit.prg * harbour/utils/hbrun/external.prg * harbour/utils/hbtest/rt_main.ch + Following #defines are now available by default without the need to #include "hbsetup.ch". These are of course also available for applications as defined at Harbour build time: HB_EXTENSION HB_C52_UNDOC HB_C52_STRICT HB_COMPAT_C53 HB_COMPAT_XPP HB_COMPAT_VO HB_COMPAT_FLAGSHIP HB_COMPAT_FOXPRO HB_COMPAT_DBASE HB_COMPAT_CLIP HB_COMPAT_XHB HB_SHORTNAMES HB_FILE_VER_STATIC * harbour/source/compiler/hbusage.c * Mail address update. 2007-04-14 11:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/debug/dbgtarr.prg ! Fixed unclosed #if construct. Question: What does HB_NO_READDBG do? * harbour/source/rtl/tget.prg ! Removed :Assign() call from :UpdateBuffer() to close the functionality to CA-Cl*pper. 2007-04-13 19:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/include/Makefile ! added install of hbcompat.ch * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgthsh.prg * added missed #ifndef HB_NO_READDBG 2007-04-13 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/valtoexp.prg + added HB_VALTOEXP() and HB_CSTR() * harbour/source/debug/dbgthsh.prg * harbour/source/debug/debugger.prg * replaced CSTR() with HB_CSTR() and SETLASTKEY() with HB_SETLASTKEY() now debugger can be used without CT and TIP libraries * harbour/include/hbgtinfo.ch * harbour/source/rtl/hbgtcore.c + added GTI_ISMULTIWIN, GTI_GETWIN, GTI_SETWIN, GTI_NEWWIN and TODO note - it's not finished yet, work in progress 2007-04-13 17:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tget.prg ! Get method UpdateBuffer() fixed to be effective only when the object has focus (as per the C52 docs and Lorenzo's report). 2007-04-13 12:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/debug/debugger.prg ! Fixed a few compile errors. ! Reapplied (and extended) a former fix regarding the proper handling of the filenames. * harbour/source/rtl/tbrowse.prg ; Cosmetic. 2007-04-13 11:50 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/common.mak ! updated for new files * harbour/source/debug/Makefile * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg + harbour/source/debug/dbgaltd.prg + harbour/source/debug/dbgthsh.prg * debugger code borrowed from xHarbour + harbour/include/hbcompat.ch * xHarbour compatibility defines 2007-04-13 11:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! updated for new files * harbour/contrib/libct/Makefile - harbour/contrib/libct/math.c + harbour/contrib/libct/ctmath2.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * renamed math.c to ctmath2.c 2007-04-13 03:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + harbour/include/hbapidbg.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbdebug.ch * harbour/include/hbdefs.h * harbour/source/compiler/Makefile * harbour/source/compiler/genc.c + harbour/source/compiler/hbdbginf.c * harbour/source/compiler/hbmain.c * harbour/source/debug/debugger.prg * harbour/source/rtl/altd.prg * harbour/source/vm/Makefile + harbour/source/vm/dbgentry.c * harbour/source/vm/debug.c * harbour/source/vm/hvm.c + added xHarbour compatible low level debugger code Without some small exceptions like my hbdbginf.c most of the code created by Phil Krylov and borrowed from xHarbour with some small modifications. * harbour/source/rtl/gete.c ! fixed memory leak in GETENV() * harbour/source/compiler/hbmain.c ! fixed memory leak when -build or -credit switches were used 2007-04-12 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbppdef.h * changed error and warning messages to const char * * harbour/source/compiler/genhrb.c * rewritten to work on memory buffers and with new compiler code * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/main/harbour.c + added LANG_PORT_OBJ_BUF which allow to generate .hrb files into memory buffers * harbour/source/compiler/hbcmplib.c + added HB_COMPILEBUF() functions which returns compiled .hrb file as string item * harbour/source/vm/runner.c + added support for executing compiled .hrb files stored in string items in __HRBRUN() function - it works just like in __HRBLOAD() * harbour/harbour.spec * harbour/utils/hbrun/hbrun.prg + added default include directories to hbrun * use HB_COMPILEBUF() instead of HB_COMPILE() to eliminate temporary files 2007-04-12 11:14 UTC+0300 Chen Kedem * source/rtl/tget.prg ! Fix bug#1672233 - Picture masks for Logical GET variables. * source/lang/msgtrdos.c * source/lang/msgtrwin.c ! Change ID from TR to TR857 and TRWIN. * doc/en/lang.txt + Update language and codepage lists with the latests additions. * doc/dirstruc.txt + Add short description to the newly added directories. 2007-04-11 22:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak + added compiler.lib to linked libraries 2007-04-11 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed some possible false warning messages * harbour/include/hboo.ch * harbour/source/vm/classes.c + added support for HB_OO_MSG_PROPERTY and HB_OO_MSG_CLASSPROPERTY to make some xHarbour users happy ;-) * harbour/common.mak * harbour/harbour.spec * harbour/include/hbcompdf.h * harbour/source/compiler/Makefile + harbour/source/compiler/hbcmplib.c + added HB_COMPILE() function - it accepts exactly the same parameters as harbour compiler and makes the same job :-) * harbour/utils/hbrun/Makefile * harbour/utils/hbrun/hbrun.prg + added support for compilation and direct execution of .prg files Now hbrun can accept as first parameter .hrb or .prg file and if it's .prg file it's compiled and then executed just like .hrb one. In *nixes if you copy compiled hbrun to /usr/bin directory then you can add to your .prg files as first line: #!/usr/bin/hbrun and then after setting executable attribute you can directly execute them, f.e.: ./test.prg If you are using Linux then you can also chose default gt driver by dding to above line: //gt F.e. #!/usr/bin/hbrun //gtstd 2007-04-11 15:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/contrib/libnf/mouse1.prg ! Fixed unused variable. * harbour/source/compiler/genc.c % Compact compiler output (-gc0) made even more compact (~20% size reduction). 2007-04-10 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbregex.h * harbour/include/hbclass.ch + added support for ENDCLASS LOCK[ED] + := { } * harbour/source/debug/tbrwtext.prg * harbour/source/rtl/memoedit.prg * harbour/utils/hbdoc/ffile1.prg * harbour/utils/hbmake/ffile1.prg * changed code with: super: to ::super: I will want to remove lines with: [ ; #translate Super( ): => ::: ] ; [ ; #translate Super( ): => ::: ] ; [ ; #translate Super(): => ::: ] ; [ ; #translate Super: => ::: ] ; [ ; #translate ::Super : => ::: ] from our hbclass.ch (at least the last three ones) because they beaks code which uses SUPER identifier * harbour/source/rtl/philes.c * changed FSEEK() to use hb_fsSeekLarge() for OSes which supports large (64bit) files * harbour/source/vm/classes.c ! updated some comments about function syntax 2007-04-10 13:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/common.mak * harbour/source/codepage/Makefile * harbour/source/codepage/cphu852.c + harbour/source/codepage/cphu852s.c ! Default Hungarian 852 codepage made 100% compatible with ntxhu852.obj for CA-Cl*pper 5.x. + Added Hungarian 852 codepage 100% compatible with sixhu852.obj for S*ccessWare SIx Driver. (this was formerly used as the default Hungarian 852 codepage for Harbour, the only change now is the ID and comment cleanup.) 2007-04-10 11:20 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd * added new directory * harbour wrapper classes for www.libgd.org graphic library * see README and hbgd.txt for docs 2007-04-06 15:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/persist.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/teditor.prg % Replaced __StrT*() internal functions with native Harbour extensions hb_Token*(). % Removed workarounds for problems with the previous implementation of the __StrT*() functions. Please test TEditor (all) and TBrowse class (header/footer line splitting). 2007-04-06 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbtoken.c ! fixed using delimiters longer then 1 character 2007-04-06 11:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/msgnl.c * added missing $\Date$ in version string 2007-04-06 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgnl.c + added Dutch language module by Rene Koot * harbour/config/os2/gcc.cf * commented out -DTCPV40HDRS in CFLAGS * harbour/make_gnu.cmd * added commented by default: set C_USR=-DTCPV40HDRS %C_USR% * harbour/contrib/libnf/menu1.prg * harbour/contrib/libnf/pegs.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/savesets.prg * harbour/source/debug/dbgmenu.prg + added missing #include "common.ch" for HB_SYMBOL_UNUSED() * harbour/include/hbclass.ch * renamed __HB_SYMBOL_UNUSED() to __HB_CLS_SYMBOL_UNUSED() to keep the same name convention as for other hbclass definitions/commands * harbour/include/hbsetup.h * added commented by default #define HB_PP_MULTILINE_STRING with small description * harbour/source/rtl/net.c * added missing #include(s) for OS2 build * harbour/source/rdd/dbfcdx/dbfcdx1.c * formatting 2007-04-05 13:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/include/hbclass.ch * harbour/include/common.ch ! Using locally declared __HB_SYMBOL_UNUSED() instead of HB_SYMBOL_UNUSED() * harbour/contrib/hgf/os2pm/tform.prg ! Fixed unused symbol. 2007-04-04 15:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/pgsql/tpostgre.prg * removed unused vars * harbour/contrib/tip/cgi.prg * used new hb_serialize/hb_deserialize * removed unused vars * harbour/contrib/tip/ftpcln.prg * harbour/contrib/tip/httpcln.prg * harbour/contrib/tip/mail.prg * harbour/contrib/tip/popcln.prg * removed unused vars 2007-04-04 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! typos * harbour/source/vm/extend.c * formatting 2007-04-04 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/Makefile - harbour/contrib/tip/atokens.c * removed HB_ATOKENS() - harbour/source/rtl/teditorl.c - removed __STRTOKEN(), __STRTKPTR() * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbextern.ch + harbour/source/rtl/hbtoken.c + added set of functions to manipulate string tokens: HB_TOKENCOUNT( , [ ], [ ], [ ] ) -> HB_TOKENGET( , , [ ], [ ], [ ] ) -> HB_TOKENPTR( , @, [ ], [ ], [ ] ) -> HB_ATOKENS( , [ ], [ ], [ ] ) -> All these functions use the same method of tokenization. They can accept as delimiters string longer then one character. By default they are using " " as delimiter. " " delimiter has special mening Unlike other delimiters repeted ' ' characters does not create empty tokens, f.e.: HB_ATOKENS( " 1 2 3 " ) returns array: { "1", "2", "3" } Any other delimiters are restrictly counted, f.e.: HB_ATOKENS( ",,1,,2,") returns array: { "", "", "1", "", "2", "" } + added emulation for old __STRTOKEN(), __STRTKPTR() and xHarbour's __STRTOKENCOUNT() by HB_TOKEN*() functions. They do not return exactly the same result as __STRT*() functions which in some cases ignored some delimiters and return wrong results. * harbour/source/rdd/Makefile + harbour/source/rdd/dbsql.c + added __DBSQL() function * harbour/include/hbsetup.h * harbour/source/vm/fm.c + added support for native Windows memory allocation functions It can be enabled by HB_FM_WIN32_ALLOC macro and disable C-RTL memory manager. * harbour/tests/mousetst.prg * touch screen output before MPRESENT() to work with GTXWC 2007-04-03 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! fixed OS code in error message * harbour/source/rtl/gtxwc/gtxwc.c ! fixed MCOL()/MROW() 2007-04-03 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed possible process locking when undefined select() result is used 2007-04-03 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added hb_arrayRevScan() * harbour/source/vm/arrayshb.c + added RASCAN() covered by HB_COMPAT_XHB macro 2007-04-03 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed false warning about unreachable code in switch ...; case ...; exit; case ... statement * disabled some error messages about illegal pass by reference now HVM should not allow to create cyclic reference chain 2007-04-02 19:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/oleauto.prg * removed unused local variable * harbour/source/rtl/net.c ! fixed typo in variable name 2007-04-02 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbregex.c + added HB_REGEXHAS() and HB_REGEXLIKE() * harbour/source/rtl/net.c * added support for parameter in NETNAME() like in xHarbour when nType == 1 NETNAME() returns user name instead of host name. 2007-04-02 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/htmllib/counter.prg * harbour/contrib/htmllib/htmbrows.prg * harbour/contrib/htmllib/jwindow.prg * harbour/contrib/htmllib/ocgi.prg * harbour/contrib/htmllib/oedit.prg * harbour/contrib/htmllib/ofile.prg * harbour/contrib/htmllib/ohtm.prg * harbour/contrib/htmllib/oini.prg * harbour/contrib/libnf/aading.prg * harbour/contrib/libnf/aredit.prg * harbour/contrib/libnf/clrsel.prg * harbour/contrib/libnf/dispmsg.prg * harbour/contrib/libnf/eltime.prg * harbour/contrib/libnf/floptst.prg * harbour/contrib/libnf/menu1.prg * harbour/contrib/libnf/pegs.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/savesets.prg * harbour/contrib/libnf/tbwhile.prg * harbour/contrib/libnf/xbox.prg * harbour/contrib/odbc/todbc.prg * cleaned unused variable warnings 2007-04-01 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tgetlist.prg ! Fixed bug #1692268. The fix simply removes two strange lines of code which tried to modify the internal TGet() var "Type", after it read the value contained in the TGet(). Since this would be the job of TGet() alone, and Type() is not an assignable var in CA-Cl*pper, it very much looks like a workaround for something (maybe a shortcoming of an earlier version of TGet()). If anyone knows what was to be achieved with that, pls shout. 2007-04-01 13:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/makefile.bc * harbour/makefile.vc * harbour/config/rules.cf * harbour/contrib/btree/makefile.bc * harbour/contrib/htmllib/Makefile.bc * harbour/contrib/htmllib/makefile.vc * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * harbour/contrib/libgt/makefile.bc * harbour/contrib/libgt/makefile.vc * harbour/contrib/libmisc/makefile.bc * harbour/contrib/libmisc/makefile.vc * harbour/contrib/libnf/makefile.vc * harbour/contrib/libnf/nanfor.bc * harbour/contrib/samples/makefile.bc * harbour/contrib/samples/makefile.vc + harbour/contrib/samples/make_b32.bat + harbour/contrib/samples/make_vc.bat - harbour/contrib/samples/makevc.bat + -w default Harbour build switch changed to -w2, to further maintain code quality. ; Notice that CONTRIB might need some fixing here. + Added proper BC/VC make batch files for "samples". * harbour/include/hbclass.ch * harbour/source/debug/dbgmenu.prg * harbour/source/debug/debugger.prg * harbour/source/rtl/teditor.prg * harbour/utils/hbdoc/genchm.prg * harbour/utils/hbdoc/genhtm.prg * harbour/utils/hbdoc/genng.prg * harbour/utils/hbdoc/genos2.prg * harbour/utils/hbdoc/genpdf1.prg * harbour/utils/hbdoc/genrtf.prg * harbour/utils/hbdoc/os2.prg * harbour/utils/hbmake/hbmake.prg * harbour/utils/hbmake/radios.prg * harbour/utils/hbpptest/pretest.prg * harbour/utils/hbtest/rt_misc.prg + Added HB_SYMBOL_UNUSED() inside codeblocks. ! Removed a few uneeded codeblock parameters. + Added HB_SYMBOL_UNUSED() to some class syntax generated code to avoid unused "Self" var warnings. * harbour/ChangeLog.017 ! Typos. 2007-03-31 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbchksum.h * harbour/source/rtl/Makefile + harbour/source/rtl/hbadler.c + harbour/source/rtl/hbcrc.c + harbour/source/rtl/hbmd5.c + added functions to calculate different checksums HB_ADLER( [, ] ) -> HB_CRC32( [, ] ) -> HB_CRC16( [, ] ) -> HB_CRC ( [, ] [, ] ) -> HB_CRCCT( [, ] [, ] ) -> HB_MD5( ) -> HB_MD5FILE( ) -> HB_CRC() is general CRC function which can be used for any polynomial given as second argument, f.e.: 0x104C11DB7 is CRC32 polynomial, 0x18005 -> CRC16, 0x11021 -> CRC16 X.25, 0x1393 -> CRC12, 0x101 -> LCR8 HB_CRCCT() makes exactly the same job but it uses broken algorithm. Unfortunately it seems that this broken version is widely used by many other projects, f.e. HB_CRCCT() gives exactly the same results as COM_CRC() from CT3. Generated results are usually "good enough" but if you do not need compatibility with some other tools which uses broken CRC algorithm then I suggest to not use it. HB_ADLER() is ADLER32 check sum - this function gives the same results as HB_CHECKSUM in xHarbour. HB_MD5*() functions are from Dmitry V. Korzhov code modified a little bit by me for other then x86@32 machines files and buffers longer then 2^32. I also fixed possible problems with wrong results in some cases. * harbour/source/compiler/hbmain.c * increase number of optimization passes * harbour/source/pp/ppcore.c * cleaned C compiler warning 2007-03-30 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c + added support for multiline string concatenated by ';' f.e.: cVar := "line 1; line 2; line 3" To enable the above it's necessary to build PP with HB_PP_MULTILINE_STRING macro. It's not Clipper compatible extension and it's not enabled by default anyhow old PP worked in such way so I'm leaving the decision to Harbour community if the above should be enabled by default or not. 2007-03-30 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c % optimize PCODE generated for IIF() used as statement * harbour/include/hbpp.h * fixed typo in comment * harbour/source/pp/ppcore.c * fixed .ppo output in some string expressions inside [] * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c + added some missing DBOI_* actions * harbour/source/rtl/hbregex.c + added comment * harbour/source/vm/hashes.c * set autoadd by default when compiled with HB_COMPAT_XHB macro * harbour/source/debug/debugger.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rtl/tbrowse.prg * removed unnecessary NIL in in IIF() statements * harbour/utils/hbtest/rt_misc.prg * removed unnecessary ::cValue in in IIF() statements 2007-03-23 04:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/hbgtmk.sh - removed bison and flex from dependences list 2007-03-23 04:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + harbour/contrib/pgsql/Changelog + harbour/contrib/pgsql/Makefile + harbour/contrib/pgsql/README + harbour/contrib/pgsql/make_b32.bat + harbour/contrib/pgsql/makefile.bc + harbour/contrib/pgsql/pgrdd.prg + harbour/contrib/pgsql/postgres.c + harbour/contrib/pgsql/postgres.ch + harbour/contrib/pgsql/tpostgre.prg + harbour/contrib/pgsql/tstpgrdd.prg + harbour/contrib/pgsql/tests/Makefile + harbour/contrib/pgsql/tests/async.prg + harbour/contrib/pgsql/tests/cache.prg + harbour/contrib/pgsql/tests/dbf2pg.prg + harbour/contrib/pgsql/tests/simple.prg + harbour/contrib/pgsql/tests/stress.prg + harbour/contrib/pgsql/tests/test.prg + added Postgres SQL library - code borrowed from xHarbour * harbour/source/rtl/empty.c + added support for HASH items * harbour/source/rtl/itemseri.c + added SYMBOL items serialization 2007-03-22 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * updated for new files - please check * harbour/harbour.spec * added compiler library * harbour/bin/pack_src.sh * harbour/bin/hb-func.sh * updated for new files and libraries * harbour/config/w32/mingw32.cf * harbour/config/w32/watcom.cf * harbour/config/w32/xcc.cf * added winsock libraries * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added hb_cdpicmp() - not case sensitive version of hb_cdpcmp() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + hb_itemStrICmp(), hb_itemCopyFromRef(), hb_itemMoveFromRef() * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbpcode.h * harbour/include/hbvmpub.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * harbour/source/vm/Makefile * harbour/source/vm/arrays.c * harbour/source/vm/asort.c * harbour/source/vm/classes.c * harbour/source/vm/eval.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c + harbour/source/vm/hashes.c + harbour/source/vm/hashfunc.c + added hash items, f.e.: local h1 := {=>}, h2 := { "a"=>1.234, "b"=>2.345 } ? h2[ "a" ], h2[ "b ] + added support for DYNAMIC function declaration - it allow to define functions which are lately bound at runtime, f.e.: /*** t01.prg ***/ dynamic func1 proc main() local h:=__hrbload("t02.hrb") ? func1() return /*** t02.prg ***/ func func1 return "Hello!!!" % use new FUNCALL structure to hold EXTERNAL and DYNAMIC functions, it reduce memory usage, FUNCALL is much smaller then FUNCTION % use symbol scope bits when possible instead of making some linear scan + added new enumarator message: __ENUMKEY - it allow to access key value when hash item is base enumerator value, f.e.: proc main() local v, h:={"a"=>1.000,"b"=>2.000,"c"=>3.000} heval( h, { |k,v,i| qout( k, v, i ) } ); ? for each v in h ? v, "=>", v:__enumKey(), v:__enumValue(), v:__enumIndex(), ; valtype(v:__enumBase()) v += 0.123 next ? ;heval( h, { |k,v,i| qout( k, v, i ) } ) return + added C level hb_hash*() functions + added support for full HASH item cloning and updated array cloning to also clone nested hashes - please note that xHarbour does not do that, in xHarbour ACLONE() clones _ONLY_ nested arrays and HCLONE() _DOES_NOT_ clone _ANY_ nested items. * harbour/include/hbextern.ch + added hash functions HB_H*() * changed INET*() functions to HB_INET*() + added hash functions H*() and socket functions INET*() when HB_COMPAT_XHB is set * harbour/include/hbtypes.h + added missing HB_EXTERN_BEGIN / HB_EXTERN_END * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! added protection against automatic word concatenation in some cases ! fixed preprocessing expressions when match marker matches ';' token * harbour/source/rtl/Makefile + harbour/source/rtl/itemseri.c + added functions for item serialization: HB_SERIALIZE() and HB_DESERIALIZE() - these function are not binary compatible with xHarbour functions with the same names but make very similar job with the exception to serialization of codeblock and object variables - Harbour does not allow to serialize codeblocks and serialize objects as arrays. In most cases these functions can replace the xHarbour ones + added HB_DESERIALBEGIN() and HB_DESERIALIZE() functions covered by HB_COMPAT_XHB macro - this functions are only for compatibility with existing xHarbour code, In Harbour HB_DESERIALBEGIN() is dummy function which returns first parameter and HB_DESERIALNEXT() is a simple wrapper to HB_DESERIALIZE() so it's not necessary to use them. * harbour/source/rtl/hbinet.c * changed INET*() functions to HB_INET*() and enable them for default build + added INET*() functions wrappers covered by HB_COMPAT_XHB macro * harbour/source/rtl/hbrandom.c + added HB_RANDOMINT() - xHarbour compatible * harbour/source/rtl/len.c + added support for HASHes * harbour/source/rtl/valtype.c + added support for HASHes + added set of HB_IS*() functions - they are a little bit faster then calling VALTYPE( v ) == - removed HB_ISBYREF() - this function cannot longer work, it was using a Clipper incompatible anomalies in passing variables by reference I fixed so it has to stop to work. If it will be realy necessary to implement HB_ISBYREF() function then please inform me - it will have to be done at compiler level or with some much deeper HVM stack checking. * harbour/source/vm/extend.c ! fixed hb_extIsArray() and hb_extIsObject() to work well with parameters passed by reference. Please note that now hb_extIsArray() return TRUE only for pure arrays not object values. * harbour/contrib/Makefile + harbour/contrib/tip/Changelog + harbour/contrib/tip/Makefile + harbour/contrib/tip/atokens.c + harbour/contrib/tip/base64x.c + harbour/contrib/tip/cgi.prg + harbour/contrib/tip/client.prg + harbour/contrib/tip/credent.prg + harbour/contrib/tip/cstr.prg + harbour/contrib/tip/encb64.prg + harbour/contrib/tip/encmthd.c + harbour/contrib/tip/encoder.prg + harbour/contrib/tip/encqp.prg + harbour/contrib/tip/encurl.prg + harbour/contrib/tip/ftpcln.prg + harbour/contrib/tip/hbhex2n.c + harbour/contrib/tip/httpcln.prg + harbour/contrib/tip/mail.prg + harbour/contrib/tip/popcln.prg + harbour/contrib/tip/smtpcln.prg + harbour/contrib/tip/tip.ch + harbour/contrib/tip/url.prg + harbour/contrib/tip/utils.c + added TIP library - code borrowed from xHarbour Please test - a lot of above code is not well tested, also some peaces were written over year ago for different things (f.e. serialization for NETRDD) and now I collected them and committed. The TIP library was not tested at all. It can be compiled but I cannot say if it works - I hope that people familiar with it can make necessary test and fixes. It's also not the final version of low level HASH item code. I'm working on more efficient structure which uses binary tries but I cannot say when I'll finish it (maybe in this weekend or maybe in next year) so I committed working version now even if I'm not happy with overall performance (BTW not worser then in xHarbour) 2007-03-14 14:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/eval.c + added C function hb_execFromArray() * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbinet.c + added xHarbour compatible INET*() functions - code borrowed from xHarbour with some minor modifications and fixes * harbour/include/hbextern.ch + added regex functions + added INET*() functions when compiled with HB_COMPAT_XHB 2007-03-13 23:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/pplib.c ! fixed std rules initialization - now it should also use GC pointer item or __PP_STDRULES will ignore it 2007-03-13 19:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/source/vm/garbage.c * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c + added hb_gcFunc(), hb_parptrGC(), hb_itemGetPtrGC() hb_parptrGC() and hb_itemGetPtrGC() uses GC cleanup function address to validate if pointer item points to expected memory block type * harbour/source/common/hbhash.c * harbour/source/compiler/hbident.c * formatting and minor modifications * harbour/source/pp/pplib.c * harbour/source/pp/pplib2.c * use hb_parptrGC() to be sure that given pointer item points to PP structure + harbour/include/hbregex.h + harbour/source/rtl/hbregex.c * harbour/source/rtl/Makefile * harbour/common.mak + added support for regular expressions. Now it's enabled by default only in *nixes (POSIX regex) and BCC 5.5 (PCRE regex). Setting HB_PCRE_REGEX macro enables Perl-Compatible Regular Expressions and HB_POSIX_REGEX - POSIX regular expressions. In xHarbour regex support is enabled for all builds because PCRE source code is stored in CVS. If you will want we can make the same. + the following C functions are available: hb_regexCompile(), hb_regexGet(), hb_regexFree(), hb_regexMatch() + the following PGR functions are available: HB_REGEXCOMP(), HB_ISREGEX(), HB_ATX(), HB_REGEX(), HB_REGEXMATCH(), HB_REGEXSPLIT(), HB_REGEXATX(), HB_REGEXALL() They are working in similar way to the ones in xHarbour with the exception to some bug fixes and form of compiled regular expression. In Harbour it's pointer item for which HB_ISREGEX() returns TRUE when in xHarbour it's binary string. * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * enabled code to seek in index using regular expressions (DBOI_SKIPREGEX[BACK]) 2007-03-12 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * emulate xHarbour HB_ENUMINDEX() inside FOR EACH loop when HB_COMPAT_XHB macro is set It's only for compatibility - I strongly suggest to use :__enumIndex() which is more flexible and allow to chose the enumerator variable not only the one from last loop * harbour/include/hbexprb.c * added comment removed from hbexpra.c * harbour/source/compiler/hbmain.c ! fixed GPF which can appear when -b option is used in line numbering inside codeblocks 2007-03-11 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/Makefile * Changed order of linked libraries for linkers with linear library symbols scanning 2007-03-09 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * removed #include "hbmemory.ch" * harbour/source/main/harbour.c * added #include "hbmemory.ch" 2007-03-09 04:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/bin/hb-func.sh * harbour/config/global.cf * harbour/include/error.ch * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c - harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/source/Makefile * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile - harbour/source/compiler/exproptc.c - harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbgenerr.c + harbour/source/compiler/hbmain.c * harbour/source/compiler/hbpcode.c * harbour/source/macro/Makefile * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc - harbour/source/macro/macroc.c + harbour/source/main/Makefile + harbour/source/main/harbour.c * harbour/source/vm/macro.c * resolved name conflicts between compiler and macro compiler. Now new compiler library is created. There are some things which can be improved and cleaned yet but it's enough to create single binaries with compiler+HVM+RTLs. I updated non GNU make files but I cannot tested the modifications - please check and fix me if necessary 2007-03-05 23:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/compiler/hbgenerr.c * do not generate warnings about meaningless expression usage in code optimized by short logical expression evaluation, f.e.: proc main() (f1() .or. (f2(), .t.)) return 2007-03-05 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/install.cf * workaround for command line size limitation borrowed from xHarbour 2007-03-05 04:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! fixed GPF when _GET_() parameter is passed in parenthesis 2007-03-04 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/include/hbcompdf.h * harbour/include/hbpp.h * harbour/source/common/hbfsapi.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * cleanup .ppo file creation + new compiler switch: p+ to enable preprocessor tracing when used information about applied rules is stored in .ppt file * harbour/include/hbdefs.h * harbour/source/rtl/gtos2/gtos2.c * OS2 build cleanup 2007-03-02 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/source/rtl/cdpapi.c * casting 2007-03-02 00:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * clear included file counter in hb_pp_reset() * insert space after stream comment /* */ - it's not Clipper compatible but it's necessary as long as we have automatic identifier concatenation 2007-03-01 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf * harbour/contrib/hgf/os2pm/os2pm.c * harbour/include/hbdefs.h * harbour/include/hbgtcore.h * harbour/source/rdd/dbcmd.c * harbour/source/vm/mainpm.c * cleaned OS2 build errors and warnings reported by David Macias. Modifications not tested - OS2 users will have to make tests and reports problems. 2007-03-01 05:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed comments like /*/*/ 2007-03-01 01:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * cleaned scope error message * harbour/include/hbpp.h * harbour/source/pp/ppcore.c * added hack for accepting expressions which start with ':' character as regular/list match markers 2007-02-28 08:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/pp/ppcore.c * updated lexer to recognize IF(,,) in expressions like IF() - it allow to make some grammar rules much more simple. 2007-02-27 12:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbmacro.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/hbdate.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/rtl/abs.c * harbour/source/rtl/at.c * harbour/source/rtl/chrasc.c * harbour/source/rtl/datec.c * harbour/source/rtl/dateshb.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/gtfunc.c * harbour/source/rtl/left.c * harbour/source/rtl/len.c * harbour/source/rtl/math.c * harbour/source/rtl/minmax.c * harbour/source/rtl/mod.c * harbour/source/rtl/philes.c * harbour/source/rtl/philesx.c * harbour/source/rtl/replic.c * harbour/source/rtl/round.c * harbour/source/rtl/set.c * harbour/source/rtl/space.c * harbour/source/rtl/strcase.c * harbour/source/rtl/strpeek.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/trim.c * harbour/source/rtl/type.c * harbour/source/rtl/val.c * harbour/source/rtl/word.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * added some PCODEs to cover all possible combination of ++, --, = operations in the same way and keep Clipper compatible RT errors. * added some other PCODEs to optimize some commonly used expressions/ statements * use HB_ERR_ARGS_BASEPARAMS instead of hb_paramError() * some other cleanups and minor optimizations * harbour/utils/hbtest/rt_math.prg * update expected result for MOD() - it was not Clipper compatible and it will be hard to make it compatible without introducing some Clipper's side effects 2007-02-25 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c % strip nested parenthesis in expressions like: ((())) 2007-02-25 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstdgen.ch * added #undef HB_COMPAT_XHB * harbour/source/common/hbstr.c * indenting * harbour/source/compiler/ppcomp.c * updated line numbering in #pragma dump code and error messages executed for disabled code * harbour/source/pp/ppcore.c * changed the precedence of #pragma BEGINDIUMP/ENDDUMP - now it has higher precedence then conditional compilation with #IF[DEF]/#ENDIF * added support for defined() pseudo function in #IF / #ELIF directives, f.e.: #if defined( __HARBOUR__ ) .and. !defined( HB_COMPAT_XHB ) #stdout "Harbour compiler compiled without xHarbour extensions." #endif 2007-02-22 13:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc ! Synced with GNU makefile changes. 2007-02-22 08:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/source/common/expropt1.c + added hb_compExprAsNumSign() * harbour/include/hbexprc.c * optimize lValue++ and ++lValue * harbour/source/common/hbdate.c * minor optimization * harbour/source/compiler/cmdcheck.c * maximum supported warning level should be 3 not 4 * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * use separate functions for equal and exactly equal operations * cleanup and some other minor optimizations * harbour/source/compiler/hbopt.c * optimize PCODEs for code like: lVar:=lVar, sVar:=sVar, mVar:=mVar, ... * harbour/include/common.ch * changed HB_SYMBOL_UNUSED( symbol ) to ( symbol := ( symbol ) ) It's a little bit simpler version and now it's also stripped by PCODE optimizer * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * eliminated some redundant rules * optimized PCODEs generated for FOR/NEXT code and removed some old hardcoded optimization for local variables - if it will be worth to optimize then such optimization will be done by expression optimizer * chaned a little bit WITHOBJECT syntax. Now WITHOBJECT somefunc(); END is not silently ignored and call to somefunc() is left. This optimization also works when there are empty line between WITHOBJECT and END * harbour/source/rdd/dbf1.c ! fixed for GPF in DBRI_RAWDATA, DBRI_RAWMEMOS (Peter Rees fix in xHarbour) 2007-02-22 03:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/tget.prg ! Fixed :Type to not return NIL right after the GetNew() call. 2007-02-21 22:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/include/common.ch + Changed HB_SYMBOL_UNUSED() to also work in codeblock. Thanks to Przemek. 2007-02-18 12:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/compiler/Makefile * harbour/source/compiler/hbfix.c + harbour/source/compiler/hbopt.c * divided hbfix.c into two separated functions: - hb_compFixFuncPCode() which only fix generated PCODE updating local parameters numbers when PARAMETERS is used - hb_compOptimizePCode() which makes PCODE optimization It allows to not execute hb_compFixFuncPCode() when PARAMETERS is not use and execute hb_compOptimizePCode() more then once in optimization process. * harbour/hbgtmk.sh * updated CVS server name * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * changed code for generating in PCODE line numbers and module names there was serious problem with line numbers and module names in old code - in many cases line numbers were not generated at all or generated in wrong places. Also file module name was not updated when inside of function some code was included with #include For such situation now modified version of HB_P_MODULE is generated with module name only but without function name, f.e.: HB_P_MODULE "test.prg:" exactly the same form of HB_P_MODULE is used in xHarbour. Debugger code should be updated to recognize such HB_P_MODULE version Ryszard any chance that you can look at it? And what about syncing with xHarbour debugger? I can add some missing functions to compiler and HVM but I do not want to update next peace of code myself. Sorry but I do not have enough time. I'd prefer to finish some other things I'm working. If Ryszard is busy can someone else try to port xHarbour debugger to Harbour? 2007-02-14 00:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwfunc.c * harbour/contrib/libct/ctwin.c * harbour/contrib/libct/ctwin.h + added CTWIN compatible ALERT - it works in differ way then the standard Clipper one. In the moment when CTWIN is activated (it's enough to call any CTWIN function like WOPEN()/WBOARD(),... or CTWINIT()) standard ALERT() is replaced by CTWIN one build in inside CTWIN GT driver. It allocates separate window for ALERT box and makes differ formatting of passed text. TODO: add support for SET KEY blocks 2007-02-13 21:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * do not pass linking parameters to GCC/G++ when is used for compilation only * harbour/contrib/rdd_ads/Makefile * set -DWIN32 for W32 compilation * harbour/contrib/rdd_ads/makefile.bc * formatting * harbour/include/hbapi.h * harbour/source/rtl/strcase.c + added hb_charUpper() and hb_charLower() * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c + added support for ALERT() on GT level - C functions: hb_gtAlert()/ hb_gt_Alert() To replicate some details of Clipper and CT3 behavior ALERT() cannot be implement only on upper level as .prg function * harbour/source/rtl/gtfunc.c + added .prg function HB_GTALLERT() * harbour/source/rtl/alert.prg * redirected ALERT() to HB_GTALLERT() * harbour/source/rtl/fstemp.c * use the same case conversion as in low level hb_fs*() functions to avoid possible problems with national characters * harbour/source/rtl/dates.c * harbour/source/rtl/set.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/transfrm.c * use hb_charUpper() * casting 2007-02-12 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * do not release FLOCK() after DBAPPEND() - only RLOCKs should be removed * harbour/contrib/rdd_ads/rddads.h * set ADS_REQUIRE_VERSION when not set by user scripts 2007-02-12 10:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fix line numbering when preprocess static buffers, f.e. by __PP_PROCESS() * harbour/source/rtl/strcase.c * harbour/source/rtl/transfrm.c - removed unnecessary extern PHB_CODEPAGE hb_cdp_page; 2007-02-09 00:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/rtl/isprint.c * harbour/include/hbapi.h ! hb_printerIsReady() C level function made public again. + Added proper declaration for it. * harbour/bin/bld.bat ! Mistakenly committed change undone. 2007-02-09 00:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/common/hbstr.c ! Fixed three BCC5.5 warnings. 2007-02-08 23:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * harbour/contrib/libct/ctwin.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c + added support for GTI_FULLSCREEN, GTI_KBDSUPPORT, GTI_ISCTWIN * harbour/source/rtl/hbgtcore.c ! fixed line and box drawing when the coordinates are out of screen size * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbpcode.h * harbour/include/hbstack.h * harbour/include/hbvm.h * harbour/include/hbxvm.h * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/classes.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c ! added protection against cyclic references in arrays * eliminated action parameter from hb_vmRequestReenter() / hb_vmRequestRestore() * moved s_lRecoverBase and s_uiActionRequest to HB_STACK structure for future MT HVM version + added internal item structure hb_struRecover - it's not real item but this structure is used to keep information about BEGIN SEQUENCE data - it reduce HB_STACK usage + added support for ALWAYS clause in BEGIN SEQUENCE The syntax is: BEGIN SEQUENCE [ RECOVER [ USING oErr ] ] [ ALWAYS ] END [ SEQUENCE ] It's guaranteed that is _ALWAYS_ executed even if inside or some new exceptions like RETURN, BREAK or QUIT will appear. Please note that when the following code is executed: BEGIN SEQUENCE ALWAYS END (without RECOVER clause) then BREAK exception inside is not recovered, is executed and then BREAK exception is passed to outer BEGIN SEQUENCE. This is the same semantic as used in TRY / [ CATCH ] / FINALLY / END Those of you who prefer to use TRY / CATCH / FINALLY / END instead of BEGIN SEQUENCE / RECOVER / ALWAYS / END can simply add to your source code: #command TRY => BEGIN SEQUENCE #command CATCH [ oErr ] => RECOVER [ USING ] and: errorBlock( {|oErr| break( oErr ) } ) Though instead of 'break( oErr )' I suggest to use some small function which will support some basic recovery/substitute operations like in default errorsys() and LockErrHandler() to not break existing code which may depends on the default behavior. If you want I can add direct support for TRY / CATCH / FINALLY / END but I'm not sure it's really necessary. Please note also that in Harbour ALWAYS code is execute even for QUIT excpetion. When is executed current exception is stored and restored when is finished. If new exception appears inside then restored exception depends on the priority in the following order: QUIT // highest priority BREAK RETURN If both exceptions have the same priority and contain additional value (error object in BREAK or return value in RETURN) then the recently set one is restored. It's similar behavior to destructor code. * harbour/source/common/hbstr.c * moved one character length string table (hb_szAscii) from hvm.c to use it also in compiler and preprocessor * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * tuned error messages to be more Clipper compatible % use static strings from hb_szAscii * harbour/source/rtl/alert.prg * use hb_gtInfo( GTI_FULLSCREEN ) to detect type of GT driver ! some minor fixes TOFIX: we have to also use GTI_ISCTWIN or add window allocation to standard GT drivers to be Clipper compatible when CTWIN is used - In Clipper Tools ALERT() works in differ way then the standard one. It creates separate window box to display data, supports SETKEY(), etc. I'll think about adding some extended support for ALERT() and similar operations (f.e. separate debugger windows) to GT API so it will be also possible to overload standard alert() command by GUI message box in GTGUI and similar GT drivers. * harbour/source/rtl/binnumx.c ! fixed U2BIN() - wrong casting 2007-01-24 23:10 UTC+0200 Tomaz Zupan * harbour.spec * Aded Mandriva One distro to platforms * bin/hb-func.sh * Aded Mandriva and Mandriva One distro to platforms 2007-01-24 10:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/bcc32.cf * harbour/include/hbexprb.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/rtl/set.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/vm/hvm.c * recent fixes from Beta1 * harbour/contrib/libct/Makefile - harbour/contrib/libct/bit1.c - harbour/contrib/libct/bit2.c - harbour/contrib/libct/bit3.c + harbour/contrib/libct/bitnum.c ! rewritten bit functions * harbour/contrib/libct/addascii.c * cleanup * harbour/contrib/odbc/Makefile * harbour/contrib/odbc/odbc.c * harbour/contrib/odbc/sql.ch - harbour/contrib/odbc/sql.h - harbour/contrib/odbc/sqlext.h - harbour/contrib/odbc/sqltypes.h * harbour/contrib/odbc/todbc.prg ! synced with xHarbour * harbour/contrib/rdd_ads/ads1.c ! fixed typo in DBI_GETHEADERSIZE * harbour/contrib/rdd_ads/adsfunc.c + added ADSDDREMOVEINDEXFILE - borrowed from xHarbour * harbour/source/rtl/alert.prg * minor cleanup * harbour/source/rtl/gtfunc.c * use HB_ERR_ARGS_BASEPARAMS in error messages * harbour/source/rtl/transfrm.c * casting 2007-01-17 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c ! fixed typo in hb_xvmGreaterEqualThenIntIs() - <= was used instead of >= ! fixed :¯o() messages used in WITH OBJECT structure and -gc3 output + added some missing optimizations in -gc3 output 2007-01-17 03:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctc.c * harbour/contrib/libct/files.c * harbour/contrib/libnf/ftattr.c * harbour/contrib/libnf/n2color.c * cleaned some BCC warnings * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbsetup.ch * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/compiler/hbcomp.c * harbour/source/vm/arrays.c * harbour/source/vm/arrayshb.c * harbour/source/vm/cmdarg.c * harbour/source/vm/hvm.c ! fixed Harbour support for accessing string characters with array index operators [] + added support for #define HB_COMPAT_XHB - it's disabled by default. When set it enables some of xHarbour features like negative array indexes calculated from tail, accessing string characters with [] operators (warning it's not compatible with default Harbour version enabled by -ks during compilation and //flags:s at runtime - in xHarbour compatibility mode "ABC"[2] returns "B" when in Harbour 66) and some other minor features. * harbour/source/compiler/cmdcheck.c * added support for optional setting C output type in -go switch Now it accepts optional digit [0123] after -go in the same way as -gc, f.e.: -go3 * harbour/source/compiler/harbour.c * call hb_compExprLstDealloc() only when errors appeared during compilation - it disable automatic freeing all allocated expressions in clean compilation. I make it intentionally for easier detecting problems one some expressions are not freed. So far the final cleanup code always deallocated expressions what can hide some real bugs. * harbour/source/vm/hvm.c ! fixed very serious bug in HVM closing. The s_uiActionRequest flag was not cleared before hb_rddShutDown() so when RDD buffers were hot and flushing required some PCODE evaluation (f.e. index KEY or FOR expression) then they were not properly evaluated. * harbour/source/vm/macro.c * minor improvement * harbour/utils/hbtest/rt_misc.prg ! fixed one of expected result, it was neither Harbour nor Clipper result (I've just made some test with Clipper), I do not know why it existed 2007-01-14 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * formatting * harbour/source/vm/macro.c ! fixed macrocompiler for proper compilation of string with embedded ASCII NUL byte (chr(0)), f.e.: ? &("'["+chr(0)+"]'") 2007-01-13 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/workarea.c * formatting * harbour/include/hbapi.h * harbour/source/vm/extend.c + added missing hb_storptrGC() * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added parameter to unicode translation function to protect control code translation * formatting * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtxwc/gtxwc.c * use new unicode translation function format. It also fixes problem with space translation in GTLSN used in UTF8 mode * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemCopyToRef(), hb_itemMoveToRef(), hb_itemMoveRef(), hb_itemUnRefWrite() * harbour/include/hbexprb.c ! use HB_P_DUPLUNREF instead of HB_P_DUPLICATE when assign is used in push context - Clipper compatible behavior, see: x:=10 f(y:=iif(.t.,@x,)) ? x, y func f(x) x+=100 return nil * harbour/include/hbver.h * harbour/source/common/hbver.c * changed status to "devel" * harbour/source/common/expropt2.c * disabled setting NIL when iif(.t.,,sth()) is optimized to avoid warning when iif() is used as statement - to fix number of parameters passed to function in code like f(iif(.t.,,sth())) we will need a little bit deeper modification * harbour/source/compiler/complex.c * added hack for potential problems caused by WITH OBJECT syntax, f.e. in code like: proc p(obj,x) case:=myCaseClass():new() retu:=myCaseClass():new() WITH OBJECT obj do case case x==nil case:value() case:action() retu:sth() end END case:action() retu:sth() return case:action(), case:value(), retu:sth() can means two different things and compiler cannot guess which one should use. It cannot be fixed because it's caused by bad WITH OBJECT syntax. In xHarbour constractions like case:value() or retu:sth() are always used as in WITH OBJECT context what is not Clipper compatible. I do not want to introduce such limitations. We have two choices: change WITH OBJECT syntax or add some hack to "hide" the problem a little bit. Now I intorduce ugly hack which check number of spaces between ':' so case :action() is compiled as case condition using WITH OBJECT message and case:action() as sending message to object in case variable * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc + added support for passing base value to FOR EACH by reference. * harbour/source/vm/arrays.c * use hb_itemMoveRef() in AINS()/ADEL() to avoid creation of cyclic reference chains * harbour/source/vm/debug.c * harbour/source/vm/memvars.c * use hb_itemCopyToRef() to avoid creation of cyclic reference chains * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * use hb_itemMoveToRef() to avoid creation of cyclic reference chains + added support for for writable string enumerators, f.e.: proc main() local s, c s:="abcdefghijklmnopqrst" for each c in @s if c$"aeio" c:="*" endif next ? s // "*bcd*fgh*jklmn*pqrst" return 2007-01-09 16:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/include/hbver.h * updated version number to 1.1.0 2007-01-09 15:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.017 * new ChangeLog file created * harbour/doc/whatsnew.txt * harbour/harbour.spec * harbour/include/hbver.h * updated version number to 0.47.0 * tagged CVS as build47 2007-01-09 15:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c * update the year in hb_compPrintLogo() from 2006 to 2007 * harbour/source/vm/garbage.c ! fixed potentially very serious bug - when I added array items references I forgot to update GC. Fortunately it was caught by code to detect bugs in object destructors so only RT error was reported instead of internal HVM memory corruption * harbour/tests/hbinline.prg * updated comments 2007-01-09 10:56 UTC+0200 Chen Kedem * doc/whatsnew.txt + Add changes for the new beta build. * tests/inline_c.prg ! Add //NOTEST and a comment since this file uses old, unsupported syntax. 2007-01-08 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! fixed GPF which can appear on syntax error during compilation one of enumerator message * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * accept the folowing syntax: (@var):msg With this modification FOR EACH overloading is completed. 2007-01-07 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * small modification to protect against creating long references chains which can hardly reduce the performance in some cases 2007-01-07 05:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/macro/Makefile * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/vm/macro.c * harbour/source/vm/memvars.c * harbour/source/vm/memvclip.c * keep prefix definition for bison public symbols in *.y files instead of passing them as bison arguments to avoid possible mistakes during *.yy[hc] file generation ! fixed iif() reduction when used as single function parameter + add -kM compiler switch - turn off macrotext substitution * updated + optimization and other macrotext usage to keep more Clipper compatible behavior ! fixed typo in expression type checking in IIF() reduction - it was working because wrongly used macros has the same values as the valid ones - removed compiler switches and macros for old HB_INLINE() syntax - it was not supported after last months modifications. Only: HB_INLINE([params,...]) { C code } is supported. ! fixed passing parameters by reference in IIF() statement and macro compiler. The following valid Clipper code: &("myfunc(, @var1, @var2)") was not supported ! do not allow to use references or empty expressions in expression list AFAIK it's Clipper compatible. If I'm wrong then please fix me but Clipper allows to use references only as function arguments, 2-nd and 3-rd IIF() argument and as directly created array items ( {...@var...} ) DO ... WITH ... is a special case of function call. ! Changed grammar rules to accept only Clipper compatible parameters. ! fixed typo in macro name in hb_memvarNewParameter() function. * use HB_FUNC_EXEC(...) instead of HB_FUNCNAME(...)() 2007-01-05 16:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * make function call optimizations only when hb_compFunCallCheck() do not report errors * harbour/source/common/reserved.c + added VALTYPE to list of reserved words and shortcuts (Clipper compatible) * harbour/source/compiler/hbfunchk.c * checking for number of parameters in FILE() function call is Harbour extension - do not enable it when HB_C52_STRICT macro is set * harbour/source/rtl/filehb.c * formatting 2007-01-05 08:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h + added comment * harbour/include/hbexpra.c * change expression type for = from HB_EO_EQUAL to HB_EO_ASSIGN in hb_compExprGenStatement() function so later we can safely make all optimization in hb_compExprUseEqual() during reduce process - optimization only when PCODE is generated is too late and causes that expressions like: iif( 1 = 1, , ) are not reduces (Clipper reduce them) * do not execute hb_compFunCallCheck() in hb_compExprNewFunCall() to avoid repeating the same error message in hb_compExprUseFunCall() * harbour/include/hbexprb.c * enabled reduction for hb_compExprUseEqual() and generate errors when it's used as statement * harbour/source/common/expropt2.c * added some missing reductions for expressions like: NIL == NIL * harbour/source/common/reserved.c % very basic optimization: use binary search instead of linear scanning for reserved words and shortcuts - it gives noticeable speed improvement in macro compiler * harbour/source/compiler/complex.c * changed the order of special keywords to keep alphabetic sorting * harbour/source/compiler/harbour.c % some minor optimizations in aliased expressions ! added protection in hb_compIsJump() to avoid possible problems when this function is executed after replacing some code with jumps by series of NOOPs in optimizations process * harbour/source/compiler/hbfix.c * better optimization of PCODE generated for logical expressions * harbour/source/compiler/hbfunchk.c % use binary search instead of linear scan * harbour/source/rtl/minmax.c ! fixed GPF when MIN() or MAX() function is called with less then two parameters * harbour/source/vm/itemapi.c * minor optimization and formatting 2006-12-30 22:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbgenerr.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * harbour/source/vm/macro.c * final grammar cleanup: removed unused and/or unnecessary grammar expressions in *.y files, fixed some differences between compiler and macrocompiler, fixed some other bugs, typos, clipper incompatibilities, etc. It's end of year, it's late and sorry but I'd like to begin making something absolutely differ then creating detail description ;-) If you will have any questions then I'll answer in new year. * harbour/source/rdd/dbffpt/Makefile * small hack for XCC compilation 2006-12-28 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbpcode.h * harbour/include/hbpp.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbpcode.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * changed HB_P_MACROPUSHINDEX PCODE behavior - now it does not evaluated macro expression * eliminated HB_ET_MACRO_INDEX - HB_ET_MACRO_LIST can be used instead * accept ... in codeblocks only when codeblocks parameters are defined as variables, f.e: {|a,b,...|qout(a+b,...)} ! fixed error in a[&s]:=100 + added support for a[...] - now ... can be used in the same context as xbase++ like multivalue macro (a[&s]) * disabled ++, --, = optimizations when -kc (strict Clipper compatibility mode) compiler switch is used 2006-12-27 21:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * removed not longer used pFunCall from asMacro expression. This item was used only in a very old s:="1,2";f(&s) implementation. * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * a little bit more simple implementation of passing optional arguments and simplified some code. Now they can be used in any place in argument list (also repeated). It's also possible to create arrays using "..." as array element(s), f.e.: func f(...); return { "{", ..., "}" } If you think it will be usable then I can also add support for accessing array items with optional parameters, f.e.: ? a[ ... ] so it can be used in the same context as xbase++ like macro lists but for this I will need new PCODE so I'd like to hear your opinion ASAP - I'm closing any extensions today. 2006-12-27 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added support for passing optional parameters to called function, f.e.: proc p( a, b, ... ) qout( a, b, "X", ... ) * forbid creating function pointer when function is used with parameters, f.e.: x:=@f1(1,2,3) * harbour/source/compiler/complex.c * cleaned all restrictions on reserved words I've found - if I missed sth then please inform me. The previous behavior and some error messages are used with -kc compiler switch * harbour/source/rtl/symbol.prg * harbour/source/rtl/tobject.prg ! eliminated limitations in number of constructor parameters (new syntax with passing optional parameters used) 2006-12-24 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c - removed not longer used fExternal from compiler structure * allow to pass array items by reference ( func(@a[1]) ) and some cleanups in reference rules. Probably we should also block using: @func(param1 [,param2,[,...paramN]]) and accept only @func() ! fixed using statements in codeblocks used to initialize static variables and some other cleanups (f.e. allow to use as static initializers any functions which are later eliminated by expression optimizer. 2006-12-23 06:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * do not generate HB_P_FUNCPTR - it's not longer necessary + added optimization for + 1, - 1 - disabled by default because it changes error messages in hbtest, code like NIL + 1 generates 'argument error ++' instead of 'argument error +'. I'd like you will decide what you prefer - faster code or strict Clipper error messaged. * harbour/source/common/expropt2.c + added optimizations for + + added ooptimizations for + 0, 0 + , - 0 This is also sth what may interact with operators overloading in object system. When we will have strong typing then we should think about an option which will optionally disable some optimizations - someone may want to define arithmetic where + 0 gives differ then results. * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh + added hb_compStatmentStart() ! restrict MEMVAR and FIELD usage - now they have to be located before executable statements like in Clipper. ! generate error when PARAMETERS is used as file wide declaration. ! generate errors when different executable statements are used before first procedure - now such code was simply ignored without any errors. ! generate valid error messages when some declarations are used in wrong places ! fixed setting begin of executable statement flag in different .prg constructions. 2006-12-22 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/adsfunc.c * do not use hb_param( pItem, HB_IT_BYREF ) but ISBYREF() macro * harbour/include/hbdefs.h * formatting * harbour/include/hbexprb.c ! fixed code generated for logical expressions when shortcutting is enabled to be Clipper compatible * harbour/source/compiler/cmdcheck.c ! added missing break in -z compiler switch decoding * harbour/source/compiler/hbfix.c % added optimizations for code generated for logical expressions, it strips a chain of HB_P_DUPLICATE -> HB_P_JUMP[TRUFALES] -> HB_P_DUPLICATE -> HB_P_JUMP[TRUFALES] -> ... In fact it should not be done here but because we do not have any metacode level where such optimizations should be done and PCODE is generated online then it will have to be here. Maybe in the future we will add metacode. * harbour/source/rdd/dbcmd.c * make "M" alias Clipper compatible. After some thoughts I decided that in some cases it can be usable so now "M" will set WA number to 65535 like in Clipper. * harbour/source/rdd/dbf1.c * allow to open VFP DBFs with _NullFlags system command * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c ! updated field size calculation for some some extended types. * harbour/source/rdd/workarea.c * generate RT error when CREATEFIELD() method does not accept some parameters to avoid silent DBCREATE() failing. * harbour/source/vm/macro.c * removed hb_compMemvarCheck() - this function was not dooing anything - only slows the TYPE() by calling hb_dynsymFind() one or two times. + added TODO note: memvars create by TYPE() have PUBLIC scope in Clipper. Clipper also always tries to evaluate valid expressions inside TYPE even if the contain UDF. UDF only stops evaluation so: TYPE( "(val:=1) + f() + (val2:=2)" ) creates in clipper public variable VAL but not VAL2. 2006-12-19 23:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! added missing 'else' and cleaned BCC warnings 2006-12-19 22:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/source/common/expropt1.c + added hb_compExprParamListLen() * harbour/include/hbexpra.c * harbour/include/hbexprb.c * use hb_compExprParamListLen() * harbour/include/hbexprc.c * generate error message for syntax like: o:var()++ or o:var()+=10 only: o:var++ and o:var+=10 is supported, just like for @o:var * harbour/include/hbapi.h * harbour/source/common/hbstr.c + hb_numDecConv() used to convert double value to/from binary integer fields with fixed number of decimal places * harbour/common.mak * harbour/include/hbapicdp.h * harbour/source/codepage/Makefile + harbour/source/codepage/cptrdos.c + harbour/source/codepage/cptrwin.c * harbour/source/lang/Makefile + harbour/source/lang/msgtrdos.c + harbour/source/lang/msgtrwin.c + added Turkish CPs and MSGs created by Bicahi Esgici + harbour/source/codepage/uc1254.c + harbour/source/codepage/uc857.c + added unicode tables for Turkish CPs * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c + added support for decimal places in binary integer fields ("I") ! fixed currency field decoding ("Y") - it's integer binary value not IEEE758 double. Warning: on write the value is rounded not truncated like in VFP. 2006-12-19 00:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * added support _" prefix when macro message is used in assignment context also when -kc is used. We can block this feature for -kc but as long as is not blocked it should work in the same way for -kc and -kh 2006-12-18 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/bcc32.cf * cleanup + harbour/config/w32/xcc.cf + added XCC support * harbour/contrib/btree/hb_btree.c * use hb_vmAtInit()/hb_vmAtExit() instead of INIT/EXIT functions defined from C code * harbour/contrib/libct/tab.c * casting * harbour/contrib/odbc/odbc.c ! removed #include - it should not be used with new C compilers I think that we should replace this library with hbodbc from xHarbour. * harbour/contrib/ole/ole2.c * updated for XCC * harbour/include/hbdefs.h * include stdint.h if available * harbour/source/compiler/complex.c ! fixed yet another stupid mistake in WITHOBJECT token * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added HB_P_SWAP PCODE * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h ! fixed GPF during compilation of @:var, @:&var, @o:&var + added support for @o:&var and @:var, @:&var inside WITH OBJECT statement * changed PCODE generated of ++,--,+=,-=,... Now left side expression is evaluated _ONLY_ once and when object messages are used it's guarantied that exactly the same object variable will be used. It also fixes some problems which exists in Clipper. This optimization is enabled by -kh flag (by default) and can be disabled with -kc. % optimize ald macros in ++,--,+=,-=,... operations * add automatically "_" prefix when macro message is used in assignment context, f.e.: s:="osCode" o:=errorNew() ? o:&s o:&s := 100 ? ++o:&s ? o:&s *= 5 * harbour/include/hblang.ch - removed #xtranslate - this file is included by C code and some C compiler do not like unknown directives * harbour/utils/hbtest/rt_math.prg + added test code for assign and (pre/post)(inc/dec)rementation, macro messages and WITH OBJECT * harbour/source/compiler/harbour.c * harbour/source/rdd/dbf1.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * casting and warning cleanup * harbour/utils/Makefile + added $(HB_UTILS) - harbour/utils/hbpp/hbpp.h + harbour/utils/hbpp/hbppdef.h * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/hbpptbl.c * harbour/utils/hbpp/pragma.c * renamed hbpp.h to hbppdef.h to avoid possible conflict with hbpp.h in include directory * casting and warning cleanup 2006-12-18 18:20 UTC+0100 Ryszard Glab * include/hbcomp.h + added extern BOOL hb_compCheckUnclosedStru( HB_COMP_DECL ) * include/hbcompdf.h + added 'int iLastLineErr' to HB_COMP structure * include/hbpp.h + added extern BOOL hb_pp_eof( PHB_PP_STATE ) * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/harbour.yyc * source/compiler/harbour.yyh * source/compiler/hbgenerr.c * fixed reporting errors in cases of unclosed delimiters or unclosed control structures IF/WHILE/FOR/etc * source/pp/ppcore.c + added hb_pp_eof() function 2006-12-18 14:19 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add a oneliner description for: source/rdd/usrrdd, source/rtl/gtgui * source/rtl/console.c * Pacify false CG error messages in one more place, with a comment. 2006-12-15 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbdefs.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbstr.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/rtl/console.c * harbour/source/rtl/isprint.c * harbour/source/rtl/left.c * harbour/source/rtl/right.c * harbour/source/rtl/strtran.c * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * general PCODE cleanup and address most of TODO/TOFIX notes in source code: ! fixed GPF traps when too long string or codeblock is generatd + added support for 16MB codeblocks and strings ! removed macrocompiler limitation for jumps range ! fixed GPF when more then 255 local variables is used and added support for 2^15 locals ! removed all strtok() functions % added optimization for all +=, -=, *=, %=, ^=, **= operations when left side of expression is variable or array item % added optimization for all +=, -=, *=, %=, ^=, **= operations when left side of expression is object method and updated ++, -- for new code. It's still disabled until we will not add support for late evaluated reference items to HVM ! fixed a[++i]++ and similar operations (a[++i]*=2, ...). Now ++i is executed only once. It's not Clipper compatible but it was in TODO note in source code. It can be disabled by -kc option * finished support to xHarbour like #pragma TEXTHIDDEN(1) ! fixed local add int optimization when PARAMETERS used after optimization changed local variable number over 255 ! fixed GPF trap when in HB_P_EQ PCODEs when executed for direct values * others ! fixed problems reported by Chen * optimized strtran(), left(), right() to not create new string copy when the same value is returned 2006-12-13 18:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/console.c * pacify false CG error messages - Chen Kedem modifications (sizeof(int) in #if replaced by hardcoded 4 for compilers which does not allow to use sizeof() in #if directives) * harbour/TODO - removed console.c cleanup note from TOFIX * harbour/include/hbcomp.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/common/expropt1.c * minor code cleanup 2006-12-12 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h ! fixed typo in function name, should be: hb_stackLocalVariable() not hb_stacklocalVariable() + added hb_stackId() * hide hb_stack declaration when HB_STACK_MACROS is not set * harbour/source/vm/dynlibhb.c * use hb_stackId() * harbour/source/vm/estack.c + added hb_stackId() ! fixed some condition used to check stack access - they were reporting internal errors for valid code * harbour/source/vm/hvm.c ! fixed code which executed hb_stackLocalVariable() with pointer to SHORT not int 2006-12-11 22:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/memoline.c ! added fix sent to me by Randy Portnoff - it's a little bit differ then the one Randy sent to list but this one seems to be correct. I never used this function in Clipper and made only very basic tests. I believe that Randy make better tests and this fix will not break some other constructions. 2006-12-11 14:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/hsx/hsx.c * synced with xHarbour * harbour/source/rtl/gtsln/gtsln.h * changed #if to #ifdef to avoid problems with some unofficially patched slang versions 2006-12-09 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/rsx32.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/mingw32.cf * harbour/config/w32/msvc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/watcom.cf * added respecting HB_GT_DEFAULT, though it's quite possible that I'll remove it at all soon. * some other cleanup * harbour/source/compiler/complex.c ! fixed wrongly replicated from FLEX lexer condition used to DECLARE. Now they should be the same as in FLEX lexer but IMHO they are not Clipper compatible. * harbour/source/compiler/gencli.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/rtl/hbffind.c * harbour/source/pp/ppcore.c * harbour/source/rdd/workarea.c ! fixed sizes of some C stack buffers and strncpy() parameters * use hb_strn*() instead of strn*() in few places to be sure that 0 is always stored in destination buffer * harbour/source/rtl/gtcgi/gtcgi.c * change reported GT name from "Standard stream console" to "Raw stream console" to make it differ then GTSTD one. 2006-12-08 05:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/watcom.cf * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/include/hbapifs.h * harbour/include/hbexprc.c * harbour/include/hbsetup.h * harbour/source/common/expropt2.c * harbour/source/common/hbdate.c * harbour/source/common/hbgete.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/fixflex.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbfunchk.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rtl/accept.c * harbour/source/rtl/ampm.c * harbour/source/rtl/console.c * harbour/source/rtl/defpath.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fkmax.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/langapi.c * harbour/source/rtl/seconds.c * harbour/source/rtl/set.c * harbour/source/rtl/tobject.prg * harbour/source/rtl/transfrm.c * harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/debug.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * harbour/source/vm/proc.c * harbour/source/vm/runner.c * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * harbour/utils/hbver/hbverfix.c * general code cleanup: all strcpy() and strcat() replaced hb strn*() and hb_strn*(), sprintf() by snprintf(), etc. It fixed some possible buffer overflow but it's also possible that it will exploit some some hidden so far problems but I strongly prefer to know about them ASAP to fix them before final 1.0 release. ! fixed bug I introduce in codeblock falgs which disabled early macro evaluation in codeblocks. ! added missing protection against execution by bison destructor for used CBSTART token on syntax error. % use PP stringify logik added for FLEX support to remove all redundant spaces in stringified for early macro evaluation codeblocks and add spaces between operators if after preprocessing they were removed. Now we are supporting also some code which cannot be compiled by Clipper. % cleaned and improved the speed of printer redirecting in console code. Chen please check if CG still reports problems and if not ubdate TODO/TOFIX or inform me about them. * some cleanups in building process for different *nixes: MacOSX, SunOS, *BSD, etc. * removed not longer necessary (I hope) compiler flag to force default 'char' type as signed. Now Harbour should work with signed and unsigned char without any problems. To other developers: please remember that when you are using 'char' as 8 bytes signed integer then it's a bug. Always explicitly use: 'signed char' in such case. On some platforms it's not possible to set default type for 'char' so if you hardcode that 'char' is signed or unsigned somewhere then code will not be portable. Chen if you will find a while to also rebuild Harbour with BCC and -K switch to make some tests with CG then I'll be thankful. 2006-12-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * added support for extended string (e"...") to macro compiler and strings with embedded ASCII NUL character (chr(0)) * harbour/source/rtl/valtostr.c * added HB_STRTOEXP() function which converts string item to valid expression which can be compiled by macro compiler. String may contain any characters. * harbour/source/rtl/persist.prg * use HB_STRTOEXP() for sting conversion and 0d....... for date constants * harbour/source/rtl/readvar.prg * harbour/source/rtl/xsavescr.c * minor cleanup 2006-12-01 18:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + added packing *.yy[ch] files * harbour/makefile.bc * harbour/makefile.vc * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbpp.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbgenerr.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/pp/ppcore.c + added hb_comp prefix to grammar/lexer compiler public functions to reduce possible conflict with 3-rd party code which may use default yy prefix. ! do not use bison destructors for expressions. Internal bison logic cannot properly detect if expression was used or not in some of our grammar rules and it's possible that some expressions will not be freed and some other freed twice. ! added protection against multiple destructors execution for CBSTART and LITERAL tokens * added small garbage collector for deallocating expressions which were not freed (such situation can happen in syntax errors) % some optimizations in used structures to reduce their sizes + added protection against execution PCODE optimizations for functions which were not cleanly compiled. * harbour/source/rtl/idle.c * use const in nanosec() timeout declaration 2006-11-30 03:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * removed declaration and all references to global variable hb_comp_data it's not longer necessary after last modifications * harbour/source/compiler/harbour.yyc * synced compiler grammar parser * harbour/source/macro/macro.yyc ! regenerated macro compiler grammar parser with -p hb_macro - I forgot about this prefix before last commit 2006-11-29 23:30 UTC+0100 J. Lefebvre (jfl/at/mafact.com) * makefile.vc * make_vc.bat ! Fixed the COPY command to work on Windows-NT (/Y flag isn't supported) * Sync. with makefile.bc & make_b32.bat. 2006-11-28 16:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbcompdf.h and hbstdgen.ch * harbour/source/compiler/harbour.y * harbour/source/macro/macro.y + added #define __STDC__ as workaround for __BORLANDC__ which seems to not properly understand ANSI C declarations. It should pacify some of BCC warning messages about undeclared functions * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * updated generated grammar parser files for above modification in parser definition files (.y) 2006-11-29 16:11 UTC+0200 Chen Kedem * makefile.bc * make_b32.bat ! Fixed the COPY command to work on Windows-NT (/Y flag isn't supported) * TODO - Remove TOFIX item with were fixed 2006-11-29 10:30 UTC+0100 J. Lefebvre (jfl/at/mafact.com) * harbour/makefile.vc * Sync. with makefile.bc for msvc compiler. 2006-11-28 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/config/c.cf ! fixed typo in last modification - I have bad day today. 2006-11-28 21:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/config/c.cf * changed default settings to not use bison for generation new grammar files. Now developers who will want to update our grammar definition files for compiler and macro compiler should set environment variable HB_REBUILD_PARSER=yes to force preprocessing new rules by bison and should remember to update before committing modifications in *.y file(s) corresponding *.yy[ch] files by copping the new ones generated by parser. ! fixed typo in makefile.bc - instead of $(HARBOUR_DIR)\macro.yyc should be $(MACRO_DIR)\macro.yyc 2006-11-28 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * use HB_COMP_PARAM macro in expression destructor instead of direct accessing hb_comp_data global variable to make compiler code MT safe + harbour/source/compiler/harbour.yyc + harbour/source/compiler/harbour.yyh + harbour/source/macro/macro.yyc + harbour/source/macro/macro.yyh + added generated by bison 2.3 grammar parsers for compiler and macro compiler * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/w32/global.cf * changed CP definition for COMMAND.COM so it can work as standalone command and added DIRSEP macro * harbour/config/c.cf + added support for HB_REBUILD_PARSER=no environment variable. When it's set then during build process grammars parsers will not be generated from grammar definitions files (.y) but instead the predefined ones (.yyc) used. Tested and works well in Linux and DOS * harbour/makefile.bc + added support for HB_REBUILD_PARSER=no environment variable. Not tested. It's even possible that I've just broken the BCC compilation with this modification. Please check it and fix me if necessary. 2006-11-28 05:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! fixed typo in last modification which caused memory leak * harbour/source/vm/codebloc.c + initialize freed codeblock structure with pointer to static PCODE which returns NIL for buggy .prg destructors. * harbour/ChangeLog ! fixed date of my last commit 2006-11-28 02:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/codebl.prg * harbour/tests/langmsg.prg * harbour/utils/hbpptest/pp_test.prg * harbour/utils/hbpptest/pretest.prg * harbour/samples/pe/license.txt * removed carriage return (\r) characters * harbour/include/hbcomp.h * harbour/include/hbapi.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/vm/macro.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/genjava.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/ppcomp.c * separated HB_COMP and HB_MACRO definitions and added HB_COMMON structure used when HB_COMMON_SUPPORT macro is set * hide HB_MACRO internal definitions in hbapi.h when HB_MACRO_SUPPORT is not set These modifications should help in future compiler and macro compiler integration into single binary. + added clipper compatible error message in unclosed structures In general we should cleanup rules to make error reporting more user friendly and Clipper compatible % eliminated unnecessary allocations + added int mode member to common part of HB_COMP and HB_MACRO structure. It's initialized to HB_MODE_MACRO or HB_MODE_COMPILER + add TOFIX note about memory leaks in cParamTypes and pParamClasses members of COMDECLARED structure. It's a part of unfinished strong typing code. I do not know what Ryszard plan to do with it so I'm leaving it as is. The part of strong typing which were operating on emulated HVM stack has been removed. * removed static variables from genjava.c. Also gencli.c and genobj32.c should be fixed but this will not make this code working so I haven't touched it. * changed 3-rd parameter of hb_compIdentifierNew() from BOOL to int. Now it can have the following values: HB_IDENT_STATIC, HB_IDENT_FREE, HB_IDENT_COPY. This modification will allow in the future using common for static and dynamic symbol hash table without additional source code changes. I also plan to use identifier hash table in PP the reduce number of memory allocations and speed-up preprocessing by using second level hashing for hash keys. * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * changed HB_MACRO_SUPPORT to HB_COMMON_SUPPORT to automatically detect possible conflicts between compiler and macro compiler ! removed first detected conflict which existed for long time + added hb_compExprMacroAsAlias() function to convert HB_ET_VARIABLE expression to HB_ET_ALIAS. * harbour/source/macro/macro.y ! fixed using prefix¯o-> and ¯o.sufix-> when macro cannot be substituted by compiler, f.e.: M->v := NIL x := "&v.1->fld" M->v := "v" M->v1:= "data" ? &x ! fixed memory leak in macro substituted expression compilation * harbour/source/vm/macro.c ! fixed initialization of some HB_MACRO members ! fixed value returned for type("&V->F") when alias does not exist - removed not longer used hb_comp_bShortCuts global variable 2006-11-25 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! fixed parenthesis in expression * harbour/source/pp/ppcore.c ! fixed code block tokens stringify 2006-11-25 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/macro/macro.y + added support for strings with with ASCII NUL character Strings with ASCII NUL character are not stored with hash table but dynamically allocated/deallocated ! fixed compilation of strings with ASCII NUL character which can appear in escaped strings e"..." or after compiler chr(0) optimization % removed some not longer necessary memory allocations * harbour/source/vm/macro.c ! fixed GPF caused by HB_MACRO structure double freeing - removed some code which was added as workaround for the old behavior of HVM QUIT and false FM stat memory leak reports. It's not longer necessary in current HVM. * harbour/source/common/hbstr.c ! fixed final string size calculation in extended strings * harbour/source/compiler/gencli.c * cleaned BCC warning 2006-11-25 09:50 UTC+0300 Alexander Kresin * common.mak ! hbstrong.c is removed 2006-11-24 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/mingw32.cf * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbver.h * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/complex.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c - harbour/source/compiler/harbour.simple - harbour/source/compiler/harbour.slx - harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/compiler/hbgenerr.c - harbour/source/compiler/hbslex.c - harbour/source/compiler/hbstrong.c * harbour/source/compiler/hbusage.c - harbour/source/compiler/simplex.c * harbour/source/macro/Makefile - harbour/source/macro/macro.slx - harbour/source/macro/macroslx.c * harbour/source/pp/ppcore.c * harbour/utils/hbpp/hbppcomp.c - removed SIMPLEX references ! fixed memory leak in request _GET_ * use hb_compIdentifiersNew() in INLINE and AUTOOPEN structures members * eliminated all internal exit() calls. Now hb_compGenError() with fatal errors does not interrupt application but only sets HB_COMP_PARAM->fExit = TRUE; What should cause silent clean application close. Please keep it in mind making future modifications and do not introduce and exit() function call. + added support for \x and \ quoting in extended strings (just like in C). Warning !!!. Embedded 0 bytes are supported by PP, lexer and expression optimizer but not by bison. To make them working it will be necessary to change Literal terminal symbol holder and add length field in bison rules and also change the hash table used to hold identifiers, literals and macros to store and use real string length. If someone will try to use strings with embedded 0 now then they will be cut but nothing worser should happen. 2006-11-24 07:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * fixed some memory leaks which cannot be addressed by destructor because they are inside our own code which were not freeing properly passed expressions, f.e.: x:=1->f or: x:=field->(1) This should close the memory leaks problem in grammar parser. * indenting 2006-11-24 03:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/Makefile * commented out YACC_FLAGS = -p hb_comp this should not be committed, it will be used in the future. 2006-11-23 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbcomp.h + harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbpp.h * harbour/include/hbvm.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbfunchk.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/ppcomp.c * harbour/source/macro/macro.y * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/vm/cmdarg.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/macro.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbpp.h * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * changed the internal compiler API to be MT safe. All global and static non constant variables replaced by HB_COMP structure which have all compiler context settings. It's possible to allocate simultaneously many compiler contexts and compile code. Only constant/read only variables are shared. In macro compiler HB_COMP is replaced by HB_MACRO. In source code I everywhere used to macros: HB_COMP_DECL and HB_COMP_PARAM which are equivalents of old HB_MACRO_DECL and HB_MACRO_PARAM definitions. We will only have to change compiler FATAL errors support to not execute exit() for non batch systems. * make macro compiler fully MT safe * removed not longer used definitions and variables ! add direct accessing to PP line number information - it fixes missing line numbers reported recently ! added generating .ppo files when tokens are teken directly by compiler - it fixes empty .ppo file problem ! clear hb_stack internall variables after removing hb_stack to avoid possible GPF if application still works and try to access unexsiting hb_stack ! do not allocate new memory block when final FM statistic report is generated - it fixes problem with GPF when application compiled with FM statistic exits and CLIPPER envvar is set. ! fixed memory leak hb_cmdargCheck() ! added to harbour.y symbol destructors - it should fixes memory leaks in syntax errors but it uses quite new bison feature which is not fully supported yet. Unfortunately it's also not MT safe and the destructors implementation in 1.875c does not respect %parse-param. Bison documentation says that it should so I hope it will be fixed soon (or maybe even already is in the newest bison versions) before I'll add multi context compilation support. If not then I will have to add some workaround. I can pass compiler context pointer inside YYSTYPE using hack in a lexer but it will force really huge number modifications in existing bison rules so probably it will be much easier to fix bison or write a small tool to update generated parser. * other modifications - the total size of patch is nearly 1MB and detail description will have to take me few days. 2006-11-21 14:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak + added missing compiler/hbcomp.c file 2006-11-21 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c + harbour/source/compiler/hbcomp.c * added missing header and file in my previous commit 2006-11-21 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/compiler/Makefile * harbour/include/hbcomp.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.slx * harbour/source/compiler/harbour.y * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * harbour/source/compiler/ppcomp.c + harbour/source/compiler/complex.c + added new PP based compiler lexer - it's smaller, MT safe and a little bit faster then then the FLEX version. + added HB_COMP structure to hold compiler data in future MT version + added global variable HB_COMP_PTR hb_comp_data to make conversion to MT easier - now it holds only PP and lexer data. * update PP related code in compiler to be MT safe + added %pure-parser, %parse-param and %lex-param for bison to generate MT safe grammar parser. * updated FLEX to work with recent compiler modifications and pure-parser bison API * harbour/makefile.bc * harbour/makefile.vc * harbour/source/macro/Makefile * harbour/source/macro/macro.l * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c * use hb_macro prefix instead of hb_comp in bison/flex parser/lexer used in macro compiler to avoid possible conflicts in the future * separated lexer data * harbour/include/hbapi.h * harbour/include/hbpp.h * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/vm/macro.c * removed not used members from HB_MACRO structure to make it cleaner before creating common to compiler and macro compiler structure + added new token HB_PP_TOKEN_EPSILON + added void * cargo parameters passed to executed user functions + hb_pp_tokenGet(), hb_pp_tokenToString(), hb_pp_tokenBlockString() functions for new PP based compiler lexer * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbpp.h * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * updated to compile with recent compiler header file modifications PP, new lexer and most of grammar parser should be MT safe. Now we should update all compiler functions to pass pointer to HB_COMP data structure where we should all current global variables. This structure as first member should have HB_CMPCOMMON structure which will hold common to compiler and macro compiler data. Ryszard I think you are the best person to define this structure. We have new lexer which is MT safe but please note that it has to be extensively tested so I would like to ask everybody to compile as much as possible different code and check if the final programs work as expected. Working on new code I removed some limitations existing in FLEX though not all. At the beginning I tried to replicate the exact FLEX behavior but I've found that in few places it does not work as it should so I begin to encode rules in a way which remove some limitations. In fact now it's much easier to control some things. I kept the FLEX code working and made all necessary modifications so it still can be used but keeping FLEX working cost us IMHO too much. It's not possible to introduce some improvements to grammar parser. All identifiers, keyword and macros returned by new lexer are converted to upper letters, do not have to be freed by hb_xfree() and is guarantied that will be always accessible. So from grammar file we can remove all hb_compIdentifierNew( hb_strupr($1), TRUE ) what should give noticeable speed improvement but will break the FLEX code. Ryszard and other you will have to decide if we will support FLEX in the future. We can also clean the code and remove most of other redundant hb_strupr() and hb_strdup() used in many places. BTW only one terminal symbol can be returned with lower letters: DOIDENT and I make it intentionally so it's possible to use: DO prog1 WITH "sth" on case sensitive file systems so this symbol should be cloned in upper cases as function symbol but used without modification as file name. It's current behavior but I'm not sure you will want to keep it. Maybe compiler switch to always convert file names created from DO [WITH ] to lower cases will be better. Please think about it. 2006-11-20 15:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macrolex.c ! fixed bad typo in NIL, IIF, .AND., .NOT. tokens parsing 2006-11-18 15:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c * do not allocate separate memory in macro compiler for terminal symbols which needs string representation - it fixes some set of memory leaks and increase a little bit macro compilation ! fixed accessing freed memory in: private cMacro := "cEarly", cEarly := {"Early"} @ 12,10 GET &cMacro[1] ! fixed GPF in: p:=@left() and similar expressions * harbour/source/common/expropt2.c % minor modification * harbour/source/compiler/harbour.c ! fixed HB_TRACE message 2006-11-17 22:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed casting - it resolves problem reported by Alexander with preprocessing chr(255) from static buffer (PP used by .prg code) * harbour/source/macro/macro.y + added some comments * harbour/source/macro/Makefile * commented out compilation of FLEX based lexer for macro compiler and added compilation of new small lexer written in pure .c * harbour/common.mak * replaced macrol.obj by macrolex.obj + harbour/source/macro/macrolex.c + new small lexer written in pure .c. The code is much smaller, MT safe and more friendly for grammar parser. I think it should be also faster but I haven't made any tests yet. When we update grammar parser to not free string representation of terminal symbols then we should expect some farther speed improvement, it will also resolve some set of memory leaks like in: type("user input") and will allow to make some parts of grammar parser common to compiler and macro compiler by removing #if[n]def HB_MACRO_SUPPORT 2006-11-17 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbstr.c ! fixed decoding strings without trailing ASCII NUL character in hb_strRemEscSeq() * harbour/source/pp/ppcore.c + added decoding C escaped strings (e"...") to PP so they can be preprocessed like a normal strings, it's not enabled when HB_C52_STRICT macro is set 2006-11-17 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.l * harbour/source/macro/macro.l * harbour/source/macro/macro.slx * harbour/source/compiler/harbour.slx * changed parameters in function: hb_compStrToNum() now the string size is passed explicitly so it can work with strings which does not have trailing ASCII NUL character. * harbour/source/macro/macro.y * indenting * harbour/include/hbmacro.h * harbour/source/common/hbstr.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * added two new functions for macro compiler: hb_macroLexNew() and hb_macroLexDelete() to clearly separate lexer from grammar parser. * harbour/source/compiler/harbour.l * harbour/source/common/hbstr.c * harbour/source/pp/ppcore.c * added error generation for wrong e"..." strings and fixed \" quoting * removed \q quoting * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * added small description in headers * harbour/common.mak * harbour/source/pp/Makefile * harbour/source/pp/pplib.c + harbour/source/pp/pplib2.c * harbour/include/hbextern.ch + added auto destructor for allocated PP context, it's not longer necessary to execute __PP_FREE() so this function was moved from the standard .prg API to file with backward compatible functions * changed __PREPROCESS() to __PP_PROCESS() * moved setting std rules to separate file so now if user uses PP with only his own rules we are not forcing linking static tables which are quite huge (over 100kb) To include stdandard rules in static binaries user should add to his code: REQUEST __PP_STDRULES + harbour/source/pp/pplib3.c * old PP functions for backward compatibility: __PPADDRULE(), __PREPROCESS(), __PP_FREE() Please note that using this function is not MT safe. They should work like with old PP code. Using any of this function automatically forces linking __PP_STDRULES 2006-11-15 14:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + added void * pLex; member to HB_MACRO structure - it will be necessary for MT safe macro parser * harbour/include/set.ch * harbour/include/hbexprb.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * indenting, formatting and converting tabs to spaces * harbour/include/hbpp.h * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * make HB_PP_TOKEN structure public for other code and changed public PP API to not force including static rules by programs which does not need them. + added basic API for using PP as lexer * divided HB_PP_TOKEN_MACRO to HB_PP_TOKEN_MACROVAR and HB_PP_TOKEN_MACROTEXT and mark [][&[.[]]]+ as HB_PP_TOKEN_MACROTEXT not pair HB_PP_TOKEN_KEYWORD and HB_PP_TOKEN_MACRO It allows easier integration PP as (macro)compiler lexer and fixes preprocessing [][&[.[]]]+ in some patterns. * harbour/utils/hbtest/Makefile + added PP library to linked library list * harbour/source/macro/macro.y + added seaport to use PP as lexer. It's disabled by default and can be enabled using by defining HB_PP_MACROLEX. It eliminates using FLEX or SIMPLEX lexer in macro compiler. Now it emulates the behavior of FLEX lexer because I wanted to minimize the modification but in fact because parsed token are freed when macro compiler finish its job then we can resolve RT memory leaks which apear during parsing wrong expressions. It will be enough to drop allocating memory for new terminal symbols and using them as is like in compiler. It will also quite nice simplify include/hbexpr*.c code and will allow to move some functions to COMMON library. I want to make also pure compiler code MT safe so I will have to add passing pointer to a structure with compiler context just like in macro compiler. It means that if we define a structure which will be common to compiler and macro compiler with local (not common) data stored in other structure for which will will keep only a pointer then we will be able to move most of include/hbexpr*.c code to common library. But I do not want to make farther modification without consultation without Ryszard. Also to make PP default lexer some farther modifications should be done in core PP code and include/hbexpr*.c files to not reduce the speed. Now using HB_PP_MACROLEX for sure will have to cause speed reduction in macro compiler. But if we make necessary modifications then we should keep at least the same speed or probably reach noticeable better results. 2006-11-14 16:35 UTC+0300 Alexander Kresin * common.mak * Reverted a change of 2006-10-04 09:02 2006-11-14 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO * removed to resolved problems from TODO/TOFIX list * harbour/include/hbexprb.c * indenting and tab to spaces conversion * harbour/source/compiler/ppcomp.c ! fixed typo which cased that dump buffer was not ended with \0 character 2006-11-13 20:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! fixed the problem reported by Enrico in code like: IF ["] $ var Unfortuantelly this fix also breaks some valid expressions like: x := a[ f("]") ] $ "test" x := a[ f( "'" ) ] $ "test" what is also Clipper compatible anyhow I think that in the future we may want to break Clipper compatibility and allow compilation of such code. * harbour/doc/pp.txt * updated documentation for the above modification 2006-11-13 11:22 UTC+0200 Chen Kedem * TODO - Remove one TOFIX item with was fixed (PP of a long line). + Add 3 TOFIX items (these are all that I know of). + doc/pp.txt * PP description by Przemyslaw Czerpak (druzus/at/priv.onet.pl) 2006-11-13 03:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + pass GTK paths to GCC in hb* scripts when -xbgtk switch is used * harbour/contrib/rdd_ads/rddads.h * harbour/contrib/rdd_ads/adsfunc.c * indenting and casting * harbour/source/rdd/dbfcdx/dbfcdx1.c * cleaned typos in comments + harbour/tests/speedtst.prg + added speed test * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added HB_PP_TOKEN_ISNEUTRAL() macro to make code a little bit more readable * harbour/include/std.ch + added some missing old PP commands * harbour/source/Makefile * minor modification in order of compiled libraries * harbour/source/pp/pplib.c * changed the PP interface for .prg code. Now following functions are supported: __PP_INIT( [] [, ] ) -> initialize new PP context and return pointer to it. when is empty string ("") then no default rules are used only the dynamically created #defines like __HARBOUR__, __DATE__, __TIME__, __PLATFORM__* __PP_FREE( ) free PP context. __PP_PATH( , [, ] ) add new (or replace previous) include paths. __PP_RESET( ) reset the PP context (remove all rules added by user or preprocessed code) __PP_ADDRULE( , ) preprocess and execute new preprocessor directive __PREPROCESS( , ) -> preprocess given code and return result User can create more then one PP context and then use each of them separately. Any modification in one context have no effect in other. 2006-11-12 09:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Fixed pptable.c dependencies 2006-11-10 17:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/rddads.h + added #define WIN32 when HB_OS_WIN_32 is set to not force -DWIN32 compiler switch * harbour/source/pp/ppcore.c * cleaned BCC warnings * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed ordKeyGoto() positioning when active filter is set and no controlling order 2006-11-10 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh + added ${L_USR} to gcc parameters * harbour/source/pp/ppgen.c ! fixed minor typo in printf() format 2006-11-10 02:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbpp.h * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * restored support for old hb_inLine() syntax + added support for hb_inLine() to new PP. It can be enabled by -kI compiler switch. It's disabled by default. The new hb_inLine{} syntax is: [ ] hb_inLine [ ( [] ) ] { [ ] } [ ] can contain new line characters. Nested hb_inLine{} in is not supported. If you think it's important I can add it in few lines. This version does not break any valid Clipper syntax, hb_inLine is not reserved word and hb_inLine can be repeated many times in the same line. F.e. this code can be properly preprocessed and compied if you disable in compiler old hb_inLine() syntax and enable the new one by -kcI Harbour compiler switch: proc main() local hb_inLine := " (var) " ? hb_inLine{ hb_retc("inLine"); } + hb_inLine(" parameter ") { hb_retc( hb_parc( 1 ) ); } + "!" + hb_inLine + hb_inLine() { hb_retc( ":-)" ); } + ; hb_inLine() + "{}" return function hb_inLine() return " func() " So from user point of view this version have real "inline" syntax. To be clear: I'm not a fun of any C inline extensions. They works only when we use .c code as compiler backend so the code which uses them cannot be used in .hrb files and any other format we will add in the future which do not support later C code compilation. F.e it will not work in compiler integrated with HVM or with .NET Anyhow if someone finds it useful then I think that it should be properly implemented. This is the reason I added the new version. The old one I left only for backward compatibility. It breaks any code which uses hb_inLine keyword can be used only once in a line and it does not have "inline" so IMHO it should not be enabled by default. I would like to hear your opinion about default compiler switches: 1. should we disable both: hb_inLine() and hb_inLine {} 2. should we disable hb_inLine() and enable hb_inLine {} 3. should we disable hb_inLine {} and enable hb_inLine() 4. should we enable both: hb_inLine() and hb_inLine {} + harbour/tests/hbinline.prg + added test code for new hb_inLine{} syntax * harbour/tests/inline_c.prg ! replaced direct access to HB_ITEM body by API function calls 2006-11-09 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackReturnItem() 2006-11-09 14:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/utils/hbpp/hbpptable.c + harbour/utils/hbpp/hbpptbl.c * harbour/utils/hbpp/Makefile * harbour/common.mak * Renamed hbpptable.c->hbpptbl.c to follow 8.3 naming convention 2006-11-09 09:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Adapted to the new Preprocessor utility ppgen.exe * Cleaned hbpp.exe dependecies due to recent changes * harbour/makefile.vc * harbour/common.mak * Cleaned hbpp.exe dependecies due to recent changes * harbour/include/hbapi.h * Added HB_EXPORT to hb_gcAlloc() * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackSelfItem() * harbour/source/vm/fm.c * Added dipslaying contents of unreleased blocks at program exit, together with logging unreleased memory blocks report to fm.log file. Borrowed from xharbour. - harbour/utils/hbpp/ppcomp.c - harbour/utils/hbpp/ppcore.c - harbour/utils/hbpp/pplib.c - harbour/utils/hbpp/pptable.c + harbour/utils/hbpp/hbppcomp.c + harbour/utils/hbpp/hbppcore.c + harbour/utils/hbpp/hbpplib.c + harbour/utils/hbpp/hbpptable.c * Rename harbour/utils/hbpp/pp*.c to harbour/utils/hbpp/hbpp*.c 2006-11-08 00:39 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/makefile.vc * harbour/common.mak * Adapted to the new Preprocessor utility ppgen.exe Someone should rename the following files into utils/hbpp ppcomp.c -> hbppcomp.c pplib.c -> hbpplib.c ppcore.c -> hbppcore.c pptable.c -> hbpptable.c 2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed type checking for "string" type. It should be translate to character not symbol item type. 2006-11-08 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * cleaned two warnings generated by old GCC versions 2006-11-08 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added linker parametrs to hbcc * harbour/include/hbapi.h + added hb_retclenAdoptRaw() * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c * changed first parameters of hb_fsAddSearchPath() to const char * * harbour/include/hbclass.ch * update for new PP. I think that now we can try to create final version of our OOP rules. * harbour/include/hbdefs.h + added UCHAR and SCHAR typedefs * harbour/include/hbrddcdx.h * indenting * harbour/source/rdd/workarea.c ! fixed minor typo * harbour/source/common/hbdate.c * harbour/source/rtl/dates.c * moved hb_dateToday() and hb_dateTimeStr() from RTL to COMMON library - harbour/include/hbpp.h - harbour/source/pp/ppcomp.c - harbour/source/pp/ppcore.c - harbour/source/pp/pplib.c - harbour/source/pp/pptable.c - harbour/source/pp/pragma.c * harbour/utils/hbpp/Makefile * harbour/utils/hbpp/hbpp.c + harbour/utils/hbpp/hbpp.h + harbour/utils/hbpp/ppcomp.c + harbour/utils/hbpp/ppcore.c + harbour/utils/hbpp/pplib.c + harbour/utils/hbpp/pptable.c + harbour/utils/hbpp/pragma.c * moved all PP code to harbour/utils/hbpp It's interesting and working preprocessor and the code can be usable for some other things so I do not want to remove it. Probablly we should move it to contrib/hbpptext * harbour/include/hbcomp.h * harbour/include/hberrors.h * harbour/include/hbsetup.ch + harbour/include/hbpp.h + harbour/include/hbstdgen.ch * harbour/source/common/hbstr.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/hbgenerr.c + harbour/source/compiler/ppcomp.c * harbour/source/pp/Makefile + harbour/source/pp/ppcore.c + harbour/source/pp/pplib.c + harbour/source/pp/ppgen.c + New PP code written from scratch. It works in similar way to Clipper PP even the error codes are replicated. The code is MT safe does not have any limitation on size of preprocessed code, line, etc. It's also Clipper compatible lexer. It means that we do not longer need FLEX or SIMPLEX which can be replaced by new PP after some small modifications. Anyhow I haven't decided to make it myself. I would like to agree with with the rest of developers. I will be very happy if such modifications will be done by someone else, Ryszard? Meanwhile I current PP join on output the line tokens and give the string line to FLEX/SIMPLEX. It does not have any sense and all FLEX/SIMPLEX limitations are still existing. Ryszard, even if we keep it then I hope you can remove at least FLEX line buffer and use the one returned from PP. Because string tokens in parsed line are converted to text which is later once again decoded to tokens by FLEX I had to introduce new string format which supports embedded string delimiters. I chose modified version of xHarbour extension with escaped strings e"" so now FLEX understand such strings and decode them like C escaped strings. It means that you can use them also in the .prg code f.e.: outstd( e"Hello\n\rWorld" ) The new PP is also noticeable faster. You should see the difference compiling long files. The build in PP rules are generated automatically by ppgen program created from source/pp/ppgen.c I had to add to GNU source/pp/Makefile these two lines: pptable.c : ppgen$(EXE_EXT) ./ppgen$(EXE_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q Sth like that will have to be done also in non GNU make system. Now Harbour can be compiled only using GNU make. Marek can you update non GNU make files? I would like to leave this modification to you or other developers who can test it. It was quite big modification and I do not believe that I haven't make any mistakes but I hope that in few weeks I'll fix any reported bugs and it will resolve any PP problems. TODO: * error messages create one common list of errors and warnings and keep it in common library. PP and compiler can still generate different errors with the same number. It can be confusing for the users and hard to document and add i18n translations. If possible we should also try to keep Clipper error numbers. In new PP code I added Clipper error numbers but I cannot use them until compiler code is not updated. We should aslo remove the ctype passed to error functions and hack with first character in warning messages and use only error number. The codes from 1000 to 1999 should be warnings where range 1000:1099 is activated by -w, 1100:1199 by -w1, 1200:1299 by -w2, etc. 2000:2999 are errors and 3000:3999 fatal errors. All compiler functions which generate an error should expect that error function will not stop the compiler but return and cleanly finished their job. It's necessary for MT support in compiler and making compiler part of some other programs which may still work and compile different source code. * FLEX/SIMPLEX remove them at all and add some final pass to PP to create more precise tokens for grammar parser or at least add better integration to remove some redundant code and existing limits. * hb_inLine() support - it's broken in new PP but as I can see it was never working correctly. I can add a hack to PP to support hb_inLine() but I'm not sure it's worth to do. Maybe in few days. + harbour/include/std.ch + added new std.ch. It was created without using Clipper's std.ch. It's quite possible that some rules are wrong and should be fixed so please help. Anyhow I created a set of programs based on new PP code generating all possible combinations of different commands I collected from different source code, documentation and match patterns of rules I was adding to new std.ch and then I was comparing .ppo files generated by Clipper and Harbour so I do not expect any bigger problems then some minor typos. I had to introduce some modifications in spacing as workaround for FLEX/SIMPLEX which cannot properly decode text preprocessed by Clipper after stringify. * harbour/utils/hbpptest/pretest.prg * updated for new PP It reports 16 wrong translations but some of them are valid and some others are caused by escaped string e"..." (one of hack for FLEX/SIMPLEX support) I also had to remove all spaces in comparison the results because they were not Clipper ocmpatible at all. Ryszard please look at it. 2006-11-07 21:23 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/include/hbclass.ch * added one rule to support inline method with local var separated from by a coma Working and into the classy compatibility block 2006-11-07 20:36 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/include/hbclass.ch * added one rule to support inline method with local var separated from by a coma 2006-11-03 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Updated comment section about environment variables used by makefile * harbour/makefile.vc * Updated comment section about environment variables used by makefile * Cleaned compilation under Visual C++ 8.0 (VS2005 compiler), including 64 bit platforms. To properly compile under Visual C++ 8.0 you have set a new environment variable HB_VISUALC_VER to 80 before running make_vc.bat. 2006-10-07 04:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added validation for class data names. As additional preprocessor rule to not use * harbour/include/hboo.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c + added delegate messages * harbour/include/hbstack.h * harbour/source/vm/arrays.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/proc.c + added startup symbol to hb_stack. It gives very good stop condition for all procedures which trace stack calls and resolves the problem with hb_stack.pBase which was never pointing to valid function/procedure symbol when no symbol was put on HVM stack. Now after hb_stackInit() the first item is allocated for "hb_stackInit()" symbol so hb_stack.pBase is always a pointer to valid function/procedure symbol. * changed the guard condition for buggy code in hb_stackPop() and similar code from: hb_stack.pPos < hb_stack.pItems to: hb_stack.pPos <= hb_stack.pBase The old condition was generating usable error message only in the startup function. In deeply called functions it was only waste of CPU time on one of the most often call functions. Before it was activated internal stack structures were corrupted. If we were leaving for many years without really working stack underflow protection then maybe we should think about disabling it at when HB_STACK_MACROS are used and keep it only in real stack functions for HVM developers. Single protection in hb_stackOldFrame() I've just added is enough for basic C code validation. I created the second version of stack macros without it in hbstack.h but I would like to hear other developers opinion. 2006-10-05 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * Temporary disabled optimization with references to object variables until we will not have extended reference items in our HVM. It can be enabled by compiling with HB_USE_OBJMSG_REF * harbour/include/hbclass.h * restored previous CLASSDATA behavior which ignores SHARED clause and always create shared class variables 2006-10-04 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * translate HB_P_INC / HB_P_DEC in (pre|post)(inc|dec)rementation to HB_P_[PLUS|MINUS]EQ * harbour/source/vm/hvm.c - removed not necessary now hb_itemUnRef() in hb_vmInc()/hb_vmDec() 2006-10-04 09:02 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * common.mak main.c has to be used instead of mainstd.c or mainwin.c as main.c select the right entry point function based on the used defines 2006-10-04 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * most of the rules rewritten ! fixed some wrong rules and general cleanup + added additional code validation ! fixed compilation of more then one class in single file. Now it's even possible to declare all classes at beginning of single file and then implementing their methods in any order ! fixed using static classes and classes ! fixed compilation without _ prefix in method names + added support for HB_CLS_NO_DECORATION macro which disable adding _ prefix to method names - this macro is set by default when HB_SHORTNAMES is set. + added support for declared parameters validation - it can be disabled with HB_CLS_NO_PARAMS_ERR and I had to disable it by default due to problems with our preprocessor. Ryszard seems that our PP has serious problems with decoding directives when there is no space between symbol and some other non symbol character. I had to add some workarounds and even introduce buggy rules to make it working. Please look at it. You can remove #define HB_CLS_NO_PARAMS_ERR from hbclass.ch and try to rebuild Harbour core code to see the problem. * harbour/include/hboo.ch * harbour/source/vm/classes.c + added support for new primitive message: HB_OO_MSG_PERFORM * harbour/source/rtl/tclass.prg - removed parameter from HBClass messages and internals data. Persistent is supported as scope bit and separate variable was redundant. - removed stripping of () from message names. Here is not a place to fix wrong preprocessor rules. * harbour/utils/hbtest/rt_class.prg * use: METHOD PROCEDURE ... CALSS ... instead of: PROCEDURE ... CALSS ... The first version is preferable syntax. * harbour/source/debug/dbgtmenu.prg * harbour/source/rtl/checkbox.prg ! fixed some parameters in method declaration - global cleanup will have to wait for preprocessor fixes Hi all, Please make test with current hbclass.ch code. I hope that I haven't broken too much things ;-) but I rewrite from scratch most rules and it's possible that I missed sth or made some stupid typos. Current version is much shorter and should be easier to updated. For sure I've intentionally changed one thing. CLASSDATA was ignoring SHARED attribute and always created shared class variables. Seems that it was long existing typo but the fix may interact with already existing code which needs SHARED class variables but does not use SHARED clause in CLASSDATA declaration. In such case please update it and add missing SHARED. Also in the end of CLASS declaration we have: [ ; #translate Super( ): => ::: ] ; [ ; #translate Super( ): => ::: ] ; [ ; #translate Super(): => ::: ] ; [ ; #translate Super: => ::: ] ; [ ; #translate ::Super : => ::: ] These rules introduce very serious bug - they are breaking supercasting in code which makes sth like: ::super:super:super:msg or in any other code which sends SUPER message to some other class objects. I will have to remove them. At least the last three ones. There were some other things I wanted to write about but it's too late and I'm to tired - sorry. If you will have any question please ask. if you will notice some problems with current rules please inform me. 2006-09-29 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * allow to access object variables using assign messages without parameter. I do not want to add symmetric behavior for access messages though it's technically possible but such things should be controlled by programmer because access messages can have less restricted scoping then assign ones (READONLY) so I'll add new rule for it in hbclass.ch * harbour/source/vm/hvm.c * fixed warning message when object variable reference is generated using macro compiler without '_' as prefix. 2006-09-29 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * synced with Brian fixes in xHarbour * harbour/source/rdd/workarea.c * minor modification * harbour/source/rdd/dbfcdx/dbfcdx1.c * minor Clipper compatibility update 2006-09-29 11:20 UTC+0100 Ryszard Glab * tests/Makefile + added omacro.prg and varparam.prg * ChangeLog * fixed date in previous commit 2006-09-29 11:10 UTC+0100 Ryszard Glab * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c + added support for passing methods as macro eg: o:&send() o:&send.end() o:&(expr)() o:&var++ o:&var := 0 o:&(expr)++ WITH OBJECT obj ++:&var :&var += :&(var2+"oo") END + tests/omacro.prg + sample file to test the new syntax NOTICE: For simple assigments (=,:=), compound assignments (+=,-=,*=,/=) and for pre/post increment operators( ++,--) the macro should evaluate to a symbol that starts with underscore '_'. To access a variable the macro should evaluate to a symbol with no '_' char. 2006-09-28 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/common.ch - removed ISSYMBOL() * harbour/source/rtl/tclass.prg * use valtype() instead of IS*() * some minor modifications * harbour/source/vm/hvm.c * minor modification 2006-09-28 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * updated some not enabled by default rules to use function pointers instead of function names which I forgot to update in previous commit 2006-09-28 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/common.ch + added ISSYMBOL() * harbour/include/hbextern.ch - removed __CLS_PARAM() * harbour/include/hbclass.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c * replaced __CLS_PAR00() and __CLS_PARAM() functions by preprocessor rules. These functions are not longer necessary though I left them in classes.c for backward binary compatibility. Probably they will be removed in the future. ! use function pointers (@()) instead of function names with REQUEST for super classes ID. It fixes using STATIC class functions. 2006-09-28 00:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * check for rpmbuild also when BUGGY_RPM is set * harbour/make_tgz.sh * removed rebuild hbpptest with shared libraries * harbour/include/hbapicls.h + added definitions for hb_clsCreate(), hb_clsAdd(), hb_clsAssociate() * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added hb_errFuncName - pseudo function name which can be used as operation description in new error object. It should help to simplify some code and fix function names when RT error is generated from C function which can be executed from different .prg functions. * harbour/include/hbclass.ch + added some missing Classy(y) compatible object variable type descriptions: Int, Integer, Block * harbour/source/rdd/dbfcdx/dbfcdx1.c ! disabled early retrieving from the cache key position and key count * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added: void hb_vmPushEvalSym( void ) for the code which do not want to access any [P]HB_SYMB structures * changed symbol name in hb_symEval from __EVAL to EVAL and modified hb_symEval registration method to not register hb_vmDoBlock as global function. Having PHB_DYNS address for "EVAL" in hb_symEval.pDynSym allows to eliminate some strcmp() when we are looking for EVAL public symbol. ! fixed symbol table updating in PCODE functions for future multi module .hrb files * harbour/source/vm/proc.c * use hb_symEval.pDynSym instead of strcmp() * harbour/source/vm/arrays.c * harbour/source/vm/debug.c * minor code cleanup * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c % separate message hash table from methods table - it will cause farther reduction of allocated memory - many thanks to all people who send me statistics about number of used classes and symbols from their code. % use hb_symEval.pDynSym + added support for object variable type scope checking like in Class(y). ! fixed typo in pushing object class variables by reference % s_pClasses is now indexed directly by class handle % some other optimiztions ! make hidden and non virtual invisible in child classes if it overloaded some other non hidden method. In such case the overloaded method is used and can be accessed. ! make friend functions real method class oriented not (super)object for hidden messages 2006-09-26 17:00 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c * source/compiler/harbour.y *added support for passing the reference to object's variable e.g. foo( @obj:var ) 2006-09-24 21:10 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c * Restored hb_CdpList(), deleted accidentally while last commit. 2006-09-23 19:58 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c ! Bugs fixed in hb_cdpcmp() 2006-09-23 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * minor modification in function order to group together the ones which can operate on reference counters + added additional stop condition in hb_itemUnRef() - we will have to make some modifications for the code which execute hb_itemUnRef() to resolve some possible conflicts with operators overloading and compiler optimizations * harbour/source/vm/classes.c * do not inherit friends - seems that our classes code was too friendly ;-) It also effectively resolves logical problem with accessing overloaded non virtual methods from friends. + added __clsLock( ) - it locks any farther class modifications and can be used if programmer wants to be sure that no one will try to hack his class definition. It's very important when programmers work in a team on bigger project. Please do not add to CVS any __clsUnLock() functions - if someone needs it then he can create his own custom HVM build. * code cleanup * harbour/source/vm/eval.c + added hb_execFromArray() - idea and syntax borrowed from xHarbour's HB_ExecFromArray() by Giancarlo Niccolai though it's independent implementation. Now when we have support for functions with variable number of parameters then we need sth like this function to fully benefit from new feature. The following syntax is supported: hb_execFromArray( [, ] ) hb_execFromArray( @() [, ] ) hb_execFromArray( [, ] ) hb_execFromArray( , [, ] ) hb_execFromArray( , @() [, ] ) or: hb_execFromArray( ) where is in one of the following format: { [, ] } { @() [, ] } { [, ] } { , [, ] } { , @() [, ] } * harbour/source/rtl/symbol.prg * removed C code inside #pragma BEGINDUMP/ENDDUMP now it's only .prg code which uses variable parameters function and hb_execFromArray() 2006-09-22 23:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hbvm.h * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c * harbour/source/vm/hvm.c ! fixed bug in real codeblock scoping which was exploited by dictionary resizing * changed ACCESS messages to ASSIGN ones when object item reference is created for proper READONLY scope checking. The reference to object variable can be created only when caller has sufficient ASSIGN privileges. + added FRIEND CLASS and FRIEND FUNCTION support. It's enough to add class definition: FRIEND CLASS [, ] and/or: FRIEND FUNCTION [, ] and all methods of given class or given function will be able to access private variables. Warning!!! Friends cannot access overloaded non virtual methods. This feature is available _ONLY_ for real class members. + added MODULE FRIENDLY to class definition. It causes that all other functions and classes defined in the same .prg module will have friend privileges. In such way works xHarbour and there is now way to disable this "feature" what is IMHO bug. In Harbour programmer has to explicitly enable it (until he will not change / add new preprocessor rule and set it as default ;-)). Syntax: CREATE CLASS .... MODULE FRIENDLY ... END CLASS * harbour/source/vm/proc.c * harbour/source/vm/runner.c * updated function symbols processing * harbour/source/compiler/harbour.c * added note in hb_compOptimizeFrames() about exceeding maximum number of local variables (255). We should add new pcode(s) HB_P_LARGE[V]FRAME or generate compile time error. * harbour/source/vm/macro.c % minor optimizations 2006-09-21 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c % minor optimization in hb_itemParam() ! fixed enumerator variable clearing in hb_itemCopy() 2006-09-21 09:52 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/common/expropt2.c ! Fixed leak introduced in previous commit. 2006-09-20 23:17 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c % Compile-time optimization added for expressions below: SToD(""), SToD(), HB_SToD(), HB_SToD(""), HB_SToD() ! Tabs converted to spaces. * harbour/source/common/hbdate.c * harbour/source/rtl/dates.c * Copyright cosmetic cleanup. 2006-09-20 21:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/codebloc.c ! fixed detaching locals in variable parameters functions 2006-09-20 20:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! fixed casting for C++ compilation * harbour/source/compiler/harbour.c ! fixed removing locals frame - bSkipFrame was not initialized * harbour/include/hbapi.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/proc.c * moved current line number information from hb_struSymbol to current stack state to keep 16 bytes size for HB_ITEM on 32bit systems with 4 bytes alignment 2006-09-20 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with recent xHarbour fixes * harbour/include/hbdefs.h * indenting * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c + added compile time optimization for STOD(cConstDateString) covered by -kh compiler extension (default) It allows to keep the same source code for Clipper and Harbour and benefits from data constants without using 0dYYYYMMDD values * harbour/source/vm/classes.c * restored the original 3-rd parameter in hb_clsAdd to void(void) - PHB_FUNC - and added translation for PHB_SYMB to not force using [P]HB_SYMB in 3-rd party code * harbour/source/vm/estack.c * added protection against possible GPF after executing hb_stackBaseProcOffset() when first item on the stack was not HB_IT_SYMBOL - it can happen in some seldom cases. Probably some more general solution like leaving first dummy item on HVM stack for breaking stack scan loops will be better. I'll think about it. * harbour/source/vm/itemapi.c ! fixed clearing enumerators 2006-09-20 14:15 UTC+0100 Ryszard Glab * include/hbpcode.h + added new pcode HB_P_VFRAME * include/hbapi.h + added USHORT paramdeclcnt to asSymbol structure * include/hbstack.h * source/vm/estack.c + added hb_stackLocalVariable() to acces local variables * source/compiler/genc.c * source/compiler/gencc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hblbl.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/vm/hvm.c + added support for variable number of parameters in functions/procedures + tests/varparam.prg * example usage of new syntax for variable number of parameters * source/vm/arrayshb.c * changed HB_APARAMS() to use current stack frame if no arguments are passed ( HB_APARAMS() == HB_APARAMS(0) ) SYNTAX for variable number of parameters 1) [FUNCTION|PROCEDURE] name( ... ) or 2) [FUNCTION|PROCEDURE] name( var1, var2, varN, ... ) To access passed parameters use the following: PCOUNT() - returns number of passed parameters HB_PVALUE( iParamNum ) - returns parameter HB_APARAMS() - returns array with all passed parameters or usual name of parameter variable in case of syntax 2) 2006-09-19 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * harbour/source/vm/hvm.c + added support to compiler for sending messages with multi parameters resolved by macro operator: s:="1,2,3"; o:msg(&s) It works just like for functions and it also needs XBASE extension support enabled during compilation, -kx switch in compiler, it's enabled by default. * harbour/source/rdd/usrrdd/usrrdd.c ! added missing DBOI_* index in parameters passed to user ORDINFO() method. 2006-09-19 11:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapicls.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/arrays.c * harbour/source/vm/classes.c * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added three new PCODEs: HB_P_MACROSEND - to use for: s:=1,2,3"; o:=send(&s) HB_P_PUSHOVARREF - to create references to object variables: @o:var HB_P_ARRAYPUSHREF - to create references to array items, it can be used in some optimization, f.e.: a[ ] += or directly by: func( @a[ ] ) if we add passing array elements by reference Implemented in HVM and PCODE generation, the compiler has to be modified yet to use them. * changed last parameter in hb_codeblockGetRef() - I'd like to have all variables in hb_struRefer structure in one place: hb_itemUnRefOnce() for easier modifications in the future. * replaced in hb_struRefer 'itemsbase' with 'array'. + added hb_arrayGetItemRef() to create references to array elements. Such reference updates array reference counters. * changed STATICs passed by reference to use new array item references. ! block destructor execution after classy releasing on HVM exit 2006-09-18 03:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added MESSAGE ... INLINE ... rule * harbour/tests/clsccast.prg * harbour/tests/clsicast.prg * harbour/tests/clsnv.prg * harbour/tests/clsscast.prg * harbour/tests/clsscope.prg - removed some unnecessary definitions 2006-09-18 02:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added hb_clsRealMethodName() function which I'm using in some test code * harbour/tests/clsscast.prg * updated to use __CLS_CNTSHRDATA() instead of __CLS_CNTCLSDATA() * harbour/utils/hbtest/rt_class.prg + added tests for class and shared class variables/allocating 2006-09-17 18:52 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/tests/testrpt.prg ! Fixed fatal typo. 2006-09-17 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/include/hbvm.h * xharbour/source/vm/hvm.c + added hb_vmPushDynSym( PHB_DYNS ) It should allow most applications to not use [P]HB_SYMB at all. Removing PHB_SYMB from 3-rd party .c code may allow us to add freeing unused symbol tables from HVM in the future. * harbour/source/vm/classes.c * temporary restored hb_objGetpMethod() + added __ClsCntClasses() ! allocated real methods for OnError and Destructor to keep the same behavior in these methods as in any others, f.e. scoping checking or debugging. * harbour/common.mak * harbour/utils/hbtest/Makefile * harbour/utils/hbtest/hbtest.prg + harbour/utils/hbtest/rt_class.prg + added tests for our classy code. Now destructors and instance area allocating/casting. Some other in the future. 2006-09-16 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with recent Brian fixes in xHarbour * harbour/include/hbapi.h + added 'method' member to hb_struBlock structure * harbour/source/vm/hvm.c * initialize 'method' member in hb_struBlock structure * harbour/source/vm/proc.c * changed the name of last parameter of hb_procname() from bSkipBlock to fMethodName and modified to use information about the class of executed codeblock from new hb_struBlock members * harbour/source/vm/classes.c * removed hb_objGetpMethod() - I hope it's not longer used * added real codeblock scoping. In Clipper there is no information where the codeblock where created and what priviladges/scopes it should has. Class(y) to resovle this problem when codeblock is executed scans the HVM stack for the nearest method call and takes scopes defined for this method. It's a workaround which allow to break standard access rights though seems reasonable when it's not possible to store information where the block is created. I've added to block item structure information about class and method where code block was created so we can use the exact method priviladges. Now Harbour classy code can work exactly like Class(y) when compiled with -DHB_CLASSY_BLOCK_SCOPE and with real code block scoping when compiled with -DHB_REAL_BLOCK_SCOPE. I set the second (real code block scopes) as default. If you think we should be strict Class(y) compatible here then please inform me and I'll change default setting. + tests/clsscope.prg + added demonstration/test code for class method scoping 2006-09-15 21:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c * harbour/source/vm/classes.c ! fixed multiple use of supercasted object I broke in last commit * removed some unused code and moved some scoping checking to class creation code 2006-09-15 13:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c + added hb_vmRequestReenter() and hb_vmRequestRestore() + added executing destructors when some exception is active I forgot about it in previous commit. + harbour/tests/destruct.prg + added example/test code for object destructors 2006-09-15 04:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/doc/destruct.txt + added description for object destructors in Harbour * harbour/include/error.ch + added new error code EG_DESTRUCTOR * harbour/source/lang/msgpl852.c * harbour/source/lang/msgpliso.c * harbour/source/lang/msgplmaz.c * harbour/source/lang/msgplwin.c * harbour/source/rtl/langapi.c + added desription for new error code - other language modules have to be updated * harbour/include/hbapi.h + added hb_gcRefCheck() and cover some hb_gc* functions by _HB_API_INTERNAL_ macro * harbour/source/vm/itemapi.c ! fixed possible RT error generation when some exception is active * harbour/include/hbapicls.h * harbour/include/hbclass.ch * harbour/include/hboo.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/arrays.c * harbour/source/vm/classes.c + added support for object destructors * harbour/source/vm/garbage.c + added support for object destructors + added logic to detect buggu .prg code which uses destructors see doc/destruct.txt for more info. It's also possible that this code will exploit some bugs in other code which uses GC allocated memory blocks. 2006-09-14 15:23 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/tests/testlbl.prg ! use lower name in report name to work properly on case sensitive file systems 2006-09-14 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c * minor cleanup * harbour/source/rtl/cdpapi.c * harbour/include/hbextern.ch + added HB_CDPLIST() - it returns array with all registered CODEPAGEs * harbour/source/rtl/set.c ! fixed typo in _SET_DEFEXTENSIONS * harbour/tests/testrpt.prg ! fixed syntax ! use lower name in report name to work properly on case sensitive file systems 2006-09-13 20:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added __enumStop() message for "FOR EACH" overloading It's guarantied that it will be sent to base item if it is an object with such message when FOR EACH ... NEXT will finish its job even if it will be interrupted by EXIT or RETURN to allow base object clear resources allocated for FOR EACH enumerator. The BREAK exception is not supported now. This is sth what I'd like to discuss soon when I'll add destructors. Please think now if we should allow to execute destructors and other cleanup user code when we are returning to nearest expection trap (BEGIN SEQUENCE / [ RECOVER /] END) cleaning the HVM stack. 2006-09-13 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c ! fixed number of compiled functions shown in compilation status ! added workaround for GPF in empty #pragma begindump/enddump statement 2006-09-13 03:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * keep class shared data in separate array + added __CLS_CNTSHRDATA( hClass ) -> nSharedDatas % some minor optimizations * harbour/tests/clsscast.prg + added test code for shared class data allocating and casting * harbour/include/hbapicls.h * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added support for FOR EACH overloading - it's work in progress do not create any code which may use current solution - it may change in the nearest future 2006-09-12 14:48 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c ! Bug fixed 2006-09-12 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed typo in adding SHARED CLASS VAR ASSIGN messages * some minor cleanup 2006-09-11 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.ch * added HB_EXPORT to public functions and some internal covered by _HB_API_INTERNAL_ macro * harbour/include/hboo.ch + added HB_OO_CLSTP_NONVIRTUAL and HB_OO_CLSTP_OVERLOADED * harbour/source/rtl/tclass.prg ! do not add supercast class messages - now it's done automatically by __clsNew() function with proper instance area offset updating ! enumerate instance class datas in __clsAddMsg() from 1 - inherited instance variables are managed internally by classy code with proper instance area offset updating ! use __CLS_CNTCLSDATA() as start offset for class data. Do not try to calculate it yourself - some of super classes can be ignored when they are appear in the inheritance tree more then once so it's not possible to calculate class data or instance data start offset using simple sum of class or instance variables in super classes. * harbour/source/vm/classes.c ! fixed instance area casting ! fixed class variables casting ! fixed multi-inheritance when the same class can apear more then once in super classes tree. ! Do not add unnecessary instance variables for the same class when it's inherited more then once. ! Do not add unnecessary class variables for the same class when it's inherited more then once. ! Do not add unnecessary initialization class and instance variables + added support for non virtual messages + added support for static and casted scoping + super cast messages added automatically. They are used to dynamic recalculation of instance are offsets and to avoid multiple inheritance of the same class so please do not overload them or you will have as result something what we have before recent modifications in the instance and class data area. Just simply run tests/clsccast.prg and tests/clsicast.prg compiled with current CVS code and last release code or with xHarbour and compare the results. Also Class(y) does not pass these tests and I do not know if any other dynamic OOP model in xbase languages can properly address it. BTW maybe I should add RT error when .prg code will try to delete or overwrite class cast message. For me it seems to be reasonable and what's your opinion? * make hidden class members non virtual by default. It can be disabled by compiling classes.c with -DHB_VIRTUAL_HIDDEN but IMHO keeping HIDDEN members as virtual causes that they are not really HIDDEN because subclasses can simply overwrite them. It also means that it's not possible to create class with some private data and methods which will never interact with any subclass code created by other programmers where name conflict can appear. So one of the most important OOP features is missing in such case. See tests/clsnv.prg as an example for non virtual hidden members. + tests/clsicast.prg + added test code for proper instance area allocating and casting + tests/clsccast.prg + added test code for proper class data allocating and casting + tests/clsnv.prg + added test code for non virtual hidden class members Now we should be able to create and class model even replicate the static one like in C++ using current class engine which still fully supports dynamic bindings. It consumes less memory and due to much more efficient hashing it should be faster then it was though some other minor optimization can be add and I'll plan to make them in some spare time. The item type verification in assignment is still missing. I'll add it when I'll collect some statistic informantion I'd like to ask [x]Harbour users. I need these information to tune some internal structures where I can balance between speed and memory allocation to statistically optimal form. Marek asked me to add passing object datas by reference and I'll do that but I'd like to ask Ryszard to add support for: @: to compiler. I'll implement all other HVM modifications. If you can please also add support for: :&[(...)] For this we do not need any HVM modifications or new PCODEs. We are supporting xBase++ macro list compilation in: cList:="1,2,3" x := aVar[ &cList ] aVar:={ &cList } func( &cList ) But we do not support: :( &cList ) IMHO it looks ugly. If we have this syntax for function call then we should also support it in message sending. Ryszard can you make necessary compiler modifications? I'm also thinking about adding support for variable parameters func myfunc(...) [...] return xVar In few cases it will help to encode some function much more efficient then now. I'll add Class(y) compatible functions used in class(y) header files so it will be possible to use original class(y) .ch files in Harbour though it will not be the most efficient because we have @func() operator which gives better performance then using codeblocks. Anyhow classy create separate meta class for each class with CLASS members and () function always return such meta class object so for full Class(y) compatibility we need to generate differ .prg code. But all such modifications now can be done on preprocessor and .prg level and they will not need .c code modification. We should make them to give user interface for our new OOP features. Now I'm waiting for reports about any problems with current classy code. 2006-09-11 20:30 UTC+0300 Alexander Kresin * source/vm/itemapi.c ! Bug fixed, which was introduced while last commit 2006-09-11 16:40 UTC+0300 Alexander Kresin * include/hbapicdp.h * Changed declaration of hb_cdpcmp() function * source/rtl/cdpapi.c * hb_cdpcmp() has been changed. It accepts now additional parameters: hb_cdpcmp( char* szFirst, ULONG ulLenFirst, char* szSecond, ULONG ulLenSecond, PHB_CODEPAGE cdpage, BOOL bExact ), also some bugs fixed. * source/vm/itemapi.c * source/rdd/dbfntx/dbfntx1.c * Calls of hb_cdcmp() has been changed. 2006-09-10 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * cleaned BCC warning 2006-09-10 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! added missing changelog entry about __MVPUT() fix * harbour/source/vm/itemapi.c * removed redundant pItem->type = HB_IT_NIL (thanks for Manu Exposito) 2006-09-10 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! added missing changelog entry about __MVPUT() fix * harbour/source/vm/itemapi.c * removed redundant pItem->type = HB_IT_NIL (thanks for Manu Exposito) 2006-09-10 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/codebloc.c * harbour/source/vm/arrays.c * moved static base offset from hb_struBlock structure to HB_CODEBLOCK structure + added hclass member to hb_struBlock - it will be used in the future for checking codeblock scope in classy so we will real scope checking also for messages sent from codeblocks. - removed supercast and superoffset members from hb_struArray structure. * harbour/include/hbclass.ch * added class(y) like @:([]) send operator. It's not exactly the same as in class(y) where this operator is hardcoded to executing function directly, needs method name instead of message name and is linked statically. In Harbour this operator uses message name so can be used also for instance variables and make dynamic casting to the class from which current method is inherited. In short words sending messages to @: instead of :: causes that they work like non-virtual messages in C++ mode. If you do not use the same method body in different classes then you can also use explicitly self casting: :::[(...)] and it will be a little bit faster * harbour/include/hboo.ch + added: HB_OO_MSG_ASSIGN, HB_OO_MSG_ACCESS, HB_OO_MSG_CLSASSIGN, HB_OO_MSG_CLSACCESS They should be used insted of HB_OO_MSG_DATA and HB_OO_MSG_CLSDATA This resolves problems with name conflicts when we were detecting type of message (ACCESS/ASSIGN) by checking the first character in message name. F.e. now it's possible to create exported instance variable called __WithObject and it will be used in all WITH OBJECT statement instead of the base object value. It's simple and effective WITH OBJECT overloading. I kept backward compatibility for HB_OO_MSG_DATA and HB_OO_MSG_CLSDATA but I strongly suggest to update code to use new constants. + added HB_OO_MSG_REALCLASS * harbour/source/rtl/objfunc.prg * harbour/source/rtl/tobject.prg * harbour/source/rtl/tclass.prg * use HB_OO_MSG_[CLS]{ASSIGN,ACCESS} instead of HB_OO_MSG_[CLS]DATA * harbour/source/rtl/tclass.prg + added REALCLASS message to creted classes - it's used for @: operator * harbour/source/vm/classes.c * updated for above modifications * calculate instance area offset in supercasting dynamically - it will allow to eliminate multiple instance area allocating when in the inheritance tree the same class exists more then once and also quite easy add support for non-virtual messages. ! fixed GPF in __CLSINSTSUPER() class function generate HVM exception % do not inherit unaccessible inline blocks * some other minor optimization, fixes and code cleanups * harbour/source/rdd/usrrdd/usrrdd.c ! fixed HB_TRACE message * harbour/source/rtl/errorapi.c ! generate internal error if ErrorNew() function does not return an object 2006-09-07 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c ! fixed memvar creation in __MVPUT() 2006-09-07 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! always initialize all members in RDD structures to avoid GPF when some RDD will try to access uninitialized data * harbour/source/rdd/usrrdd/usrrdd.c ! added some additional validation in RDD structures <-> item conversions 2006-09-06 14:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * modified hb_itemClear() to be reentrant safe - the new version can be also better optimized by C compiler so should be also faster * harbour/source/rdd/dbcmd.c ! initialize lpdbOrdCondInfo in DBORDERINFO structure before passing to ORDCREATE() * harbour/source/vm/fm.c ! fixed typo in memset() when HB_PARANOID_MEM_CHECK enabled * harbour/source/vm/hvm.c ! fixed item type used for iterator 2006-09-06 12:02 UTC+0300 Chen Kedem * utils/hbrun/hbrun.prg * Change Main() into _APPMAIN() to avoid collision with user function in HRB file with that name. + Added a NOTE about this. 2006-09-05 16:10 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c ! Bug fixed in hb_cdpcmp(), which caused strange comparison results as ( s1 > s2 ) != ( s2 > s1 ). 2006-09-05 15:51 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbset.h * harbour/include/set.ch * harbour/source/pp/pptable.c * harbour/source/rtl/set.c + Added Set( _SET_DEFEXTENSIONS, ) Default value is .T. (CA-Cl*pper compatible). If set to .F., Harbour runtime/RDD code will never attempt to add a default extension to the filename arguments. Commands/functions where this setting makes a difference are: - SET ALTERNATE TO / Set( _SET_ALTFILE_, ... ) - SET PRINTER TO / Set( _SET_PRINTFILE_, ... ) - Set( _SET_EXTRAFILE, ... ) - SAVE TO / __mvSave() - RESTORE FROM / __mvRestore() - LABEL FORM - REPORT FORM - COPY TO ... DELIMITED - COPY TO ... SDF - LIST / __dbList() - USE / dbUseArea() - dbCreate() - SET INDEX TO / ordListAdd() (not yet implemented) - __HRBLOAD(), __HRBRUN() ; Notes: - From now on, it possible to create/load files using the above functions/commands which have no extension. This might be desirable in a few platforms and/or situations. For example on Win32, it's possible to directly print to a shared Windows printer queue, using these commands: lOldValue := Set( _SET_DEFEXTENSIONS, .F. ) SET PRINTER TO \\myserver\myprinter Set( _SET_DEFEXTENSIONS, lOldValue ) Or, it is possible to open a dbf file which have no extension: dbUseArea(.T., NIL, "dbf_filename_with_no_extension", "w_DATA", .F., .F.) - Compiler is (of course) not affected by this setting. - Preprocessor (PP) lib flavour is not affected by this setting. - Support is not full in the RDD code yet. * harbour/source/rdd/dbf1.c * harbour/source/rdd/dblist.prg * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg * harbour/source/rtl/set.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c + Honoring _SET_DEFEXTENSIONS setting all over the code. 2006-09-05 12:44 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/debug/debugger.prg ! Fixed and made multiplatform the filename extension handling parts. * harbour/source/vm/memvars.c ! Comment minor fixes. * harbour/harbour.spec * harbour/make_xmingw.sh * harbour/make_bsd.sh * harbour/make_drw.sh ! xharbour -> harbour 2006-09-04 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO + added simpler example for memory leak in macro compiler: ? type("user input") * harbour/source/macro/macro.y * replaced TABs with SPACEs * harbour/source/vm/classes.c * added some TRACE() messages + added support for executing functions with :EXEC() registered dynamically after creating * harbour/source/vm/hvm.c * minor modification 2006-09-04 18:10 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg ! Made the logic multiplatform where it's decided whether to add a default extension to the loaded filename. C:\PATH.A\MYFILE didn't get the default extension while C:\PATH\MYFILE did. 2006-09-04 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c ! fixed bug in wrong integer negating, f.e.: proc main(); local i:=0; i-=-32768; ? i; return ! fixed PCODE generated for +=, -=, /=, *= expressions when right side of expression is undefined variable - it's possible that it will be field and we will have RT error. It fixes tt4.prg example form TODO file. * harbour/TODO - removed tt4.prg example from TOFIX * harbour/source/vm/classes.c ! fixed supercast message validation * harbour/source/vm/hvm.c ! fixed very bad typo in hb_vmMinus() which can cause wrong results when on 64-bit integer overflow 2006-09-04 09:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.016 ! added ChangeLog.016 and updated number - mistake in my previous commit * harbour/source/vm/classes.c * stronger parameters validation and fixed some possible problems in hb_objGetMethod() + added support for assigning enumerator value by: :__enumValue() and enumerator index by: :__enumIndex() It's a work in progress - please do not create any code which may need such functionality yet * harbour/source/vm/debug.c * harbour/source/vm/hvm.c * minor code cleanup 2006-09-03 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * harbour/tests/overload.prg + added support for overloading [] in assignment operation 2006-09-03 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.016 * new ChangeLog file created 2006-09-03 16:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hboo.ch + added HB_OO_CLSTP_PERSIST and HB_OO_MSG_INITIALIZED * harbour/include/hbapi.h * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c % changed HB_HANDLE hArea to USHORT uiArea to reduce HB_DYNS size. RDD code internally uses USHORT as area number so it's not necessary to keep it as HB_HANDLE value. * harbour/source/vm/arrays.c * modified internal static function name * harbour/source/vm/itemapi.c + added missing HB_TRACE in hb_itemClone() * harbour/source/vm/classes.c ! moved initialization values to separate structure not bound with methods. We can inherit the same method names from more then one object so we will store only the first one but we are inheriting whole instance area which is accessible with super casting (last fixes) so we have to properly initialize it even if methods does not exist. This modification also fixes some possible memory leaks. % replaced bIsPersistent by HB_OO_CLSTP_PERSIST in uiScope in method definition ! added basic parameter validation to __CLSADDMSG() to avoid some possible strange behavior at runtime when broken messages are defined. * updated __OBJHASMSG() and __OBJSENDMSG() to accept SYMBOL items too (@funcName()). Using symbol items it faster then strings. Also added support to use non array parametes. F.e. now __OBJHASMSG( {||NIL}, "EVAL" ) returns TRUE * some other fixes, reduced memory consumption and speed optimizations 2006-09-03 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hboo.ch + added HB_OO_CLSTP_PERSIST and HB_OO_MSG_INITIALIZED * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c % changed HB_HANDLE hArea to USHORT uiArea to reduce HB_DYNS size. RDD code internally uses USHORT as area number so it's not necessary to keep it as HB_HANDLE value. * harbour/source/vm/arrays.c * modified internal static function name * harbour/source/vm/itemapi.c + added missing HB_TRACE in hb_itemClone() * harbour/source/vm/classes.c ! moved initialization values to separate structure not bound with methods. We can inherit the same method names from more then one object so we will store only the first one but we are inheriting whole instance area which is accessible with super casting (last fixes) so we have to properly initialize it even if methods does not exist. This modification also fixes some possible memory leaks. % replaced bIsPersistent by HB_OO_CLSTP_PERSIST in uiScope in method definition ! added basic parameter validation to __CLSADDMSG() to avoid some possible strange behavior at runtime when broken messages are defined. * updated __OBJHASMSG() and __OBJSENDMSG() to accept SYMBOL items too (@funcName()). Using symbol items it faster then strings. Also added support to use non array parametes. F.e. now __OBJHASMSG( {||NIL}, "EVAL" ) returns TRUE * some other fixes, reduced memory consumption and speed optimizations 2006-09-03 16:37 UTC+0300 Chen Kedem * doc/en/lang.txt + Update supported codepage list for HB_SETCODEPAGE() 2006-09-01 23:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/source/codepage/uckam.c + added missing in my previous commit file * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c + added USHORT uiSymNum to HB_DYNS structure - I will need it for MT as index for thread local HB_DYNSYM values for MT version in the future but now I use it as perfectly efficient continuous hash value for all symbols. Of course PHB_DYNS address is also perfectly good hash value and in classes code can be used but it does not guaranties that all messages will cover well whole 16bit area used as message pool without dynamic bucket size modification. * harbour/source/vm/classes.c * changed hashing method. Now it uses really unique base hash key values which can cover whole 16 bit area so mathematically it's not be possible to break it by any combination of method names as long as our dynamic symbol table will be limited to 2^16 symbols. It still consumes more memory then necessary and I'll change it in the future but it's much less then before. The BUCKET size is smaller (4) and all calculations are done only with bit shifts so it should be also faster. * use ULONG instead of USHORT to calculate maximum number of methods to avoid possible overflow problems if it reach 2^16 (rather impossible in normal application - it will have to create more then 2^15 symbols) ! some other fixes and code cleanup * harbour/source/vm/hvm.c * minor modifications 2006-09-01 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/msgcs852.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msgcswin.c * typo fixed (Vojtech Obrdlik ) * harbour/include/hbapicdp.h * harbour/source/codepage/Makefile + harbour/source/codepage/cpcs852.c + harbour/source/codepage/cpcsiso.c + harbour/source/codepage/cpcskam.c + harbour/source/codepage/cpcswin.c + harbour/source/codepage/uckam.c * harbour/doc/en/lang.txt * harbour/common.mak + added czech codepage support (Vojtech Obrdlik ) Vojtech many thanks. We will have to fix our CDP code to work well with characters with the same wight - now sorting with such codepages does not work correctly, f.e. in CSISO: CHR(65)+CHR(204) > CHR(65)+CHR(201) but: CHR(65)+CHR(201) >= CHR(65)+CHR(204) as you can see comparison depends on string order: s1 > s2 but not s2 < s1 It means that such codepages cannot be used in any sorting systems like indexes until we will not fix internal CPD logic. Alexander can you look at it? If not then please inform me and I'll work on it in some spare time. * harbour/source/rtl/do.c * minor RTE message simplification * harbour/source/rtl/gtos2/gtos2.c * casting * harbour/source/vm/dynsym.c + added __DYNSN2SYM( ) -> symbolItem * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added supercast and superoffset members to hb_struArray structure * harbour/source/vm/classes.c * harbour/source/rtl/tclass.prg ! fixed calculation of instance area offsets ! fixed accessing instance variables with super casting + added selfclass casting + added support for sending 'exec' and 'name' messages to symbol items, f.e.: funcSym := (@funcName()) ? "Exacuting:", funcSym:name funcSym:exec( param1, param2, ... ) * changed __CLASSNAME() to be Clipper compatible * changed __CLSINST()/__CLASSINSTANCE() now accepts as third paramter function name - Clipper compatible ! fixed GPF trap in __OBJGETCLSNAME() when executed with wrong parameter * some other fixes and small speed improvement 2006-08-31 21:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Changed console output of "install" rule to inst_$(CC_DIRNAME).log 2006-08-29 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added Class(y) compatible scoping - please test and report any possible problems 2006-08-28 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed __SENDER() function to work with non-inline methods ! respect super casting in ClassName(), ClassH(), ClassSel() methods % some optimizations 2006-08-27 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed bug in super casting introduced in my last commit 2006-08-24 10:02 UTC+0300 Chen Kedem * TODO + Add three known issues to the To-Fix list 2006-08-23 23:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/contrib/rdd_ads/ads1.c * synced with xHarbour * harbour/include/hbapi.h + added uiClass and uiMethod to HB_STACK_STATE structure - removed puiClsTree from HB_BASEARRAY structure * harbour/include/hbvmpub.h ! fixed typo in HB_ARRAY_OBJ() declaration * harbour/source/vm/arrays.c - removed puiClsTree from HB_BASEARRAY structure * harbour/source/vm/classes.c - removed static variable s_pMethod to make classes code MT safe * store information about current method index and supercasting on HVM stack in HB_STACK_STATE structure ! changed hb_objGetRealClsName() to not use puiClsTree - this functions was never working as it should when object was supercasted. Now it simply returns name of class where method was defined and inherited. - removed hb_objPopSuperCast() and changed last parameter in hb_objGetMethod() from BOOL * to PHB_STACK_STATE hb_objPopSuperCast() is not longer necessary - removed hb_mthRequested() and first parameter from hb_mthAddTime() + added char * hb_clsName( USHORT uiClass ); + added TOFIX notes in hb___msgGetData() and hb___msgSetData() * harbour/source/vm/estack.c + added uiClass and uiMethod to HB_STACK_STATE structure * harbour/source/vm/hvm.c * updated for above modifications * harbour/source/vm/proc.c ! do not use hb_objGetRealClsName() anymore but retrieve information about _REAL_ class form HVM stack 2006-08-19 01:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * moved HB_STACK_STATE declaration from hbstack.h to hbapi.h it's covered by _HB_API_INTERNAL_ macro so it should not effect 3-rd party code * modified hb_struSymbol structure: LONG stackbase replaced by: PHB_STACK_STATE stackstate this modification allows to keepadditional information bound with function call stack accessible from different HVM modules. Now it's used by memvars code to keep/update PRIVATE variables stack pointers. I plan to store in HB_STACK_STATE structure information additional information for classes code like super casting or instance variables offsets in new OOP model I'm working on. It can be also used by debugger code to retrieve some informations about executed functions without active updating by main HVM loop. + added hb_memvarsClear() - cleanly clears all PRIVATE and PUBLIC variables + added hb_memvarUpdatePrivatesBase() - updates PRIVATE stack base offset so PRIVATE variables created in current function/procedure will not be removed when it returns - removed hb_memvarsRelease() and hb_memvarValueNew() * harbour/include/hbstack.h + added hb_stackClearMevarsBase() - helper function for hb_memvarsClear() clears PRIVATE stack offsets in executed functions * changed to static offset from int to long - in different places we were using int or long in HVM so I cleaned the HVM code to always operate on the same type * harbour/source/vm/estack.c * set/restore PRIVATE stack base offset in hb_stackNewFrame()/ hb_stackOldFrame() * updated for new HB_IT_SYMBOL structure * harbour/source/vm/hvm.c ! removed setting/restoring PRIVATE stack base offset in hb_vmExecute() It make code like: eval(&("{||VAR:=1}")) Clipper compatible * updated for new HB_IT_SYMBOL structure * changed order of execution exit procedures for clean memvars removing and future destructors execution. I'll describe it better when I'll add destructors. * harbour/source/vm/memvars.c ! fixed CLEAR MEMORY - now this function should be safe in Harbour It's not exactly compatible with Clipper because I intentionally didn't replicated some Clipper bugs like possible memory corruption. + added hb_memvarsClear() - cleanly clears all PRIVATE and PUBLIC variables + added hb_memvarUpdatePrivatesBase() - updates PRIVATE stack base offset so PRIVATE variables created in current function/procedure will not be removed when it returns ! fixed releasing PUBLIC and PRIVATE variables which were passed by reference and are still active on HVM stack or in codeblocks as detached locals (see: hb_memvarDetachDynSym()) * modified hb_memvarFindSymbol() to be more Clipper compatible % optimized hb_memvarRelease() to operate or PHB_DYNS instead of string comparison and not make linear dynamic symbol scan for PUBLIC or not existing symbols - removed hb_memvarReleasePublic() * harbour/include/hbvmpub.h * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/classes.c * harbour/source/vm/debug.c * harbour/source/vm/itemapi.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * harbour/source/vm/pvalue.c * updated for the above modifications * harbour/source/rtl/memvarbl.prg * harbour/source/rtl/menuto.prg * use __mvEXIST( cMemvar ) instead of __mvSCOPE( cMemvar ) > HB_MV_ERROR __mvEXIST() is much faster function * harbour/source/rtl/type.c * execute hb_memvarUpdatePrivatesBase() after macro type checking. This should not be necessary but we are not Clipper compatible here and this is work around for difference in our TYPE() implementation. Clipper for: ? TYPE("VAR:=1") create PUBLIC variable VAR when [x]Harbour PRIVATE one. Should we try to make it Clipper compatible? The above should fix problems reported with memvars. We are not 100% Clipper compatible but unlike in Clipper we cannot break VM internals using some operation on references to memvars and detached locals and/or RELEASE.../ CLEAR MEMORY. This modifications should be intensively tested. If you will find any problems with current code please inform me. I'd like to hear your opinions about memvars created by TYPE() (see above). Should we change it? It may not be very easy operation - we will have to change macro compiler and add new PCODE for that. 2006-08-17 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/include/hbapi.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbdefs.h * harbour/include/hbrdddbf.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/source/common/expropt1.c * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.c * harbour/source/compiler/hbident.c * harbour/source/pp/ppcore.c * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rtl/hardcr.c * harbour/source/rtl/inkey.c * harbour/source/rtl/isprint.c * harbour/source/rtl/math.c * harbour/source/rtl/mtran.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/vm/estack.c * harbour/source/vm/extend.c * harbour/source/vm/runner.c * harbour/utils/hbver/hbverfix.c * general code cleanup, public functions declared in header files, local changed to static, added mising void for functions without parameters, etc. We still have some public functions which are not used by core code and not declared in header files, like: hb_memvarValueBaseAddress(), hb_memvarGetVarHandle(), hb_memvarGetValueByHandle(), hb_clsCreate(), hb_clsAdd(), hb_clsAssociate(), hb_hashTableDel(), hb_hashTableSize(), I haven't touched them yet though we will have to keep in mind that we should make sth with them. 2006-08-16 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * strip lib prefix from CONTRIBS library list * harbour/source/codepage/cp_tpl.c * removed redundant ; 2006-08-16 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/codepage/Makefile + harbour/source/codepage/cpfrdos.c + harbour/source/codepage/cphr1250.c + harbour/source/codepage/cphr437.c + harbour/source/codepage/cphr852.c + harbour/source/codepage/cpit437.c + harbour/source/codepage/cpit850.c + harbour/source/codepage/cpitisb.c + harbour/source/codepage/cpitiso.c + harbour/source/codepage/cpltwin.c + harbour/source/codepage/cpua866.c + harbour/source/codepage/cpuakoi.c + harbour/source/codepage/cpuawin.c + added codepages from xHarbour * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * formatting and code cleanup 2006-08-16 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added: int hb_stackCallDepth( void ) LONG hb_stackBaseProcOffset( int iLevel ) * harbour/source/vm/arrays.c * harbour/source/vm/proc.c * use hb_stackBaseProcOffset() * harbour/source/vm/hvm.c - removed s_ulProcLevel used by HB_DBG_PROCLEVEL() - count the call stack dynamically using stack data - a little bit slower but it's not widely used function, now is MT safe and we eliminated some small overhead in each function call so statistically we improved overall performance 2006-08-14 14:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO - removed eliminating hb_stackTopItem() from TOFIX - Done. * harbour/include/hbexprc.c * restore original expression type after *POPEQ optimization * harbour/source/compiler/harbour.c * removed some commented code * harbour/source/compiler/harbour.y % optimized PCODE generated for FOR/NEXT statement - it eliminates one unconditional jump inside the loop - Ryszard if you can please check me. 2006-08-14 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fserror.c + added translation error code for ENMFILE * harbour/source/rtl/hbffind.c * set FERROR() code when FILE() faild - Clipper compatibility 2006-08-11 10:15 UTC+0100 Ryszard Glab * utils/hbpptest/pretest.prg * fixed to use HB_OSNewLine(0 instead '\n' 2006-08-10 16:26 UTC+0300 Alexander Kresin * source/compiler/genhrb.c ! fixed a bug in counting of the number of functions * source/vm/runner.c ! strange bug ( possibly typo ) fixed 2006-08-10 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * changed order of members in HB_FNAME structure to avoid possible problems with alignment * harbour/include/hbexprb.c ! cleaned usGroups usage to avoid BCC warnings * harbour/source/rtl/filesys.c * harbour/source/rtl/fstemp.c * code formatting and casting * harbour/include/hbset.h * harbour/source/rtl/set.c * some minor updates for future incoming hb_set structure modifications * harbour/source/vm/hvm.c * use HB_MACRO2STRING() macro for default lang setting * harbour/include/hbrdddel.h * harbour/source/rdd/delim1.c * harbour/source/rdd/dbcmd.c + extended COPY TO ... DELIMITED ... / APPEND FROM ... DELIMITED ... to support some other common formats. COPY TO ... DELIMITED WITH TAB APPEND FROM ... DELIMITED WITH TAB uses chr(9) as field separator and without string delimiters COPY TO ... DELIMITED WITH PIPE APPEND FROM ... DELIMITED WITH PIPE uses '|' as field separator and without string delimiters COPY TO ... DELIMITED WITH ( { cStrDelim, cFldSeparator } ) APPEND FROM ... DELIMITED WITH ( { cStrDelim, cFldSeparator } ) allows users to set and any character field delimiters and fields separators 2006-08-10 12:30 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed some 'memory unreleased' errors * source/pp/ppcore.c * fixed some cases of access to unallocated memory 2006-08-08 11:40 UTC+0100 Ryszard Glab * source/pp/pplib.c * suppressed preprocessing of empty lines * utils/hbpptest/pretest.prg * added line length to MLCOUNT to correctly count the number of lines to process 2006-08-07 14:00 UTC+0100 Ryszard Glab * source/compiler/harbour.y * fixed to support @funname() syntax in assigments * utils/hbpptest/pp_test.prg * fixed preprocessor example * TODO * removed 'to fix' vertical spacing in ppo files 2006-08-07 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/include/usrrdd.ch ! fixed RDD method order 2006-08-07 11:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/set.c ! fixed possible GPF after hb_setListenerRemove() * removed default: clause in main SET() switch to enable C compiler warning when not all HB_SET_* cases are defined. * harbour/source/vm/hvm.c ! fixed bug#1533096 reported by Chen 2006-08-07 02:20 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/make_b32.bat * harbour/make_vc.bat ! install call redirected to nul instead of make_b32.log to avoid overwriting the build results with less important (no) information. * harbour/include/hbundoc.api + Added _txopen() (not tested) * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! BCC -w warnings fixed. * harbour/source/rtl/filehb.c + Added TOFIX about a CA-Cl*pper incompatibility. In CA-Cl*pper the argument of FILE() is RTrim()-ed before doing the check. * harbour/source/rtl/fstemp.c ! Fixed two BCC warnings. 2006-08-06 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * changed checking for static initialization functions * harbour/source/vm/itemapi.c ! fixed stupid typo in string unsharing which caused very serious bug 2006-08-05 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c * extended C compiler information * harbour/source/compiler/genc.c * use hb_verHarbour() and hb_verCompiler() to for information about Harbour build in generated .c files' headers * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed typo in my last commit - additional dummy evaluations of EVAL block 2006-08-04 16:00 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/fstemp.c + Implemented prefix parameter in temp file generation for Win32. 2006-08-04 15:24 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbundoc.api + Added _tctemp() undocumented call. * harbour/source/rtl/fserror.c ! Fixed trace message. 2006-07-28 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * updated PCODE version number due to recent modifications 2006-07-28 00:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use extern "C" as default for HB_FUNC() declaration in C++ mode. I know that this modification will interact with binary compatibility but current state is worser because we were not binary compatible between C and C++ mode. Now the problem should go away with some reasonable for me cost. If compiler uses the same ABI for C and C++ mode then the backward binary compatibility problem can be resolved by small tools which can strip C++ decoration from binary libraries. Sometimes also linkers have necessary switches to ignore them. * harbour/include/hbexprb.c * cleaned BCC warning * harbour/source/rdd/nulsys/nulsys.c + added missing hb_rddGetAliasNumber(), thanks to Ron. 2006-07-27 15:10 UTC+0100 Ryszard Glab * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * generate an empty .c file if there is no valid function in prg code (when -n is used) (this fixes error during compilation of browdbx.prg) * fixed a warning in hb_compStaticGetName 2006-07-27 14:20 UTC+0100 Ryszard Glab * include/hbcomp.h * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/harbour.c * fixed compilation of static variables with -gc2 switch * source/pp/ppcore.c * fixed vertical spacing in generated ppo files * source/util/hbpptest/pretest.prg * fixed for current state of preprocessor 2006-07-27 01:18 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/dbedit.prg ! Previous non-strict compatible part made fully compatible by dropping an Eval() on the field value block. Strict branch and NOTE removed. 2006-07-26 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * changed support for XBASE++ extended syntax in expressions like: v:="1,2,3" x := a[ &v ] a := { &v } f( &v ) Now all data is stored on HV * stack without any external registers which have to be saved/restored or updated in chosen operation. This modification was necessary to make HV * reentrant safe and it also eliminated some small overhead caused by old code. I hope I haven't break anything in compiler - Ryszard please fix me if I made sth wrong. * harbour/source/vm/hvm.c * harbour/source/compiler/harbour.y * revert FOR/NEXT stop condition to be Clipper compatible PCODE table has been updated and all .prg code which used modified PCODEs has to be recompiled 2006-07-25 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/source/rdd/dbcmd.c * harbour/source/vm/hvm.c * do not generate RT errors "Alias does not exist" in constructions like: ("NOT_EXISTING_ALIAS")->(...) Clipper compatible modifications. I do not like it but current previous behavior made problems for people who have code like: if ("NOT_EXISTING_ALIAS")->(used()) ... else ? "Table not open..." endif ! fixed some other RT errors to be Clipper compatible 2006-07-25 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/hvm.c ! fixed typo in hb_stackWithObjectOffset() macro definition 2006-07-25 11:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc ! Fixed INSTALL rule. ! Disabled generic library build rule which might wrongly interact with normal build process. 2006-07-25 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! make GOTOP() when new index is open and is set as control one * harbour/include/hbcomp.h * harbour/include/hbstack.h * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * harbour/source/vm/classes.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * added automatic destructors for FOR EACH and WITH OBJECT statement * s_lWithObjectBase changed to lWithObjectBase hb_stack membera * added hb_stackWithObject*() functions/macros to manipulate WITH OBJECT offset/item * removed setting/restoring lForEach and lWithObject in functions preamble/postamble ! fixed restoring s_lRecoverBase on HB_QUIT_REQUESTED ! fixed possible GPF on enumerators copping * moved FOR EACH / WITH OBJECT massages suport from HVM to classy.c ! fixed access to first stack item in hb_vmIsLocalRef() * harbour/TODO - removed note about hb_objGetMethod() - it's already addressed 2006-07-24 13:50 UTC+0100 Ryszard Glab * source/pp/ppcore.c * source/pp/pptable.c * utils/hbpptest/pp_test.prg * fixed to be more Clipper compatible * fixed access to unallocated memory * added more test cases 2006-07-21 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/workarea.c * code cleanup * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! do not interrupt subindexing when new record is concurrently added by other station * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c ! redirect STDOUT() to console only when stdout is a tty device. 2006-07-20 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/rtl/math.c ! Fixed GPF when compiled under Bcc with -tWR switch * harbour/makefile.bc * harbour/make_b32.bat ! Fixed compilation of Harbour DLL with dynamic RTL * Added INSTALL rule. * harbour/makefile.vc * harbour/make_vc.bat ! Fixed header description of makefile * Added INSTALL rule. 2006-07-20 12:36 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) + harbour/utils/hbpptest/compare.bat + harbour/utils/hbpptest/.cvsignore * harbour/utils/hbpptest/pp_test.prg + Added batch file to compare PP results between Harbour and CA-Cl*pper. 2006-07-20 11:40 UTC+0100 Ryszard Glab * source/pp/ppcore.c * fixed bugs which I introduced * utils/hbpptest/pretest.prg * added more test cases + utils/hbpptest/pp_test.prg * new file to test preprocessor Preprocess both with Clipper and harbour and next use diff utility to compare outputs - ignore the number of white spaces (use diff -w -u ...) 2006-07-18 21:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed executing EXIT procedures after external to BEGIN SEQUENCE / END BREAK - now by default we are taking the same action as after QUIT what seems to be intention of Clipper authors. When HVM is compiled with HB_C52_STRICT macro then we will try to emulate real Clipper behavior. * harbour/include/hbapi.h * harbour/source/vm/itemapi.c + added single member to hb_struPointer structure for internal HVM use. The reference counter for GC collectible HB_IT_POINTER items which have 'single' member set to TRUE is not updated in hb_itemCopy(). * harbour/source/rdd/workarea.c * code cleanup 2006-07-18 13:25 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbextern.ch ! Removed __dbfList() reference. 2006-07-18 12:51 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) - harbour/source/rtl/dummy.prg * harbour/source/rtl/Makefile * harbour/common.mak * harbour/source/debug/dbgwa.prg - Removed dummy.prg + Note added about __dbfList() to debugger source. * harbour/source/rtl/dbedit.prg ! Comment typos. 2006-07-18 12:20 UTC+0100 Ryszard Glab * source/pp/ppcore.c * added guard for infinite loop * utils/hbpptest/pretest.prg * added more test cases (3 of them fails) 2006-07-18 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed problems reported by Marek with EXIT procedures after my last commit 2006-07-18 10:21 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/lang/msgcs852.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msgcswin.c + Updates/fixes and more translated texts for Czech language modules. Thanks to: Vojtech Obrdlik * harbour/source/pp/pplib.c ! Fixed function names in trace calls. * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg + Minor improvements. 2006-07-18 09:55 UTC+0200 Enrico Maria Giordano * fixed time in previous updates 2006-07-18 08:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/vm/mainwin.c ! Fixed compilation in C mode under Msvc * harbour/include/hbapi.h * Added HB_EXPORT to hb_symbolNew() * harbour/makefile.bc * harbour/makefile.vc * harbour/make_b32.bat * harbour/make_vc.bat * harbour/Common.mak ! Fixed compilation of Harbour DLL ! Fixed compilation of HbPPTest.exe % Improved building of customized Harbour DLL % Some more minor fixes and improvements 2006-07-18 03:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/en/hb_vm.txt * harbour/doc/es/hb_vm.txt * harbour/include/hbvm.h * harbour/contrib/hgf/gtk/mainlgtk.c * harbour/source/compiler/gencc.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/vm/maindll.c * harbour/source/vm/mainpm.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * harbour/source/vm/hvm.c * changed hb_vmQuit() to not execute EXIT() but return s_nErrorLevel ! execute EXIT procedures in hb_vmRequestQuit() - Clipper compatible behavior * do not exit immediately in RT errors but return from all executed functions - some internal parts of RDD code will have to be fixed. * harbour/source/vm/proc.c ! fixed procname for codeblocks. Seems that we are not fully Clipper compatible yet. I'll look at it closer soon. * harbour/TODO + added new item: Clean RDD code to be safe for return from RT errors assigned to me 2006-07-17 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * added hbpptest to list of tools rebuilt with shared library * harbour/source/rdd/dbcmd.c ! fixed possible access to uninitialized variable in __dbApp()/__dbCopy() 2006-07-17 03:43 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/dbedit.prg % Optimized codeblock creation. + Restored 100% compatible codeblock creation for STRICT mode. - Removed a strange extension which looked like a mistake (besides not being CA-Cl*pper compatible). * Comments reviewed/changed/added. ; Review done, now 100% compatible. 2006-07-17 00:41 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/utils/Makefile + Added hbpptest * harbour/utils/hbpptest/pretest.prg + Output now goes to STDOUT. * harbour/source/compiler/harbour.c ! Possible memory leak fixed. * harbour/source/rtl/Makefile ! Fixed tabs (readded them). - harbour/source/rtl/dbdelim.prg + harbour/source/rdd/dbdelim.prg - harbour/source/rtl/dbjoin.prg + harbour/source/rdd/dbjoin.prg - harbour/source/rtl/dbsdf.prg + harbour/source/rdd/dbsdf.prg * harbour/source/rtl/Makefile * harbour/source/rdd/Makefile * harbour/common.mak * Moved three RDD related internal function source files to the RDD library. (They did depend on each other anyway.) * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rdd/rddord.prg * harbour/source/rtl/dbdelim.prg * harbour/source/rtl/dbedit.prg * harbour/source/rtl/dbjoin.prg % Cleanups, minor optimizations. ! __dbApp(), __dbCopy() to return LOGICAL. ! Problem where error condition was not detected if BREAK didn't set the error object. ! __dbTotal() lRest handling fixed. ! __dbTotal() ErrorBlock overriding removed. ! __dbCreate() now generating default alias. % __dbCreate() using dbCreate() undoc param to open the tables. ! __dbDelim() return value. ! __dbSDF() return value. + CA-Cl*pper undocumented call added: _dtxCondSet() + XBase++ compatible calls implemented: dbJoin(), dbList(), dbSort(), dbTotal(), dbUpdate(), _dbExport() dbCopyStruct(), dbCopyExtStruct() + Added some more 10 chars call stubs: __dbCopySt(), __dbCopyXS(), __dbOpenSD(), __dbArrang() + Comments. + Formatting. ; All high-level db functions seems to be compatible now. DBEDIT() is left TODO for review (refix). * harbour/source/rtl/tbrowse.prg * Minor cleanup. * harbour/include/hbexpra.c * harbour/source/vm/arrayshb.c * harbour/source/rdd/dblist.prg - Removed compiler+RTL __dbList() hack which made it incompatible with CA-Cl*pper. The hack targeted an XBase++ extension, but it's compatible even without the hack. Tested with XBase++ 1.82.294. * harbour/source/rtl/typefile.prg % FUNCTION -> PROCEDURE + _TypeFile() XBase++ internal function added. 2006-07-16 23:26 UTC+0200 Enrico Maria Giordano * source\common\expropt1.c * Removed unuseful break inside hb_compExprAsSymbol function 2006-07-16 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in date * harbour/doc/gtapi.txt * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtgui/gtdef.c * changed HB_GT_DEFAULT_ to HB_GT__DEFAULT and added REQUEST posibilities so now the GT drivers can be REQUESTed and the default one set in similar way. F.e.: REQUEST HB_GT_WIN REQUEST HB_GT_WVT_DEFAULT REQUEST HB_GT_STD I think that it will be much easier and also using _DEFAULT as suffix does not resolve fully 10 character symbol but will work if GT name is not longer then 3 characters 2006-07-16 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! fixed typo in binary or - || was used instead of | * reenabled frame optimization for compilation without -n switch 2006-07-16 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c - removed debug message I left by mistake * harbour/bin/hb-func.sh * use by default -gc0 output when compiled as temporary workaround for GPF in -gc2 2006-07-16 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c ! fixed .prg file name stored in generated .c files * harbour/source/compiler/harbour.c ! update function counter when startup function is removed It fixes compilation of empty .prg files in C++ mode * harbour/source/rtl/dbjoin.prg - removed unused variable 2006-07-14 16:00 UTC+0100 Ryszard Glab * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbmacro.h * include/hbpcode.h * include/hbpp.h * include/hbxvm.h * source/common/expropt1.c * source/compiler/cmdcheck.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/genc.c * source/compiler/gencc.c * source/compiler/gencli.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hbfunchk.c * source/compiler/hbgenerr.c * source/compiler/hblbl.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c * source/vm/macro.c * fixed compilation of code that uses '@' pass by reference. The following syntax is no longer supported: var := IIF( .T., @var, var ) however you can still use the following: funcall( IIF( bPassbyRef, @someVar, someVar ) ) +added support for the following statement: WITH OBJECT ... END inside this statement you can use simplified form of sending messages to the object specified by :message( ) instead objexpression:message() :property instead objexpression:property The runtime error will be generated at the time of message sending (or property access/assign) if is not a value of type object. You can use the reserved property: :__withobject to access/assign the controlling object. *fixed support for command line response file (@file.clp) to be compatible with Clipper (Clipper genertes a single obj file) *fixed memory leaks when there is a fatal error in autoopened module (using DO ... statement) *implicit startup functions are removed from the list of functions before generation of output code * source/pp/ppcomp.c * source/pp/pplib.c * source/pp/ppcore.c * redefinition of #define no longer causes a memory leak * fixed repeatable optional clauses #xcommand SET [, ] WITH => :=[; :=] * fixed compilation of optional clauses (when used in different order then declared) -this fixes the following long waiting bug: #command MYCOMMAND [] [MYCLAUSE ] => ; MyFunction( {} [, ] ) MYCOMMAND MYCLAUSE 321 "HELLO" * fixed restricted macro match marker * tests/Makefile - tests/pretest.prg + utils/hbpptest + utils/hbpptest/Makefile + utils/hbpptest/pretest.prg * moved file 'pretest.prg' from tests to separate directory to make easier validation of the preprocessor * TODO * added note to fix hb_objGetMethod() so it will not generate error if there is no method * doc/en/clipper.txt * added documentation for WITH OBJECT usage 2006-07-13 16:49 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rdd/dbtotal.prg % Unused variable removed, one other optimized out, other minor optimizations. ! Fixed not resetting the error block when used on a table containing Memo fields only. ! Fixed error when passing xFor parameter as a string. ! Set(_SET_CANCEL...) calls removed. + Formatting, added few comments, CA-Cl*pper differences. 2006-07-13 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/dbjoin.prg + added __dbJoin() - code by Pavel Tsarenko borrowed from xHarbour * harbour/source/rdd/dbtotal.prg + added __dbTransRec() and updated to use it like in Clipper Can someone tell me why we have Set( _SET_CANCEL, .f. ) in this function? * harbour/source/rtl/dummy.prg - removed __dbJoin() and __dbTransRec() Now only one function is defined here: __dbFList() I have no idea what it does - if someone knows then please implement it. * harbour/include/hbvm.h * harbour/source/vm/hvm.c * formatting * harbour/source/rdd/dbcmd.c * keep strict Clipper compatibility in DBCREATE() parameters * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rtl/dbdelim.prg * updated for strict Clipper DBCREATE() parameters 2006-07-13 12:27 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/hvm.c ! errorlevel changed to int from byte. * harbour/source/rtl/errorapi.c * Minor formatting. 2006-07-12 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch - removed ORDCOND() - it's not normal function * harbour/include/ord.ch + added documented by CL5.3 NG but not implemented in Clipper pseudofunction ORDCOND() * harbour/source/rdd/dbcmd.c + added __dbOpenSDF() function In Clipper dbCreate() can receive also 6-th undocumented parameter: cDelim. In [x]Harbour this parameter is used for code page ID. I'd like you decide if we should move it and keep exact Clipper parameters. I'm also not sure if __dbOpenSDF() is the exact Clipper's name. In Clipper the name has only 10 characters __dbOpenSD() and this function is used to open for import DELIMITED and SDF files so maybe SD is not from SDF. Can anyone confirm it's valid name. Maybe we should remove the last F. * harbour/source/rdd/dbstrux.prg * small speed optimization * harbour/source/rtl/dbdelim.prg * added alternatice Clipper like version of __dbDelim(). It executes internally the same functions as Clipper - if someone has a while and can check if it works correctly giving the same as Clipper results then I'll be helpfull. * harbour/source/rtl/dummy.prg - removed ORDCOND() and __dbOpenSDF() * harbour/source/vm/arrays.c * minor optimization * harbour/source/vm/cmdarg.c * harbour/source/vm/itemapi.c * formatting 2006-07-12 12:24 UTC+0300 Chen Kedem * doc/en/rddmisc.txt * doc/en/rdddb.txt ! Fix the sample for AFIELDS() * Mark AFIELDS() as obsolete 2006-07-11 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * minor optimizations * harbour/source/vm/itemapi.c * make hb_itemClear() safe for not allocated stack items 2006-07-10 20:43 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) By Marek Paliwoda: * harbour/makefile.vc + Generalized linker flags (LDFLAGS) and small exe generation improvements. 2006-07-10 13:29 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rdd/dbcmd.c ! AFIELDS() made fully CA-Cl*pper compatible. * harbour/contrib/libct/ctc.c ! Warning fixed. 2006-07-07 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbvmpub.h * harbour/source/vm/classes.c + added HB_ARRAY_OBJ() and changed HB_IS_OBJECT() to use it instead of HB_OBJ_CLASS() - it allows to use HB_IS_OBJECT() without including hbapicls.h 2006-07-07 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwfunc.c + added missing header note * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * started basic modifications for multi CDP unicode screen buffer added hb_gtSetFlag(), removed hb_gt_SetCompatBuffer(), added GTI_STDOUTCON, GTI_STDERRCON, etc. * harbour/source/vm/arrays.c ! fixed bug I introduce recently in AEVAL and additional range checking * minor optimizations in ASCAN 2006-07-06 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with Toninho modifications in xHarbour: (! Inverted checking for memo data types, verifying binary first, to prevent freeze in some empty ADT tabes.) 2006-07-06 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added usrrdd.ch * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemPutSymbol() * harbour/source/vm/hvm.c ! fixed HB_P_POPVARIABLE - it should work like HB_P_POPMEMVAR This Ron's code which illustrates it: PROCEDURE Main() USE Test First := First CLOSE ? First RETURN In practice it means that we do not need this PCODE at all and we should replace it in compiler by HB_P_POPMEMVAR and reuse it in the future for differ things. * harbour/source/vm/memvars.c * code cleanup * harbour/source/vm/runner.c ! fixed possible memory leaks when corrupted .hrb file is loaded 2006-07-05 20:30 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) - harbour/Common.mak + harbour/common.mak * harbour/make_b32.bat * harbour/make_vc.bat * harbour/makefile.bc * harbour/makefile.vc ! Filename casing correction. (fixed in two previous commits) ! Missing CVS ID added. (fixed in previous commit) ! Few minor formatting, typos fixed. + Few build envvars prefixed with HB_ (some renamed) * Few minor cleanups not related the actual make process. ; Thanks Marek for the great work. 2006-07-05 18:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/make_b16.bat - harbour/make_vc64.bat - harbour/mkbcdll.bat - harbour/hrbdll.bc - harbour/makefile.nt - harbour/makefile64.nt - harbour/hrbdll.vc - removed no more needed files * harbour/makefile.bc * harbour/makefile.vc * harbour/make_b32.bat * harbour/make_vc.bat * totaly rewritten to support sharing common file lists, automatic DLL creation and using implicit rules as a default approach + harbour/Common.mak + common file lists and definitions shared between Bcc and Msc makefiles TODO : add automatic building of contrib libs/dll(s) 2006-07-04 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c - removed hb_stackTopItem() + added hb_stackItemBasePtr(), hb_stackAllocItem() * changed the item initialization/clearing in push/pop operation Now only complex item are cleared and it's not guaranteed that the top item will be set to NIL. In fact it was not guarantied even before my modifications. You coule be sure only that the allocated item will not be complex one and you can safely pass pointer to it to any other functions. It allow to clean a little bit some code and remove redundant and repeated setting HB_IT_NIL for allocated items. Now using hb_stackPush() can be necessary only in some very seldom cases. hb_stackAllocItem() allocates new item and returns pointer to this item. After some code cleaning hb_stackPush() is not used by core Harbour code at all so if you have it in your sources then please check if you should not update them. * harbour/source/rdd/usrrdd/usrrdd.c * use hb_vmPushNil() instead of hb_stackPush() * harbour/source/vm/arrays.c * changed hb_arrayNew() to be safe for automatic GC activation * some minor speed improvement * harbour/source/vm/codebloc.c * changed hb_codeblockNew() and hb_codeblockMacroNew() to be safe for automatic GC activation * harbour/source/vm/debug.c * use only stack function/macros instead of direct accessing hb_stack I hope that I haven't break anything. * harbour/source/vm/hvm.c ! use hb_stackAllocItem() instead of hb_stackTopItem() to make our HVM reentrant safe. This modifications also fixed some possible bugs which could be exploited by other modules which have to execute .prg code - f.e. in RDD when relation codeblock has to be executed to position record in fieldget/fieldput operations. * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * use hb_stackAllocItem() The above modifications finish stack usage and making our HVM reentrant safe. There is only one thing which have to be fixed yet. It's HVM support for xbase++ syntax in things like: func(&), aVal[&], {&} To fix it we will have to change PCODE generated by compiler and replace some PCODEs used for current code by the new one. I will wait with this modifications for Ryszard. With the above exception now we are ready to implement destructors, add automatic GC and begin to work on MT though before that I'd like to clean the RT error support. Please carefully check if all is correct. It was modification in core code and even small typo can break whole application. 2006-06-29 08:25 UTC+0200 Tomaz Zupan (tomaz.zupan at orpo.si) * harbour.spec * Added libusrrdd.a to rpm files 2006-06-29 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/include/hbgtcore.h * use HB_FUNC*() macros * harbour/source/rdd/dbcmd.c ! added fix for GPF in APPEND FROM when source file has repeated fields with the same names. 2006-06-29 00:02 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * harbour/makefile.nt * harbour/makefile64.nt + Added gtclip.c file + Added gtdef.c file + Added gttone.c file * harbour/rtl/gttone.c + added Microsoft requested header file. 2006-06-28 22:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/bin/pack_src.sh + added USRRDD 2006-06-28 15:46 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/config/w32/mingw32.cf ! One minor fix and another minor correction made after testing the Win9x branch. 2006-06-28 09:29 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * harbour/makefile.bc + Added gtdef.c file 2006-06-28 07:59 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/config/w32/mingw32.cf % Removed Windows system libs we don't need to link in Harbour. 2006-06-28 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c - removed forgotten printf() used as debug message * harbour/source/rtl/gtgui/gtdef.c * register "GUI" GT as default one by executing hb_gtSetDefault( "GUI" ) at startup 2006-06-28 01:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/mingw32.cf * create LD scripts for W9x 2006-06-27 23:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c * indenting * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * remove SYSNAME() method - use the default WA one. * harbour/source/vm/hvm.c ! fixed last C stack usage of HB_ITEM - now HVM should be cleaned and we begin to implement automatic GC activation * harbour/config/w32/mingw32.cf * updated for current xHarbour state - not tested but I guess it works for Lorenzo 2006-06-27 19:45 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/config/w32/mingw32.cf ! Fix to make it work in environments where "gcc @__lib__.tmp" construct is not possible. The "@" expansion is done by gcc when using Cygwin, but it's not done (and left to the shell, which doesn't do it either when using CMD/COMMAND) when using plain MinGW. 2006-06-27 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * indenting * harbour/source/vm/hvm.c * harbour/source/vm/macro.c ! fixed HB_P_MACROPUSHINDEX - removed hb_vm_iExtraIndex - fixed GPF in direct uninitialized HB_ITEM usage - make it safe for HVM reentrant and pending RT errors There is a set of global hb_vm*Extra* variables which tries to extend HVM by adding some additional registers to it. This code does not work as it should even know and it's absolutely not reentrant safe. It will have to be fixed before we will have .prg destructor and MT support. As I can see the same problems has xHarbour. 2006-06-27 10:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/proc.c + added BOOL hb_procinfo( int iLevel, char * szName, USHORT * puiLine, char * szFile ) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added hb_stackTotalItems(), hb_stackDateBuffer(), hb_stackGetStaticsBase(), hb_stackSetStaticsBase(), hb_stackBaseProcInfo() * harbour/source/vm/garbage.c * indenting * harbour/source/vm/classes.c * harbour/source/vm/codebloc.c * harbour/source/vm/extend.c * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * replaced direct stack access by stack functions/macros * harbour/source/vm/debug.c * removed hb_stackLenGlobal() and replace it by hb_stackTopOffset() Warning!!! hb_stackTopOffset() returnes results smaller by 1. The TOP stack item is undefined and should not be accessed by debuger. * changed HB_DBG_VMSTKGLIST() to operate on functions/macros. It's possible that the above will badly interact with core debugger code so I stop farther modifications leaving them for someone who knows debugger core code. 2006-06-26 16:35 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/garbage.c * changed hb_gcUnregistedSweep to static function * fixed handling of sweeper functions * there is no need to call hb_UnregisterSweep - this is done automatically inside hb_gcFree and during garbage collecting 2006-06-26 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/Makefile * harbour/source/rtl/gtgui/gtgui.c + harbour/source/rtl/gtgui/gtdef.c + added GT version info * modified the hack which overwrite the default GT name Now original GTGUI is always present and only separate file add linker bindings. It will be cleaner solution which will allow to use REQUEST HB_GT_GUI in valid programs and libraries. * harbour/source/rtl/gtwin/gtwin.c * indenting * harbour/source/vm/garbage.c * minor modification: use HB_GC_PTR() to take HB_GRABAGE pointer + added alternate code for sweep function execution - disabled by default, maybe it will be used when we agree the sweep function behavior * harbour/contrib/rdd_ads/ads1.c * BCC warnings clean-up - synced with xHarbour * harbour/source/rtl/empty.c * added HB_IT_SYMBOL 2006-06-26 14:27 UTC+0300 Chen Kedem * doc/en/var.txt + Add the types Pointer and Symbol to TYPE() and VARTYPE() 2006-06-26 12:55 UTC+0100 Ryszard Glab * TODO * assigned SQLRDD to me * source/compiler/harbour.c * source/compiler/harbour.y * fixed one more warning (function with no RETURN) in cases: IF tmp>0 RETURN 1 ELSE RETURN 0 ENDIF * include/hbapi.h * source/vm/garbage.c * fixed to call hb_gcUnregisterSweep before the memory block clean-up 2006-06-25 08:32 UTC+0300 Chen Kedem * TODO * Change one assignment from Przemek to Ryszard 2006-06-23 02:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/Makefile * harbour/source/rtl/gtgui/gtgui.c * hacked GTGUI for W32 to be compiled using the same name as RTL default GT driver (GTWIN). * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * changed 'char *' to 'const char *' in hb_gtSetDefault(), hb_gtLoad() 2006-06-22 21:41 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/makefile.bc * Fix to prev. 2006-06-22 19:43 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/errorsys.prg ! Fixed to use OutErr() instead of QOut() for CA-Cl*pper compatibility. (Thanks Chen) ! Fixed to set ErrorLevel to 1 in case of a RT error. (this was once removed by me as a fix about 7 years ago, but I can't remember what was the reason. It looks to be a wrong fix back then.) * harbour/utils/hbtest/rt_array.prg * Removed one codeblock unused var warning. 2006-06-22 17:28 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/makefile.bc * Updated for latest changes. 2006-06-22 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/Makefile + harbour/source/rtl/gtclip.c + harbour/source/rtl/gttone.c * harbour/include/hbgtcore.h * separated low level TONE and ClipBoard code for W32 new functions: hb_gt_w32_Tone() hb_gt_w32_SetClipboard() hb_gt_w32_GetClipboard() Please update non GNU make files * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * use hb_gt_w32_*() for common GT code * harbour/config/w32/global.cf + harbour/source/rtl/gtgui/Makefile + harbour/source/rtl/gtgui/gtgui.c + added GTGUI GT driver - it inherits from GTNUL and add support for TONE and CLIPBOARD 2006-06-22 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + hb_objSendMessage( PHB_ITEM pObj, PHB_DYNS pMessage, ULONG ulArg, ... ) * code clean-up * harbour/source/rtl/do.c * removed old not longer necessary code - thanks to Chen. * harbour/source/vm/runner.c * added one TODO note * harbour/source/rtl/gtstd/gtstd.c * try to enable raw mode for console stdin in W32 * harbour/source/rdd/dbfntx/dbfntx1.c * code clean-up 2006-06-22 11:58 UTC+0300 Chen Kedem * TODO * Modify to include latests TODO and TOFIX entries, removed completed tasks. * doc/gtapi.txt + Add a section by Przemyslaw Czerpak (druzus/at/priv.onet.pl) "How to get rid of unwanted console in Windows GUI applications" 2006-06-22 10:55 UTC+0100 Ryszard Glab * harbour.spec * include/hbver.h * updated to set version 0.46.2 * include/hbapi.h * source/vm/garbage.c + added possibility to register a sweep function that will scan memory block allocated with hb_gcAlloc * source/compiler/harbour.c * source/compiler/harbour.y * fixed 'unreachable code' warning in IF/ELSEIF * fixed 'variable unused' warnings when -w3 switvh was used 2006-06-22 00:25 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/common.ch * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rtl/achoice.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/dbedit.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/persist.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/tclass.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg * harbour/utils/hbdoc/genchm.prg * harbour/utils/hbdoc/genhtm.prg * harbour/utils/hbdoc/genng.prg * harbour/utils/hbdoc/genos2.prg * harbour/utils/hbdoc/genrtf.prg * harbour/utils/hbdoc/gentrf.prg * harbour/utils/hbdoc/html.prg * harbour/utils/hbdoc/ng.prg * harbour/utils/hbdoc/os2.prg * harbour/utils/hbdoc/rtf.prg * harbour/utils/hbmake/checks.prg * harbour/utils/hbmake/hbmake.prg * harbour/utils/hbmake/hbmutils.prg * harbour/utils/hbmake/radios.prg * harbour/utils/hbtest/rt_hvm.prg + HB_SYMBOL_UNUSED() added for .prg code. It can suppress unused var warnings where applicable. The code won't generate any final pcodes, so it won't cause overhead. The only current downside is that it cannot be used inside codeblocks. ! Fixed a number (>200) of declared but unused variable /w2 error. All parts were scanned and fixed (except contrib). Note that there are several false "unreachable code" warnings, and there are still quite a few unused var warnings inside codeblocks. After fixing these /w2 switch could be added to the standard build process to maintain code quality. 2006-06-21 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/dir.cf + added EOL at EOF * harbour/config/w32/global.cf * changed clean and dirbase commands to work cleanly with CMD.EXE * harbour/source/rtl/gtwin/gtwin.c * always try to allocate console + added workaround for MSYS console which does not support WriteConsoleOutput()/ReadConsoleInput() * harbour/source/rtl/gtwvt/gtwvt.c * changed default codepage to OEM 2006-06-20 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed memory leak when CLASSSEL() message was sent to non object item 2006-06-20 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c ! fixed typo in function name should be hb_objHasMessage() 2006-06-20 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + added hb_objHasMesage( PHB_ITEM pObject, PHB_DYNS pMessage ) + added hb_objGetpMethod() for backward binary compatibility with FWH * hidden for 3-rd party users hb_objGetMethod() and hb_objPopSuperCast() If for some reason 3-rd party code will need these methods please tell me in which case and I'll add necessary functions. Please try to not use any non-public function. I strongly prefer to add new public functions for which we will know that they are used by 3-rd party code then create problems with binary compatibility after updating local HVM functions. 2006-06-20 11:33 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/gtwin/gtwin.c ! Stupid bug fixed in prev commit. 2006-06-20 09:45 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwxt/gtwxt.c ! Possible (double) fix to properly handle embedded zero bytes when getting clipboard content. 2006-06-20 08:55 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/gtwin/gtwin.c + Copied Windows Clipboard support from the GTWVT driver. So now it is available in Win32 console apps too. (Thanks Przemek for the functions and instructions). Set/Get the Clipboard using: hb_GTInfo( GTI_CLIPBOARDDATA[, ] ) 2006-06-20 02:37 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/tbrowse.prg ! Fixed TBrowseNew() not initializing :skipBlock() ! Fixed TBrowse:skipBlock() (throwing proper error, NIL parameter behaviour, parameter checking) 2006-06-19 23:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbapicls.h * harbour/include/hbapi.h * harbour/source/vm/garbage.c * added some testing macros * harbour/include/hbmath.h * HB_MATH_ERRNO enabled for MINGW build. Seems that MinGW doesn't activate math error handler and only sets errno * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c ! fixed VM_PROCESS_SYMBOLS_EX definition * cleaned a little bit code to not return uninitialized values when original function cannot be detected * harbour/source/compiler/genc.c * minor modifications * harbour/source/rtl/math.c ! fixed possible memory leak * indenting * harbour/source/vm/classes.c ! fixed possible GPF in __GETMSGPRF * use only one function for method name hashing * harbour/source/vm/hvm.c * minor fix 2006-06-17 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h + added extern hb_comp_szFile * harbour/include/hbinit.h * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() respecting Mindaugas suggestion. + added HB_INIT_SYMBOLS_EX_END() macro * translate HB_INIT_SYMBOLS_END() macro to HB_INIT_SYMBOLS_EX_END() * harbour/include/hbsetup.h + added HB_PCODE_VER_MIN and HB_PCODE_VER both now are set to 0x0001 * harbour/include/hbtypes.h * changed VM_PROCESS_SYMBOLS_EXT to VM_PROCESS_SYMBOLS_EX * harbour/include/hbvm.h + added hb_vmFindModuleSymbolName() - it returns the file name of given symbol if it was registered in HVM * harbour/source/compiler/genc.c * set HB_FS_LOCAL for local module functions * use HB_INIT_SYMBOLS_EX_END instead of HB_INIT_SYMBOLS_END * harbour/source/compiler/harbour.c * minor modifications * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * added HB_FS_LOCAL to function symbols in registered symbol tables * harbour/source/rdd/dbfntx/dbfntx1.c * added HB_FS_LOCAL to function symbols in registered symbol tables ! added missing break + added DBOI_KEYCOUNTRAW, DBOI_KEYNORAW. They works like DBOI_KEYCOUNT and DBOI_KEYNO in pure DBFNTX. Only with some upper level RDDs like RMDBFNTX which supports bit map filters they can return differ results. * harbour/source/rdd/workarea.c * changed ORDERINFO to DBORDERINFO in error message * harbour/source/rtl/set.c * respect previous settings in logical SETs if given value is not valid new one. + added misinf initialization for _SET_FORCEOPT and _SET_HARDCOMMIT. * changed default value of _SET_OPTIMIZE to TRUE * harbour/source/vm/dynsym.c * give the highest priority for LOCAL function symbols * harbour/source/vm/hvm.c + added hb_vmFindModuleSymbolName() - it returns the file name of given symbol if it was registered in HVM * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() and added PCOE version checking * harbour/source/vm/maindllp.c * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() * changed VM_PROCESS_SYMBOLS_EXT to VM_PROCESS_SYMBOLS_EX * harbour/source/vm/proc.c * changed to use stack macros/functions instead of direct accessing HB_STACK members + implemented PROCFILE() - it returns now real source file name with body of given function symbol or function executed at given stack level. If the source file cannot be detected then empty string is returned. Unlike in xHarbour it works also for static functions. synatx: PROCFILE( [ | ] ) F.e.: PROCFILE() -> current module name PROCFILE(@DBFCDX()) -> ../../dbfcdx1.c 2006-06-16 01:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c * added hb_arraySelfParams() * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added HB_ERR_ARGS_SELFPARAMS for automatic setting as argument list array with self item and passed parameters * harbour/source/rtl/copyfile.c * harbour/source/rtl/str.c * harbour/source/rtl/strtran.c * harbour/source/rtl/strzero.c * harbour/source/rtl/substr.c * harbour/source/vm/arrayshb.c * harbour/source/vm/classes.c * harbour/source/vm/evalhb.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * use HB_ERR_ARGS_BASEPARAMS in generated RT messages * harbour/source/rtl/fstemp.c * formatting * harbour/source/vm/hvm.c ! added some missing operator overloading ! fixed some error messages to be Clipper compatible ! fixed FOR loop for nonnumerical value and STEP, f.e.: FOR d := date() TO date() + 10 step 2 ? d NEXT * added disabled code to support reverted FOR condition like in Clipper. See below. * harbour/source/compiler/harbour.y * added disabled code to generate reverted FOR condition like in Clipper. I cannot uncomment it because it will break backward binary compatibility so I'll do that when some modification will force PCODE version updating. Enabling this code clean the following errors reported by hbtest: ! 2907 MAIN_MISC(200) TFORNEXT( NIL, NIL, NIL ) Result: "E BASE 1074 Argument error <= A:2:U:NIL;U:NIL F:S" Expected: "E BASE 1075 Argument error > A:2:U:NIL;U:NIL F:S" ! 2919 MAIN_MISC(212) TFORNEXT( NIL, NIL, NIL ) Result: "E BASE 1074 Argument error <= A:2:U:NIL;U:NIL F:S" Expected: "E BASE 1075 Argument error > A:2:U:NIL;U:NIL F:S" 2006-06-15 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c + added functions to set WorkArea flags USRRDD_SETBOF, USRRDD_SETEOF, USRRDD_SETFOUND, USRRDD_SETTOP, USRRDD_SETBOTTOM * harbour/include/hbapierr.h + added HB_ERR_ARGS_BASEPARAMS * harbour/source/rtl/errorapi.c ! check if ARGS passed to __ERRRT_BASE() and __ERRRT_SBASE() are valid to avoid possible GPF * replaced old hack with passing ARGS in array for some chosen errors by HB_ERR_ARGS_BASEPARAMS in hb_errRT_BASE and hb_errRT_BASE_SubstR - it was impossible to generate Clipper compatible error message * harbour/source/rtl/do.c * use HB_ERR_ARGS_BASEPARAMS * harbour/source/rtl/tobject.prg * assign SELF to ARGS of error object when EG_NO[VAR]METHOD RT error is generated - Clipper compatible. * harbour/source/vm/classes.c * added __msgNoMethod which is returned to hb_vmSend when object does not support requested message. This handler can display previous Harbour error message though now it's disabled and Clipper compatible error message is generated. I leave the decision to Harbour users which version of error message should be used. * changed __msgClsSel to return variable size array with only valid items If some code needs fixed size array then it will have to be updated * harbour/source/vm/hvm.c * generate Clipper compatible error messages for EG_NO[VAR]METHOD and EG_NOFUNC. Please do not change it. If you want previous Harbour error messages for EG_NO[VAR]METHOD then please change __msgNoMethod in classy.c * harbour/source/vm/arrays.c * minor modification 2006-06-14 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h + added missing declaration of hb_itemPutPtrGC() 2006-06-14 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/dir.cf * harbour/config/linux/gcc.cf * formatting * harbour/config/linux/global.cf * harbour/config/linux/install.cf * added -ldl to linked library list and RANLIB executing after library creation * harbour/contrib/ole/ole2.c * added #include "hbapicls.h" + harbour/include/hbapicls.h * harbour/include/hbapi.h + added HB_IT_ENUM item + added collect member to HB_IT_POINTER structure for POINTER items inspected by GC * changed the order of HB_CODEBLOCK members to safe few bytes on alignment * removed counters from HB_CODEBLOCK and HB_BASEARRAY structure + added hb_xRefInc(), hb_xRefDec(), hb_xRefFree(), hb_xRefCount(), hb_xRefResize() functions. They are internal Harbour VM functions and covered by internal API macro. Should not be used by 3-rd party code because we may change them in the future or even remove. + added hb_gcRefInc(), hb_gcRefDec(), hb_gcRefFree(), hb_gcRefCount() functions. These are also internal function which corresponds to the above hb_x*() ones. - removed hb_arrayRelease() function. This function is not longer necessary and it should never be public function - it was implemented in very dangerous way. - removed hb_codeblockDelete() function. - removed hb_memvarValueDecGarbageRef() + added USHORT usLen parameter to hb_codeblockMacroNew() - when sets to non 0 value it informs that PCODE should be copied to dynamically allocated buffer. * moved all classes/object functions to separate file: hbapicls.h + added hb_retptrGC() + added internal function hb_memvarGetItem() * harbour/include/hbapiitm.h - removed hb_itemForwardValue() and added macro which translates hb_itemForwardValue() to hb_itemMove() + added hb_itemUnShareString() and hb_itemReSizeString() functions + added hb_itemSetNil() macro * harbour/include/hbdefs.h * some cleanups in macro definitions * harbour/include/hbexprb.c * indenting * harbour/include/hbvm.h * harbour/include/hbinit.h + added hb_vmProcessSymbolsExt(), hb_vmRegisterSymbols(), hb_vmFreeSymbols(), hb_vmBeginSymbolGroup(), hb_vmInitSymbolGroup(), hb_vmExitSymbolGroup() * changed hb_vmProcessSymbols() to return address of register symbol table. For normal code it's the same address as given in parameter so it does not break backward binary compatibility. * changed symbol init macros to work correctly with modified address of symbol table * harbour/include/hbsetup.h * added support for HB_USE_PROFILER macro. Now profiler code is is disable in HVM by default * commented out HB_ASORT_OPT_ITEMCOPY - it's not longer used - see note. * harbour/include/hbstack.h * added missing parenthesis in hb_stackItem() macro * harbour/include/hbtypes.h * updated VM_PROCESS_DLL_SYMBOLS definition + added VM_PROCESS_SYMBOLS_EXT - removed HB_ARRAYRELEASE * harbour/include/hbver.h * changed revision number to 2 * harbour/include/hbvmpub.h - remove pFunPtr from HB_DYNS and cover profiler member by #ifndef HB_NO_PROFILER + added HB_PCODEFUNC structure + added HB_FS_PCODEFUNC, HB_FS_DYNCODE and HB_FS_LOCAL - the last one is not used yet. * harbour/include/hbxvm.h * added some multipcode functions for some speed optimization in -gc3 output * harbour/include/hbapicdp.h * harbour/source/codepage/cpbg866.c * harbour/source/codepage/cpbgiso.c * harbour/source/codepage/cpbgwin.c * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * harbour/source/codepage/cpesdos.c * harbour/source/codepage/cpesmwi.c * harbour/source/codepage/cpeswin.c * harbour/source/codepage/cpgedos.c * harbour/source/codepage/cpgewin.c * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphuiso.c * harbour/source/codepage/cphuwin.c * harbour/source/codepage/cppl852.c * harbour/source/codepage/cppliso.c * harbour/source/codepage/cpplmaz.c * harbour/source/codepage/cpplwin.c * harbour/source/codepage/cppt850.c * harbour/source/codepage/cpptiso.c * harbour/source/codepage/cpru866.c * harbour/source/codepage/cprukoi.c * harbour/source/codepage/cpruwin.c * harbour/source/codepage/cpsl437.c * harbour/source/codepage/cpsl852.c * harbour/source/codepage/cpsliso.c * harbour/source/codepage/cpslwin.c * harbour/source/codepage/cpsrwin.c * harbour/source/common/hbfhnd.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/compiler/gencli.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/langapi.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c * cleaned the code to avoid warnings for some non ANSI C constructions * harbour/source/compiler/cmdcheck.c * formatting * harbour/source/compiler/gencc.c * added some multipcode optimizations * harbour/source/compiler/genc.c * keep function name set by compiler for static initstatics * harbour/source/compiler/harbour.c * extend init statics name with the number of used static variables * formatting * harbour/source/compiler/hbusage.c + added my name to developers list - I hope that there is enough of my code in Harbour (BTW for quite long time) ;-) * harbour/source/rdd/dbcmd.c - removed DBF2TEXT() function * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * generate RT error when someone tries to create DBF with memo fields without MEMO RDD linked. * harbour/source/rtl/errorapi.c * replace all hb_vmDo() with hb_vmSend() * harbour/source/rtl/math.c * use hb_errPutArgs() to pass parameters to error object * harbour/source/rtl/philes.c * harbour/source/rtl/space.c * harbour/source/rtl/strpeek.c * some minor optimizations * harbour/source/vm/arrays.c - removed hb_arrayRelease() function. * changed hb_arrayReleaseGarbage() to be safe for recursive call * updated to use GC counters * harbour/source/vm/arrayshb.c * use stack function/macros instead of direct accessing HB_STACK members * harbour/source/vm/asort.c * removed unused HB_ASORT_OPT_ITEMCOPY * harbour/source/vm/classes.c * added class code from HVM % added fast overloaded operator detection and execution + added hb_objHasOperator(), hb_objOperatorCall() + added separated overloading of "=" and "==" operators * operate on PHB_SYMB not PHB_FUNC - support for pure PCODE function without any machine code * use stack function/macros instead of direct accessing HB_STACK members * separated profiler code * some code cleaning * harbour/source/vm/codebloc.c + added USHORT usLen parameter to hb_codeblockMacroNew() - when sets to non 0 value it informs that PCODE should be copied to dynamically allocated buffer. * updated to use GC counters - removed hb_codeblockDelete() function. * changed hb_codeblockDeleteGarbage() to be safe for recursive call - removed restoring statics base in hb_codeblockEvaluate() * harbour/source/vm/debug.c * cleaned and optimized some code * harbour/source/vm/dynlibhb.c + added support for loading and unloading dynamic libraries with PCODE + added support for dynamic libraries in Linux (.so) + added HB_LIBERROR() - returns error string with last error in HB_LIBLOAD() - now works only in Linux * harbour/source/vm/dynsym.c * separated profiler code + use pDynSym->pSymbol->value.pFunPtr instead of pDynSym->pFunPtr * harbour/source/vm/estack.c + added #include "hbapicls.h" + added hb_stackPushReturn(), hb_stackPopReturn() * harbour/source/vm/eval.c * harbour/source/vm/extend.c * use stack function/macros instead of direct accessing HB_STACK members + added hb_retptrGC() * harbour/source/vm/fm.c + added hb_xRefInc(), hb_xRefDec(), hb_xRefFree(), hb_xRefCount(), hb_xRefResize() functions. They are internal Harbour VM functions and covered by internal API macro. Should not be used by 3-rd party code because we may change them in the future or even remove. * harbour/source/vm/garbage.c + added hb_gcRefInc(), hb_gcRefDec(), hb_gcRefFree(), hb_gcRefCount() functions. These are also internal function which corresponds to the above hb_x*() ones. * changed Step 3 of GC pass and execution of clean-up function to be safe for recursive calls and additional activity. Ryszard see my note and s_pDeletedBlock + added GC inspected HB_IT_POINTER items. * harbour/source/vm/hvm.c * separated profiler code * separated class code from HVM + added support for loading and unloading libraries with PCODE modules + added support for pure PCODE functions + added support for string item resizing and preallocating string buffer + added some new multipcode functions for -gc3 optimization + added hb_vmProcessSymbolsExt(), hb_vmRegisterSymbols(), hb_vmFreeSymbols(), hb_vmBeginSymbolGroup(), hb_vmInitSymbolGroup(), hb_vmExitSymbolGroup() * changed hb_vmProcessSymbols() to return address of register symbol table. For normal code it's the same address as given in parameter so it does not break backward binary compatibility. + use new code for operator overloading * changed FOR EACH to dynamically check iteration scope in hb_vmEnumNext()/hb_vmEnumPrev() and remove max number of iteration stored on HVM stack * temporary use hb_itemUnRefOnce() instead of hb_itemUnRefRefer() as workaround for possible GPF. I'd like Ryszard will chose the final version * harbour/source/vm/itemapi.c + added support for preallocating string buffer size + added hb_itemUnShareString() and hb_itemReSizeString() * updated string items to use counters allocated with each memory block by xh_xgrab()/hb_xalloc() * updated codeblock and array items to use GC reference counters + added GC inspected HB_IT_POINTER items. * generate RT error in hb_itemUnreOnce() for enumerator items out of scope + added hb_itemPutPtrGC() * harbour/source/vm/macro.c * use pDynSym->pSymbol->value.pFunPtr instead of pDynSym->pFunPtr * harbour/source/vm/maindllp.c * updated usage of hb_vmProcessSymbols() * added hb_vmProcessSymbolsExt() * harbour/source/vm/memvars.c + added hb_memvarGetItem() - removed hb_memvarValueDecGarbageRef() * harbour/source/vm/proc.c + added #include "hbapicls.h" * harbour/source/vm/pvalue.c * do not access stack structure directly but use hb_stack*() functions (macros) * harbour/source/vm/runner.c * synced with xHarbour * harbour/utils/hbtest/rt_misc.prg * added overloading "=" operator. Now "==" and "=" can be overloaded with different methods All names I used for new functions/macros can be changed. Please look at it and if you will some better propositions then we can use it. hb_vmProcessSymbolsExt() is added but not used yet. 2006-06-07 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbffpt/dbffpt1.c * cleaned // comments and some compiler warnings * harbour/include/dbinfo.ch * harbour/source/rdd/dbf1.c ! fixed setting [V]FP DBF table type * harbour/source/vm/arrays.c ! fixed ADEL() to clear last element % optimized a little bit AINS() - use hb_itemMove() instead of hb_itemCopy() 2006-06-05 20:30 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * added references for USRRDD.LIB 2006-06-04 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use i64 suffix for BCC 3.0 and higher for long long int * harbour/source/rtl/dummy.prg * harbour/source/rdd/dbcmd.c * added undocumented Clipper function: __dbTrans() __dbOpenSDF() and __dbJoin() I'll commit soon. There is also __dbTransRec() in dummy.prg but I cannot find any information about this function and its parameters in GOOGLE. If someone knows what is this functions syntax and can Inform me then I'll implement it. I guess it's a wrapper to TRANSREC() RDD method. * harbour/source/rdd/dbf1.c * DBI_LOCKOFFSET now returns DBF record lock offset really used (f.e. updated in FP locking after open/close production index) * harbour/source/rdd/delim1.c * cleaned BCC warning * harbour/source/rdd/dbfcdx/dbfcdx1.c ! updated internal production index flag after manual opening production index 2006-06-02 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/config/global.cf + harbour/include/usrrdd.ch + harbour/source/rdd/usrrdd/Makefile + harbour/source/rdd/usrrdd/usrrdd.c + harbour/source/rdd/usrrdd/rdds/Makefile + added USRRDD library. It allows to create new RDD from scratch or by inheriting from any other RDDs (except USRRDDs) and overloading any of their methods at .prg level. I hope you will find a lot of fun in creating your own RDDs. I wanted to create more examples and added some documentation but I do not have time for it now - sorry. Try to look at examples below and if you need some more detail information then look at Clipper's NG Technical Reference Guide or ask me. I'll try to help. Two RDDs which seems to be requested by users are ARRAY RDD and OLE RDD. I hope that some of you implement them. + harbour/source/rdd/usrrdd/rdds/dbtcdx.prg * Very simple RDD DBTCDX which inherits from DBFCDX and set default memo type to DBT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/fptcdx.prg * Very simple RDD FPTCDX which inherits from DBFCDX and set default memo type to FPT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/smtcdx.prg * Very simple RDD SMTCDX which inherits from DBFCDX and set default memo type to SMT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/fcomma.prg * A simple RDD which uses HB_F*() functions from MISC library to access CSV files. It allow to open an CSV file and navigate using SKIP()/GOTO()/GOTOP()/GOBOTTOM() functions using BOF()/EOF()/RECNO()/LASTREC() to check current state. HB_F*() functions does not support single field access and allow to read only the whole line. This RDD also. I only added one virtual field which exist in all tables open by this RDD called LINE which contains the current .csv file line. + harbour/source/rdd/usrrdd/rdds/hscdx.prg * A simple RDD which adds automatically update HSX indexes to DBFCDX To create new HSX index for current work area use: HSX_CREATE() To open already existing one use HSX_OPEN(), To close use: HSX_CLOSE() To retieve an handle use: HSX_HANDLE() + harbour/source/rdd/usrrdd/rdds/rlcdx.prg * A simple RDD which introduce lock counters. It has full DBFCDX functionality from which it inherits but if you execute DBRLOCK(100) twice then you will have to also repeat call to DBRUNLOCK(100) to really unlock the record 100. The same if for FLOCK() This idea comes from one of messages sent by Mindaugas Kavaliauskas. + harbour/source/rdd/usrrdd/example/exfcm.prg * example of using FCOMMA RDD + harbour/source/rdd/usrrdd/example/exhsx.prg * example of using HSCDX RDD + harbour/source/rdd/usrrdd/example/exrlx.prg * example of using RLCDX RDD + harbour/source/rdd/usrrdd/example/exmemo.prg * example of using DBTCDX, FPTCDX and SMTCDX RDDs 2006-06-02 14:15 UTC+0100 Ryszard Glab * harbour.spec * include/hbver.h * updated to set version 0.46.1 for build46 2006-06-02 14:00 UTC+0100 Ryszard Glab * include/hbexpra.c * source/compiler/expropta.c * fixed bug in GET var[ any_one_dim_index ] * source/pp/ppcore.c * fixed BCC warning NOTICE: The above files are retagged to 'build46' 2006-05-31 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! fixed default RDD seting in APPEND FROM / COPY TO 2006-05-31 13:45 UTC+0200 Tomaz Zupan (tomaz.zupan at orpo.si) * harbour.spec * Added Mandriva to recognised distros * Sinchronised version with harbour/include/hbver.h 2006-05-30 18:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/sdf1.c * cleaned BCC warning * harbour/source/rdd/delim1.c ! fixed BCC compilation (string initialization with dynamic values is forbidden by BCC) 2006-05-30 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbver.h * changed version number and ChangeLog entry * harbour/make_tgz.sh ! fixed creating PP in DJGPP builds * harbour/contrib/dot/pp.prg ! minor fix in parameter checking * harbour/contrib/libmisc/hb_f.c ! fixed bug in record numbering after reaching EOF position and backward skipping * harbour/include/hbrdddel.h * harbour/source/rdd/delim1.c + implemented DELIM RDD. It should be fully Clipper compatible in comma files parsing. If you will find any difference, please inform me and I'll update it. Unlike in Clipper in [x]Harbour these RDD can be used also in direct import operations with APPEND FROM ... VIA "DELIM" These RDD also support whole record transfering between RDDs if they support the same record format and field representation and can translate extended field types like "I", "B", "V3", "V4", etc. * harbour/source/rtl/dbdelim.prg * replaced old code of __dbDelim() function with simple calls to __dbCopy()/__dbApp() - it should fix most of the reported incompatibilities in DELIM import/export operations and increase their speed many times * harbour/include/hbrddsdf.h * harbour/source/rdd/sdf1.c + implemented SDF RDD. It should be fully Clipper compatible in SDF files parsing. If you will find any difference, please inform me and I'll update it. Unlike in Clipper in [x]Harbour these RDD can be used also in direct import operations with APPEND FROM ... VIA "SDF" These RDD also support whole record transfering between RDDs if they support the same record format and field representation and can translate extended field types like "I", "B", "V3", "V4", etc. * harbour/source/rtl/dbsdf.prg * replaced old code of __dbSDF() function with simple calls to __dbCopy()/__dbApp() - it should fix most of the reported incompatibilities in SDF import/export operations and increase their speed many times * harbour/source/rdd/dbcmd.c + added support for table structure inheriting in transfer RDDs. + added eleventh parameter with delimiter to __dbCopy()/__dbApp() * harbour/source/rdd/dbf1.c * force 10 bytes size for memo fields in DBF and SMT memos. * some minor clean-up. * harbour/source/rdd/workarea.c * added some dummy DBI_* actions in base RDD level 2006-05-30 12:09 UTC+0300 Chen Kedem + doc/howtorel.txt + How-to-Release document by Przemyslaw Czerpak (druzus/at/priv.onet.pl) * doc/whatsnew.txt + Add tag information to all tagged builds. 2006-05-29 16:00 UTC+0100 Ryszard Glab * harbour.spec * doc/whatsnew.txt * include/hbver.h * modified to store build number 46 2006-05-29 14:10 UTC+0100 Ryszard Glab * source/pp/ppcore.c *fixed invalid memory access * source/compiler/harbour.c *fixed to generate error in cases when variable name is duplicated in PARAMETERS and PRIVATE statements (NOTICE: this error is generated when automatic memvar declaration was requested only using -a command line switch) 2006-05-23 14:21 UTC+0300 Chen Kedem * doc/whatsnew.txt + Add information about the upcoming alpha build 46. * doc/en/compiler.txt + Add a line for -gc3 switch. * source/compiler/hbusage.c + Add a line for -gc3 switch. * Bumped the copyright year from 2005 to 2006. 2006-05-19 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added support -go[0-3] and other -g* switches to xhb* scripts * harbour/include/hbapi.h + added ISSYMBOL() macro * formatting * harbour/include/hbapirdd.h * changed definition of SUPERTABLE for optional dynamic overloading this modification will not effect existing code * harbour/include/hbrddfpt.h * harbour/source/rdd/dbffpt/dbffpt1.c * added support for NIL value in SIX3 FPT files * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c ! message symbols are not function symbols - cleaned the HB_FS_MESSAGE usage and fix the problem with registering static function in global symbol table * harbour/source/compiler/gencc.c ! fixed typo in compilation for platforms 64 bit LONG * harbour/include/hbvmpub.h * harbour/source/compiler/cmdcheck.c * harbour/source/vm/asort.c * harbour/source/vm/evalhb.c * formatting * harbour/source/rdd/dbcmd.c * formatting and some minor clean-up * harbour/source/rdd/workarea.c * added default SYSNAME method ! fixed possible memory leak when APPEND failed in TRANSREC method * harbour/source/rdd/hsx/hsx.c ! fixed using HS_ADD()/HS_REPLACE() without STRING/BLOCK expression * harbour/source/rtl/cdpapi.c * cleaned GCC4 warning * harbour/source/rtl/do.c * changed to keep parameter references in DO() function. Now it works like IIF()/EVAL() * harbour/source/vm/classes.c * removed some definitions repared from hbapi.h + added support to passing function references as HB_IT_SYMBOL * harbour/source/vm/dynlibhb.c ! fixed GPF in HB_LIBDO called with wrong parameter * harbour/source/vm/hvm.c ! fixed hb_rddGetFieldValue() to not operate on unallocated stack area it could cause unpredictable results when RDD had to access HVM, f.e. for evaluation some pending relations. The whole code should be carefully checked and to not operate on hb_stackTopItem() if other functions are called to make the HVM fully reentrant. + added commented out support for passing HB_IT_SYMBOL as function pointer * formatting * harbour/source/vm/itemapi.c * return "S" for HB_IT_SYMBOL by hb_itemType() * formatting 2006-05-14 09:36 UTC+0300 Chen Kedem * doc/dirstruc.txt + Add oneliner description for: source\rtl\gtalleg, source\rtl\gtwvt, source\rtl\gtxwc, source\vm\mainstd * doc/howtocvs.txt * Update CVS location to reflect recent changes in SourceForge. 2006-05-05 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * changed the exit code for .hrb file compilation by xhbcmp * harbour/include/hbcomp.h * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * removed some variables which are not necessary in Harbour * harbour/source/compiler/hbfix.c + added unconditional and conditional jump joining optimization * harbour/source/vm/classes.c * indenting and some minor modifications * harbour/source/rdd/dbfcdx/dbfcdx1.c ! clear the logical key position buffer for pending relations or hot record buffer updating * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/vm/hvm.c * casting * harbour/source/vm/macro.c * harbour/include/hbvmpub.h * removed HB_FS_ALLOCATED * harbour/source/vm/dynsym.c * changed the code for hb_symbolNew() to avoid possible memory leak alerts and keep the list of all dynamic symbols accessible. It also reduced a little bit the memory fragmentation and total size of memory allocated for dynamic symbols. 2006-04-18 14:10 UTC+0100 Ryszard Glab * bin/bld.sh * fixed typo * source/pp/ppcore.c * fixed bug in ParseOptional <"var"> were not recognized correctly (This fixes SET RELATION bug reported by David Macias) 2006-04-15 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/blob.ch * harbour/include/dbinfo.ch * harbour/include/hbdbferr.h * harbour/include/hbrddfpt.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbffpt/dbffpt1.c + added all CL5.3 BLOB*() functions support + added new RDD DBFBLOB compatible with CL5.3 DBFBLOB It operates on memo files only (.dbv) without tables (.dbf) To create .DBV file use: dbCreate( cFile, {}, "DBFBLOB" ) * harbour/source/rdd/dbcmd.c * do not report error when empty structure table is passed to DBCREATE() CL5.3 allow to create even DBF files without any fields and because I can imagine some valid code which use it as a feature then I also allow it in DBF RDD. Authors of RDDs which do not allow to create tables without fields should add to their low level RDD code necessary RT error. 2006-04-14 20:51 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * source/rtl/filesys.c ! fixed problem in CURDIR() wchich return truncate value if directory name is 3 chars long (fix given by Przemyslaw Czerpak) 2006-04-10 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed skip back after updating last record 2006-04-09 19:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed scope checking when skip is done from the record which dos not exist in index * harbour/source/vm/classes.c * use hb_itemClone() - it will save us modifications in the future if we will add new items which will be passed as parameters like arrays (f.e. hashes) * some source code formatting 2006-04-09 14:55 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c * Added possibility to save memo fields > 64K 2006-04-08 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! update current order number after ordDestroy() * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed ordKeyGoto() - only the index file was repositioned but I forgot to also change the record in DBF 2006-04-07 15:30 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/vm/classes.c % Optimized __CLSADDMSG() to call hb_parc() only once instead of 25 times for most cases. ! Possible problem fixed in __CLSADDMSG() where message parameter was required to be uppercase when overloading operator .NOT., .AND. or .OR. % hb_dynsymGet() calls replaced with hb_dynsymGetCase() where the parameter was an already uppercased constant. * harbour/source/vm/dynsym.c ! Fixed HB_TRACE() function name in hb_dynsymGetCase(). 2006-04-07 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * support for detecting startup function in C++ mode * harbour/include/hbapi.h * some few #defines to translate some xHarbour functions names to Harbour * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/common/hbdate.c + added optimizations for add and div by integer value * changed code generated for double values to avoid limitation in some C compilers like MSC and possible differ conversion inside C RTL then the one which uses Harbour RTL * some minor optimizations, cleanups and code formating * harbour/source/compiler/hbfix.c * optimize usage of HB_P_NOT PCODE - remove repeated NOT operations or revert conditional jumps if they are just after NOT. * harbour/source/rdd/dbf1.c * added support for NULL value set in memo fields by ACCESS * harbour/source/rdd/dbfcdx/dbfcdx1.c * fixed ordKeyPos() - for records out of scope * harbour/source/rtl/padc.c * harbour/source/rtl/padl.c * harbour/source/rtl/padr.c * harbour/source/rtl/substr.c * some minor optimizations to avoid new string item creation when it's not necessary * harbour/source/vm/classes.c * harbour/source/vm/extend.c * minor code formatting and optimizations 2006-04-06 14:05 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed registering of startup procedure name * source/pp/ppcore.c * ignore escaped '<' in command/translate definitions (work in progress) 2006-04-05 15:49 UTC+0100 Antonio Linares * source/makefile.nt + Added hblbl.c and gencc.c modules * harbour/source/vm/mainwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/compiler/harbour.l * some required changes for Microsoft C 2006-04-05 13:35 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed allocation of startup procedure name * source/compiler/harbour.l * fixed compilation of macro expression (the first letter was eaten in some cases) * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pplib.c * fixed calls to hb_pp_ParseDirective * increased back the input buffer to HB_PP_STR_SIZE (12288 bytes) 2006-03-29 11:55 UTC+0100 Ryszard Glab * include/hbpp.h *fixed declaration of hb_pp_StreamBlock * source/pp/ppcore.c * added two guards for buffer overflow 2006-03-28 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! upper the default .prg function name created from .prg file name when compiled without -n switch 2006-03-28 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * warnings cleanup 2006-03-28 14:35 UTC+0100 Ryszard Glab * include/hbexpra.c * fixed optimization of 'EVAL' in macro compiler * source/pp/ppcore.c * fixed calculation of length of stringify expressions 2006-03-28 13:46 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt + added references for harbour/source/compiler/hbstrong.c 2006-03-28 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h + added hb_compPCodeSize() and hb_compStrongType() declarations * harbour/include/hbpp.h * formatting * harbour/source/compiler/Makefile + harbour/source/compiler/hbstrong.c * harbour/source/compiler/hbpcode.c * moved strong typing code to separate file * harbour/source/compiler/hbpcode.c + added hb_compPCodeSize() function + added support for automatic size checking of variable size PCODEs in hb_compPCodeEval() * harbour/source/compiler/gencc.c * added escaping of '?' character in generated strings to avoid possible conflicts with trigraph sequences which are part of ANSI C standard * force .0 at the end of double numbers to avoid possible range conflicts in generated .c files * removed unnecessary HB_SYMBOL_UNUSED() * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/macro/macro.l * harbour/source/macro/macro.y * added #define realloc hb_xrealloc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * use hb_compPCodeSize() function * removed not longer necessary functions for checking the real size of variable size PCODEs * harbour/source/vm/hvm.c * fixed RT error number in hb_vmAddInt() for negative values to be Clipper compatible 2006-03-27 15:25 UTC+0100 Ryszard Glab * contrib/htmllib/default.ch * fixed IF/THEN command * source/compiler/hbident.c * source/compiler/harbour.l * added memory duplication for macro text (&a._m) * source/pp/ppcore.c * fixed my last commits * processed this file with indent 2006-03-25 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * added pEnd to hb_stack structure to speed up hb_stackPush() which is one of the most often used operation in HVM. * harbour/include/hbapi.h * small trick with HB_IS_* macros to give a compiler a chance to make them faster on some machines * harbour/source/compiler/genc.c ! fixed stripping non identifier characters from symbol table name * harbour/source/compiler/hbpcode.c * cleaned comment * harbour/source/rdd/dbf1.c * set Operation in error object to field name in field{put,get} methods. + added DBI_LOCKOFFSET * harbour/source/vm/classes.c * formatting * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * some minor speed optimizations 2006-03-23 14:50 UTC+0100 Ryszard Glab * source/pp/ppcore.c * fixed preprocessor to preserve spaces the same way (almost) as Clipper * tests/pretest.prg * added more tests to check preprocessor 2006-03-22 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added hb_stackDecrease( ULONG ) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c + added hb_xvmArrayItemPush(), hb_xvmArrayItemPop(), hb_xvmMultByInt() * harbour/source/compiler/gencc.c % use hb_xvmArrayItemPush(), hb_xvmArrayItemPop(), hb_xvmMultByInt() If someone has time then it will be good to also add: hb_xvmDivByInt(), hb_xvmModulusInt(), hb_xvmPlusInt(), hb_xvmMinusInt() * harbour/source/vm/itemapi.c * use simple memcpy() in hb_itemSwap() - it's save in current HVM It could become unsafe if we add reference tracing or sth like that in the future but in such case we will have to also update hb_itemCopy() and hb_itemMove() so we can also update hb_itemSwap() * harbour/source/vm/asort.c * harbour/source/vm/classes.c * harbour/source/vm/memvars.c * harbour/source/vm/hvm.c * cleaned the code which created HB_ITEMs on C stack. Only three places have to be update yet and array/clodeblock creation little bit modified and we will be able add automatic GC activation in hb_xgrab() or hb_gcAlloc(). 2006-03-21 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! added missing void in hb_xvmActionRequest() declaration to avoid BCC warnings 2006-03-21 13:20 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/source/vm/hvm.c + missing declaration for hb_xvmActionRequest added 2006-03-21 03:17 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc added referenced to: harbour/source/compiler/gencc.c harbour/source/compiler/hblbl.c 2006-03-21 02:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.bat * harbour/make_gnu.cmd * harbour/make_gnu.sh * added information about GTWVT to GT description for Windows * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/dbf1.c * synced with xHarbour * harbour/source/rtl/console.c ! fixed PROW() updating to be Clipper compatible when row number exceed 16bit integer value * harbour/source/rtl/filesys.c ! fixed possible GPF when hb_fsCurDirBuff() * harbour/source/rtl/str.c * harbour/source/rtl/strzero.c * minor optimizations * harbour/source/rtl/strpeek.c ! fixed accessing the last character in STRPEEK() and STRPOKE() * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtwin/gtwin.c + synced with recent xHarbour modifications * harbour/source/rtl/gtwvt/gtwvt.c * cleaned BCC warning * harbour/include/hbapi.h * harbour/source/vm/codebloc.c * declare BYTE * passed to hb_codeblockNew() as const * harbour/include/hbpcode.h ! fixed the PCODE numbers in PCODE description, 122 was repeated for two different PCODEs: HB_P_ONE and HB_P_MACROLIST * harbour/source/compiler/genc.c ! fixed hb_p_functionshort pcode size returned by genc function ! fixed double value presented in verbose genc mode for HB_P_PUSHDOUBLE ! fixed number of cases presented in verbose genc mode for HB_P_SWITCH * harbour/source/compiler/hbdead.c + added support for dead code elimination in functions which uses SWITCH ...; CASE ...; ...; END syntax * harbour/source/compiler/harbour.c * harbour/source/compiler/hbfix.c ! fixed optimization for HB_P_PUSHLOCALNEAR and HB_P_POPLOCALNEAR. It was a long existing bug not reported so far because 0, 1 and 2 PCODEs uses only one BYTE and bad PCODE tracing in hbfix.c didn't caused bad side effects as long as number of locals in function was smaller then 768. Now for functions HB_P_PUSHLOCAL and HB_P_POPLOCAL is used and later changed to NEAR version in hbfix.c if possible. * harbour/source/compiler/hbfix.c * join sequential jumps to optimize constructions like: while ... ... if ... exit endif enddo * harbour/source/compiler/hbdead.c * remove HB_P_END PCODE also at the and of function if is repeated just before, f.e. in code like (source/rtl/color53.prg): Function RADGRDEFCO( cColor ) if isdefcolor() Return applydefau( cColor, "W/N", "W/N", "W+/N") Else Return applydefau( cColor, 3, 1, 4) endif Return nil Now such redundant constructions like above are fully stripped by compiler anyhow if someone has time and think is important then can clean also this .prg code. * harbour/include/Makefile * harbour/include/hbcomp.h + harbour/include/hbxvm.h * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c + harbour/source/compiler/gencc.c + harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/vm/hvm.c + added support for generating real C code not PCODE in .c files. Now with -gc3 Harbour will generate .c files with real .c code which is later compiled to real machine code. I left PCODE only for code block definitions though it's also possible to have even code block compiled to machine code but we will have to add a flag to codeblock structure which will be checked at runtime and proper method of execution in EVAL will be chosen. If you think it's worth of afford then I can add it too in some spare time. The final binaries are noticable longer then the one which has only PCODE but they are faster. The speed improvement depends on type of operations. The pure Clipper code which does not execute any external time consuming C functions compiled with -gc3 is from 10% to 50% faster. The side effect of generating pure machine code is also harder recompilation but it does not mean that is impossible. If sth can be executed by some machines (virtual or hardware) then it can always be decompiled by definition. This modification opens door for farther optimization, f.e. when we will have fully working strong type support then we can add using native .c types. In fact this module is PCODE to .c translater not part of compiler and can be used as separate module to translate generated PCODE, f.e. .hrb files. Maybe in the future we will change the compiler to generate meta code not directly PCODE and it will be possible to make optimizations on this meta code which will depend on selected output type: VHM PCODE, C code, .NET code, etc. but at this moment adding support for .c compilation directly into compiler will make the compiler code too much complicated for me - IMHO it's better to invest time into clear separation to FRONT_END->REAL_COMPILER->BACK_END Please make test with your code. I rebuild whole Harbour code with -gc3 set in HB_FLAGS in harbour/config/rules.cf and all seems to work correctly. hbtest returns exactly the same results. I also made tests with my programs and they work correctly but I had to define actions for all PCODEs and it's possible that made some typos in some of them which are very seldom used so your tests will be very important. 2006-03-19 03:43 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt + added references for harbour/source/rtl/gtwvt GT driver. * harbour/makefile.vc - removed references to harbour/source/rtl/gtwin/mouseobj 2006-03-16 09:00 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt - removed entry for harbour/source/lang/msgen.c file. 2006-03-16 05:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/Makefile - harbour/source/lang/msgen.c * harbour/source/rtl/langapi.c * moved EN lang definitions to core lang code so we always have at least one lang module defined at sartup. Modified after common group agreement - no one was against, thanks to all for answers. Please update non GNU make files and remove harbour/source/lang/msgen.c file. * harbour/source/rtl/cdpapi.c * replaced CDP startup initialization with simple assignment * harbour/source/rtl/gtpca/gtpca.c * added #include for *nix platforms 2006-03-13 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * respect pure REQUEST HB_GT_NUL as user GT choice if only GTNUL is linked * harbour/source/rtl/errorint.c ! fixed GPF when no lang module is register - I'll wait a while for other people opinion and if no one will give good reason against then I'll make EN language definition default part of langapi.c what will resolve the problem of valid error description when no language module is linked. 2006-03-13 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * fixed description in last commit. Should be HB_GTSYS() not GTSYS() * harbour/include/hbapi.h * fixed hb_retl() macro by adding missing parenthesis * harbour/source/compiler/harbour.c * removed unnecessary initialization to avoid BCC warning * harbour/source/rtl/console.c * harbour/source/rtl/hbgtcore.c * do not call hb_gtOutStd()/hb_gtOutErr() when given string has 0 length - it may cause unpredictable results in low level hb_fsWrite() when trunc operation will be activated for non real file handles in some systems * harbour/source/rtl/errorint.c * increased the error message buffer * harbour/source/rtl/inkey.c * fixed typo in comment * harbour/source/rtl/gtcrs/gtcrs.c * formatting 2006-03-13 11:40 UTC+0100 Ryszard Glab * source/compiler/cmdcheck.c * source/pp/pragma.c * fixed to force max recurse preprocessor passed bigger then 0 * source/pp/ppcore.c * suppressed memory access error in getExpReal + added missing '.' in valid match markers (ConvertOptional) 2006-03-11 09:45 UTC+0100 Ryszard Glab * source/pp/ppcomp.c * source/pp/ppcore.c * source/rtl/gtcrs/gtcrs.c * fixed to suppress warning messages in some compilers 2006-03-10 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/rules.cf * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/rsx32.cf * harbour/config/dos/watcom.cf * harbour/config/linux/gcc.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/global.cf * harbour/config/w32/icc.cf * harbour/config/w32/mingw32.cf * harbour/config/w32/msvc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/watcom.cf * use F macro extension to extract file name from given macros. It simplified some rules and allow to use vpath and differ file locations in GNU Makefiles * moved the BCC16 excpetion for C_RULE from global rules.cf to DOS bcc16.cf file * use mainstd library in MinGW build * harbour/include/hbapi.h + added two new functions: hb_winmainArgInit() and hb_winmainArgGet() to set/retrieve WinMain() parameters. + added hb_strMatchWildExact() * harbour/source/pp/ppcore.c * initialized variable to avoid compiler warning * harbour/source/rtl/console.c * cleaned comment * harbour/source/rtl/hbffind.c ! Fixed invalid handle error in Windows when file() fails (fix borrowed from xHarbour) * harbour/source/rtl/strmatch.c + added hb_strMatchWildExact() + added 3-rd parameter to WildMatch() - when it's TRUE WildMatch() will check if given pattern cover the whole string. Without it it check if pattern is valid prefix only. * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtsln/mousesln.c * do not call Gpm_GetSnapshot() to avoid stupid message on stderr generated from GPM library - I lost the the hope that it will be fixed ;-) * harbour/source/rtl/gtpca/gtpca.c * use select() in *nixes for cursor position terminal feedback. * harbour/source/rtl/gtwin/gtwin.c * try to always allocate console when compiled without HB_NO_ALLOC_CONSOLE. It allow to use GTWIN also in real windows programs. + harbour/source/rtl/gtwvt/Makefile + harbour/source/rtl/gtwvt/gtwvt.c + harbour/source/rtl/gtwvt/gtwvt.h + added new GT driver GTWVT - the core of this driver it's Peter Ress work in xHarbour. In Harbour GTWVT contains only pure GT code without local to GTWVT xHarbour extensions and GTWVT contrib libraries. This extensions can be added but later but I want to keep them separated from the core GTWVT code and add them as upper level GT which can inherit from GTWVT. Just like I've implemented CTWIN. Please update non GNU make files and test this GT in Windows. The programs which want to use GTWVT should be compiled as standard Windows GUI programs. GTWVT replaces window console code. if you add to your code: proc HB_GTSYS() request HB_GT_WIN request HB_GT_WVT return then the final binaries will be linked with both GT drivers and you can switch between them using //gt[:] switch. F.e.: ./my_prog //gtwin or ./my_prog //gtwvt this feature works in all platforms. People who works in shell environment (*nixes, MSYS, DJGPP) and use hb* scripts does not have to use HB_GTSYS() in source code but can simply use -gt switch in hblnk and hbmk. * harbour/source/rtl/gtxwc/gtxwc.c * some minor cleanups and code formatting * harbour/source/vm/Makefile + harbour/source/vm/mainstd/Makefile * moved mainstd.c to separate mainstd library for MinGW32 build. Unfortunately MinGW always link main() function if it locate it in libraries and ignores WinMain() what effectively makes impossible to create Windows GUI programs if we have main() in VM library. People who are using MinGW and wants to create only pure console programs should now include mainstd library to linked library list. * harbour/source/vm/cmdarg.c * harbour/source/vm/mainwin.c + added two new functions: hb_winmainArgInit() and hb_winmainArgGet() to set/retrieve WinMain() parameters. 2006-03-10 12:20 UTC+0100 Ryszard Glab * include/hbpp.h + added 'extern' declaration * source/compiler/hbusage.c + added short usage info abour /r= switch * doc/pragma.txt * doc/en/compiler.txt + added documentation about new pragmas and new /r= switch 2006-03-10 10:20 UTC+0100 Ryszard Glab * source/pp/ppcomp.c *fixed compilation for Borland C * source/pp/ppcore.c +added missing '{' in valid match markers (ConvertOptional) * tests/Makefile + tests/pretest.prg + added the file to show '#pragma __stream' and '#pragma __cstream' 2006-03-09 16:30 UTC+0100 Ryszard Glab * include/hbapi.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * modified to support strings with embeded LF/CR characters * source/common/hbstr.c * source/rtl/strings.c * added hb_strRemEscSeq() function that removes C-like Esc sequences (\n \t \r \b currently) * source/compiler/cmdcheck.c * added new command line switch -r= with defaults equal to -r=1024 * include/hbpp.h * source/compiler/harbour.l * source/compiler/harbour.y * source/macro/macro.y * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pplib.c * source/pp/pptable.c * source/pp/pragma.c * fixed compilation of #command ( => (,7 (loops in #define or #command are trapped now) * fixed compilation of \[ and \] in command/translate * modified TEXT/ENDTEXT to use '#pragma __text' + added #pragma __stream and #pragma __cstream (examples later) 2006-03-08 3:31 UTC-0500 David Arturo Macias Corona - harbour/source/codepage/cdpsl437.c - harbour/source/codepage/cdpsl852.c - harbour/source/codepage/cdpslwin.c - harbour/source/codepage/cdpsliso.c - Removed these four files. 2006-03-06 12:00 UTC+0100 Mitja Podgornik David Macias: Source code provided by Mitja Podgornik * harbour/contrib/mysql/mysql.ch + added MYSQL_DECIMAL_TYPE for MySQL versions 5.0 and above * harbour/contrib/mysql/mysql.c * harbour/contrib/mysql/tmysql.prg + added functions sql_commit(), sql_rollback()(CLASS TMySQLServer) to support transactions with InnoDB table types + added function sql_version() (CLASS TMySQLServer) returns 5 digit numeric version of MySQL server * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsliso.c + Update startup code to work with MSC 2006-03-02 18:00 UTC+0100 Ryszard Glab * source/compiler/harbour.l * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pptable.c * fixed compilation of included files in cases when the file ends with ';' (with no LF or CR) * fixed translation of nested command/translate * fixed translation of TEXT/ENDTEXT to be more Clipper compatible +added new hidden preprocessor directive __text|ParseBlockCode|EndBlockCode|StartBlockCode currently TEXT is preprocessed using: #command TEXT => __text|Qout(%s)|QQOut() #command TEXT TO FILE => ; __text|Qout(%s)|__TextRestore()|__TextSave() ParseBlockCode is called for every line beetwen TEXT/ENDTEXT, %s is replaced with the text enclosed with [] 2006-03-02 01:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * fixed yest another problem with PP which caused GPF on minigui compilation 2006-03-01 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/source/rdd/workarea.c * added DBI_SCOPEDRELATION action. It alow to test if given relation on current work area sets scope on child index. F.e.: dbInfo( DBI_SCOPEDRELATION, 1 ) 2006-03-01 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * added optional BOOL parameter to functions which translate to UTF8 to not translate control code characters * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtxwc/gtxwc.c * update for new parameter in UTF8 functions 2006-03-01 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtxwc/gtxwc.c ! fixed UTF8 trnalsations 2006-03-01 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/htmllib/default.ch * fixed few wrong definitions - Ryszard, the definitions where wrong but Clipper PP seems to parse them. * harbour/contrib/rdd_ads/ads1.c * call AdsFlushFileBuffers() only when _SET_HARDCOMMIT is set (default) * harbour/include/Makefile + harbour/include/hbgfx.ch + harbour/include/hbgfxdef.ch + added hbgfx.ch, hbgfxdef.ch and missing tbrowse.ch * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c + added hb_gtGfxPrimitive(), hb_gtGfxText() - it's a work in progress now this functions works like in xHarbour allow to draw graphic objects in GTs which can do that (GTALLEG, GTXWC) but I plan to introduce some modifications in them. + harbour/tests/gfx.prg + added test program by Mauricio Abre (borrowed from xHarbour) which illustrates GFX usage * harbour/include/hbdefs.h * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/vm/hvm.c * minor modification in some harbour func name and symbol scope definitions - I'd like to keep them in one place for easier manipulations in the future * harbour/source/compiler/harbour.y * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/utils/hbpp/hbpp.c * clean a little bit recent modification it should resolve the problem with GPFs reported by users and some possible memory leaks when preprocessing/compilation process is interrupted. Ryszard I decided to always store copy of file name in open files structure - it can be used by compiler, preprocessor, PPLIB and HBPP and IMHO in all cases it should have valid and always initialized in the same way members for easier manipulation. In the future I'd like to clean the whole PP usage. I will need to keep all compiler and PP static variables in one structure pointed by pointer in thread local data or passed to called functions for MT support. * harbour/source/rtl/cdpapi.c * set 0 at the end of destination string in hb_cdpStrnToUTF8() * harbour/source/rtl/dateshb.c ! fixed possible GPF in CTOD when badly formated date is given * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtxwc/gtxwc.h * changed the selection code - now both PRIMARY and CLIPBOARD selections are set by Harbour. It should work with any programs which uses any of them but I'd like to remove one of this selections or give user a way to chose the preferred one. I can also add support for automatic setting/clearing/pasting PRIMARY selection by GTXWC with mouse and shift key. I'm waiting for opinions. + added basic support for GFX operations + harbour/source/rtl/gtalleg/Makefile + harbour/source/rtl/gtalleg/fixedth.sfc + harbour/source/rtl/gtalleg/gtalleg.c + harbour/source/rtl/gtalleg/ssf.c + harbour/source/rtl/gtalleg/ssf.h + added new GT by Mauricio Abre based on Allegro cross platform graphic libraries. Code borrowed from xHarbour and modified by my for new Harbour GT API. 2006-02-28 17:00 UTC+0100 Ryszard Glab * include/hbpp.h * source/pp/ppcore.c * source/pp/pptable.c * fixed handling of optional clauses in command/translate e.g. #command PRINT TO => [:=]PrintPage() * fixed <-x-> match marker * added fixed length of command/translate/define name to speed translation * source/compiler/harbour.l * fixed GPF in handling of '¯o.tekst' syntax (introduced recently) 2006-02-22 21:25 UTC-0400 Alejandro de Garate * harbour/.cvsignore restored to previous 1.9 revision 2006-02-22 15:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * harbour/source/rtl/gtdos/gtdos.c * fixed casting and typos for DOS OpenWatcom compilation 2006-02-21 23:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added support for -L in xhbmk * set the highest priority to user libraries specified by -l linker option * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * added UTF8 related functions: hb_cdpUTF8StringLength(), hb_cdpStringInUTF8Length(), hb_cdpUTF8ToStrn(). * Changed name of hb_cdpStrnToUTF() function to hb_cdpStrnToUTF8() to avoid confusions with UTF16 * harbour/include/hberrors.h * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/harbour.c + added to new errors (memory corruption and memory overflow) for compiler level FM statistic. * harbour/source/compiler/hbfix.c ! fixed stupid typo in copy and past which broke conditional jump reduction * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtwin/gtwin.c * added new method to change screen buffer state (hot/cold/scroll) and use them in some GTs. * harbour/source/rtl/gx.c * use screen dimensions as default values for SETMODE() not maxrow()/ maxcol() * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtxwc/gtxwc.h * added support for clipboard * added support for cursor shape - like in DOS/VGA * harbour/source/rdd/workarea.c * harbour/source/rdd/dbffpt/dbffpt1.c * cleaned some redundant extern declarations * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * removed some unnecessary #include ... * harbour/source/rtl/str.c * harbour/source/rtl/transfrm.c * harbour/source/vm/itemapi.c ! fixed some small incompatibilities with Clipper in number to string conversions 2006-02-17 10:10 UTC+0100 Ryszard Glab * include/hbcomp.h * source/compiler/Makefile * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbident.c * even more fixes to memory leaks in the compiler (all compiler structures are deallocated on exit now, really :) 2006-02-16 14:40 UTC+0100 Ryszard Glab * include/hbcomp.h * include/hbexpra.c * source/compiler/Makefile * source/compiler/expropta.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbgenerr.c * all compiler structures are deallocated on exit now 2006-02-15 20:24 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/hrbdll.bc * harbour/hrbdll.vc * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt * harbour/source/codepage/Makefile + harbour/source/codepage/cp_tpl.c + harbour/source/codepage/cpbg866.c + harbour/source/codepage/cpbgiso.c + harbour/source/codepage/cpbgwin.c + harbour/source/codepage/cpeldos.c + harbour/source/codepage/cpelwin.c + harbour/source/codepage/cpesdos.c + harbour/source/codepage/cpesmwi.c + harbour/source/codepage/cpeswin.c + harbour/source/codepage/cpgedos.c + harbour/source/codepage/cpgewin.c + harbour/source/codepage/cphu852.c + harbour/source/codepage/cphuiso.c + harbour/source/codepage/cphuwin.c + harbour/source/codepage/cppl852.c + harbour/source/codepage/cppliso.c + harbour/source/codepage/cpplmaz.c + harbour/source/codepage/cpplwin.c + harbour/source/codepage/cppt850.c + harbour/source/codepage/cpptiso.c + harbour/source/codepage/cpru866.c + harbour/source/codepage/cprukoi.c + harbour/source/codepage/cpruwin.c + harbour/source/codepage/cpsl437.c + harbour/source/codepage/cpsl852.c + harbour/source/codepage/cpsliso.c + harbour/source/codepage/cpslwin.c + harbour/source/codepage/cpsrwin.c - harbour/source/codepage/cdp_tpl.c - harbour/source/codepage/cdpbg866.c - harbour/source/codepage/cdpbgiso.c - harbour/source/codepage/cdpbgwin.c - harbour/source/codepage/cdpeldos.c - harbour/source/codepage/cdpelwin.c - harbour/source/codepage/cdpesdos.c - harbour/source/codepage/cdpesmwi.c - harbour/source/codepage/cdpeswin.c - harbour/source/codepage/cdpgedos.c - harbour/source/codepage/cdpgewin.c - harbour/source/codepage/cdphu852.c - harbour/source/codepage/cdphuiso.c - harbour/source/codepage/cdphuwin.c - harbour/source/codepage/cdppl852.c - harbour/source/codepage/cdppliso.c - harbour/source/codepage/cdpplmaz.c - harbour/source/codepage/cdpplwin.c - harbour/source/codepage/cdppt850.c - harbour/source/codepage/cdpptiso.c - harbour/source/codepage/cdpru866.c - harbour/source/codepage/cdprukoi.c - harbour/source/codepage/cdpruwin.c - harbour/source/codepage/cdpsl437.c - harbour/source/codepage/cdpsl852.c - harbour/source/codepage/cdpsliso.c - harbour/source/codepage/cdpslwin.c - harbour/source/codepage/cdpsrwin.c * Renamed codepage files (cdp*.c -> cd*.c) * Updated init code for all remaining codepages. 2006-02-15 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed memory leak I introduced changing Ryszard modifications * harbour/ChangeLog + harbour/ChangeLog.015 * new ChangeLog file created * harbour/harbour.spec * harbour/bin/hb-func.sh * some modification in xhb* scripts building - adding passing predefined compiler and linker switches 2006-02-15 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * do not line striping optimization when -l compiler switch (suppress line number information) is set - in such case it's only waste of time * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c * harbour/source/compiler/cmdcheck.c * harbour/source/pp/pplib.c * harbour/source/rtl/filesys.c * harbour/source/rtl/set.c * cleaned the usage of hb_fsAddSearchPath()/hb_fsFreeSearchPath() It fixes few possible memory leaks and GPF traps. 2006-02-14 18:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * enabled FM statistic by default when compiled without: -DHB_FM_STATISTICS_OFF after last Ryszard modification there is no memory leak in valid .prg code so this may help us to find some unknown problems. * harbour/include/hbcomp.h * harbour/source/compiler/hbpcode.c * formatting * harbour/source/rdd/dbcmd.c * fixed GPF in DBF2TEXT when work are is not in use. * harbour/source/rdd/dbfntx/dbfntx1.c * disabled validation of unused index pages - Clipper left them dirty so xHarbour reported that index is corrupted * harbour/source/rtl/dbdelim.prg * generate 2001 RT error when work area is not in used() state before export file is created. * harbour/source/rtl/errorapi.c * set DOSERROR() to oError:OSCODE when RT error is generated It's documented Clipper behavior. * harbour/source/vm/hvm.c * some fixes in new operators and removed unnecessary long->double->long conventions 2006-02-14 16:10 UTC+0100 Ryszard Glab * include/hbapiitm.h * include/hbexpra.c * include/hbexprc.c * include/hbexprop.h * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c * source/vm/itemapi.c * fixed code for adding date and numeric values (introduced in my last commits) * removed hb_itemPutBHLong (use hb_itemPutNInt instead) * added more optimization for localvar+=integer using HB_P_LOCALNEARADDINT pcode (borrowed from xHarbour) 2006-02-14 14:40 UTC+0100 Ryszard Glab * include/hbexprc.c * source/compiler/exproptc.c * source/macro/macroc.c * disabled optimalization of compound assignment in macro compiler 2006-02-14 13:40 UTC+0100 Ryszard Glab * include/hbexprc.c * source/compiler/exproptc.c * source/macro/macroc.c * disabled optimalization of compound assignment for fields 2006-02-14 11:40 UTC+0100 Ryszard Glab * include/hbapiitm.h * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * include/hbpcode.h * source/common/expropt1.c * source/common/hbfsapi.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/pp/ppcore.c * source/vm/hvm.c * source/vm/itemapi.c * fixed many more memory leaks in the compiler (the Harbour code compiles itself with no memory leaks). However there are still leaks when the compiler aborts compilation due to errors. + added optimalization of '+=' '-=' '*=' '/=' operators + added hb_itemGetNDDec(), hb_itemPutHBLong(), hb_itemPutNumType() borrowed from xHarbour NOTE: new pcodes: HB_[PLUS|MINUS|MULT|DIV]EQ HB_[PLUS|MINUS|MULT|DIV]EQPOP recompile all sources. 2006-02-12 14:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbdefs.h * cleaned BOOL usage * harbour/include/hbcomp.h * harbour/include/hbpp.h * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/pp/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/source/pp/pragma.c * keep functions and public variables definitions in header files. Do not use any extern ... in source code to aviod possible mistakes ! fixed some mistakes in BOOL/int declarations * use hb_fsFreeSearchPath() to free allocated path list * harbour/source/compiler/harbour.c * keep functions and public variables definitions in header files. + added memory statistic module - it's disabled now because too much errors is reported. Ryszard I hope it will help in locating memory leaks in compiler. * begun of cleaning static variables to make compiler code ready for reentrance. * harbour/source/rtl/gtstd/gtstd.c ! fixed cursor positioning * harbour/config/os2/gcc.cf + added socket library + harbour/tests/ctwtest.prg + added CTWIN test program + harbour/contrib/dot/Makefile + added GNU Makefile 2006-02-12 11:15 UTC+0100 Antonio Linares * harbour/include/hbdefs.h * minor fix to avoid conflict with Darwin and Cocoa BOOL use 2006-02-11 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * do not strip redundant line information when compiled for debug (-b) * harbour/source/compiler/harbour.y ! fixed typo in hb_compSequenceFinish() call - Ryszard please check me. using iNumber instead of lNumber caused that on big endian machines begin sequence / endsequence block was stripped * harbour/source/compiler/hbdead.c ! fixed stupid typo in counting length of debug variable/module names 2006-02-11 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile * added missing header files * harbour/source/compiler/harbour.c * added support for @filelst[.clp] - partially borrowed from xHarbour It's not exactly the same as in Clipper because Clipper creates one final file when [x]Harbour series of files. To make it like in Clipper we will have to add support from more then one symbol table in the final file. It will be also useful for proper implementation of: DO Now in [x]Harbour it works like #include .prg when in Clipper also new symbol table is created for included files. The difference can be easy sync when current file has static functions with exactly the same names as the one included by DO - compilation fails. * add HB_P_ENDBLOCK to PCODE with codeblock body before run any optimization - it fixes pcode tracing in jump optimization and also allow to make some validation of generated PCODE * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * removed not longer necessary temporary alias creation. Harbour support empty aliases ("") like Clipper. * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rtl/hbgtcore.c * casting * harbour/source/rtl/gtos2/gtos2.c ! fixed hb_gt_os2_GetScreenContents() 2006-02-11 12:40 UTC+0100 Ryszard Glab * source/compiler/harbour.c * source/compiler/harbour.y * source/pp/ppcore.c * added tracing code * fixed one more memory leak 2006-02-09 15:25 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed to release memory allocated with the proeprocessor * tests/mousetst.prg * minor fix after latest Przemek changes * source/pp/ppcore.c * fixed bug in processing the list of optional repeatable code reported by Lorenzo 2006-02-09 12:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/bld.cmd + added -ldbffpt, -lhbsix, -lhsx libraries for GCC OS2 linking * harbour/config/os2/gcc.cf * harbour/contrib/libct/files.c + some cleanups for OS2 - please check me. * harbour/source/rtl/gtos2/gtos2.c + implemented hb_gt_os2_GetScreenContents() - please check me * harbour/include/Makefile + added missing hbfixdj.h * harbour/source/rtl/gtdos/gtdos.c ! for screen synchronization after PostExt() 2006-02-09 03:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtapi.c * minor modifications for GTs which may no flush data in PreExt() * harbour/source/rtl/gtwin/gtwin.c ! fixed Init() code by adding missing SUPER_INIT() * modified a little bit PreExt() and PostExt() methods 2006-02-08 20:23 UTC+0100 Antonio Linares * makefile.nt * makefile64.nt * updated with recent changes 2006-02-08 18:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c + added PreExt() and PostExt() methods 2006-02-08 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! warning I introduced in last commit cleanup 2006-02-08 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtdos/gtdos.c * updated copyright message with authors from removed mousedos.c * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/compiler/harbour.c ! fixed BOLL / int typos * harbour/source/vm/eval.c * minor modification * harbour/source/rdd/dbf1.c * enable 'Y' (currency) fields - translated to HB_IT_DOUBLE * harbour/source/rdd/dbcmd.c ! fixed some wrong behavior in SORT parameters setting in __dbArrange() * harbour/source/rdd/dbsort.prg ! removed hack with COPY TO ... when lastrec()==1 which introduced new bugs * harbour/source/rdd/hbdbsort.c ! fixed sort output when only one record is sorted There are still some problems with sort like sorting numeric fields as ASCII strings or using strcmp what will not work with binary fields but all all this code should be rewritten due to unacceptable performance so I left it as is to some spare time in the future. * harbour/source/rtl/gtwin/gtwin.c ! save cursor position at startup * harbour/source/rtl/net.c * harbour/source/rtl/gtos2/gtos2.c * harbour/contrib/hgf/os2pm/os2pm.c * some warnings cleaned and updates for new API in OS2 build 2006-02-07 20:03 UTC+0100 Antonio Linares * source/vm/mainwin.c * minor fix 2006-02-07 18:20 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/vm/mainwin.c ! Fixed previous commit. 2006-02-07 12:20 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * makefile.bc + Updated for latest changes. * bin/bld.bat + Added codepage lib. * source/codepage/cdpbg866.c * source/codepage/cdpbgiso.c * source/codepage/cdpbgwin.c + Added two missing chars to BG alphabet. * source/vm/arrays.c * source/vm/mainwin.c * source/rtl/hbgtcore.c * include/hbapigt.h * source/rtl/gtpca/gtpca.c * source/rtl/gtstd/gtstd.c ! Fixed recent compiler warnings. 2006-02-05 09:47 UTC+0200 Chen Kedem * source/rtl/gtos2/gtos2.c * Restore my copyright notice for functions used to be in mouseos2.c 2006-02-04 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_bsd.sh * harbour/make_drw.sh * harbour/make_gnu.sh * harbour/make_rpm.sh * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/config/c.cf * harbour/config/global.cf * harbour/config/rules.cf * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/config/linux/owatcom.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/watcom.cf * include ADSRDD by default in RPMs * updated for new RPM which does not accept some old tags * set -fPIC on 64bit platforms + added /etc/harbour/hb-charmap.def * updated for new GT system and drivers * harbour/contrib/dot/pp.prg * harbour/contrib/dot/pp_harb.ch * use _APMAIN as startup function * cleaned direct access to item internals * harbour/contrib/libct/Makefile + harbour/contrib/libct/ctwfunc.c + harbour/contrib/libct/ctwin.c + harbour/contrib/libct/ctwin.h * added CT3 like Window System - it's a GT driver which inherits from the existing one and adds CTW functionality * harbour/contrib/libct/screen1.c * updated for GTAPI modifications * harbour/contrib/libnf/Makefile * harbour/contrib/libnf/chdir.c * harbour/contrib/libnf/mkdir.c * harbour/contrib/libnf/rmdir.c * use hb_fs*() API functions instead of calling DOS interrupts Now NF dir functions works on all platforms - it will be nice to update other functions too. * harbour/contrib/libnf/dispc.c * harbour/contrib/libnf/ftattr.c * updated for GT API modifications, some of this code still depends on EGA/VGA video buffer so will work only if user will force in GT using it - it will be nice to rewrite them * harbour/contrib/odbc/odbc.c * harbour/contrib/ole/ole2.c * casting and cleaning direct access to item internals * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/adsmgmnt.c * synced with xHarbour * harbour/include/Makefile * added new header files + harbour/include/hbgtinfo.ch + added GTI_* defintions for hb_gtInfo() function. This function works in similar way to dbInfo() in RDD. The GTI_* definitions are taken from xHarbour "as is" and they should be cleaned - not all functionality are supported in Harbour and some others should be implemented in differ way then in xHarbour. + harbour/include/hbgtcore.h * harbour/include/hbapigt.h * new GTAPI hbgtcore.h file should not be included by user code it's only for internal use in GT drivers * HB_inkey_enum changed to int - this is bit field not enumerated type. Many of C/C++ compilers forbid bit operations on enum types and forcing it by casting which finally exceeds the enum range is defined as bug because it may badly interacts with some compiler optimizations * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapierr.h * harbour/include/hbapifs.h * harbour/include/hbapiitm.h * harbour/include/hbapilng.h * harbour/include/hbapirdd.h * harbour/include/hbdate.h * harbour/include/hbdefs.h * harbour/include/hbinit.h * harbour/include/hbpcode.h * harbour/include/hbrdddbf.h * harbour/include/hbset.h * harbour/include/hbstack.h * harbour/include/hbvm.h * harbour/include/hbvmopt.h * harbour/include/hbvmpub.h * separated internal and external API. Now the definitions for internal HVM structures and functions are excluded by default they could be enabled if user include hbvmopt.h before other header files. Such operation should be done _ONLY_ by core code - if 3-rd party developers make sth like that then it's for their own risk and such code may stop to work with next Harbour versions. Without hbvmopt.h the internal structures like HB_ITEM, HB_DYNS, ... are mapped to 'void' so there is no way to access their members so we can modify them in the future without afford for 3-rd party code. There is one small exception 'type' should be the first member for HB_ITEM structure because I used a small ugly hack in HB_IS_*() macros with castin PHB_ITEM to HB_TYPE* - it works without speed overhead but if you think that it will be better/cleaner to not use such tricks then it's enough to change HB_ITEM_TYPE() definitions in hbvmpub.h - see note. * cleared the usage of HB_EXPORT - to avoid problems with some C/C++ compilers we agreed that the only one common way of using HB_EXPORT is adding it ad begining of declaration - please keep this convention in the future. + added new functions: hb_extIsObject(), hb_codeblockId(), hb_idleSleep(), hb_fsGetOsHandle(), hb_dynsymFindSymbol(), hb_dynsymGetSymbol(), hb_dynsymSymbol(), hb_dynsymName(), hb_dynsymMemvarHandle(), hb_dynsymAreaHandle(), hb_dynsymSetAreaHandle() * changed hb_arrayClone() declaration to: PHB_ITEM hb_arrayClone( PHB_ITEM pArray ) * changed hb_arrayFromParams() declaration to: PHB_ITEM hb_arrayFromParams( int iLevel ) The previous version needed a pointer to stack relocatable area so any stack resizing could cause GPF. * harbour/include/inkey.ch * added definitions for extended mouse keys/events and some key combinations * harbour/source/codepage/uc1250.c * harbour/source/codepage/uc1251.c * harbour/source/codepage/uc1253.c * harbour/source/codepage/uc1257.c * harbour/source/codepage/uc737.c * harbour/source/codepage/uc850.c * harbour/source/codepage/uc852.c * harbour/source/codepage/uc866.c * harbour/source/codepage/uc88591b.c * harbour/source/codepage/uc8859_1.c * harbour/source/codepage/uc8859_2.c * harbour/source/codepage/uc8859_5.c * harbour/source/codepage/uckoi8.c * harbour/source/codepage/uckoi8u.c * harbour/source/codepage/ucmaz.c * updated unicode values for characters in rabge 1-31 to keep DOS compatibility * harbour/source/common/expropt1.c * harbour/source/common/hbarch.c * harbour/source/common/hbdate.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * keep HB_EXPORT at the beginning of function declaration * harbour/include/hbpcode.h * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/hbfix.c + harbour/source/compiler/hbdead.c * harbour/source/compiler/hbpcode.c + harbour/source/compiler/hbstripl.c % rewritten jump optimization ! fixed some minor problems * do not optimize jumps and local variable access by shorter PCODE version and HB_P_NOOP when jump optimization is disabled, this is a note I left in source code in few places: /* * optimizing jumps here by shorting them and setting HB_P_NOOPs * only slow down the compilation process for three reasons: * 1. When it's dummy jump to next instruction we need two passes * in hb_compOptimizeJumps() to fully remove it * 2. hb_compOptimizeJumps() also make jump shortcutting in each pass * 3. When Jump Optimization is disabled (-kJ) then it cause slowness * at runtime because we will have more HVM loops: first for the * shorter jump and next for the HB_P_NOOP PCODE(s) * [druzuz] */ + added support for multi passes in jump/dead code elimination (hb_compOptimizeJumps()) By default is set upto three passes. Now hb_compOptimizeJumps() keeps all compiler internal data clean on exist and can be called any times and does not change other compiler's functions behaviors + added dummy jumps elimination + added optimization for: IF .T. IF .F. WHILE .T. WHILE .F. etc. * restored empty BEGIN/RECOVER sequence block elimination if Jump Optimization is enabled then it marks the block with HB_P_NOOPS else it cut the generated PCODE + added dead code eliminator (new functions hb_compCodeTraceMarkDead()/ hb_compPCodeTrace() - it works only when Jump Optimization is not disabled) As a result of the above we have smaller and faster PCODE. I do not think that we will have meta code support in the reasonable time and because I need some valid compiler data/structures like updated table of all jumps for real C code (not PCODE in .c files) generation then I decide to make some modifications and the above is in practice a side effect of this work. * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/rddord.prg * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/nulsys/nulsys.c * synced with my modifications in xHarbour * updated for API modifications * harbour/source/rtl/Makefile + added gtsys.c, gtfunc.c, hbgtcore.c * harbour/source/rtl/accept.c * harbour/source/rtl/alert.prg * harbour/source/rtl/cdpapi.c * harbour/source/rtl/console.c * harbour/source/rtl/dates.c * harbour/source/rtl/do.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorsys.prg * harbour/source/rtl/file.c * harbour/source/rtl/fserror.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/idle.c * harbour/source/rtl/math.c * harbour/source/rtl/oldclear.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/strpeek.c * harbour/source/rtl/valtype.c * harbour/source/rtl/xsavescr.c * updated for API modifications * cleaned some compiler warnings * harbour/source/rtl/filesys.c + added hb_fsGetOsHandle() * updated for API modifications * harbour/source/rtl/gt.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/gtapiu.c + harbour/source/rtl/gtfunc.c + harbour/source/rtl/gtsys.c + harbour/source/rtl/hbgtcore.c * harbour/source/rtl/inkey.c * harbour/source/rtl/maxrow.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/setposbs.c * harbour/source/rtl/shadow.c * new GT API code * harbour/source/rtl/saverest.c * changed default behavior in SEVESCREEN/RESTSCREEN with parameters out of screen range to be Clipper compatible. Added last logical parameter to keep previous behavior for programs which begins to use it. * harbour/source/rtl/seconds.c * include missing header file to fix C++ compilation * make hb_secondsCPU global function * harbour/source/rtl/set.c * make HB_SET_TYPEAHEAD Clipper compatible * harbour/source/rtl/gtcgi/Makefile * harbour/source/rtl/gtcgi/gtcgi.c - harbour/source/rtl/gtcgi/mousecgi.c * rewritten for new GT API some detail behaviors has been changed but I think the current implementation is better for CGI programs output - please check and fix me if necessary * harbour/source/rtl/gtcrs/Makefile - harbour/source/rtl/gtcrs/charmap.prg + harbour/source/rtl/gtcrs/chrmap.c - harbour/source/rtl/gtcrs/debug.map - harbour/source/rtl/gtcrs/eterm.map * harbour/source/rtl/gtcrs/gtcrs.c + harbour/source/rtl/gtcrs/gtcrs.h + harbour/source/rtl/gtcrs/hb-charmap.def - harbour/source/rtl/gtcrs/kbdcrs.c - harbour/source/rtl/gtcrs/keymap.prg - harbour/source/rtl/gtcrs/linux.map - harbour/source/rtl/gtcrs/mousecrs.c * new GTCRS based on my xHarbour and Flagship curses code Please not that at runtime it looks for a file /etc/harbour/hb-charmap.def where user can fully tune output for his terminal. This file is included with proper path in binaries created by make_rpm.sh and make_tgz.sh Ryszard I've removed some of your extensions which are no longer necessary and some other (keyboard sequence redefinition) should be done in a little bit differ way. I would like to talk about it when you test current code. Added support for extended mouse keys (middle button and wheel). * harbour/source/rtl/gtdos/Makefile * harbour/source/rtl/gtdos/gtdos.c - harbour/source/rtl/gtdos/mousedos.c * rewritten for new GT API Fixed some small problems, finished mouse code which for DJGPP is fully Clipper compatible with real mouse SAVE/RESTORE code. For other compilers it should be updated depending on memory model and used DPMI driver (if any). * harbour/source/rtl/gtos2/Makefile * harbour/source/rtl/gtos2/gtos2.c - harbour/source/rtl/gtos2/mouseos2.c * rewritten for new GT API Fixed some problems and finished the mouse code. Please test it - I made all modifications without OS2 and I was not able to make any test. I'm interesting in information if it works and the speed difference - f.e. results from tests/vidtest.prg run with previous and current version. * harbour/source/rtl/gtpca/Makefile * harbour/source/rtl/gtpca/gtpca.c - harbour/source/rtl/gtpca/kbdos2.gcc - harbour/source/rtl/gtpca/mousepca.c * rewritten for new GT API and finished so now it's full functional GT driver I'm interesting in keyboard sequences used by PC-ANSI drivers in DOS so it will be possible to implement also support for extended keys input. * harbour/source/rtl/gtsln/Makefile * harbour/source/rtl/gtsln/gtsln.c + harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/rtl/gtsln/mousesln.c * rewritten for new GT API basing on current xHarbour code added support for slang 1.4x patched for UNICODE (Debian patches used by most of current Linux distributions) and slang 2.x - It's unicode ready, tries to detect terminal mode (utf-8/iso) at startup and switch the internal logic to iso/unicode mode. When compiled with slang 1.4x or 2.x and terminal is in UTF-8 it can display all characters like in DOS if only used font have them or good fall-back table is loaded (f.e. the one created by QRCZAK) Added support for extended mouse keys (middle button and wheel). * harbour/source/rtl/gtstd/Makefile * harbour/source/rtl/gtstd/gtstd.c - harbour/source/rtl/gtstd/mousestd.c * rewritten for new GT API Now it can work as full screen GT driver redrawing the previous screen contents from internal GT core buffers. I run with this GT some of my programs and they work quite well ;-) of course without colors. * harbour/source/rtl/gtwin/Makefile * harbour/source/rtl/gtwin/gtwin.c - harbour/source/rtl/gtwin/mousewin.c * updated for new GT API + harbour/source/rtl/gtxwc/Makefile + harbour/source/rtl/gtxwc/gtxwc.c + harbour/source/rtl/gtxwc/gtxwc.h * new XWindow Console GT driver based on my and Giancarlo Niccolai code form xHarbour - this GT can work in XWindow environment only and create its own window for console output. It delays the initialization to the moment when user try to display anything on the screen so even without X Window system programs which uses this GT can work as long as use only outstd/outerr output. * harbour/source/vm/arrays.c * updated for API modifications + added hb_arrayId(), * changed hb_arrayClone() declaration to: HB_EXPORT PHB_ITEM hb_arrayClone( PHB_ITEM pSrcArray ) * changed hb_arrayFromParams() declaration to: PHB_ITEM hb_arrayFromParams( int iLevel ) * harbour/source/vm/arrayshb.c * updated for API modifications + added new parameter iLevel to function HB_APARAMS() * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/garbage.c * harbour/source/vm/maindll.c * harbour/source/vm/maindllh.c * harbour/source/vm/maindllp.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * harbour/source/vm/memvars.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * updated for API modifications * harbour/source/vm/codebloc.c * updated for API modifications + added hb_codeblockId() * harbour/source/vm/dynsym.c * updated for API modifications + added new functions: hb_dynsymFindSymbol(), hb_dynsymGetSymbol(), hb_dynsymSymbol(), hb_dynsymName(), hb_dynsymMemvarHandle(), hb_dynsymAreaHandle(), hb_dynsymSetAreaHandle() * harbour/source/vm/eval.c * updated for API modifications * call hb_vmPushState()/hb_vmPopState() in hb_itemDo()/hb_itemDoC() functions - it's necessary to make HVM reentrant safe. * harbour/source/vm/extend.c * updated for API modifications + added hb_extIsObject() similar to existing hb_extIsArray() * harbour/source/vm/hvm.c * updated for API modifications + added new functions: hb_vmPushState(), hb_vmPopState() which save/restore HVM state (the top stack value which can be processed and return item and maybe sth else in the future) making HVM ready for reentrant. * harbour/source/vm/itemapi.c * updated for API modifications + added new function: HB_EXPORT PHB_SYMB hb_itemGetSymbol( PHB_ITEM pItem ); ! fixed bug in hb_itemPutNInt() * harbour/tests/Makefile * harbour/utils/hbdoc/Makefile * harbour/utils/hbextern/Makefile * harbour/utils/hbmake/Makefile * harbour/utils/hbrun/Makefile * harbour/utils/hbtest/Makefile - removed badly added: dbfntx, dbfcdx, dbffpt, hbsix libraries. what broke GNU make compilation for some compilers This libraries should be included automatically when RDD lib is included by *.cf files Summary: The whole patch (cvs diff -uN) is ~1.5MB length and I cannot describe everything in details - sorry but it was too much modifications in one commit so now just some of general notes. The header files included as is does not have any information about internal HVM structures and some functions. In practice only HB_SYMB is public and it has to be public for .c files generated from .prg so I force the fixed size of this structure (alignment independent) by redefining some members to union with void * - it's a little bit ugly trick but it effectively eliminates the problem of linking binaries compiled with differ alignment C compiler switches. The structures like HB_ITEM, HB_CODEBLOCK, HB_STACK, HB_DYNS are not longer defined and pointers to the defined as void * - like in Clipper the ITEM structure. It caused that I had to add some new functions to make some operation still possible to implement. If I missed sth and any of you will have a problem with your code then please inform me about it and after a small discussion on Harbour developers list we can decide if other functions should be added. The internal API is still accessible. It's enough to include "hbvmopt.h" file before other header files to enable it. Now only files in source/vm directory include it. The 3-rd party code which does not include hbvmopt.h (or tries to set some internals macros) should be safe for future HVM modifications and will work also with new binaries so 3-rd party library developers should remember about it. If they won't then it's only their and their clients problem not Harbour developers. With this modifications I also create new GT model which is similar to the one used by RDD with multi inheritance. It can be quite easy extended to simultaneously load more then one GT subsystem (sth like work areas in RDD) but I left it for the future when someone may need it. hbapigt.h file now contains only information about public functions and does not have any code which depends on current internal implementation - it should be backword compatible as long as somone did not try to use internal GT functions. The internal GT system use hbgtcore.h file which should not be included by 3-rd party code as long as someone will not make new GT driver. The internal GT code is new so I expect that it will be changed yet in the nearest future (I'm waiting for other developers feedback) and in such case any 3-rd party GTs will have to be updated. How it works: The base GT driver (GTNUL) is fully functional GT driver which makes all operations on memory buffer. After each screen write Flush() method is called which check for dispcount() and if it's 0 then call Refresh() method to update modified area by Redraw() method. This method is dummy in GTNUL and external output with this GT can be reached by outstd()/outerr() which are now redirected to GT methods. A simple GT driver may overload only Refresh() method to give full screen output. Application can use only this GT driver and it seems to be very good choice for GUI and background daemon/service programs. This GT is loaded at startup then all other GTs can be loaded later and inherit from the previously loaded GT drivers. The new GT driver can overload as much method as wants/needs. Now all GT operations are implemented as GT method so GT driver can easy change their default behavior, f.e. it may fully overload color parsing methods and use differ or extended to Clipper color definitions. I rewrote all existing GTs to work with new GT model. OS2 users - please test GTOS2 which I was not able to test and see the note in Redraw() method. If possible please make some speed tests. In fact now there is much more internal operations then it was before but because they are done on memory only then current code is much faster in this GT drivers which so far makes all operations on real video area. I made some tests with GTNUL and tests/vidtest.prg and the total overhead is minimal. Now dipbegin()/dispend() in practice does not cost anything so it gives additional speed improvement in application which extensively use it. More then one GT driver can be linked with final binaries and chose on application startup by //GT switch and/or environment variable HB_GT= In the RTL is new GT function GTSYS() which works in similar way to RDDSYS() in RDD subsystem and for linking default GT driver for given platform. When RTL is compiled the default GT driver is set to HB_GT_DEFAULT envvar and if not exist to HB_GT_LIB envvar and if it also does not exist to hard coded platfom GTs (see source/rtl/gtsys.c and source/rtl/Makefile for rules) Adding to source code: ANNOUNCE GTSYS disable linking the default GT driver and: REQUEST HB_GT_ for linking given () GT driver, f.e.: REQUEST HB_GT_WIN If you are working in SH environment (Linux and other *nixes users, DJGPP bash, MinGW shell then it's possible to use -gt switch in hblnk / hbmk scripts to force linking GT drivers (it could be repeated with different ) and the first one becomes the default one. F.e.: xhbmk -m -n -w -es2 -gtcrs -gtsln -gtstd -gtpca vidtest.prg Usually the GT driver are loaded at HVM startup but it's possible to load it later. I created new GT driver CTW which gives full CT3 like Window system. The CT3 extended driver change the behavior of some function in Clipper extended driver, f.e WRITECON() or SETPOS() with parameters out of screen range. So I implemented it CTW as RT GTs which is loaded when some of CTWIN function is used (f.e. WOPEN()/WBOARD()) and inherits from any existing GT driver. This is full CT3 WIN implementation with all detail behaviors I found (with some CT3 bug fixes). It does not have any CT3 limitations and can be used for any virtual screen/window size though I hardcoded CT3 limitation for backword compatibility. If somone will want to remove it then it will be enough to delete few lines from ctwin.c file. I'm not CTWIN Clipper user so maybe I missed some side effects in this driver and was not able to well test it so if you will find any incompatibilities then please inform me. THe default GT buffer uses 32bit character cell internally but in savescreen/restscreen it uses VGA compatible two bytes character cell. Some GT drivers may want to use differ character cell. Now GTCRS and GTSLN use 32bit character cell by default. They need additional information about character set (box/normal) to properly display box characters. It is possible to force in this GT drivers using Clipper compatible character cell by calling: hb_gtInfo( GTI_COMPATBUFFER, ) -> but in may cause that box drawing characters will be lost in some countries after RESTSCREEN(). It will depend on used code page. HB_GTINFO() is new function which works in similar way to DBINFO() in RDD. It allows to retrieve/change some of GT driver settings. GTI_* actions are defined in hbgtinfo.ch - it has all GTI_* definitions used in xHarbour. Now in Harbour only few of them are implemented. The new three .prg functions: HB_SETKEYCP( [,] ) HB_SETDISPCP( [,] [,] ) HB_SETTERMCP( [,] [,] ) have been added. They set automatic input (HB_SETKEYCP) and output (HB_SETDISPCP) (or both: HB_SETTERMCP) character translation. They are also important for some GTs which informing them about used internal code page for unicode translation (GTXWC, GTSLN) and/or chosing proper character set (standard/alternate) for letters and other (f.e. box drawing characters) (GTCRS, GTSLN), is encoding used on external (terminal) side is encoding used internally, if not given then current code page set HB_SETCODEPAGE() is used. some of GTs which uses unicode output may ignore is optional parameter which interacts with dispbox() output disabling switching to alternate character set in some GTs. It effectively causes that if internal (host) code page contains some letters on the box char positions then they will be shown also by box drawing functions like dispbox() instead of CP437 characters. In some cases it could be useful. By default lBoxChar is not set and GTs which can switch between standard and alternate character set (GTCRS, GTSLN) will try to use alternate character set for box drawing functions. Victor: I removed some of your functions. They can be very easy implemented with hb_gt_GetChar()/hb_gt_PutChar() but I do not want to make them part of documented external API because some GT drivers may want to use absolutely differ color definitions and they will stop to work so I do not want to make this functions documented external API. Ryszard: Setting alternative debug keys does not longer work. I like such possibilities but it should be implemented in differ way to f.e. using HB_GTINFO interface to allow low level GT driver extensions, f.e. in *nixes using CTRL+[A-Z] and SIGINT, SIGQUIT, SIGTSTP signals for real asynchronous setting of debug/cancel flag without keyboard polling from main HVM loop. I would like to discus about such more general solution. *** Please updated non GNU make files *** 2006-02-03 15:56 UTC+0100 Antonio Linares * makefile.nt * makefile64.nt + added modules strpeek and dynlibhb 2006-02-03 15:30 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * source/rtl/filesys.c * Harbour 64 bits required fix 2006-01-09 14:50 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c * fixed to release the memory if macro compiled code contains a variable or a function reference * source/rtl/filesys.c * added missing '(' to copile correctly on UNIX'es 2005-12-28 13:05 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * vm/maindll.c + Added new functions HBDLLENTRY1() and HBDLLENTRY2() These function allow to call a Harbour (self contained) DLL and provide it one or two Harbour items as parameters. A HBDLLENTRYN() that allows optionally N parameters would be valuable too. 2005-12-02 17:12 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * include/hbmath.h ! Fixed a few declarations to be in sync with the implementation. (Thanks Chen) 2005-11-27 11:20 UTC+0200 Chen Kedem * doc/en/math.txt * Rename HB_MATHERRMODE() --> HB_MATHERMODE(), HB_MATHERRORBLOCK() --> HB_MATHERBLOCK(), math.ch --> hbmath.ch * Some formating to 76 characters per line 2005-11-24 23:24 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * include/hbpcode.h + Comment added about adding new pcodes at the end of the list for compatibility. * source/rtl/filesys.c + Added hb_fsSetDevMode() Unix branch added (thx Przemek) * tests/mathtest.prg * source/rtl/math.c ! Fixed prev commit to comply with 10char function name rule: HB_MATHERRMODE() -> HB_MATHERMODE() HB_MATHERRORBLOCK() -> HB_MATHERBLOCK() * source/rtl/seconds.c ! hb_secondsCPU() move inside FlagShip guard instead of HB_EXTENSION. * hb_secondsCPU() made static (Harbour level function helper only with non-std name). * source/vm/dynlibhb.c * include/hbextern.ch * LIBLOAD(), LIBFREE() moved (back) to Harbour namespace: HB_LIBLOAD(), HB_LIBFREE() + Added these functions to hbextern.ch * source/rtl/symbol.prg * source/vm/dynsym.c * include/hbextern.ch * Internal function names renamed to comply and to not collide with existing ones (mistake in prev commit). + tests/symbolt.prg ; Missed from prev commit. 2005-11-22 10:31 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/symbol.prg * source/vm/dynsym.c * include/hbextern.ch ! Moved and renamed two functions from BEGINDUMP to their proper place. GETSYMBOLPOINTER() -> __DYNSGETPOINTER() GETSYMBOLNAME() -> __DYNSGETNAME() + Added the two functions to hbextern.ch + TOFIX added to symbol.prg to remove the remaining one C function inside BEGINDUMP. (Antonio, can you take a look?) 2005-11-22 10:08 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * doc/en/hb_apifs.txt ! Fixed doc for hb_fsSetDevMode() * source/rtl/filesys.c + Partially undone prev commit, so that now it gives unreferenced var warnings for the not-implemented platform branch. * tests/bldtest/bldtest.c + Added missing CVS ID. * samples/guestbk/Makefile * samples/guestbk/bld_b32.bat * samples/hscript/Makefile * samples/hscript/bld_b32.bat * samples/misc/Makefile * samples/pe/Makefile * tests/Makefile * utils/hbdoc/Makefile * utils/hbextern/Makefile * utils/hbmake/Makefile * utils/hbrun/Makefile * utils/hbtest/Makefile + Added missing dbf*, hbsix libs. Could not test GCC because MingW build is broken. 2005-11-22 02:22 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * makefile.bc * updated to compile source/rtl/strpeek.c 2005-11-22 01:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.ch * enable HB_COMPAT_FLAGSHIP by default I hope it will not be a problem - if it does then I can disable it but in *nixes for a long time FlagShip was the only one Clipper alternative and some of its functions are quite often used in Clipper/FoxPro programs ported to *nixes so I'd want to keep it enabled at least when HB_OS_LINUX/HB_OS_UNIX is defined. * harbour/include/hbvm.h + added missing extern in hb_vmAtInit() and hb_vmAtExit() declarations * harbour/include/hbvmpub.h * formatting * harbour/source/rdd/dbcmd.c ! fixed the problem with fieldput(,nil) at phantom recrod reported by Victor * do not use C level HB_ITEM * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible GPF when "/an/existing/path/" was used as file name. No in DOS in such case it will casue RT error that file: /an/existing/path/. cannot be created (like in Clipper) but in other systems (f.e. Linux) which allow to use such file names it will work without any problems. * harbour/source/rdd/dbffpt/dbffpt1.c * do not use C level HB_ITEM * harbour/source/rtl/Makefile + harbour/source/rtl/strpeek.c + added STRPEEK and STRPOKE FS functions covered by HB_COMPAT_FLAGSHIP macro * harbour/source/rtl/philes.c ! fixed GPF when unshareing string item buffer with embedded 0 by using hb_itemUnShare() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemUnShare() - /* un-share given string item */ and hb_itemClone() - /* clone the given item */ 2005-11-21 18:03 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) - include/math.ch + include/hbmath.ch * include/hbmath.h * tests/mathtest.prg ! math.ch -> hbmath.ch (rename) 2005-11-21 17:44 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) + tests/simplet.prg * src/rtl/symbol.prg * Embedded example code moved to the test dir. * src/rtl/math.c * include/hbextern.ch * tests/mathtest.prg * doc/en/math.txt ! HB_ prefix added for non-Clipper functions. MATHERRMODE() -> HB_MATHERRMODE() MATHERRORBLOCK() -> HB_MATHERRORBLOCK() + Above two functions added to hbextern.ch * HB_MATHERRMODE() input validation logic moved to the lower level function. This is a step to make this a simple Set() * include/math.ch + HB_ prefix added. 2005-11-21 18:29 UTC+0200 Chen Kedem * source/rtl/math.c * Standardized public function names (to make HbExtern happy): HB_FUNC (MATHERRMODE) --> HB_FUNC( MATHERRMODE ) HB_FUNC (MATHERRORBLOCK) --> HB_FUNC( MATHERRORBLOCK ) HB_FUNC (LOG) --> HB_FUNC( LOG ) * utils/hbextern/hbextern.prg * Heavily modified to produce more accurate output 2005-11-14 16:42 UTC+0100 Antonio Linares * harbour/contrib/rdd_ads/makefile.vc - removed module ads0 2005-11-19 00:30 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * include/hbapifs.c * src/rtl/filesys.c ! hb_fsSetDevMode() fixed back to return a BOOL value to be compatible with the CA-Cl*pper undocumented _tdevraw() function. (hb_fsSetDevMove() is mapped to _tdevraw() in hbundoc.api, it's the documented version of the same functionality) Also fixed warning and error for one of the dummy platform branches. Since this came from xHarbour it pbly needs to be fixed there too. * tests/Makefile + symbolt.prg added 2005-11-16 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * updated for nulsys.prg -> nulsys.c modification 2005-11-16 13:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h * changed definition of HB_SYMB structure. HB_SYMBOLSCOPE cScope replaced by: union { HB_SYMBOLSCOPE value; /* the scope of the symbol */ void * pointer; /* filler to force alignment */ } scope; This modification should only force the same alignment independently on used compiler alignment switches or executed #pragma pack* It's important to keep this structure with fixed size because it's used in .c files generated from .prg code. The code with #pragma pack* removed - it should not be longer necessary but please make a real tests with different compiler alignment switches * harbour/contrib/btree/hb_btree.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/runjava/runjava.c * harbour/source/compiler/genc.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/vm/dynsym.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/runner.c * updated for modified HB_SYMB structure. 2005-11-15 05:10 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * nulsys generation updated. * source/compiler/gencobj.c ! Fixed warning. * source/rdd/rddord.prg ! Fixed to include hbsetup.ch for HB_COMPAT_* guard * source/vm/hvm.c ! Fixed warning. * make_b32.bat - Removed "set BISON_SIMPLE" (was remmed) 2005-11-14 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c * casting * harbour/include/hbdate.h + added hb_dateJulianDOW() - retrieve day of week from Julian's date * harbour/source/rtl/dates.c * harbour/source/common/hbdate.c * moved hb_dateDOW(), hb_dateDecStr() and hb_dateEncStr() to hbdate.c - Ryszard I'd prefer to keep this function together It will be much easier to update them. + added HB_STR_DATE_BASE for conversion to string - Clipper compatibility though we are not 100% Clipper compatible in STOD() because we will have to reduce functionality (supported date range) to reach it. In Clipper STOD(DTOS()) is not revertible. I decided to make it revertible in [x]Harbour for the whole supported in string conversion range: 0000/01/01 : 9999/01/01 % optimized hb_dateEncode() * some minor fixes for Clipper compatibility * harbour/source/rtl/dateshb.c * use faster and Clipper compatible hb_dateJulianDOW() instead of hb_dateDOW() * harbour/source/rdd/nulsys/Makefile - harbour/source/rdd/nulsys/nulsys.prg + harbour/source/rdd/nulsys/nulsys.c * replaced .prg code with #pragma begindump/enddump by native C code rtl/symbol.prg have to be updated yet. * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * synced with xHarbour 2005-11-14 20:50 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * hrbdll.vc * makefile.nt * makefile.vc * makefile64.nt * Change -o linker option to /OUT: to avoid warning with MS Visual Studio 2005 compiler tools. + Added -D_CRT_SECURE_NO_DEPRECATE to suppress the many new MS warnings about unsafe function usage. ; NOTE: MSVC 14.0 fails to compile macroy.c ; NOTE: Still tons of warnings, but other than these it compiles fine. * source/codepage/cdpsl437.c ! Fixed wrong escape char (\ -> \\). * include/hbsetup.ch * source/common/hbverdsp.c + Added CLIP compatibility switch. * include/hbextern.ch + Updated (somewhat). * source/rtl/strmatch.c * source/rdd/rddord.prg ! WILDMATCH() renamed to HB_WILDMATCH() * source/rdd/rddord.prg ! ORDWILDSEEK() guarded with HB_COMPAT_XPP * source/rtl/seconds.c ! SECONDSCPU guarded with HB_COMPAT_FLAGSHIP 2005-11-14 9:01 UTC-0800 Luis Krause Mantilla * hrbdll.bc - removed references to delim0.prg/c 2005-11-14 14:40 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/bin/bld.bat + added references to hbsix.lib - removed references to dbfdbt.lib 2005-11-14 11:40 UTC+0100 Ryszard Glab * source/compiler/harbour.y * fixed 'type clash' warning in some bison version 2005-11-14 11:10 UTC+0100 Ryszard Glab * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * updated to compile source/common/hbdate.c 2005-11-14 11:00 UTC+0100 Ryszard Glab * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbhash.h * include/hbmacro.h * include/hbpcode.h * source/common/Makefile * source/common/expropt1.c * source/common/expropt2.c * source/common/hbhash.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbident.c * source/compiler/hbpcode.c * source/macro/macro.l * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/rtl/dates.c * source/vm/hvm.c * source/vm/macro.c + source/common/hbdate.c + tests/ddate.prg + tests/switch.prg +added support for DATE type constants in the following format: 0dYYYYMMDD for example (see tests/ddate.prg for more): IF( dDate > 0d20051112 ) +added support for SWITCH command (see tests/switch.prg) SWITCH CASE ... [EXIT] CASE ... [EXIT] [OTHERWISE] ... END Notice: - Integer and string expressions can be mixed in a single SWITCH command with no runtime errors; - CASE expression have to be resolved at compile time and the result has to be either an integer or string constant - if there is no EXIT statement then next CASE is executed (or OTHERWISE for the last CASE) For example: CASE 1+32+2*4 CASE CHR(64) CASE ASC('A') CASE "A"+CHR(13) Notice: The above changes apply only to FLEX version! 2005-11-13 21:21 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/hbtest.prg ! updated files 2005-11-13 20:50 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/contrib/rdd_ads/makefile.bc * harbour/contrib/rdd_ads/make_b32.bat ! updated - synced with xHarbour 2005-11-13 12:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/ole2.c * harbour/contrib/ole/oleauto.prg ! fixed casting * harbour/contrib/rdd_ads/Makefile * harbour/contrib/rdd_ads/ace.h * harbour/contrib/rdd_ads/ads.ch - harbour/contrib/rdd_ads/ads0.prg * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/adsmgmnt.c * harbour/contrib/rdd_ads/rddads.h * harbour/include/hbapirdd.h * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * synced with xHarbour * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbpcode.c * emit warning and error messages to stderr instead of stdout Now it's enabled only for *nix platforms. * harbour/source/vm/extend.c * allow hb_param() to return parameters accessed by HB_IT_BYREF 2005-11-08 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c - removed unnecessary memset() * harbour/source/vm/hvm.c % use startup initialized symbols: hb_symEnumIndex, hb_symEnumBase, hb_symEnumValue instead of strcmp( pSym->szName, ... ) in hb_vmSend() % remove unnecessary temporary item in hb_vmEnumStart() and use hb_itemMove() instead of hb_itemCopy()+hb_itemClear() % changed main VM loop to eliminate one comparision done on each loop. Now HB_P_ENDBLOCK and HB_P_ENDPROC pcodes set HB_ENDPROC_REQUESTED and the main loop can be exited only from one place. It gives some small but noticeable speed improvement. Ryszard please check this modification. AFAIK it should not cause any bad side effect and IMHO the code is cleaner now. * harbour/source/vm/itemapi.c % removed two unnecessary hb_itemClear() before hb_itemRelease() 2005-11-07 14:35 UTC+0100 Ryszard Glab * include/hbapi.h * include/hbapiitm.h * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbpcode.h * include/hbsetup.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbpcode.c * source/macro/macroa.c * source/vm/hvm.c * source/vm/itemapi.c + tests/foreach.prg + added support for FOR EACH loop FOR EACH var1 [,var255] IN expr1 [,expr255] [DESCEND] NEXT Note: -expr can be a string or an array if it is a string then assigments to the control variable does not change the string -after the loop the controlling variable(s) store the value which they had before entering the loop -the controlling variable supports the following properties :__enumindex - the loop counter for variable :__enumbase - the value that is being traversed :__enumvalue - the value of variable -see tests/foreach.prg for examples + added warnings in cases of duplicated loop variables eg. FOR i:=1 TO 5 FOR i:=i TO i+5 -removed strong typing in the compiler (xHarbour too) (reactivate it by compiling with -DHB_COMP_STRONG_TYPES) NOTE: The new pcodes were added - rebuild everything 2005-11-04 22:19 UTC+0100 Antonio Linares * harbour/source/vm/estack.c * hb_UnhandledExceptionFilter() modified to return EXCEPTION_CONTINUE_SEARCH NOTICE: When returning EXCEPTION_CONTINUE_SEARCH then both Microsoft and Borland behave the same way, and the Windows GPF dialogbox is finally shown, which it is quite usefull to locate the GPF address (on a MAP file). 2005-11-04 12:41 UTC+0100 Antonio Linares * harbour/source/vm/mainwin.c * SetUnhandledExceptionFilter() is called if HB_INCLUDE_WINEXCHANDLER define is used * harbour/source/vm/estack.c * UnhandledExceptionFilter renamed as hb_UnhandledExceptionFilter, and WINBASEAPI removed. 2005-11-03 10:42 UTC+0100 Antonio Linares + added Microsoft initialization code harbour/source/lang/msgcs852.c harbour/source/lang/msgcsiso.c harbour/source/lang/msgcskam.c harbour/source/lang/msgcswin.c harbour/source/lang/msgde.c harbour/source/lang/msgdewin.c harbour/source/lang/msgel.c harbour/source/lang/msgelwin.c harbour/source/lang/msgen.c harbour/source/lang/msgeo.c harbour/source/lang/msges.c harbour/source/lang/msgeswin.c harbour/source/lang/msgeu.c harbour/source/lang/msgfr.c harbour/source/lang/msggl.c harbour/source/lang/msghr852.c harbour/source/lang/msghriso.c harbour/source/lang/msgid.c harbour/source/lang/msgis850.c harbour/source/lang/msgit.c harbour/source/lang/msgko.c harbour/source/lang/msgpt.c harbour/source/lang/msgro.c harbour/source/lang/msgru866.c harbour/source/lang/msgrukoi.c harbour/source/lang/msgruwin.c harbour/source/lang/msgsl437.c harbour/source/lang/msgsl852.c harbour/source/lang/msgsliso.c harbour/source/lang/msgslwin.c harbour/source/lang/msgsr852.c harbour/source/lang/msgsriso.c harbour/source/lang/msgsrwin.c harbour/source/lang/msgzhb5.c harbour/source/lang/msgzhgb.c 2005-11-02 07:32 UTC+0100 Antonio Linares * makefile.nt * makefile64.nt + added references to new files. 2005-11-02 01:56 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc + added references to harbour/source/common/hbarch.c + added references to harbour/source/rtl/fserror.c 2005-11-01 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh + harbour/make_xmingw.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * harbour/config/w32/mingw32.cf * added support for cross compilation (Windows binaries at Linux) with MinGW - borrowed from xHarbour Phil Krylov solution * harbour/contrib/btree/hb_btree.c * casting * harbour/contrib/libct/files.c ! fixed iAttr initialization in SETFATTR() * harbour/contrib/ole/ole2.c ! fixed names of included files * harbour/contrib/rdd_ads/ace.h * cover #pragma warning( error : 4706 ) by !defined( __GNUC__ ) * harbour/include/hbapi.h * harbour/include/hbdefs.h + harbour/source/common/hbarch.c * harbour/source/common/Makefile * added functions for machine independent double and long long conversions (my code borrowed from xHarbour) * harbour/include/hbapifs.h * synced file IO with xHarbour - it fixes some problems, adds some missing functionality and long (64bit) file support for Windows. For Linux I added it some time ago. * harbour/include/hbcomp.h * changed 'char cScope' to 'HB_SYMBOLSCOPE cScope' * harbour/source/common/hbfsapi.c ! fixed some possible buffer overflow * harbour/source/common/hbstr.c * synced with xHarbour * harbour/source/common/hbver.c + added hb_iswinnt() (borrowed from xHarbour) * harbour/source/compiler/cmdcheck.c + added -undef: compiler switch (borrowed from xHarbour) * harbour/source/compiler/gencobj.c * cleanup * harbour/source/pp/ppcore.c ! fixed path delimiters in included file names * harbour/source/rtl/Makefile + harbour/source/rtl/fserror.c + added C -> OS file error trnalsations - not perfect but better then the used hacks (borrowed from xHarbour) * harbour/source/rtl/file.c * use hb_fileNameConv() instead of hb_filecase() - hb_fileNameConv() is the only one function to make file name conversions dependent on some SETs. * harbour/source/rtl/filesys.c * synced file IO with xHarbour - it fixes some problems, adds some missing functionality and long (64bit) file support for Windows. For Linux I added it some time ago. * harbour/source/rtl/fstemp.c * synced with xHarbour * harbour/source/rtl/strings.c * use ULONG instead of size_t in hb_strnicmp declaration - we have to decide what we should use. Using size_t or its Harbour version f.e. HB_SIZE_T seems to be reasonable but it has to be global - redefining single functions does not make sense and will create troubles only. 2005-10-31 14:38 UTC+0100 Antonio Linares * makefile.nt * makefile64.nt - Some files removed cause recent changes: harbour/source/rdd/dbf0.prg harbour/source/rdd/delim0.prg harbour/source/rdd/sdf0.prg harbour/source/rdd/dbfcdx/dbfcdx0.prg harbour/source/rdd/dbfcdx/sixcdx0.prg harbour/source/rdd/dbfdbt/dbfdbt0.prg 2005-10-30 14:50 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add oneliner description for: source/rdd/hbsix, source/rdd/hsx * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: BG866, BGISO, BGWIN, HUISO + Added the following to HB_SETCODEPAGE() list of supported ID's: BG866, BGISO, BGWIN, ESMWIN, HUISO * Change the following to HB_SETCODEPAGE() list of supported ID's: PT --> PT850, RUWIN --> RU1251 * source/lang/msghe862.c * source/lang/msghewin.c * Update startup code to work with MSC 2005-10-28 10:23 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * include/hbapicdp.h * source/codepage/Makefile * source/codepage/cdphu852.c * source/lang/Makefile * source/lang/msg_tpl.c * source/lang/msghu852.c + source/codepage/cdpbg866.c + source/codepage/cdpbgiso.c + source/codepage/cdpbgwin.c + source/codepage/uc8859_5.c + source/lang/msgbg866.c + source/lang/msgbgiso.c + source/lang/msgbgwin.c + Added BG language support. * HU minor fix. * Lang template updated. 2005-10-24 15:09 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc - Remove references to: harbour/source/rdd/dbf0.prg harbour/source/rdd/delim0.prg harbour/source/rdd/sdf0.prg harbour/source/rdd/dbfcdx/dbfcdx0.prg harbour/source/rdd/dbfcdx/sixcdx0.prg harbour/source/rdd/dbfdbt/dbfdbt0.prg 2005-10-24 14:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * BCC make file updated by Jacek Kubica 2005-10-24 13:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/include/hbapirdd.h * harbour/include/hbdefs.h * harbour/include/hbtypes.h * harbour/source/rtl/empty.c * harbour/source/vm/arrays.c * harbour/source/vm/extend.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/maindllp.c + added HB_TYPE to as HB_ITEM type marker. * set HB_TYPE as UINT32 * updated to the above modifications * cleaned some ~HB_IT_BYREF which has no effect in current VM 2005-10-24 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c ! fixed some declaration I missed in previous commit 2005-10-24 12:08 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * source/codepage/Makefile * source/codepage/cdphu852.c + source/codepage/cdphuiso.c * source/codepage/cdphuwin.c * source/lang/Makefile * source/lang/msghu852.c * source/lang/msghucwi.c + source/lang/msghuiso.c * source/lang/msghuwin.c * HU lang stuff updated. ISO cp added (same as Win cp). Minor fixes (not related to functionality) added. 2005-10-24 02:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/dot/pp.prg * harbour/contrib/dot/pp_harb.ch * harbour/include/hbapi.h * harbour/include/hbapirdd.h * harbour/include/hbdefs.h * harbour/include/hbextern.ch * harbour/include/hbinit.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/include/hbvm.h + harbour/include/hbvmopt.h * harbour/include/hbvmpub.h * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/lang/msgca.c * harbour/source/lang/msgpl852.c * harbour/source/lang/msgpliso.c * harbour/source/lang/msgplmaz.c * harbour/source/lang/msgplwin.c * harbour/source/rdd/Makefile * harbour/source/rdd/dbcmd.c - harbour/source/rdd/dbf0.prg * harbour/source/rdd/dbf1.c - harbour/source/rdd/delim0.prg * harbour/source/rdd/delim1.c * harbour/source/rdd/rddsys.prg - harbour/source/rdd/sdf0.prg * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/Makefile - harbour/source/rdd/dbfcdx/dbfcdx0.prg * harbour/source/rdd/dbfcdx/dbfcdx1.c - harbour/source/rdd/dbfcdx/sixcdx0.prg * harbour/source/rdd/dbfdbt/Makefile - harbour/source/rdd/dbfdbt/dbfdbt0.prg * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/Makefile - harbour/source/rdd/dbffpt/dbffpt0.prg * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/Makefile * harbour/source/rdd/dbfntx/dbfntx0.prg * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/hbsix/Makefile * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/rdd/hbsix/sxdate.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/nulsys/nulsys.prg * harbour/source/rtl/browdbx.prg * harbour/source/rtl/cdpapi.c * harbour/source/vm/arrays.c * harbour/source/vm/arrayshb.c * harbour/source/vm/asort.c * harbour/source/vm/break.c * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/codebloc.c * harbour/source/vm/debug.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/dynsym.c * harbour/source/vm/estack.c * harbour/source/vm/eval.c * harbour/source/vm/evalhb.c * harbour/source/vm/extend.c * harbour/source/vm/fm.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c * harbour/source/vm/maindllp.c * harbour/source/vm/memvars.c * harbour/source/vm/memvclip.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * harbour/source/vm/pvalue.c * harbour/source/vm/runner.c * remove default API and stack macros. Now API/stack macros can be enabled by including hb_vmopt.h file. This file should be included _ONLY_ by core code because binary object/libraries generated after can work only with _EXACTLY_ the same HVM compiled the same C alignment switches * cleaned some HB_EXTERN_C declaration - Anotonio you should be able to build FWH now * cleaned startup initialization code - please update lang and codepage files - I only updated source/codepage/cdppl*.c and source/lang/msgpl*.c files Or other files should be updated or they will not work MSC * synced with recent xHarbour modification in RDD init code 2005-10-23 09:05 UTC+0100 Antonio Linares * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/rdd/hsx/hsx.c + Minor fix to support define HB_NO_DEFAULT_API_MACROS (if used) required by Microsoft compiler IMPORTANT: Now Harbour properly builds using Microsoft compiler and define HB_NO_DEFAULT_API_MACROS, but applications fail to start, showing this error: Unrecoverable error 9004: RDD invalid or failed to load Called from DBFFPTINIT(62) Using Borland and the same define, all compiles and works ok. We need to discover why such error raises using Microsoft compiler and that define. 2005-10-21 08:40 UTC+0100 Antonio Linares * makefile.nt + minor fix. 2005-10-12 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf + added HB_DB_DRVEXT envvar support for additional RDDs * harbour/config/linux/gcc.cf + harbour/config/linux/gpp.cf + added GNU C++ support * harbour/config/linux/owatcom.cf * harbour/contrib/btree/hb_btree.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/ctc.c * harbour/contrib/odbc/odbc.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/include/hbapi.h * harbour/include/hbapierr.h * harbour/include/hbapigt.h * harbour/include/hbapilng.h * harbour/source/compiler/harbour.c * harbour/source/rtl/console.c * harbour/source/rtl/datec.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fssize.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/isprint.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/philes.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/spfiles.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * fixed for popper compilation with GNU C++ and OpenWatcom on Linux 2005-10-05 15:05 UTC+0100 Ryszard Glab * source/common/expropt2.c * fixed bug in ASC() optimization (when character code > 127) 2005-10-05 03:08 UTC-0500 David Arturo Macias Corona * harbour/include/hbextern.ch ! added missing declarations: DBRELATION, DBRSELECT, MENUMODAL, _PUSHBUTT_, _LISTBOX_ * harbour/contrib/mysql/tmysql.prg ! added conversion from tiny int MySQL type into numeric DBF. (an error before). Supplied by Mitja Podgornik 2005-09-28 13:05 UTC+0100 Ryszard Glab * makefile.bc * makefile.nt * makefile.vc * makefile64.nt - removed references to DBFDBT library * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/rtl/alert.prg * fixed displaying of boxes under the xterm (use @ ... TO ... instead of @ ... BOX) * source/rtl/gtcrs/gtcrs.c * fixed restoring of alternate characters flag 2005-09-27 15:10 UTC-0800 Luis Krause Mantilla * harbour/contrib/rdd_ads/adsfunc.c ! added missing functions hb_oemansi & hb_ansioem required with the recent sycn by Ryzard * harbour/contrib/rdd_ads/ads.ch ! updated comment on how to use ADS_REQUIRED_VERSION manifest constant 2005-09-26 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/source/rdd/dbcmd.c ! fixed bug I introduced in RDDLIST() 2005-09-25 21:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/config/global.cf * harbour/include/hbapiitm.h * harbour/include/hbdate.h * harbour/include/hbextern.ch * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/dates.c * harbour/source/vm/itemapi.c * updated for proper RDD synchronization with xHarbour * harbour/source/vm/hvm.c ! fixed bug in divide by 0 substitution * harbour/contrib/rdd_ads/ads0.prg * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/rddads.h * synced base of ADS RDD with xHarbour - old code cannot be compiled without it - external ADS*() functions not synced - I do not use them and I do not want to break sth - Harbour ADS developers should check it 2005-09-23 15:05 UTC+0100 Ryszard Glab * include/hbextern.ch * removed reference to SDFC and DELIMC * source/rdd/dbcmd.c * removed definition of DBSKIPPER function (it is defined already in rtl/browdbx.prg) 2005-09-23 13:45 UTC+0100 Ryszard Glab * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * updated build files for non-GNU make engines 2005-09-23 15:45 UTC+0100 Ryszard Glab * config/global.cf * include/dbinfo.ch * include/hbapi.h * include/hbapierr.h * include/hbapifs.h * include/hbapirdd.h * include/hbdbf.h * include/hbdbferr.h * include/hbdefs.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrdddbt.h * include/hbrdddel.h * include/hbrddfpt.h * include/hbrddntx.h * include/hbrddsdf.h * include/hbrddwrk.h * include/hbvm.h * source/common/hbstr.c * source/rdd/Makefile * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbtotal.prg * source/rdd/delim0.prg * source/rdd/delim1.c * source/rdd/rddsys.prg * source/rdd/sdf0.prg * source/rdd/sdf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/Makefile * source/rdd/dbfcdx/dbfcdx0.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/Makefile * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/Makefile * source/rdd/dbffpt/dbffpt0.prg * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/Makefile * source/rdd/dbfntx/dbfntx0.prg * source/rdd/dbfntx/dbfntx1.c * source/rdd/nulsys/nulsys.prg * source/rtl/errorapi.c * source/rtl/filesys.c * source/vm/dynsym.c * source/vm/extend.c * source/vm/itemapi.c * source/vm/hvm.c + include/hbsxfunc.h + source/rdd/dbfcdx/sixcdx0.prg + source/rdd/dbfcdx/sixcdx1.c + source/rdd/hbsix/Makefile + source/rdd/hbsix/sxcompr.c + source/rdd/hbsix/sxcrypt.c + source/rdd/hbsix/sxdate.c + source/rdd/hsx/Makefile + source/rdd/hsx/cftsfunc.c + source/rdd/hsx/hsx.c * changes to synhronize RDD code with xHarbour (state of 23.09.2005) Many, many thanks to Przemek Czerpak for his work. 2005-09-20 10:16 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/tget.prg ! One previous fix reverted because it broke numeric data entry. Solved from caller side for the meantime. TOFIX added. 2005-08-23 22:01 UTC-0400 Alejandro de Garate + doc\linux1st.txt Added Linux primer written by Scott Johnson 2005-08-23 18:45 UTC-0400 Alejandro de Garate * source\rtl\scrollbr.prg * Fixed length in Style string (more than 4 characters) - Eliminated unused LOCAL vars in Hitest() - Deleted unused method GetColor() + Added METHOD SetStyle( cStyle ) to change SB characters at runtime + Added METHOD SetColor( cColor ) to change SB colors at runtime * fixed bugs, minor optimizations 2005-08-23 18:45 UTC-0400 Alejandro de Garate + tests\sbartest.prg Added sample of scrollbar class 2005-06-14 21:11 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/disksphb.c * hb_DiskSpace() changed to not give a runtime error in case of any error, but set the FError() value instead. * config/bsd/global.cf * config/darwin/global.cf * config/dos/global.cf * config/dos/owatcom.cf * config/hpux/global.cf * config/linux/global.cf * config/linux/owatcom.cf * config/os2/dir.cf * config/os2/global.cf * config/os2/install.cf * config/sunos/global.cf * config/w32/global.cf ! Changed all line beginning spaces to Tabs. 2005-06-11 13:01 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/idle.c ! Fix to prev. commit. 2005-06-09 18:09 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/tget.prg ! :display fixed (again) to always call VarGet block to be CA-Cl*pper compatible. * config/w32/global.cf ! Fixed to properly create the obj directories when compiling using GCC under XP. This broke in the near past. * source/pp/ppcore.c ! Fixed two compiler warnings. ; Please review one of them if you made the change, since I'm not sure what the intention was, here's the code snippet: ... lenreal = IsMacroVar( *ptri, com_or_tra ); /* THIS LINE IS NOW COMMENTED OUT */ *ptri +=1; lenreal = getExpReal( expreal+2, ptri, FALSE, maxlenreal, FALSE ); ... * source/codepage/cdphu852.c ! HU sorting order fixed to be more compatible with CA-Cl*pper. (Still missing some non-852 chars though) * source/common/hbver.c ! Fixed forming NT version number (5.01.2600 -> 5.1.2600) * source/compiler/hbusage.c + Copyright year updated. * source/rtl/idle.c * Cleaned up a platform dependent code part. 2005-05-25 09:55 UTC+0300 Alexander Kresin * include/hbver.h * doc/whatsnew.txt * harbour.spec * Release info has been changed for release 45. 2005-05-15 11:04 UTC+0300 Chen Kedem * doc/dirstruc.txt + Add oneliner description for: config/hpux 2005-05-15 10:42 UTC+0300 Chen Kedem * doc/whatsnew.txt + Add information about the upcoming alpha build 45 written by Alejandro de Garate + Add historic information about the old OpenClipper builds 6, 7, 8 and 9 I had found on Google 2005-05-07 17:01 UTC+0100 Antonio Linares * makefile64.nt + bufferoverflowu.lib added to LDFLAGS as per new Microsoft C 64 compiler (PSDK April 2005) requirement. * hbdate.h * hbapifs.h + HB_EXPORT added to those functions that already were using it, as per new Microsoft C 64 compiler (PSDK April 2005) requirement. 2005-04-29 16:00 UTC+0100 Antonio Linares * makefile64.nt * -D__64__ removed. No longer needed. 2005-04-29 15:54 UTC+0100 Antonio Linares * include/hbinit.h * __64__ changed into Microsoft C 64 built-in _WIN64 2005-04-29 15:46 UTC+0100 Antonio Linares * include/hbdefs.h * fixed for Windows 64, using Microsoft C provided _WIN64 define Changes provided by Przemek. Thanks! :-) 2005-04-29 07:02 UTC+0100 Antonio Linares * makefile64.nt * __64__ define declared * include/hbinit.h * __64__ define use to detect building for 64 bits when using Microsoft C compiler Please notice that Microsoft C 64 compiler is a cross compiler that works as a 32 bits application, so this is the only way found by now to detect we want to build for 64 bits. 2005-04-29 06:08 UTC+0100 Antonio Linares + make_vc64.bat + makefile64.nt * make files for Microsoft C 64 bits 2005-04-18 00:15 UTC+0100 Antonio Linares * source/rtl/gtwin/gtwin.c * 64 bits support - temporary minor workarounds 2005-04-18 00:10 UTC+0100 Antonio Linares * include/hbdefs.h * fixed typo on used USHORT_MAX instead of USHRT_MAX as per advise from Przemek. 2005-04-18 22:52 UTC+0100 Antonio Linares * include/hbstack.h * two minor changes required for 64 bits support as per advise from Przemek. It is a general solution for the fix implemented yesterday. 2005-04-17 ??:?? UTC+0100 Antonio Linares * source/vm/hvm.c * minor change required for 64 bits support. 2005-03-18 11:45 UTC+0100 Ryszard Glab * config/dos/global.cf *restored creation of subdirectiories under plain DOS * include/hbapi.h * include/hbcomp.h * include/hbdefs.h * include/hbvm.h * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbpcode.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/macro.c *modified creation of symbols table *symbol of function name never share a symbol of variable *symbol for INIT/EXIT procedure has now '$' suffix - this means that such procedures cannot be called from user code (Clipper compatible) See the following code: PROCEDURE MAIN aaa() RETURN INIT PROCEDURE aaa ? "In INIT procedure", PROCNAME(0) RETURN STATIC PROCEDURE aaa ? "In STATIC procedure", PROCNAME(0) RETURN It will print: In INIT procedure aaa$ In STATIC procedure aaa *fixed access to static functions in a macro compiler (symbols for static functions never goes into dynamic symbols table) * source/pp/ppcore.c *increased numer of nested optional clauses (max 5 currently - work in progress) 2005-02-16 13:52 UTC+0100 Antonio Linares * source/vm/classes.c hb_objGetpMethod() compiled as extern "C" for MSVC compatibility with xHarbour 2005-02-01 21:05 UTC+0100 Tomaz Zupan * harbour.spec Returned optimization to O3. Problems with Mandrake/gcc are fixed in Mdk 10.1 with gcc 3.4. (see ChangeLog 2004-07-18 19:50 UTC+0200 Tomaz Zupan) 2005-02-01 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c * fixed public releasing - fix borrowed from xHarbour Ryszard please check if it doesn't cause any bad side effects. The following code demonstrate the problem. =========================================== memvar x, y, z proc main() local l := { || x } public x := "QWE" private z := "asd" Errorblock( { | oError | errHandler( oError ) } ) ? eval( l ) test() ? x ? z ? eval( l ) return proc test() private y := "xyz" release x, y, z ? x ? y ? z return func errHandler( oErr ) local varName := oErr:operation() public &varName := oErr:description() + ": " + varName return .t. =========================================== 2005-01-31 20:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * fixed possible GPF I introduced with last update. 2005-01-30 22:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ace.h * small modification for OpenWatcom on Linux * harbour/source/rdd/dbfntx/dbfntx1.c * minor fix: use *_GOTO( pArea, 0 ) instead of *_GOTO( pArea, pArea->ulRecCount+1000 ) + use hb_fsSeekLarge() - for DBFs longer then 2GB * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + use hb_fsSeekLarge() - for DBFs longer then 2GB * my last xHarbour modifications: improved indexing speed of DBFs with very big number of records. In small DBFs less then 100'000 records the new algorithm can even decrease the speed by ~0.5% due to static costs but in bigger it becomes faster. For 1'000'000 records DBFs is about 20% faster, for 10'000'000 records about twice faster. With bigger DBFs more. Please test it. If you will have any troubles (I hope not) then please comment out in dbfcdx.c: #define HB_CDX_NEW_SORT I should done it before when I was rewriting the indexing but sorry I was too lazy. Now I've found a while. Current cost of key comparisons is always n*log2(n) and cannot be more improved. Some small optimizations still can be done but the static cost for small database will be bigger then ~0.5% as in this case so I do not plan to do it in the nearest future. * harbour/include/dbinfo.ch * harbour/source/rdd/dbf1.c + use hb_fsSeekLarge() - for DBFs longer then 2GB * synched with xHarbour (added DBRI_RAW*) * do not call GOCOLD() inside CHILDSYNC() but do it in FORCEREL() the modification based on CL5.3 NG. Below is a note I lef in dbf1.c: /* * !!! The side effect of calling GOCOLD() inside CHILDSYNC() is * evaluation of index expressions (index KEY and FOR condition) * when the pArea is not the current one - it means that the * used RDD has to set proper work area before eval, DBFCDX does * but DBFNTX not yet - it should be changed. * IMHO GOCOLD() could be safely removed from this place but I'm not * sure it's Clipper compatible - I will have to check it, Druzus. */ /* * I've checked in CL5.3 Technical Reference Guide that only * FORCEREL() should ensure that the work area buffer is not hot * and then call RELEVAL() - I hope it describes the CL5.3 DBF* RDDs * behavior so I replicate it - the GOCOLD() is moved from CHILDSYNC() * to FORCEREL(), Druzus. */ * harbour/source/rdd/dbf0.prg * harbour/source/rdd/delim0.prg * harbour/source/rdd/rddsys.prg * harbour/source/rdd/sdf0.prg * harbour/source/rdd/dbfntx/dbfntx0.prg * formatting (adding EOL at EOF) * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c * added hb_fsLockLarge() and hb_fsSeekLarge() which uses 64bit ofsets * harbour/source/rdd/workarea.c * set current work area to the used one in EVALBLOCK RDD method before code block evaluation * harbour/source/vm/harbinit.prg * harbour/source/vm/hvm.c + added hb_vmDoInitClip() which calls CLIPINIT function to initialize ErrorBlock() and __SetHelpK() Because on some platform the execution order of init functions is out of Harbour control then CLIPINIT has to be called explicitly in VM initialization process before hb_vmDoInitFunctions() and do not depends on INIT clause. * small modification in VM loop which gives noticeable speed-up 2005-01-23 09:05 UTC+0100 Antonio Linares * makefile.nt + hbverdsp.obj module added to makefile.nt 2005-01-22 23:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Yet another rare bug fixed. 2005-01-22 19:55 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which oocured in some rare situations while record updating. 2005-01-13 09:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mod.c ! fixed mod() function to be Clipper/DBASE III compatible (not the % operator) for combination of psitive and negative numbers 2005-01-13 08:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbfixdj.h + I missed to add this file in my last commit - it's borrowed from xHarbour. * harbour/source/rtl/filesys.c ! fixed DJGPP compilation I broke 2005-01-12 18:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/make_rpm.sh * harbour/harbour.spec * added flex to dependences * added --without gpl swich to exclude code which needs 3-rd party GPL libs (GPM, SLANG) - necessary for people who want to create commercial closed source application * harbour/make_gnu.sh * modified DJGPP detection - try to use env var first * set HB_GT_LIB depending on platform information * check PREFIX env var for default installation * harbour/make_tgz.sh * modified to work with DJGPP and 8.3 file names * harbour/bin/hb-func.sh * DJGPP support * harbour/bin/pack_src.sh * autodetect Harbour version number * harbour/config/linux/gcc.cf * added small comment + harbour/config/linux/owatcom.cf + OpenWatcom support on Linux * harbour/config/w32/global.cf * harbour/config/w32/mingw32.cf * small modification in clean procedure + added Phil's modification for MINGW cross compilation in Linux and BSD * harbour/source/compiler/gencobj.c + added Phil's modification for MINGW cross compilation in Linux and BSD * harbour/include/hbsetup.h * added OS_HAS_DRIVE_LETTER, OS_PATH_DELIMITER_STRING, OS_FILE_MASK, OS_DRIVE_DELIMITER and HOST_OS_UNIX_COMPATIBLE * modified for OW on Linux and MINGW cross compilation * added snprintf macro for compilers which do not support it * harbour/source/rtl/mod.c ! fixed bug in mod(a,b) when a/b exceeds LONG limit * harbour/source/rtl/filesys.c * removed HB_FS_DRIVE_LETTER - use OS_HAS_DRIVE_LETTER * modified for OW on Linux and MINGW cross compilation * harbour/contrib/libct/files.c * harbour/include/hb_io.h * harbour/include/hbdefs.h * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/net.c * harbour/source/rtl/seconds.c * harbour/source/rtl/gtcrs/Makefile * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/Makefile * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/vm/hvm.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * modified for OW on Linux and MINGW cross compilation * harbour/source/vm/memvars.c - removed unnecessary checking for s_globalTable == NULL in hb_memvarValueDecRef() - in Harbour it cannot happen * harbour/source/vm/itemapi.c - removed snprintf macros (see hbsetup.h) * fixed possible GPF in hb_itemCopyC() * modified hb_itemGetPtr() to check item type 2005-01-06 12:15 UTC+0100 Ryszard Glab * source/pp/ppcore.c * defined pseudo-functions' parameters are case sensitive now (this fixes bug #define F( n ) FF( n, N ) ) 2005-01-03 14:15 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c * fixed to compile with SIMPLEX defined Notice: Simplex version is not updated for a long time and it doesn't support all fixes from FLEX version 2005-01-03 10:30 UTC+0100 Ryszard Glab * include/hbcomp.h * include/hbexprb.c * include/hbmacro.h * source/compiler/exproptb.c * source/compiler/harbour.c * source/compiler/hbgenerr.c * source/macro/macrob.c * source/vm/macro.c * compiler reports error on the following syntax now (Clipper compatibility): {|| ¯ovar anysymbol} "codeblock contains both macro and declared symbol reference" Notice, that Clipper reports error even in this case: MEMVAR mvar {|| &mvar,mvar} * source/vm/memvars.c * restored initial and expand sizes for memvars table * source/pp/ppcore.c * some empty lines added 2004-12-27 10:37 UTC+0100 Ryszard Glab * source/vm/memvars.c * changed algorithm for recycling of unused memvar values - thanks to Przemek 2004-12-31 06:16 UTC-0800 Luis Krause Mantilla * harbour/source/codepage/cdpesmwi.c ! the init values were set to ESWIN instead of ESMWIN Somehow my original entry was obliterated from the changelog as well as my original commit of cdpesmwi.c: 2004-12-29 18:24 UTC-0800 Luis Krause Mantilla * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc ! Added missing/new files from source/codepage/*.c & source/lang/*.c + source/codepage/cdpesmwi.c + Added Spanish Modern codepage 2004-12-31 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdpeldos.c * harbour/source/codepage/cdpelwin.c * harbour/source/codepage/cdpesdos.c * harbour/source/codepage/cdpeswin.c * harbour/source/codepage/cdpgedos.c * harbour/source/codepage/cdpgewin.c * harbour/source/codepage/cdphu852.c * harbour/source/codepage/cdphuwin.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/codepage/cdppt850.c * harbour/source/codepage/cdpptiso.c * harbour/source/codepage/cdpru866.c * harbour/source/codepage/cdprukoi.c * harbour/source/codepage/cdpruwin.c * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpsliso.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsrwin.c * harbour/source/rtl/cdpapi.c * fix memory leak reported for accented and multi byte CPs + harbour/source/codepage/cdpesmwi.c * added missing Spanish modern CP * harbour/include/hbstack.h * harbour/include/hbapiitm.h * harbour/source/vm/estack.c * harbour/source/vm/itemapi.c + added hb_stackReturnItem() - removed hb_itemReturnPtr() * harbour/source/rdd/workarea.c ! fixed possible restoring of scopes in scoped relations after 'SET RELATION TO' * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * use hb_stackReturnItem() instead of direct stack accessing * harbour/source/rdd/dbfntx/dbfntx1.c ! Fixed opening NTX file in ReadOnly mode * use hb_stackReturnItem() instead of direct stack accessing * harbour/source/rtl/filesys.c * cleaned unnecessary initialization * harbour/source/vm/memvars.c * formatting and small fix for calling GC after hb_memvarsRelease() 2004-12-28 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/samples/dbf.c * harbour/contrib/samples/time.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/rdd/dbcmd.c * harbour/source/rtl/accept.c * harbour/source/rtl/errorapi.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/macro.c * harbour/source/vm/memvclip.c * changed 'extern HB_FUNC' to HB_FUNC_EXTERN for easier ABI manipulations 2004-12-28 10:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/hbgtmk.sh * harbour/make_rpm.sh * harbour/bin/pack_src.sh * updated for recent changes in make process * harbour/contrib/Makefile * added odbc lib for Linux compilation * harbour/contrib/btree/Makefile * changed lib name from hb_btree to hbtree * harbour/contrib/btree/hb_btree.api * harbour/contrib/btree/hb_btree.c * fixed GCC compilation in HB_TR_DEBUG mode * harbour/contrib/hbzlib/hbzip.h * harbour/contrib/hbzlib/include/hbzip.h * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapierr.h * harbour/include/hbapifs.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbapilng.h * harbour/include/hbapirdd.h * harbour/include/hbcomp.h * harbour/include/hbdate.h * harbour/include/hbdbsort.h * harbour/include/hberrors.h * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbhash.h * harbour/include/hbinit.h * harbour/include/hbmacro.h * harbour/include/hbpp.h * harbour/include/hbrdddel.h * harbour/include/hbrddntx.h * harbour/include/hbrddsdf.h * harbour/include/hbrddwrk.h * harbour/include/hbset.h * harbour/include/hbstack.h * harbour/include/hbtrace.h * harbour/include/hbvm.h * harbour/include/hbvmpub.h * changed #if defined (HB_EXTERN_C) to HB_EXTERN_BEGIN / HB_EXTERN_END macros for easier manipulation with different ABI * added HB_IS_BADITEM() macro for debugging * synced CDP with xHarbour - added basic Unicode support * synced RDD with xHarbour * harbour/source/codepage/Makefile * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdpeldos.c * harbour/source/codepage/cdpelwin.c * harbour/source/codepage/cdpesdos.c * harbour/source/codepage/cdpeswin.c * harbour/source/codepage/cdpgedos.c * harbour/source/codepage/cdpgewin.c * harbour/source/codepage/cdphu852.c * harbour/source/codepage/cdphuwin.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/codepage/cdppt850.c * harbour/source/codepage/cdpptiso.c * harbour/source/codepage/cdpru866.c * harbour/source/codepage/cdprukoi.c * harbour/source/codepage/cdpruwin.c * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpsliso.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsrwin.c + harbour/source/codepage/uc1250.c + harbour/source/codepage/uc1251.c + harbour/source/codepage/uc1253.c + harbour/source/codepage/uc1257.c + harbour/source/codepage/uc737.c + harbour/source/codepage/uc850.c + harbour/source/codepage/uc852.c + harbour/source/codepage/uc866.c + harbour/source/codepage/uc88591b.c + harbour/source/codepage/uc8859_1.c + harbour/source/codepage/uc8859_2.c + harbour/source/codepage/uckoi8.c + harbour/source/codepage/uckoi8u.c + harbour/source/codepage/ucmaz.c * harbour/source/rtl/cdpapi.c * synced HB CDP API with xHarbour - added basic Unicode support * harbour/source/common/expropt2.c * harbour/source/common/hbstr.c * removed unnecessary initialization to avoid BCC warnings * harbour/source/compiler/harbour.c * formatting hb_compCodeBlockStop() looks like work in progress or is has some old unused code - Ryszard, can you look at it? * harbour/source/macro/macro.y * removed hack for GCC and old Bison versions * harbour/source/pp/ppcore.c * removed unnecessary initialization to avoid BCC warnings * harbour/source/pp/pptable.c + added some sets for RDD synchronization with xHarbour * harbour/source/rdd/dbcmd.c + added __RDDGETTEMPALIAS * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dbnubs.c * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/rddord.prg * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * synchronized with xHarbour - still dbcmd.c has to be synced yet ! fixed all known bugs Alexander, please look at DBFNTX - I hope all is correct. * harbour/source/vm/codebloc.c * formatting * harbour/source/vm/fm.c + added HB_PARANOID_MEM_CHECK to force reallocations in hb_xrealloc and fill allocated and freed memory with HB_MEMFILER (0xff by default) It's for debugging only. * harbour/source/vm/hvm.c ! fixed hb_vmTopNumber() declaration for BCC * use hb_gcCollectAll() at HVM exit instead of hb_gcReleaseAll() to report allocated and not freed items - It could caused that some programs begin to report memory leaks. * harbour/source/vm/itemapi.c * check for HB_IS_BADITEM inside hb_itemClear() when compiled with HB_PARANOID_MEM_CHECK for debugging * harbour/source/vm/memvars.c * formatting ! fixed pItem initialization in hb_memvarDetachLocal() BTW - is this really necessary? I copy it form hb_itemUnRef() but in fact it cannot detect all possible item reference cycles if they appear - can they appear? 2004-12-27 10:37 UTC+0100 Ryszard Glab * source/vm/memvars.c * changed algorithm for recycling of unused memvar values - thanks to Przemek 2004-12-24 07:47 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c * fixed memvars and detached locals handling related to reallocation of memvar's buffer and detaching of locals in a loop - thanks to Przemek * source/vm/debug.c *removed diagnostic hb_dbgstop() 2004-12-24 07:47 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c * fixed memvars and detached locals handling related to reallocation of memvar's buffer and detaching of locals in a loop - thanks to Przemek * source/vm/debug.c *removed diagnostic hb_dbgstop() 2004-12-20 05:00 UTC-0500 David G. Holm * config/global.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/dos/bcc16.cf * config/dos/djgpp.cf * config/dos/global.cf * config/dos/owatcom.cf * config/dos/rsx32.cf * config/dos/watcom.cf * config/hpux/gcc.cf * config/hpux/global.cf * config/linux/gcc.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * config/os2/icc.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/global.cf * config/w32/mingw32.cf * config/w32/msvc.cf * config/w32/rsxnt.cf * config/w32/watcom.cf * Changed ARCH variable to HB_ARCH due to a conflict with a permanent, non-replacable FreeBSD 5.3 environment variable with the same name. 2004-12-16 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh * harbour/make_tgz.sh * fixed HPUX detection * harbour/bin/hb-func.sh * late GTK lib checking for -xbgtk switch in hb* scripts * harbour/contrib/btree/hb_btree.api * harbour/contrib/btree/hb_btree.c * harbour/contrib/libnf/chdir.c * harbour/contrib/libnf/dispc.c * harbour/contrib/libnf/ftint86.ch * harbour/contrib/libnf/getver.c * harbour/contrib/libnf/mkdir.c * harbour/contrib/libnf/proper.c * harbour/contrib/libnf/rmdir.c * casting and small fixes for OpenWatcom compilation * harbour/include/hbdefs.h * force big endian if not detected automatically for HPUX * harbour/source/vm/itemapi.c * HPUX uses isfinite() not finite() * harbour/source/vm/memvars.c ! fixed endian dependent code 2004-12-14 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c * minor modifications of some static function names 2004-12-14 01:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c * fixed some minor typos in GCC hack + added missing hb_parnint() 2004-12-12 22:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh + added platform autodetection if HB_ARCHITECTURE not set and choosing the preferred compiler if HB_COMPILER not set + added new platforms (Darwin, SunOS, BSD, HPUX) for info descriptions - I do not want to decide if this should be also added for make_gnu.bat, make_gnu.cmd because these files cannot be used for this platforms. Now make_bsd.sh and make_drw.sh are redundant - we should decide if they should be kept in CVS or removed * harbour/make_tgz.sh + added platform autodetection if HB_ARCHITECTURE not set and choosing the preferred compiler if HB_COMPILER not set * harbour/contrib/Makefile * changed the list of compiled contrib libs - now there is a list of some default libs which can be compiled for all platforms and only the chosen ones are added for some platforms - it will be easier to manage because the number of supported platforms is growing up. Please check if it will work for other platforms/compilers. 2004-12-12 02:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/config/hpux/dir.cf + harbour/config/hpux/gcc.cf + harbour/config/hpux/global.cf + harbour/config/hpux/install.cf * Marcelo's files build files for HPUX borrowed from xHarbour * harbour/bin/hb-func.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * recent Phil's changes for Darwin and some of mine modifications and cleanups * harbour/include/Makefile + added some missing header files * harbour/include/hbapi.h + added HB_ITEM_{GET|PUT}_NUMINTRAW() macros + added hb_objGetClass() * harbour/include/hbdefs.h * redefined multi commands macros to use do {...} while(0) for safe use in any of C statement + added HB_OS_HPUX * harbour/include/hbsetup.h + added HB_OS_HPUX * harbour/include/hbstack.h * hb_stackDec(), hb_stackPop(), hb_stackPush() redefined also as macros when HB_STACK_MACROS is set + added function hb_stackIncrease() * harbour/source/common/hbstr.c * fixed possible buffer overflow * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * my recent fixes in xHarbour * harbour/source/rtl/copyfile.c * small fix to error message * harbour/source/rtl/idle.c + added HB_IDLESLEEP() and void hb_idleSleep( double dSeconds ) * harbour/source/rtl/isprint.c * use hb_xgrab()/hb_xfree() instead of malloc()/free() * harbour/source/rtl/run.c * added __WATCOMC__ to C compilers supporting system() * harbour/source/vm/arrays.c * cleaned hb_arrayFromStack(), hb_arrayFromParams() * harbour/source/vm/arrayshb.c * small fixes to error messages ! improved Clipper compatibility in AFILL() * harbour/source/vm/asort.c * separate entry for integer items - conversion to double may damage big 64bit numbers * harbour/source/vm/classes.c + added USHORT hb_objGetClass( PHB_ITEM pItem ) * harbour/source/vm/dynsym.c ! fixed accessing to uninitialized memory * harbour/source/vm/estack.c + added hb_stackIncrease() and modification for new stack macros * harbour/source/vm/hvm.c * fixed some error messages * some speed improvements * harbour/source/vm/itemapi.c * some small optimizations * harbour/utils/hbtest/rt_misc.prg * modified file name conversions test results for __PLATFORM__UNIX 2004-10-31 01:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/cmdcheck.c * replaced some free by hb_xfree * harbour/source/compiler/genc.c * replace non ID characters in name of local symbol table by '_' * harbour/bin/hb-func.sh * set proper X11 path for mixed (32/64bit) systems 2004-10-24 20:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/global.cf + added suppot for HB_COMMERCE and HB_WITHOUT_GTSLN env vars * harbour/source/compiler/Makefile * formating * harbour/include/hbdefs.h * harbour/source/vm/fm.c * harbour/source/vm/garbage.c + added macro HB_ALLOC_ALIGNMENT which forces allocated memory alignment in FM and GC modules to given value - by default used only when set HB_OS_SUNOS with 8 bytes alignment 2004-10-23 02:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * changed install command syntax for Solaris compatibility * harbour/include/hbdefs.h * minor formating * harbour/source/vm/fm.c + overwrite HB_MEMINFO_SIGNATURE with 0 in hb_xfree() for detection redundant hb_xfree() call with the same pointer * harbour/source/rtl/spfiles.c * set the real path in second parameter of RetPath even when hb_spFiles fails to avoid race condition * harbour/source/vm/hvm.c ! set proper decimal value in hb_vmDivide when the integer results is converted into double ! commented out integer division optimization at runtime for Clipper compatibility 2004-10-20 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c + added predefined macro __PLATFORM__UNIX for all *nix compatible systems * harbour/contrib/dot/pp.prg * harbour/source/pp/ppcore.c * harbour/utils/hbtest/hbtest.prg * harbour/utils/hbtest/rt_misc.prg * replaced __PLATFORM__Linux with __PLATFORM__UNIX * harbour/harbour.spec ! fixed stripping script files * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed casting 2004-10-20 12:00 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Fixed a small bug in ordListAdd() function - there was a memory leak if the index name is wrong. 2004-10-20 09:41 UTC+0200 Chen Kedem * makefile.bc + Add the missing Greek language and codepage files * doc/dirstruc.txt + Add oneliner description for: config/darwin, config/sunos 2004-10-20 07:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added macros HB_{PUT|GET}_{LONG|PTR} * changed HB_CAST_BYTE_NUMBERS_OFF to HB_STRICT_ALIGNMENT * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * replaced code which made pointer casting without respecting machine alignment with proper macros 2004-10-19 22:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * changed 'sed' and 'tr' expresions to be compatible with SunOS + added Darwin dynlib support borrowed from xHarbour thanks to Phil Krylov * harbour/bin/hb-mkslib.sh * minor modification * harbour/bin/postinst.sh * harbour/config/darwin/gcc.cf + Phil's modification for Darwin * removed HB_OS_BSD and HB_BIG_ENDIAN - the first macro is set in hbsetup.h when HB_OS_DARWIN is set, the second one should be automatically detected inside hbdefs.h using C header files. * harbour/config/sunos/gcc.cf * removed HB_BIG_ENDIAN macro - the same as above * harbour/include/hbapi.h * harbour/source/vm/fm.c * changed 16/32 bit hack #if UINT_MAX == ULONG_MAX for hb_xmem*() functions to still not perfect but working on current platforms #if UINT_MAX > USHRT_MAX * harbour/include/hbdefs.h + added HB_DBL_LIM_INT24(d) and HB_LIM_INT24(l) macros + try to autodect byte order using information form system C header files - it whoud work for Linux, BSD/Darwin, SunOS - maybe also for some other *nixes * removed some dangerous casting. [x]Harbour code still depnds on 8bytes double - in CDX for binary compatibility IEEE754 double is necessary - if some architectures uses differ type of double value for binary compatibility we will have to create proper conversion functions for HB_{PUT|GET}_{LE|BE}_DOUBLE and HB_ORD2DBL/HB_DBL2ORD macros * harbour/include/hbsetup.h * define HB_OS_UNIX when HB_OS_SUNOS set * harbour/source/common/hbstr.c * harbour/source/pp/ppcore.c * casting * harbour/source/compiler/harbour.c * use HB_LIM_INT*() macros instead of hard coded values * removed some unnecessary if () statement - always true * harbour/source/compiler/harbour.l * harbour/source/compiler/hbfix.c * harbour/source/vm/macro.c * use HB_LIM_INT*() macros instead of hard coded values * harbour/source/rdd/dbfcdx/dbfcdx1.c ! minor fix * harbour/source/rdd/dbfntx/dbfntx1.c ! small fix - the temporary index file was not removed * do not force any name for temporary index files - important in some cases (like DOS and short file names) * harbour/source/rtl/diskspac.c ! fixed type in SunOS version * harbour/source/rtl/gtsln/Makefile * minor cleanups * harbour/utils/hbtest/rt_math.prg * changed to number results to be Clipper compatible. 2004-10-14 21:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh + harbour/config/sunos/dir.cf + harbour/config/sunos/gcc.cf + harbour/config/sunos/global.cf + harbour/config/sunos/install.cf + added SunOS support * harbour/config/darwin/gcc.cf * small modification for nicer work with OS-X installed on SF compile farm - I'm not Darwin user and SF is the only one place I can make tests - if someone may fix me and leave some comments 'why?' it will be nice. * harbour/contrib/Makefile * exclude ADS RDD from Darwin build * harbour/contrib/rdd_ads/adsfunc.c * some minor modification to avoid compiler warnings. * harbour/include/hbdefs.h * fixed typo in HB_PUT_LE_DOUBLE() macro for big endian machines. * harbour/source/compiler/genc.c ! fixed endian dependend code I left by mistake * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y ! commented out hb_compSequenceFinish() * harbour/source/pp/ppcore.c + added ( void * ) size as result of __ARCH{16,32,64}BIT__ and __{LITTLE,BIG,PDP}_ENDIAN__ macros * harbour/source/pp/pragma.c ! fixed possible string overflow * harbour/source/vm/itemapi.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/idle.c * harbour/source/rtl/math.c * harbour/source/rtl/gtcrs/Makefile * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtcrs/mousecrs.c * modified for SunOS and Darwin support. 2004-10-12 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * updated for recent changes by Jacek Kubica - thanks. 2004-10-12 01:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * foramting some // replaced by /* */ * adding some missing extensions I haven't ported fully in xHarbour * harbour/source/vm/maindllp.c * fixed Windows compilation The BCC and MSC make fiels have to be updated to the folowing changes: - harbour/contrib/libct/invertwin.prg + harbour/contrib/libct/invrtwin.prg - harbour/source/common/hbffind.c + harbour/source/common/hbverdsp.c - harbour/source/rdd/dbfcdx/dbfcdx1.h + harbour/source/rtl/hbffind.c 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/Makefile + harbour/make_bsd.sh + harbour/make_drw.sh * harbour/make_tgz.sh + harbour/bin/hb-func.sh * harbour/bin/pack_src.sh + harbour/bin/postinst.bat + harbour/bin/postinst.sh * harbour/config/dir.cf * harbour/config/bsd/gcc.cf * harbour/config/bsd/global.cf + harbour/config/darwin/dir.cf + harbour/config/darwin/gcc.cf + harbour/config/darwin/global.cf + harbour/config/darwin/install.cf * harbour/config/dos/dir.cf * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/watcom.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/contrib/Makefile * harbour/contrib/dot/pp_harb.ch * harbour/contrib/libct/Makefile * harbour/contrib/libct/bit1.c * harbour/contrib/libct/bit2.c * harbour/contrib/libct/bit3.c * harbour/contrib/libct/files.c * harbour/contrib/libct/ftoc.c - harbour/contrib/libct/invertwin.prg + harbour/contrib/libct/invrtwin.prg * harbour/contrib/libct/keyset.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libmisc/dates2.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/samples/date.c * harbour/include/dbinfo.ch * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapifs.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbcomp.h * harbour/include/hbdate.h * harbour/include/hbdbf.h * harbour/include/hbdbferr.h * harbour/include/hbdefs.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbmath.h * harbour/include/hbpcode.h * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/include/hbset.h * harbour/include/hbsetup.h * harbour/include/set.ch * harbour/source/common/Makefile * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c - harbour/source/common/hbffind.c * harbour/source/common/hbfsapi.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c + harbour/source/common/hbverdsp.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.slx * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/simplex.c * harbour/source/macro/macro.l * harbour/source/macro/macro.slx * harbour/source/macro/macro.y * harbour/source/pp/ppcore.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c - harbour/source/rdd/dbfcdx/dbfcdx1.h * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/Makefile * harbour/source/rtl/abs.c * harbour/source/rtl/at.c * harbour/source/rtl/datec.c * harbour/source/rtl/dates.c * harbour/source/rtl/dateshb.c * harbour/source/rtl/datesx.c * harbour/source/rtl/empty.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fstemp.c + harbour/source/rtl/hbffind.c * harbour/source/rtl/hbrandom.c * harbour/source/rtl/idle.c * harbour/source/rtl/inkey.c * harbour/source/rtl/math.c * harbour/source/rtl/minmax.c * harbour/source/rtl/pad.c * harbour/source/rtl/padc.c * harbour/source/rtl/padl.c * harbour/source/rtl/padr.c * harbour/source/rtl/philes.c * harbour/source/rtl/round.c * harbour/source/rtl/soundex.c * harbour/source/rtl/str.c * harbour/source/rtl/strcase.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/strtran.c * harbour/source/rtl/strzero.c * harbour/source/rtl/substr.c * harbour/source/rtl/val.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/vm/arrays.c * harbour/source/vm/codebloc.c * harbour/source/vm/estack.c * harbour/source/vm/eval.c * harbour/source/vm/extend.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * harbour/tests/bldtest/bldtest.c * harbour/utils/hbtest/hbtest.prg * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/rt_str.prg * Sorry but it's too much modification for full description cvs diff gives file 785982 bytes length. So I only count the main things: ! cleand the code (no more warning messages under Linux and GCC and DOS OpenWatcom) - some of them were real bugs ! cleaned all endian dependend code I've found - now Harbour can be compiled on LITLE and BIG endian machines - for some other like PDP ENDIAN it's enough to define proper macros in hbdefs.h + added macros for to get/put values in chosen byte order: HB_GET_LE_[U]INT{16,24,32,64}( pPtr ) HB_GET_BE_[U]INT{16,24,32,64}( pPtr ) HB_PUT_LE_[U]INT{16,24,32,64}( pPtr, nVal ) HB_PUT_BE_[U]INT{16,24,32,64}( pPtr, nVal ) + added macro HB_CAST_BYTE_NUMBERS_OFF which disables casting in HB_{GET|PUT}_{LE|BE}_* macros - it's necessary for some platforms like ALPHA DEC. ! cleaned the code for 64bit machines * changed all parameters in hb_date* functions (day, month, year, week) from LONG to int - it doesn't change binary compatibility for 32bit machines but can cause troubles with compiling the old source + changed HB_IT_LONG type to HB_LONG which is mapped to long long by default for 32 bit machines. + change HB_IT_INTEGER to be real 'int' C type not 'short int' + added HB_IS_NUMINT() macro + added hb_parnll, hb_stornll, hb_retnll, hbretnlllen, hb_itemPutNLL, hb_itemPutNLLLen, hb_itemGetNLL which operates on LONGLONG + added hb_parnint, hb_stornint, hb_retnint, hb_retnintlen, hb_itemPutNInt, hb_itemPutNIntLen, hb_itemGetNInt which operates on HB_LONG + added HB_PUSHLONGLONG pcode + changed compiler and optimizer to use HB_LONG numbers and reduce conversion from to double which may damage the 64bit number. + common functions for string to number conversions for compiler, RTL and RDD to reduce problems with differ FL values for the same number: hb_compStrToNum(), hb_valStrnToNum(), hb_strToNum(), hb_strnToNum() + common function hb_numRoun() which uses exactly the same algorithms as string to number conversion for the same reason - please keep this functions together. + hack inside hb_numRound() similar to the one used by CL5.3 + hb_numInt() which uses uses the same hack as hb_numRound() + rewritten number to string conversion + some new string manipulation functions hb_strncpy(), hb_strncat(), ... They works differ the the C one - always set 0 at the end, the buffer has to be n+1 bytes length, the n is total size of buffer not the left free space. ! cleaned some code which operates on ASCIIZ string to avoid potential buffer overflow + updated RDD code - it's the first part - in few days I plan to change workarea structure in both projects - it will break any 3rd party RDDs so they have to be updated. I want to add SUPERTABLE into workarea to allow creating new RDD on-line. ! cleaned the bugs with negating integers - on most machines (like x86) the integers are not 0 symmetric - it means that x = -x does not work for {INT,LONG,LONGLONG}_MIN (hb_vmNegate, ABS()) + cleaned error messages to be Clipper compatible. + updated build process for .DEB packages - now hb* scripts and shared libs are created by standard make install * added new .prg #defines: __PLATFORM__, __ARCH{16|32|64}BIT__, __LITTLE_ENDIAN__|__BIG_ENDIAN__|__PDP_ENDIAN__ !!! cPlatfrom can have lower letters (for xHarbour compatibility) If you do not like it please change it. * others ... 2004-10-10 21:35 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Fixed a bug, introduced in a last change. 2004-10-06 21:56 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Fixed a bug, causing random GPFs while seeking. 2004-10-06 05:40 UTC-0500 David Arturo Macias Corona + harbour/contrib/mysql/difer.txt Describe modifications to programs of harbour\contrib\mysql, in Spanish + harbour/contrib/mysql/diffeng.txt Describe modifications to programs of harbour\contrib\mysql, in English 2004-10-05 05:39 UTC-0500 David Arturo Macias Corona * harbour/contrib/mysql/tmysql.prg * harbour/contrib/mysql/tsqlbrw.prg * Changes to approach Clipper behaviour NOTE: My changes are marked in source code with label "DAVID:", to help in quick review of changes, and these changes are described widely in files difer.txt, diffeng.txt These labels will be removed in a reasonable time + harbour/contrib/mysql/difer.txt Describe modifications to programs of harbour\contrib\mysql, in Spanish + harbour/contrib/mysql/diffeng.txt Describe modifications to programs of harbour\contrib\mysql, in English 2004-09-08 16:40 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/dynsym.c * a new function 'hb_dynsymScope' was added to check if the passed symbol has requested scope * source/vm/macro.c * source/vm/hvm.c * fixed support for static functions used in macro compiled expressions (the runtime error is generated during evaluation instead of macro compilation - like in Clipper) * source/pp/ppcore.c * fixed support for '¯o.' in complex expressions 2004-09-07 10:30 UTC+0100 Ryszard Glab * source/pp/ppcore.c * fixed support for Clipper undocumented match marker, Harbour is now 100% compatible here. Notice that this fixes support for SET FILTER TO ¯o SET FILTER TO ¯o. .AND. expr 2004-08-06 18:21 UTC-0500 David Arturo Macias Corona * harbour/source/rtl/dates.c ! fixed problem with dates. Now is Clipper compatible For empty date it returns empty string, for valid when number of years greater equal to 0 it returns formated date and in other case it fills buffers with 0 characters. Borrowed from xHarbour, in changes made by Przemyslaw Czerpak It also fix ( CTOD( "" ) + 30 ) error reported by Randy Portnoff 2004-08-04 10:28 UTC+0300 Alexander Kresin * contrib/odbc/odbc.c + New functions has been added: sqlSetStmtOption() and sqlColumns() * contrib/mysql/mysql.c + sqlUseRes() function added * sqlListTbl() is modified - second parameter ( table template ) is added 2004-08-03 11:10 UTC+0100 Ryszard Glab * source/rtl/tget.prg * GetNew() no longer evaluates passed set/get codeblock 2004-08-01 14:38 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/rtl/filesys.c ! Out of bound buffer access fixed. (I couldn't test this) (Thanks to Chen Kedem) 2004-07-27 20:41 UTC+0100 Antonio Linares * include/hbclass.ch + Added a previous #undef _HB_CLS_FUNCNAME for multiple classes definitions on the same PRG 2004-07-27 10:50 UTC-0800 Luis Krause Mantilla * hrbdll.bc + Added modules array.prg, block.prg, characte.prg, date.prg, logical.prg, nil.prg, numeric.prg. 2004-07-27 11:49 UTC+0100 Antonio Linares + source/rtl/array.prg + source/rtl/block.prg + source/rtl/date.prg + source/rtl/logical.prg + source/rtl/nil.prg + source/rtl/numeric.prg * Harbour implementation of Class(y) Classes Array, Block, Date, Logical, Nil, Numeric. * makefile.bc + Added modules array.prg, block.prg, date.prg, logical.prg, nil.prg, numeric.prg. WARNING: Other makefiles need to be updated 2004-07-27 11:16 UTC+0100 Antonio Linares * include/hbclass.ch + Added optional clause FUNCTION to class definitions, based on Class(y) implementation. This allows to use a different name, if desired, to the defined class. i.e.: CLASS Date FUNCTION _Date As Date() is a reserved function name, we can use a _Date() one, but the Class Name will remain as DATE. 2004-07-27 02:09 UTC+0100 Antonio Linares + source/rtl/characte.prg * Harbour implementation of Class(y) Class Character * makefile.bc + Added module characte.prg WARNING: Other makefiles need to be updated 2004-07-26 9:03 UTC-0800 Luis Krause Mantilla * hrbdll.bc + Added module scalar.prg 2004-07-26 10:50 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/compiler/cmdcheck.c ! Writing out of bound when using -x compiler switch fixed. (Thanks to Chen Kedem) * source/vm/cmdarg.c ! Tabs removed. 2004-07-26 01:21 UTC+0100 Antonio Linares + source/rtl/scalar.prg * Harbour implementation of Class(y) Class ScalarObject * makefile.bc + Added module scalar.prg WARNING: Other makefiles need to be updated. 2004-07-25 16:48 UTC+0100 Antonio Linares * vm/classes.c + functions hb_clsCreate(), hb_clsAdd() and hb_clsAssociate() added. These functions are equivalents to Clipper __mdCreate(), __mdAdd() and __mdAssociate(), though the parameters are different to easy their use. The purpouse of these functions is to create new classes from C level, a missing feature of Harbour classes engine. Harbour classes functions never considered the possibility of being used from C level. USHORT hb_clsCreate( USHORT usSize, char * szClassName ) : Creates a new class with usSize DATAs and szClassName Name. It returns the handle of the new created class. void hb_clsAdd( USHORT usClassH, char * szMethodName, void * pFunction ) : Adds a new method to the class, that will execute pFunction() code. void hb_clsAssociate( USHORT usClassH ) : Instantiates a new object of the Class handle usClassH. The object is placed at the stack returned value, so it may be accessed using hb_par...( -1, ... ) functions, or managing the item directly. 2004-07-19 21:42 UTC+0300 Alexander Kresin * include/hbver.h * doc/whatsnew.txt * bin/pack_src.sh * harbour.spec * make_tgz.sh * Release info has been changed for release 44. 2004-07-19 17:05 UTC+0300 Alexander Kresin * contrib/mysql/tmysql.prg ! Added checking for decimal field type in :GetRow() and :GetBlankRow() - provided by Mitja Podgornik 2004-07-19 12:15 UTC+0100 Ryszard Glab * doc/whatsnew.txt *added some items and divided into few sections 2004-07-18 19:50 UTC+0200 Tomaz Zupan * harbour.spec * Changed Optimisation level for rpm package to -O2, because there are pboblems with -O3 and gcc 3.3 on Mandrake Linux 2004-07-18 19:50 UTC+0300 Alexander Kresin * contrib/mysql/mysql.c * Some fixes and formatting. 2004-07-18 13:05 UTC+0300 Chen Kedem * doc/whatsnew.txt + Add information about the upcoming alpha build 44 2004-07-17 21:58 UTC+0300 Alexander Kresin * contrib/mysql/tmysql.prg ! Small fix, provided by Mitja Podgornik 2004-07-17 04:14 UTC-0500 David Arturo Macias Corona * source/rtl/tget.prg + Added DATA CapRow and DATA CapCol values For Clipper 5.3x compatibility 2004-07-16 13:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in soft seek * contrib/odbc/todbc.prg ! Bug fixed in TODBC():Open() 2004-07-12 17:19 UTC-0800 Luis Krause Mantilla * source/rdd/dbcmd.c ! fixed Clipper compatibility bug reported by Serge Jakimoff * source/rtl/minmax.c ! Fixed r/t error when Min() and Max() received logical values to have Clipper compatibility 2004-07-09 12:15 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/codebloc.c * source/vm/proc.c *fixed to correctly return the procedure name where the codeblock was created * source/common/hbffind.c *fixed to set correctly size and modification date of retrieved files on Linux/Unix -used from DIRECTORY() function 2004-06-21 14:07 UTC-0500 Randy Portnoff * source/rdd/dbcmd.c * Fixed rddMoveRecords() so that copied records, which are deleted, maintain their deleted status. Reported by Marcos Gambeta 2004-06-08 22:50 UTC+0300 Phil Krylov * source/rtl/inkey.c ! Renamed SETLASTKEY() to HB_SETLASTKEY(). * source/debug/debugger.prg ! Changed SETLASTKEY() to HB_SETLASTKEY(). + contrib/libct/setlast.prg * contrib/libct/Makefile * contrib/libct/ctflist.txt * contrib/libct/makefile.bc * contrib/libct/makefile.vc + Reimplemented SETLASTKEY() through HB_SETLASTKEY() 2004-06-08 22:10 UTC+0300 Phil Krylov - contrib/libct/setlast.prg * contrib/libct/Makefile * contrib/libct/ctflist.txt * contrib/libct/makefile.bc * contrib/libct/makefile.vc - Removed SETLASTKEY() from libct, because it conflicts with the RTL implementation which is also cleaner. 2004-06-08 02:25 UTC+0300 Phil Krylov * source/debug/debugger.prg + Added preliminary CLD-compatible scripting capabilities. 2004-06-07 18:15 UTC+0300 Phil Krylov * source/debug/dbgmenu.prg * source/debug/debugger.prg ! Fixed some problems related to menus, colors and cursor positioning. 2004-06-07 14:15 UTC+0300 Phil Krylov * source/rtl/inkey.c + Added hb_setInkeyLast() (copyright 2002 by Walter Negro) and SETLASTKEY() (copyright 2003 by Przemyslaw Czerpak). Both functions are borrowed from xHarbour. * source/debug/debugger.prg ! Fixed Left and Right keys behaviour in the code window (fix by Lorenzo Fiorini, borrowed from xHarbour). ! Also from xHarbour, but written by myself: ! Restore LastKey() value on program execution. ! Fixed Step() behaviour. ! Removed the last dependencies of the debugger on SET_EXACT setting. ! Fixed some issues with the Monitor window. 2004-06-07 13:45 UTC+0300 Phil Krylov * source/debug/dbgwa.prg * source/debug/dbgtarr.prg * source/debug/tbrwtext.prg * source/debug/debugger.prg ! Miscellaneous fixes borrowed from xHarbour: ! Fixed support for monitoring work areas with non-contigous numbers. ! Fixed monitoring empty subarrays. ! Maintain separate "active" line and cursor line in the code window. Support external initialization of TBrwText():lLineNumbers. ! Fixed problems with breakpoints and source files stored in multiple directories. The environment variable HB_DBG_PATH takes precedence over PATH to search for source files. 2004-06-03 11:00 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed to compile FOR var[index] 2004-06-02 05:30 UTC-0400 Alejandro de Garate * doc\en\file.txt * function FOPEN() ! Fixed the meaning of FO_DENYNONE + Added FO_SHARED definition to the table * function FCREATE() ! Fixed table title name, changed Atribute for Meaning * function FREAD() ! Fixed typo at $ARGUMENTS$ section ! Removed typo from $RETURNS$ section ! Fixed typo at $EXAMPLES$ section * function FCLOSE() ! Fixed typo at $EXAMPLES$ section * function CURDIR() ! Fixed typo at $ARGUMENTS$ section * function MAKEDIR() ! Fixed typo at $RETURNS$ section + doc\es\file.txt + Added file's operations document 2004-05-27 14:35 UTC-0400 Alejandro de Garate + doc/es/codestyl.txt + Added code style document file, missing in the last commit + doc/es/hb_apiln.txt + Added Lang API Document * doc/es/lang.txt * Updated Lang Document + doc/es/hb_vm.txt + Added VM API Document 2004-05-24 22:37 UTC-0400 Alejandro de Garate * doc/codestyl.txt * Added Documentation item + doc/es/codestyl.txt + Documented code style 2004-05-23 16:55 UTC+0300 Chen Kedem * doc/en/lang.txt + Documentation for HB_LANGERRMSG(), HB_LANGMESSAGE(), HB_TRANSLATE() + Added Greek and Greek ANSI to the list in HB_LANGSELECT() and HB_SETCODEPAGE() + add notes about the need to REQUEST language and code page module * Some formating 2004-05-21 14:40 UTC+0100 Ryszard Glab * source/compiler/harbour.l * modified to compile correctly with flex version 2.5.31 (IMHO it is m4 preprocessor bug) 2004-05-21 13:30 UTC+0300 Alexander Kresin * source/rdd/dbf1.c * source/rdd/dbfdbt/dbfdbt1.c * Calls of hb_cdpTranslate() are changed to hb_cdpnTranslate() + source/codepage/cdpeldos.c + source/codepage/cdpelwin.c + Greek language codepage files added - provided by Pete Dionisopoulos. * source/lang/msgel.c * source/lang/msgelwin.c + Greek language files added - provided by Pete Dionisopoulos. * source/codepage/Makefile * source/lang/Makefile * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * Makefiles has been updated due to new codepage and lang files. * source/codepage/cdp_tpl.c * source/codepage/cdpesdos.c * source/codepage/cdpeswin.c * source/codepage/cdpgedos.c * source/codepage/cdpgewin.c * source/codepage/cdphu852.c * source/codepage/cdphuwin.c * source/codepage/cdpla850.c * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpplwin.c * source/codepage/cdppt850.c * source/codepage/cdpptiso.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/codepage/cdpsk852.c * source/codepage/cdpskiso.c * source/codepage/cdpsl437.c * source/codepage/cdpsl852.c * source/codepage/cdpsliso.c * source/codepage/cdpslwin.c * source/codepage/cdpsrwin.c * Few lines are replaced with HB_CODEPAGE_INIT( ), as was suggested by Ilias Lazaridis 2004-05-19 13:25 UTC+0100 Ryszard Glab * source/codepage/cdpsrwin.c *replaced CR+LF with LF only 2004-05-18 15:45 UTC-0400 David G. Holm * source/rtl/cdpapi.c ! Corrected the function names reported by to HB_TRACE statements, as pointed out by Chen Kedem . 2004-05-18 16:12 UTC+0300 Chen Kedem * doc/en/lang.txt + Documentation for HB_SETCODEPAGE() * Some formating 2004-05-14 16:05 UTC+0100 Ryszard Glab * include/hbexpra.c * source/compiler/expropta.c * source/compiler/harbour.c * source/macro/macroa.c * source/rtl/tget.prg * source/rtl/tgetint.prg * fixed to be more Clipper compatible * source/rtl/persist.prg * fixed to not use xBase extensions 2004-05-13 11:00 UTC+0100 Ryszard Glab * source/rtl/transform.c * TRANSFORM(1.23,"999.") correctly returns " 1." now instead of empty string * source/rtl/tget.prg * fixed to correctly display buffer when negative value and '0' was pressed in the position next to decimal point e.g. -1230. was displayed as -123-. * fixed support for '9999.' picture 2004-05-11 15:10 UTC+0100 Ryszard Glab * CVSROOT/avail * restored write access to the entire repository for all developers * doc/codestyl.txt * small corrections (use 3 spaces instead of Tab) * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/hbusage.c + added posibility to specify the output PPO file with -p e.g. -pppo/myfile.ppo (thanks to Larry Sevilla) * source/rtl/tget.prg * fixed positioning of cursor when the first pressed key was a digit during editing of numeric value * source/compiler/hbfix.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/dates.c * source/rtl/filesys.c * source/rtl/inkey.c * source/rtl/isprint.c * source/rtl/math.c * source/rtl/philes.c * source/vm/classes.c * source/vm/hvm.c * removed '//' comments 2004-05-10 19:20 UTC-0400 David G. Holm - cvsplay.txt - cvsplay2.txt - Removed these two files. 2004-05-08 10:40 UTC+0100 Ryszard Glab * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/is.c * source/rtl/strcase.c * source/rtl/transfrm.c * updated to refer hb_cdp_page instead of s_cdpage * source/vm/itemapi.c * snprintf is used only in GCC/Linux and WatcomC guarded with #ifdef HB_HAS_SNPRINTF (this is ommision from my previous commit) 2004-05-07 19:30 UTC+0100 Ryszard Glab + config/dos/owatcom.cf * added configuration file for OpenWatcom (renamed from watcom.cf) * config/dos/watcom.cf * restored previous version so it correctly compiles under WatcomC 10 - please use watcom.cf for WatcomC and owatcom.cf for OpenWatcom * makefile.bc * makefile.nt * makefile.vc * hrbdll.bc * source/codepage/Makefile + source/codepage/cdpsrwin.c + new file with Serbian codepage * CVSROOT/avail * removed reference to my local file * ERRATA * updated (removed reference to tmpname) * doc/codestyl.txt * updated with some coding guidelines adopted from PHP (please fell free to discuss them ;-) * doc/howtocvs.txt * added description for commit on Linux * include/hbapicdp.h * source/codepage/cdpesdos.c * restored previous versions * include/hbcomp.h * added reference for WatcomC compiler * include/hbexprc.c * fixed warning reported by WatcomC * source/vm/itemapi.c * fixed infinite support for WatcomC * source/rtl/cdpapi.c * renamed global symbol s_cdpage into hb_cdp_page * source/rtl/gtcrs/kbdcrs.c * fixed reporting keystrokes with codes > 127 2004-05-06 21:10 UTC-0400 David G. Holm * source/vm/itemapi.c ! The funtion snprintf is not a Standard C function and does not exist in the Version 12 of the Microsoft C++ compiler (MSVC 6). 2004-05-06 18:00 UTC+0100 Ryszard Glab + CVSROOT/avail * CVSROOT/checkoutlist * CVSROOT/commitinfo * CVSROOT/loginfo + access to CVSROOT files is now available for project admins only 2004-05-06 15:40 UTC+0100 Ryszard Glab * include/hbexpra.c * source/common/expropt2.c * source/compiler/expropta.c * source/macro/macroa.c ! Fixed optimalization of AT,ASC,LEN,CHR functions in the macro compiler (this fixes GPF reported by Alexander) 2004-05-05 08:08 UTC+0200 Ilias Lazaridis * source/codepage/cdpesdos.c ! Whitespace reformatting 2004-05-03 05:04 UTC+0200 Ilias Lazaridis * source/include/hbinit.h + added macro HB_USE_PRAGMA_STARTUP * source/include/hdcdpapi.h + added macro HB_CODEPAGE_INIT * source/codepage/cdpesdos.c ! used HB_USE_PRAGMA_STARTUP and HB_CODEPAGE_INIT (changes are applyable to other cdp*.c files, too, but will wait until cdpesdos.c is completely reworked) 2004-05-02 09:25 UTC+0300 Chen Kedem * doc/howtocvs.txt * Change references to CVSROOT (according to SourceForge documents) from cvs.Harbour-project.sourceforge.net into cvs.sourceforge.net 2004-04-30 16:09 UTC+0200 Ilias Lazaridis + /cvsplay.txt + Added file with tortoiseCVS to check CVS functionality without influencing rest of project [Note: the above changelog time entry is possibly not correct] 2004-04-27 12:57 UTC-0500 Randy Portnoff * contrib/rdd_ads/adsfunc.c Changes to ADSCOPYTABLE as follows: + added logical return value + added second optional param for ADS filter option + Now uses default index order if set Changes to ADSCOPYTABLECONTENTS as follows: ! changed default filter option from ADS_IGNOREFILTERS to ADS_RESPECTFILTERS + added second optional param for ADS filter option + Now uses default index order if set 2004-04-24 15:30 UTC+0100 Ryszard Glab * include/hbapi.h * changed ULONG hb_objHasMsg into BOOL hb_objHasMsg * include/hbvmpub.h * added union { PHB_FUNC pFunPtr; int iStaticsBase; } value to HB_SYMB structure to remove pointer/int conversion * source/compiler/genc.c * source/compiler/gencli.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/symbol.prg * source/vm/classes.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/initsymb.c * source/vm/macro.c * source/vm/runner.c * changed to use new HB_SYMB structure * removed all pointer/long castings (except runner.c) 2004-04-22 18:00 UTC-0500 David G. Holm * source/vm/itemapi.c ! #if check for for RSXNT and EMX must be ahead of GNUC test in the infinity test block, because RSXNT and EMX both use the GNUC compiler, but use isfinite() instead of finite(). 2004-04-22 17:30 UTC-0500 David G. Holm * contrib/libct/files.c * contrib/libnf/color2n.c * contrib/libnf/dispc.c * contrib/libnf/n2color.c * contrib/rdd_ads/ads1.c * source/vm/memvars.c ! Eliminated most warnings issued by MinGW GCC compiler. 2004-04-22 10:57 UTC+0300 Chen Kedem * doc/dirstruc.txt + Add oneliner description for: contrib/hbzlib/include, contrib/hbzlib/Linux, tests/bldtest 2004-04-21 16:35 UTC+0300 Chen Kedem * doc/en/rddord.txt - Remove docs for: ORDKEY() $DESCRIPTION$ section, ORDLISTADD(), ORDLISTCLEAR(), ORDLISTREBUILD(), ORDNAME(), ORDNUMBER(), ORDSETFOCUS() because of copyright violation! 2004-04-20 16:30 UTC-0400 David G. Holm * contrib/Makefile + Added an ifeq section for bsd builds. 2004-04-19 11:43 UTC+0300 Chen Kedem * doc/en/rdd.txt - Remove docs for: RDDLIST(), RDDNAME(), RDDSETDEFAULT(), __RDDSETDEFAULT() because of copyright violation! (the file is now EMPTY) * doc/en/rdddb.txt - Remove docs for: __DBCONTINUE(), __DBZAP() because of copyright violation! 2004-04-17 12:30 UTC+0100 Ryszard Glab * include/hbapi.h * source/rtl/empty.c * source/rtl/idle.c * source/vm/arrays.c * source/vm/estack.c * source/vm/extend.c * source/vm/itemapi.c * added missing code to use HB_IT_POINTER just like other value's type You can use: hb_retptr( void * pointer ) hb_parptr( ) -> void * hb_storptr( void * pointer, ...... ) to return/manage pointers from low level functions. For example: p = GET_SOME_POINTER() ? VALTYPE(p) //prints: 'P' ? p //prints: 0x12345678 * tests/onidle.prg * fixed to use values of pointer type * tests/tstmacro.prg * added code to test TYPE() function 2004-04-16 17:08 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c Renamed adsGetConnectionType() as AdsGetTableConType() and added adsGetConnectionType( [hConnect] ) from Brian Hays' implementation in xHarbour. Due to the recent changes introduced to Harbour that render FWH inoperable, this is likely my last contribution to Harbour's CVS as I'll be using xHarbour only with my FWH apps (I currently use FW/FWH 2.3c). 2004-04-16 19:05 UTC+0300 Alexander Kresin * hrbdll.bc * Makefile for the harbour.dll is changed + mkbcdll.bat + Bat file is added to build the Harbour.dll. Changing appropriate environment variables inside it, you may include/exclude from the dll RDD ADS, CT, Libmisc, Debug libraries. + tests/bld4dll.bat + Bat file is added to build sample applications, which uses harbour.dll 2004-04-16 13:55 UTC+0300 Alexander Kresin * include/hbstack.h * source/vm/hvm.c * source/vm/itemapi.c * source/vm/estack.c * source/vm/dynsym.c * source/rtl/dates.c * source/rtl/file.c * source/rtl/filesys.c * HB_EXPORT is added to ITEM API, FILE API and some other function definitions to make it possible to call them when they are in the dll. 2004-04-14 19:05 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c Added adsGetConnectionType() provided by Randy Portnoff 2004-04-14 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * tests/bldtest/Makefile * fixed typo in file name * include/hbdefs.h + added HB_COUNTER and HB_PTRDIFF types - first for reference counters and second for any pointer differences and pointer to integer conversions - this modification is synced with xHarbour * include/hbapi.h * include/hbdefs.h * source/rtl/philes.c * source/vm/arrays.c * source/vm/hvm.c * source/vm/itemapi.c * use HB_COUNTER type 2004-04-09 15:00 UTC-0500 David G. Holm * source/rdd/dbfntx/dbfntx1.c ! Converted first parameter in the call to hb_fsCreateTemp from "" to NULL in order to avoid having to provide a (BYTE *) type conversion like the one that I added for the second parameter. * source/rtl/fstemp.c * Reformatted the code to match the Harbour coding style (in particular, to use spaces instead of Tabs for indenting and to always use braces for a code block that follows an if statement, even if only one line). ! Added a null pointer check in the non-Unix code that checks the size of the input arguments. 2004-04-09 11:45 UTC+0100 Ryszard Glab * source/debug/debugger.prg * removed diagnostic ALERT call 2004-04-09 10:10 UTC+0100 Ryszard Glab * include/hbexpra.c * include/hbexprop.h * source/compiler/expropta.c * source/macro/macroa.c * source/vm/macro.c * fixed my previous fix to correctly release memory in the macro compiler 2004-04-08 17:20 UTC+0100 Ryszard Glab * include/hbexpra.c * source/compiler/expropta.c * source/macro/macroa.c * source/vm/macro.c * fixed bug cousing that some memory was deallocated more then once * source/debug/debugger.prg * fixed support for .T./.F. in command window * fixed issues when the application was using SET EXACT ON 2004-04-06 15:40 UTC+0100 Ryszard Glab * include/hbapi.h * include/hbvm.h * source/vm/hvm.c * source/vm/macro.c * fixed bug introduced earlier by me in the macro compiler: PUBLIC ¯o works correctly now 2004-04-03 01:46 UTC-0300 Luiz Rafael Culik(culikr@brturbo.com> * contrib/hbzlib/* ! updated to use the same core as xharbour do to compile on linux run ./lincompile.sh This was done in respect to users that want to use harbour 2004-04-02 16:25 UTC+0100 Ryszard Glab * source/compiler/gencli.c * fixed warnings * source/rtl/cdpapi.c *fixed warnings (Can the author of the code check if I correctly parenthesized multiple || and && conditions?) * source/vm/classes.c *fixed warning in gcc (commented out unused static hb_clsScope function) * source/rdd/dbfntx/dbfntx1.c * source/rtl/fstemp.c * fixed hb_fsCreateTemp() to use 'mkstemp' on Unix * fixed sorting procedure to use hb_fsCreateTemp wrapper function * source/rtl/set.c *hb_set.HB_SET_DIRSEPARATOR defaults to '/' on Unix 2004-04-02 13:15 UTC+0100 Ryszard Glab * include/hbexpra.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/macro/macro.y * source/macro/macroa.c * source/vm/macro.c * fixed to release memory in cases where invalid syntax was macro compiled * source/vm/itemapi.c * fixed to correctly check for infinity on Unix STR(LOG(-1)) no longer core dumps * source/rtl/filesys.c * source/rdd/hbdbsort.c * fixed to suppres warnings * source/pp/ppcore.c * utils/hbtest/rt_misc.prg * Clipper preproceses '**' into '^' - harbour too 2004-04-02 12:17 UTC+0100 Antonio Linares * source/rtl/fstemp.c * source/rdd/dbfntx/dbfntx1.c - Two linux linking time warnings removed 2004-04-01 11:15 UTC+0100 Ryszard Glab * include/hbexprb.c * include/hbmacro.ch * fixed support for strings as array of bytes (in macro compiler) * added a new #define HB_SM_ARRSTR as a flag for HB_SETMACRO() to disable/enable strings as array of bytes * source/vm/macro.c * added HB_SM_ARRSTR support * fixed TYPE() function to return correct value when an assigment to undeclared variable is checked (Clipper creates the memvar variable) - thanks to Phil Krylov * source/compiler/hbusage.c * fixed typo for -ks switch 2004-04-01 09:09 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * source/common/hbffind.c ! Fix for NT4 * source/rdd/dbsort.prg * Fix by Mitja Podgornik 2004-04-01 08:49 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * bin/bld.bat * Updated 2004-03-31 21:45 UTC-0800 Luis Krause Mantilla * source/rdd/workarea.c + added scopped relations. Now OrdSetRelation() works with DBFCDX like it does with Clipper 5.3b * contrib/rdd_ads/ads1.c + adsClearScope() method added to avoid r/t error with ADS and scoped relations Thanks to Przemyslaw Czerpak for the fix (borrowed from xHarbour) 2004-03-30 16:30 UTC+0100 Ryszard Glab * include/hbapi.h * source/vm/macro.c * added HB_ITEM_PTR pError member to HB_MACRO structure * fixed bug in macro compiler - calls to static functions are not allowed in macro compiler * source/common/expropt1.c * source/common/hbffind.c *fixed minor warnings reported by Randy Portnoff * source/rtl/set.c *SET(_SET_DEBUG) defaults to FALSE (Clipper compatible) * source/rtl/idle.c *small optimization of hb_idleState() * source/compiler/harbour.y *the compiler generates line number for DO CASE (if debug info requested - to allow breakpoint) * source/debug/debugger.prg *the debugger shows the line number for modules where no source code is available 2004-03-29 15:00 UTC-0500 David G. Holm * source/pp/ppcore.c ! Added missing type conversions on calls to hb_xgrab and hb_xrealloc. * source/rtl/memoline.c ! Convert CR to space for Clipper compatibility. 2004-03-25 09:35 UTC+0300 Alexander Kresin * source/rdd/dbfcdx/dbfcdx1.c ! minor fix 2004-03-24 22:10 UTC+0300 Alexander Kresin * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * include/dbinfo.ch * include/hbrddcdx.h ! Some DBFCDX fixes, made by Przemyslaw Czerpak - borrowed from xHarbour. 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla * source/rtl/tbcolumn.prg ! fixed typo in comment * source/rtl/tbrowse.prg ! fixed initialization bug that miscalculated ::RowCount in ::Stabilize() ! fixed ASSIGN freeze to return ::nFrozenCols (Clipper compatibility) ! fixed ::RefreshCurrent() to validate ::aRedraw to avoid r/t error ! fixed ::rect assignment in ::Configure (3rd param was ::nHeaderHeight instead of ::nFooterHeight) 2004-03-23 14:50 UTC+0100 Ryszard Glab * source/pp/ppcore.c * fixed parsing of nested #defines in command/translate for example: #define PRE_CHAR 'A' #define IDX_EXPR(x) PRE_CHAR+x INDEX ON IDX_EXPR(myfield) TO myfile * source/pp/pptable.c * updated for fixes in ppcore.c (_DFSET define) 2004-03-21 21:48 UTC-0800 Luis Krause Mantilla * source/rtl/tbcolumn.prg + added PreBlock and PostBlock instance variables for Clipper 5.3x compatibility 2004-03-20 15:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + tests/bldtest/Makefile + tests/bldtest/bldtest.c + simple C program to check if Harbour can be compiled on used machine / system / C compiler 2004-03-19 11:40 UTC+0100 Ryszard Glab * utils/hbmake/hbmake.prg *fixed #define datediff(,) into datediff(x,y) (Clipper compatibility) (thanks to Jacek Kubica) 2004-03-19 08:20 UTC+0100 Ryszard Glab * source/debug/debugger.prg * fixed refreshing of watchpoints * source/pp/ppcore.c * fixed bug introduced with my previous commit 2004-03-18 12:45 UTC+0100 Ryszard Glab * include/hberrors.h * source/pp/ppcore.c *fixed #define parsing of pseudofunctions in cases where passed argument has the same name as declared parameter *fixed #define parsing of pseudofunctions - the following syntax is not allowed: #define test(x,x) - duplicated parameters #define test(x,) - missing parameter #define test(x - missing parenthes * source/common/expropt1.c * fixed generation of pcode for &(macro)->() syntax * source/compiler/harbour.l * fixed GPF when string with unmatched terminator was used * include/hbexprop.h * source/compiler/harbour.y * removed direct access to internals of expression optimizer structure * source/debug/debugger.prg * fixed checking of path separator 2004-03-17 8:14 UTC-0800 Luis Krause Mantilla * contrib/rdd_sys/ads1.c * reuploaded to CVS (somehow it didn't get through the last time) 2004-03-11 16:01 UTC-0800 Luis Krause Mantilla * contrib/rdd_sys/ads1.c * NTX compatibility fix in adsOrderListFocus() to keep current order if selected one fails 2004-03-10 10:40 UTC+0300 Alexander Kresin * source/rdd/dbfcdx/dbfcdx1.c ! Initialization code fixed. 2004-03-09 22:30 UTC+0300 Alexander Kresin * hrbdll.vc * file has been updated due to adding source/rtl/hbrandom.c. * include/hbapiitm.h * source/rdd/itemapi.c * source/rdd/dbf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx1.c * more synchronization with xHarbour's RDD. 2004-03-09 10:15 UTC-0800 Luis Krause Mantilla * hrbdll.bc * Added reference to missing hbrandom.c. Can a MSVC user sync hrbdll.vc? 2004-03-09 13:50 UTC+0100 Ryszard Glab + source/rtl/altd.prg +new file with ALTD() procedure code * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * source/rtl/Makefile *added a reference to rtl/altd.prg * source/common/hbffind.c *fixed to compile correctly with HB_OS_UNIX * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbpcode.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbpcode.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/vm/hvm.c +added missing support for @¯o and @M->memvar +added new pcode HB_MACROPUSHREF (all sources have to be recompiled) * source/debug/dbgtwin.prg * source/debug/debugger.prg *fixed procedures callstack when modules with/without debug info are linked together *fixed the debugger activation when ALTD() is used in a module with no debug info (the debugger shows up on the first line with debug info after the ALTD() is called) NOTICE: Some compilers may require that the debug library has to be specified as an object file in order to get the debugger linked in. 2004-03-08 19:50 UTC+0300 Alexander Kresin + ChangeLog + Started a new ChangeLog. * source/rtl/ChangeLog.014 * Renamed old ChangeLog, due to file size. * include/hbapifs.h * include/hbmath.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h * include/hbrdddbt.h * include/hbrddfpt.h * include/hbset.h + source/rtl/hbrandom.c * source/rtl/Makefile * source/rtl/filesys.c * source/rtl/set.c * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbffpt/dbffpt1.c * Changes in DBF RDD, DBFCDX RDD, DBFFPT RDD, made by Przemyslaw Czerpak and Giancarlo Niccolai, has been borrowed from xHarbour. * makefile.bc * makefile.nt * makefile.vc * make files has been updated due to adding source/rtl/hbrandom.c. 2004-02-27 12:37 UTC+0100 Viktor Szakats * source/rtl/teditor.prg ! Fixed a Bound error in GetParagraph which came up when using in wrap mode, in the last line I guess. Note that this just fixed the bound error, not the possible real problem. 2004-02-21 8:14 UTC+0100 Viktor Szakats * source/common/hbffind.c * source/rtl/direct.c + Completely rearranged, so that the platform specific stuff is kept in one function. Redundant code removed. * Attrib filters needed to make DIRECTORY() CA-Cl*pper compatible have been moved to the low-level file-find functions. + Added label support for Win32. ! Fix for Win32. It has been made compatible with the C RTL _dos_findfirst pattern matching, which is what CA-Cl*pper is compatible with. * Adding space to the stringified attribute list on HB_FA_NORMAL removed, since it's not compatible, and it doesn't get executed anyway, since HB_FA_NORMAL == 0. * UNIX part formatted. ; All this means that file find API is fixed now and compatible with CA-Cl*pper on the lower level. Heavily tested under Win32, and probably easy to fix for any other platforms now in case of incompatibility. Changes has be merged from an older version of the file, so please double chk your changes/platforms. ; Note that other file-find API based functions will also automatically benefit from the above changes, like FILE()/ hb_fsFile(). 2004-02-21 7:39 UTC+0100 Viktor Szakats * source/rtl/memoread.c * Previous change reverted. hb_retc( NULL ) was intentional and is an optimized version of hb_retc( "" ). Both will return an empty string. % hb_fsClose() calls reduced. * src/rtl/tbcolumn.prg * src/rtl/tbrowse.prg ! :SetColumn() retval made compatible. ! :ColWidth() retval made compatible. % Using array functions to speed up a few things. % Got rid of the predefined 4096 long array in every columns plus the browse object. ; More and more incompatibilities are popping up, some of them quite strange, and only coming up in a large app's sophisticated browse stressing environment. - Removing rightmost column while active will do RTE, - If headsep is initialized after the columns and cargo, browse will sometimes behave strangely (headsep value disappears??) - Moving columns off the visible area will screw up internals. - Modifying columns is slow because of the unconditional :configure() calls. 2004-02-20 8:55 UTC-0800 Luis Krause Mantilla * contrib/mysql/mysql.c ! Fixed declaration for filelength() from int to long to match io.h * source/rtl/memofile.c ! Changed return values for empty or failed calles to MemoRead() to return an empty string instead of a NULL ! Close file when MemoRead() was successful, but file was empty (was being left open) Above solutions reported and provided by David Arturo Macías Corona. Thanks! 2004-02-19 12:48 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c ! fixed casting in adsShowError() * contrib/rdd_ads/ads1.c ! adsSeek() now raises a runtime error 1201 if no index is active ! adsOrderListAdd() sets order to 0 if an invalid or non-existent tag is provided The above two were added to keep Clipper compatibility + Added 5th param to commonError() in order to provide uiFlags, like other RDD's * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c ! Fixed error code returned by hb_cdxSeek() and ntxSeek() to 1201 (was 1020) so it returns same error code as Clipper 2004-02-17 9:22 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c + Forgot to mention Brian Hays' implicit record locking fix/workaround is also included in my previous ADS update. The function name is adsTestRecLocks() 2004-02-16 17:40 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c * contrib/rdd_ads/ace.h * contrib/rdd_ads/rddads.h * contrib/rdd_ads/doc/en/adsfuncs.txt ! Renamed Data Dictionary functions for consistency: adsAddTable() to adsDDAddTale() adsAddUserToGroup to adsDDAddUserToGroup() ! Moved adsGetNumActiveLinks() inside the ADS_REQUIRE_VERSION6 to avoid compile errors with ADS version older than v. 6.0 + Syncronized with xHarbour - Thanks to Brian Hays, Toninho, et. al. added the following functions: adsConnect60() adsCopyTableContents() adsDDCreate() adsDDCreateUser() adsDDGetDatabaseProperty() adsDDGetUserProperty() adsDDSetDatabaseProperty() adsGetTableCharType() adsMGGetLockOwner() 2004-02-16 15:52 UTC+0100 Viktor Szakats * src/rtl/set.c ! Fixed an incompatibility in Set(_SET_EXIT) which caused ReadExit() to set the SET value even if called without a parameter. Similar incompatibility can exist with other sets, but I didn't chk them. Now ReadExit() works as expected. * src/rtl/tbrowse.prg ! Typo. 2004-02-16 10:52 UTC+0100 Viktor Szakats * src/rtl/tbrowse.prg + :ColorRect() partial support added. The missing part is that in C52 :ColorRect() will update the screen probably using some internal buffers for the data, because the skipblock for example is not evaluated. * src/rtl/filesys.c * Some cleanup, optim, comments, added static. 2004-02-15 14:02 UTC-0800 Luis Krause Mantilla * hrbdll.bc + added references to cdphu852.c cdphuwin.c and errorint.c Could a MSVC user update hrbdll.vc 2004-02-15 16:35 UTC+0100 Viktor Szakats * src/rtl/tbrowse.prg ! Fixed to not display headsep/footsep when there's no header/footer. ! Fixed to display headsep/footsep with the width of colsep. * makefile.bc ! Added DEBUG_LIB for Harbour exes to make them compile in debug mode. * souce/rtl/gtapi.c ! hb_gtSetColorStr() previous change reverted. The mistake was on my side most probably. 2004-02-15 05:25 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! :Moved() fixed to always DeHilite() (independently from the autolite value). This is in sync with C52 docs (see autolite .ng), and testing has shown it to be compatible. Only :stabilize should be affected by the autolite setting. + TODO: added about missing ColorRect functionality. 2004-02-15 05:12 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed color handling to take into account ::defcolor of TBColumn. Now TBrowse coloring is C52 compatible. For speed wierd cases are not handled like if the value of ::defcolor is improper. * source/rtl/tgetlist.prg * source/rtl/ttopbar.prg * source/rtl/tbrowse.prg ! DevPos() -> SetPos() (TBrowse() had plenty of them) ! Few missing color params added to DispOut*() 2004-02-15 04:20 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! :display() fixed to always evaluate the get block before displaying like in C52. * include/hbapifs.h + HB_FFIND structure extended for future changes. 2004-02-15 03:42 UTC+0100 Viktor Szakats * source/rdd/dbcmd.c ! FIELDPUT() Fixed to accept and ignore field NIL values without runtime error. C52 compatible. 2004-02-14 19:14 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! SetColumnWidth() fixed for multi-line headers. 2004-02-14 05:33 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtwin/gtwin.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c + Following low-level GT API functions added (for completeness): hb_gt_GetCharAttr( SHORT uiRow, SHORT uiCol, BYTE * pbyChar, BYTE * pbyAttr ); "static hb_gt_xGetXY()" functionality copied where available. * Parameter of previously added functions changed from USHORT to SHORT (to support moving windows out of screen) + "static hb_gt_xPutch()" code copied to hb_gt_PutCharAttr() where available. ! Added bounds checking to GTWIN new functions. 2004-02-14 04:28 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gt_tpl/gt_tpl.c + Following low-level GT API functions added to support 3rd party GT high-level layers/replacements and 3rd party screen handling libraries: hb_gt_PutCharAttr( USHORT uiRow, USHORT uiCol, BYTE byChar, BYTE byAttr ); hb_gt_PutChar( USHORT uiRow, USHORT uiCol, BYTE byChar ); hb_gt_PutAttr( USHORT uiRow, USHORT uiCol, BYTE byAttr ); hb_gt_GetChar( USHORT uiRow, USHORT uiCol, BYTE * pbyChar ); hb_gt_GetAttr( USHORT uiRow, USHORT uiCol, BYTE * pbyAttr ); * source/rtl/gtwin/gtwin.c * Above functions completed for the Win Terminal driver. * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * Skeletons added for the above new functions. 2004-02-14 03:00 UTC+0100 Viktor Szakats * makefile.bc ! Fixed compilation of dbgbrwsr * source/pp/ppcore.c * source/rtl/round.c * source/rdd/dbfcdx/dbfcdx1.c ! Fixed errors when compiled with HB_TRACE * source/common/hbffind.c * Formatting. 2004-02-13 23:57 UTC+0100 Viktor Szakats + source/codepage/cdphu852.c + source/codepage/cdphuwin.c * source/codepage/Makefile * makefile.bc * makefile.nt * makefile.vc + Added Hungarian 852 and Windows sorting codepages. * source/rtl/errorapi.c + source/rtl/errorint.c * source/rtl/Makefile * makefile.bc * makefile.nt * makefile.vc + hb_errInternal() put in a separate source file, to ease replacing/override it in link-time, this may be useful for GUI apps, logging or something like this. 2004-02-13 23:36 UTC+0100 Viktor Szakats * source/vm/hvm.c ! hb_vmPopAliasedVar() - Fixed to be case-insensitive. % hb_vmPushAliasedVar() - Case-insensitive handling speed up. * unsigned long -> ULONG * source/rtl/idle.c * include/hbapi.h + Made hb_releaseCPU() public. * source/rtl/filesys.c * include/hbapifs.h + Added return value to hb_fsSetDevMode(), this way it's fully compatible with the CA-Cl*pper _tdevraw() call. * source/rtl/philes53.c ! FSETDEVMOD() now returns a numeric instead of NIL. The returned value is always 0 now. Note added about this incompatibility with C53. * source/common/hbver.c ! Mistyped defines related to compatibilty fixed. * source/rtl/strcase.c ! Incorrect assigment warnings fixed. 2004-02-13 21:56 UTC+0100 Viktor Szakats * souce/rtl/gtapi.c ! hb_gtSetColorStr() removed one suspicious assigment which showed incompatible with CA-Cl*pper, where CLR_UNSELECTED was made equal to CLR_ENHANCED if missing from the color string. * Using HB_CLR_ constants instead of literals. * source/rtl/tget.prg ! :ColorSpec() method unselected color defaulting fixed. * source/compiler/hbusage.c * Bumped year to 2004. 2004-02-12 13:42 UTC-0800 Luis Krause Mantilla * hrbdll.bc + added missing references - deleted obsolete refrerences 2004-02-11 13:40 UTC+0100 Ryszard Glab + source/debug/dbgbrwsr.prg + The new file with TDbgBrowser class which inherits from TBrowse * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * source/debug/Makefile + added the reference to dbgbrwsr.prg * source/debug/dbgmenu.prg + added "Run at Startup' option * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/debug/tbrwtext.prg + added "Run at Startup' option - if it is enabled then the debugged application runs until ALTD() is called or Alt+D keys pressed (Clipper compatibility - the default option). If it is disabled the the debugger shows up at the first code line with the debug info. This setting is stored in the initialization file (init.cld) as 'Options NoRunAtStartup'. * fixed more display/refreshing issues * fixed quiting the debugger * source/rtl/alert.prg * fixed bug with messages longer then 60 bytes * source/vm/hvm.c * hb_vmDebugEndProc() is called before the eval stack is cleaned - this allows to handle INIT/EXIT procedures correctly 2004-02-05 18:49 UTC-0800 Luis Krause Mantilla * source/vm/debug.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMSTKGLIST() __VMSTKGCOUNT() Thanks Andi! 2004-01-30 15:30 UTC+0100 Ryszard Glab * source/pp/ppcore.c * fixed compilation of &(exp) in normal stringify markers (this fixes INDEX ON bug reported by Jorge) 2004-01-30 10:40 UTC+0100 Ryszard Glab * source/rtl/teditor.prg * the current line is still visible after the window resizing * source/debug/debugger.prg * fixed refreshing of variables' monitor window * fixed some save/restore screen issues 2004-01-29 20:15 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/ace.h + added missing definition for adsGetNumActiveLinks() 2004-01-29 18:45 UTC-0800 Luis Krause Mantilla * source/vm/debug.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMSTKLCOUNT() __VMPARLLIST() __VMSTKLLIST() __VMVARLGET() __VMVARLSET() * source/vm/hvm.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMVARSLIST() __VMVARSLEN() __VMVARSGET() __VMVARSSET() Thanks Andi! 2004-01-29 18:30 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c + Added 3 ADS functions: adsGetNumOpenTables(), adsShowError() and adsGetNumActiveLinks() 2004-01-28 11:10 UTC+0100 Ryszard Glab * source/compiler/harbour.c * removed duplicated line causing memory leak reported by Andi 2004-01-27 19:10 UTC+0100 Ryszard Glab * source/compiler/harbour.c * fixed generation of pcode in codeblocks with no local variables or parameters * source/debug/debugger.prg * fixed refreshing of variables in monitor window 2004-01-27 16:10 UTC+0100 Ryszard Glab * source/compiler/harbour.c * the compiler generates module name inside '(_INITSTATICS)' function if -B option is used * source/vm/hvm.c * fixed hb_vmStaticName, hb_dbg_vmVarSGet, hb_dbg_varSSet to use the static variables frame * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/debugger.prg * fixed parsing of : in watchpoint expressions * fixed monitoring of static variables - the debugger displays now static variables defined in the current debugged prg file 2004-01-26 19:30 UTC+0100 Ryszard Glab * include/hbextern.ch * tests/debugtst.prg * tests/funcarr.prg * tests/inherit.prg * tests/objarr.prg * tests/objasign.prg *replaced '__vm*' functions with 'hb_dbg_vm*' names 2004-01-26 8:30 UTC-0800 Luis Krause Mantilla * source/rtl/tget.prg ! Fixed bug in get class when using "@9" picture with strings 2004-01-26 11:45 UTC+0100 Ryszard Glab * source/compiler/harbour.c *fixed generation of codeblock's pcode with debugging info * source/debug/dbgmenu.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/debug/tbrwtext.prg *added Tracepoint support *added support for PPO files *added monitoring of local variables used in a codeblock *local variables are displayed correctly when the callstack window is browsed *other minor fixes * source/vm/debug.c *renamed '__vm*' functions to 'hb_dbg_*' *fixed support for local variables inside of codeblock * source/vm/hvm.c *added 'hb_dbg_ProcLevel' function which return the size of procedure stack calls (the debugger support) 2004-01-25 10:11 UTC+0100 Antonio Linares * makefile.nt * makefile.vc * minor fix for hbverdir module 2004-01-22 18:30 UTC+0100 Ryszard Glab * source/debug/dbgmenu.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg *added Watchpoints support * source/vm/debug.c *added item de-referencing to __vmVarLGet 2004-01-21 18:40 UTC+0100 Ryszard Glab +include/hbdebug.ch *added a missing file 2004-01-21 18:35 UTC+0100 Ryszard Glab * source/compiler/harbour.y *fixed generation of line number's pcode related to the debugger * source/debug/dbgmenu.prg * source/debug/debugger.prg *added support for 'Run to cursor" command *minor fixes in breakpoints handling (some code lines are not allowed to set a breakpoint and run to cursor) 2004-01-21 15:30 UTC+0100 Ryszard Glab * source/compiler/harbour.y *fixed generation of line number's pcode related to the debugger * source/debug/dbgmenu.prg * source/debug/debugger.prg *fixed TRACE command *added support for 'Codeblock trace' option * other minor fixes to make the debugger usable Additionally in my previous commit (2004-01-20 19:15) * source/vm/hvm.c *added call for hb_inkeyPoll to the main pcode execution loop to correctly support Alt-D, Alt-C and Ctrl-C requests (only if HB_GUI is not defined) - it is called every 256 opcodes 2004-01-20 19:15 UTC+0100 Ryszard Glab * include/hbcomp.h * include/hbexprb.c * source/macro/macrob.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbfix.c *when debug information is requested then the compiler generates correct pcode with static variable name (it was correct if -gc1 or -gc2 options were used previously) *the pcode of a codeblock contains the module name (in debug mode) + include/hbdebug.ch *a new file with a definition of __dbgEntry call modes * source/debug/debugger.prg * source/vm/hvm.c *changed parameters passed to __dbgEntry function to make the function more flexible *fixed monitoring of local and static variables *when a codeblock is eveluated then debugger shows the code where the codeblock was created * source/rtl/tbrowse.prg *'configure' method recalculates the width of columns * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c *code clean-up and optimalization related to codeblocks * source/rtl/gtcrs/Makefile * source/rtl/gtcrs/gtcrs.c + source/rtl/gtcrs/charmap.prg *added possibility to load a character mapping using HB_GT_CHARMAP + source/rtl/gtcrs/debug.map *an example character mapping 2004-01-08 18:45 UTC-0500 David G. Holm * contrib/Makefile + Added a section for rsxnt, which is unable to compile Ole and odbc. - Removed odbc from default section, because it includes the windows.h include file, which is unlikely to exist on non-Windows systems. * contrib/odbc/odbc.c ! Added type overrides for MSVC. 2004-01-08 16:45 UTC-0500 David G. Holm * source/rtl/filesys.c ! Usage of fdatasync updated to match current POSIX specification. 2004-01-08 16:00 UTC-0500 David G. Holm * source/rtl/filesys.c + Added an error return check to fdatasync when using POSIX synchronized I/O, so that if unimplemented, the slower method will be used to ensure that the file gets flushed. * utils/hbpp/hbpp.c ! Removed another refererence to malloc.h, which is obsoleted by stdlib.h and doesn't even exist in gcc 3.x implementations. 2003-12-25 19:40 UTC-0800 Luis Krause Mantilla * include/hbapifs.ch * source/rtl/direct.c * source/common/hbffind.c ! Fixed bug in Directory( "c:\*.*" ) that returned 0 when hidden files were present Borrowed from xHarbour 2003-12-13 17:05 UTC+0100 Ryszard Glab * source/vm/codebloc.c * fixed initialization of detached variables 2003-12-12 11:45 UTC-0800 Luis Krause Mantilla * source/rdd/dbcmd.c ! Fixed dbSelectArea() bug reported by Giovi Verrua Thanks to Ryszard for the heads-up 2003-12-10 18:20 UTC-0500 David G. Holm * utils/hbver/hbverfix.c ! Fixes for problems found after testing on FreeBSD. 2003-12-10 17:30 UTC-0500 David G. Holm * source/compiler/harbour.c * source/compiler/harbour.sly * source/compiler/harbour.y * source/rtl/isprint.c * source/vm/fm.c * source/vm/hvm.c ! Never include malloc.h, because: 1) It been obsoleted by stdlib.h in Standard C; and 2) The use of malloc.h is forbidden in GCC 3.x. 2003-12-05 16:05 UTC+0100 Ryszard Glab * source/rtl/gtcrs/gtcrs.c * characters with code > 128 are displayed correctly now * tests/codebl.prg * updated test for detached codeblock parameters (Notice that we are not compatible with Clipper here - there is no need do duplicate Clipper bug, IMHO) 2003-12-03 17:28 UTC-0800 Luis Krause Mantilla * source/rdd/dbcmd.c ! Fixed OrdKeyNo() bug that set RecNo() to LastRec() + 1 reported by Roberto López - borrowed from xharbour 2003-12-03 14:24 UTC-0800 Luis Krause Mantilla * include/hbapirdd.h * source/rdd/dbcmd.c ! Fixed dbCreate() bug that closed an open dbf with same name as newly created dbf in a different folder reported by Giovi Verrua - borrowed from xharbour 2003-12-02 15:57 UTC+0100 Tomaz Zupan * bin/pack_src.sh + Added missing directories to script 2003-12-02 15:23 UTC+0100 Lorenzo Fiorini * source/vm/hvm.c * source/vm/mainwin.c * bin/bld.bat * config/dos/watcom.cf + config/w32/watcom.cf ! added support to OpenWatcom DOS/Win32 borrowed from xHarbour 2003-11-24 18:32 UTC+0100 Lorenzo Fiorini * source/compiler/gencobj.c ! fixed to allow = for the C compiler options ( suggested by Przemyslaw Czerpak ) ! added support of OpenWatcom C ! cleaned the verbose option * source/rdd/dbfcdx/dbfcdx1.h ! changed to allow OpenWatcom C build ( suggested by Przemyslaw Czerpak ) * source/vm/itemapi.c ! added support of OpenWatcom C 2003-11-14 16:45 UTC+0100 Ryszard Glab * include/hbmath.h * fixed to compile under OpenWatcom * source/vm/memvars.c * fixed to release PUBLIC variables correctly (when RELEASE command is used) 2003-10-12 17:35 UTC-0500 David G. Holm * utils/hbver/hbverfix.c ! Include closing quote in string built by szReplaceQuoted. ! Strip newline chars from end of log entry. 2003-10-12 17:15 UTC-0500 David G. Holm * utils/hbver/hbverfix.c ! Use the standard ENOENT instead of the DOS-centric ENOFILE. ! Resolved three print format warnings. 2003-11-12 13:35 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add a lines for source/rdd/dbfdbt, source/rdd/dbffpt, utils/hbver * doc/es/dbstrux.txt - Remove embedded TABs 2003-10-11 18:35 UTC-0500 David G. Holm * makefile.bc * makefile.nt * makefile.vc * include/hbver.h * utils/Makefile + utils/hbver/Makefile + utils/hbver/hbverfix.c This is a first pass at a utility to automatically update include/hbver.h. The ChangeLog-related fields are updated automatically. One of the version- related fields can be updated using one of three command line options (/iv for major version, /im for minor version, or /ir for program revision). The minimal debug output can be suppressed by using the /d-1 option or verbose debug output can be seen by using the /d1 option. Help is obtained using either of the /h or /? options. 2003-11-10 15:54 UTC+0100 Maurilio Longo borrowed from xHarbour trying to hunt down a memory leak on an utility of mine 2003-11-10 12:19 UTC+0100 Przemyslaw Czerpak * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c ! possible memory leak fixed * small improvment in balancing 2003-11-10 13:20 UTC+0100 Maurilio Longo * contrib/btree/hb_btree.c + added _CLIPDEFS_H define to let it compile on OS/2 GCC * contrib/libct/bit1.c * contrib/libct/bit3.c * contrib/libct/ct.h + added _CLIPDEFS_H define to let it compile on OS/2 GCC * changed redefined base tipes to C ones, like WORD -> long, bit3.c was already partly fixed before this one * contrib/libnf/chdir.c * contrib/libnf/dispc.c * contrib/libnf/getenvrn.c * contrib/libnf/kspeed.c * contrib/libnf/mouse.c * contrib/libnf/rmdir.c + added _CLIPDEFS_H define to let it compile on OS/2 GCC, now it compiles, but a lot of functions are DOS only 2003-11-10 12:25 UTC+0100 Ryszard Glab * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbusage.c * source/vm/hvm.c * doc/en/compiler.txt * fixed to correctly generate an address for far jumps * fixed optimalization of far jumps + added a new switch -kJ to disable jump optimalization and NOOP pcode removal (optimalization is enabled by default) 2003-11-09 00:50 UTC+0300 Alexander Kresin * source/pp/pptable.c + SET MBLOCKSIZE TO SET MEMOBLOCK TO SET MFILEEXT TO SET AUTOSHARE TO [] SET AUTORDER TO [] SET STRICTREAD New DBFFPT related commands, added by Przemyslaw Czerpak - synced with xHarbour. * include/hbdefs.h * source/rdd/dbcmd.c * source/rdd/dbfcdx/dbfcdx1.c ! Some DBFCDX fixes by Przemyslaw Czerpak - synced with xHarbour. * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which appeared while conditional indexing of a parent file in relation. 2003-10-22 13:26 UTC-0800 Luis Krause Mantilla * source/rdd/rddord.prg + ORDSETRELATION() * source/rtl/dummy.prg + removed implemented fzuns * Latest RDD changes, has been made by Przemyslaw Czerpak - synced with xHarbour. 2003-11-06 11:40 UTC+0100 Ryszard Glab * source/compiler/harbour.l * enabled support for break[] (if not full Clipper compatibility mode was requested) * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt2.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * fixed optimalization of literal strings that contain macro operator - strings are not joined if the left argument of '+' operator contains '&' for example: CHR(38)+'text' -> will no longer look for 'text' variable '&var'+'iable' -> will look for 'var' variable instead of 'variable' + added optimalization of ASC function for example: ASC('&') will be replaced with 38 + added optimalization of LEN function for example: LEN("123") will be replaced with 3 LEN( {1,2} ) will be replaced with 2 Optimalization od ASC, LEN is disabled if strict Clipper mode is requested (-kc) * source/compiler/harbour.c * support for strings as array of bytes is disabled by default now (use -ks to enable it) * source/vm/cmdarg.c * source/vm/hvm.c * support for strings as array of bytes is disabled by default now (use //FLAGS:s to enable it) 2003-11-06 11:00 UTC+0300 Alexander Kresin * source/vm/hvm.c * RDD initialization added ( made by Przemyslaw Czerpak ) - I forgot to upload it yesterday. 2003-11-05 23:35 UTC+0300 Alexander Kresin * makefile.bc * makefile.nt * makefile.vc * Makefiles has been updated due to RDD changes 2003-11-05 22:50 UTC+0300 Alexander Kresin * config/global.cf * include/hbapirdd.h * include/hbapi.h * include/hbapifs.h * include/hbdefs.h * include/hbrddcdx.h * include/hbrddntx.h * include/hbrdddbf.h * include/hbrdddel.h * include/hbrddsdf.h + include/hbdbferr.h + include/hbrdddbt.h + include/hbrddfpt.h * source/rtl/filesys.c * source/rtl/spfiles.c * source/rtl/filehb.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/rddsys.prg * source/rdd/sdf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx0.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h - source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfntx/dbfntx1.c + source/rdd/dbfdbt/ + source/rdd/dbfdbt/dbfdbt0.prg + source/rdd/dbfdbt/dbfdbt1.c + source/rdd/dbffpt/ + source/rdd/dbffpt/dbffpt0.prg + source/rdd/dbffpt/dbffpt1.c * Latest RDD changes, has been made by Przemyslaw Czerpak - synced with xHarbour. 2003-10-30 19:50 UTC+0100 Ryszard Glab * source/compiler/harbour.l * source/compiler/harbour.y *Fixed support for DO [WITH ...] command The procedure name is not "uppercased" For example: DO MyProc The compiler look for MyProc.prg file now (instead of MYPROC.prg) 2003-10-30 10:45 UTC+0100 Tomaz Zupan * source/rtl/alert.prg ! Reverted changes from 2003-09-07 2003-10-29 20:15 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c *fixed generation of pcode for {|| &var} *see below * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbusage.c * doc/en/compiler.txt *added support for DO WITH @variable *a new compatibility flag -ks was added to enable support for strings as array of bytes (it is enabled by default). The support for strings as bytes array is disabled if you use -kc switch (Clipper compatibility mode) *when xbase mode is not used (-kc or -kch) then compiler doesn't generate the pcode for these xbase extended features For example: memv:="2,3" a:={1, &memv, 4} will generate a runtime 'syntax error' without -kx switch or will create an array with four elements if -kx was used. The above rule will apply also for: var[&index] func( &argument ) (expr1, ¯o ) Notice that the xbase mode is enabled by default. * source/rtl/gtapi.c *fixed GPF in hb_gtBox() when no string was passed * source/rtl/gtcrs/gtcrs.c *improved recognition of xterm compatible terminals * source/rtl/gtcrs/Makefile * source/rtl/gtcrs/kbdcrs.c + source/rtl/gtcrs/keymap.prg + source/rtl/gtcrs/eterm.map + source/rtl/gtcrs/linux.map *the support for runtime definition of keycodes mapping was added (translation from terminal key sequences into INKEY() codes) +eterm.map and linux.map are example files with keycode mapping +HB_GT_KEYMAP() function was added * include/hbapi.h *Changed declaration of hb_cmdargProcessVM() * include/hbapigt.h * include/hbvm.h * source/rtl/inkey.c * source/vm/cmdarg.c * source/vm/hvm.c *new function hb_vmFlagEnabled() to query compatibility at runtime *new internal command line arguments were added to control application at runtime: //FLAGS:switches this flag controls compatibility issues of the virtual machine Available switches: c - Clipper compatibility h - Harbour extensions (enabled by default) s - enable support for strings as array of bytes (enabled by default) For example: myapp //FLAGS:ch will disable support for strings as array of bytes //CANCEL:key //CANCELEX:keyex this flag allows change the keycode of application cancel request (usually Alt-C) - using normal INKEY() keycodes or extended keycodes (CANCELEX) For example: myapp //CANCEL:304 will change Alt-c into Alt-b for cancelling (Alt-c is used to insert polish diactric letter) * tests/keywords.prg *fixed to suppress warnings for FIELD and IN keywords if passed by reference 2003-10-25 14:45 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c * fixed to stop 'function defined but not used' warning with SIMPLEX * source/compiler/harbour.l * enhanced to support nested '[]' strings created with dumb stingify match marker (full Clipper compatibility with Flex) * source/pp/ppcomp.c * source/pp/ppcore.c * fixed support for stingify match markers - full Clipper compatibility * tests/Makefile * testpp.prg was added into BAD_PRG_SOURCES * tests/codebl.prg * test for references of codeblock parameters was added + tests/testpp.prg * new file to test stringify match markers (this file will not run - compile it only) 2003-10-24 11:50 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Minor fix for calculating the maximum keys number in index page. Some 3rd party engines ( Crystal Reports ) had problems opening ntx'es, created by Harbour. 2003-10-23 15:40 UTC+0100 Ryszard Glab * source/compiler/harbour.l * fixed codeblock scanning - this should cure random GPFs 2003-10-23 11:00 UTC+0100 Ryszard Glab * include/hbexprc.c * source/compiler/exproptc.c * a variable pbUseTextSubst is initialized correctly when compiled with macro support * source/compiler/harbour.l * (char *) cast was added * source/vm/itemapi.c * check for a loop in variable de-referencing was added The following code: var := IIF( .T., @var, var ) is causing that the variable is referencing itself (valid syntax in Clipper) * source/vm/macro.c * fixed to link correctly with WATCOM linker 2003-10-23 10:30 UTC+0300 Alexander Kresin * source/rtl/strcase.c ! hb_strncpyUpper() and hb_strncpyUpperTrim() fixed. 2003-10-22 9:49 UTC-0800 Luis Krause Mantilla * makefile.bc * $(OBJ_DIR)\msgsrwin.obj added to LANG.LIB dependencies section. 2003-10-22 13:55 UTC+0300 Alexander Kresin * makefile.bc * makefile.nt * makefile.vc * lang/msgsrwin.c and symbol.prg ( to makefile.nt only ) added. * source/rdd/dbcmd.c ! Ordscope() fixed - first parameter is TOPSCOPE by default now. 2003-10-21 10:23 UTC-0800 Luis Krause Mantilla * source/vm/codebloc.c ! Fixed detached local bug (borrowed from xharbour) * source/rdd/dbcmd.c ! Fixed bug in __dbLocate() with When clause (borrowed from xharbour) 2003-10-20 13:45 UTC+0100 Ryszard Glab * .cvsignore * Restored previous version * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.sly * fixed declaration mismatch in Simplex version * fixed generation of string's pcode (introduced with my previous changes) * source/pp/ppcore.c * fixed support for stringify match markers <""> and <()> in Flex version (for example &var.1 have to be expanded into "&var.1" instead of var.1 since this is not a valid Clipper expression) NOTICE! In Simplex version this is not fixed because it is used as a hack to correctly support macro variables in GET command. * tests/testget.prg * MEMVAR declaration was added 2003-10-20 11:37 UTC+0300 Alexander Kresin * include/hbapi.h * The declaration of hb_objSendMsg() added. * source/rdd/dbfntx/dbfntx1.c ! bug fixed in soft seeking. 2003-10-17 18:08 UTC+0100 Ryszard Glab * include/hbapi.h * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.sly * source/compiler/harbour.y * source/compiler/hbgenerr.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * Fixed support for late/early evaluation of macro exressions in a codeblock (Flex version) (see tests/tstblock.prg for a sample) Harbour(flex) is now full Clipper compatible here. * config/dos/watcom.cf * source/rdd/dbfcdx/dbfcdx1.h * source/common/hbffind.c * include/hbrddcdx.h * include/hbmath.h * Changed to compile correctly with WATCOM compilers 2003-10-16 13:17 UTC+0100 Antonio Linares * source/rtl/round.c ! hb_numRound() completely redesigned Source code provided by Vicente Aranzana. Vicente Aranzana kindly requests to have CVS developer access rights. 2003-10-10 10:00 UTC+0100 Antonio Linares * source/rtl/round.c ! changes on round() function, proposed by Vicente Aranzana. Based on his tests, the changes are working ok. 2003-10-08 14:24 UTC+0300 Alexander Kresin * Makefile * contrib/Makefile * Makefiles are changed to build some contribution libraries. * source/vm/classes.c * hb_objSendMsg() function added ( borrowed from xHarbour ). It makes it more easy to set/get values of object variables, execute object methods from the C level. 2003-10-07 12:06 UTC+0200 Chen Kedem * doc/whatsnew.txt * Update build 43 release date 2003-10-04 20:18 UTC+0300 Alexander Kresin * contrib/ole/ole2.c * Some changes needed for Mingw. + contrib/ole/Makefile + Makefile added. 2003-09-29 16:12 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/doc/en/adsfuncs.txt + Added 2 (ignored) & 3rd params to adsKeyNo() in order to perform like OrdKeyNo() for other RDD's. The default remains ADS_IGNOREFILTERS for compatibility (like adsKeyCount() does). Updated documentation in adsfuncs.txt 2003-09-29 22:10 UTC+0300 Alexander Kresin *source/rtl/strcase.c ! hb_strncpyUpperTrim() is fixed ( borrowed from xHarbour ). * include/hbver.h * Release info has been corrected again ... 2003-09-29 15:20 UTC+0300 Alexander Kresin *source/rtl/strcase.c ! hb_strncpyUpper() is fixed ( borrowed from xHarbour ). * make_tgz.sh * bin/pack_src.sh * release info changed * include/hbver.h * Release info has been corrected again :). 2003-09-29 11:47 UTC+0300 Chen Kedem * doc/whatsnew.txt + Added information about builds 10..25, 43 based on information found on the Harbour site and the mail list. 2003-09-29 11:25 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Signature byte for ntx files is changed to be Clipper compatible. * include/hbver.h * Release info has been corrected 2003-09-29 09:10 UTC+0200 Tomaz Zupan * harbour.spec * Release info has been changed. 2003-09-26 22:10 UTC+0300 Alexander Kresin * source/compiler/hbusage.c ! Year has been changed in copyright statement ( 2003 instead of 2002 ). * include/hbver.h * Release info has been changed. 2003-09-26 09:18 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxSeek(), reported by Przemyslaw Czerpak - index unlocking wasn't present in some occasions. 2003-09-22 17:07 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/adsfunc.c ! fixed parameter error handling in AdsSetAOF (borrowed from xHarbour) 2003-09-18 16:33 UTC-0800 Luis Krause Mantilla * contrib/rdd_ads/ads1.c ! Fixed bug when passing a numeric to adsCustomizeAOF() (Nil and array worked ok). Thanks to Brian Hays for the fix. * include/ads.ch ! The ROLLBACK TRANSACTION command was translating to AdsRollbackTransaction() instead of just AdsRollback() 2003-09-18 10:20 UTC+0100 Antonio Linares * source/rdd/dbcmd.c ! Fixed several places more where hb_strncpyUpper() was wrongly used 2003-09-18 10:00 UTC+0100 Antonio Linares * source/rdd/dbcmd.c ! definition required for MSVC * source/rdd/dbfcdx/dbfcdx1.c ! some typecastings required for MSVC 2003-09-17 21:41 UTC+0100 Antonio Linares * source/rdd/dbcmd.c ! fixed bug on hb_strncpyUpper() use from DbUseArea() 2003-09-17 10:54 UTC-0800 Luis Krause Mantilla * source/rtl/tget.prg ! Fixed bug in unTransform() method that truncated trailing spaces in variable when using "@R" template Borrowed from xharbour by Andi Jahja: * source/common/reserved.c * utils/hbdoc/genrtf.prg * utils/hbdoc/genng.prg + Add option to omit reserved words by adding -DHB_RESERVED_OFF (default is ON) /* This may be useful when one is working with pCode DLL where he must redefine reserved words as dummy functions in the DLL. */ 2003-09-15 12:50 UTC+0300 Alexander Kresin * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in hb_IncString(), reported by Przemyslaw Czerpak - now this function respects the national sorting rules. ! Bug fixed in hb_ntxTagKeyNo(), reported by Przemyslaw Czerpak - index unlocking wasn't present in some occasions. ! Bug fixed with scoping, reported by Giovi Verrua. 2003-09-11 11:30 UTC+0200 Przemyslaw Czerpak * harbour.spec * small fix in auto platform detection (thanks to Tomaz Zupan) * make_tgz.sh * added auto platform detection 2003-09-11 01:00 UTC+0200 Tomaz Zupan * harbour.spec * swiched back to gtcrs 2003-09-11 00:47 UTC+0200 Tomaz Zupan * harbour.spec * Added automatic platform resolution (borrowed from courier-imap project) * make_rpm.sh * small fix needed to work with Mandrake Linux 2003-09-10 23:27 UTC+0200 Przemyslaw Czerpak * harbour.spec * make_tgz.sh * small fix 2003-09-10 21:37 UTC+0200 Przemyslaw Czerpak * harbour.spec + new spec file. It creates four binary RPMs with shared and static libs core harbour compiler and tools and with Ron's PP which allow to run xBase files as scripts on *nix platform and new tool hbcmp, hbcc, hblnk, hbmk. For details see README.RPM Please remember that PP has poor GPL license. It is noticed in RPM headers. + hbgtmk.sh + simple script which connect to SourceForge CVS takes sources and build RPMs from them. + make_rpm.sh + script for checking dependences and making RPMs + make_tgz.sh + script for making binary package for this Linux distro which don't support RPM + bin/hb-mkslib.sh + script for building shared libs from static ones and/or object files + bin/pack_src.sh + script for packing harbour sources * Makefile * source/compiler/harbour.c * source/common/hbver.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/hvm.c * changes for some new futures in hb{cmp,lnk,mk} tools * contrib/libct/datetime.prg - redundant STOD removed (this function is part of RTL) * contrib/dot/pp.prg * contrib/dot/pp.txt * contrib/dot/pp_harb.ch * contrib/dot/rp_dot.ch * contrib/dot/rp_run.ch * upadting for runing xBase files as scripts. All this changes (except Ron's PP) are my work borrowed from xHarbour. 2003-09-10 15:00 UTC-0400 David G. Holm * config/dos/bcc16.cf * config/os2/icc.cf ! Disabled the LONGLONG and UNLONGLONG definitions in hbdefs.h, which only work for GCC and Windows, by defining HB_LONG_LONG_OFF. * source/common/hbstr.c * source/compiler/harbour.l * source/rtl/val.c ! Moved the duplicate definitions of hb_strVal to source/common/hbstr.c. * source/rtl/symbol.prg ! Removed static declarations from GETSYMBOLPOINTER, GETSYMBOLNAME, and SYMBOL_EXEC in order to eliminate static vs. extern errors in os2/icc builds. * source/rdd/dbfcdx/dbfcdx1.c ! Corrected two instances of (unsigned char *) typecasts on hb_fs... functions, which use BYTE * parameters, not unsigned char * (the distinction is very important for those builds that use C++ mode. 2003-09-10 09:45 UTC-0300 Antonio Carlos Pantaglione * source/vm/arrayshb.c ! More clipper compatible on ADel(). 2003-09-09 14:16 UTC+0300 Alexander Kresin * source/pp/ppcore.c ! Bug fixed in preprocessor, reported by Randy Portnoff. 2003-09-07 13:58 UTC+0200 Tomaz Zupan * source/rtl/gtcrs/gtcrs.c ! fixed displaying of boxes in xterm * source/rtl/alert.prg ! changed BoxString parameter while displaying box to NIL. It is needed to corectly display alert box in xterm. 2003-08-29 07:03 UTC+0100 Antonio Linares * source/vm/hvm.c ! Fix implemented for -0.0 on hb_vmPushDouble() as proposed by Alejandro de Garate , and on hb_PushDoubleConst() (I guess this place may be a source for such bug too). This fix should solve the bug described by Don Lowenstein regarding -0.0 result . 2003-08-24 14:30 UTC+0200 Tomaz Zupan * utils/hbdoc/genhtm.prg * removed trailing EOL from category name, because category is also used as file name. 2003-08-23 13:20 UTC+0200 Tomaz Zupan * utils/hbdoc/ffile1.prg ! fixed end of line handling now it works on platforma other than windows * utils/hbdoc/genhtm.prg ! fixed getitem function (in certain situation it returned NIL instead of logical value and prevented it to try access array beyond its bounds) * Changed backslashes into slashes (\ -> /) * utils/hbdoc/hbdoc.prg * doc/genhtm.rsp * Changed backslashes into slashes (\ -> /) 2003-08-22 12:10 UTC+0100 Antonio Linares + source/rtl/color53.prg + source/rtl/mssgline.prg ! modules borrowed from xharbour (required for recent ttopbar.prg changes) * makefile.bc * makefile.nt * makefile.vc * source/rtl/Makefile + added modules mssgline.prg and color53.prg * include/hbapicdp.h + Added hb_cdpchrcmp() prototype * include/hbdefs.h + Added support for ULONLONG * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h + Freeing pages implemented + redistributing keys implemented * small speed improvement ! And many bug fixes (changes borrowed from xharbour - developed by Przemyslaw Czerpak ) * source/rtl/cdpapi.c ! sync with xharbour (changes required for DBFCDX improvements) 2003-08-22 11:26 UTC+0100 Antonio Linares * source/rtl/ttopbar.prg ! some required formating 2003-08-21 13:36 UTC+0100 Antonio Linares * source/rtl/ttopbar.prg + MenuModal() implementation - changes borrowed from xHarbour, which borrowed used Class TopBarMenu from Harbour. With this function, David Macias reported bug of missing functions, is answered, as the functions names should not be truncated to 10 chars, also MAKEDIR() should be used instead of DIRMAKE(), and MemoSetSuper() implementation is pending on RDD experts development. 2003-08-21 12:37 UTC+0100 Antonio Linares * source/rtl/teditor.prg ! Modified to allow inherited classes to properly manage K_ESC * source/rtl/memoedit.prg ! K_ESC and CTRL-W Clipper compatible management MemoEdit() bugs described by David Macias, already fixed. The only difference there is with Clipper is that Clipper does not shows the message "Abort Edit? (Y/N)" if the text has not been modified, but Class HBEditor does not provides a DATA lModified by now. 2003-08-21 11:29 UTC+0100 Antonio Linares * contrib/samples/environ.c ! Fixed GPF on missing dot for FileExt() use Bug described by David Macias, and he confirmed the fix too, with this change. 2003-08-19 23:00 UTC+0300 Alexander Kresin + harbour.spec spec file to build rpm is added. * source/debug/debugger.prg ! Fix, provided by Lorenzo Fiorini 2003-08-07 22:50 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Fix in LOCATE REST WHILE ... FOR ..., provided by Alexander Prostoserdov * source/rdd/dbfntx/dbfntx1.c * support of binary keys implemented. 2003-08-04 14:00 UTC-0400 David G. Holm * source/rtl/gtapi.c ! Enforce Clipper compatibility for SCROLL by only calling hb_gt_Scroll from hb_gtScroll if left <= right and top <= bottom. 2003-07-30 14:30 UTC-0400 David G. Holm * include/set.ch ! Indicate that there are six (6) Harbour SET extensions. 2003-07-30 08:28 UTC+0300 Chen Kedem * doc/en/set.txt + Added _SET_EOF text from the changelog entry written by David G. Holm and mark it Harbour extension. 2003-07-28 22:00 UTC-0400 David G. Holm * include/hbset.h * include/set.ch * source/pp/pptable.c * source/rtl/dbdelim.prg * source/rtl/dbsdf.prg * source/rtl/set.c + New SET value named _SET_EOF. Defaults to FALSE on UN*X, but defaults to TRUE on everything else. If set to FALSE, then CHR(26) does not get written when using COPY TO DELIMITED, COPY TO SDF, or when closing any of the various text files that are created using various SET values. 2003-07-21 11:10 UTC-0300 Antonio Carlos Pantaglione * source/rtl/transfrm.c ! Fixed the problem with @E and negative numbers. local nValue := -134.24 msginfo( Val( AllTrim( Transform( nValue, "@E 99,999.99" ) ) ) ) msginfo( Val( AllTrim( Transform( nValue, "@E99,999.99" ) ) ) ) Thanks to Enrico Maria Giordano for this fix. 2003-07-17 23:00 UTC-0300 Antonio Carlos Pantaglione * source/rtl/transfrm.c ! Removed some old commented lines * contrib/rdd_ads/adsfunc.c ! Update transaction functions ! Add AdsCacheRecords function * source/rdd/dbcmd.c ! Modified error handling to allow retry if alias is not exist during DBSelectArea() for Clipper compatibility. (Reported by Giovi Verrua) * source/vm/hvm.c ! More Clipper compatible to handle FOR-NEXT loops. Changes by Andi Jahja, borrow from xharbour 2003-07-17 17:43 UTC-0400 Alejandro de Garate * doc/en/memo.txt + Added MEMOREAD(), MEMOWRIT() documentation * doc/es/memo.txt + Added MEMOREAD(), MEMOWRIT() documentation 2003-07-17 17:34 UTC-0400 Alejandro de Garate * source/rtl/memofile.c + Added an optional 3rd parameter to MEMOWRIT(), , to decide at run-time if EOF char should be written. 2003-07-16 13:00 UTC-0300 Antonio Carlos Pantaglione * contrib/rdd_ads/ads1.c ! Changes in adsPutValue for speed(). Tested with ADS Local 6.2, not tested with prior versions of ADS. 2003-07-14 13:50 UTC-0300 Antonio Carlos Pantaglione * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Changes in adsGetValue and AdsKeyCount() for speed(). Tested with ADS Local 6.2, not tested with prior versions of ADS. 2003-07-14 14:39 UTC+0100 Antonio Linares * source/vm/classes.c + HB_SETCLSHANDLE() implemented Syntax: HB_SetClsHandle( , ) --> Real dirty function, though very usefull under certain circunstances: It allows to change the class handle of an object into another class handle, so the object behaves like a different Class of object. Based on objects.lib SetClsHandle(). 2003-07-14 09:10 UTC-0300 Antonio Carlos Pantaglione * source/rtl/memoline.c ! Fixed a bug by missed () in HB_CHAR_SOFT1 compare. 2003-07-13 14:13 UTC-0400 Alejandro de Garate + doc/es/gnulice.txt + doc/es/hvm.txt + doc/es/input.txt + doc/es/macro.txt + doc/es/memvar2.txt + doc/es/misc.txt + doc/es/nation.txt + doc/es/objfunc.txt + doc/es/rdd.txt + doc/es/sayget.txt + doc/es/subcodes.txt + doc/es/tbrowse.txt + doc/es/tclass.txt + doc/es/tgetlist.txt + doc/es/tlabel.txt + doc/es/treport.txt + doc/es/var.txt + Added new doc files in spanish 2003-07-13 14:08 UTC-0400 Alejandro de Garate * doc/es/Makefile + gnulice.txt + hvm.txt + input.txt + macro.txt + memvar2.txt + misc.txt + nation.txt + objfunc.txt + rdd.txt + sayget.txt + subcodes.txt + tbrowse.txt + tclass.txt + tgetlist.txt + tlabel.txt + treport.txt + var.txt + Added references to new doc files 2003-07-13 12:32 UTC-0400 Alejandro de Garate * doc/es/lang.txt ! Fixed accents, etc, minor formating. Now in sync with english version 2003-07-13 12:24 UTC-0400 Alejandro de Garate * doc/es/hbpplib.txt * doc/es/howtobsd.txt * doc/es/idle.txt * doc/es/license.txt * doc/es/math.txt * doc/es/memo.txt * doc/es/pcode.txt * doc/es/pragma.txt * doc/es/readme.txt * doc/es/setmode.txt * doc/es/simplex.txt * doc/es/statics.txt * doc/es/strotype.txt * doc/es/tracing.txt * doc/es/vm.txt ! Fixed errors, misspelling, accents, etc, minor formating 2003-07-13 10:52 UTC-0400 Alejandro de Garate * doc/es/array.txt * doc/es/binnum.txt * doc/es/browse.txt * doc/es/clipper.txt * doc/es/cmdline.txt * doc/es/codebloc.txt * doc/es/command.txt * doc/es/compiler.txt * doc/es/datetime.txt * doc/es/dbdelim.txt * doc/es/dbsdf.txt * doc/es/dbstrux.txt * doc/es/dir.txt * doc/es/dirstruc.txt * doc/es/diskspac.txt * doc/es/error.txt * doc/es/eval.txt * doc/es/garbage.txt * doc/es/harbext.txt * doc/es/hb_set.txt ! Fixed errors, misspelling, accents, etc, minor formating 2003-07-12 13:02 UTC+0100 Antonio Linares * source/rtl/philes.c ! FRead() bug fixed, introduced cause 1 byte length strings optimization Bug described by Guy Roussin: function main( cFile ) local nH local cBuf:=" " local cBlock := "{|| Alert( 'test' ) }" nH:=fopen(cFile,0) while fread(nH,@cBuf,1)>0 ; end fclose(nH) eval( &( cBlock ) ) return(NIL) 2003-07-12 10:06 UTC+0100 Antonio Linares * source/debug/debugger.prg * source/rtl/philes.c ! Enhancements developed by Lorenzo Fiorini. Lorenzo: Please supply us a description of what you have implemented. 2003-07-10 17:43 UTC-0300 Antonio Carlos Pantaglione * source/rtl/memoline.c ! Fixed bug with soft returns. Clipper compatible. 2003-07-09 07:20 UTC-0300 Antonio Carlos Pantaglione * source/rtl/transfrm.c ! Fix with numeric values and pictures with spaces and pictures with severals dot. Changes by Walter Negro, borrow from xharbour. The return values are compliant with Clipper. eg: Transform( 1234, "9 999" ) eg: Transform( 123.123456, "999.99.99.99" ) PS: I comment ALL old lines with //Toninho@fwi and. If all is Ok, I delete it. 2003-07-08 23:00 UTC-0300 Antonio Carlos Pantaglione ! Sync with changes made in xHarbour by Walter Negro * contrib/rdd_ads/ace.h ! Fix warning in declaration of function * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Fix error and potential error of AE_INSUFFICIENT_BUFFER in some functions. The len of buffer should include the NULL char. ! Fix, now adsGoTo() test if the new position is EOF. 2003-07-08 14:25 UTC-0300 Antonio Carlos Pantaglione * contrib/rdd_ads/ads1.c ! Fixed: deleted() return TRUE when is at eof(), borrow from xHarbour. 2003-07-08 11:27 UTC+0300 Chen Kedem * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: Slovenian 437 2003-08-03 10:20 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxOrderListRebuild - sometimes GPF appared if packing/reindexing was made after intensive replace operations. 2003-07-07 11:12 UTC-0300 Antonio Carlos Pantaglione * include/hbclass.ch + Added support for PROCEDURE CLASS syntax. 2003-07-03 15:00 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxZap. 2003-07-03 11:46 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which appeared after switching between orders and following skipping. 2003-07-03 10:54 UTC+0300 Alexander Kresin + source/codepage/cdpsl437.c + source/lang/msgsl437.c + New codepage and lang modules for Slovenian 7bit 437, provided by Mitja Podgornik * source/codepage/cdpsl852.c * source/codepage/cdpsliso.c * source/codepage/cdpslwin.c ! Some fixes, provided by Mitja Podgornik * makefile.bc * makefile.nt * makefile.vc * source/codepage/Makefile * source/lang/Makefile * Makefiles updated. 2003-07-03 10:00 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed - there was memory leak after INDEX ON ... ADDITIVE if there were no open indexes * source/rdd/dbf1.c ! Problem fixed for the cases when the field name exceeds 10 characters. * Codepage translation added for memo fields. * source/codepage/cdppt850.c * source/codepage/cdpptiso.c ! Comment delimiters bug fixed. 2003-07-02 11:35 UTC-0300 Antonio Carlos Pantaglione * source/compiler/harbour.slx ! Add 'static' in definition of hb_comp_SLX_InterceptAction and hb_comp_SLX_CustomAction. 2003-07-02 09:25 UTC+0100 Antonio Linares * makefile.nt * makefile.vc + Added gencli.c module * include/hbcomp.h + Added hb_compGenILCode() prototype * source/compiler/gencli.c * source/rdd/dbf1.c + Added some MSVC required typecasts * source/rdd/dbfcdx/dbfcdx1.c + Added most recent Horacio's development 2003-06-30 10:50 UTC-0300 Antonio Carlos Pantaglione * source/contrib/rdd_ads/ads1.c ! Fixed problem on adsGoTo() method when using ADT files. Borrow from xHarbour. 2003-06-30 18:33 UTC+0100 Antonio Linares * source/compiler/gencli.c + Added support for multidimensional arrays for Harbour.NET ! .NET IL implementation for HB_ARRAYGEN, HB_P_FUNCTIONSHORT, HB_P_ARRAYPUSH ! Enhanced HB_DOSHORT + Added ObjArrayGen(), ObjArrayPush() and LEN() (Len() support just for arrays). Notice: I want to publically thank Microsoft tech support forums for .NET. There are great guys there providing superb tech support. This code is already working ok with Harbour.NET: function Main() local a := { 123, "hello", { "nested", "array", { 5, "more" } }, .t., "another" } ? a[ 1 ] ? a[ 3 ][ 2 ] ? a[ 3 ][ 3 ][ 2 ] ? a[ 5 ] ? "done!" return nil Warning: Arrays elements assignment is not implemented yet. 2003-06-28 22:52 UTC+0100 Antonio Linares * source/compiler/gencli.c + Added support for logical values management ! .NET IL implementation for HB_P_TRUE, HB_P_FALSE, HB_P_NOT + Added ObjNot( object ) for HB_P_NOT support 2003-06-28 14:41 UTC+0100 Antonio Linares * source/compiler/gencli.c + do case implemented for Harbour.NET ! .NET IL implementation for HB_P_JUMP, HB_P_EXACTLYEQUAL + Added ObjExactlyEqual( object, object ) for HB_P_EXACTLYEQUAL support 2003-06-28 11:56 UTC+0100 Antonio Linares * source/compiler/gencli.c + for...next loops implemented for Harbour.NET ! .NET IL implementation for HB_P_PUSHLONG, HB_P_FORTEST + Added ObjForTest( object, object, object ) for HB_P_FORTEST support 2003-06-28 01:10 UTC+0100 Antonio Linares * source/compiler/gencli.c + .NET IL implementation for HB_P_JUMPFALSENEAR, HB_P_JUMPNEAR + Added labels to each IL generated source code line + Added ObjLessEqual( object, object ) for "<=" operator support ! AddObjects() renamed into ObjAdd( object, object ) for "+" operator support. Notice: Some "nop" has been added to match Harbour opcodes offsets. We may remove them later on. This code is working ok: function Main() local n := 11 if n <= 10 ? "less-equal 10" else ? n ? "greater 10" endif n = 5 if n <= 10 ? n ? "less-equal 10" else ? "greater " endif ? "done!" return nil 2003-06-27 16:07 UTC+0100 Antonio Linares * source/compiler/gencli.c ! .NET IL implementation for HB_P_PLUS ! New .NET function AddObjects() for adding "object" type variables Notice: As Harbour.NET uses IL "object" type for storing variables, the new implemented AddObjects() functions is used for adding variables. This code already works ok: function Main() local n := 10, c := "Hello World" ? n + 20 ? c + " from Harbour.NET" ? "done!" return nil Warning: Date variables type have not been implemented in AddObjects() yet, and also it is not generating an error when adding different types values. 2003-06-27 12:13 UTC+0100 Antonio Linares * source/compiler/gencli.c ! .NET IL implementation for HB_P_PUSHBYTE Notice: This opcode is responsible for placing a byte onto the stack. As all Harbour variables are going to be managed as object type (meanwhile we don't implement strong typing), a box (to turn a value into an object) process is also performed. We may check later on if this is needed for all processes. This test already works: function Main() local n := 123 ? n ? 10 return nil 2003-06-27 10:21 UTC+0100 Antonio Linares * source/compiler/gencli.c ! .NET IL implementation for HB_P_POPLOCALNEAR and HB_P_PUSHLOCALNEAR Notice: These opcodes are responsable for loading the values on the locals and also for pushing the locals contents onto the virtual machine stack. You can already run tests like this: function Main() local c := "Hello world from Harbour.NET !" ? c return nil Remember the process to build a .NET app: Harbour.exe -gi -n hello.prg --> hello.il ilasm.exe hello.il --> hello.exe (for .NET) 2003-06-27 09:13 UTC+0100 Antonio Linares * source/compiler/gencli.c ! .NET IL implementation for HB_P_FRAME Notice: HB_P_FRAME is generated for declaring locals and params. On IL only locals are declared. Params are declared on the same (function) method declaration. Strong typing is not supported yet. To test it simply declare several locals, compile using /gi and check the .IL created file. 2003-06-25 08:32 UTC+0100 Antonio Linares * source/compiler/gencli.c ! object type use implementation for QOUT() Notice: Harbour (as Clipper) any type value vars support is implemented through the use of IL object type. I consulted this idea with Miguel de Icaza and he agreed. So all variables types are declared as object, unless strong typing is required ( AS ... ), then we will use specific types instead of object one. 2003-06-23 17:56 UTC+0100 Antonio Linares * source/compiler/gencli.c ! Some quick & dirty implementations, to provide an IL overview Notice: Hello.prg already works on .NET :-) 2003-06-23 15:10 UTC+0200 Tomaz Zupan * source/compiler/Makefile + Added gencli.c * source/rtl/Makefile + Added symbol.prg 2003-06-23 13:15 UTC+0100 Antonio Linares * source/compiler/gencli.c ! The IL fun begins :-) Notice: Of course don't even try to compile the resulting IL generated files yet, but you can start reviewing the so-early design already :-) 2003-06-23 10:53 UTC+0100 Antonio Linares * makefile.bc + gencli.c module added Please update other makefiles. 2003-06-23 10:20 UTC+0100 Antonio Linares + source/compiler/gencli.c ! Compiler .NET .il source generation * It is just a copy of genc.c with some minor changes, just to set a starting point for IL generation. * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/hbusage.c + Added support for IL generation Warning: This is not even an early prototype :-) More coming soon... 2003-06-23 10:05 UTC+0300 Chen Kedem * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: Serbian Windows-1251 * source/lang/msghe862.c * source/lang/msghewin.c ! fix Hebrew typo * source/lang/msgsrwin.c ! add missings commas 2003-06-18 02:05 UTC+0200 Przemyslaw Czerpak * source/codepage/Makefile * source/codepage/cdpesdos.c * source/codepage/cdpeswin.c * source/codepage/cdpgedos.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpplwin.c * source/codepage/cdpslwin.c - source/codepage/cdpla850.c + source/codepage/cdppt850.c + source/codepage/cdpptiso.c * makefile.bc * makefile.nt * makefile.vc * corrections in code page description. - removed cdpla850.c ("PT" codepage) + PT850 and PTISO codepages added. * makefiles updated - Sorry, I cannot test all of them. 2003-06-18 00:10 UTC+0200 Przemyslaw Czerpak * include/hbapilng.h * include/hblang.ch * source/lang/Makefile * source/lang/msg_tpl.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgen.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c * source/lang/msgplwin.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c * source/lang/msgsl852.c * source/lang/msgsliso.c * source/lang/msgslwin.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c + source/lang/msgsrwin.c ! bug fixed in national msg system and new localization added (borrowed from xHarbour) + tests/langmsg.prg * simple test program for national messages I have to ask developpers to run it and check their national messages 2003-06-17 21:50 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c ! Bug fixed in hb_cdpTranslate() and hb_cdpnTranslate() * source/rdd/dbf1.c * RDD works Ok now, if field names in dbf are in lower case ( this may be if dbf created by other dbms ) * source/codepage/cdprukoi.c ! Bug fixed. 2003-06-17 17:22 UTC+0100 Antonio Linares * source/debug/debugger.prg * source/debug/dbgwa.prg ! some fixes implemented by Ian Anderson 2003-06-17 09:08 UTC+0300 Chen Kedem * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: German ANSI, Spanish ANSI, Polish Windows-1250, Slovenian 852, Slovenian ISO-8859-2, Slovenian Windows-1250 2003-06-16 21:16 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c ! Bug fixed in hb_cdpTranslate() and hb_cdpnTranslate() * source/lang/msg_tpl.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgsr852.c * source/lang/msgsr852.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c ! Missing comma inserted. + source/lang/msgsl852.c + source/lang/msgsliso.c + source/lang/msgslwin.c + Slovenian language files added, provided by Mitja Podgornik + source/codepage/cdpsl852.c + source/codepage/cdpsliso.c + source/codepage/cdpslwin.c + Slovenian codepage files added, provided by Mitja Podgornik Collating sequences are also valid for Croatian, Macedonian and Serbian (latin) language. * source/codepage/Makefile * source/lang/Makefile * makefile.bc * makefile.nt * makefile.vc * Makefiles are changed to compile new lang and codepage files. 2003-06-15 14:20 UTC+0200 Przemyslaw Czerpak * source/lang/msgen.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c ! the bug reported by Alexander in msgru* fixed. + source/lang/msgplwin.c + added msgplwin (cp1250) * source/rtl/inkey.c * removed dirty hack which degrease performance of inkey() on *nix platforms. 2003-06-14 21:25 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to seek with lLast and go bottom with scope set. * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c ! Bugs fixed. 2003-06-14 15:48 UTC+0100 Antonio Linares * source/debug/debugger.prg ! Some enhancements by Ian Anderson, but modified as they were implemented on an older Harbour version source code. ! Some improvements. * source/debug/dbgtwin.prg ! some changes by Ian Anderson Warning: Work in progress. Thanks Ian. 2003-06-14 15:22 UTC+0100 Antonio Linares * source/rtl/transfrm.c ! temporary fix waiting for users feedback It fixes the reported bug: function Main() local nValue := -134.24 ? AllTrim( Transform( nValue, "@E 99,999.99" ) ) // Harbour returns "- 134,24" ? AllTrim( Transform( nValue, "@E99,999.99" ) ) // and Clipper "-134.24" return nil Notice that a Val() of the first wrong returned value generates zero, meanwhile the second one returns the original nValue, as expected. 2003-06-14 09:23 UTC+0100 Antonio Linares * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h ! Recent changes and enhancements on DBFCDX from Horacio. Thanks Horacio! 2003-06-09 11:26 UTC+0100 Antonio Linares * source/rtl/tget.prg ! fix on Method Picture() provided by Lorenzo Fiorini 2003-06-09 00:38 UTC+0100 Antonio Linares * source/debug/debugger.prg + CallStack navigation support. ! Improved variables editing. 2003-06-06 15:53 UTC+0200 Tomaz Zupan * source/rtl/console.c + Added a PRG-callable functions HB_GETSTDIN and HB_GETSTDOUT, to get stdin and stdout file handle. 2003-06-06 10:51 UTC+0100 Antonio Linares * makefile.bc * makefile.vc ! symbol module added Notice: Please update other make files. 2003-06-06 09:35 UTC+0100 Antonio Linares + source/rtl/symbol.prg ! Harbour implementation of Class(y) Class Symbol 2003-05-31 21:04 UTC+0100 Antonio Linares * source/rtl/teditor.prg ! several improvements for the debugger: The source code viewer does not leave a different block color when scrolling. The source code is displayed from the first line (Clipper compatibility). 2003-05-31 17:55 UTC+0100 Antonio Linares * source/rtl/tget.prg ! fixed behavior when pressing "." or "," on a non decimals number Now editing a number without decimals and pressing "." or ",", the cursor goes to the latest GET visual pos (Clipper compatibility). 2003-05-31 15:45 UTC+0100 Antonio Linares * source/rtl/tget.prg ! Some fixes for PICTURE "9" Now editing a character var does not allows to type "-". It allows both "+" and "-" for numeric var. (Clipper compatibility). 2003-05-30 12:39 UTC+0100 Antonio Linares * contrib/rdd_ads/ads1.c ! managed 7008 open error This fixes the not issued error when doing: USE "any" NEW SHARED ALIAS "Test" VIA "ADS" USE "any" NEW EXCLUSIVE ALIAS "Test2" VIA "ADS" // An error must raise here We still need to know if there is a way to know the OS code when ADS returns 7008 error code when opening a DBF. 2003-05-30 09:37 UTC+0100 Antonio Linares * contrib/htmllib/Makefile.bc ! some minor fixes. * source/compiler/harbour.l ! hb_strVal() used instead of atof() This fixes the MSVC incompatibility using RTL Val() and compiled decimal values. Warning: There are two more modules on Harbour that still use atof(). We should move hb_strVal() to source/common and also make the replace on those places. * source/debug/dbgtmenu.prg ! Minor fix to allow new Classes inherit from this one. * source/rtl/pushbtn.prg ! sync with xHarbour. 2003-05-28 13:00 UTC-0400 David G. Holm * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Minor changes to minimize MSVC++ type overrides. ! Added MSVC++ type overrides to the ADS version functions. 2003-05-26 18:40 UTC+0200 Przemyslaw Czerpak * source/pp/ppcore.c * allow to compile file with on *nix platforms. It's dirty hack but works good for me and resolves one of the most important problem with common CLIPPER and Harbour (and other XBASE compatible compilers like FlagShip and CLIP) sources - only Harbour cannot compile files with . * source/compiler/cmdcheck.c ! fix which allow to use file names with '-' char in '-o' option * source/rtl/diskspac.c + added support for diskspace on UNIX platforms (first parameter is path name, if omitted "/" is checked) 2003-05-26 15:50 UTC+0200 Przemyslaw Czerpak * source/rtl/cdpapi.c * small correction in s_en_codepage = { ... } + source/codepage/cdpplwin.c * source/codepage/Makefile + new Polish codepage PLWIN - CP1250 based * source/rtl/gt.c + new .prg function HB_GT_VERSION() which returns GT name. * source/rtl/seconds.c + new function added SECONDSCPU(n) which reports how many CPU and/or system seconds have elapsed since the beginning of the program execution. n == 1 utime -> user CPU time of the current process n == 2 stime -> system CPU time behalf of the current process n == 3 u + s -> sum of utime + stime (default) n == 11 cutime -> sum of the user CPU time of the current + child process n == 12 cstime -> sum of the system CPU time of the current + child process n == 13 cu+cs -> sum of cutime + cstime I have to ask someone similar with Windows to add support for this function. I found 'GetProcessTimes' in WIN API which can be used for NT based platforms but I cannot find anything for WIN 9X/ME. 2003-05-22 23:45 UTC-0400 David G. Holm * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/rddads.h + Added support for DBINFO(DBI_DB_VERSION), DBINFO(DBI_RDD_VERSION), and ADSVERSION([]) (but only for nType == 0 and nType == 3 and without date and time information for nType == 3). 2003-05-21 20:34 UTC+0100 Antonio Linares * source/vm/hvm.c ! Fixed arrays comparison. Now it is Clipper compatible. Bug reported by Randy Portnoff 2003-05-21 19:50 UTC+0100 Antonio Linares * source/vm/memvars.c ! default path support for __MVSave() and __MVRestore() implemented by Alexander Prostoserdov. 2003-05-21 18:03 UTC+0100 Antonio Linares * source/debug/dbgtarr.prg * source/debug/dbgtobj.prg ! several fixes when debugging arrays * source/debug/debugger.prg ! several fixes 2003-05-15 21:35 UTC+0300 Alexander Kresin * tests/testrdd2.prg * some changes, provided by Randy Portnoff * contrib/rdd_ads/ads1.c ! adsInfo() fixed for DBI_GETHEADERSIZE, so Header() returns now correct value ( for dbf tables ) 2003-05-15 12:44 UTC+0100 Antonio Linares + source/rtl/tget.prg ! minor fix 2003-05-15 12:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Minor fix * source/rdd/dbf1.c * DBI_FILEHANDLE and DBI_MEMOHANDLE added to dbInfo() 2003-05-15 09:33 UTC+0100 Antonio Linares + source/rtl/tget.prg ! some fixes ! some changes borrowed from xHarbour tests/testread.prg is working fine again. 2003-05-09 23:30 UTC-0400 David G. Holm * config/doc.cf * config/header.cf ! Fixes to deal with situation where installation directories are left undefined to avoid installation. 2003-05-09 20:30 UTC-0400 David G. Holm * config/doc.cf ! Removed an extra layer of "protection" that resulted in an error message when HB_DOC_INSTALL is not defined, instead of a simple "nothing to do" message. 2003-05-09 20:30 UTC-0400 David G. Holm * Makefile + config/doc.cf + doc/Makefile * doc/gmake.txt + doc/en/Makefile + doc/es/Makefile + Added the ability to install files from doc directory using the new environment variable HB_DOC_INSTALL, which is left undefined by default. All files from doc, doc/en, and doc/es are installed if the HB_DOC_INSTALL variable is defined when you run 'make install'. 2003-05-09 17:20 UTC-0400 David G. Holm * source/rtl/idle.c + Added a PRG-callable function wrapper for hb_releaseCPU() and named it HB_RELEASECPU. 2003-05-09 14:40 UTC-0400 David G. Holm * source/rdd/dbcmd.c ! Fixed the FIELDPOS function to truncate long field names, instead of ignoring them. 2003-05-08 15:30 UTC-0400 David G. Holm * source/compiler/harbour.sly ! Fixed $3 in EmptyStatements to read $2. 2003-05-07 14:45 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! OrdkeyCount() and OrdKeyNo() now returns physical records number and position if there is no index opened or current order is 0 * source/rtl/set.c ! two warnings fixed. 2003-05-06 15:35 UTC+0300 Alexander Kresin * source/rtl/is.c ! Bug fixed: ISUPPER, ISLOWER and ISALPHA with chr(0) argument returned TRUE. Patch provided by Przemyslaw Czerpak 2003-05-06 12:55 UTC+0200 Przemyslaw Czerpak * source/rtl/set.c ! Fixed very serious bug in set(_SET_ALTFILE, "") and set(_SET_EXTRAFILE, "") which can caused corrupting any files open by Harbour compiled program 2003-05-06 12:45 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! Bug fixed in adsOrderListClear() - the current order is set to 0 now 2003-05-06 10:45 UTC+0300 Alexander Kresin * include/hbapicdp.h * source/rtl/cdpapi.c * source/vm/itemapi.c * source/rdd/dbfntx/dbfntx1.c ! Some fix, regarding strings comparison via CODEPAGE API 2003-05-01 21:19 UTC+0100 Antonio Linares + source/codepage/cdpesdos.c + source/codepage/cdpeswin.c ! Added missing char 2003-05-01 13:55 UTC+0100 Antonio Linares + source/rdd/dbcmd.c ! DbCreate() always returns nil. This fixes the bug reported by Marco Braida on sourceforge 2003-05-01 12:10 UTC+0100 Antonio Linares + source/codepage/cdpesdos.c ! codepage support for Spanish MS-DOS + source/codepage/cdpeswin.c ! codepage support for Spanish Windows + source/lang/msgeswin.c ! language messages support for Spanish Windows * makefile.bc * makefile.nt * makefile.vc * source/codepage/makefile * source/lang/makefile ! updated for cdpesdos.c, cdpeswin.c and msgeswin.c 2003-04-28 23:00 UTC+0100 Antonio Linares * source/rtl/tget.prg ! numbers editing bug (side effect from previous change) fixed When typing a number, the second digit was overwriting the previous one. 2003-04-28 21:00 UTC+0100 Antonio Linares * source/debug/debugger.prg ! aCallStack properly set when using trace mode (K_F10) This fixes the debugger bug reported by Guy Roussin. 2003-04-27 15:09 UTC+0300 Chen Kedem * doc/dirstruc.txt + Add a line about contrib/ole 2003-04-27 01:33 UTC+0100 Antonio Linares * source/rtl/filesys.c ! hb_fsOpen() minor fix for MSVC This fixes the DbUseArea() MSVC bug reported by Vicente. 2003-04-24 14:35 UTC-0400 David G. Holm * source/vm/itemapi.c ! Added non-finite test for w32/msvc, which fixes the new problem where all double values were displayed as if they had overflowed. 2003-04-23 23:11 UTC+0100 Antonio Linares * source/rtl/tget.prg ! PICTURE "#" allows "." keystroke * source/rdd/dbfntx/dbfntx1.c ! some castings for MSVC 2003-04-19 12:00 UTC+0100 Antonio Linares * source/rtl/tget.prg ! Class TGet Data Pos behavior modified to make it Clipper compatible Test sample provided on the Harbour mailing list 2003-04-18 14:10 UTC+0300 Alexander Kresin * source/rdd/dbf1.c ! Bug fixed - there was unrecoverable error if file opening failed due to access denied. * source/rdd/dbfntx/dbfntx1.c * Added reporting of OS error code if index opening failed 2003-04-17 15:50 UTC+0300 Alexander Kresin * source/pp/ppcore.c ! Fixed some problems with a long ( few Kb ) directives. 2003-04-16 19:15 UTC-0400 David G. Holm * source/vm/itemapi.c * Simplified non-finite tests for BORLANDC > 1040 and DJGPP (there is no need to also test s_dInfinity and -s_dInfinity when using a function that tests whether or not the parameter value is finite). ! Added non-finite tests for os2.gcc, os2.icc, w32.mingw32, and w32.rsxnt, which fixes the problems that they had with evaluating str(log(-1)). 2003-04-16 22:10 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Added possibility to save/load and use tag name as in Clipper's DBFNTX 2003-04-16 14:50 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * A bug in hb_ntxTagKeyCount() fixed - reported by Jos© Luis Capel 2003-04-15 13:10 UTC+0300 Alexander Kresin + contrib/ole + contrib/ole/bldtest.bat + contrib/ole/build32.bat + contrib/ole/hbtest.prg + contrib/ole/ole2.c + contrib/ole/oleauto.prg + With a kind permission of the author, José F. Giménez , ole library for harbour added. Some unused stuff is removed from the original files, few bug fixes are made. 2003-04-14 14:45 UTC-0400 David G. Holm * source/common/hbgete.c ! Added #ifdef to allow OS/2 GCC to use PSZ and OS/2 VAC++ to use PCSZ for EnvValue. 2003-04-13 10:23 UTC+0200 Tomaz Zupan * contrib/odbc/todbc.prg ! Better way to move to first record after fetching 2003-04-13 10:02 UTC+0300 Chen Kedem * doc/whatsnew.txt + Add information about builds 38..42 according to information found on the Harbour site and the developers mailing list 2003-04-12 23:00 UTC+0200 Tomaz Zupan * contrib/odbc/todbc.prg ! If recordset is cached, move to first record after fetching recordset to cache 2003-04-09 21:40 UTC+0300 Alexander Kresin * include/hbdbf.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * Byte 29 in dbf header with codepage information is added for later implementation. Currently this allows to keep codepage byte ( before it was cleared while header updating ). 2003-04-09 13:40 UTC+0300 Alexander Kresin * include/hbexprb.c * At() function is now Clipper compatible ( At( "","abc" ) ) - borrowed from xHarbour * source/rdd/workarea.c ! Fixed hb_waRelEval() - When the current order is zero, relation works by GOTO istead of SEEK, as Clipper does - borrowed from xHarbour * source/rdd/dbfntx/dbfntx1.c ! Fix in indexing - when index expression includes fields from the child related workarea 2003-04-08 15:40 UTC-0400 David G. Holm * contrib/Makefile ! Added a build path for MSVC++. * source/common/hbffind.c ! Added #include for the HB_OS_WIN_32 branch. * source/common/hbgete.c ! Changed EnvValue from PSZ to PCSZ for IBM VAC++ compatibility. * source/compiler/harbour.y ! Added missing semicolons using patch provided by Jos Backus . 2003-04-04 11:20 UTC+0300 Alexander Kresin * source/pp/ppcore.c * Handling of '*' comment now is more Clipper compatible * include/hbver.h * changed version information 2003-04-03 18:34 UTC+0200 Maurilio Longo * source/common/hbgete.c ! fixed warning on OS/2 GCC 2003-04-03 19:52 UTC+0300 Alexander Kresin * source/codepage/cdpplmaz.c ! Minor fix, provided by Jacek Kubica 2003-04-02 19:35 UTC+0300 Alexander Kresin * source/rtl/langapi.c ! Memory leak is fixed. 2003-04-02 14:18 UTC+0300 Alexander Kresin * include/hbapicdp.h * source/codepage/cdp_tpl.c * source/codepage/cdpgedos.c * source/codepage/Cdpgewin.c * source/codepage/cdpla850.c * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/rtl/cdpapi.c ! Few fixes in codepage subsystem 2003-04-01 16:12 UTC+0300 Alexander Kresin * source/rtl/transfrm.c * Transform() now uses codepages while converting to upper case. 2003-03-27 11:34 UTC+0100 Antonio Linares * include/hbapi.h * source/vm/classes.c * hb_clsIsParent() made public 2003-03-27 18:35 UTC+0100 Antonio Linares * source/rdd/dbcmd.c * contrib/rdd_ads/adsfunc.c * Minor type casting fixes for MSVC 2003-03-26 16:55 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Bug fixed related to COPY TO .. FIELDS ..., reported by Lorenzo Fiorini 2003-03-26 11:30 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Andrew McCumiskey 2003-03-25 21:35 UTC+0300 Alexander Kresin + source/codepage/cdpgewin.c * source/codepage/Makefile + source/lang/cdpdewin.c * source/lang/Makefile * makefile.bc * makefile.nt * makefile.bc Added German Win codepage and lang files, contributed by Guenther Steiner + tests/testrdd2.prg + Added RDD test, contributed by Randy Portnoff 2003-03-25 16:46 UTC+0100 Martin Vogel * contrib/libct/dattime2.prg * bug fix in function addmonth() 2003-03-24 15:35 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! bug fixed with improper using of hb_strUpper() - reported by Lorenzo Fiorini * source/rtl/cdpapi.c ! fix, provided by Przemyslaw Czerpak 2003-03-22 11:25 UTC+0100 Antonio Linares * source/compiler/harbour.y * fix on recent If() changes IIf() was accepted but If() not. Now it is ok. 2003-03-17 15:30 UTC-0500 David G. Holm * source/rtl/filesys.c ! Added newline at end of file. 2003-03-16 10:33 UTC+0100 Antonio Linares * source/compiler/harbour.y * If() inline accepts all kind of arguments Changes borrowed from xHarbour. WARNING: We don't know for sure if these changes may bring any undesirable side effects, so please do all the tests you can. 2003-03-16 09:50 UTC+0100 Antonio Linares * source/rtl/filesys.c * Proper definition for HAVE_POSIX_IO for MSVC compiler. This fixes the CurDrive() bug reported by Vicente Aranzana. Please notice that neither Andi and David proposed solutions have been used. 2003-03-05 13:35 UTC+0300 Alexander Kresin * source/vm/hvm.c * source/vm/itemapi.c * source/vm/asort.c * Reverted changes, related to short strings optimization, because they causes problems with arrays and inmplemented 1-byte length string optimization, borrowed from xHarbour. 2003-02-25 22:10 UTC+0300 Alexander Kresin * contrib/rdd_ads/adsfunc.c + Transaction processing functions added. * contrib/rdd_ads/ads.ch + New commands added: BEGIN TRANSACTION COMMIT TRANSACTION ROLLBACK TRANSACTION 2003-02-18 22:05 UTC+0100 Tomaz Zupan * include/hbdbf.h * include/hbdbsort.h * include/hbexprc.c * include/hboo.ch * source/common/hbfhnd.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/pp/ppcomp.c * source/rdd/hbdbsort.c * source/rtl/at.c * source/rtl/descend.c * source/rtl/memoline.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/strings.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/kbdcrs.c * source/vm/debug.c * source/vm/dynsym.c * source/vm/eval.c * source/vm/extend.c * source/vm/macro.c * source/vm/memvars.c * source/vm/runner.c ! Added newline to the end of file, to avoid annoying warning 2003-02-18 23:05 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Stupid bug is fixed, which was introduced recently 2003-02-18 09:15 UTC+0300 Alexander Kresin * contrib/rdd_ads/adsfunc.c * Few type casts for MSVC 2003-02-17 13:15 UTC-0500 David G. Holm * source/rtl/dbdelim.c ! Bug fix for EOL handling when using large import files, provided by the author of the dbdelim append from code, Marco Braida 2003-02-15 11:00 UTC+0100 Tomaz Zupan * config/linux/global.cf - removed PRG_USR directive, because it is no longer needed to compile dbfsdf.prg * source/rtl/dbsdf.prg + Automatic EOL recognition. FindEOL() recognises LF,CR+LF and CR as newline delimiters 2003-02-14 22:05 UTC+0100 Tomaz Zupan * include/hbapi.h * include/hbcomp.h * include/hbmacro.h * include/hbvm.h * include/hbvmpub.h ! Added newline to the end of file, to avoid annoying warning 2003-02-14 15:25 UTC+0300 Alexander Kresin * source/common/hbffind.c ! Fixed a problem with compiling under DJGPP 2003-02-14 13:15 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Fixed few bugs, including problems with scopes and GPF under Linux 2003-02-12 11:15 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c * source/rdd/dbf1.c ! Bug fixed: APPEND FROM gave an error if the file was opened already 2003-02-12 10:00 UTC+0300 Alexander Kresin + source/codepage/cdpgedos.c + German dos codepage, provided by Guenther Steiner * source/codepage/Makefile * makefile.bc * makefile.vc * makefile.nt * cdpgedos.c added 2003-02-10 23:20 UTC+1 jf Lefebvre (mafact) * source\compiler\harbour.y Missing external declaration 'hb_compLocalGetPos' * include/hbapirdd.h added function missing declaration at line 1059. 'hb_rddFieldIndex' used in source\rdd\dbfcdx\dbfcdx1.c(1223) * rdd/dbcmd.c changed 1 type casting BYTE * to char * added one type casting to BYTE * 2003-02-10 16:00 UTC-0500 David G. Holm * source/rtl/filesys.c ! I missed one place where the X__WIN32__ guard needs to be used (in the hb_fsRename function). 2003-02-05 23:45 UTC-0500 David G. Holm * contrib/libct/makefile.bc ! Added a rule to compile setlast.prg * source/rtl/filesys.c ! Always use X__WIN32__ when testing to see if the extended Windows file handle conversion utilities should be used. 2003-01-30 22:10 UTC+0300 Alexander Kresin * source/vm/asort.c ! Some fixes, which became necessary after optimization of string operations. 2003-01-29 22:05 UTC+0300 Alexander Kresin * include/hberrors.h * include/hbpcode.h * source/compiler/genc.c * source/compiler/harbour.sly * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/vm/hvm.c * Added new pcode HB_P_LOCALNEARADDINT for using in FOR ... NEXT cycle, it increases the speed of execution the cycle. Borrowed from xHarbour. 2003-01-28 22:20 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Fixed a bug with APPEND FROM ..., COPY TO..., when there was a memo field 2003-01-28 13:05 UTC+0300 Alexander Kresin * source/vm/hvm.c ! Little fix to the previous change 2003-01-28 11:25 UTC+0300 Alexander Kresin * include/hbapi.h * source/rtl/philes.c * source/vm/itemapi.c * source/vm/hvm.c * Optimization of string operations. Now if the size of the string is less than sizeof(short int *) - in most systems it is 4, it is kept in the item itself, additional memory isn't allocated for it. This leads to performance improvement and decreasing of memory fragmentation/usage. 2003-01-26 16:20 UTC+0300 Alexander Kresin * include/hbapiitm.h * source/vm/itemapi.c * source/vm/hvm.c * hb_itemMove() function added, which is intended for use instead of the hb_itemCopy( pDest,pSource ) hb_itemClear( pSource ) This allows to speed up some internal vm functions. The idea was borrowed from xHarbour. 2003-01-26 14:50 UTC+0300 Alexander Kresin * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c * all last updates, made by Horacio Roldan in xHabour 2003-01-24 17:47 UTC+0300 Alexander Kresin * source/vm/maindllp.c ! Minor fix. 2003-01-24 14:00 UTC+0300 Alexander Kresin * source/vm/hvm.c * hb_inkeyPoll() is removed from hb_vmDo(), the code fragment with hb_ReadKey() is added to hb_vmExecute() - borrowed from xHarbour. * source/vm/estack.c * source/vm/extend.c * include/hbapi.h * include/hstack.h * HB_API_MACROS and HB_STACK_MACROS are default options now - borrowed from xHarbour. * source/rtl/version.c ! Memory leak fixed. 2003-01-20 00:20 UTC+0100 Martin Vogel * contrib/libct/Makefile * contrib/libct/Makefile.bc * contrib/libct/Makefile.vc * contrib/libct/readme.txt * contrib/libct/ctflist.txt * contrib/libct/tests/Makefile + contrib/libct/dattim2.prg + contrib/libct/tests/datetime.prg + addmonth(),ctodow(),ctomonth(),daysinmonth(),daystomonth(),dmy(), doy(),isleap(),lastdayom(),ntocdow(),ntocmonth(),quarter(),week() Thanks to Alan Secker for providing these functions and the test program; small enhancements, mostly making the functions interational, docu headers etc. added by me :-) * contrib/libct/pos1.c * interpretation of parameter in posalpha(),poslower(),posupper() and posrange() corrected; thanks to Guenther Steiner for reporting this bug * include/hblang.ch + added constant definitions accessing language specific string via HB_LANG_MESSAGE() 2002-11-01 16:20 UTC-0300 Walter Negro * include/hbexprb.c ! Fix assign to array_at. This resolve FOR n[1]:=1 TO 2 Fix borrowed from xHarbour 2003-01-10 17:30 UTC-0500 David G. Holm * source/rtl/filesys.c ! The MingW32 use of _LK_UNLOCK instead of _LK_UNLCK turned out to be a bug in a MingW32 that has since been corrected, so the fix has been reverted. Thanks go to Phil Krylov for pointing this out. In order to allow this to work with the buggy version of MingW32, I've added a #define _LK_UNLCK _LK_UNLOCK if compiling for __MINGW32__ and _LK_UNLCK is not defined. 2003-01-10 17:00 UTC-0500 David G. Holm * source/rdd/dbfcdx/dbfcdx1.c ! hb_fsDelete takes a BYTE * parameter, not an unsigned char * one. * source/rtl/filesys.c ! MingW32 uses _LK_UNLOCK, not _LK_UNLK. * source/vm/itemapi.c ! Borland C 3.1 and earlier do not support _isnan or _finite. 2003-01-04 19:40 UTC-0300 Luiz Rafael Culik * include/filesys.c * When X__WIN32__ is defined FHANDLE is defined as Long * source/rtl/filesys.c % Properly Fix the usage os Native Windows File IO API. harbour apps with native WIN IO api has the same speed as Legacy api usage * source/rtl/console.c ! Minor Changes required to proper work of Windows File IO Native API * source/common/hbffind.c ! Corrected error return Values For DJGPP compiler for hb_fsFindNext() and hb_fsFindFirst() functions ! Corrected error return Values For WIN32 for hb_fsFindNext() and hb_fsFindFirst() functions With This Changes to console.c and filesys.c build with X__WIN32__ defined works properly 2002-12-31 11:45 UTC-0500 David G. Holm * include/hbver.h * Updated the build number and the ChangeLog information. 2002-12-30 16:50 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fixed scope related bug, reported by Blue Face + added support for the EVAL clause in INDEX 2002-12-28 09:05 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed bug (search path related), reported by Jacek Potempa ! fixed GPF bug reported by Alex Schaft + added support for DBOI_KEYCOUNTRAW, DBOI_KEYNORAW == DBOI_RECNO, DBOI_KEYTYPE, DBOI_KEYSIZE, DBOI_FULLPATH ! fixed: DBOI_BAGNAME ! fix return value when there's no active order to: DBOI_FILEHANDLE, DBOI_ISCOND, DBOI_ISDESC, DBOI_UNIQUE, DBOI_POSITION, DBOI_RECNO, DBOI_KEYNORAW, DBOI_KEYCOUNT, DBOI_KEYCOUNTRAW. This makes ordKeyNo() = recno() and ordKeyCount() = lastrec() in such case. Reported by Hernán Diego Ceccarelli + added helper function hb_cdxOrdListClear ! structural index isn't closed anymore ! fixed ordKeyNo() and ordKeyCount() to respect filters, they also respect the set deleted but only when there is a filter (as C53) ! fixed ordScope(0/1, ""), reported by Jean-Christophe AVARGUES and Blue Face * source/rdd/workarea.c ! fix to fieldname, reported by Luiz Rafael Culik 2002-12-27 16:40 UTC-0800 Brian Hays + added doc/windll.txt as an introduction to Windows 32-bit dll creation with Harbour. 2002-12-22 13:06 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add a line about source/codepade 2002-12-22 03:46 UTC-0300 Walter Negro * source/rtl/set.c ! Fix, reset PRINTFILE handle when close file. 2002-12-18 14:00 UTC-0500 David G. Holm * source/rtl/set.c ! In the set_string function, when then item parameter is NIL use a zero-length string (bug fix for SET PATH TO and SET DEFAULT TO). 2002-12-17 10:50 UTC-0800 Brian Hays * contrib/rdd_ads/ads.ch - Removed commands for SET PATH, DEFAULT, DELETED, EXACT, DATEFORMAT and EPOCH since these are handled by the Set Listener functionality now. + added new #define ADS_REQUIRE_VERSION6 to control version 6 ace32.lib/linker requirements * contrib/rdd_ads/ads1.c * created Set Listener support for HB_SET_DATEFORMAT HB_SET_DEFAULT HB_SET_DELETED HB_SET_EPOCH HB_SET_EXACT HB_SET_PATH So whenever you call the Set() function or commands, ADS is automatically updated. * added these fixes by Luiz Culik: * Created bDictionary and adsConnectHandle to allow access to ads data dictionaries; * store pFieldInfo.uiDec = uiDec for doubles in adsCreateFields. * fixed initialization of dVal in adsGetValue (fix by Ron Christie) * fixed Trace in ADS_GETFUNCTABLE(%i, %p), *uiCount, pTable)); to show the contents of uiCount instead of the pointer address. * contrib/rdd_ads/adsfunc.c * to test SetListener capabilities, added or upgraded these functions to be classic "Set/Get" functions so they return the prior ads setting: AdsSetDeleted AdsSetDefault AdsSetSearchPath AdsSetExact NOTE! Because the Set() function now also controls ADS, there is no reason for normal code to ever call these functions. If you do, you may get ADS out of sync with Harbour's settings and create unpredictable results. + added these funcs by Luiz Culik: AdsAddTable() AdsAddUser To Group() AdsUseDictionary() These are all protected by ADS_REQUIRE_VERSION6, so to use them you must define it when compiling rddads. The data dictionary support is a work-in-progress and may need to be re-thought, so don't get too dependent upon current implementation. * contrib/rdd_ads/doc/en/adsfuncs.txt + added documentation for functions in adsfunc.c * contrib/rdd_ads/doc/en/readme.txt + added explanation for using the Set() function call as well as the equivalent commands for SET DEFAULT TO, DATEFORMAT, DELETE, EXACT and EPOCH. + added explanation of INDEXING and Progress Displays using AdsRegCallBack() (and why EVAL/EVERY cannot be supported.) 2002-12-17 12:40 UTC-0300 Walter Negro * source/tget.prg ! Fix, UpdateBuffer() should not actualize the variable if the value was not modified. Reported by Francisco Gamboa and Horacio Roldan 2002-12-07 21:45 UTC-0300 Luiz Rafael Culik * source/rtl/menuto.prg ! Fixed Color Parameters when only One color is passed 2002-12-02 15:30 UTC-0500 David G. Holm * config/linux/global.cf ! Add to PRG_USR instead of replacing it. * source/rtl/set.c ! When adding a new listener, set the next pointer to NULL. 2002-12-03 22:40 UTC+0300 Alexander Kresin * makefile.bc * makefile.nt * Added lines, needed for compiling of cdpla850.c * source/codepage/cdpla850.c * source/codepage/Makefile ! Minor fixes 2002-11-01 12:00 UTC-0300 Luiz Rafael Culik * source/rtl/dbsdf.prg ! fixed importing/exporting on linux * contrib/mysql/tmysql.prg ! Applyed Fixes by Wang Shuming * config/linux/global.cf + PRG_USR=-DHB_LINUX macro Added to compile dbsdf.prg 2002-11-28 15:10 UTC+0300 Alexander Kresin * source/pp/ppcore.c ! Bug fixed, related to list match markers 2002-11-27 13:30 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Carlos Andr©s * source/rtl/cdpapi.c ! Bug fixed in HB_TRANSLATE() 2002-11-26 21:20 UTC+0100 Tomaz Zupan * contrib/odbc/browodbc.prg ! There was a bug in skipping, that threw an error when dataset contained 0 rows 2002-11-25 21:45 UTC-0300 Luiz Rafael Culik * utils/hbmake/hbmake.prg ! removed unused Var * source/rtl/menuto.prg ! minor formating 2002-11-21 12:05 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * DBOI_ORDERCOUNT is supported now * hb_stackPop() is added in ntxOrderCreate() * contrib/rdd_ads/ads1.c * adsOrderCreate() created indexes as if ADDITIVE clause is specified, even it was absent - is fixed now. adsOrderCreate() respects current order if WHILE clause is specified 2002-11-20 22:00 UTC-0300 Luiz Rafael Culik * utils/hbmake/hbmake.prg utils/hbmake/hbmlang.c * Some sinc from xharbour hbmake.prg hbmlang.c 2002-11-20 21:45 UTC-0300 Luiz Rafael Culik * source/pp/pptable.c + COLOR parameter to @...PROMPT * source/rtl/menuto.prg ! Added code to use the passed Color to the Prompt.This will allow to make Color menus and Was Far Requested since this feature is an Alaska,Flagship and Max compiler * tests/menuto.prg * Changes the Test to Show the ability of menu items in colors * contrib/mysql/tmysql.prg * On method GetRow(nRow) of TMySQLQuery fixed Handling of Date Retrived(The date is formated on Current SET DATE FORMAT) 2002-11-20 21:56 UTC+0300 Alexander Kresin * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c ! Minor fix in comment delimiters * source/rdd/dbcmd.c ! COPY TO ... FIELDS is fixed again 2002-11-18 22:35 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! COPY TO ... FIELDS ... is fixed - fields in the result dbf are in the same secuence as in the FIELDS clause. 2002-11-18 14:55 UTC+0300 Alexander Kresin * include/hbrddapi.c * source/rdd/dbcmd.c * source/rdd/workarea.c * source/rdd/dbfntx/dbfntx1.c * source/pp/pptable.c * contrib/rdd_ads/ads1.c * WHILE clause implemented for ADS RDD 2002-11-15 14:30 UTC+0300 Alexander Kresin * include/hbcdpapi.c * source/rtl/cdpapi.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * Some fixes and enhancements + source/codepage/cdp_tpl.c + Template file for codepages is added + source/codepage/cdppl852.c + source/codepage/cdppliso.c + source/codepage/cdpplmaz.c + Codepages for Polish language, provided by Jacek Kubica * source/codepage/Makefile * makefile.bc * makefile.nt * makefile.vc * Changed to compile new Polish codepages 2002-11-13 15:50 UTC-0300 Horacio Roldan * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h ! fixed some declarations to avoid warnings, removed unnecessary introduced casts ! fixed skip bug reported by Andrzej ! fixed bug when empty scope used ! fixed posible index corruption when shared. + added functions cdxError, hb_cdxOrderListRebuild, hb_cdxIndexReindex Now reindex works, as well as pack and zap. 2002-11-13 12:25 UTC+0100 Antonio Linares * include/hbexprb.c ! strings as bytes arrays management (assignment) ! changes borrowed from xHarbour * source/vm/hvm.c ! strings as bytes arrays management (assignment) 2002-11-12 14:32 UTC+0100 Antonio Linares * source/vm/hvm.c + strings as bytes arrays management implemented Notice: Assignment is not implemented yet! 2002-11-12 12:55 UTC+0100 Antonio Linares * source/vm/hvm.c + ":=" operator overloading support for locals and statics variables. 2002-11-12 10:23 UTC+0100 Antonio Linares * source/vm/classes.c * source/vm/hvm.c + Added support for "[]" operator overloading 2002-11-10 19:35 UTC-0300 Luiz Rafael Culik *source/rtl/alert.prg ! fix initialization of cold Var 2002-11-08 13:19 UTC+0100 Ignacio Ortiz * source/rtl/errorapi.c !Fixed severity to 'can retry' on Base errors (as Clipper) * source/rtl/mlcount.c !Fixed bug reported Brian Hays (the solution is also from Brian) 2002-11-07 22:05 UTC-0300 Luiz Rafael Culik *source/rtl/alert.prg ! due an little mistake i`ve posted xharbour code, i`ve reverted back to version 1.38 and applyed the patch 2002-11-07 08:30 UTC-0300 Luiz Rafael Culik * source/rtl/alert.prg ! minor fix to my change from yesterday 2002-11-06 18:38 UTC-0300 Walter Negro * source/rtl/achoice.prg ! Fix, if no UDF is set, pressing an alpha key it go to first item finding this letter without respecting upper and lowercase. Reported by Luiz Culik. 2002-11-06 00:00 UTC-0500 Paul Tucker * makefile.vc * makefile.nt * make_vc.bat * clean now handled by make * corrected param handling * use /? for help 2002-11-05 21:41 UTC-0300 Luiz Rafael Culik * source/rtl/alert.prg ! Fixed problem when Text to display has more then 60 chars and the Line Breaker character (;) dont exist (You notice this behaviour on some erros produced by xharbour rdd) 2002-11-05 19:01 UTC-0300 Walter Negro * source/rtl/strcase.c ! Fix call to toupper(), tolower(), forcing unsigned char. For the correct working with DJGPP compiler. * source/rtl/is.c ! Fix call to isdigit() and isalpha(), islower() and isupper(), forcing unsigned char. For the correct working with DJGPP compiler. 2002-11-05 14:38 UTC-0300 Walter Negro * contrib/libct/setlast.prg + Init version of SETLASTKEY() * contrib/libct/screen1.c ! Fix variable declaration. * contrib/libct/Makefile + setlast.prg * contrib/libct/makefile.bc + setlast.prg * contrib/libct/makefile.vc + setlast.prg * contrib/libct/ctflist.txt * passed setlastkey() to Started state. * contrib/libnf/dispc.c ! Fix variable declaration. * contrib/libnf/ftattr.c ! Fix variable declaration. 2002-11-04 15:18 UTC-0500 Paul Tucker * makefile.vc * no more recursive nmake calls * makefile.nt * corrected one batch mode call * make_vc.bat * if building Harbour under NT, use the alternate makefile.nt * for faster builds. * if you would prefer not to use batch mode, * run make_vc /y (just like nmake) 2002-11-03 20:28 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c * hb_rddFieldIndex() was declared as static - is changed now, because it is called from dbfntx1.c 2002-11-02 19:26 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * The algorithm of key expression evaluation is optimized. Now, if it is the field name only, macro/codeblock evaluation doesn't used - SELF_GETVALUE is used instead. It leads to sensible indexing speedup in case of such simplest index keys. 2002-11-02 11:55 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! hb_rddGetCurrentWorkAreaPointer() fixed as proposed Jacek Potempa 2002-10-31 16:40 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix ::DeleteEnd() method. It didn't erase the last character. Reported by Luiz Rafael Culik. 2002-10-29 20:45 UTC-0500 Paul Tucker * source/rtl/gtwin/gtwin.c * Win9x Tone() support currently only for Borland and MSVC compilers. * The only issue for the moment, is if the calculation of TICKS is * incorrect for other compilers. SEE dTicks in hb_gt_Tone(). * Someone may wish to adapt the code above hb_gt_tone() in gtwin.c * for other compilers. 2002-10-29 16:20 UTC-0500 Paul Tucker * makefile.vc * slight re-ordering and added missed codepage.lib directive. + makefile.nt * make_vc.bat * if building Harbour under NT, use the alternate makefile.nt * for faster builds. * Changelog Changed date of following entry from 28 to 29. 2002-10-29 11:10 UTC-0500 Paul Tucker * source/rtl/gtwin/gtwin.c * modified by Robert Haley to allow Tone() * to work correctly under Win9x. * source/vm/maindllp.c * remove redundant returns. Set parc to return NULL not "" * source/rtl/transform.c * changed nFor decl to UINT * source/rtl/defpath.c * removed unneeded assignment to size * source/rdd/dbfcdx/dbfcdx1.c * removed unneeded assignement to uiLen 2002-10-27 21:35 UTC+0100 J-F lefebvre * source/rdd/dbf1.c * added missing typecasting for msvc. 2002-10-27 10:28 UTC+0200 Chen Kedem * doc/en/lang.txt + Added Russian KOI-8 to HB_LANGSELECT() list of supported ID's 2002-10-25 14:30 UTC+0300 Alexander Kresin * source/rtl/cdpapi.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/vm/hvm.c * Memory for codepage tables is allocated dynamically now - this is needed to provide a possibility of loading codepages from external file while run-time. * Possibility to have the same weight for some characters ( usually accented and appropriate unaccented ) is implemented. 2002-10-25 11:38 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Few fixes, related to codepages support ! Bug fixed ( setting controlling index doesn't caused movement to the top logical record before ) 2002-10-24 15:00 UTC-0300 Walter Negro * source/Makefile ! Add codepage to compilation 2002-10-24 20:58 UTC+0300 Alexander Kresin * include/hbapicdp.h ! Minor fix 2002-10-24 16:05 UTC+0300 Alexander Kresin + include/hbapicdp.h + added header file for codepage system * include/hbapirdd.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h + source/lang/msgrukoi.c + added a msg file for koi8-r * source/lang/Makefile * msgrukoi.c added to Makefile + source/rtl/cdpapi.c + added codepages api source Functions HB_SETCODEPAGE() and HB_TRANSLATE() are implemented * source/rtl/is.c * source/rtl/strcase.c * IsAlpha(), IsUpper(), IsLower(), Upper(), Lower() functions modified to use codepages * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbstrux.prg * source/rdd/dbfntx/dbfntx1.c * Rdd sources are modified to use codepages dbUseArea() and dbCreate() has new optional parameter - codepage id. * source/pp/pptable.c * Commands USE and CREATE FROM are changed - new optional clause 'CODEPAGE ' is added * source/vm/itemapi.c * hb_itemStrCmp() is modified to use codepages * source/Makefile * makefile.bc * makefile.vc * makefiles are modified 2002-10-24 15:40 UTC+0300 Alexander Kresin + source/codepage + directory for codepage source files is added + source/codepage/cdpru866.c + source/codepage/cdprukoi.c + source/codepage/cdpruwin.c + source/codepage/Makefile + Files for Russian codepages and Makefile for codepage library are added 2002-10-22 18:30 UTC-0400 David G. Holm * source/rtl/set.c ! Removed comment block that incorrectly commented out the default case in the HB_SET switch block. ! Fixed the previously commented out code that prevented changing the new HB_SET_DIRSEPARATOR value. * tests/set_test.prg + Added tests to display the Harbour-specific SET values and a test for changing the _SET_DIRSEPARATOR value. 2002-10-22 17:30 UTC-0400 David G. Holm * source/rdd/dbfcmd.c * Made FIELDNAME Clipper compatible for the case where there is no current workarea and when the field number does not exist. 2002-10-22 02:00 UTC-0500 Paul Tucker * source/rdd/dbcmd.c ! corrected copy length in rddsetdefault 2002-10-22 18:53 UTC+0100 Antonio Linares * source/rtl/filesys.c ! minor fix reported by José Fco. Pérez 2002-10-22 12:00 UTC-0500 Paul Tucker * source/rdd/dbcmd.c ! Fix a problem with Select() that I introduced. 2002-10-21 05:11 UTC+0100 Antonio Linares * source/rtl/achoice.prg ! minor fix 2002-10-21 23:41 UTC-0300 Walter Negro * source/rtl/achoice.prg ! Reduce redundant code. ! Fix default values of nBottom and nRight out of range. ! Add control of value of nBottom and nRight. * source/rtl/tget.prg ! Fix ::Changed property to conform UPDATE() behaviour with that Clipper. Fixed by Andi Jahja in xHarbour 2002-10-21 12:30 UTC-0500 Paul Tucker * source/rdd/dbfcdx/dbfcdx1.c ! added some long needed typecasts. ! corrected for index on/to without a tag * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/common/hbffind.c * source/common/hbfsapi.c ! some strncpy changes. 2002-10-21 12:00 UTC-0500 Paul Tucker + tests/vidtest.prg by Brian Dukes * source/rdd/dbcmd.c * source/rdd/workarea.c * source/rdd/dbf1.c ! modified string copy operations for efficiency where appropriate. 2002-10-21 10:20 UTC+0300 Alexander Kresin * contrib/rdd_ads/adsfunc.c ! Few fixes - checking for hb_parc() return value 2002-10-20 22:50 UTC-0500 Paul Tucker * source/rtl/inkey.c ! reduce keyboard polling to <= once per tick. ! Screen updating flies. * source/rtl/philes.c ! comparison to TRUE is not consistant with bool type in FREAD 2002-10-20 16:18 UTC-0500 Paul Tucker * source/rdd/dbfntx/dbfntx1.c ! removed unused pLastPages 2002-10-20 15:16 UTC-0500 Paul Tucker * source/rdd/dbcmd.c ! Just a few changes for efficiency... 2002-10-20 22:40 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Yet another fix related to the hb_parc() changes 2002-10-20 21:12 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Few fixes related to the latest hb_parc() changes * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in indexing 2002-10-19 16:50 UTC-0500 Paul Tucker * include/hbdefs.h * Added definition for UINT * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/saverest.c * source/rtl/xsavescr.c * source/rtl/gtdos/gtdos.c * source/rtl/gtsln/gtsln.c * source/rtl/gtos2/gtos2.c * source/rtl/gtwin/gtwin.c ! Properly account for the fact that hb_gt_rectsize returns an int (ok, so we treat it as UINT, but this is better than USHORT) * source/rtl/gtwin/gtwin.c * New, highly optimized Windows console gt driver written by Przemyslaw Czerpak with some (?) fixes suggested by Peter Rees and Marek Paliwoda 2002-10-19 16:26 UTC-0500 Paul Tucker * source/rtl/box.c * source/rtl/disksphb.c * source/rtl/errorapi * source/rtl/fnsplit * source/rtl/setcolor ! Simplified some calls to hb_parc() 2002-10-19 21:40 UTC+0100 Martin Vogel * contrib/libct/Makefile * contrib/libct/Makefile.bc * contrib/libct/Makefile.vc * contrib/libct/ctflist.txt + contrib/libct/invertwin.prg + INVERTWIN() function provided by Marek Horodyski 2002-10-19 20:52 UTC+0100 Antonio Linares * debug/debugger.prg ! minor fix to BP (breakpoints) settings saved to file * debug/dbghelp.prg ! mouse support added to debugger help 2002-10-19 20:34 UTC+0100 Antonio Linares * makefile.bc + source/vm/maindllp.c added to the makefile (don't know why this file was removed from it) 2002-10-19 20:07 UTC+0100 Antonio Linares * source/rtl/is.c ! hb_parc() use made clipper compatible 2002-10-19 16:20 UTC+0100 Antonio Linares * source/rdd/dbcmd.c ! some fixes on hb_parc() use from DbCreate() WARNING: Cause recent fix to hb_parc() to make it Clipper compatible, hb_parc() result must be checked before using the returned value. REQUEST: Alexander, Horacio and Brian, as the RDDs captains, please review all hb_parc() use from the RDDs source code, to asure hb_parc() result is properly tested. 2002-10-19 13:27 UTC+0100 Antonio Linares * include/hbapi.h * include/hbtypes.h * source/vm/extend.c * source/vm/maindllp.c ! all hb_stor... functions changed to return an int value Notice: These changes fixes the extend API compatibility issues with Clipper reported by gabor salai 2002-10-19 12:53 UTC+0100 Antonio Linares * source/vm/extend.c ! minor fix to hb_parc() Notice: This change fixes the hb_parc() bug described by John Skelton 2002-10-19 12:20 UTC+0100 Antonio Linares * source/rtl/philes.c ! FRead() fix for dynamic strings use with more than one holder Notice: This change fixes the FRead() bug described by Randy Portnoff 2002-10-19 11:16 UTC+0100 Antonio Linares * include/hbtypes.h ! minor change to avoid compiling errors if using -DHB_API_MACROS 2002-10-17 14:40 UTC-0300 Luiz Rafael Culik * source/rtl/tbrowse.prg ! Fixed SetColumnMethod() that was not using all Display Area(The nWidthMax variable was substraced by 2) 2002-10-17 15:00 UTC+0700 Andi Jahja * source/compiler/harbour.sly * source/compiler/harbour.y ! Add missing third parameter on calls of hb_compGenPushSymbol() 2002-10-16 1:50 UTC-0800 Brian Hays * include/dbInfo.ch ! added comments 2002-10-14 17:10 UTC-0300 Walter Negro * source/rtl/tget.prg ! fixed get (value and display) involving negative with decimal number whose value is less than 1, in some pictures. 2002-10-14 17:40 UTC+0100 Antonio Linares * include/hbcomp.h * include/hbexprb.c * include/hbmacro.h * include/hbvmpub.h * source/compiler/genc.c * source/compiler/harbour.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/macro.c ! bug fixed when accesing an aliased expression from within a static function with the same name as the alias. ! changes borrowed from xharbour WARNING: All PRGs must be recompiled as defined value HB_FS_PUBLIC has changed !!! 2002-10-14 11:45 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! bug fixed in scopes, when the last record of current order was in the scope ! bug fixed in error handling while index creating * source/rdd/dbfcdx/dbfcdx1.c ! bug fixed in error handling while index creating ( the same as in dbfntx ) 2002-10-14 0:10 UTC-0800 Brian Hays * contrib/rdd_ads/rddads.h * contrib/rdd_ads/ads1.c * created iFileType to pArea so each workarea knows whether it's ADT or CDX or NTX * contrib/rdd_ads/adsfunc.c - removed the 'far' from a char far * added in last post * include/dbstruct.ch Added a note that it's also used by C code #included it in hbapirdd.h (where I removed redundancies) * include/ord.ch + include/dbInfo.ch * moved all the DBI_*, DBRI_* and DBOI_* constants to the new dbInfo.ch, and included this in ord.ch and hbapirdd.h * include/hbapirdd.h * removed the redundancies, included dbinfo.ch and dbstruct.ch 2002-10-12 19:00 UTC-0300 Luiz Rafael Culik * contrib/mysql/mysql.c ! Fixed Buffer sizes on DATATOSQL() and FILETOSQLBINARY() It was leading to GPF due buffer underflow. Many thanks to Peter Rees 2002-10-11 21:35 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug reported by Richard Chidiak + added function hb_cdxMacroRun ! fixed bug reported by Peter Rees. * changed index creation and updating: some spaces in keys aren't compressed now, so ADS can read the indexes. (it couldn't with some special keys) 2002-10-07 13:22 UTC-0300 Gustavo Junior Alves * source/rtl/filesys.c * Fix to compile on MSVC - Thanks to Andi Jahja 2002-10-06 21:29 UTC-0300 Gustavo Junior Alves * source/rtl/filesys.c * hb_filecase on hb_fsMkDir, hb_fsChDir and hb_fsRmDir 2002-10-05 23:00 UTC-0300 Luiz Rafael Culik * source/rtl/tget.prg * Fixed small problem when using Mouse to select the editing get 2002-10-04 15:552 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in key appending with few open indexes 2002-10-04 14:42 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Bug fixed in COPY TO, APPEND FROM with aliased fields 2002-10-04 13:58 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Few bugs fixed, related to OrdKeyNo() and OrdKeyCount() 2002-10-03 0:40 UTC-0800 Brian Hays * contrib/rdd_ads/ace.h + added (void) to AdsApplicationExit( void ); This removes a compiler warning about missing the prototype. Let me know if this creates a problem with any other compilers. * contrib/rdd_ads/adsfunc.c + added AdsGetLastError() contrib. by Randy Portnoff (Thanks!) * contrib/rdd_ads/ads1.c * Cleaned up adsPutValue and adsGetValue formatting, * Fixed fieldname length references * Removed errant setting of uiLen in adsGetValue since these are set in adsOpen now. * adsOrderInfo(DBOI_KEYVAL): fixed ntx handling of numerics Added special decoding for keys of Negative values. * adsCreate: fixed fielddefs buffer sizing * adsOpen: fixed fieldname length references set uiLen of extended types * adsInfo: reformatted, prepared for fleshing out the rest of the options. Added support for dbinfo(DBI_ISFLOCK) 2002-10-01 08:25 UTC+0300 Chen Kedem * doc/es/browse.txt * doc/es/cmdline.txt * doc/es/dbstrux.txt ! columns in
need to be at least 3 spaces apart 2002-09-30 16:46 UTC+0300 Chen Kedem * doc/en/input.txt * doc/en/lang.txt * doc/en/menu.txt * doc/en/objfunc.txt ! columns in
need to be at least 3 spaces apart 2002-09-29 12:00 UTC+0700 Andi Jahja * source/rtl/tget.prg ! fixed get (value and display) involving negative (with decimal) number whose value is less than 1. 2002-09-28 21:50 UTC-0300 Horacio Roldan * source/compiler/hbusage.c ! fixed a bug in the list of hb_compPrintCredits ;-) 2002-09-28 01:55 UTC-0300 Horacio Roldan * include/hbapirdd.h * include/hbrdddbf.h * include/hbrddcdx.h * include/hbrddntx.h * source/rdd/dbcmd.c * source/rdd/workarea.c * contrib/rdd_ads/ads1.c * contrib/rdd_ads/rddads.h + Changed fieldname max length handling, it is now a workarea property. (set by the RDD) (in ADS, this is just a patch) 2002-09-28 01:50 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx1.c ! changed key in-memory management. this fixes trimmed key problems, reported by Lorenzo Fiorini. ! fixed error reported by Gianni Santamarina. * source/rdd/dbf1.c ! fixed some typos 2002-09-26 12:30 UTC-0300 Horacio Roldan * include/hbapi.h - removed filecase() definition from Extend API * include/hbapifs.h - added filecase() definition to FS API * include/hbset.h * source/rtl/set.c * source/rtl/filesys.c ! fixed GPF, fixed MSVC typecast, changed settings from strings to numeric constants. 2002-09-25 18:47 UTC-0300 Horacio Roldan * source/rdd/rtl/file.c * source/rdd/rtl/filesys.c ! added some missing casts. 2002-09-25 17:15 UTC-0300 Horacio Roldan * source/rdd/rtl/file.c * source/rdd/rtl/filesys.c ! fixed GPF, hb_xfree must be used for hb_xgrab memory. 2002-09-25 20:00 GMT+0100 Martin Vogel * contrib/libct/color.prg ! fixed initialization bug reported by Marek Horodyski 2002-09-25 13:15 UTC-0300 Gustavo Junior Alves * source/rtl/file.c * source/rtl/filesys.c ! Allow last changes to compile under MSVC ! Change strdup to hb_strdup and rindex (BSD) to strrchr (POSIX) 2002-09-23 11:00 UTC-0300 Gustavo Junior Alves * include/hbapi.h * include/hbset.h * include/set.ch * source/pp/pptable.c * source/rtl/file.c * source/rtl/filesys.c * source/rtl/set.c ! Implement SET FILECASE, DIRCASE and DIRSEPARATOR * source/pp/ppcore.c ! Fix a core dump on HB_TR_DEBUG PrevSquare 2002-09-22 16:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed introduced in previous fix :) 2002-09-22 12:25 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in key append 2002-09-21 12:20 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to seeking while set deleted on is set 2002-09-20 23:55 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to softseek 2002-09-20 14:50 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxZap() 2002-09-20 12:32 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h * Improved algorithm of record append in shared mode - that should result in better speed. * Maximum number of keys in the index page is now Clipper compatible - as I just discovered for myself, in Clipper it is already ( hm... I forgot appropriate English word - is divided by 2 ). 2002-09-19 00:35 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c + added function hb_cdxGetTagNumber ! fixed some castings and warnings reported by Larry Sevilla, Luiz and Andy. ! fixed controlling order after ordCreate() ! fixed controlling order after ordListAdd() This fixes the controlling order after: USE name INDEX name SET INDEX TO name INDEX ON key TAG tagname * source/rdd/dbcmd.c ! fix gpf in pack, reported by Jorge Mason. * source/rdd/dbf1.c + added support for DBI_FULLPATH and DBI_SHARED, sent by Gianluca Piemonte. 2002-09-18 16:00 UTC-0400 David G. Holm * source/rdd/dbfcdx/dbfcdx1.c ! Replaced non-existent _SORTSWAPPAGE used in hb_xgrab() type override with the existing, and correct, LPSORTSWAPPAGE. 2002-09-17 21:55 UTC-01 jf lefebvre (mafact) * source/rdd/dbfcdx\dbfcdx1.c ! Added needed typecasting for M$soft C * source/vm/classes.c ! Minor cosmetic change and syncro with xHarbour 2002-09-13 23:30 UTC-0400 David G. Holm * source/rtl/dbdelim.prg ! Bug fix for fields that have an embedded delimiter. 2002-09-13 22:20 UTC-0400 David G. Holm * source/rtl/dbdelim.prg ! Bug fixes for consecutive blank fields in a record and for records that have no delimiters (either because there are no character fields or because all of the character fields are blank). 2002-09-09 16:48 UTC+0300 Chen Kedem * source/common/hbffind.c - Remove redundant line which used FILE_ATTRIBUTE_NOT_CONTENT_INDEXED from hb_fsAttToRaw(). The next line already use the explicit value 0x00002000. Now Harbour complie with Borland BCB 3.0 2002-09-09 14:25 UTC+0100 Tomaz Zupan * contrib/odbc/todbc.prg + Added recordset caching. 2002-09-07 14:38 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! GPF fixed, which appeared after pack operation if dbf became empty. 2002-09-07 00:30 UTC-0300 Luiz Rafael Culik * source/rtl/tget.prg Added missing Caption DATA and init to "" 2002-09-05 21:15 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c ! Fixed Support for Long fields names in adscreate ! Fixed Display for the follow type of fields when ADT format is USED Autoinc -> 10 Double/Curdouble 8(Official Size of field on Database)+2*HB_SET_DECIMALS value 2002-09-05 18:46 UTC-0300 Horacio Roldan * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h + added support for creating big indexes hb_cdxSortSwapSavePage, hb_cdxSortSwapFillPage, hb_cdxSortSwapRecurseDict, hb_cdxSortSwapSendWord hb_cdxSortSwapBuildIndex, hb_cdxSortSwapGetNextKey; + added hb_cdxKeyValCompare ! fixed hb_cdxKeyGetItem for numeric keys ! fixed hb_cdxTagExtNodeWrite ! renamed some structs because td was confused * source/rdd/dbf1.c synched with 2002-08-31 20:38 UTC-0800 Ron Pinkas * source/rdd/dbf1.c ! Fixed hb_dbfLockFile() to release record locks before attempting to lock the file. 2002-08-31 15:24 UTC-0800 Ron Pinkas * source/rdd/dbf1.c ! Fixed hb_dbfLockRecord() to return success when area alread has file lock. 2002-09-04 17:56 UTC+0200 Maurilio Longo * source/rtl/tbrowse.prg ! Fixed cell padding inside ::DispCell(). Character or memo fields have to be padded right. Number fields have to be padded left. 2002-09-03 19:10 UTC+0200 Maurilio Longo * source/rtl/teditor.prg ! fixed line splitting when a character is deleted from a line and there is a word wrapping limit. Please note that lines of text are treated differently from the way clipper 5.x treats them, in particular when past EOL there is no deletion from current line * source/rtl/memoedit.prg ! fixed cursor positiong and shaping when calling an user function 2002-09-02 19:25 UTC-0400 David G. Holm * ChangeLog + Started a new ChangeLog. * source/rtl/ChangeLog.013 + Renamed old ChangeLog, due to file size. * source/rtl/dbdelim.prg ! Code fix to handle the field delimiters, provided by the APPEND FROM code author, Marco Braida . 2002-09-02 16:58 UTC+0200 Maurilio Longo * harbour/source/rtl/tbrowse.prg ! fixed columns' width calulation on ::SetColumnWidth( oCol ) method 2002-08-30 11:20 UTC-0300 Luiz Rafael Culik * source/rtl/tget.prg ! fix for DeleteAll() method when Variable is Date type Reported by Charles Kwon 2002-08-30 18:05 UTC-0400 David G. Holm * source/rtl/dbdelim.prg ! Bug fix to pass cSeparator to appendtodb() instead of cDelimArg, which can be null and isn't the right value anyway, because the appendtodb() function uses the argument as the field separator, not as the field delimiter, which is currently ignored. I have sent a detailed message to the author requesting that he fix the code to honor the field delimiter when processing fields. 2002-08-30 13:25 UTC-0400 David G. Holm * source/rtl/dbdelim.prg * Implementation of APPEND FROM SDF, submitted * by Marco Braida from Genoa Italy. 2002-08-27 21:30 UTC-0300 Luiz Rafael Culik * source/rtl/achoice.prg * Small fix to previus change * source/rtl/dummy.prg * removed __dbtotal() function + source/rdd/dbtotal.prg * Source file to __dbtotal() function * makefile.bc makefile.vc source/rdd/Makefile * Added dbtotal.prg to dependencie list 2002-08-27 17:15 UTC-0300 Horacio Roldan * include/fileio.ch * source/rtl/filesys.c * source/rtl/fstemp.c + added FO_EXCL for exclusive create + added convert_create_flags_ex ! fixed warning in hb_fsPOpen ! fixed hb_fsCreateEx(), HB_FCREATE(), hb_fsCreateTemp(), HB_FTEMPCREATE(). These functions were not working. 2002-08-25 17:40 UTC-0300 Luiz Rafael Culik * source/common/hbffind.c * fixed an problem on hb_fsFindFirst() and hb_fsFindNext() apis (Windows Section) that was making an Directory('*.*') return less files then the total amount that has on that directory. 2002-08-21 12:10 UTC-0400 David G. Holm * source/rtl/net.c ! If HB_OS_UNIX, then include . 2002-08-20 22:30 UTC-0400 David G. Holm * source/rtl/net.c + HB_OS_UNIX uses the OS/2 GCC implementation of netname(). Tested on "FreeBSD 4.6-STABLE #2". 2002-08-17 21:05 UTC+0100 Tomaz Zupan * contrib/odbc/odbc.c + Added SQLConnect function * contrib/odbc/todbc.prg + Method new() now accepts additional parameters username and password. If TODBC:new() is called with username and password, it uses SQLConnect insted of SQLDriverConnect to establish ODBC conenction. 2002-08-15 17:40 UTC-0300 Luiz Rafael Culik * source/rtl/memoedit.prg * When User function is Defined , Make ALT+W key exit the Editing windows if not redefined inside the UDF function 2002-08-14 14:55 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fixed some warnings 2002-08-12 23:25 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fixed seek bug when having an empty scope ! Memo Limit is > 64K now up to 2GB (2^31 or max(long)) ! fixed bug in ordNumber() 2002-08-08 00:40 UTC-0300 Horacio Roldan * source/rdd/dbcmd.c * source/rdd/dbf1.c ! minor change to previous fix in dbCloseArea 2002-08-07 17:58 UTC-0300 Horacio Roldan * include/hbapirdd.h * source/rdd/dbcmd.c * source/rdd/workarea.c ! fixed gpf in dbCloseArea, now relations are closed if child area is closed, reported by Brian Hays 2002-08-07 16:20 UTC-0300 Horacio Roldan * source/rdd/dbf1.c ! added os error code, for neterr() support and temporary fix for Win/DOS platforms. 2002-08-05 23:38 UTC-0300 Horacio Roldan * source/rdd/dbcmd.c ! fix GPF in dbCloseAll, reported by Jorge Mason 2002-08-05 09:33 UTC+0100 Dave Pearson * source/compiler/genc.c * Corrected misspelling of "Alpha". 2002-08-03 22:50 UTC+0100 Tomaz Zupan * contrib/odbc/odbc.c contrib/odbc/todbc.prg * Added bof(), reccount(), lastrec() and recno() functionality to ODBC library. * contrib/odbc/browodbc.prg * enabled statusline 2002-08-02 12:35 UTC-0400 David G. Holm * doc/howtobsd.txt * Changed BSD reference in heading to FreeBSD. * Removed reference to specific FreeBSD version number. 2002-08-02 12:05 UTC-0400 David G. Holm * source/rtl/set.c ! When encountering SET ALTERNATE TO, close the file. ! When encountering SET(_SET_EXTRAFILE,NIL), close the file. 2002-07-25 13:42 UTC+0100 Ignacio Ortiz * source/pp/ppcore.c * Warn about already existing #defines, even if the have the same value 2002-07-25 13:42 UTC+0100 Ignacio Ortiz * source/pp/ppcore.c * Bug fixed when an already existing #define (with no value) was redeclared 2002-07-22 01:29 UTC+0500 April White * doc/en/set.txt * source/compiler/hbusage.c * source/rtl/setkey.c * tests/setkeys.prg ; my email address, just in case you want to find me :-) 2002-07-19 09:10 UTC+0500 April White ! contrib/btree/hb_BTree.c * struct hb_btree pStrCompare function pointer changed to use the size_t type for the third param, to coincide with ChangeLog 2002-07-14 14:14 UTC+0500 2002-07-19 15:45 UTC-0400 David G. Holm * source/rtl/gtwin/gtwin.c ! Don't test for dead keys when dealing with international characters that have a negative character value. 2002-07-17 12:34 UTC-0300 Walter Negro * include/hbmath.h ! Fix multiple declaration of _LIB_VERSION_TYPE if it's declared here * source/rtl/math.c + Add declaration for _LIB_VERSION_TYPE (DJGPP compiler) * config/dos/djgpp.cf - LDFLAGS because -lm is not a flag, it's a library. + LDLIBS -lm for add math library. * contrib/libct/ctmath.h * Conditional includes of math.h for DJGPP compiler 2002-07-17 18:15 UTC+0300 Alexander Kresin * source/debug/debugger.prg ! Minor bug fixed 2002-07-17 09:08 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix initialization ::lEdit in New method. Bug and solution reported by Jose F. Gimenez 2002-07-17 12:55 UTC+0300 Alexander Kresin * source/pp/ppcore.c ! Bug fixed, related to #define f ..., #define t ... and .T., .F. 2002-07-17 12:30 UTC+0300 Alexander Kresin * source/debug/debugger.prg ! Bugs fixed with codeblocks processing 2002-07-17 11:10 UTC+0300 Alexander Kresin * source/debug/debugger.prg ! A bug fixed in commands evaluation 2002-07-17 02:42 UTC+0500 April White * source/vm/itemapi.c + add conditional code if !(__DJGPP__) around #include 2002-07-16 02:14 UTC+0500 April White * source/rtl/strings.c * include/hbapi.h * changed last param of hb_strnicmp() from ULONG to size_t 2002-07-14 13:50 UTC-0300 Walter Negro * doc/transfrm.txt + Add information about new functionalities. * doc/tracing.txt + Add information about work with DOS/WIN9x. * doc/en/var.txt + Add information about HB_ISBYREF(). * source/rtl/tget.prg ! Fix and more compliant in Untransform(), PutMask() and KillFocus() methods. Reported by Andrew Wos * include/hbmath.h * source/rtl/math.c + Extend functionalities of math error handling for DJGPP compiler. 2002-07-14 14:14 UTC+0500 April White * contrib/btree/hb_btree.api + extern "C" * rename nFlags to ulFlags + declaration for hb_BTreeDataItem() * declaration for hb_BTreeInsert() to use a PHB_ITEM vs LONG * contrib/btree/hb_btree.ch - comments from around 'inmemory' definition * contrib/btree/test/test.prg + code to test in-memory tree, including passing floats vs longs * contrib/btree/test/ctest.c ! a SEEK call that was incorrectly failing because the DATA param passed as 0 * hb_BTreeInsert() calls to use new form (PHB_ITEM vs long) * contrib/btree/hb_btree.c ; the following warnings are reported by BCC (thanks Alexander): Suspicious pointer conversion in function hb_BTreeNew & hb_BTreeOpen pBTree->pStrCompare = strncmp; Parameter 'ulFlags' is never used in function hb_BTreeOpen - defintion and use of DBG() macro + extern "C" ifdef'd - comments from around 'inmemory' definition * renamed nFlags to ulFlags, lFlags to ulFlags, position to iPosition * hb_btreenew [hi level] - when flag contains HB_BTREE_INMEMORY, first parameter is ignored * hb_btreenew [lo level] - when flag contains HB_BTREE_INMEMORY, dont try to open the file, etc, and clear necessary fields * hb_btreeclose [lo level] - close file and release file name only when necessary * only call HeaderWrite() when not in-memory tree + ioOneBufferAlloc() - allocate one ioBuffer_T block, called by ioBufferAlloc(), and Grow() when in-memory * Grow() in-memory - add a page to the link list + Prune() in-memory - added code to remove a page from the link list * (assorted) IsDirty flag is assigned the tree property IsDirtyFlagAssignment, so that in-memory trees never fire the write methods (ie. always false) * hb_BTreeGoTop(), hb_BTreeGoBottom() [lo-level] + bug fix: preserve last node found + if tree is empty, clear key/data, else retrieve selected key/data * ioBufferRead() - moved IsDirty reset within "if ( IsDirty )" block * ioBufferScan() - call ioBufferRead() when not in-memory tree - SearchNode() redundant BufferRelease() and return statement - enum ExceptionTypes (not used) - Buffer_T typedef struct, incorporating into the ioBuffer_T typedef struct * hb_KeyData_T: replaced lData with a union lData/pData + definition for hb_BTreeDataItem() * definition for hb_BTreeInsert() to use a PHB_ITEM vs LONG * hb_btreeinsert() [hi-level] accepts only number for file i/o and any data type for in-memory - macro SETKEYDATA(), placing equivalent code into hb_BTreeInsert() + Prune() - release individial items and then the page itself ! CountAdj() last param should have been SHORT not USHORT ; RecDelete() moved the inline assignment & comparision around to remove the b32 warning TODO: find a solution to the 'Suspicious pointer conversion in function hb_BTreeNew & hb_BTreeOpen' [strncmp() & hb_strncmp()] TODO: impliment ulFlags within hb_btreeopen() - see warning above - clear im-memory flag - get unique flag from file header * contrib/btree/doc/hb_btree.txt * spelling corrections * clarified use of HB_BTREE_INMEMORY flag with hb_BTreeNew() API ! corrected type of pBTree params, from 'hb_BTree *' to 'struct hb_BTree *' + definition for hb_BTreeDataItem() * clarified use of data param and data return value 2002-07-14 12:35 UTC+0100 Antonio Linares * source/debug/debugger.prg * Changes from Davor Siklic * BreakPoints status saving and restoring supported * SortVars status saving and restoring supported * Anim and Animate command supported in comand window Note: I can't stop started animation, is this work for You, Or this is problem on Linux with NextKey() ? * CallStack window switchig ON/OFF from menu Note: Modified by A.Linares * METHOD RemoveWindow() Note: Modified by A.Linares * Saving and restoring status of CallStack * Changes from A.Linares * Added Help Window mouse support * Improved cursor management on code window * source/debug/dbgmenu.prg * minor fix on View CallStack 2002-07-12 18:58 UTC+0300 Alexander Kresin * source/debug/debugger.prg ! A bug fixed in commands evaluation 2002-07-11 14:30 UTC-0400 David G. Holm * config/dos/djgpp.cf + Added the -lm option to LDFLAGS to enable math error handling. * source/rtl/gtwin/gtwin.c ! Shift Tab is now properly reported as 271. 2002-07-11 02:30 UTC-0300 Walter Negro * source/vm/itemapi.c ! Fix rounded for big numbers ( more of 16 significant numbers ). 2002-07-10 12:10 UTC-0300 Walter Negro * source/vm/itemapi.c ! Recognition of infinite numbers in DJGPP compiler. * bin/bld.bat * Add -lm in DJGPP compiler, for include libm.a (math library). This library it's necessary for new handler of math errors. * source/debug/Makefile + Add dbghelp.prg 2002-07-10 12:02 UTC+0300 Alexander Kresin * source/debug/debugger.prg * variables window works now. 2002-07-10 10:43 UTC+0300 Alexander Kresin * source/debug/debugger.prg * now it is possible to inspect local variables in debugger command window with '?' and '??' commands. 2002-07-09 11:00 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c * Fixed bug on adsGetValue(). previus fix did not correct the problem. replaced the call to atol() , for Dval 2002-07-09 10:50 UTC+0100 Antonio Linares * source/debug/dbgtarr.prg + added lEditable parameter and data * source/debug/dbgtobj.prg + added lEditable parameter and data * fix for properly show objects datas names * source/debug/debugger.prg * Command window support for HELP and ?? (inspect) commands * Some fixes on cursor management 2002-07-08 20:45 UTC+0100 Antonio Linares * source/debug/debugger.prg * Command window support for DOS, QUIT, OUTPUT and empty commands 2002-07-08 17:30 UTC+0100 Antonio Linares + source/debug/dbghelp.prg * The debugger Help system * makefile.bc + added dbghelp.prg module * source/debug/dbgmenu.prg * source/debug/debugger.prg + added help support 2002-07-08 17:20 UTC+0100 Martin Vogel * source/rtl/math.c * #ifdef'ed matherr() definition to hide it from compilers not supporting it 2002-07-08 10:15 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c * Fixed bug on adsGetValue() function when numeric data to be putted are more the 10 number long and no decimals(ie: 123456789124) Fix By Luiz Rafael Culik and Charles Kwon 2002-07-08 09:08 UTC+0100 Antonio Linares * harbour/source/debug/debugger.prg * Change implemented by Davor Siklic * DATA cPathForFiles used to locate files 2002-07-08 01:40 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix minor bug in PutMask() method. Reported by Luiz Rafael Culik from brazilian user 2002-07-08 00:20 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c * Fixed bug on adsPutValue() function when numeric data to be putted are more the 10 number long and no decimals(ie: 123456789124) Fix By Luiz Rafael Culik and Charles Kwon 2002-07-07 22:40 UTC+0100 Martin Vogel * source/rtl/math.c * include/hbmath.h + include/math.ch * doc/en/math.txt * math error handling redesigned * tests/mathtest.prg * small test program to demonstrate new math error handling capabilities * source/vm/itemapi.c * bug fix: app compiled with BCC crashed if hb_itemPutNDLen was called with a "NaN" double * BCC checks for infinity added in hb_itemStr * possible bug fixed: math handler has not been switched off before using log(0) in hb_itemStr * contrib/libct/ctc.c * contrib/libct/ctmath.c * contrib/libct/ctmath.h * contrib/libct/ctflist.txt * contrib/libct/readme.txt * contrib/libct/cterror.ch * math error handling adopted to new design, function SETMATHERRMODE() removed * contrib/libct/math.c * contrib/libct/num1.c * contrib/libct/trig.c * contrib/libct/finan.c * math error handling adopted to new design, compatibility with CTIII enhanced * contrib/libct/test/Makefile * typo fixed 2002-07-07 11:05 UTC+0100 Antonio Linares * harbour/source/debug/debugger.prg * Changed constructor sequence * Alt-X support * Colors editing fix 2002-07-07 10:35 UTC+0100 Antonio Linares * harbour/source/debug/debugger.prg * Changes implemented by Davor Siklic * Now debugger properly initialize from init.cld * Private, Static, Local, Private monitoring are properly stored and read from the init.cld * OSShell work in Linux * Method InputBox get focus now 2002-07-07 01:10 UTC-0300 Walter Negro * source/rtl/transfrm.c ! Fix with numeric values and pictures with spaces and pictures with severals dot. The return values are compliant with Clipper. eg: Transform( 1234, "9 999" ) eg: Transform( 123.123456, "999.99.99.99" ) Reported by Richard Chidiak 2002-07-06 17:18 UTC+0100 Antonio Linares * harbour/source/debug/debugger.prg * Chr( 13 ) + Chr( 10 ) changed into HB_OsNewLine() 2002-07-05 16:09 UTC+0100 Antonio Linares * source/rtl/philes.c * fixed bug on previous change on FRead() 2002-07-05 12:00 UTC+0100 Antonio Linares * source/rtl/philes.c * added some missing #include 2002-07-05 11:35 UTC+0100 Antonio Linares * source/rtl/philes.c * FRead() fixed bug on constant strings use 2002-07-03 18:37 UTC-0300 Walter Negro * source/rtl/dates.c * More compliant for certain strange formats. eg: DD/MMM/YYYY * source/rtl/transfrm.c * More compliant, resolve several hbtest errors. 2002-07-02 01:14 UTC-0800 Brian Hays * contrib/rdd_ads/adsfunc.c * Fixed issues reported by Alex Schaft: Since AdsGetAOFOptLevel() did not attempt to return the NoOpt string by reference anyway, I just removed the NoOpt handling. This avoids the overflow error and removes any string buffer limitations at all. Fixed AdsGetAOF() AdsGetAOFNoOpt() to handle filters of any size that ADS may return. 2002-07-01 20:10 UTC-0300 Walter Negro * source/rtl/transfrm.c + Add @0 function. ! Fix minor bug introduce with previous changelog. See hbtest: 2044, 2052, 2054. eg: Transform( -12, "@( 99" ) Bug: "(2)" Now: "(*)" ! More compliant with Clipper. See hbtest: 1898, 1902, 1906, 1971, 2006, 2064, 2070. eg: Transform( 100.2, "@" ) Before: " 100.2" Now: " 100.2" eg: Transform(.T. ,"@R X!" ) Before: "XT" Now: "X!T" eg: Transform(1.0 ,"@B" ) Before: "1.0 " Now: "1.0 " eg: Transform("Hello","@S-1") Before: "" Now: "Hello" 2002-07-01 16:30 UTC-0400 David G. Holm * doc/howtocvs.txt * Corrected references to cvs_ssh.txt to refer to section 1.7. 2002-07-01 02:10 UTC-0300 Walter Negro * source/rtl/transfrm.c + Add @) template. ! Fix @D with numeric expressions. ! Fix bug with @D in string expressions. eg: Transform( "1", "@D" ) This example generate an GPF or strange memory errors. ! Better support for mask with initial comma, period or space. ! Better support for later mask. ! Replace comma, period or the correspondient space with an '*' when previous character is '*' too. eg: Transform( 99999, "9.999" ) -> Before: "* ***" Now: "*****" Transform( 99, "*.***" ) -> Before: "* *99" Now: "***99" * source/rtl/tgetlist.prg * Detection of modification with direct access to the var get in preval, postval and setkey functions. Point of control: GetPreValidate(), GetPostValidate(), GUIGetPreValidate(), GUIGetPostValidate(), GetDoSetKey(). * source/rtl/tget.prg + Add two protected methods. FirstEditable() and LastEditable(). Several change for use this methods. ! Fix in ParsePict method * @D function, overwrite the mask for SET DATE FORMAT * @S without lenght parameter or @S0, they don't have effect. ! Fix in Untransform method * if ::lEdit is false, return ::VarGet() without evaluate the buffer contained. * Better detection of a negative, minimizing false detections. * Improvement in the handling of mask. * More compliant in @D, @E, @X, @C, @(, @) functions. * In compliant with Clipper, the lenght of number (internal lenght) corresponds to the applied picture. ! Bug in conversion with date types and with @E function. ! Fix in Overstrike and Insert method * First it is evaluated if the input character is valid, before cleaning the var. ! Fix in Input method * The minus sign can be writed in any place. * Now work with '$' and '*' templates in numeric gets. ! Fix in PutMask method * More compliant in the handling of some get functions. * When edit a get with @B, the number is editing right-justified. ! Fix in Backspace method * Permit delete a '(' symbol in a non-editable position, when this symbol represent a negative number. ! Fix in Delete method ! When delete a negative symbol '(' or '-', turn the ::minus tu false ! Fix in IsBadDate function ! Evaluate crrectly a date with @E function. 2002-06-28 10:43 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in hb_ntxPageSplit() - the created page was not released. 2002-06-27 15:25 UTC-0400 David G. Holm * source/rtl/gtsln/gtsln.c ! HRBNATIONCHARS fix provided by Niko Mikkila 2002-06-27 22:30 UTC+0300 Alexander Kresin * source/rdd/workarea.c ! Bug fixed in hb_waSetRel(), reported by Richard Chidiak 2002-06-26 19:20 UTC-0400 David G. Holm * source/pp/ppcore.c ! Increase the loop limit used to detect cyclic #defines from 20 to 750. 2002-06-26 18:41 UTC+0100 Ignacio Ortiz * source/rtl/tget.prg !Fixed minus property value, did not work correctly 2002-06-24 24:35 UTC+0100 Ignacio Ortiz * source/rtl/tget.prg !Fixed date input when set century on and the year was typed with only two digits !Fixed minus property value, did not work correctly 2002-06-23 00:50 UTC-0300 Walter Negro * contrib/hbzlib/strcomp.c ! Fixed eliminated warning in declaration of var: const char ! Change of hb_retc() + hb_xfree() for hb_retclen_buffer() * contrib/hbzlib/zipfile2.c ! Reformating of indentation and eliminating of Tabs simbol * contrib/hbzlib/zlibapi1.c ! Reformating of indentation and eliminating of Tabs simbol * Change call to hb_fsSetDevRaw() for hb_fsSetDevMode() * contrib/hbzlib/zip.c ! Reformating of indentation and eliminating of Tabs simbol 2002-06-22 20:25 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in skipping, when both Bof and Eof are true. 2002-06-21 17:15 UTC-0300 Walter Negro * source/rtl/tgetlist.prg + Add #include tbrowse.ch for TBrowse defines. * include/button.ch - Defines defined in TBrowse.ch 2002-06-21 17:00 UTC-0300 Walter Negro * source/rtl/tbrowse.prg + Initial support for SetStyle method, compatible with Clipper 5.3. See tbrowse.ch for support values. * source/rtl/tbcolumn.prg + Initial support for SetStyle method, compatible with Clipper 5.3. See tbrowse.ch for support values. * include/tbrowse.ch + Defines for TBrowse and TBColumn Classes 2002-06-21 15:50 UTC-0300 Walter Negro * source/rtl/getsys.prg ! Fix call to SET() without setting values. ReadExit() and ReadInsert() * source/rtl/tgetlist.prg ! Fix call to SET() without setting values. METHOD ReadExit() * source/rtl/teditor.prg ! Fix call to SET() without setting values. METHOD InsertState() 2002-06-20 14:28 UTC+0100 Ignacio Ortiz * source/pp/ppcore.c - Removed warning for #Define redefinition when the new define value is exactly the same as the old value (same as Clipper) 2002-06-19 17:14 UTC+0100 Dave Pearson * doc/en/compiler.txt - Removed /10 switch. 2002-06-15 13:04 UTC-0300 Walter Negro * source/vm/hvm.c ! Fixed support for FOR_NEXT with STEP 0 2002-06-14 14:52 UTC-0300 Walter Negro * source/rtl/getsys.prg ! Fixed RETURN in Accelerator() and HitTest() 2002-06-14 13:49 UTC-0300 Walter Negro * source/rtl/getlist.prg + Add __GetListLast() for support to the functions Update() and ReadUpdate() * source/rtl/getsys.prg ! Fixed compatibility functions Update() and ReadUpdate(). Now use __GetListLast() instead of __GetListActive(). __GetListActive() reference to the active oGetList, beginning and concluding with the ReadModal. __GetListLast() reference to the last oGetList form the beginning of the ReadModal until another ReadModal begins. ! Fix bug in Accelerator(), Clipper 5.3 compatibility function. * Some cleanup. * source/rtl/tget.prg + Add support for SET DELIMITERS * source/rtl/tgetlist.prg ! Change __GetListActive() for __GetListLast() for support to Update() and ReadUpdate() 2002-06-14 20:25 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Bug fixed in rddMoveRecords() - there was a problem with Append From. 2002-06-14 14:18 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! Bug fixed in hb_rddCloseAll() 2002-06-09 14:29 UTC+0300 Alexander Kresin * contrib/rddads/ads1.c ! Few fixes for "ShortDate" data type 2002-06-08 16:15 UTC-0300 Horacio Roldan * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c + added hb_cdxOrderDestroy, hb_cdxIndexDelTag functions, ordDestroy() is working now for dbfcdx rdd. 2002-06-07 11:50 UTC-0300 Walter Negro * source/rtl/tgetlist.prg * source/rtl/getsys.prg ! Modification of work for save oGetList active. Save oGetList for recursives calls to ReadModal(). Necessary to support post-evaluation functions to the exit of the ReadModal(). eg: UPDATE() 2002-06-07 13:53 UTC+0300 Alexander Kresin * source/rdd/dbf1.c ! Bug fixed in hb_dbfLockRecord(), reported by Richard Chidiak 2002-06-06 23:21 UTC+0300 Alexander Kresin * contrib/rddads/ads1.c ! Fixed bug, related to creating databases with extended data types 2002-06-06 14:40 UTC-0400 David G. Holm * source/rtl/gtwin/gtwin.c ! Removed Clipper-incompatible change that made Shift+ESC return 641 instead of 27 in normal keyboard input mode, instead of only returning 641 in HB_INKEY_EXTENDED mode. 2002-06-06 11:12 UTC-0300 Walter Negro * source/rtl/gtwin/gtwin.c ! Fix, now Shift-ESC return the correct value. 2002-06-06 09:23 UTC+0300 Chen Kedem * doc/dirstruc.txt + Add notes for the btree directory * doc/gmake.txt * doc/transfrm.txt * doc/es/dbstrux.txt * doc/es/harbext.txt * doc/es/idle.txt * doc/es/tracing.txt ! Replace embedded TABs with SPACEs 2002-06-05 20:52 UTC-0800 Ron Pinkas * make_b32.bat - Commented SET BISON_SIMPLE line as it causes incompatibility with current version of Bison. * source/compiler/harbour.sly * source/macro/macro.y + Added missing ; as per Bison 1.35 warnings. 2002-06-05 18:00 UTC-0400 David G. Holm * source/rtl/gtwin/gtwin.c ! Fixed Esc key translation problem that only occurred in some international versions of Windows, thanks to data provided by "Walter Negro - FOEESITRA" 2002-06-05 23:30 UTC+0300 Alexander Kresin * contrib + btree/ + btree/hb_btree.api + btree/hb_btree.c + btree/hb_btree.ch + btree/make_b32.bat + btree/Makefile + btree/makefile.bc + btree/mktest.bat + btree/tbtree.prg + btree/test/ + btree/test/ctest.c + btree/test/Makefile + btree/test/test.prg + btree/test/ttest.prg + btree/doc + btree/doc/hb_btree.txt + btree library, contributed by April White is uploaded to the contrib section. 2002-06-05 12:10 UTC-0300 Walter Negro * source/source/rtl/tget.prg ! Fixed operation of picture "@Z" Reported by Pritpal Bedi 2002-06-05 10:13 UTC-0300 Horacio Roldan * source/compiler/gencobj.c ! fixed uninitialized pointer. 2002-06-05 10:00 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! bug fixed in adsOpen, reported by Jorge Mason 2002-06-02 09:30 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fix in locking logic. ! fixed bug updating conditionals indexes, reported by Walter Negro ! fixed bug in dbgoto, reported by Pritpal Bedi 2002-06-02 12:02 UTC+0100 Antonio Linares * source/debug/debugger.prg ! Fixed AltD() behavior + tests/altd.prg * AltD() behavior test 2002-05-30 00:55 UTC-0300 Walter Negro * source/rtl/tbrowse.prg + Add two instance variables, nRow and nCol. Existing in Clipper 5.3. Only was modified the Hilite and SetPos method, for save in this variables, the position of cursor. 2002-05-30 00:55 UTC-0300 Walter Negro * contrib/libct/screen1.c ! Now return correctly a numeric value. * contrib/libct/color.prg ! Fix, the color string was inverted. 2002-05-25 21:36 UTC-0800 Ron Pinkas * contrib/rdd_ads/ads1.c + Added #ifdef section to support xHarbour PCODE version check. 2002-05-25 21:00 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix picture function in lower case. (eg: @s ) Reported by Luiz Rafael Culik Guimaraes 2002-05-25 13:15 UTC-0300 Luiz Rafael Culik * contrib/mysql/tmysql.prg + CreateDatabase() method in TMYSqlServer on CreateTable() method, removed type tinyint for numeric, since this type if an logical value * contrib/mysql/mysql.c + Implementation of filelength() function when __GNUC__ is defined 2002-05-24 20:30 UTC-0400 David G. Holm * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * contrib/libnf/dispc.c * contrib/libnf/idle.c ! Fixed some problems that caused C++ compiles to fail. 2002-05-24 16:15 UTC-0300 Walter Negro * source/rtl/tgetlist.prg ! Corrected minor bug in using Len() on oGet:Buffer, where it might be NIL. By Ron Pinkas in xHarbour. * source/rtl/achoice.prg * More compliant with Cli**er. ! Fix minor bug when press CTRL_END and the quantity of items is smaller to the long of the window. This bug exist in previous versions of achoice(). Reported by Carlos Vargas. * contrib/libct/datetime.prg ! Fix, change NTOS() for STR() in EOQ() function. 2002-05-24 13:20 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix @R pictures with "-" or "(" characters Reported by somebody in sourceforge 2002-05-24 01:50 UTC-0300 Walter Negro * source/rtl/console.c ! Fix print in the same line when the new position is previus to the current one. * source/rtl/achoice.prg * More compliant with Cli**er. * Support for use acItems directly without internal copy. This permit modify acItems and reflect this changes. * Support for use xSelect directly, if its an array, without internal copy. This permit modify xSelect and reflect this changes. * No call to xUserFunc again when xUserFunc its call with nMode = AC_EXCEPT, and xUserFunc return AC_CONT * Always redraw the page when return from xUserFunc. * Support for return AC_REDRAW. 2002-05-23 12:46 UTC-0800 Ron Pinkas * source/compiler/harbour.slx ! Fixed SELF[...] // Self as Array in IF_BELONG_LEFT() ( borrowed from from xHarbour ) * source/compiler/harbour.sly ! Corrected typo in GetVar - included item belonging to GetVarArray ( borrowed from from xHarbour ) ! Fixed logic of GetA ( borrowed from from xHarbour ) 2002-05-23 14:59 UTC-0300 Horacio Roldan * contrib/mysql/tmysql.prg ! Change in CreateTable's mapping of the xBase N(dig,0) field type into mySql's tinyint, smallint, mediumint, int, bigint and real (if the number is too big to be an integer) 2002-05-23 14:53 UTC-0300 Horacio Roldan * source/vm/estack.c ! All stack hb_stackxxx API functions are now included, no matter the build options (HB_STACK_MACROS) 2002-05-22 18:26 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix, it was always written in the position 1 the first number of a numeric field although the cursor was moved to write in another position. 2002-05-22 17:40 UTC+0200 Martin Vogel * contrib/libct/datetime.prg ! corrections supplied by Marek Horodyski 2002-05-21 11:05 UTC+0100 Tomaz Zupan * doc/gmake.txt * Documented use of compiler cache with HB_CCACHE. 2002-05-21 01:20 UTC-0500 Paul Tucker * source/common/hbffind.c * substitute constant for FILE_ATTRIBUTE_NOT_CONTENT_INDEXED * since it is named differently or non-existant in earlier * windows include files. (Borland specifically, but even from MS) 2002-05-20 22:33 UTC+0100 J.lefebvre (Mafact) * contrib/htmllib * makefile.vc (Forget -p as Harbour param, creating ppo files when not needed) * source/compiler/hbusage.c * void hb_compPrintCredits( void ) Major bug fixed where my name was missing from the list ;-)))) 2002-05-20 16:20 UTC+0100 J.lefebvre (Mafact) * contrib/htmllib + make_b32.bat (not tested !!!!) + make_vc.bat (ok) + makefile.vc 2002-05-20 14:55 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! Bug fixed in adsSysName() for that case when file isn't opened yet in workarea 2002-05-18 10:20 UTC-0300 Luiz Rafael Culik * makefile.bc makefile.vc utils/hbmake/Makefile * Added hbmlang.c to dependencie list * utils/hbmake/hbmake.prg - Removed GETLANG() function and moved to an new file + utils/hbmake/hbmlang.c * GETLANG.c is on this file now 2002-05-18 14:55 UTC+0100 J.lefebvre (Mafact) * utils/hbmake/hbmake.prg added missing #include "windows.h" at the end (inline code) 2002-05-16 07:50 UTC-0300 Luiz Rafael Culik * utils/hbmake/hbmake.prg % Optimized The Code ! New text Formating + Support for Roberto's Minigui + Internationalization Started 2002-05-15 23:43 UTC-0800 Brian Hays * contrib/rdd_ads/ads1.c * Fixed adsSeek for non-ADS filter conditions. If a filter is set that is not valid for ADS, we need to skip off of any invalid records (IOW, filter at the Harbour level if ADS can't because the filter has UDFs or PUBLICVAR references). 2002-05-15 22:25 UTC-0300 Luiz Rafael Culik * contrib/mysql/mysql.c ! Fixed an bug on SQLFETCHR() when the select command is used with an empty table 2002-05-15 19:26 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! fixed a bug in adsSetScope() for date scopes, changes was posted by Carlos Mora. * contrib/rdd_ads/adsmgmt.c ! UINT, which is not defined in gcc system, is changed to unsigned int, fixed one warning 2002-05-15 12:00 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! fixed a bug in adsSeek() for date indexes, changes was posted by Carlos Mora. 2002-05-14 16:22 UTC-0400 David G. Holm * source/rdd/dbfntx/dbfntx1.c ! Changed usage of stricmp to hb_stricmp, because stricmp is not an ANSI standard function. 2002-05-14 16:10 UTC+0100 Tomaz Zupan * contrib/mysql/makefile renamed to Makefile. Needed to build library on Linux. 2002-05-13 13:10 UTC-0300 Walter Negro * source/rtl/menuto.prg ! Fix, initial value was not used. Reported by Horacio Roldan. 2002-05-13 00:55 UTC-0300 Horacio Roldan * source\rdd\dbfcdx\dbfcdx1.c ! minor changes ! fixed preventing reopening of same cdx. 2002-05-08 12:50 UTC+0300 Alexander Kresin * source/pp/pptable.c * Inserted "ifdef HB_EXTENSION" for clause 'MEMORY' in INDEX command * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * "ifdef HB_EXTENSION" is used for memory indexes * some cleanup, tags list is used now instead of index list * contrib/rdd_ads/ads1.c * calls of strcasecmp() replaced by hb_stricmp(), functions strcasecmp() and strncasecmp() are removed, printf() removed from adsCreate() 2002-05-08 10:20 UTC+0100 Tomaz Zupan + contrib/odbc/browodbc.prg * contrib/odbc/Makefile + Added browseodbc() function for browsing ODBC data. 2002-05-08 07:15 UTC+0100 "J. lefebvre (mafact)" * source/rdd/dbf1.c * Msvc compiler need tmp to be unsigned char * at line 1605/1607 2002-05-07 22:25 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c ! fixed problem on Seeking Dates with RDDADS 2002-05-07 08:00 UTC-0300 Luiz Rafael Culik * source/rtl/tbrowse.prg ! Bug fixed reported by Lorenzo Fiorini. 2002-05-07 14:19 UTC+0300 Alexander Kresin * source/rdd/dbf1.c * Bug fixed in dbfCreate(), related to creating memo file 2002-05-07 11:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * OrdKeyAdd(), OrdKeyDel() support for dbfntx added. Now dbfntx supports custom indexes. 2002-05-06 21:40 UTC+0100 Tomaz Zupan -source/vm/mainlgtk.c +contrib/hgf/gtk/mainlgtk.c *contrib/hgf/gtk/Makefile Moved mainlgtk.c from source/vm to contrib/hgf/gtk and updated Makefile to include it in library. 2002-05-06 13:50 UTC-0400 David G. Holm ! source/compiler/harbour.c ! Commented out the parameter checking entries for QOUT and QQOUT, because they have no limit on the number or type of parameters. 2002-05-06 15:48 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxOrderListRebuild() 2002-05-06 13:30 UTC+0300 Alexander Kresin * source/pp/pptable.c * Added new clause 'MEMORY' to INDEX command * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * New feature implemented for dbfntx - index creating in memory If you specify MEMORY clause in INDEX ON ... command ( additional, 17-th parameter is added to ordcondset() ), index will not be written to disk, but will be kept in memory, what significantly increases the performance. This may be especially helpful in case of creating temporary indexes for reporting, etc. 2002-05-05 21:05 UTC+0100 Martin Vogel * contrib/libct/range.c + contrib/libct/tests/rangerem.prg + contrib/libct/tests/rangerepl.prg * contrib/libct/tests/Makefile * fix of a bug in RANGEREPL() and RANGEREM(): return string too long, reported by Guenther Steiner 2002-05-04 17:47 UTC-0300 Horacio Roldan * source\rdd\dbcmd.c ! fixed return value of dbGoTo() + added support of 4th value of dbOrderInfo * include\hbrddcdx.h * source\rdd\dbfcdx\dbfcdx2.h * source\rdd\dbfcdx\dbfcdx1.c + fixed support for dbSeek(last) + added scope support: ordScope, dbOrderInfo(..scope..), ordKeyCount, ordKeyNo. ! fixed found() flag when last record in order must be filtered (eg: deleted), bug reported by Lorenzo Fiorini. + added dummy handler for DBOI_CUSTOM. 2002-05-04 18:40 UTC+0100 Martin Vogel + contrib/libct/color.prg + COLORTON() + NTOCOLOR() by Walter Negro STANDARD(),ENHANCED(),UNSELECTED() by Viktor Szakats pasted from CTMISC.PRG and removed there + contrib/libct/screen1.c + SCREENATTR() by Walter Negro + contrib/libct/screen2.prg SCREENMIX() by Viktor Szakats pasted from CTMISC.PRG and removed there + contrib/libct/alt/ctcolton.c original implementation of COLORTON() in C by Viktor Szakats + contrib/libct/strdiff.c + contrib/libct/tests/strdiff.prg + STRDIFF() function and small test program * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * contrib/libct/readme.txt * contrib/libct/tests/Makefile * changes according to the changes above 2002-05-04 09:08 UTC+0100 Tomaz Zupan * contrib/odbc/todbc.prg ! fixed infinite loop 2002-05-01 11:12 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed gpf reported by Lorenzo Fiorini + added helper function hb_cdxGoEof + added default tag name when not specified * source/rdd/workarea.c ! fixed bof flag in go bottom with no valid records 2002-04-30 20:49 UTC-0300 Horacio Roldan * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed sharing flags in index creation ! fixed tag order after index creation + added function hb_cdxReorderTagList + added dummies handlers for DBOI_KEYADD, DBOI_KEYDELETE. 2002-04-30 14:02 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c * Bug fixed, which caused GPF's while opening of additive index 2002-04-30 12:46 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Some changes, needed for custom indexes support 2002-04-30 01:11 UTC-0300 Walter Negro * source/rtl/memoedit.prg ! Add support for Set Key defined Keys. From xHarbour by Luiz Culik ! Fix minor bug related with this. * source/rtl/teditor.prg ! Add support for Set Key defined Keys on Edit() and BrowseText() method From xHarbour by Luiz Culik ! Fix minor bug related with this * source/rtl/tget.prg ! Fix minor bug in PutMask( ) 2002-04-29 13:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Bug fixed in tree balancing 2002-04-28 08:50 UTC-0300 Luiz Rafael Culik * source/rtl/listbox.prg * Fixed some warnings * source/rtl/dummy.prg *Removed reference to ordkeydel() and ordkeyadd() 2002-04-27 23:50 UTC-0300 Luiz Rafael Culik * source/rtl/teditor.prg * Added Support lookup on SetKey()'s Defined functions on Edit() and BrowseText() then this are not Handle by TMemoEditor:Edit() method 2002-04-27 19:15 UTC-0300 Horacio Roldan * include/hbapirdd.h * source/rdd/dbcmd.c + added functions ordKeyAdd and ordKeyDel (need support from each RDD) ! fixed compatibility issue: ordListAdd(nil) is valid in Clipper 2002-04-27 17:40 UTC-0300 Luiz Rafael Culik * source/rtl/dbedit.prg *Fix an bug on dbedit function that was Generating an Recursive call to DBEDIT() functions if the acColumns parameter was defined like below aCol[1]:={"Name"+" "+"AddRess"+" "+"phone"} 2002-04-27 00:10 UTC-0300 Luiz Rafael Culik * source/rtl/Listbox.prg source/rtl/tbrowse.prg * Code CleanUP 2002-04-26 21:45 UTC+0100 Tomaz Zupan * bin/bld.sh ! Fix: Script didn't add screen library needed by GT lib. 2002-04-26 21:56 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c ! Little fix for VarChar data type 2002-04-26 14:08 UTC-0300 Walter Negro * source/rtl/getlist.prg ! Fix bug when release last getlist Reported by Alexander Kresin 2002-04-25 08:10 UTC-0300 Luiz Rafael Culik * source/rtl/tbrowse.prg * Method SetColumnWidth() now return the corrent Value(Clipper return the Greater value of either Heading;Data; or footer 2002-04-26 15:15 UTC+0300 Alexander Kresin * source/rdd/dbstrux.prg * contrib/rdd_ads/ads1.c * Implemented using of extended data types in RDD ADS 2002-04-25 10:55 UTC-0300 Walter Negro * source/rtl/getsys.prg ! Fix, lost the reference to the current oGetList with recursive execution of ReadModal. 2002-04-24 09:04 UTC-0300 Horacio Roldan * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h + multiple CDXs support for: hb_cdxOrderListAdd, hb_cdxOrderListFocus, hb_cdxGoCold, hb_cdxGoHot, hb_cdxGetTagByNumber, hb_cdxGetActiveTag, DBOI_ORDERCOUNT, DBOI_UNIQUE, ordName, ordBagName. ! fixed a bug in: gotop, gobbotom, skip + begin of hb_cdxZap + added support for: DBOI_ISCOND, DBOI_ISDESC, DBOI_FILEHANDLE + added index locking routines ! fixed some structures definitions for gcc/vc/... ! fixed autopen bug on Linux ! fixed recno() while indexing 2002-04-24 00:42 UTC-0300 Horacio Roldan * source/rdd/workarea.c ! fixed bug with set relation to, found by Walter Negro. 2002-04-23 20:40 UTC-0300 Walter Negro * source/rtl/devoutp.prg ! More compliant with Cli**er for certain types of data. Now only accept character, memo, numeric, date and logical types of data. Any other types of data is ignored. 2002-04-22 14:14 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbcmd.c * Implemented clauses USECURRENT and ADDITIVE of INDEX ON command for DBFNTX 2002-04-19 19:32 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Minor bug fixed in indexing empty files 2002-04-19 11:33 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbf1.c * Some fixes in locking to provide Clipper compatibility 2002-04-18 22:56 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Some improvements in keys per page calculating while indexing 2002-04-18 13:30 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Algorithm of key deleting is rewritten to keep the index tree balanced. 2002-04-18 03:55 UTC-0300 Walter Negro * contrib/libnf/ftattr.c + Initial version of FT_SAVEATT() & FT_RESTATT(). For save and restore the attribute bytes of a specified screen region. * contrib/libnf/getver.c * Diferent compilation for HB_OS_DOS_32 in _FT_TEMPFILE * contrib/libnf/tempfile.prg + New code for plataform diferent of HB_OS_DOS and HB_OS_DOS_32. The new code not use call to C function. + Add new parameter. FT_TEMPFIL( cPath, [lHidden], [@nHandle] ) if [@]nHandle is used, the function not close the temp file and return the handle by nHandle. This parameter should be passed by reference. If this parameter is not used or not passed by reference, the temp file is closed. * contrib/libnf/dispc.c + ported to Harbour of FT_DISPFILE(). See also FT_DFSETUP() and FT_DFCLOSE(). This function permit browse for a file without loading it in memory. * contrib/libnf/makefile * contrib/libnf/nanfor.bc * contrib/libnf/makefile.vc + Add reference for dispc.c, ftattr.c and dfile.prg * include/hbsetup.h + defines for compiler __DJGPP__ is HB_OS_DOS_32. 2002-04-17 13:15 UTC-0300 Luiz Rafael Culik * contrib/htmllib/ohtm.prg contrib/htmllib/oedit.prg contrib/htmllib/forms.ch * Added support for accessbility on Forms 2002-04-17 14:57 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix bug in DeleteAll method. Change DTOC() for CTOD(). * Bug fixed, reported by Lorenzo Fiorini. 2002-04-17 14:28 UTC-0300 Walter Negro * source/rtl/teditor.prg + Added of calls to IdleHook and KeyboardHook for handling of special keys when the mode edition is not used. 2002-04-15 05:00 UTC-0300 Walter Negro * source/rtl/valtype.c ! Change name of function form IS_VARBYREF() to HB_ISVARREF(). 2002-04-15 04:55 UTC-0300 Walter Negro * contrib/libnf/caplock.c * contrib/libnf/numlock.c * Add {} to avoid ambiguous if-else. * contrib/libnf/descend.c * contrib/libnf/getenvrn.c * contrib/libnf/proper.c * contrib/libnf/prtscr.c * contrib/libnf/getvid.c * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libnf/kspeed.c * Fix values in switch-case. * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libnf/mouse.c * _MGET_PAGE() now return value when HB_OS_DOS. * Add some values for default to eliminate warnings when compiling with gcc -O2. 2002-04-15 04:32 UTC-0300 Walter Negro * contrib/libct/makefile.bc * Correction in dependence of exponent.c 2002-04-14 05:15 UTC-0300 Walter Negro * contrib/libct/ctmisc.prg + Add function: CSETCENT() // Return state of SET CENTURY + Add function: UNSELECTED() // Activate UNSELECTED color * contrib/libct/bit1.c * contrib/libct/bit3.c * contrib/libct/files.c * contrib/libct/pos1.c * contrib/libct/posdiff.c * contrib/libct/strswap.c * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libct/ctflist.txt * state of CSETCENT() and UNSELECTED(): started. 2002-04-14 04:50 UTC-0300 Walter Negro * include/hbapiitm.h + Add definition for hb_itemUnRefOnce(). * source/vm/itemapi.c * Subdivision of the function hb_itemUnRef() in hb_itemUnRef() and hb_itemUnRefOnce(). * source/rtl/valtype.c + Add function: IS_VARBYREF(). This function allows in PRGs to know if a parameter has been passed by value or by reference. 2002-04-10 15:48 UTC+0100 Tomaz Zupan * config/linux/gcc.cf + Added support for compiler cache in linux. If you want to use compiler cache, set HB_CCACHE environment variable. (export HB_CCACHE=ccache) 2002-04-10 13:22 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Some fix for shared mode ( hb_ntxHeaderRead() function added ) 2002-04-08 19:10 UTC+0100 Martin Vogel + contrib/libct/exponent.c + EXPONENT() and MANTISSA() functions by Walter Negro + contrib/libct/tests/expomant.prg + test program for EXPONENT() and MANTISSA() 2002-04-08 21:00 UTC+0300 Alexander Kresin * include/hbrddntx.h * Cleanup * source/rdd/dbfntx/dbfntx1.c * Algorithm of updating keys is fully rewritten, now the index tree remains balanced after adding new keys. 2002-04-08 16:15 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by Lorenzo Fiorini 2002-04-05 13:56 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Minor bug fixed, some cleanup 2002-04-04 11:17 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Two bugs fixed 2002-04-03 21:40 UTC-0500 David G. Holm * config/w32/global.cf + If no COMSPEC and running on Windows NT or 2000, use CMD.EXE. 2002-04-03 21:40 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Algorithm of indexing improved - it is faster now ( in some cases 5%, in some others - 10 times ). 2002-04-03 10:30 UTC+0300 Alexander Kresin * contrib/rdd_ads/ace.h * New ace.h from Extended Systems, Inc. 2002-04-02 21:12 UTC+0200 JF Lefebvre (Mafact) * include/hbclass.ch + Refined Class(y) compatibility as needed by Horacio. * source/rdd/dbfntx/dbfntx1.c * Added two type cast needed by VC++ 2002-04-02 21:46 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! bug fixed in COPY TO db, reported by Mike Romberg 2002-04-02 20:42 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * OrdKeyNo() implemented for DBFNTX, both OrdKeyNo() and OrdKeyCount() now respects scopes. * Some fixes and cleanup 2002-04-02 18:57 UTC+0300 Alexander Kresin * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c * contrib/rdd_ads/testmg.prg * some changes for compatibility with Linux version 2002-04-02 4:44 UTC-0300 Walter Negro * source/rtl/menuto.prg ! Fix recursive executions and exit without pressing key. Now use local pointer and save static pointer. ! Fix call to HitTest 2002-03-31 14:00 UTC-0300 Luiz Rafael Culik * source/rtl/tbrowse.prg * Fixed an problem on SetColumnwidth() method that was Tbrowse not be properly show on screen 2002-03-29 14:45 UTC-0500 David G. Holm * contrib/libnf/calendar.prg * contrib/libnf/chdir.c * contrib/libnf/getver.c * contrib/libnf/getvid.c * contrib/libnf/kspeed.c * contrib/libnf/mkdir.c * contrib/libnf/mouse.c * contrib/libnf/rmdir.c ! Only include dos.h if building for a DOS platform. * contrib/libnf/diskfunc.prg * contrib/libnf/dispmsg.prg * contrib/libnf/dosver.prg * contrib/libnf/floptst.prg * contrib/libnf/isshare.prg * contrib/libnf/menuto.prg * contrib/libnf/mouse2.prg * contrib/libnf/nwlstat.prg * contrib/libnf/nwuid.prg * contrib/libnf/page.prg * contrib/libnf/popadder.prg * contrib/libnf/pvid.prg * contrib/libnf/scancode.prg * contrib/libnf/setdate.prg * contrib/libnf/settime.prg * contrib/libnf/sysmem.prg * contrib/libnf/tempfile.prg * contrib/libnf/vidcur.prg * contrib/libnf/vidmode.prg ! All include file names must be in lower case for Un*x type systems. 2002-03-29 13:15 UTC-0500 David G. Holm * libnf/descend.c * libnf/getenvrn.c * libnf/ontick.c * libnf/peek.c * libnf/poke.c ! All include file names must be lower case for Un*x type systems. 2002-03-29 13:15 UTC-0500 David G. Holm * contrib/Makefile + Added libnf and samples to all build paths. + contrib/libnf/Makefile + Added GNU make Makefile for nanforum library, but had to list ontick.c, peek.c, and poke.c under BAD_C_SOURCES, because the cpmi.h include file is missing. 2002-03-29 15:10 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Minor fix 2002-03-29 14:17 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * OrdKeyCount() implemented for DBFNTX 2002-03-28 15:57 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Lot of code is changed to avoid using of PHB_ITEM in internal functions, some other optimizations. DBFNTX became much faster now ( still not so fast as Clipper ). 2002-03-27 02:26 UTC-0300 Horacio Roldan * include/hbset.h * source/rtl/set.c ! changed definition of HB_SET_AUTORDER from BOOL into int. 2002-03-25 21:53 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix minor bug with initial spaces in PICTURE 2002-03-25 15:33 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix bug in picture "999,999.99" and "999.999,99". ! Fix bug in picture with initial spaces. 2002-03-25 08:45 UTC+0200 Chen Kedem * doc/en/lang.txt ! Change ZH_GB --> ZHGB, ZH_BIG5 --> ZHB5 * source/lang/msgzhb5.c * source/lang/msgzhgb.c ! Added missing commas * Some text translated from English to Chinese All changes thanks to dongming 2002-03-24 16:08 UTC-0300 Walter Negro * include\hbtrace.h + Added #defines HB_TR_LEVEL_xxx * This allows to skip the limitation of DOS and WINDOWS to include the symbol '='inside an environment variable. Ex: SET CFLAGS=-DHB_TR_LEVEL_DEBUG it's equal to SET CFLAGS=-DHB_TR_LEVEL_DEBUG=5 // Not permited in DOS &WIN 2002-03-22 15:02 UTC-0300 Walter Negro * source/rtl/tget.prg ! Fix ::unTransform() for numeric Get with complex Picture. 2002-03-21 20:47 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Minor fix. 2002-03-21 19:22 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Added virtual method ntxSysName() - now Rddname() for DBFNTX works properly. * contrib/rdd_ads/ads1.c * adsSysName() changed - it returns now "ADSNTX", "ADSCDX" or "ADSADT". 2002-03-21 15:58 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Some cleanup * source/vm/runner.c ! Bug fixed, related to execution of separate functions with __hrbDoFu() 2002-03-20 18:57 UTC-0300 Walter Negro * source/rtl/checkbox.prg * Revert static function to NO static 2002-03-19 12:45 UTC-0500 David G. Holm * source/rtl/set.c + Implemented Dave Pearson's idea for having SET PRINTER default to "|lpr" when HB_OS_UNIX is defined. 2002-03-19 12:30 UTC-0500 David G. Holm * source/rtl/set.c ! Fixed bugs in setting the default SET PRINTER TO device up to be "PRN". 2002-03-19 11:30 UTC-0500 David G. Holm * source/rtl/set.c ! The default SET PRINTER TO device is supposed to be "PRN". 2002-03-20 14:38 UTC-0300 Walter Negro * source/rtl/tget.prg * Fix bug in PICTURE '@S' * source/rtl/tgetlist.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * Fix some bugs and formatting indentation from last changelog 2002-03-20 14:38 UTC-0300 Walter Negro * source/rtl/tget.prg * Fix bug in PICTURE '@S' * source/rtl/tgetlist.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * Fix some bugs and formatting indentation from last changelog 2002-03-19 20:59 UTC+0100 Tomaz Zupan * contrib/odbc/odbc.c * Fix for compile error under Win32 2002-03-19 13:07 UTC+0100 Antonio Linares * source/vm/memvars.c * __MVSAVE() saves all variables (publics and privates) Of course if a public variable is overriden by a private one, the private value it is saved. I have not compared the saved files with Cl*pper ones. Once this is checked, then we may remove the SAVE TO entry from the TODO file. Notice that the code borrowed from [x]Harbour for this function, has been removed, as the function has been redesigned. 2002-03-19 11:36 UTC+0000 Dave Pearson * source/rtl/tbrowse.prg * Commented out calls to TRACELOG(). * source/rtl/tgetlist.prg * Commented out calls to TRACELOG(). 2002-03-19 09:30 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Some type casts to prevent errors under MSVC and gcc * source/rdd/dbcmd.c * Reverted changes of handling second parameter in Ordscope() 2002-03-18 19:30 UTC-0300 Luiz Rafael Culik * include/getexit.ch include/buttons.ch * Minor fixes 2002-03-18 12:56 UTC-0300 Luiz Rafael Culik * source/rtl/menuto.prg * Added mouse capabilities 2002-03-17 20:25 UTC-0300 Luiz Rafael Culik * source/rtl/listbox.org source/rtl/radiobtn.prg source/rtl/radiogpr.prg source/rtl/checkbox.prg source/rtl/tget.prg source/rtl/pushbtn.prg source/rtl/tbrowse.prg source/rtl/getsys.prg source/rtl/tgetsys.prg * Added the missing Clip53 Methods and Functions % minor fix to Clip53 classes 2002-03-18 18:52 UTC+0100 Antonio Linares * source/vm/extend.c ! Now all hb_ret...() and hb_pcount() functions are always exported 2002-03-18 14:35 UTC+0100 Antonio Linares * source/vm/macro.c ! Fixed bug in Macro Compiler where Field Assignment is compiled mistakenly as a Memvar Assignment. /* Bug reported by Gerhard ? on Harbour's List. */ change borrowed from [x]Harbour 2002-03-18 13:55 UTC+0100 Antonio Linares * source/vm/hvm.c * bug fix on codeblock execution memvars management * source/vm/memvars.c * bug fix in __MVSAVE() both changes borrowed from [x]Harbour. 2002-03-18 15:12 UTC+0300 Alexander Kresin * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c + Third parameter in dbseek() - bFindLast implemented. It's new Harbour feature - in Clipper 5.3 it was absent for dbfntx. + scopes implemented - you may now use ORDSCOPE() in DBFNTX. + new items added to ntxOrderInfo: DBOI_ISCOND, DBOI_ISDESC, DBOI_UNIQUE, DBOI_SCOPETOP, DBOI_SCOPEBOTTOM, DBOI_SCOPETOPCLEAR, DBOI_SCOPEBOTTOMCLEAR. * some cleanup. * source/rtl/set.c * Changed default value of SET AUTOPEN TO TRUE. * source/pp/pptable.c + Added command SET AUTOPEN [ ON,OFF ] * source/rtl/str.c * Added checking of parameters to be Clipper compatible Added possibility to omit second parameter, while third exists: Str( number,,dec ) 2002-03-18 01:48 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c + added compatibility with Clipper 5.3 (FlexFile) memo headers bug reported by Walter Negro. 2002-03-16 19:31 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug with keys updating 2002-03-15 08:50 UTC-0800 Ron Pinkas * contrib\dot\pp.prg * contrib\dot\pp_harb.ch * contrib\dot\prgscrpt.prg > Synched with latest PP from xHarbour. 2002-03-15 10:42 UTC+0300 Alexander Kresin * source/pp/pplib.c * removed ( commented ) setjmp/longjmp logic, because it caused GPF when "DEFAULT" was pressed after getting an error. It seems to me that __PreProcess() works right without setjmp/longjmp 2002-03-14 14:00 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! bug fixed in seeking, reported by Mikhail Malyh 2002-03-14 11:12 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c ! bug fixed, reported by Mikhail Malyh. It was related to COPY FIELDS ... TO command 2002-03-13 14:07 UTC-0800 Ron Pinkas * source/compiler/harbour.slx + Enabled support for TEXT ... ENDTEXT utilizing new hb_ppInsideTextBlock * source/compiler/harbour.sly ! Correted minor bug in GetA 2002-03-13 18:53 UTC+0300 Alexander Kresin * source/pp/ppcomp.c * bug fixed, related to 'ENDTEXT' position 2002-03-13 13:25 UTC+0300 Alexander Kresin * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pptable.c * TEXT/ENDTEXT implemented * todo removed implemented items 2002-03-12 19:50 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * bug fixed, related to seeking in filtered database 2002-03-12 11:40 UTC+0300 Alexander Kresin * source/rtl/dbsdf.prg * bug fixed, reported by Mikhail Malyh 2002-03-10 15:25 UTC-0300 Luiz Rafael Culik * source/pp/pptable.c * Fixed command for SET PRINTER TO * source/rtl/set.c * Fixed The SET_PRINTFILE 2002-03-08 18:35 UTC-0500 Phil Barnett * utils/hbmake/hbmake.prg * Minor fix for Library names on linux section 2002-03-07 14:50 UTC+0300 Alexander Kresin * source/rtl/dbsdf.prg * bug fixed, reported by Mikhail Malyh * doc/en/compiler.txt * some formatting 2002-03-07 11:00 UTC+0100 Antonio Linares * source/rtl/persist.prg * Speed improvement on loading saved objects Memoline() use has been changed into Ingacio's ExtractLine() much faster function. 2002-03-07 12:56 UTC+0300 Alexander Kresin * source/vm/runner.c * Calls of hb_vmSend() are changed to hb_vmDo ( Ron's proposal ) * make_b32.bat * Added line 'SET BISON_SIMPLE=source\compiler\harbour.simple' * doc/en/compiler.txt * added information about /g... compiler switches 2002-03-05 21:25 UTC+0100 Antonio Linares * source/debug/dbgtarr.prg * some fixes on arrays debugging * source/rtl/persist.prg * some fixes on nested arrays recovering 2002-03-05 11:24 UTC+0300 Alexander Kresin * source/rtl/dbsdf.prg * Uncommented actual code ( forget to do it last time ), some fixes 2002-03-04 11:48 UTC-0300 Horacio Roldan * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug seek and set deleted on, reported by Lorenzo Fiorini also fix bug with set filter ! fixed bug with ordkeyno() and ordkeycount(), reported by Manuel Mercado Gómez 2002-03-04 22:33 UTC+0100 Antonio Linares * source/rtl/set.c * some minor fixes on hb_setFreeSetPath() reported by Mike Romberg from sourceforge bugs report 2002-03-04 12:35 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Mike Romberg 2002-03-03 17:17 UTC-0800 Brian Hays * source/rtl/persist.prg * added 254 as linelength to MLCount call in LoadFromText so it matches later call to MemoLine * source\common\hbffind.c * fixed the "Directory() can't see files with cleared archive bits" problem. 2002-03-03 16:20 GMT-3 Luiz Rafael Culik * include/hbapifs.h + prototype for hb_fsPOpen() api * source/rtl/set.c source/rtl/filesys.c * Added Code to Support SET PRINTER TO PIPE Code provided by Przemyslaw CzerPak druzus@polbox.com * utils/hbmake/hbmake.prg * Minor fix for Library create response file for ar archiver * utils/hbmake/hbmutils.prg * minor fix for linux 2002-03-03 19:35 UTC+0300 Alexander Kresin * source/rtl/dbsdf.prg * Support of APPEND FROM ... SDF ... added 2002-03-03 12:26 UTC+0300 Alexander Kresin * source/pp/ppcore.c * bug fixed, reported by Walter Negro 2002-03-02 20:00 UTC-0300 Walter Negro * source\rtl\tget.prg * METHOD _Delete() * modification to be more Clip*r compliant and behaviour. * changes in the logic of the function. before, the function only erased the character under the cursor. now it drags the other characters. dragging is limited by the non editable characters. * METHOD Insert() * modification to be more Clip*r compliant and behaviour. * changes in the logic of the function. now insert a character and displaces to the right the rest of the characters until the first non editable character. * source\rtl\tgetlist.prg * METHOD GetPostValidate() * modification to be more Clip*r compliant and behaviour. - eliminate call to SetFocus() when BadDate = .T., this fix makes that the buffer is not erased if the date is incorrect. 2002-03-02 13:40 UTC-0300 Walter Negro * source\vm\classes.c * __objClone() * comment this line pDstObject->item.asArray.value->puiClsTree = NULL; because it's redundant with arrayClone(). see Changelog below. 2002-03-02 13:25 UTC-0300 Walter Negro * source\vm\arrays.c * Fixed hb_arrayClone() + Add line 777, was token from __objClone() and xHarbour. Thanks, Ron. 2002-03-01 15:00 UTC-0500 Jorge A. Giraldo * contrib\delphi\hbdll\bld_sdll.bat * -b option ommited, people expect a DLL without DOS debugger docs with some indications will explain this * some absolute paths changed to relative paths + contrib\delphi\hbdll\main.dfm + Delphi's main form, as a binary file, because it's a D3 form it will be compatible with newer Delphis ; Changes thanks to Alexander's feedback 2002-02-26 17:20 UTC-0500 David G. Holm * .cvsignore + Added freebsd and freebsd/* to the CVS ignore list. 2002-02-27 16:30 UTC-0500 David G. Holm * contrib/Makefile - Removed apollo from the w32 build path, because it now requires the use of third-party (Apollo) include files. 2002-02-27 01:27 UTC+0100 Maurilio Longo * harbour/source/rtl/tbrowse.prg ! fixed columns' width calc (quick and not very much tested) 2002-02-26 21:50 UTC+0100 Tomaz Zupan * include/hbapi.h * Added newline at the end to clear gcc warning 2002-02-26 14:15 UTC-0500 David G. Holm * source/common/hbstr.c ! Fix bug in hb_strAt when the source string matches more than one character (but less than all) in the search string. As reported by Sergej Linnik, "22345" $ "012223456789" was failing, but it now succeeds. Note: This also affects compiler optimizations, so be sure to rebuild the compiler before testing. 2002-02-26 15:40 UTC+0300 Alexander Kresin * source/pp/ppcore.c * bug fixed, reported by Lorenzo Fiorini 2002-02-26 11:53 UTC+0300 Alexander Kresin * source/pp/ppcore.c * bug fixed, reported by Walter Negro 2002-02-24 09:36 UTC+0100 Antonio Linares * source/debug/debugger.prg * Fixed bug when browsing vars reported by Jorge A. Giraldo 2002-02-24 09:34 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add two lines about the Delphi directory 2002-02-23 15:48 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! bug fixed in unique indexes creating, reported by Mikhail Malyh 2002-02-23 09:55 UTC+0100 Antonio Linares * source/debug/debugger.prg * Fixed bug when browsing vars reported by Jorge A. Giraldo 2002-02-21 18:10 UTC-0500 Jorge A. Giraldo * contrib\delphi\hbdll\start.bat * a small typo * contrib\delphi\hbdll\errorsys.prg * For a DLL there is not main procedure, there seems to be something to be fixed to avoid and invalid "+" operation when showing the called stack. A specific workaround is provided to fix the problem. * contrib\delphi\hbdll\EasyPath.dpr * Id included * contrib\delphi\hbdll\Main.pas * Id included + In case of an error, the QUIT from the DLL has been moved to Delphi. + Other small changes * contrib\delphi\hbdll\MyProg.prg * small changes 2002-02-21 06:00 UTC-0300 Walter Negro * source/rtl/tget.prg * METHOD ::ParsePict() - The change is because if ::Original it is not numeric, it would generate an error. - METHOD ::Undo() - Delete assignment to ::buffer because ::VarPut( ::Original, .t. ) makes this assignment. - METHOD ::VarPut() - Delete ::nDispLen := NIL line, because ::Picture() makes this assignment. - Revert changes of Ignacio Ortiz because the problem was with ::nDispLen and not with empty cPicture. - METHOD ::Block() - Delete ::nDispLen := NIL line, because ::Picture() makes this assignment. * METHOD ::Picture() - Add ::nDispLen := NIL line, reset the variable. Only ::ParsePict() can load a value that can differ of nMaxLen. ! METHOD ::KillFocus() - Change position of lines, hasfocus should be before the call to Putmask. This makes that in numeric fields, points or comas are not shown before the numbers. 2002-02-20 20:10 UTC-0500 David G. Holm * doc/howtocvs.txt ! I updated my "How I got SSH and CVS to work together" procedure based on information that was provided by "Jorge A. Giraldo" 2002-02-19 21:55 UTC-0300 Luiz Rafael Culik * utils/hbmake/hbmake.prg * Fixed remaining bug as reported by Chen 2002-02-19 17:45 UTC+0100 Ignacio Ortiz * source/rtl/Tget.prg * Fixed bug reported by Lorenzo Fiorini 2002-02-19 10:40 UTC+0100 Ignacio Ortiz * source/rtl/Tget.prg * source/rtl/Tgetlist.prg * Minor modifications proposed by Walter Negro * Fixed bug on numeric fields with picture clause 2002-02-19 10:22 UTC+0100 Antonio Linares * source/pp/ppcore.c * minor fix borrowed from [x]Harbour Many thanks to Ron It fixes this kind of code: #xcommand INIT[] ; =>; ::New( ) function Main() INIT["test"] return nil 2002-02-18 23:41 UTC-0300 Luiz Rafael Culik * utils/hbmake/hbmake.prg utils/hbmake/hbmtuils.prg * Fixed minor bugs reported bu Chen 2002-02-19 00:05 UTC+0100 Martin Vogel + contrib/libct/ftoc.c + FTOC() and CTOF() functions, implemented by Walter + contrib/libct/misc1.c + XTOC() function, implemented by Walter + contrib/libct/tab.c + contrib/libct/tests/tab.prg + TABPACK() and TABEXPAND() functions * contrib/libct/charonly.c * contrib/libct/charrepl.c * contrib/libct/remove.c * bug fixes, functions crashed when zero-length-strings were passed as parameters 2002-02-18 15:35 UTC-0500 David G. Holm * source\common\hbgete.c ! Type fix for IBM OS/2 C++ compiler (works with GCC also). 2002-02-18 14:01 UTC+0100 Maurilio Longo * source/rtl/tbrowse.prg ! fixed columns footing handling * source/rtl/tbcolumn.prg ! fixed columns footing handling 2002-02-18 10:42 UTC+0200 Chen Kedem * doc/en/string.txt + AT() : Add note about Harbour extension in the $COMPLIANCE$ section ! Minor samples corrections * Line formating * doc/en/dir.txt * doc/en/file.txt * doc/en/misc.txt * doc/en/rdddb.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/treport.txt * Mostly line formating 2002-02-17 20:30 UTC-0300 Walter Negro * source/vm/itemapi.c ! hb_itemStr() - Eliminated the limit of 9 decimals if not SET FIXED ON ! hb_itemStr() - Rounded starting from 17th less significant number. This is the behavior of Clipper. Ex: Before ? str( 1191.63, 20, 15 ) -> 1191.629999999999882 Now ? str( 1191.63, 20, 15 ) -> 1191.630000000000000 * source/rtl/val.c ! hb_strVal() - Change dValue from double to long double. This allows that the string-number conversions are same for program and for compilation. ? ( val("1191.63") == 1191.63 ) -> TRUE 2002-02-17 20:20 UTC+0100 Tomaz Zupan *include/hbpcode.h *Added newline at the end to clear gcc warning 2002-02-16 20:25 UTC-0500 Jorge A. Giraldo Harbour to Delphi integration + Added contrib\delphi dir + Added contrib\delphi\hbdll dir + Added contrib\delphi\hbdll\start.bat + Added contrib\delphi\hbdll\bld_sdll.bat + Added contrib\delphi\hbdll\myprog.prg + Added contrib\delphi\hbdll\macrcall.c + Added contrib\delphi\hbdll\errorsys.prg + Added contrib\delphi\hbdll\easypath.dpr + Added contrib\delphi\hbdll\main.pas 2002-02-14 20:50 UTC+0300 Alexander Kresin * source/vm/arrayshb.c ! Adel() fixed - second parameter = 1 by default 2002-02-11 12:15 UTC+0100 Ignacio Ortiz * source/rtl/Tget.prg * Minor modifications proposed by Walter Negro 2002-02-11 05:30 UTC+0100 Antonio Linares * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/makefile.bc * contrib/hgf/win32/makefile.vc * some minor fixes 2002-02-10 18:50 UTC+0300 Alexander Kresin * source/vm/runner.c * source/vm/dynlibhb.c ! Fixed problems with hb_strupr( ( hb_parc(1) ) by using hb_strdup() * source/rdd/workarea.c ! Fixed a bug in hb_waAddField() 2002-02-10 16:00 UTC+0100 Antonio Linares * include/hbapi.h * source/vm/debug.c * source/vm/hvm.c * source/vm/itemapi.c * struct hb_struString bPcode member renamed as bStatic Thanks to Ron for this name, which is more appropiate 2002-02-10 12:08 UTC+0100 Antonio Linares * source/rtl/dbedit.prg * Bug fixed reported by Bill Smith 2002-02-09 14:12 UTC-0800 Ron Pinkas * source/compiler/hbgenerr.c ! Fixed incorrect position of "4Suspicious operand type: \'unknown\' expected: \'%s\'". 2002-02-09 20:10 UTC+0300 Alexander Kresin * source/vm/runner.c * Few bugs fixed, related to errors handling 2002-02-09 16:04 UTC+0100 Maurilio Longo * source/rtl/dbedit.prg ! fixed acColumns handling 2002-02-09 11:24 UTC+0100 Antonio Linares * source/vm/runner.c * Some MSVC castings required added 2002-02-09 11:03 UTC+0100 Antonio Linares * source/vm/hvm.c ! hb_strUpper() call for pcode strings bug fixed 2002-02-08 22:45 UTC+0300 Alexander Kresin * source/vm/runner.c * Bug fixed, which caused GPF in case of using a call of undefined function * include/hbextern.ch * added definitions of new __hrb... functions for providing possibility to call them from .hrb . 2002-02-07 20:48 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Some cleanup. 2002-02-06 22:42 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by jhncon 2002-02-06 08:34 UTC+0100 Maurilio Longo * source/rtl/tbrowse.prg ! fixed ::aRedraw handling inside ::Stabilize() 2002-02-05 21:22 UTC+0100 Tomaz Zupan * contrib/odbc/Makefile * contrib/odbc/odbc.c * contrib/odbc/todbc.prg * Aded support for linux to odbc library 2002-02-05 15:13 UTC+0100 Maurilio Longo * source/rtl/tbrowse.prg ! fixed columns width handling when there are frozen columns + columns' width get evaluated just before first TBrowse ::Stabilize() + little changes to optimize speed * source/rtl/tbcolumn.prg ! more clipper compatible (cannot set column width to nil) 2002-02-05 13:39 UTC+0000 Dave Pearson * include/hbapi.h * include/hbapiitm.h * Added final EOLs to file. GCC warns if they're not there. 2002-02-05 02:04 UTC-0300 Horacio Roldan * source/rdd/dbf1.c ! reverted changes to hb_dbfGoTo * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug with bof flag 2002-02-04 22:20 UTC-0300 Luiz Rafael Culik * source/vm/hvm.c * source/vm/classes.c ! fixed bug where object overloading was using modulus in place of power for "**" expression * source/vm/runner.c ! added mscv needed type casting to lines 515 & 516 2002-02-01 17:14 UTC-0300 Horacio Roldan * source/rdd/dbf1.c ! fixed bof bug in hb_dbfGoTo and hb_dbfSkipRaw 2002-02-04 22:20 UTC+0300 Alexander Kresin * source/rdd/dbcmd.c * Bug fixed, reported by Lorenzo Fiorini 2002-02-04 20:15 UTC+0300 Alexander Kresin * source/rdd/dbf1.c * Fix for hb_dbfGoTo(), posted by Horacio Roldan 2002-02-04 16:45 UTC+0100 Ignacio Ortiz * source/rtl/Tget.prg * source/rtl/Tgetlist.prg * Minor modifications proposed by Walter Negro 2002-02-04 13:50 UTC+0100 Ignacio Ortiz * source/rtl/memoline.c * source/rtl/mlcount.c * Disable limitation of string length to 254 when no HB_C52_STRICT used. * source/rtl/at.c * source/source/compiler/Hbfuncchk.c * doc/en/string.txt * Two new parameters nStart & nEnd of At() function when no HB_C52_STRICT used. * source/rtl/Tget.prg * Minor modification on VarPut() method proposed by Walter Negro 2002-02-04 13:12 UTC+0300 Alexander Kresin * source/vm/runner.c * warnings and bug fixed 2002-02-02 11:40 UTC+0300 Alexander Kresin * source/compiler/genhrb.c * source/vm/runner.c * Creating/checking signature and version number for .hrb file. It is: \192 + 'H' + 'R' + 'B' then 2 byte version number, currently - 2 * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * some fixes and additions - DESCENDING clause works now. 2002-02-01 08:57 UTC-0300 Horacio Roldan * source/rdd/dbf1.c ! fixed bug with flags in hb_dbfGoTo 2002-02-01 19:35 UTC+0300 Alexander Kresin * source/vm/runner.c * some of TODO items implemented. New functions added: __HRBLOAD(), __HRBDO(), __HRBUNLOAD(), __HRBGETFU(), HRBDOFU() Now it became possible to use hrb files like pcode DLLs: hrbLib := __hrbLoad( "Mylib.hrb" ) hFu1 := __hrbGetFu( hrbLib,"fu1" ) __hrbDoFu( hFu1 ) ... __hrbUnload( hrbLib ) 2002-02-01 10:30 UTC-0300 Horacio Roldán * utils/hbmake/hbmake.prg utils/hbmake/hbmutils.prg * Better support for big project(Read and Generations) From Luiz Rafael Culik 2002-02-01 12:10 UTC+0100 Ignacio Ortiz * source/rtl/transfrm.c * Memory buffer overflow reported by Lorenzo Fiorini 2002-02-01 12:00 UTC+0100 Antonio Linares * include/hbexpra.c * Temporary workaround for the "EVAL" bug 2002-02-01 09:32 UTC+0100 Antonio Linares * source/vm/extend.c * some minor fixes on HB_TRACE() supplied params * source/rtl/strings.c * source/rtl/strings.c ! hb_strnicmp() fixed, now it's compatible with strnicmp(). This fixes the previous fix in hvm.c which uses hb_strnicmp() And it also fixes a few functions which also used this: ISPRINTER(), HB_ARGCHECK(), HB_ARGSTRING() This fix has been implemented by Viktor 2002-02-01 07:43 UTC+0100 Antonio Linares * source/vm/codebloc.c * Some minor fixes implemented by Ron 2002-02-01 07:05 UTC+0100 Antonio Linares * source/rtl/strcase.c * Faster Upper() and Lower() as they use now hb_retclen_buffer() * source/rtl/hardcr.c * Faster HardCR() as it uses now hb_retclen_buffer() These changes have been implemented by Viktor 2002-02-01 06:50 UTC+0100 Antonio Linares * source/vm/hvm.c * some minor fix in hb_vmPushAliasedVar() from Viktor CVS, but reverted as it seems it is wrong. 2002-01-31 17:35 UTC+0100 Antonio Linares * source/vm/arrays.c * bug fixed from HB_GARBAGE_FUNC( hb_arrayReleaseGarbage ) when releasing string items 2002-01-31 13:50 UTC+0100 Ignacio Ortiz * source/rtl/descend.c * source/rtl/memoline.c * source/rtl/saverest.c * source/rtl/mouseapi.c * hb_xgrab( ulLen + 1 ) ! This bug was generating a memory buffer overflows error 2002-01-31 12:55 UTC+0100 Antonio Linares * source/rtl/descend.c * zero ended string added ! This bug was generating a memory buffer overflows error 2002-01-31 08:40 UTC-0300 Horacio Roldan * source/rdd/dbfcdx1.c ! fixed bug with append and empty keys 2002-01-31 12:21 UTC+0100 Antonio Linares * source/rtl/memoline.c * zero ended string added ! This bug was generating a memory buffer overflows error 2002-01-31 08:00 UTC+0100 Antonio Linares * source/vm/hvm.c - removed two uneeded calls to hb_itemClear() from hb_vmOperatorCall() and hb_vmOperatorCallUnary() Notice: hb_itemCopy( pDest, pOrigin ) already performs a hb_itemClear( pDest ), so there is no need to do this: hb_itemClear( pDest ); <<< This is not needed hb_itemCopy( pDest, pOrigin ); 2002-01-30 22:40 UTC+0100 Antonio Linares * include/hbexprc.c * some minor fixes regarding strings sharing implementation 2002-01-30 16:25 UTC+0100 Antonio Linares * include/hbexprb.c * macros using "." bug fixed (reported by Matteo Bacan) 2002-01-30 11:30 UTC+0100 Antonio Linares * include/hbpcode.h * source/compiler/genc.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/vm/hvm.c * source/vm/macro.c + Added support for HB_P_MPUSHSTR Notice: These changes have been borrowed from xHarbour, as they fix the bug that xHarbour strings sharing introduced in Harbour (for macro strings). Copyright of this xHarbour bug and bug fix: Ron Pinkas. * source/vm/classes.c * source change re-implemented, that was lost cause using Viktor classes.c 2002-01-30 12:30 UTC+0200 Chen Kedem * source/vm/arrayshb.c * HB_AEXPRESSIONS() - The reported error code was 1123 (which belong to AADD()), since this function is an Harbour extension it should use error code > 3000. Changed into 9999 * source/vm/extend.c * source/vm/itemapi.c + Add EOL to the last line * source/vm/macro.c ! hb_macroCheckParam() - Wrong error code 1080 is used, changed into 1065 * source/vm/memvars.c + Add comment to __MVSAVE(), __MVRESTORE() that error code 2008 is undocumented in 5.2e and 5.3 2002-01-30 09:30 UTC+0100 Antonio Linares Notice: All these changes have been done by Viktor Implemented here with his permission * source/rtl/strzero.c * source/rtl/str.c * source/rtl/valtostr.c % Calling hb_retc*_buffer() to speed up things. * source/rtl/gete.c % Calling hb_retc*_buffer() to speed up things. % Calling hb_retc( NULL ) * source/rtl/oldbox.c * source/rtl/mpostolc.c * source/rtl/mlpos.c * source/rtl/mlctopos.c * source/rtl/mlcount.c * source/rtl/memoline.c % "ISCHAR( 1 ) ? hb_parc( 1 ) : """ optimized to plain hb_parc( 1 ) since in Harbour it automatically returns "" when !ISCHAR(1). * source/pp/pplib.c * source/rdd/dbcmd.c * source/rtl/colorind.c * source/rtl/datec.c * source/rtl/descend.c * source/rtl/fkmax.c * source/rtl/gete.c * source/rtl/hardcr.c * source/rtl/memofile.c * source/rtl/memoline.c * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/net.c * source/rtl/oemansi.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/replic.c * source/rtl/right.c * source/rtl/set.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/stuff.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/vm/classes.c * source/vm/cmdarg.c * source/vm/dynsym.c * source/vm/proc.c % hb_retc( "" ) calls optimized to hb_retc( NULL ) which will have the same effect, but it will generate a constant string item, instead allocating a memory buffer for the empty string, thus saving a hb_grab() call, some memory, and lessen the memort fragmentation. ; Note that CA-Cl*pper will also accept NULL as a parameter for _retc(), and it will be also a bit faster. This fact is undocumented though. * source/vm/itemapi.c * include/hbapiitm.h % hb_itemPutC*() functions optimized, so that they will assign a constant buffer when receiving a NULL string and thus storing an empty string ("") to the string item. Callers are encouraged to call this function (and hb_retc(), too) with a NULL instead of "" to allow this optimization for Harbour. + hb_itemPutCConst() API function added, which can set a string to a const buffer, which doesn't need to be freed, just like if it would point to a string stored in the pcode. The caller must make sure that the buffer is terminated with zero byte. * source/vm/extend.c * include/hbapi.h + hb_retc_buffer() + hb_retc_const() + hb_retclen_buffer() Three new functions, which can optimize out some memory allocations/deallocations in frequently called Harbour RTL functions, in this situation: --------------------------- char * buffer = hb_xgrab(); ... hb_retclen( buffer, len ); hb_xfree( buffer ); --------------------------- the above becomes: --------------------------- char * buffer = hb_xgrab(); ... hb_retclen_buffer( buffer, len ); --------------------------- and one pair of mem function calls is ruled out. * source/rtl/ampm.c * source/rtl/descend.c * source/rtl/langapi.c * source/rtl/memofile.c * source/rtl/memoline.c * source/rtl/mouseapi.c * source/rtl/mtran.c * source/rtl/oemansi.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/replic.c * source/rtl/saverest.c * source/rtl/space.c * source/rtl/strtran.c * source/rtl/stuff.c * source/rtl/transfrm.c * source/rtl/version.c * The above optimization implemented in Harbour. AMPM(), DESCEND(), LANGNAME(), MEMOREAD(), MEMOLINE() MSAVESTATE(), HB_ANSITOOEM(), HB_OEMTOANSI(), PADC(), PADR(), PADL(), FREADSTR(), REPLICATE(), SAVESCREEN(), SPACE(), STRTRAN(), STUFF(), TRANSFORM(), OS(), HB_COMPILER(), VERSION() are now faster. 2002-01-29 20:15 UTC+0100 Antonio Linares * include/hbapi.h * source/vm/extend.c * hb_retcconst() and hb_retcbuffer() renamed into hb_retc_const() and hb_retc_buffer() as per Viktor's instructions. 2002-01-29 10:00 UTC+0100 Antonio Linares * source/vm/extend.c + New functions hb_retcbuffer() and hb_retcconst() added * source/vm/itemapi.c + New function hb_itemPutCConst() added * include/hbapi.h + Added prototypes for hb_retcbuffer() and hb_retcconst() * include/hbapiitm.h + New hb_itemPutCConst() prototype added 2002-01-29 08:48 UTC+0000 Dave Pearson * source/vm/hvm.c * Removed unused szTemp variable from hb_vmPushStringPcode. 2002-01-28 22:52 UTC-0800 Brian Hays * contrib/hbzlib/makefile2.bc * minor cleanup of paths. * source/rtl/persist.prg * added 254 as linelength arg for memoline parsing in LoadFromText() 2002-01-28 21:30 UTC+0100 Patrick Mast * contrib/mysql/tmysql + Added DateTime field * Added more info on Alert message for Unknown type * Modified ClipValue2SQL() to process empty strings 2002-01-28 20:43 UTC+0100 Patrick Mast * contrib/mysql + Added CLEAN to make_b32.bat 2002-01-28 17:00 UTC+0100 Ignacio Ortiz * source/vm/hvm.c * New define (HB_GUI) to avoid the call to hb_InkeyPoll() on GUI apps. 2002-01-28 12:36 UTC+0100 Ignacio Ortiz * source/rtl/tget.prg * Bug fixed in VarPut() method, reported by Lorenzo Fiorini 2002-01-28 14:21 UTC+0300 Alexander Kresin * source/rdd/dbf1.c * Bug fixed in dbfGetMemo(), reported by Jos© Luis Capel 2002-01-28 13:50 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxGoBottom(), reported by Lorenzo Fiorini 2002-01-27 22:55 UTC+0300 Alexander Kresin * source/vm/hvm1.c * Bug fixed in hb_vmSend() - thanks to Ron Pinkas * source/rdd/dbfntx/dbfntx1.c * hb_vmDo() calls are replaced by hb_vmSend() 2002-01-27 18:30 UTC+0100 Antonio Linares * include/hbapi.h * some minor fixes to use C compiler define -DHB_API_MACROS Notice: Using -DHB_API_MACROS C compiler define, results in a faster application execution! 2002-01-27 19:35 UTC+0300 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Lorenzo Fiorini * UNIQUE indexes creation implemented 2002-01-27 10:30 UTC+0100 Antonio Linares ! Strings sharing and strings pcode based implementation * harbour/include/hbapi.h + Two new members added to struct hb_struString * harbour/include/hbexprb.c * Compiler expressions optimizer modified to return a final zero for pcode strings. * harbour/include/hbvm.h + Added hb_vmPushStringPcode() prototype * harbour/source/vm/arrays.c * harbour/source/vm/debug.c * minor fixes related to strings sharing * harbour/source/vm/hvm.c + hb_vmPushStringPcode() implementation and use since HB_P_PUSHSTR and HB_P_PUSHSTRSHORT. * hb_vmPlus() and hb_vmMinus() adapted to strings sharing * hb_vmPushString() adapted to strings sharing * harbour/source/vm/itemapi.c * hb_itemPutC(), hb_itemPutCL(), hb_itemPutCPtr(), hb_itemCopy(), hb_itemClear() adapted to strings sharing and strings pcode based Based on an original idea from Ron Pinkas. Some little portions are borrowed from xHarbour. 2002-01-26 13:03 UTC+0100 Patrick Mast * Changed enttry in Changelog 2002-01-25 22:30 from Alexander to Luiz 2002-01-25 22:30 UTC-0300 Luiz Rafael Culik +contrib/hbzlib added source code for ziparchive.lib File names bellow stdafx.cpp ziparchive.cpp zipautobuffer.cpp zipcentraldir.cpp zipcollections.cpp zipcompatibility.cpp zipexception.cpp zipfile.cpp zipfileheader.cpp zipinternalinfo.cpp zipmemfile.cpp zippathcomponent.cpp

Page url: http://www.yourdomain.com/help/index.html?changelog.htm