Commit Graph

531 Commits

Author SHA1 Message Date
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
Vincent Sanders
e7f9e93cc6 make teh GTK frontend build on -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DPANGO_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_MULTIHEAD_SAFE
svn path=/trunk/netsurf/; revision=12138
2011-03-26 20:56:59 +00:00
Chris Young
7ec2cc7f8e Update to use official libwebp 0.1
Remove libvpx references as no longer needed.

svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
Michael Drake
55afb9a64a Comment out noisy nsfont_width logging.
svn path=/trunk/netsurf/; revision=12096
2011-03-17 14:12:39 +00:00
Michael Drake
a70c32422a gui_find_resource --> gui_get_resource_url.
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Michael Drake
66f6e9eff5 Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Michael Drake
3bc192186c Remove superseded about doc.
svn path=/trunk/netsurf/; revision=12072
2011-03-16 12:27:00 +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
Vincent Sanders
cb2e3f95b8 make gtk help menu entries actually do something
svn path=/trunk/netsurf/; revision=12065
2011-03-15 21:00:08 +00:00
Vincent Sanders
a5ef282aec Improve logging output to only show the part of teh string being measured
svn path=/trunk/netsurf/; revision=12045
2011-03-14 16:42:31 +00:00
Rob Kendrick
7591d2712e Try to reduce a bit of Pango overhead by avoiding recreation of Pango layout contexts for each width request.
svn path=/trunk/netsurf/; revision=12044
2011-03-14 16:28:37 +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
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
Vincent Sanders
b3608e3a63 fix close button having default focus
svn path=/trunk/netsurf/; revision=12010
2011-03-13 10:00:44 +00:00
John Mark Bell
155d8dec3f gtk_dialog_set_has_separator is deprecated in GTK >= 2.21.8
svn path=/trunk/netsurf/; revision=12009
2011-03-13 09:52:40 +00:00
Vincent Sanders
009ba43d6e fix gtk about dialog to use about: to display credits and licence
svn path=/trunk/netsurf/; revision=12006
2011-03-13 00:29:50 +00:00
Daniel Silverstone
f40bba0c3a missing semicolon. I suck
svn path=/trunk/netsurf/; revision=12005
2011-03-13 00:05:20 +00:00
Daniel Silverstone
eef98634f6 Shunt some schedule_run() calls around.. Should improve behaviour on GTK and monkey a little
svn path=/trunk/netsurf/; revision=12004
2011-03-13 00:04:45 +00:00
John Mark Bell
155f50a48c Hacky mime mappings for RISC OS filetype extensions
svn path=/trunk/netsurf/; revision=11993
2011-03-12 22:28:43 +00:00
Michael Drake
260fbf5fcc Symlinks for GTK front end.
svn path=/trunk/netsurf/; revision=11992
2011-03-12 22:17:55 +00:00
Vincent Sanders
0fd2523f5f make tab work in forms on gtk
svn path=/trunk/netsurf/; revision=11982
2011-03-12 19:02:58 +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
Michael Drake
5833549a35 Purge nsgtk_plot_set_scale(), nsgtk_plot_get_scale() and nsgtk_plot_scale global.
svn path=/trunk/netsurf/; revision=11943
2011-03-09 16:52:03 +00:00
Michael Drake
cebac17d4d Don't scale text plots in front end (GTK).
svn path=/trunk/netsurf/; revision=11936
2011-03-08 18:48:07 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +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
John Mark Bell
b193361d8f Make resource paths global static, as it's only used in here
svn path=/trunk/netsurf/; revision=11777
2011-02-23 22:58:21 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
John Mark Bell
5c2d8c35f7 Hide implementation detail
svn path=/trunk/netsurf/; revision=11769
2011-02-23 08:23:02 +00:00
John Mark Bell
ec1b92cf24 Obtain download filename from the core
svn path=/trunk/netsurf/; revision=11768
2011-02-23 08:19:10 +00:00
Michael Drake
8813181cea Use core's thumbnail_redraw().
svn path=/trunk/netsurf/; revision=11717
2011-02-19 22:24:36 +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
8912285839 Comment rationale for render buffer dimensions.
svn path=/trunk/netsurf/; revision=11699
2011-02-16 14:35:48 +00:00
Michael Drake
082b128106 Remove legacy logging.
svn path=/trunk/netsurf/; revision=11698
2011-02-16 14:14:00 +00:00
Michael Drake
120005e04b Various gtk thumbnailing fixes. Don't make intermediate buffer bigger than it needs to be. Don't pass clip rect that's larger than render area. Don't plot blank background before setting the clip rect. Scale initial content render appropriately. Simplify and fix scale calc for thumbnail resampling.
svn path=/trunk/netsurf/; revision=11697
2011-02-16 13:52:29 +00:00
Vincent Sanders
fa98e3d76a add about: fetcher
rename fetchers to be more sensible 

svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00
Michael Drake
9665415428 Add "const".
svn path=/trunk/netsurf/; revision=11684
2011-02-14 22:08:21 +00:00
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
5cefc9584a Pass clip rect to browser_window_redraw as pointer.
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +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
Michael Drake
fedcbf6656 Pass clip rect to browser_window_redraw as struct.
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders
9a183018ea improve browser_window_redraw width and height handling
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders
2a8e8a5cf1 add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
42990ed9ec commit a neatness and comment cleanup in the gtk window code
svn path=/trunk/netsurf/; revision=11632
2011-02-08 23:40:14 +00:00
Vincent Sanders
726881c2ad gtk can have *only* a single accelerator group attached or it goes bang
svn path=/trunk/netsurf/; revision=11598
2011-02-01 23:11:29 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00
Vincent Sanders
acc2c341bd Make GTK popup menu generated like the menu bar menu
Clean up gtk scaffoling of some gsoc madness
fix tab opening from popup menu
Remove forward declarations and stop exporting the symbols for every event handler when they should be static

svn path=/trunk/netsurf/; revision=11514
2011-01-28 12:17:51 +00:00