Commit Graph

823 Commits

Author SHA1 Message Date
Chris Young
522ddf0416 Rudimentary text width caching to speed up many duplicate "Today", "Yesterday" calcs
svn path=/trunk/netsurf/; revision=12461
2011-06-04 21:10:39 +00:00
Chris Young
48a0663999 Remove at least one instance of unnecessary recalculation
svn path=/trunk/netsurf/; revision=12460
2011-06-04 20:46:08 +00:00
Chris Young
24d0a07f8f Extra logging to track the source of node size calculations
A couple of minor changes to prevent unnecessary recalculation

svn path=/trunk/netsurf/; revision=12459
2011-06-04 20:22:24 +00:00
Michael Drake
a79ef8cffb Remove redundant code.
svn path=/trunk/netsurf/; revision=12458
2011-06-04 14:38:50 +00:00
Michael Drake
4db9dbe744 Purge unused variable.
svn path=/trunk/netsurf/; revision=12425
2011-05-17 09:05:49 +00:00
Vincent Sanders
c7e943c7d2 check for dereference of teh right value
svn path=/trunk/netsurf/; revision=12424
2011-05-17 07:28:15 +00:00
John Mark Bell
21f01af35a Avoid dereferencing NULL
svn path=/trunk/netsurf/; revision=12421
2011-05-16 22:09:26 +00:00
John Mark Bell
b92ca9cd30 Clean up after content factory
svn path=/trunk/netsurf/; revision=12415
2011-05-16 21:16:44 +00:00
John Mark Bell
6dfcd35580 Fix url node icons
svn path=/trunk/netsurf/; revision=12383
2011-05-11 19:29:48 +00:00
Michael Drake
df081a0888 Increase pointer drag range. Setting the clamps correctly seems to cause us not to get the movement event when we hit the clamp (at least on RISC OS).
svn path=/trunk/netsurf/; revision=12380
2011-05-11 10:36:15 +00:00
Michael Drake
d41dcfa780 Fix content drags within scrollable areas. Various tidyups.
svn path=/trunk/netsurf/; revision=12378
2011-05-11 08:34:33 +00:00
Michael Drake
4f8995ae8d Rename scroll offset in scrollbar message data, although nothing seems to use that callback message.
svn path=/trunk/netsurf/; revision=12374
2011-05-10 17:39:23 +00:00
Michael Drake
f78252fc75 Move scrollbar widget API documentation to header.
svn path=/trunk/netsurf/; revision=12373
2011-05-10 17:30:46 +00:00
Michael Drake
dc9e685cde Scrollbar widget changes: Update functon parameters to have names that aren't wrong. Remove confusion and wrongness from API documentation. General source tidy.
svn path=/trunk/netsurf/; revision=12372
2011-05-10 17:17:03 +00:00
Michael Drake
4d8201b8ca Continue improving comments. Fix bugs in scrollbar_set_extents. Rename things so their name matches what they are.
svn path=/trunk/netsurf/; revision=12368
2011-05-10 14:29:10 +00:00
Michael Drake
ac447fc293 s/scroll/scrollbar/ and improve scrollbar widget comments.
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +00:00
Michael Drake
3e62014f2f Pedantic whitespace changes.
svn path=/trunk/netsurf/; revision=12352
2011-05-09 18:22:10 +00:00
Michael Drake
b1e09e9b99 Remove forward declaration.
svn path=/trunk/netsurf/; revision=12351
2011-05-09 18:15:51 +00:00
Vincent Sanders
8be1e85e91 consolidate content redraw
more cleanups ready for image content refactor

svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +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
John Mark Bell
ff60007458 Fix build with NDEBUG defined
svn path=/trunk/netsurf/; revision=12154
2011-04-03 22:23:14 +00:00
Vincent Sanders
74ffc40e92 move logging initialisation
svn path=/trunk/netsurf/; revision=12152
2011-04-02 13:05:55 +00:00
John Mark Bell
c3b7669ad4 Fix bug #3253090: don't schedule updates of the cookie tree
svn path=/trunk/netsurf/; revision=12141
2011-03-28 21:33:16 +00:00
Vincent Sanders
fff2520409 commandline option setting
svn path=/trunk/netsurf/; revision=12106
2011-03-18 21:58:29 +00:00
Vincent Sanders
d90ca6181b Improve options output
improve options:config styling

svn path=/trunk/netsurf/; revision=12084
2011-03-17 09:21:02 +00:00
Chris Young
5e9bdb16c6 Temporary hack to stop crashing in Amiga frontend. Roll on frames re-implementation!
svn path=/trunk/netsurf/; revision=12079
2011-03-16 20:11:10 +00:00
Vincent Sanders
1da7b161f8 Stop gtk printing from exploding if its unable to initialise the job
add interface to clone a high level cache handle
make generic printing core call new hlcache interface

svn path=/trunk/netsurf/; revision=12068
2011-03-15 22:02:06 +00:00
Michael Drake
88cf21939c Like HTML, text-plain contents have no intrinsic dimensions.
svn path=/trunk/netsurf/; revision=12057
2011-03-15 15:08:10 +00:00
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
e083b503a0 Ensure we stop the hlcache schedule before we quit the gui
svn path=/trunk/netsurf/; revision=12036
2011-03-13 20:20:31 +00:00
Daniel Silverstone
93e9bfe323 Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Daniel Silverstone
1ba5d85c1a Make schedule/schedule_remove use a typedef for their callback argument
svn path=/trunk/netsurf/; revision=11985
2011-03-12 19:23:40 +00:00
John Mark Bell
56413fd61c Lose nasty code
svn path=/trunk/netsurf/; revision=11984
2011-03-12 19:14:23 +00:00
John Mark Bell
b175b0ddf8 Fix stupid
svn path=/trunk/netsurf/; revision=11976
2011-03-12 17:47:46 +00:00
Vincent Sanders
74f108ee4d Saturated maths in css fixed point
svn path=/trunk/netsurf/; revision=11975
2011-03-12 17:46:11 +00:00
Daniel Silverstone
d72f9d2862 Ensure we don't free an unallocated handle
svn path=/trunk/netsurf/; revision=11973
2011-03-12 17:26:46 +00:00
Daniel Silverstone
7e85d15cb6 Add a deaf monkey frontend. TODO: Make it listen
svn path=/trunk/netsurf/; revision=11968
2011-03-12 15:08:07 +00:00
John Mark Bell
1edcef6141 Remove redundant parameter from content_open API
svn path=/trunk/netsurf/; revision=11964
2011-03-10 23:13:03 +00:00
Michael Drake
b355c48f97 Make thumbnail_get_redraw_scale() static.
svn path=/trunk/netsurf/; revision=11949
2011-03-09 21:10:30 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Chris Young
5ac45472c7 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.

svn path=/trunk/netsurf/; revision=11924
2011-03-06 13:58:02 +00:00
Michael Drake
3e7ea29e4b Move clone to box flags.
svn path=/trunk/netsurf/; revision=11890
2011-03-02 19:30:08 +00:00
Michael Drake
e3f00b8546 Cache space widths.
svn path=/trunk/netsurf/; revision=11877
2011-03-01 20:00:41 +00:00
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Sven Weidauer
4b10485de1 Publishing 'history_go' function and creating API to enumerate all history items reachable by the forward or back buttons.
svn path=/trunk/netsurf/; revision=11856
2011-02-28 15:24:30 +00:00
Sven Weidauer
f470261141 Added API to enumerate entries in history tree.
svn path=/trunk/netsurf/; revision=11854
2011-02-28 15:24:02 +00:00
John Mark Bell
ceadbafcbc Clean up blank_import on exit
svn path=/trunk/netsurf/; revision=11818
2011-02-26 01:19:11 +00:00
John Mark Bell
6878eba295 Consider filename in Content-Disposition header when downloading, or generate reasonably sane default if there isn't one.
svn path=/trunk/netsurf/; revision=11767
2011-02-23 00:54:29 +00:00
Michael Drake
4a80554406 Zero-pad colours in plain text output.
svn path=/trunk/netsurf/; revision=11757
2011-02-22 15:53:12 +00:00
John Mark Bell
593b35997b Slightly more useful behaviour if we can't handle an URL when downloading
svn path=/trunk/netsurf/; revision=11750
2011-02-21 21:47:55 +00:00