Michael Drake
65943b7a67
Remove plugin.h too.
...
svn path=/trunk/netsurf/; revision=12968
2011-10-06 11:38:32 +00:00
Michael Drake
149ac31cac
Remove old plugin.c.
...
svn path=/trunk/netsurf/; revision=12967
2011-10-06 10:21:50 +00:00
Michael Drake
22f2ffeeea
Don't need to url_normalise, since the core is nsurl based.
...
svn path=/trunk/netsurf/; revision=12966
2011-10-06 10:16:11 +00:00
Michael Drake
22a34841f7
Don't need to url_normalise, since the core is nsurl based.
...
svn path=/trunk/netsurf/; revision=12965
2011-10-06 10:07:33 +00:00
Michael Drake
291307d64e
Terminate raw resource URL string.
...
svn path=/trunk/netsurf/; revision=12954
2011-10-05 11:54:15 +00:00
John Mark Bell
d5bb9d98e7
Build resource: map at start time
...
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate
svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Michael Drake
bba4c426f3
Update for content_get_url returning a nsurl.
...
svn path=/trunk/netsurf/; revision=12927
2011-10-03 16:30:08 +00:00
Michael Drake
58225862c2
fetch_can_fetch takes a nsurl now.
...
svn path=/trunk/netsurf/; revision=12900
2011-09-27 12:02:15 +00:00
John Mark Bell
e7c67e8bb8
Fix fallout from r12733
...
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +00:00
John Mark Bell
f27d5a3e15
Remove gui_multitask
...
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Michael Drake
60f641bc44
Call sslcert_cleanup module on quit.
...
svn path=/trunk/netsurf/; revision=12805
2011-09-18 11:50:34 +00:00
John Mark Bell
339bed7272
Virtualise content handler finalisation calls. Remove pointless implementations.
...
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
John Mark Bell
3d71da088b
Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
...
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Michael Drake
5af1284c73
Port RISC OS front end to browser_window_get_contextual_content. Adds support for saving link pointed to from imagemap. Fixes behaviour with frames.
...
svn path=/trunk/netsurf/; revision=12758
2011-09-06 19:06:04 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
1bb727a68b
Remove various bits of dead frames handling.
...
svn path=/trunk/netsurf/; revision=12733
2011-09-05 11:44:11 +00:00
Michael Drake
01b2101e93
Remove frames handling from ro_msg_dataload function.
...
svn path=/trunk/netsurf/; revision=12732
2011-09-05 11:10:21 +00:00
Michael Drake
8edf1fe86f
Dig out more dead frames stuff.
...
svn path=/trunk/netsurf/; revision=12722
2011-09-05 09:47:52 +00:00
Michael Drake
9856bc0923
Delete redundant browser_window_type test.
...
svn path=/trunk/netsurf/; revision=12716
2011-09-04 19:18:01 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Michael Drake
bd94e21aed
Purge dead code out of gui_create_browser_window().
...
svn path=/trunk/netsurf/; revision=12710
2011-09-04 18:05:54 +00:00
John Mark Bell
9ee4f6146e
Remove mime_type parameter from content handler content_type callback API
...
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
Michael Drake
a7d4f08b77
Remove redundant bw->current_content check.
...
svn path=/trunk/netsurf/; revision=12696
2011-09-01 12:37:46 +00:00
Vincent Sanders
cd554e6f1e
make image content handlers build conditional from teh makefile
...
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
6291e4e398
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12656
2011-08-24 13:38:09 +00:00
Michael Drake
c25692c8ae
RISC OS changes for core search update (r12646).
...
svn path=/trunk/netsurf/; revision=12651
2011-08-24 13:14:16 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
1832155b7c
Caret position is already scaled in core.
...
svn path=/trunk/netsurf/; revision=12597
2011-07-11 10:34:30 +00:00
Michael Drake
e9b0a3ffb4
Fix build.
...
svn path=/trunk/netsurf/; revision=12588
2011-07-07 18:35:03 +00:00
Michael Drake
b9ff7f39ae
Remove pointless content_msg_data.
...
svn path=/trunk/netsurf/; revision=12585
2011-07-06 16:01:53 +00:00
Michael Drake
b9544e7e5d
Fix up RISC OS for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12582
2011-07-06 12:59:26 +00:00
Michael Drake
a7d41d3ac2
Pass correct plotter table for Drawfile export.
...
svn path=/trunk/netsurf/; revision=12567
2011-07-03 15:03:13 +00:00
Michael Drake
a6d4f9cb30
Function to find out if browser window has a selection. Front ends should use this API. RISC OS front end updated.
...
svn path=/trunk/netsurf/; revision=12556
2011-07-02 16:43:20 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
9c4b9f5c94
Fix up RISC OS front end.
...
svn path=/trunk/netsurf/; revision=12545
2011-06-30 17:51:58 +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
50bd90c84a
Fix up Artworks content handler.
...
svn path=/trunk/netsurf/; revision=12536
2011-06-28 21:49:46 +00:00
Michael Drake
3128ecf2a5
Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
...
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Michael Drake
b57c2e0bee
Move rectangle type to utils/types.h
...
svn path=/trunk/netsurf/; revision=12525
2011-06-28 15:18:48 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake
311080ff54
Simplify browser_window_mouse_drag_end calls.
...
svn path=/trunk/netsurf/; revision=12513
2011-06-27 16:16:21 +00:00
Michael Drake
5fb349e4de
Fix crash when scaling pages with iframes on RISC OS.
...
svn path=/trunk/netsurf/; revision=12501
2011-06-24 11:50:06 +00:00
Michael Drake
0bc058df5c
Delete commented out code.
...
svn path=/trunk/netsurf/; revision=12500
2011-06-24 10:50:43 +00:00
Michael Drake
12be95517e
Replace iframe stuff with asserts for now.
...
svn path=/trunk/netsurf/; revision=12499
2011-06-24 10:48:29 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Vincent Sanders
83f9e707eb
refactor content handler initilisation to use named initialisors
...
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Michael Drake
2ec96e508c
Put RISC OS filetype content handlers in their own directory.
...
svn path=/trunk/netsurf/; revision=12336
2011-05-09 09:57:40 +00:00
Michael Drake
044018739b
Fix Drawfile content handler build.
...
svn path=/trunk/netsurf/; revision=12335
2011-05-09 08:48:49 +00:00
Michael Drake
05945ebf1d
Fix Artworks content handler build.
...
svn path=/trunk/netsurf/; revision=12334
2011-05-09 08:46:12 +00:00
Michael Drake
37b389e699
Untested fix and tile implementation for Sprite.
...
svn path=/trunk/netsurf/; revision=12333
2011-05-09 08:42:49 +00:00
Michael Drake
2d6c0e99ec
Fix for new content_redraw API.
...
svn path=/trunk/netsurf/; revision=12332
2011-05-09 08:38:56 +00:00
Michael Drake
e24fa186bb
Fix for new content redraw API.
...
svn path=/trunk/netsurf/; revision=12331
2011-05-09 08:31:45 +00:00
Michael Drake
962fe1849c
Fix for new content redraw API.
...
svn path=/trunk/netsurf/; revision=12330
2011-05-09 08:28:56 +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
Steve Fryatt
2249dbaf9a
Restore some Adjust-double-click functionality to RO treeviews.
...
svn path=/trunk/netsurf/; revision=12201
2011-04-18 23:03:45 +00:00
Steve Fryatt
229f70fa76
Fix bug #3156695 : apply scrollbar from r12128 to all treeview windows.
...
svn path=/trunk/netsurf/; revision=12142
2011-03-28 21:49:24 +00:00
Steve Fryatt
1c91a23c77
Force SSLCert pane to have a horizontal scroll bar and ensure initial extent calculation.
...
svn path=/trunk/netsurf/; revision=12128
2011-03-24 00:09:49 +00:00
John Mark Bell
8ea109784c
Fix bug #3238151 : reinstate filename sanitisation and extension stripping
...
svn path=/trunk/netsurf/; revision=12127
2011-03-23 20:59:43 +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
e2155ca50b
Help menu options for about:credits and about:licence to replace old about NetSurf entry.
...
svn path=/trunk/netsurf/; revision=12071
2011-03-16 12:24:01 +00:00
Michael Drake
74cd7a9b60
Pedantic wrap.
...
svn path=/trunk/netsurf/; revision=12070
2011-03-16 12:22:02 +00:00
Michael Drake
ffc8d17a0f
Simple language directory handling.
...
svn path=/trunk/netsurf/; revision=12069
2011-03-15 23:23:27 +00:00
Michael Drake
b69816ff79
Fix in case of malloc failure.
...
svn path=/trunk/netsurf/; revision=12067
2011-03-15 21:31:44 +00:00
Michael Drake
89ee13de70
Add simple resource: path handler. Lacks language support for now.
...
svn path=/trunk/netsurf/; revision=12066
2011-03-15 21:26:33 +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
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
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
b46e69fe22
Purge ro_plot_set_scale() and ro_plot_scale global, as front ends nolonger need to maintain scale for plotting.
...
svn path=/trunk/netsurf/; revision=11942
2011-03-09 16:20:55 +00:00
Michael Drake
95916ab99d
nsfont_paint doesn't take scale.
...
svn path=/trunk/netsurf/; revision=11940
2011-03-08 19:02:19 +00:00
Michael Drake
5412d7c1b0
Don't scale text plots in front end (RISC OS).
...
svn path=/trunk/netsurf/; revision=11937
2011-03-08 18:48:23 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Steve Fryatt
47d67cdbcb
Fix bug #3200899 : Don't claim keypresses we don't handle.
...
svn path=/trunk/netsurf/; revision=11925
2011-03-06 14:09:42 +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
Steve Fryatt
bfadf01482
Test correct items before preparing selection save dialogue.
...
svn path=/trunk/netsurf/; revision=11923
2011-03-06 12:42:11 +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
86a2e0076d
Fix bug #3194007 : stop emitting duplicate READY/DONE events.
...
* Make content handlers responsible for setting READY/DONE state & emitting events.
* Stop content_convert doing this when there is a registered convert function for the content type.
svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00
Steve Fryatt
a34cd9c8c6
Take CSS System Colours from the RISC OS Desktop palette at start and on mode/palette change.
...
Need to revisit and confirm some of the mappings.
svn path=/trunk/netsurf/; revision=11814
2011-02-25 23:26:36 +00:00
Steve Fryatt
79d9d6abab
Get download filenames from the core.
...
svn path=/trunk/netsurf/; revision=11774
2011-02-23 22:36:47 +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
Steve Fryatt
bf77abd2f5
Fix bug #3189352 : ensure vertical extent of toolbars is set correctly.
...
svn path=/trunk/netsurf/; revision=11762
2011-02-22 21:19:23 +00:00
Steve Fryatt
b077f15485
Reduce redraw flicker when changing URL bar extent.
...
svn path=/trunk/netsurf/; revision=11752
2011-02-21 23:50:40 +00:00
Steve Fryatt
cd9c0998e9
Merge branches/stevef/toolbars to trunk.
...
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +00:00
Vincent Sanders
675a07083a
add options display to about: scheme
...
svn path=/trunk/netsurf/; revision=11733
2011-02-20 21:04:53 +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
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
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +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
2d69afeec6
Fix broken plotting on RO with locked contents and buffered rendering.
...
svn path=/trunk/netsurf/; revision=11667
2011-02-13 16:44:32 +00:00
Michael Drake
22d4d640e8
Remove RO white background fill.
...
svn path=/trunk/netsurf/; revision=11666
2011-02-13 15:56:48 +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
John Mark Bell
18a4d2deec
Unilaterally clear background to white before redraw
...
svn path=/trunk/netsurf/; revision=11644
2011-02-11 08:48:40 +00:00
Vincent Sanders
98095f8f7a
change risc os frontend to use browser_window_redraw (r=jmb)
...
svn path=/trunk/netsurf/; revision=11643
2011-02-11 08:28:15 +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
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
John Mark Bell
f929155a40
Require Iconv 0.11
...
svn path=/trunk/netsurf/; revision=11204
2011-01-04 20:04:20 +00:00
Michael Drake
0d04658544
When fetching a local file of type data, examine the extension to determine mime type.
...
svn path=/trunk/netsurf/; revision=11123
2010-12-27 14:03:45 +00:00
Steve Fryatt
333d202068
Remove unnecessary duplicate parameter.
...
svn path=/trunk/netsurf/; revision=11103
2010-12-19 18:22:09 +00:00