Commit Graph

1354 Commits

Author SHA1 Message Date
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
Ron Pinkas
159793c2ce 2000-11-29 13:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
     * Exported: hb_compFieldGetPos() and hb_compMemvarGetPos()

   * source/compiler/harbour.sly
     ! Changed __GET() support to be parameter compatible with Clipper

   * include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added Error: "GET contains complex macro"

   * source/pp/pptable.c
     - Removed bSetGet from rule of GET, PP output now Clipper compatible.

   * source/vm/memvars.c
     + Added HB_FUNC( __ISMV ) // Return .T. if passed string as a Memory Variable.

   * source/rtl/tgetint.prg
     ! Fixed __GET() to be 100% parameter compatible with Clipper.
     ! When 1st parameter (bSetGet) is NIL the bSetGet will be built internaly,
       not using macro in most cases, even if the Get Variable itslef is a macro :-)

   /* Ryszard, this will further break Flex support for GET, but makes __GET() 100% Clipper compatible as you suggested.
      Please note, that Clipper does *NOT* pass a bSetGet *only* when the Get Var is a *simple* *non* declared Variable.
      Declared Variables in this context are: MEMVAR, FIELD, LOCAL, and STATIC. For all of those, bSetGet *is* generated!
      Clipper also generates bSetGet for "Complex Variables", i.e. Aliased Variables, Object Data, etc.! */
2000-11-29 21:54:03 +00:00
David G. Holm
79e4baee47 See ChangeLog entry 2000-11-28 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-11-28 22:07:05 +00:00
Brian Hays
7c54d69bd7 2000-11-28 11:40 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-11-28 19:45:49 +00:00
David G. Holm
330e061883 2000-11-27 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-11-27 23:59:43 +00:00
Ron Pinkas
2c5ad9f51d 2000-11-27 08:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbapi.h
   * source/rtl/idle.c
     + Added hb_idleReset()
   * source/rtl/inkey.c
     * Replaced direct idle flags reset with call to hb_idleReset()
   * tests/testidle.prg
     + Added 2nd block test.

   + tests/testget.prg
     + Added test for plain gets, array gets, macro gets, and object data gets.

   * hb_slex.bc
   * include/hbver.h
   * source/common/hbver.c
   * source/compiler/genc.c
   * source/compiler/genjava.c
   * source/compiler/genobj32.c
   * source/compiler/hbusage.c
     + Added HB_VER_LEX macro and added to Build Info.

   * config/dos/djgpp.cf
   * config/linux/gcc.cf
   * config/w32/bcc32.cf
   * config/w32/gcc.cf
     + Added -DSIMPLEX to C[LIB]FLAGS of SimpLex build
2000-11-27 19:17:44 +00:00
Ryszard Glab
c963ded268 ChangeLog 2000-11-27 19:55 UTC+0100 2000-11-27 17:49:39 +00:00
Maurilio Longo
8eabb95be3 2000-11-27 17:07 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-27 16:10:21 +00:00
Ron Pinkas
46ae9d2f68 2000-11-24 12:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbset.h
   * include/set.ch
   * source/pp/pptable.c
     + Added _SET_IDLEREPEAT = 101
   * source/rtl/set.c
     + Added suport for SET( _SET_IDLEREPEAT ) - Default is .T.

   * source/rtl/idle.c
     - Removed HB_IDLE_RESET()
     * Changed handling of Idle Process to default to REPEAT.

   * tests/onidle.prg
     - Removed call to HB_IDLE_RESET()

   + tests/testidle.prg
     + New test of Idle Blocks in default (REPEAT) mode and optional NON REPEAT mode.
2000-11-24 21:00:13 +00:00
Ron Pinkas
066ed302dc Added missing s_bIamIdle = FALSE; 2000-11-23 22:59:04 +00:00
Ron Pinkas
569dfa8764 2000-11-23 13:15 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/idle.c
     + Added HB_IDLE_RESET() and logic to reset Idle Processing upon such explicit request.
     ! If reoccuring processing of Idle Blocks is requested, hb_releaseCPU() is execusted upon completion of each cycle.

   * tests/onidle.prg
     + Added HB_IDLE_RESET() to demonstrate explicit request for reoccuring processing of Idle Blocks.
2000-11-23 21:36:50 +00:00
Ron Pinkas
e4f617cd9f 2000-11-23 11:11 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/idle.c
     ! Added Reset Logic to HB_IDLESTATE()
2000-11-23 19:46:33 +00:00
Ron Pinkas
cf7e118180 2000-11-23 10:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/idle.c
   * source/rtl/inkey.c
     ! Improved granularity of Idle Processing:
         - GC is called only once per Wait Session.
	 - Single Idle Task is performed for each itteration of hb_idleState() but never more than once per Wait Session.
	 - ReleaseCPU() is guaranteed to be the only code executing for the remainder of every Wait Session.

   /* Maurilio, Ryszard, Victor, could you please review and comment... */
2000-11-23 18:03:34 +00:00
Maurilio Longo
bd390ae537 2000-11-23 13:32 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-23 13:40:03 +00:00
Ron Pinkas
b594a5aa2d 2000-11-21 18:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcomp.c
     * Corrected 1 compiler warning.

   * source/pp/ppcore.c
     + Added s_bArray support logic to WorkDefine()

   * source/rtl/idle.c
     * Revered order of hb_gcCollectAll() and hb_releaseCPU();
2000-11-22 02:37:50 +00:00
David G. Holm
b4cab83acf See ChangeLog entry 2000-11-21 13:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-11-21 18:41:47 +00:00
Maurilio Longo
26ab0079f0 2000-11-21 17:42 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-21 16:45:36 +00:00
Maurilio Longo
2660ad1d24 2000-11-20 23:11 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-20 22:14:00 +00:00
Maurilio Longo
6bf1876273 2000-11-20 17:38 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-20 16:43:34 +00:00
Maurilio Longo
d79d7b7707 2000-11-18 11:11 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-18 10:17:37 +00:00
Maurilio Longo
1573328aa8 2000-11-17 16:40 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-17 15:41:48 +00:00
David G. Holm
cb19abdf06 2000-11-14 16:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-11-14 21:11:47 +00:00
Maurilio Longo
46ebd94e12 2000-11-10 22:50 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-10 21:51:10 +00:00
Ron Pinkas
22e3a10265 ! Corrected creation of bSetGet if uVar == NIL, to avoid compile error:
"Code block contains both macro and declared symbol references".
2000-11-10 20:23:56 +00:00
Brian Hays
0f85576404 2000-11-08 11:28 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-11-08 19:31:27 +00:00
Ryszard Glab
9372a26e6b ChangeLog 2000-11-07 16:25 UTC+0100 2000-11-07 15:23:57 +00:00
Ron Pinkas
23f87d712b 2000-11-04 11:17 UTC+0800 Ron Pinkas <ron@profit-master.com>
* makefile.bc
     Added missing dependancy of source/rtl/tgetint.prg

   * source/rtl/tgetint.prg
     ! Improved __GETA() - No longer uses slow function calls to traverse array.
       bSetGet much faster because it no longer traverses base array every time bSetGet is evaluated,
       because final array dimension is now compiled into the bSetGet :-)
     - Removed no longer needed __GetAValue(

   * tests/testread.prg
     + Added multi dimension GET test.
2000-11-04 19:21:14 +00:00
Ryszard Glab
92e1ff661f ChangeLog 2000-11-04 13:35 UTC+0100 2000-11-04 12:39:40 +00:00
Ron Pinkas
3a7b8b8893 2000-11-02 20:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     + Added rule to accept Get and GetA as FunCall

   * source/compiler/harbour.y
     + Added support for pseudo function _GET_()
   * source/compiler/harbour.l
     + Added _GET_(...) => __GET(...)/__GETA(...) logic from harbour.sly

   * source/macro/macro.slx
     * Corrected YY_DECL #define (Thanks John)

   * source/rtl/tget.prg
   * include/hbextern.ch
     - Removed no longer needed _GET_()
2000-11-03 23:42:27 +00:00
Ron Pinkas
8608b9ce33 2000-11-02 15:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/tget.prg
   * include/hbextern.ch
     + Re-added _GET_() until support of __GET() and __GETA() added to harbour.y
2000-11-02 23:49:19 +00:00
Ron Pinkas
c3cde2a777 2000-11-02 15:20 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     + Added support for extended parameters to __GET() and __GETA()
     ! Corrected 2nd parameter of __GETA() to reflect only the Base Array Name.

   * source/rtl/tget.prg
     ! Added support for :SubScript in __GETA()

   * include/hbextern.ch
     - Removed _GET_
     + Added __GETA
2000-11-02 23:18:49 +00:00
Ron Pinkas
ee24175dc0 2000-11-01 17:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     ! Optimized _GET_ support.
     + Added support for GET of ObjectData and ObjectData ArrayIndex.

   * source/rtl/tget.prg
     + Added method ParsePict() and logic to support dynamic modification of the picture by altering :Picture as in Clipper.

   * tests/testread.prg
     + Added line to demonstrate GET of ObjectData and dynamic modification of a PICTURE clause.
2000-11-02 01:28:51 +00:00
Ron Pinkas
97f36b7075 2000-11-01 04:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     + Added support for pseudo function _GET_(...)
   * source/compiler/harbour.sly
     + Added support for pseudo function _GET_(...) to be converted into appropriate __GET(...) or __GETA(...)
   * source/rtl/tget.prg
     + Added __GETA() to correctly support early binding of Array Element Index of GET
   * tests/testread.prg
     + Added code to test correct (early) binding of Array Element Index of GET
2000-11-01 12:23:24 +00:00
Luiz Rafael Culik
03cc487a48 See changelog 2000-10-26 22:10 GMT -3 2000-10-27 00:16:37 +00:00