diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2003-03-06 15:05:20 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2003-03-06 15:05:20 (GMT) |
commit | b180774f6bce433082da35c309b89e6bfa766152 (patch) | |
tree | cf2cecb4facabb94108e75d9490c5b0fb25dd347 /ChangeLog | |
parent | 717fec397c31305a08d57a4ca6aa8bc9e038c5a6 (diff) | |
download | tk-b180774f6bce433082da35c309b89e6bfa766152.zip tk-b180774f6bce433082da35c309b89e6bfa766152.tar.gz tk-b180774f6bce433082da35c309b89e6bfa766152.tar.bz2 |
TIP#116 implementation. Docs still to come, tests will never be done because
they could never be done portably as they'd inevitably depend on the total
amount of memory available to the process... :^(
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2003-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk> + + * generic/tkImgPhoto.c (Tk_PhotoExpand, Tk_PhotoPutBlock, + Tk_PhotoPutZoomedBlock, Tk_PhotoSetSize): Added interp argument to + these functions and made them return a standard Tcl result, with + error indicating memory allocation failure instead of panic()ing. + [See TIP #116 at http://purl.org/tcl/tip/116.html for discussion.] + Each of these functions has also acquired a backward-compatability + variant as well, named with a _Panic suffix. + * generic.tk.decls: New API in new slots, back-compat API in old ones. + * generic/tk.h (USE_PANIC_ON_PHOTO_ALLOC_FAILURE): Allow users to + define this symbol to get the old 8.4 photo image API, including + panic() calls when things go wrong. + + * generic/tkImgPhoto.c (ImgPhotoCmd): Adjusted to use the new API + * generic/tkImgGIF.c (FileReadGIF): discussed above. + * generic/tkImgPPM.c (FileReadPPM): + 2003-03-05 David Gravereaux <davygrvy@pobox.com> * win/rules.vc: updated default tcl version to 8.5. |