Commit Graph

4891 Commits

Author SHA1 Message Date
Viktor Szakats
e9afeddcdb 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 15:08:08 +00:00
Viktor Szakats
63d35fa484 2008-05-29 11:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
     + Some tests added.

   * source/rtl/tget.prg
     + Some notes about C5.x behaviour.
     ! Formatting/indentation fixes.
     % Minor optimizations.

   * contrib/xhb/Makefile
   * contrib/xhb/common.mak
     ! Added hbfast.h, hbxml.h

   * contrib/hbfimage/fi_winfu.c
   * 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 <windows.h> 
       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 09:48:52 +00:00
Viktor Szakats
672f463a2e 2008-05-28 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/hbpcre/cnv_o2hb.bat
   * source/hbpcre/cnv_hb2o.bat
     + Added COPYING

   * 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 20:44:09 +00:00
Przemyslaw Czerpak
20a09256ce 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:42:35 +00:00
Viktor Szakats
31bd015517 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 12:39:33 +00:00
Viktor Szakats
62010a5a1d 2008-05-28 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/hbzlib/adler32.c
   * source/hbzlib/ChangeLog
   * 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 11:37:26 +00:00
Viktor Szakats
6c6adce9d7 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 11:32:37 +00:00
Viktor Szakats
cd95343116 2008-05-28 12:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     % Flow cleanup.
2008-05-28 10:31:34 +00:00
Viktor Szakats
ceeff3c354 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 10:19:43 +00:00
Przemyslaw Czerpak
2c051a4220 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_]DROP() and
      [HB_]EXISTS() functions
2008-05-28 09:48:57 +00:00
Przemyslaw Czerpak
77394377fb 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 15:12:00 +00:00
Viktor Szakats
4761f7a5af 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:<internal switch>
       //hb:<internal switch>
       Both are equivalent to original CA-Cl*pper:
       //<internal switch>
2008-05-27 07:46:37 +00:00
Viktor Szakats
8b06380b17 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 01:23:22 +00:00
Przemyslaw Czerpak
8fe45da932 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-27 01:08:45 +00:00
Viktor Szakats
4425d27401 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 make to conversion from 
       original PCRE source files into Harbour.
2008-05-26 15:03:16 +00:00
Viktor Szakats
b5d578680c 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 10:15:27 +00:00
Viktor Szakats
ab03dc731d 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 19:57:49 +00:00
Viktor Szakats
242c235e68 2008-05-23 21:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbfunchk.c
     ! Typo in message.
2008-05-23 19:27:16 +00:00
Lorenzo Fiorini
4c8d9d70fa 2008-05-22 10:19:12 +00:00
Viktor Szakats
43c3c2eeb1 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 09:12:40 +00:00
Lorenzo Fiorini
0acdac82ce 2008-05-22 08:05:32 +00:00
Viktor Szakats
b6555367a8 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 06:40:53 +00:00
Viktor Szakats
addea6d04e 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 converions 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-22 06:09:35 +00:00
Viktor Szakats
2c87717c47 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:31:50 +00:00
Viktor Szakats
7c50ab9b8a fix to prev (whitespace) 2008-05-21 15:53:37 +00:00
Viktor Szakats
24ec421a42 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 15:50:34 +00:00
Przemyslaw Czerpak
1bb3ab7eb9 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 09:10:52 +00:00
Przemyslaw Czerpak
a1f50d4447 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 18:31:54 +00:00
Viktor Szakats
72dadeef4f 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 00:37:40 +00:00
Przemyslaw Czerpak
469f81397a 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-20 00:19:24 +00:00
Przemyslaw Czerpak
9e6486912e 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 21:01:53 +00:00
Viktor Szakats
e4331383f1 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 07:03:21 +00:00
Przemyslaw Czerpak
48cbe59965 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-17 13:17:02 +00:00
Przemyslaw Czerpak
a95ca6ab8b 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 17:27:20 +00:00
Viktor Szakats
6cb1bc6211 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-16 07:42:37 +00:00
Przemyslaw Czerpak
2f707a4e15 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 15:58:46 +00:00
Viktor Szakats
40c3c7c2a8 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:26:49 +00:00
Przemyslaw Czerpak
f6cbf1390b 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-15 00:02:47 +00:00
Przemyslaw Czerpak
00d72b2a36 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 08:37:29 +00:00
Viktor Szakats
907735d63c 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 set 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 06:41:01 +00:00
Przemyslaw Czerpak
01ac9cd6f1 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 22:27:36 +00:00
Viktor Szakats
006724dc11 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 12:26:37 +00:00
Viktor Szakats
636bc4aae1 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 09:56:33 +00:00
Viktor Szakats
e5c0ea79ba 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()/hbScrMaxCol(). 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 19:26:20 +00:00
Przemyslaw Czerpak
4fc1e5ae99 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-08 12:32:12 +00:00
Viktor Szakats
53030631bf 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-07 10:26:41 +00:00
Przemyslaw Czerpak
7311612b6b 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-06 00:44:50 +00:00
Miguel Angel Marchuet Frutos
63c9ed7c80 2008-05-05 11:31 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* include/hbmemory.ch
   * source/vm/fm.c
     + Added Memory( HB_MEM_BLOCKS )
2008-05-05 09:30:19 +00:00
Viktor Szakats
31d82e116c 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-29 11:08:12 +00:00
Przemyslaw Czerpak
244fb6f28a 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 16:46:19 +00:00