Commit Graph

397 Commits

Author SHA1 Message Date
Michael Drake
eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
74a82e2ab0 Fix menu shading of copy/cut/paste options when more than one of them should be made available. 2013-03-18 22:48:15 +00:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Steve Fryatt
bbd46de011 Fix handling of Ctrl-Left/Right/Up/Down in browser windows.
Reverse Ctrl-Left/Right actions to match reality.
Make Ctrl-Down duplicate End action.
Tidy mixed usage of + and | in key definitions.
2013-02-24 19:25:50 +00:00
Michael Drake
c2a718075a A load of refactoring of how content selection and input work.
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Michael Drake
0e8861d26e Fix build. 2013-02-18 13:00:56 +00:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake
f72d4319bb Changing browser window to get wimp double clicks meant enum value for single clicks was different. This broke the window taking focus on a single click. Fixed. 2013-02-13 22:41:24 +00:00
Michael Drake
a846e9811e Pass triple clicks to core. 2013-02-12 15:26:55 +00:00
Michael Drake
0c88c3a89a Pass double clicks to browser windows. 2013-02-12 12:18:26 +00:00
John-Mark Bell
64ae9e8693 Fix paste. Store clipboard as UTF-8 internally, to avoid unnecessary data loss when copying internally. 2013-01-22 08:51:58 +00:00
Michael Drake
639d2cb659 Use nsurl_parent. 2012-10-06 14:09:36 +01:00
Michael Drake
153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Michael Drake
4581375209 Use proper function for box tree dump. 2012-08-20 16:46:33 +01:00
Michael Drake
b412b93701 Use online docs. 2012-07-21 14:55:51 +01:00
Michael Drake
5fc781d715 Update default homepage URL to about:welcome. Make RISC OS front end use NETSURF_HOMEPAGE too.
Currently only the English welcome page will be fetched.
Need to add language negotiation to choose best language option.
2012-07-21 13:13:57 +01:00
Michael Drake
b213502c9e Include render/html.h to fix build.
svn path=/trunk/netsurf/; revision=13720
2012-03-26 11:02:12 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
John Mark Bell
e2bb4aa4e0 Fix bug #3479239: scroll in correct direction for page left/page right
svn path=/trunk/netsurf/; revision=13435
2012-02-08 00:21:20 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00: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
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