Commit Graph

2449 Commits

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

   TODO: make_os2_gcc.cmd -> make_gcc_os2.cmd
   TODO: TGET test case for my vtgetlst problem.
   TODO: TGET fix for the above.
   TODO: _eInstVar() -> _eInstVar53()
2008-04-21 12:56:13 +00:00
Przemyslaw Czerpak
317fb99c32 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-20 11:25:52 +00:00
Przemyslaw Czerpak
f2838f2927 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 01:02:27 +00:00
Przemyslaw Czerpak
5342e73198 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 00:53:09 +00:00
Przemyslaw Czerpak
9ad3e8b2eb 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-17 23:42:21 +00:00
Viktor Szakats
531f06a928 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 11:59:06 +00:00
Viktor Szakats
9be42c6fc4 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 11:29:20 +00:00
Viktor Szakats
cb966c280e 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-17 02:02:02 +00:00
Przemyslaw Czerpak
f181406951 2008-04-16 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    ! removed:
         MESSAGE <msgName> IS <mthName>
      used as synonym of:
         MESSAGE <msgName> METHOD <mthName>
      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 <limits.h>
      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 <stdint.h>
      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-16 12:42:05 +00:00
Viktor Szakats
5941be9152 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-15 11:38:16 +00:00
Przemyslaw Czerpak
f0e59d719d 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 21:07:06 +00:00
Viktor Szakats
7ac5c0ab65 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 23:48:30 +00:00
Viktor Szakats
26fde59322 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 20:05:38 +00:00
Viktor Szakats
ed876c2900 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 C, 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()'.
       TOFIX: The Harbour result is different, and in contrary to 
              C5.x it won't allow to substitue values from the 
              error handler, when wrong types were passed initially, 
              which is IMO a bug.

   * 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-13 18:03:37 +00:00
Przemyslaw Czerpak
bf68197ca0 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 <file>[.prg] [options]
         Options: -i<path>       add #include file search path
                  -c[<file>]     look for ChangeLog file
                  -o<file>       creates .c file with PP rules
                  -v<file>       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 18:44:03 +00:00
Przemyslaw Czerpak
6c7feb0eac 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-26 15:55:01 +00:00
Przemyslaw Czerpak
117324bc6a 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( <nUniVal> ) -> <cUtf8Char>
      It's compatible with the function HB_UTF8CHR() by Phil Krylov in
      xHarbour

  * harbour/source/rtl/gtsln/gtsln.h
    * removed repeated #include <unistd.h>

  * 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-25 11:27:04 +00:00