| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
in case of premature end of image data, return error instead of
passing nil buffer to Tk_PhotoPutBlock().
|
|
|
|
| |
It served no useful purpose whatsoever...
|
|
|
|
| |
always deallocated on function exit to stop a potential memory leak.
|
|
|
|
| |
[Bug #467524] (obermeier)
|
| |
|
| |
|
|
|
|
|
| |
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
operator and possible FMR.
|
|
|
|
|
| |
* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
problem with the GIF writing code [Bug: 5823].
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
compile problems with non-ANSI compilers (ie, replace const with
CONST, etc). [Bug: 4223].
|
|
|
|
|
|
| |
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/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/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]
|
|
|
|
| |
one decoder! neat!)
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
[Bug: 2039, new patch]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
| |
|
| |
|
|
|