Commit Graph

8059 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
87e4a9277b 2008-05-13 11:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/txml.prg
    ! fixed wrongly defined scopes. Note: during porting xHarbour code
      to Harbour scopes should be carefully checked because in xHarbour
      in many cases wrong scopes does not cause any RT errors.
2008-05-13 09:33:10 +00:00
Viktor Szakats
17deff036a 2008-05-13 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbct/tests/bld_b32.bat
   + contrib/hbct/tests/bld_vc.bat
     + Added non-GNU make files for tests.

   * contrib/hbct/tests/Makefile
     + Added ctwtest.prg to GNU makefile for hbct tests.
       (so building of these was actually solved already)

   * contrib/rddads/adsfunc.c
     ! Minor comment.
2008-05-13 07:42:03 +00:00
Viktor Szakats
849d95d9d5 2008-05-12 22:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/tests/bld_b32.bat
     + Added switch to compile in GUI mode.
2008-05-12 21:50:01 +00:00
Viktor Szakats
80e546e741 2008-05-12 22:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/tests/bld_b32.bat
     ! Added switch to compile in GUI mode. :/
2008-05-12 20:59:45 +00:00
Viktor Szakats
0bea5003e2 2008-05-12 21:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/rddads.h
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
     * Some cleanup. Minor fixes, comments added.
2008-05-12 19:52:48 +00:00
Viktor Szakats
9f2b4366d7 2008-05-12 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/Makefile
     + Added hbpcre to the list of libs.
2008-05-12 17:33:27 +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
f6bbde9371 2008-05-12 13:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
     + Added %HB_USER_LIB% for w32/msvc.

   + contrib/hbapollo/tests/bld_vc.bat
   + contrib/gtwvg/tests/bld_vc.bat
     + Added VC make files.

   * contrib/gtwvg/tests/demowvg.prg
     - Removed (unused) embedded C code.
     ; It still doesn't run though.

   * contrib/gtwvg/tests/bld_b32.bat
     ! Fixed eol-style.
2008-05-12 11:39:07 +00:00
Viktor Szakats
fac20a6afb 2008-05-12 11:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/adsfunc.c
     ! Readded one mistakenly removed cast.
2008-05-12 10:02:36 +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
778ec89276 fix to prev 2008-05-11 23:28:15 +00:00
Viktor Szakats
8333c36188 2008-05-12 18:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/ads1.c
     + Added DBOI_SKIPUNIQUE (C5.3 ordSkipUnique()) implementation 
       when compiled for ADS 9.00 or above.
2008-05-11 16:22:20 +00:00
Viktor Szakats
bfb62906cc minor fix in RTE call 2008-05-10 06:31:35 +00:00
Viktor Szakats
d9f14c82b4 minor formatting 2008-05-10 06:29:37 +00:00
Viktor Szakats
b58c301e34 2008-05-10 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/rddads.h
   * contrib/rddads/adsfunc.c
   * contrib/rddads/adsmgmnt.c
     * More cleanups, internal fixes.
     ! ADSTESTLOGIN() fixed to not write into the 7th 
       param string buffer directly since this may cause 
       HVM corruption. To solve this properly, this parameter 
       must now be passed by reference. 8th parameter no 
       longer needed.
     ! ADSBLOB2FILE(), ADSFILE2BLOB(), ADSGETTABLECHARTYPE() 
       fixed to not GPF when selected workarea is not ADS.
     + ADSDDSETDATABASEPROPERTY() now able to clear the 
       content of numeric properties.
2008-05-09 22:46:38 +00:00
Viktor Szakats
e8d6e0b3da 2008-05-09 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/rddads.h
   * contrib/rddads/adsfunc.c
   * contrib/rddads/adsmgmnt.c
     * More cleanups, minor fixes.
     ! One fix to previous change.
     + Implemented:
       ADSMGGETLOCKS()
       ADSMGGETWORKERTHREADACTIVITY()
       Please test these.
2008-05-09 09:50:16 +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
705b5c1a15 2008-05-02 10:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/rddads/rddads.h
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
     ! Fixed to compile without ADS_VER/ADS_REQUIRE_VERSION 
       being set.
     + Some features are automatically detected.
       NOTE1: To get all supported features included, it's still 
              recommended to set ADS_VER/ADS_REQUIRE_VERSION 
              before building this lib.
       NOTE2: Lowest tested ACE version is 6.11, and it may 
              work with 5.x (if someone has this version, pls 
              send it to me)
2008-05-02 08:27:10 +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
72849e3e48 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     ! Fixed warning in recent change.
     * Minor adjustment to Vista/Server 2008 detection to be 
       exactly along MS recommendation.
2008-04-28 07:41:41 +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
322a643b37 2008-04-28 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rdd_ads/adsfunc.c
     ! Fixed warning in ADSDIRECTORY() for ADS >= 9.00.

   * contrib/rdd_ads/adsfunc.c
   * contrib/rdd_ads/adsmgmnt.c
     + Added AdsIsEmpty( <cFieldName | nFieldPos> ) -> <lValue>
       With .adt tables will return .T. if value of the field is NULL.
       With .dbf it's just equivalent to Empty().
       (by Luis Krause Mantilla)
     + Added ADSMGGetOpenTables( nMaxNumberOfFilesToReturn, cUserName, nConnection )
     + Added ADSMGGetOpenIndexes( nMaxNumberOfFilesToReturn, cTableName, cUserName, nConnection )
       (by Antonio Carlos Pantaglione & Brian Hays)
     ; Changes borrowed from xhb, added minor optimization, formatting and warning fix.

   * include/hbclass.ch
     ! Comment typos.
2008-04-27 23:40:34 +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
82f8740160 typo 2008-04-26 06:44:34 +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
6c59645931 2008-04-24 21:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * make_vcce.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/genpdf1.prg
     - Removed pdflib references from make file, since the 
       contrib was not working and got removed.
     + PDF enabling logic in HBDOC made local to HBDOC.
       Now HBDOC_PDF should be #defined in HARBOURFLAGS 
       (or PRG_USR) envvar, proper pdf library should be 
       specified using LDFLAGS envvar.

   * contrib/mtpl_b32.mak
     ! Removed permanent '-P' C compiler switch 
       from .prg -> .c rule. Thanks Rafa.
       Marek pls check me.
2008-04-24 19:26:54 +00:00
Lorenzo Fiorini
57268e4f93 2008-04-24 10:58:26 +00:00
Viktor Szakats
6dbf91b156 name typo :( 2008-04-24 10:19:51 +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
bfc8a013ea more formatting 2008-04-24 08:32:28 +00:00
Viktor Szakats
f71e88c580 minor formatting 2008-04-24 08:31:42 +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
ef43b0a9a1 2008-04-23 22:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/adsfunc.c
     + Added these functions:
       ADSCREATESAVEPOINT() (for ADS 8 and above)
       ADSROLLBACKSAVEPOINT() (for ADS 8 and above)
       ADSDDCREATELINK() (for ADS 9 and above)
       ADSDDMODIFYLINK() (for ADS 9 and above)
       ADSDDDROPLINK() (for ADS 9 and above)
     + Extended AdsMgGetUserNames() to return aucAuthUserName,
       aucOSUserLoginName and aucTSAddress from ADS_MGMT_USER_INFO
       structure. Only available for ADS >= 8.
     ; Borrowed from xhb / Luiz Rafael Culik.

   * contrib/rddads/ads1.c
     + Made it compile with ADS 9.

   * contrib/rddads/adsmgmnt.c
     ! Fixed ADS_VER -> ADS_REQUIRE_VERSION
2008-04-23 20:43:42 +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
86cc775eb5 2008-04-23 09:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
    ! fixed some combinations of user functions in stream pragmas, f.e.:
         #pragma __cstream|f1(%s)|f2()
      or:
         #pragma __cstream||f2(%s)
    + added support for:
         #pragma __[c]streaminclude "fileName"|<code with %s result marker>
      f.e.:
         #pragma __streaminclude "foo1.html"|cHtml:=%s
      __cstreaminclude decode C like escape sequences, __streaminclude
      doesn't do that and takes file body in raw form. Maximum file size
      is arbitrary set to 65520.
2008-04-23 07:47:02 +00:00
Teo Fonrouge
5e4c0e1f1f 2008-04-23 02:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* contrib/hbgd/gdimage.prg
    ! Fixed at gdimage.prg(271):
      "Warning W0019  Duplicate declaration of Method 'GETTRUECOLOR'"
      the method was having a INLINE to the gdImageTrueColorPixel() function
      and the fix simply renamed the method name from 'GetTrueColor' to
      'GetTrueColorPixel'. Please, someone used to the hbgd lib check if the
      new method name is correct.
2008-04-23 07:32:34 +00:00
Przemyslaw Czerpak
4399328f04 2008-04-23 02:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/dbgbrwsr.prg
    * respect oCol:colorBlock() used by debugger code in few places

  * harbour/source/debug/dbgtobj.prg
    * sort messages and show methods in lower letters just like Clipper

  * harbour/source/debug/dbgtobj.prg
  * harbour/source/debug/dbgthsh.prg
  * harbour/source/debug/dbgtarr.prg
    ! added protection against RT error when user type wrong expression 
      in OBJECT, ARRAY and HASH inspectors
2008-04-23 00:14:58 +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
1731b0f49c 2008-04-22 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/bld_os2.cmd
    * changed eol-style from native to CRLF
2008-04-22 13:24:31 +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