summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
Commit message (Collapse)AuthorAgeFilesLines
* SetOptions.3: minor doc fixjan.nijtmans2012-06-191-1/+1
| | | | make various other tables CONST (All backported from Tk 8.6)
* [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-2/+2
|
* Purge RCS Keywords.dgp2011-06-081-2/+0
|
* * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2006-4484).rmax2008-02-011-1/+7
| | | | * tests/imgPhoto.test: Added a test for the above.
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-2/+2
| | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above.
* Fix (and add test for) [Bug 1458234]dkf2006-03-271-14/+14
|
* * generic/tkImgGIF.c: cast calls to block_outhobbs2005-12-011-3/+3
|
* Plug a buffer overflow in the GIF readerdkf2005-06-201-22/+33
|
* * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:das2004-07-271-4/+5
| | | | | in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock().
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-201-5/+1
| | | | It served no useful purpose whatsoever...
* * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer isdkf2003-02-181-9/+13
| | | | always deallocated on function exit to stop a potential memory leak.
* * generic/tkImgGIF.c (FileReadGIF): fixed -from handling for gifshobbs2002-08-081-5/+5
| | | | [Bug #467524] (obermeier)
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-2/+3
|
* tkImgGIF.c was not following the Tcl C style; fixed...dkf2002-02-191-571/+676
|
* * Updates to handle change in type of tablePtrdgp2002-01-171-2/+2
| | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
* * generic/tkImgGIF.c:andreas_kupries2001-09-141-1/+2
| | | | | | | | | * 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/tkImgGIF.c (Mgetc): corrected screwy use of ternaryhobbs2001-07-031-2/+3
| | | | operator and possible FMR.
* * tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].ericm2000-07-051-47/+28
| | | | | * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823].
* * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to beericm2000-05-301-6/+8
| | | | | | static char arrays with integer initialization, to address EBCIDIC vs. ASCII encoding issues and to handle compilers that don't deal with "\xAB" syntax for specifying hex values in strings.
* * generic/tkImgGIF.c: Fixed some ANSI specific bits to avoidericm2000-03-301-5/+5
| | | | | compile problems with non-ANSI compilers (ie, replace const with CONST, etc). [Bug: 4223].
* * generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (theericm2000-02-261-16/+34
| | | | | | submitted patch was more complicated than necessary and did not extend to writing GIF's, only reading), to allow reading/writing of GIF files on EBCDIC and other non-ASCII based systems.
* * generic/tkImgGIF.c (FileReadGIF): added cast for trashBufferhobbs2000-02-101-2/+2
| | | | | | | | | | | | | | * generic/tkIntXlibDecls.h: * generic/tkInt.decls: declared some Xlib emulation calls for the Mac * generic/tkFrame.c (TkInstallFrameMenu): added extra panic to inform user of bad call when framePtr is NULL [Bug: 2530] * generic/tkMenu.c (DestroyMenuInstance): Placed checks around menu name objects before trying to incr the ref. [Bug: 3402] * generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
* * generic/tkDecls.h:hobbs2000-02-081-9/+9
| | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tk.h: moved new public functions created in dash patch to the stubs interface [Bug: 4062] * generic/tk.h: * doc/CrtImgType.3: * doc/CrtPhImgFmt.3: * generic/tk.h: * generic/tkImgGIF.c: * generic/tkImgPhoto.c: * generic/tkStubImg.c (new file): * generic/tkTest.c: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: improved support for moving from the old style image C API to the new obj'ified one with new Tk_InitImageArgs command and stub'ing of image code. See docs for how to make the transition. [Bug: 4060]
* * generic/tkImgGIF.c: Additional code cleanup (now we only haveericm2000-01-271-163/+44
| | | | one decoder! neat!)
* * generic/tkImgPhoto.c: Added some comments regarding slowericm2000-01-261-94/+270
| | | | | | | | | | | processing of transparent images. * generic/tkImgGIF.c: Improved GIF decoder for ~60% speed increase. Added some comments on how to further improve the implementation, time permitting. * doc/photo.n: Added a description of what the -data string can contain (base64 or binary data).
* * generic/tkImgGIF.c: updated castinghobbs1999-12-091-10/+12
|
* added (int) casthobbs1999-11-301-2/+2
|
* * generic/tkImgGIF.c: added GIF writing that uses miGIF RLEhobbs1999-11-301-3/+767
| | | | [Bug: 2039, new patch]
* * generic/tk.h:hobbs1999-10-291-85/+201
| | | | | | | | | | | | | | | * 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 branch into the main trunkstanton1999-04-161-26/+39
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1059