summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPPM.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix uninitialized variable in 16-bit PPM handling. [1632447] follow-up.nijtmans@users.sourceforge.net2013-11-111-1/+1
|\
| * Fix uninitialized variable in 16-bit PPM handling. [1632447] follow-up.nijtmans@users.sourceforge.net2013-11-111-1/+1
| |
* | Fix StringReadPPM function from previous commitnijtmans@users.sourceforge.net2013-11-031-1/+1
|\ \ | |/
| * Fix StringReadPPM function from previous commit.nijtmans@users.sourceforge.net2013-11-031-1/+1
| |
* | [1632447]: Allow the PPM maxval to go up to 65535, to conform with a formatdonal.k.fellows@manchester.ac.uk2013-11-031-17/+41
|\ \ | |/ | | definition change from around 2000 (even if that's a rare format).
| * [1632447]: Allow the PPM maxval to go up to 65535, to conform with a formatdonal.k.fellows@manchester.ac.uk2013-11-031-17/+41
| | | | | | definition change from around 2000 (even if that's a rare format).
* | Much more cleaning up of result handling.donal.k.fellows@manchester.ac.uk2012-07-231-27/+26
| |
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.donal.k.fellows@manchester.ac.uk2012-07-161-0/+8
| | | | | | ** WORK IN PROGRESS **
* | Purge RCS Keywordsdgp@users.sourceforge.net2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp@users.sourceforge.net2011-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.donal.k.fellows@manchester.ac.uk2004-03-271-10/+321
| | |
| | * Backport of 923555 fixesdonal.k.fellows@manchester.ac.uk2004-03-261-20/+92
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedonal.k.fellows@manchester.ac.uk2011-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).donal.k.fellows@manchester.ac.uk2008-04-271-7/+7
|/ /
* | merge stable branch onto HEADdgp@users.sourceforge.net2007-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 cleanupdgp@users.sourceforge.net2007-09-071-2/+1
| |
* | restore unix line endingsdgp@users.sourceforge.net2007-06-251-825/+825
| |
* | Cleaning up whitespace, comments, declarations. No functional changes.donal.k.fellows@manchester.ac.uk2007-06-241-830/+825
| |
* | ANSIfy and reduce casting of NULL to promote readabilitydonal.k.fellows@manchester.ac.uk2005-11-171-52/+52
| |
* | Getting more systematic about styledonal.k.fellows@manchester.ac.uk2005-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]donal.k.fellows@manchester.ac.uk2004-03-271-8/+322
| |
* | Tweak to 923555 fix.dgp@users.sourceforge.net2004-03-261-2/+2
| |
* | Allow old-style image formats to create string representations of photos,donal.k.fellows@manchester.ac.uk2004-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 becausedonal.k.fellows@manchester.ac.uk2003-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 accessdonal.k.fellows@manchester.ac.uk2002-06-141-2/+3
|
* Minor fixes as part of TIP#72 (and one just noticed in passing)donal.k.fellows@manchester.ac.uk2002-02-191-2/+2
|
* * generic/tkImgGIF.c:akupries@shaw.ca2001-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