On Sun, 2011-03-06 at 13:58 +0000, [email protected] wrote: > Author: chris_y > Date: Sun Mar 6 07:58:02 2011 > New Revision: 11924 > > URL: http://source.netsurf-browser.org?rev=11924&view=rev > Log: > Fix broken CONTENT_PLUGIN API. > Add a default content handler for Amiga using the plugin interface, which > passes > unknown files (currently images only) through DataTypes.
I'm really not convinced that using the plugin hooks like this is the right way of solving the problem you appear to be trying to solve. Particularly, treating plugins as valid image content types likely opens a large can of worms (not least, as plugin support was disabled because it resulted in many crashes) Could you explain what it is you're actually trying to do here? If, as I suspect, it's to be able to dynamically support additional MIME types, then the better solution is to make the content type dispatcher able to accept runtime registration of MIME types. This is something that is planned, but won't happen until after 2.7 as it requires major surgery to the core. J.
