summaryrefslogtreecommitdiffstats
path: root/tests/image.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkImage.c (Tk_ImageObjCmd): Added check to make suredkf2003-01-221-4/+13
| | | | | | | | | | | | that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-52/+41
|
* A better fix for #120819 (all it needed was some Tcl_Preserve()s)dkf2000-11-291-19/+16
| | | | | which also requires no documentation changes - the behaviour is now what you would predict from existing docs (as opposed to a crash!)
* Fixed bug #120819 by prohibiting images from starting with a period;dkf2000-11-231-1/+4
| | | | | | | | | I'm still not quite sure what exactly was going wrong in the bug, but I suspect the problem might have actually been due to the deletion of all images while in the midst of creating an image. The restriction is pretty light when it comes to existing code, since it previously caused a core dump due to an image typePtr field being set to random garbage, an indication of over-eager use of free()...
* * doc/image.n: Added documentation for [image inuse] command.ericm2000-05-151-17/+33
| | | | | | | | * tests/image.test: Added tests for [image inuse] command. * generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command, which provides a means for programmers to determine if a given image is in use by any widgets. [RFE: 3327].
* * Merged 8.1 branch into the main trunkstanton1999-04-161-8/+25
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+357