Commit Graph

99 Commits

Author SHA1 Message Date
Luis Krause
1826983505 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla 2004-03-24 18:05:19 +00:00
Viktor Szakats
0fb3715ffa 2004-02-21 07:39 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/memoread.c
     * Previous change reverted. hb_retc( NULL ) was intentional
       and is an optimized version of hb_retc( "" ). Both will return
       an empty string.
     % hb_fsClose() calls reduced.

   * src/rtl/tbcolumn.prg
   * src/rtl/tbrowse.prg
     ! :SetColumn() retval made compatible.
     ! :ColWidth() retval made compatible.
     % Using array functions to speed up a few things.
     % Got rid of the predefined 4096 long array in every
       columns plus the browse object.
     ; More and more incompatibilities are popping up, some
       of them quite strange, and only coming up in a large
       app's sophisticated browse stressing environment.
       - Removing rightmost column while active will do RTE,
       - If headsep is initialized after the columns and cargo,
         browse will sometimes behave strangely (headsep value
         disappears??)
       - Moving columns off the visible area will screw up
         internals.
       - Modifying columns is slow because of the unconditional
         :configure() calls.
2004-02-21 06:38:03 +00:00
Viktor Szakats
9d455bc0cf 2004-02-16 15:52 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/set.c
     ! Fixed an incompatibility in Set(_SET_EXIT) which caused
       ReadExit() to set the SET value even if called without
       a parameter. Similar incompatibility can exist with other
       sets, but I didn't chk them.
       Now ReadExit() works as expected.

   * src/rtl/tbrowse.prg
     ! Typo.
2004-02-16 14:48:24 +00:00
Viktor Szakats
2679336181 2004-02-16 10:52 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/tbrowse.prg
     + :ColorRect() partial support added. The missing part is
       that in C52 :ColorRect() will update the screen probably
       using some internal buffers for the data, because
       the skipblock for example is not evaluated.

   * src/rtl/filesys.c
     * Some cleanup, optim, comments, added static.
2004-02-16 09:56:22 +00:00
Viktor Szakats
54cd7ccb93 2004-02-15 16:35 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* src/rtl/tbrowse.prg
     ! Fixed to not display headsep/footsep when there's no
       header/footer.
     ! Fixed to display headsep/footsep with the width of
       colsep.

   * makefile.bc
     ! Added DEBUG_LIB for Harbour exes to make them compile
       in debug mode.

   * souce/rtl/gtapi.c
     ! hb_gtSetColorStr() previous change reverted. The mistake
       was on my side most probably.
2004-02-15 15:33:34 +00:00
Viktor Szakats
d26b1bc75c 2004-02-15 05:25 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! :Moved() fixed to always DeHilite() (independently from
       the autolite value). This is in sync with C52 docs
       (see autolite .ng), and testing has shown it to be
       compatible. Only :stabilize should be affected by the
       autolite setting.
     + TODO: added about missing ColorRect functionality.
2004-02-15 04:24:09 +00:00
Viktor Szakats
9efbde5b70 2004-02-15 05:12 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! Fixed color handling to take into account ::defcolor
       of TBColumn. Now TBrowse coloring is C52 compatible.
       For speed wierd cases are not handled like if the value
       of ::defcolor is improper.

   * source/rtl/tgetlist.prg
   * source/rtl/ttopbar.prg
   * source/rtl/tbrowse.prg
     ! DevPos() -> SetPos() (TBrowse() had plenty of them)
     ! Few missing color params added to DispOut*()
2004-02-15 04:10:04 +00:00
Viktor Szakats
f0aadd45ab 2004-02-14 19:14 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tbrowse.prg
     ! SetColumnWidth() fixed for multi-line headers.
2004-02-14 18:12:55 +00:00
Ryszard Glab
144cbe8146 Changelog 2004-01-20 19:15 UTC+0100 Ryszard Glab 2004-01-20 18:07:16 +00:00
Luiz Rafael Culik
0100d14b89 See changelog 2002-10-18 14:40 UTC-0300 2002-10-18 17:40:22 +00:00
Maurilio Longo
2f3d5bb05f 2002-09-04 17:56 UTC+0200 Maurilio Longo <maurilio.longo@libero.it>
* harbour/source/rtl/tbrowse.prg
     ! Fixed cell padding inside ::DispCell(). Character or memo fields have to be
       padded right. Number fields have to be padded left.
2002-09-04 16:00:47 +00:00
Maurilio Longo
14c5859b97 2002-09-02 16:58 UTC+0200 Maurilio Longo <maurilio.longo@libero.it>
* harbour/source/rtl/tbrowse.prg
     ! fixed columns' width calulation on ::SetColumnWidth( oCol ) method
2002-09-02 15:32:50 +00:00
Walter Negro
e9615e3891 * source/rtl/tbrowse.prg
+ Initial support for SetStyle method, compatible with
      Clipper 5.3.
      See tbrowse.ch for support values.
2002-06-21 19:42:15 +00:00
Walter Negro
fca862ab0c * source/rtl/tbrowse.prg
+ Add two instance variables, nRow and nCol. Existing in Clipper 5.3.
      Only was modified the Hilite and SetPos method, for save in
      this variables, the position of cursor.
2002-05-30 03:43:05 +00:00
Luiz Rafael Culik
622bfa49ba See changelog 2002-05-07 08:10 UTC-0300 2002-05-07 10:59:53 +00:00
Luiz Rafael Culik
c16c4438f6 See changelog 2002-04-27 00:10 UTC -0300 2002-04-27 03:22:15 +00:00
Luiz Rafael Culik
0ba79ab575 See Changelog 2002-04-25 08:10 UTC-0300 2002-04-26 11:29:59 +00:00
Luiz Rafael Culik
4fa0077e9c See changelog 2002-03-31 14:00 UTC -0300 2002-03-31 16:53:00 +00:00
Dave Pearson
1622cd0c71 2002-03-19 11:36 UTC+0000 Dave Pearson <davep@davep.org>
* source/rtl/tbrowse.prg
    * Commented out calls to TRACELOG().
  * source/rtl/tgetlist.prg
    * Commented out calls to TRACELOG().
2002-03-19 11:39:24 +00:00
Luiz Rafael Culik
297744b44e See changelog 2002-03-18 12:16 UTC-0300
* source/rtl/listbox.org
    source/rtl/radiobtn.prg
    source/rtl/radiogpr.prg
    source/rtl/checkbox.prg
    source/rtl/tget.prg
    source/rtl/pushbtn.prg
    source/rtl/tbrowse.prg
    source/rtl/getsys.prg
    source/rtl/tgetsys.prg
    * Added the missing Clip53 Methods and Functions
    % minor fix to Clip53 classes
2002-03-18 15:23:59 +00:00
Maurilio Longo
9282e8a8cf 2002-02-27 01:27 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* harbour/source/rtl/tbrowse.prg
      ! fixed columns' width calc (quick and not very much tested)
2002-02-27 00:29:49 +00:00
Maurilio Longo
2b2bae3fa9 2002-02-18 14:01 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed columns footing handling
   * source/rtl/tbcolumn.prg
     ! fixed columns footing handling
2002-02-18 13:04:58 +00:00
Maurilio Longo
f1ff8a413d 2002-02-06 08:34 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed ::aRedraw handling inside ::Stabilize()
2002-02-06 07:32:25 +00:00
Maurilio Longo
de6e92e634 2002-02-05 15:13 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed columns width handling when there are frozen columns
     + columns' width get evaluated just before first TBrowse ::Stabilize()
     + little changes to optimize speed
   * source/rtl/tbcolumn.prg
     ! more clipper compatible (cannot set column width to nil)
2002-02-05 14:15:28 +00:00
Viktor Szakats
38c54411c4 2001-12-17 17:02 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-17 16:01:45 +00:00
Maurilio Longo
cfa68ad692 2001-12-17 14:13 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     * ::DispCell() a little change on Logical values display
2001-12-17 13:14:29 +00:00
Viktor Szakats
f8ae6c3b7a 2001-12-16 21:28 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-16 20:28:30 +00:00
Viktor Szakats
24f7378e8c 2001-12-16 14:53 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-16 13:53:14 +00:00
Luiz Rafael Culik
68c41d708d See changelog 2001-11-21 06:35 GMT -3 2001-11-21 08:40:52 +00:00
Luiz Rafael Culik
6a86451dd4 See changelog 2001-11-06 06:20 GMT -3 2001-11-06 08:22:37 +00:00
Maurilio Longo
381764ff75 2001-11-04 15:54 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! ::Hilite() cursor positioning was wrong for TBrowsers without heading
2001-11-04 14:46:10 +00:00
Dave Pearson
4e7c9996d7 2001-10-10 10:07 GMT Dave Pearson <davep@davep.org>
* source/rtl/tbrowse.prg
     * Fixed bug in :insColumn() as reported by Andreas Moroder in
       <URL:news:comp.lang.clipper>.
2001-10-10 10:14:23 +00:00
Viktor Szakats
a99269cbb4 2001-09-27 14:33 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-09-27 12:44:36 +00:00
Maurilio Longo
508d0d82ef 2001-08-23 14:22 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     * changed/optimized ::DispCell() and ::RedrawHeaders() methods. A little
       faster now.
2001-08-23 12:24:35 +00:00
Maurilio Longo
32c0ca63ba 2001-08-22 01:42 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     * now that DispBox() works as expected I can use it even for 1 line headers/
       footers inside ::RedrawHeaders()
2001-08-21 23:43:37 +00:00
Maurilio Longo
b0e7fd748f 2001-08-18 00:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
   * source/rtl/tbcolumn.prg
     + Added multi-line column header/footer support to TBrowse
2001-08-17 22:12:48 +00:00
Maurilio Longo
32b9bec01f 2001-08-17 15:09 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed ::DispCell() cursor positioning (broken with latest changes to
       implement picture handling)
     * changed ::autolite handling
     ! fixed ::GoBottom() method which was not repainting TBrowse correctly if
       available records were less than available rows.
2001-08-17 13:12:22 +00:00
Luiz Rafael Culik
2bf4f5843e see Changelog 2001-08-11 22:45 GMT -3 2001-08-12 01:39:35 +00:00
Luiz Rafael Culik
4764b6815e See changelog 2001-08-06 20:30 GMT -3 2001-08-06 23:24:43 +00:00
Viktor Szakats
2018498c23 2001-07-23 21:29 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-07-23 19:32:50 +00:00
Maurilio Longo
bd80e8d997 2001-07-18 09:06 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     + activated scoping
   * include/hbapierr.h
     include/hbapiitm.h
     include/hbvm.h
     source/rtl/errorapi.c
     source/vm/hvm.c
     source/vm/itemapi.c
     ! fixed va_start() use or, better, changed it to be compatible with OS/2 EMX GCC
       compiler which REQUIRES that va_start() calls use a type which cannot be promoted
       to something bigger. That is, this call is correct:
       va_start(valist, ulUnsignedLongType)
       while this one is not:
       va_start(valist, usUnsignedShortType)
       Using a type which can be promoted to a bigger one leads to memory corruption.
       I think this requirement could exist even on other ANSI C compilers.
     ! Removed workaround inside hb_itemDo() and hb_itemDoC() to prevent this corruption.
2001-07-18 07:21:03 +00:00
David G. Holm
0e07837322 See ChangeLog entry 2001-04-12 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 18:56:30 +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
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
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
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
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
Maurilio Longo
8eabb95be3 2000-11-27 17:07 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2000-11-27 16:10:21 +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