Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
François Revel
093d9567f1
Accomodate for antique versions of libpng (as found with the BeOS R5 devkit), which either:
...
- don't define the png_jmpbuf macro,
- have a different name for png_set_expand_gray_1_2_4_to_8().
svn path=/trunk/netsurf/; revision=10069
2010-02-17 22:25:03 +00:00
Vincent Sanders
b3ba443c64
update png handler to not use deprecated/removed call.
...
improve type usage to avoid incompatible pointer type warnings on newer libpng versions.
svn path=/trunk/netsurf/; revision=9921
2010-01-28 10:11:31 +00:00
John Mark Bell
3128ec1cdc
Actually handle failure to allocate bitmap structure or retrieve its data buffer pointer. I hope these longjmps are valid -- libpng's documentation is unhelpfully vague on this subject.
...
svn path=/trunk/netsurf/; revision=8924
2009-07-31 14:01:49 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Vincent Sanders
aa26843411
Improve bitmap plotter API
...
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
Michael Drake
8dfdd67e87
Make libpng image handler set opaque info.
...
svn path=/trunk/netsurf/; revision=6669
2009-03-02 18:24:54 +00:00
François Revel
e4fba7f577
Add missing calls to bitmap_modified(). This fixes using libpng in the BeOS port.
...
svn path=/trunk/netsurf/; revision=5532
2008-10-10 20:54:49 +00:00
Daniel Silverstone
6a9f156fc6
Fix format string warning error
...
svn path=/trunk/netsurf/; revision=5528
2008-10-10 09:50:42 +00:00
John Tytgat
2d1481fafc
'unsigned long' -> 'colour' where it made sense.
...
svn path=/trunk/netsurf/; revision=5459
2008-09-28 22:37:13 +00:00
John Mark Bell
385d274f5b
A bunch of fixes to the libpng binding
...
svn path=/trunk/netsurf/; revision=5338
2008-09-15 22:45:44 +00:00
François Revel
8c2a7e23de
Fix include path for libpng.
...
Libpng mandates using <png.h>, if it doesn't work for you, fix your OS :D
(or use -I)
See http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-2
svn path=/trunk/netsurf/; revision=5333
2008-09-15 21:12:48 +00:00
Daniel Silverstone
d3270ed648
Add libpng support. Default to off.
...
svn path=/trunk/netsurf/; revision=5330
2008-09-15 20:23:02 +00:00
John Mark Bell
bca91638bc
[project @ 2005-01-02 04:05:21 by jmb]
...
Begone, redundant code
svn path=/import/netsurf/; revision=1422
2005-01-02 04:05:21 +00:00
John Mark Bell
dcfd2dffe2
[project @ 2004-10-17 21:37:01 by jmb]
...
Fixup to use plotters.
Someone please fix the png bug. ta ;)
svn path=/import/netsurf/; revision=1321
2004-10-17 21:37:01 +00:00
Richard Wilson
403f12872d
[project @ 2004-10-04 23:54:42 by rjw]
...
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.
svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
101c87958d
[project @ 2004-09-04 16:41:28 by jmb]
...
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.
svn path=/import/netsurf/; revision=1268
2004-09-04 16:41:28 +00:00