Commit Graph

17 Commits

Author SHA1 Message Date
Michael Drake 6219ee7b24 Remove box stuff from amiga content handlers. 2012-08-20 14:32:47 +01:00
Chris Young 97aabaf49d Test for opaqueness where we create bitmaps in the platform code 2012-08-05 14:02:32 +01:00
Chris Young 97af7afedf Convert to use image cache
svn path=/trunk/netsurf/; revision=13797
2012-04-06 17:05:25 +00:00
John Mark Bell 339bed7272 Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
John Mark Bell 3d71da088b Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00: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
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 8577895dc1 Fix up amiga content handlers.
svn path=/trunk/netsurf/; revision=12541
2011-06-29 08:33:28 +00:00
Chris Young e2ef8df4d7 Guess MIME type from DataType only if there isn't already a valid entry in the list
svn path=/trunk/netsurf/; revision=12450
2011-05-30 20:52:31 +00:00
Chris Young 5c95b32756 Fix crashing
svn path=/trunk/netsurf/; revision=12362
2011-05-09 22:39:30 +00:00
Chris Young 1f1fe78c17 New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
Currently only able to resolve DataTypes to MIME Types.

TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name

svn path=/trunk/netsurf/; revision=12360
2011-05-09 22:11:18 +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
Chris Young 034ac2e7f7 Beginnings of some more advanced mimetyping
svn path=/trunk/netsurf/; revision=12323
2011-05-08 22:59:48 +00:00
Chris Young 813c115cb5 Remove redraw_tiled
svn path=/trunk/netsurf/; revision=12322
2011-05-08 22:18:28 +00:00
Chris Young 27d4350054 Register additional MIME types for DataTypes
Default file contains all image MIME Types NetSurf is capable of handling natively
(plus JPEG2000) to ensure disabling features in NetSurf won't lose support.


svn path=/trunk/netsurf/; revision=12287
2011-05-07 11:09:23 +00:00
Chris Young 208363fe2a Rename DataTypes related code/files/defines to avoid confusion and aid adding support
for other DataType classes.
Disable MNG/WebP by default as they aren't common and the required libs are quite
large; DataTypes can handle these formats for now.

svn path=/trunk/netsurf/; revision=12284
2011-05-06 22:42:37 +00:00