summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-08-21 14:43:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-08-21 14:43:08 (GMT)
commitc9fb1f587664806275461fcf4b872e8acdd913b9 (patch)
tree7e8433d81799a34d2318762f17b82e43ed5300d6 /ChangeLog
parent7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb (diff)
downloadtk-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--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c08b97..084442d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: