Commit Graph
9 Commits
Author SHA1 Message Date
dp@netscape.com 23dadd2acf This patch improves the PNG error-handling. Primarily it fixes a very
subtle compile-time error involving the jmp_buf struct, which can be
different sizes depending on what macros are defined.  Since libpng and
Mozilla are not necessarily compiled at the same time (at least during
development), the only way to guarantee that their concept of jmp_buf
is consistent is to avoid using it at all in one of them; specifically,
replace libpng's default error-handler with essentially the same thing
within Mozilla.  (This will likely be required in a future version of
libpng, btw.)
1999-08-27 04:09:01 +00:00
dp@netscape.com f8faf3d9cf PNG Cleanup from Greg Roelofs <newt@pobox.com>
- eliminate prototypes for libpng functions already declared in png.h
- eliminate prototype for il_create_alpha_mask() (now deleted)
- add "extern" to prototype for row_callback() (in png_png.cpp)
- eliminate il_png_init_transparency() and il_png_destroy_transparency() (never used)
- ifdef out GIF leftovers in il_png_complete()
- This patch plugs the memory leak. il_png_init() does PR_NEWZAP()on
ic->ds; never freed.
- Removed png_png.cpp
1999-08-27 03:54:08 +00:00
pnunn@netscape.com c7063432de Cleaning up returns across api's. pnunn. 1999-08-19 22:22:46 +00:00
dp@netscape.com 2a5aedc586 XPCOM Review of imglib. 1999-08-10 22:41:26 +00:00
pnunn@netscape.com 55ee1df759 fix for bug#924 (from newt@pobox.com), and clean up of unused code. pnunn. ok'd by chofmann. 1999-07-07 19:24:02 +00:00
pnunn@netscape.com 11fbd28c27 fix warnings, #8154. pnunn. 1999-06-25 19:47:25 +00:00
pnunn@netscape.com 6feb64a189 Minor adjustment for testing. pnunn. 1999-06-23 19:54:52 +00:00
pnunn@netscape.com c7ad5e360c Prep work for alpha channel. pnunn. 1999-06-22 20:09:29 +00:00
pnunn@netscape.com 087cdd6ac1 new. decoder. pnunn 1999-04-19 22:03:25 +00:00