| 1 |
This file summarizes all changes made to Img since version 1.0 was |
| 2 |
released in April, 1997. |
| 3 |
|
| 4 |
6/5/97 (bug fix) removed fclose() in imgTIFF.c, because the generic |
| 5 |
image code already closes the file. This resulted in a crash |
| 6 |
on some machines, when reading a tiff file from disk. |
| 7 |
|
| 8 |
6/9/97 Added Channel functions for all format handlers. Needed to |
| 9 |
make everything work again in combination with Tk8.0b1. |
| 10 |
|
| 11 |
6/12/97 Removed Xlib sub-directory and moved tkWinInt.h and tkMacInt.h |
| 12 |
to the main directory. reason: Xlib.h is already installed by |
| 13 |
Tk, so there is no need for Img to do it as well. |
| 14 |
|
| 15 |
6/12/97 (bug-fix) test.png in reality was an XPM file. |
| 16 |
|
| 17 |
6/12/97 Upgraded libpng to version 0.96 |
| 18 |
|
| 19 |
7/1/97 Removed __eprintf() function: The assert() function |
| 20 |
(which was the problem) can be disabled with |
| 21 |
-DNDEBUG as well, which is much simpler. |
| 22 |
|
| 23 |
7/1/97 Fixed bug in PNG interlace handling: Now interlaced |
| 24 |
images will be produced by default. |
| 25 |
|
| 26 |
7/1/97 Added support for animated GIF. Not complete yet. |
| 27 |
|
| 28 |
7/10/97 Added support for binary I/O in all format handlers. The |
| 29 |
initialization automatically detects if the current Tcl |
| 30 |
version supports this. |
| 31 |
|
| 32 |
7/11/97 Construction of new patch.tk8, which combines Steve Ball's |
| 33 |
work with mine. Now binary I/O is fully supported. |
| 34 |
|
| 35 |
7/16/97 Removed the "fromData" hack from all format handlers. |
| 36 |
|
| 37 |
7/17/97 Speedup of TIFF format handler: No longer uses a temporary |
| 38 |
file to store intermediate results, but does everyting |
| 39 |
in memory. This enhancement uses the function TIFFClientOpen, |
| 40 |
which is only available in newer TIFF libraries. If this |
| 41 |
function cannot be found, the slower original approach is |
| 42 |
taken. |
| 43 |
|
| 44 |
7/18/97 Added support for BMP format. Still incomplete. |
| 45 |
|
| 46 |
7/20/97 Completed support for animated GIF. Added example animated |
| 47 |
GIF to demo. |
| 48 |
|
| 49 |
7/24/97 Added support for 1-bit BMP images. Now only |
| 50 |
RLE decompressing left to be implemented. |
| 51 |
|
| 52 |
7/26/97 Changed TIFF handler such that libz and libjpeg are |
| 53 |
only loaded when needed (new files imgTIFFjpeg.c and |
| 54 |
imgTIFFzip.c, adapted from tif_jpeg.c and tif_zip.c |
| 55 |
from the TIFF source). |
| 56 |
|
| 57 |
7/26/97 Added postscript format handler (imgPS.c), read only. |
| 58 |
Assumes that Ghostscript (version 2.6 or higher) |
| 59 |
is installed on your system. |
| 60 |
|
| 61 |
7/28/97 Changed GIF format string to be "gif -index <n>" in stead of |
| 62 |
"gif <n>". The old format is still accepted for backwards |
| 63 |
compatibility with version 1.1b1, but no longer documented. |
| 64 |
|
| 65 |
8/1/97 Added option "-zoom" to postscript handler. |
| 66 |
|
| 67 |
8/11/97 Modified all patches to correct the "imageName copy" |
| 68 |
command. Previously it didn't handle transparency |
| 69 |
correctly. Plus another bug fix related to the alpha |
| 70 |
channel. Thanks to Nick Ing-Simmons <[email protected]> |
| 71 |
for providing the fix. |
| 72 |
|
| 73 |
8/12/97 Bug fix. Transparency turned out not to be handled correctly |
| 74 |
for paletted PNG images. Tk and XV cannot produce such images, that's |
| 75 |
why this is not discovered earlier. Thanks to Stephane Lavirotte |
| 76 |
<[email protected]> for pointing this out. |
| 77 |
|
| 78 |
8/13/97 Converted the "format" argument of the Image API to Tcl_Obj's. |
| 79 |
This influenced all source files and "patch.tk8". So, you |
| 80 |
cannot use older versions of "patch.tk8" with Img1.1 any more, |
| 81 |
and the latest "patch.tk8" doesn't work with Img1.1b3 as well. |
| 82 |
|
| 83 |
8/16/97 Added "install.tcl" and "tkv.tcl" |
| 84 |
|
| 85 |
8/18/97 Tcl8.0a1 and Tcl8.0a2 are no longer supported. |
| 86 |
|
| 87 |
8/18/97 Adapted "patch.tk8" to the final Tk8.0 release. Constructed |
| 88 |
new files "patchtk8.tgz" and "patchtk8.zip", which contain |
| 89 |
a collection of the Tk8.0 files that changed. The latter files |
| 90 |
are not distributed with Img 1.1, but can be found in the |
| 91 |
same directory where you got Img 1.1. |
| 92 |
|
| 93 |
----------------- Released 1.1, 8/18/97 ----------------------- |
| 94 |
|
| 95 |
8/21/97 (bug fix) "tkv.tcl" didn't display the menu's correctly using |
| 96 |
Tk4.2, apart from the fact that they turned out to look horrible |
| 97 |
on Windows anyway. In combination with Tk8.0, Tkv uses the new |
| 98 |
menu interface now, which doesn't have this problem. |
| 99 |
|
| 100 |
8/21/97 (bug fix) "demo.tcl" changed the working directory when the |
| 101 |
additional tests are interrupted by using the "dismiss" button. |
| 102 |
|
| 103 |
8/21/97 (bug fix) Removed POSIX dependancies from imgInit.c, imgPmap.c, |
| 104 |
imgPS.c and imgTIFF.c. This will make porting to non-POSIX |
| 105 |
systems (e.g. Mac) easier, but makes no difference on |
| 106 |
POSIX-compliant machines. |
| 107 |
|
| 108 |
8/22/97 Added file MW_ImgHeader.pch, which is used as a pre-compilied |
| 109 |
header source for all files in the Img package. This make compilies |
| 110 |
go a bit faster. This file is only intended to be used in the |
| 111 |
MetroWerks CodeWarrior environment. |
| 112 |
|
| 113 |
8/24/97 Added "patch.tkx", which enhances the TclX help system to |
| 114 |
reflect the changes in patch.tk4 and patch.tk8 |
| 115 |
|
| 116 |
8/26/97 (bug fix) JPEG handler crashed on some machines when writing |
| 117 |
big JPEG images to disk. Thanks to Peter T. Waltenberg |
| 118 |
<[email protected]> for reporting this bug, and for |
| 119 |
providing an example script which demonstrated this problem. |
| 120 |
|
| 121 |
8/27/97 (bug fix) Serveral minor changes to remove warning when compiling |
| 122 |
under Windows and Mac. Thanks to Mazin As-Sanie <[email protected]> |
| 123 |
for reporting those to me. |
| 124 |
|
| 125 |
8/27/97 (bug fix) Eliminated Tcl_Realloc() call in imgTIFF.c. This function |
| 126 |
didn't exist yet in Tk4.2 and before. |
| 127 |
|
| 128 |
9/5/97 (bug fix) install.tcl assumed that the PATH enviroment variable |
| 129 |
was a ':'-separated list. This is correct on UNIX, but on Windows |
| 130 |
the separation character should be ';' |
| 131 |
|
| 132 |
9/7/97 (bug fix) Fixed patch.tk8 such that the "imgName copy" command |
| 133 |
handles transparency fully correct. Previously copied pixels |
| 134 |
just replaced the existing pixels and the regions were not |
| 135 |
merged correctly. Now that has been fixed. If a partially trans- |
| 136 |
parent pixel is copied on top of an already partially transparent |
| 137 |
pixel, a new color and a new transparency value is determined, |
| 138 |
consisting of a combination of both. |
| 139 |
|
| 140 |
9/8/97 (bug fix) GIF handler didn't handle local colormaps correctly. |
| 141 |
Lucky enough most GIF's only have a global colormap. |
| 142 |
|
| 143 |
----------------- Released 1.1p1, 9/9/97 ----------------------- |
| 144 |
|
| 145 |
10/1/97 (bug-fix) Oops. Previous bug-fix was not correct :-( |
| 146 |
Still didn't work with local colormaps. |
| 147 |
|
| 148 |
10/17/97 (bug fix) patch.tix didn't correctly initialize |
| 149 |
the variable "format", because this variable |
| 150 |
was disturbed by the new initialization code. |
| 151 |
|
| 152 |
10/22/97 (bug-fix) Applied the official patch #1 to libz 1.0.4. |
| 153 |
This makes the library more robust in respect to |
| 154 |
corrupted compressed streams. (see README.ZLIB) |
| 155 |
|
| 156 |
11/1/97 (bug-fix, feature change) Upgraded tiff library |
| 157 |
to version 3.4.37 (was 3.4.33) |
| 158 |
|
| 159 |
11/1/97 Eliminated the function Tk_ParseArgv(), which makes |
| 160 |
the tiff- and jpeg- handlers thread-safe. As long as |
| 161 |
Tk is not thread-safe this doesn't help much, but at |
| 162 |
least Img is prepared now for the multi-threaded future. |
| 163 |
|
| 164 |
11/3/97 Added rule to makefile.vc to build Img for Tk8.1. This is |
| 165 |
not guaranteed because Tk8.1 is not released yet, but if |
| 166 |
there are not too much incompatibilities it should work. |
| 167 |
|
| 168 |
11/3/97 Enhanced the bitmap image type (in patch.tk8) to use |
| 169 |
the new Tcl_Obj API. |
| 170 |
|
| 171 |
11/9/97 (feature change) Adapted patch.tk4 and patch.tk8 such |
| 172 |
that "imageName read" and "imageName put" now return |
| 173 |
the format of the readed data in stead of the empty string. |
| 174 |
|
| 175 |
11/9/97 (feature change) Added logluv compression support to |
| 176 |
TIFF format handler. |
| 177 |
|
| 178 |
11/9/97 Recreated patch.tk8 using Tk8.0p1, and also created |
| 179 |
new files patchtk8.tgz and patchtk8.zip from it. |
| 180 |
Documented that Img is now tested with Tk8.0p1 as well. |
| 181 |
|
| 182 |
----------------- Released 1.1p2, 11/10/97 ----------------------- |
| 183 |
|
| 184 |
11/15/97 (new feature) Added imgWindow.c |
| 185 |
|
| 186 |
11/25/97 (new feature) Added libttf.so (ttf.dll on Windows) |
| 187 |
|
| 188 |
11/27/97 (enhancement) Made the changes required by the new Apple |
| 189 |
Universal Headers V.3.0, so that Img will compile with CW Pro 2. |
| 190 |
|
| 191 |
11/30/97 PNG hopepage has moved. Changed README.PNG accordingly. |
| 192 |
|
| 193 |
12/7/97 Added PDF encoder, using ghostscript. Doesn't work yet. |
| 194 |
|
| 195 |
12/15/97 Removed support for Tk4.2. |
| 196 |
|
| 197 |
12/30/97 Added support for byteArrays. This fixes binary I/O in |
| 198 |
combination with Tk8.1a1. |
| 199 |
|
| 200 |
1/27/98 Added patch.tk81a1, created with the official Tk8.1a1 |
| 201 |
distribution. |
| 202 |
|
| 203 |
1/28/98 Upgrade to libz version 1.0.8. |
| 204 |
|
| 205 |
----------------- Released 1.2a1, 1/28/98 ----------------------- |
| 206 |
|
| 207 |
2/27/98 Upgrade to libz version 1.0.8. |
| 208 |
|
| 209 |
2/27/98 Upgrade to libpng version 0.99d, fixing shared library |
| 210 |
version number to 2.0.99, as suggested by png.h. |
| 211 |
|
| 212 |
10/25/98 Fixed imgWindow.c for Windows. Patch supplied by |
| 213 |
Robin Becker <[email protected]>. |
| 214 |
|
| 215 |
11/19/98 Upgrade to libz 1.1.3, libpng 1.0.2 and libttf 2.0.1. |
| 216 |
|
| 217 |
11/19/98 Fixed configure script in order to work with Tcl8.0.3 |
| 218 |
and also the upcoming 8.0.4 and 8.0.5 |
| 219 |
|
| 220 |
3/14/99 Added 8.1b2 compatible Stub support |
| 221 |
|
| 222 |
3/14/99 Removed libttf and libgif support. |
| 223 |
|
| 224 |
----------------- Released 1.2b1, 3/14/99 ----------------------- |
| 225 |
|
| 226 |
3/19/99 Finished "Makefile.gnu". Some more tweaking of Tk and CygWin |
| 227 |
header-files is needed to make it work, but at least Img has |
| 228 |
full CygWin support now. Only works with CygWin B20.1 and higher. |
| 229 |
|
| 230 |
3/29/99 Better support for byte-compiler in demo.tcl and tkv.tcl, |
| 231 |
using {}'s around expressions always. Also removing |
| 232 |
old Tk4.2 compatible menu-code. |
| 233 |
|
| 234 |
3/29/99 Internal changes, using Tcl_Obj's in more places. |
| 235 |
Suggested by Nick Ing-Simmons. This will make the |
| 236 |
port to perl/Tk easier. |
| 237 |
|
| 238 |
3/29/99 Upgrade to libpng 1.0.3 |
| 239 |
|
| 240 |
----------------- Released 1.2b2, 3/29/99 ----------------------- |
| 241 |
|
| 242 |
5/23/99 Documentation enhancements: Everything is available in |
| 243 |
html now. |
| 244 |
|
| 245 |
----------------- Released 1.2, 5/23/99 ----------------------- |
| 246 |
|
| 247 |
9/3/99 Added suitable patch for Tk8.2.0 |
| 248 |
|
| 249 |
9/7/99 Modified BMP generation to generate 8-bit paletted if |
| 250 |
there are less than 257 colors but more than 512 pixels. |
| 251 |
Donated by Roger E Critchlow Jr <[email protected]> |
| 252 |
|
| 253 |
9/7/99 Upgraded tiff library to version 3.5.1, thereby disabling |
| 254 |
lzw support. |
| 255 |
|
| 256 |
----------------- Released 1.2.1, 9/16/99 ----------------------- |
| 257 |
|
| 258 |
10/16/99 Upgraded tiff library to version 3.5.2 and png library |
| 259 |
to version 1.0.5. LZW-support is still disabled. |
| 260 |
|
| 261 |
10/19/99 Modified PNG gamma correction following the latest |
| 262 |
PNG 1.2 specification. |
| 263 |
|
| 264 |
10/26/99 Applied official fax3-patch to libtiff 3.5.2, fixing |
| 265 |
certain fax3 images (whatever that may be.....). |
| 266 |
|
| 267 |
10/26/99 Modified zlib to use the _stdcall in stead of the _cdecl |
| 268 |
convention. This is the way Gilles Vollent compiles it's |
| 269 |
zlib dll's, and he is the 'official' zlib windows maintainer. |
| 270 |
INCOMPATIBLE on Windows!!!!!!!!!!!!! |
| 271 |
|
| 272 |
10/26/99 Fixed undocumented base-64 encoder/decoder to correctly |
| 273 |
report "wrong number of arguments". |
| 274 |
|
| 275 |
10/27/99 Fixed bug in BMP handler, which caused sometimes colors |
| 276 |
to be distorted when reading certain BMP images. |
| 277 |
|
| 278 |
----------------- Released 1.2.2, 10/27/99 ----------------------- |
| 279 |
|
| 280 |
11/10/99 Modified all handlers to use the extended Photo API when |
| 281 |
running with Tk8.3 or higher. |
| 282 |
|
| 283 |
11/10/99 Fixed tkv.tcl (from demo.tcl) and tests to be independant |
| 284 |
from working directory. |
| 285 |
|
| 286 |
11/10/99 Fixed libpng/makefile.vc to use _stdcall convention for |
| 287 |
zlib functions. |
| 288 |
|
| 289 |
1/15/2000 Fixed "-encoding none" problem. |
| 290 |
|
| 291 |
1/15/2000 Upgraded libtiff to version 3.5.4 |
| 292 |
|
| 293 |
1/15/2000 All handler names are now in lower-case. |
| 294 |
|
| 295 |
----------------- Released 1.2.3, 1/16/2000 ----------------------- |
| 296 |
|
| 297 |
5/7/2000 Added some missing symbols to tclLoadNone.c |
| 298 |
|
| 299 |
5/7/2000 Fixed missing "-rpath" option. Bug reported by Larry Virden. |
| 300 |
|
| 301 |
5/7/2000 Made PNG handler independant of jmpbuf support in libpng. |
| 302 |
This makes Img work with libpng 1.1 (still in beta, and |
| 303 |
unlikely ever to be released to the public), and hopefully |
| 304 |
also with more future libpng versions. |
| 305 |
|
| 306 |
5/10/2000 Fixed possible infinite loop in XBM format handler. Bug |
| 307 |
reported by Gianandrea Rigoni |
| 308 |
|
| 309 |
5/11/2000 Changed URL of zlib and libpng to point to the current |
| 310 |
location everywhere. |
| 311 |
|
| 312 |
7/8/2000 Upgraded libtiff to version 3.5.5 |
| 313 |
|
| 314 |
7/9/2000 Internationalized demo.tcl and tkv.tcl |
| 315 |
|
| 316 |
7/13/2000 Bug-fix in BMP write function. If an image contained more |
| 317 |
than 256 colors, only the first 256 where stored in the |
| 318 |
color table. Bug reported by [email protected] |
| 319 |
|
| 320 |
8/9/2000 Upgraded libpng to version 1.0.8 |
| 321 |
|
| 322 |
8/11/2000 Fixed Postscript handling when the image size is larger |
| 323 |
than the default page size. BUG-report and fix suggestion |
| 324 |
by Carlos Vidal. |
| 325 |
|
| 326 |
8/12/2000 Made PNG handler independant of the png_init_io() function |
| 327 |
and stdio; some libpng versions (e.g. the official dll's |
| 328 |
for Windows from the PNG group) lack this function |
| 329 |
(and for a good reason............). |
| 330 |
|
| 331 |
8/12/2000 Removed the patches subdirectory from the distribution. If |
| 332 |
you are able to install the patches, you are also able to |
| 333 |
install Tcl 8.3.2 (or higher), which is a much better idea. |
| 334 |
|
| 335 |
----------------- Released 1.2.4, 8/13/2000 ----------------------- |