Commit Graph

369 Commits

Author SHA1 Message Date
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 905df166b0 Make the RISC OS front end foreground/background menu options work.
svn path=/trunk/netsurf/; revision=13333
2011-12-23 21:49:13 +00:00
Steve Fryatt 648fdafe82 Fix comments.
svn path=/trunk/netsurf/; revision=13298
2011-12-18 23:53:20 +00:00
Steve Fryatt 7fb38a3e79 Lose unnecessary intermediate variable assignments.
svn path=/trunk/netsurf/; revision=13297
2011-12-18 23:46:30 +00:00
Steve Fryatt 433e1fd796 Pass Page Up/Down info to the core for scrolling.
svn path=/trunk/netsurf/; revision=13296
2011-12-18 23:36:54 +00:00
Steve Fryatt a40b9fbecd Implement Home and End scroll functionality.
svn path=/trunk/netsurf/; revision=13292
2011-12-18 11:18:52 +00:00
Steve Fryatt 1631f3a4cb Don't allow framesets to scroll out of view.
svn path=/trunk/netsurf/; revision=13291
2011-12-17 23:25:06 +00:00
Steve Fryatt 35d62200ea Standardise code for mouse and keyboard scrolling of browser window.
Pass keyboard scroll details on to the core when applicable.

svn path=/trunk/netsurf/; revision=13289
2011-12-17 22:01:40 +00:00
Steve Fryatt f2531d5083 Provisional core scroll-wheel support - supports scroll events only.
svn path=/trunk/netsurf/; revision=13288
2011-12-17 19:16:56 +00:00
Steve Fryatt 80249f5f2a Make scroll event handling module specific.
svn path=/trunk/netsurf/; revision=13285
2011-12-17 17:31:35 +00:00
John Mark Bell f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake 7bd9158f18 Remove render/box.h include.
svn path=/trunk/netsurf/; revision=13224
2011-12-03 19:51:55 +00:00
Michael Drake 54408f6360 Fix select menu item selection in frames. Note: the API for front end select menus is a mess ATM.
svn path=/trunk/netsurf/; revision=13223
2011-12-03 19:39:36 +00:00
Michael Drake ae222acbca Use core handling of file drop over browser window.
svn path=/trunk/netsurf/; revision=13216
2011-12-01 23:51:37 +00:00
Steve Fryatt 747c66c982 Don't pass already handled keys to the URL Complete code.
Don't scroll browser windows when the toolbar has focus.

svn path=/trunk/netsurf/; revision=13157
2011-11-20 18:38:33 +00:00
Steve Fryatt 98378081a7 Revert r13155 and re-implement fix properly.
svn path=/trunk/netsurf/; revision=13156
2011-11-20 18:18:30 +00:00
Steve Fryatt 49f583ba6e Remember page content handle when refreshing browser menu (bug #3420985).
svn path=/trunk/netsurf/; revision=13155
2011-11-20 14:39:49 +00:00
Steve Fryatt 67c9262403 Ensure file content is terminated (bug #1866212).
svn path=/trunk/netsurf/; revision=13070
2011-10-18 21:41:45 +00:00
Steve Fryatt 17cf5fab71 Add support for external hotlist utilities.
svn path=/trunk/netsurf/; revision=13022
2011-10-09 13:32:43 +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 bba4c426f3 Update for content_get_url returning a nsurl.
svn path=/trunk/netsurf/; revision=12927
2011-10-03 16:30:08 +00:00
John Mark Bell e7c67e8bb8 Fix fallout from r12733
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +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 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
Michael Drake a7d4f08b77 Remove redundant bw->current_content check.
svn path=/trunk/netsurf/; revision=12696
2011-09-01 12:37:46 +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 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 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 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
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 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
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
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
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 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
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
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