diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2001-08-21 14:43:08 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2001-08-21 14:43:08 (GMT) |
commit | c9fb1f587664806275461fcf4b872e8acdd913b9 (patch) | |
tree | 7e8433d81799a34d2318762f17b82e43ed5300d6 /ChangeLog | |
parent | 7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb (diff) | |
download | tk-c9fb1f587664806275461fcf4b872e8acdd913b9.zip tk-c9fb1f587664806275461fcf4b872e8acdd913b9.tar.gz tk-c9fb1f587664806275461fcf4b872e8acdd913b9.tar.bz2 |
TkGetWindowFromObj was useless CPU waster; now caches window names *safely*
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2001-08-20 Donal K. Fellows <fellowsd@cs.man.ac.uk> + + * generic/tkObj.c (TkGetWindowFromObj): Rewrote window code to + reuse a previously worked-out set of window information exactly + when the reference window is the same and no window deletions have + occurred since the object was allocated (display has same epoch + counter.) Required changing the internal rep of the window quite + a bit as now need to save three words-worth of information in the + internal rep (this window, reference window, display epoch.) + * generic/tkObj.c (SetWindowFromAny, DupWindowInternalRep, + FreeWindowInternalRep): Code to support new internal rep for + window objects. + * generic/tkInt.h: Added epoch counter to TkDisplay structure + * generic/tkWindow.c (GetScreen, Tk_DestroyWindow): Epoch counter + is incremented every time a window is deleted. + 2001-08-18 Peter Spjuth <peter.spjuth@space.se> * doc/grid.n: * tests/grid.test: |