Commit Graph

25 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
618df79c9b 2008-10-11 04:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapigt.h
  * harbour/source/rtl/gtapi.c
    + added C functions hb_gtLock() and hb_gtUnlock()
      They block current GT for other threads

  * harbour/source/rtl/gtfunc.c
    + added PRG functions hb_gtLock() and hb_gtUnlock()
      They block current GT for other threads - be careful using them
      and always unlock locked GT

  * harbour/source/rtl/scroll.c
    + added HB_SCROLL() function - it works like SCROLL() but supports
      2 additional parameters: color and erase char. It's stateless and
      atomic in GT access

  * harbour/source/rtl/tbrowse.prg
    * use HB_SCROLL() instead of SCROLL(). Now whole TBROWSE class
      does not depend on other thread screen output and does not
      set any GT variables except of cursor positioning to active
      cell when it's enabled

  * harbour/source/rtl/memoedit.prg
  * harbour/source/rtl/tgetlist.prg
  * harbour/source/rtl/tlabel.prg
  * harbour/source/rtl/listbox.prg
  * harbour/source/rtl/tmenusys.prg
  * harbour/source/rtl/achoice.prg
  * harbour/source/rtl/profiler.prg
  * harbour/source/rtl/teditor.prg
    * use atomic stateless functions when possible - this code should
      be checked and updated by some who know it.
2008-10-11 02:56:22 +00:00
Viktor Szakats
ed672c29c9 2008-10-05 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbpers.ch
  * source/rtl/perfuncs.prg
  * source/rtl/objfunc.prg
  * source/rtl/tlabel.prg
  * source/rtl/setta.prg
  * source/rtl/dirscan.prg
  * source/rtl/tthreadx.prg
  * source/rtl/setfunc.prg
  * source/rtl/readvar.prg
  * source/rtl/tclass.prg
  * source/rtl/ttextlin.prg
  * source/rtl/profiler.prg
  * source/rtl/treport.prg
  * source/rtl/tgetint.prg
  * source/rtl/persist.prg
  * source/rtl/altd.prg
  * source/rtl/devoutp.prg
  * source/rdd/usrrdd/example/exmemo.prg
  * source/rdd/usrrdd/example/exhsx.prg
  * source/rdd/usrrdd/example/exfcm.prg
  * source/rdd/usrrdd/example/exrlx.prg
  * source/rdd/usrrdd/rdds/dbtcdx.prg
  * source/rdd/usrrdd/rdds/fptcdx.prg
  * source/rdd/usrrdd/rdds/arrayrdd.prg
  * source/rdd/usrrdd/rdds/hscdx.prg
  * source/rdd/usrrdd/rdds/rlcdx.prg
  * source/rdd/usrrdd/rdds/fcomma.prg
  * source/rdd/usrrdd/rdds/smtcdx.prg
    * Formatting. Basically finished.

  * include/hbextern.ch
    ! Added two missing functions.
2008-10-05 13:57:35 +00:00
Viktor Szakats
ab03dc731d 2008-05-23 21:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/browse.prg
   * source/rtl/getsys53.prg
   * source/rtl/profiler.prg
   * source/rtl/tbrowse.prg
   * source/debug/dbghelp.prg
   * source/debug/dbgwa.prg
   * utils/hbextern/hbextern.prg
   * utils/hbtest/hbtest.prg
   * utils/hbtest/rt_array.prg
   * utils/hbtest/rt_class.prg
   * utils/hbtest/rt_date.prg
   * utils/hbtest/rt_file.prg
   * utils/hbtest/rt_hvm.prg
   * utils/hbtest/rt_hvma.prg
   * utils/hbtest/rt_math.prg
   * utils/hbtest/rt_misc.prg
   * utils/hbtest/rt_str.prg
   * utils/hbtest/rt_stra.prg
   * utils/hbtest/rt_trans.prg
     % FUNCTION -> PROCEDURE
2008-05-23 19:57:49 +00:00
Viktor Szakats
1091b1a150 2007-09-14 18:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tbrowse.prg
     ! Color handling made fully C5.x compatible. Pls test.
     + One C5.3 bug replicated where no special header/footer 
       colors are being used if there is not header/footer separator 
       sepcified.
     ! Fixed compile error (because of unused var warning) when 
       HB_COMPAT_C53 is not defined.

   * source/rtl/numeric.prg
   * source/rtl/memoedit.prg
   * source/rtl/typefile.prg
   * source/rtl/block.prg
   * source/rtl/symbol.prg
   * source/rtl/errorsys.prg
   * source/rtl/scalar.prg
   * source/rtl/nil.prg
   * source/rtl/radiogrp.prg
   * source/rtl/logical.prg
   * source/rtl/array.prg
   * source/rtl/listbox.prg
   * source/rtl/browse.prg
   * source/rtl/characte.prg
   * source/rtl/pushbtn.prg
   * source/rtl/ttextlin.prg
   * source/rtl/profiler.prg
   * source/rtl/date.prg
   * source/rtl/persist.prg
   * source/debug/dbgbrwsr.prg
   * source/debug/tbrwtext.prg
   * source/debug/dbgtmenu.prg
     + Enabled "PROTECTED:" keyword in profiler.prg
     * Finished CLASS declarations to use a more or less consistent syntax 
       inside Harbour (Class(y) compatible except SETGET and the METHOD 
       parameter lists, maybe some more).
     * Finished WHILE, iif(), END, string quotation to be consistent along Harbour.
     ! Fixed some indentations.
     * Some other minor cleanups.
2007-09-15 11:54:39 +00:00
Dave Pearson
ef342897c2 2002-01-24 10:27 UTC+0000 Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * HBProfileLowLevel:gatherOPCodes() wasn't making a call to
       HBProfile:ignoreSymbol() to allow for opcode filtering in sub
       classes. Fixed.
     * Improved the formatting of OPCODE names so that they sort
       properly.
2002-01-24 10:30:07 +00:00
Dave Pearson
a804426ddd 2002-01-24 10:03 UTC+0000 Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     + Added class HBProfileOPCode.
     + Added class HBProfileLowLevel. It inherits from HBProfile and adds
       OPCODE usage entries.
2002-01-24 10:06:58 +00:00
Viktor Szakats
7da71414a9 2002-01-03 23:11 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2002-01-03 22:11:57 +00:00
Viktor Szakats
1c2b5451fc 2001-12-15 12:11 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-15 11:22:29 +00:00
Luiz Rafael Culik
c13d71207e See changelog 2001-10-18 22:10 GMT -3 2001-10-19 00:15:09 +00:00
Dave Pearson
061fc2b32e 2001-09-11 10:37 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Renamed classes from HB_* to HB*.
   * tests/testprof.prg
     * Updated the code to use the new class names.
2001-09-11 10:40:23 +00:00
Dave Pearson
13698198a7 2001-08-23 23:18 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Minor tidy-up of a couple of comments.
   * tests/testprof.org
     * Updated to test the various reporting classes.
2001-08-23 23:20:27 +00:00
Dave Pearson
12a2c7389d 2001-08-03 13:23 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     + Added HB_Profile::ignoreSymbol().
     * Changed HB_Profile::gather() to use HB_Profile::ignoreSymbol() to
       decide if a symbol should be ignored. This will let developers
       modify what is and isn't ignored by subclassing HB_Profile and
       implementing their own version of HB_Profile::ignoreSymbol().
2001-08-03 13:30:01 +00:00
Dave Pearson
8d367335b9 2001-07-30 14:54 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
      * Restored the OO based profile reporter.
2001-07-30 14:56:31 +00:00
Chen Kedem
c612cb8e06 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@actcom.co.il>
(add missing CR+LF at the end of file)
2001-07-30 13:49:28 +00:00
Chen Kedem
5f815f245d 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@actcom.co.il> 2001-07-30 13:46:12 +00:00
Dave Pearson
01e31ce130 2001-07-26 14:30 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
      * Resorted Antonio's profile reporter due to copyright concerns.
2001-07-26 14:32:44 +00:00
Dave Pearson
ba0478158a 2001-07-23 18:24 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Access method `nSeconds' in class HB_ProfileEntity now used
       HB_CLOCKS2SECS to calculate seconds.
2001-07-23 18:27:35 +00:00
Dave Pearson
a3491da45e 2001-07-23 17:37 GMT Dave Pearson <davep@davep.org>
* source/rtl/profiler.prg
     * Replace old profile reporting code with an OO approach.
2001-07-23 17:41:41 +00:00
Antonio Linares
967f0e4401 removed Patrick's copyright 2001-07-18 09:54:52 +00:00
Patrick Mast
efc6887efe 2001-07-16 15:19 GMT+1 Patrick Mast <harbour@PatrickMast.com>
* source/rtl/profiler.prg
     * Renamed function from Profiler() to HB_Profiler()
2001-07-16 13:21:37 +00:00
Patrick Mast
0ef3ee0a23 2001-07-16 13:00 GMT+1 Patrick Mast <harbour@PatrickMast.com>
* source/rtl/profiler.prg
     - Removed <lOnlyUsed> parameter
     + Added <cFile> parameter.
     + Added <lAll> parameter
     + Added Cunsumed time in seconds
     * Replaced MemoWrit() function with more controllable f* functions
     + profiler() returns a array with profiler info

       Profiler()
        => Writes NO info to file, returns Array of profiler info.
           Array only contains USED functions/classes.

       Profiler(,.t.)
        => Writes NO info to file, returns Array of profiler info.
           Array only contains ALL functions/classes.

       Profiler("profiler.txt")
        => Writes profiler info to <profiler.txt> and returns Array of
           profiler info. Array only contains USED functions/classes.

       Profiler("profiler.txt", .t.)
        => Writes ALL profiler info to <profiler.txt> and returns Array of
           profiler info. Array contains ALL functions/classes.
2001-07-16 12:16:32 +00:00
Patrick Mast
c682c4918e 2001-07-15 16:23 GMT+1 Patrick Mast <harbour@PatrickMast.com>
* source/rtl/profiler.prg
     + Added the <lOnlyUsed> parameter. If profiler is used like
       this Profiler(.t.), the profiler.txt will only be filled
       with used classes and/or functions.
2001-07-15 14:26:00 +00:00
Antonio Linares
783f71945f $id added 2001-06-30 12:32:52 +00:00
Antonio Linares
21e04bc13c Added support for functions and procedures 2001-06-30 08:33:17 +00:00
Antonio Linares
32ca00ef78 *** empty log message *** 2001-06-29 14:36:07 +00:00