Commit Graph

4 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
7c08c8067e 2009-03-23 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    + added support for xBase++ method code declaration by
         METHOD <clasName>:<methodName>[ ( <parameters,...> ) ]
      f.e.:
         METHOD TBrowse:Configure( nMode )

  * harbour/source/rtl/tthreadx.prg
  * harbour/source/rtl/thfuncx.prg
    ! fixed 0 timeout parameter in some xBase++ compatible functions
      In xBase++ timeout 0 means wait forever

  * harbour/tests/speedtst.prg
    * update to compile with MT support using xBase++ MT .prg API.
      I tested it only using Harbour by compiling this code with
      -D__XPP__ macro and it works using only xBase++ MT .prg API
      we are emulating.
      Please make some tests with real xBase++ compiler.
2009-03-23 19:39:59 +00:00
Viktor Szakats
d13af773dd 2009-02-02 17:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/cmpopt.txt
    ! Fixed missing SVN keyword.
      [Przemek was faster]

  * source/rtl/perfuncs.prg
  * source/rtl/menuto.prg
  * source/rtl/getlist.prg
  * source/rtl/readvar.prg
  * source/rtl/thfuncx.prg
  * source/rtl/text.prg
    * Renamed THREAD STATIC vars to t_* (from s_*).
2009-02-02 16:32:36 +00:00
Przemyslaw Czerpak
af1e261b5b 2008-10-09 20:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
    + added thfuncx.prg

  * harbour/source/rtl/thfuncx.prg
    + added ThreadObject() function

  * harbour/source/rtl/tthreadx.prg
    + added xBase++ compatible TThread class.
      Special thanks to Pritpal Bedi for class skeleton with info about
      xbase++.
      Now only basic functionality is supported though it was enough to
      compile and execute examples Pritpal sent. I'm leaving rest for
      xBase++ users.
      BTW The examples suggest that in xbase++ DispOutAt() does not change
      cursor position. It's not Clipper compatible so I cannot make it
      in Harbour though I can add new function which will work in such way.
2008-10-09 18:51:31 +00:00
Przemyslaw Czerpak
42d6d50796 2008-10-09 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/source/rtl/thfuncx.prg
    * added xbase++ compatible functions:
         ThreadID() -> <nThId>
         ThreadWait( <aThreads>, <nTimeOut> ) -> <oThread> | <pThId> | NIL
         ThreadWaitAll( <aThreads>, <nTimeOut> ) -> <lAllFinished>
      In Harbour <aThreads> can be array of thread pointers or thread
      objects. xbase++ compatible thread class I'll add later.
2008-10-09 15:03:06 +00:00