Commit Graph

1387 Commits

Author SHA1 Message Date
Ryszard Glab
e5ff2cd515 ChangeLog 2001-03-27 20:05 UTC+0100 2001-03-27 18:10:32 +00:00
Ron Pinkas
f85461b1c1 2001-03-22 13:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/runjava/runjava.c
     + Added support for Argument Errors

   * source/rtl/len.c
   * source/rtl/minmax.c
   * source/rtl/run.c
   * source/vm/arrayshb.c
   * source/vm/memvars.c
     * Corrected to always use hb_paramError() when calling hb_errRT_BASE*()
2001-03-22 21:06:53 +00:00
Ron Pinkas
06dad4687f 2001-03-22 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.vc
     * Minor corrections.

   * include/hbapi.h
     + extern PHB_ITEM hb_paramError( int iParam ); /* Returns either the generic parameter or a NIL item if param not provided */
     + extern PHB_ITEM hb_arrayFromStack( USHORT uiLen ); /* Creates and returns an Array of n Elements from the Eval Stack - Does NOT pop the items. */
     + extern PHB_ITEM hb_arrayFromParams( void ); /* Creates and returns an Array of current Generic Parameters. */

   * include/hbapierr.h
     * extern USHORT   hb_errRT_BASE           ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * extern USHORT   hb_errRT_BASE_Ext1      ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... );
     * extern PHB_ITEM hb_errRT_BASE_Subst     ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * extern void     hb_errRT_BASE_SubstR    ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
       + Added support for variable number of Error Arguments.

   * source/rtl/errorapi.c
     * hb_errRT_BASE           ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * hb_errRT_BASE_Ext1      ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... );
     * hb_errRT_BASE_Subst     ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
     * hb_errRT_BASE_SubstR    ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... );
       + Added support for variable number of Error Arguments.

   * source/vm/arrays.c
     + PHB_ITEM hb_arrayFromStack( USHORT uiLen )
     + PHB_ITEM hb_arrayFromParams( void )

   * source/vm/extend.c
      + PHB_ITEM hb_paramError( int iParam )

   * source/rdd/dbcmd.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/rtl/abs.c
   * source/rtl/at.c
   * source/rtl/chrasc.c
   * source/rtl/copyfile.c
   * source/rtl/datec.c
   * source/rtl/dateshb.c
   * source/rtl/diskspac.c
   * source/rtl/disksphb.c
   * source/rtl/do.c
   * source/rtl/left.c
   * source/rtl/len.c
   * source/rtl/math.c
   * source/rtl/minmax.c
   * source/rtl/mod.c
   * source/rtl/philes.c
   * source/rtl/philesx.c
   * source/rtl/replic.c
   * source/rtl/round.c
   * source/rtl/set.c
   * source/rtl/space.c
   * source/rtl/str.c
   * source/rtl/strcase.c
   * source/rtl/strtran.c
   * source/rtl/strzero.c
   * source/rtl/substr.c
   * source/rtl/transfrm.c
   * source/rtl/trim.c
   * source/rtl/type.c
   * source/rtl/val.c
   * source/rtl/word.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/vm/arrayshb.c
   * source/vm/eval.c
   * source/vm/hvm.c
   * source/vm/macro.c
   * source/vm/memvars.c
   * source/vm/runner.c
     * Added the Error Arguments as parameters to hb_errRT_BASE*().

   * source/vm/classes.c
     + Added 0 arguments (J.F. can you please decide what should be the arguments! )

   /* HBTEST now reports 173 failures ( down from 376 ) many of the failures are justified.

      I have tested this as much as I could, but since it invloved lots of "Cust & Pasets" more testing should be done.

      It would be great if someone could review each of HBTEST Reported Failures on a one-by-one basis.

     BTW, HBTEST reports 1 UN-RELEASED Memory Block (from before my changes)!
   */
2001-03-22 19:38:23 +00:00
Ryszard Glab
36714c9469 ChangeLog 2001-02-21 21:20 UTC+0100 2001-03-21 20:15:15 +00:00
Ryszard Glab
d82a9ea53c ChangeLog 2001-03-16 16:10 UTC+0100 2001-03-16 15:01:20 +00:00
Ron Pinkas
ed06b0ec4c 2001-02-28 00:05 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/filesys.c
     * Temporarily changed all #if defined(__WIN32__) to #if defined(X__WIN32__) to disable
       newly added logic, until fixed.
2001-02-28 08:11:27 +00:00
Maurilio Longo
60c5866729 2001-02-27 09:09 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/gtos2/gtos2.c
     ! fixed (sort of) changing used variables to statics so that I don't have to alloc them
       on every call to hb_gt_ReadKey(). Now as fast as it was.
2001-02-27 08:14:55 +00:00
Maurilio Longo
b7f915fd17 2001-02-26 22:59 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/gtos2/gtos2.c
     ! hb_gt_ReadKey() uses KBD subsystem of OS/2 instead of any compiler runtime
       function to fetch characters from keyboard this way I can be sure that used memory
       is tileable.
2001-02-26 22:02:16 +00:00
Alex Shashkov
d05b38d8d0 2001-02-23 18:10 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/rtl/console.c
     ! Fixed bug STDOUT(..,"",..) on Watcom C 11.0

   * harbour/source/pp/ppcore.c
   * harbour/source/pp/pragma.c
     ! Fixed extern declaration for Watcom C 11.0
2001-02-24 15:08:27 +00:00
Alexander S.Kresin
80e9ba992d 2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-23 18:44:00 +00:00
Alex Shashkov
b21688d42a 2001-02-23 19:35 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/rtl/filesys.c
   * harbour/source/vm/item.c
     ! Fixed support for Watcom C 11.0
2001-02-23 16:48:40 +00:00
Alex Shashkov
09a9d4514e 2001-02-23 19:03 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* source/rtl/math.c
     ! Fixed support Watcom C 11.0.
2001-02-23 16:10:49 +00:00
Brian Hays
470825af55 2001-02-16 23:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-17 07:26:49 +00:00
Ron Pinkas
ba9b0806fd 2001-02-13 17:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* harbour/source/rtl/idle.c
     * Changed Sleep(0) to Sleep(20) so that Harbour will properly release CPU on Win32.
2001-02-14 01:43:43 +00:00
Ignacio Ortiz de Zuniga
238c57c500 + minus sing support fixed. 2001-02-13 10:28:38 +00:00
Maurilio Longo
93ea3d7623 2001-02-09 23:46 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed ::Moved() method which was calling ::Dehilite() even if TBrowse was already
     unstable causing wrong painting of current row
2001-02-09 22:48:35 +00:00
Antonio Linares
cdcced1934 hb_gtColorToN() fixed (?) 2001-02-09 16:00:34 +00:00
Antonio Linares
e34ceb5a1b HB_CLRAREA() function added 2001-02-09 15:43:49 +00:00
Antonio Linares
ab58c275ac HB_COLORTON() function added 2001-02-09 15:42:50 +00:00
Antonio Linares
e5e42436f9 hb_gtColorToN() function added 2001-02-09 15:42:00 +00:00
Antonio Linares
b81936bd25 some minor fixes to let the debugger inspect a GetNew() object 2001-02-08 10:23:51 +00:00
David G. Holm
1bb4adb6a4 See ChangeLog entry 2001-02-07 17:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-07 22:16:51 +00:00
Maurilio Longo
090136287d 2001-02-06 23:57 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     + added ::MGotoYX(nRow, nCol) method which hilights cell under screen coordinates nRow, nCol
     should help following a mouse. NOTE: hacked up and not tested. I'm very busy at the moment.
   * NOTE latest change to TBrowse (my previous entry in changelog) fixed a problem but created
     a new one :-) I'll have to rethink a little bit ::Stabilize() logic.
2001-02-06 23:08:38 +00:00
Maurilio Longo
d1163f7754 2001-02-04 22:15 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/debug/debugger.prg
     * little changes, like adding K_LEFT and K_RIGHT to CodeWindowProcessKey (but they don't work)
   * source/debug/tbrwtext.prg
     + Added support for break points (coloring of text)
   * source/rtl/teditor.prg
     + Changed ::RefreshXXX() methods to allow line coloring outside of TEditor logic
2001-02-04 21:14:51 +00:00
Antonio Linares
a426c8856b Method ClassName() removed, so we get default behavior 2001-02-04 07:20:48 +00:00
Maurilio Longo
6696ef7538 2001-02-02 22:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/debug/debugger.prg
     - removed calls to oBrwText:ForceStable() method which is no more available
     ! SetsUp() and SetsDown() functions where calling ::RefreshAll() and movement methods
     without any reason causing a noticeable delay during Sets scrolling.
   * source/debug/tbrwtext.prg
     - removed empty ::ForceStable() method
   * source/rtl/tbrowse.prg
     ! when a movement happens inside available on screen rows (like a ::Down() from row 1 to
     row 2) I have to force repainting of target row or else this sequence (for example)
     fails: ::RefreshCurrent():Down():ForceStable() because to paint the row where I issued a
     ::RefreshCurrent() I have to move one back from ::nNewRowPos, but there I stay since
     ::nNewRowPos is not to redraw. I'm sure nobody uderstands what I'm clearly unable to
     explain :-)
   * source/rtl/teditor.prg
     - removed a TODO: comment which is no more needed.
2001-02-02 21:52:49 +00:00
Brian Hays
aa706e3dac 2000-02-01 06:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-02 02:12:47 +00:00
David G. Holm
6fd2b09258 See ChangeLog entry 2001-01-30 10:10 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-01-30 15:14:53 +00:00
Brian Hays
d3abe7d275 2000-01-22 19:15 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-01-23 03:11:10 +00:00
David G. Holm
db38a8239b See ChangeLog entry 2001-01-22 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-01-22 18:18:16 +00:00
David G. Holm
580846daf4 2001-01-19 18:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-01-19 23:44:06 +00:00
Jean-Francois Lefebvre
77a9b26ade 2001-01-18 00:18 GMT+1 JFL (Mafact) <jfl@mafact.com> 2001-01-17 23:20:57 +00:00
Jean-Francois Lefebvre
4a22bc5736 2001-01-16 22:15 GMT+1 JFL (Mafact) <jfl@mafact.com> 2001-01-16 21:15:28 +00:00
Brian Hays
15540f9678 2000-12-29 01:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2000-12-29 09:27:52 +00:00
Maurilio Longo
c18a43c8aa 2000-12-18 16:55 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/memoedit.prg
     + Added all missing functionalities. Should be 100% compatible (tested very little)
   * source/rtl/teditor.prg
     * little changes to make it work better with memoedit.prg. Removed cUdF parameter from
       ::New() method.
2000-12-18 15:56:01 +00:00
Ryszard Glab
ccc567b1d0 ChangeLog 2000-12-12 21:25 UTC+0100 2000-12-12 20:22:23 +00:00
Brian Hays
bd23343fdb 2000-12-12 00:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2000-12-12 08:55:43 +00:00
Maurilio Longo
6542f93e62 2000-12-11 21:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     - removed hidden: clause inside class definition (it doesn't work right now)
   * source/rtl/tclass.prg
     - commented out line 255 (gives infinite loop)
   * utils/hbmake/*.prg
     + hbdocdef.ch needs relative path ("..\hbdoc\") to be compiled by gcc system
2000-12-11 20:51:11 +00:00
Maurilio Longo
957ee5dd35 2000-12-08 18:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! I've fixed all known (to me) issues with latest TBrowse code.
       ::HitTop/Bottom were set back to .F. if a ::RefreshAll() was issued. This is wrong since only
       movement keys can reset them.
       Issuing a long sequence of K_UP/K_DN (or CTRL_...) resulted on wrong movement of datasource (you could
       even go backward using K_DN :-O)
       You could get an out of bounds moving around inside tbrowse.
     * Note that original Clipper TBrowse caches displayed rows, so moving left or right does not require
       calling ::Skipblock to refresh screen. Present implementation of TBrowse has not such a cache so
       a lot more of skipping around is needed.
2000-12-08 17:57:30 +00:00
Ron Pinkas
b48cfdc92e 2000-12-04 19:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/tget.prg
     ! Corrected 2 bugs when New Method called without any parameters.
2000-12-05 03:44:14 +00:00
Maurilio Longo
118781b4a6 2000-12-04 17:54 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
        * I've rewritten from scratch stabilization and movement keys handling.
          They were simply broken in previous TBrowse. They are now nearly 100% clipper compatible.
          DBU now works correctly when lastrec() + 1 is reached and leaved.
          ::stable state and ::HitTop or ::HitBottom were wrongly set _before_ stabilization and not
          during as it should. ::GoBottom() was not calling ::goBottomBlock.
          Movement handling methods were calling ::skipBlock and they should not, this was
          causing unneeded skipping being requested to data source.
          I hope these last changes have fixed TBrowse class. Please test it extensively.
2000-12-04 17:11:46 +00:00
Ron Pinkas
edb06cb10a 2000-12-03 15:05 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     ! Optimized __GETA() support, and changed it to be implementated identical to Clipper.
       /* Clipper passed a bGet Block which refrences the Base Array Variable and not the Variable itself.
          Clipper passes NIL instead of bGet block if the Base Array is MACROVAR or MACROTEXT.
          Clipper does not optimize "&Macro" to Macro, but Harbour does! */

   * source/rtl/tgetint.prg
     * __GETA() Changed 1st parameter aVar to bGetArray and logic to get the Base Array if bGetArray is NIL
       /* Optimized to not use macro if possible (most cases) even if the GetArray is a macro. */

   * tests/testget.prg
     + Added additional test.
2000-12-03 23:21:19 +00:00
April White
7fc741dbb1 2000-12-02 01:15 UTC+0500 April <awhite@user.rose.com> 2000-12-02 18:17:00 +00:00
Jean-Francois Lefebvre
a929635f89 2000-12-02 01:13 UTC+0100 jfl (mafact) <jfl@mafact.com> 2000-12-02 00:16:11 +00:00
Ron Pinkas
21a332f04c 2000-12-01 01:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     ! Minor optimization.
   * source/rtl/tgetint.prg
     * Corrected typo
2000-12-01 09:53:40 +00:00
Ron Pinkas
0c2228a024 2000-11-30 18:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbmacro.h
   * source/macro/macro.y
   * source/vm/macro.c
     ! Renamed hb_compParse() to hb_macroYYParse(). We already have hb_macroParse() and hcompparse()

   * source/compiler/harbour.y
     * Added token GET (not used) just so that harboury.h is compatible with harbour.sly

   * source/rtl/tgetint.prg
     * Reverted to use _1 and == NIL to not break Clipper compatibility.

     /* Ryszard, if you want to re-introduce PCount() and HB_PVALUE(), I'll ask (since I wrote this original code)
        that you protect it with #ifdef FLEX etc. If you do I would suggest you further protect it with #ifdef STRICT...
	becuase this will defintly break strict compatability. */
2000-12-01 02:25:20 +00:00
Ryszard Glab
08b2e6f91f ChangeLog 2000-11-30 16:00 UTC+0100 2000-11-30 14:55:39 +00:00
Ryszard Glab
4866775e31 ChangeLog 2000-11-30 10:55 UTC+0100 2000-11-30 09:45:07 +00:00
Ron Pinkas
43860b8145 Minor formatting. 2000-11-30 01:25:22 +00:00
Jean-Francois Lefebvre
4a0aa45b5f 2000-11-29 23:30 UTC+0100 jfl (mafact) <jfl@mafact.com> 2000-11-29 22:32:56 +00:00