summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPPM.c
Commit message (Collapse)AuthorAgeFilesLines
* Much more cleaning up of result handling.dkf2012-07-231-27/+26
|
* Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-0/+8
| | | ** WORK IN PROGRESS **
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Backport from HEAD of [Bug #1822391]:Kevin B Kenny2007-11-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkImgPPM.c (StringReadPPM): Corrected a comparison 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].
| | * Backport of FRQ 540375 changes.dkf2004-03-271-10/+321
| | |
| | * Backport of 923555 fixesdkf2004-03-261-20/+92
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-8/+8
| | | | | | | | | using useful casts internally.
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-1/+2
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-7/+7
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * 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