Vincent Sanders
8a99b045bc
Remove url from content thumbnailers API
...
The content thumbnailers for each frontend were being provided the
contents url. This was only ever used to call the urldb thumbnail
setting API.
This changes it so the single callsite that passed a valid url adds
the bitmap to that url itself in desktop_history.c instead of forcing
every frontend to require the urldb API.
Additionally the old API could pass the url as NULL which was causing
asserts where this was not an expected parameter value. Because of
this this fixes bug #2286 which was also present in the monkey
frontend as both called nsurl_access() on the url without the NULL
check and caused an assertion.
2015-03-15 00:00:45 +00:00
Michael Drake
d9e7d58106
Fix up ripples from urldb change.
2012-10-11 11:20:02 +01:00
Michael Drake
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Michael Drake
d7b46332a8
Include missing header.
...
svn path=/trunk/netsurf/; revision=12685
2011-08-31 11:55:02 +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
55fd1d0133
Front ends don't need to call thumbnail_get_redraw_scale() now.
...
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Sven Weidauer
7fb4e84c77
Fix typo so the mac port compiles
...
svn path=/trunk/netsurf/; revision=11747
2011-02-21 18:28:28 +00:00
Michael Drake
a06b4b4302
Port cocoa front end to use thumbnail_redraw(). Note: untested.
...
svn path=/trunk/netsurf/; revision=11720
2011-02-20 12:39:23 +00:00
Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +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
Sven Weidauer
28da79c796
Reorganized includes.
...
svn path=/trunk/netsurf/; revision=11567
2011-01-31 19:12:00 +00:00
Sven Weidauer
37d15e2204
Fixing bitmap functions to return BYTES and not bits per pixel for bitmap_get_bpp
...
svn path=/trunk/netsurf/; revision=11487
2011-01-25 18:48:26 +00:00
John Mark Bell
b58dcc351f
Cocoa front end (credit: Sven Weidauer)
...
svn path=/trunk/netsurf/; revision=11292
2011-01-12 20:21:17 +00:00