summaryrefslogtreecommitdiffstats
path: root/tests/image.test
Commit message (Collapse)AuthorAgeFilesLines
* (c) -> ©jan.nijtmans2020-12-091-1/+1
|
* Merge trunkjan.nijtmans2020-10-091-4/+2
|\
| * Merge 8.6jan.nijtmans2020-10-091-4/+2
| |\
| | * select-10.4 sometimes fails on Ubuntu too. Remove constraint from image-6.2, ↵jan.nijtmans2020-10-091-4/+2
| | | | | | | | | | | | and relax it for additional possible image types
* | | Merge trunkjan.nijtmans2020-10-051-3/+3
|/ /
* | Merge 8.6marc_culler2020-07-181-14/+3
|\ \ | |/
| * Better control over when drawRect runs. Add check for drawing outside of ↵culler2020-06-011-14/+3
| | | | | | | | the drawRect clipping rectangle.
* | Remove many unnessesaary curly-braces in testcasesjan.nijtmans2020-06-091-1/+1
| |
* | When TK_NO_DEPRECATED is defined or when Tk is compiled with Tcl 9 headers, ↵jan.nijtmans2020-06-081-2/+4
|/ | | | no longer support the oldImageType.
* Use vwait in image.test instead of after.culler2019-10-101-15/+15
|
* Change a few "update idletask" from previous commit back to "update". Other ↵jan.nijtmans2019-10-101-6/+6
| | | | platforms most likely need it this way.
* Cherry-pick test-case changes from catalina_more_tests branch. They appear ↵jan.nijtmans2019-10-101-6/+13
| | | | to work fine on other platforms, so they deserve more exposal separate from the Catalina-specific changes.
* Use single-argument "expr" as much as possible. Not complete yet, but most ↵jan.nijtmans2019-06-051-1/+1
| | | | trivial places are done.
* Tweak test image-7.1.culler2019-05-241-0/+3
|
* Wait more carefully, since no wait is needed for Windows or linux.culler2019-05-231-4/+12
|
* Use vwait with a timeout to wait for test image display, as suggested by dkf.culler2019-05-211-20/+8
|
* On OSX 10.13 and earlier a different strategy is needed.culler2019-05-211-4/+4
|
* Sometimes update is not enough, and you just have to wait.culler2019-05-211-23/+39
|
* Rework image testing to better deal with Aquaculler2019-05-211-4/+16
|
* Adding update commands in the setup section fixes sporadic test failuresculler2018-11-131-0/+2
| | | in image.test and canvImg.test.
* Fix [ddeef0e069]: Some canvImg tests fail on macOSfvogel2018-04-301-5/+5
|
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkImage.c: Stopped [image create] from generating andgp2003-09-171-1/+13
| | | | | | | | | | | | | | | * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
* | | Tk tests that create images need to be independent of the interpreter ↵patthoyts2009-01-131-123/+128
| | | | | | | | | | | | environment.
* | | Update to tcltest2aniap2008-08-151-211/+393
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-2/+2
|/ /
* | [Tk Bug 1712081]dgp2007-05-141-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* | Split duplicate test names [Bug 1078648]dkf2004-12-041-2/+2
| |
* | * tests/constraints.tcl:When running the test suite in a processdgp2003-11-181-5/+10
| | | | | | | | | | | | | | | | * tests/image.test: where Tk has been [load]ed, there's no * tests/select.test: guarantee that child processes created by * tests/unixWm.test: [exec [interpreter]] will have Tk in them. * tests/window.test: Made modifications to force a [load] of Tk in those situations.
* | * generic/tkImage.c: Stopped [image create] from generating andgp2003-09-171-1/+13
| | | | | | | | | | * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
* | Stop deleted images from showing up in the various [image *] operations.dkf2003-05-081-10/+23
| | | | | | | | Can't delete early though as that removes the link with widgets and image names.
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-10/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * 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