Commit Graph

21 Commits

Author SHA1 Message Date
Vincent Sanders baf50cec89 make image content handlers title setting use the heap instead of the stack and remove the possibility of buffer overruns 2012-10-25 11:12:41 +01:00
Michael Drake a526209e74 More useful title info for images. 2012-10-24 18:22:45 +01:00
Vincent Sanders c1671f37b1 reduce talloc usage to box tree layout only 2012-10-03 19:26:17 +01:00
John Mark Bell 9ee4f6146e Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
Vincent Sanders 2348b13492 refactor bitmap out of generic content structure
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Vincent Sanders cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Vincent Sanders 81c52ad494 Initial image content handler refactor
svn path=/trunk/netsurf/; revision=12671
2011-08-27 08:43:51 +00:00
Michael Drake eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake 3128ecf2a5 Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Vincent Sanders 83f9e707eb refactor content handler initilisation to use named initialisors
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Michael Drake 41d2df4f5c Untested fix and tile implementation for webp.
svn path=/trunk/netsurf/; revision=12328
2011-05-09 08:15:38 +00:00
John Mark Bell e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Chris Young 0d534e8c47 Fix compilation
svn path=/trunk/netsurf/; revision=12118
2011-03-21 20:28:33 +00:00
Chris Young 7ec2cc7f8e Update to use official libwebp 0.1
Remove libvpx references as no longer needed.

svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
John Mark Bell 86a2e0076d Fix bug #3194007: stop emitting duplicate READY/DONE events.
* Make content handlers responsible for setting READY/DONE state & emitting events.
	* Stop content_convert doing this when there is a registered convert function for the content type.

svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00
John Mark Bell f42ed976e5 Constify
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Chris Young 66ccdd3efa Simplify
svn path=/trunk/netsurf/; revision=10889
2010-10-16 14:46:41 +00:00
Chris Young 49b70147d1 Make properly endian-safe
Fix warnings

svn path=/trunk/netsurf/; revision=10888
2010-10-16 14:37:37 +00:00
Chris Young b0da0e5067 Fix WebP images for little-endian processors, and enable for gtk build.
Direct links work, images embedded in web pages are not showing up -
test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/

svn path=/trunk/netsurf/; revision=10886
2010-10-16 13:50:35 +00:00
Chris Young c0b63c111b WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs

svn path=/trunk/netsurf/; revision=10860
2010-10-03 20:41:31 +00:00