Commit Graph

15 Commits

Author SHA1 Message Date
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
4c6a176d39 Remove BITMAP_PERSISTENT flag. 2013-10-03 21:02:08 +01:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders
d6b293001d fix build warnings 2012-08-10 22:23:22 +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
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
d2deb88e3d Port Windows thumbnailer to thumbnail_redraw().
svn path=/trunk/netsurf/; revision=11724
2011-02-20 15:50:15 +00:00
Michael Drake
c78e7d9acd Make Windows intrim thumbnail aspect ratio match required bitmap aspect ratio. Increase max render width.
svn path=/trunk/netsurf/; revision=11723
2011-02-20 15:48:27 +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
Vincent Sanders
43029944ae fix thumbnailing and localhistory
svn path=/trunk/netsurf/; revision=10885
2010-10-14 19:33:00 +00:00
Vincent Sanders
83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +00:00
Vincent Sanders
01c8552489 make windows frontend build and run again
Fix redraw bugs
Still major issue with frames

svn path=/trunk/netsurf/; revision=10880
2010-10-10 22:42:24 +00:00
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
Vincent Sanders
55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00