summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPPM.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkImgPPM.c (StringReadPPM): Corrected a comparisonKevin B Kenny2007-11-261-2/+2
| | | | | | | whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391].
* header cleanupdgp2007-09-071-2/+1
|
* restore unix line endingsdgp2007-06-251-825/+825
|
* Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-241-830/+825
|
* ANSIfy and reduce casting of NULL to promote readabilitydkf2005-11-171-52/+52
|
* Getting more systematic about styledkf2005-08-101-117/+121
| | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* Allow PPMs to be read from a string. [FRQ 540375]dkf2004-03-271-8/+322
|
* Tweak to 923555 fix.dgp2004-03-261-2/+2
|
* Allow old-style image formats to create string representations of photos,dkf2004-03-261-18/+92
| | | | and allow the production of PPM format data in a string. [Bug 923555]
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-061-4/+10
| | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-2/+3
|
* Minor fixes as part of TIP#72 (and one just noticed in passing)dkf2002-02-191-2/+2
|
* * generic/tkImgGIF.c:andreas_kupries2001-09-141-1/+3
| | | | | | | | | * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkMenu.c: Applied patch [461578], provided by Vincent Darley. This fixes several memory leaks in the image code. They happen if there are errors during the initialization of the channel the image is supposed to be read from.
* * generic/tk.h:hobbs1999-12-211-6/+2
| | | | | | | | | | | | | | | | | * README: updated for patch level 8.3b1 * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897] * generic/tk3d.c: added extra calculations to ensure that thin frames get refreshed too [Bug: 3596] * generic/tkCanvText.c: * generic/tkEntry.c: * generic/tkFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used.
* * generic/tk.h:hobbs1999-10-291-1/+3
| | | | | | | | | | | | | | | * generic/tkCmds.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgGIF.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkTest.c: * generic/tkWindow.c: * tests/imgPhoto.test: added Img patch (Nijtmans) with docs, headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to Tcl_Obj API, adds alpha channel (images are now 32 bpp)
* Patches from Bug: 2068 2080 2269redman1999-07-011-1/+2
|
* merged 8.1.0 changes into mainlinestanton1999-04-241-1/+10
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-5/+5
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+421