Commit Graph

2466 Commits

Author SHA1 Message Date
Viktor Szakats
bd6e69b714 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.

   * 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 13:53:05 +00:00
Przemyslaw Czerpak
871e6c9ae1 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 16:48:00 +00:00
Przemyslaw Czerpak
bdf43f67b2 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( <cCommand> ) -> <nErrorLevel>
2008-06-03 16:09:00 +00:00
Viktor Szakats
71eb525cdf 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 08:41:32 +00:00
Viktor Szakats
cfd78d2a68 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 19:05:00 +00:00
Viktor Szakats
f4f78041a2 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 17:34:53 +00:00
Przemyslaw Czerpak
76b3f96d1d 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 01:47:31 +00:00
Przemyslaw Czerpak
f5043f6a64 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 22:15:25 +00:00
Viktor Szakats
bcd588a9f5 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 18:39:35 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Viktor Szakats
8b1086cb2d 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 07:30:26 +00:00
Viktor Szakats
d489f82e6d 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-27 20:45:18 +00:00
Viktor Szakats
afe85d8f42 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 is 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-26 06:39:37 +00:00
Przemyslaw Czerpak
1d0c3d4760 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-25 10:01:19 +00:00
Viktor Szakats
82e340c3c8 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 09:16:01 +00:00
Viktor Szakats
8ae412529f 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 08:52:57 +00:00
Viktor Szakats
3ec42eca91 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 Prezemek on the devl list.

   * source/rtl/tget.prg
     * Minor changes. Copyright updated.
2008-04-24 08:29:22 +00:00
Viktor Szakats
33069925d0 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:14:54 +00:00
Viktor Szakats
70948cfc33 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 16:05:30 +00:00
Viktor Szakats
1100bf13dc 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 12:08:49 +00:00
Przemyslaw Czerpak
8a6e4ecdff 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 18:42:38 +00:00
Przemyslaw Czerpak
a1245570f8 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 12:35:51 +00:00
Viktor Szakats
5fe9c01ff3 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 "!( == )" contructs.
       Someone pls verify if these fixes are right in 
       the broader context.
2008-04-21 13:57:31 +00:00
Viktor Szakats
026c5720f3 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.

   TODO: TGET test case for my vtgetlst problem.
   TODO: TGET fix for the above.
2008-04-21 13:14:35 +00:00