Michael Drake
8e880ccda5
Use core's navigate_up function.
2014-10-17 10:02:03 +01:00
Vincent Sanders
388122d7e9
fix warnings and remove unecessary css include
2014-10-17 00:37:12 +01:00
Vincent Sanders
ac70da346c
Update the RISC OS frontend to cope with split operations table headers
2014-10-16 22:33:44 +01:00
Michael Drake
9d3c2b18c4
Remove some bw derefs.
2014-10-16 22:23:46 +01:00
Michael Drake
e546e03895
Avoid a bw deref.
2014-10-16 22:06:32 +01:00
Michael Drake
588b374e18
Browser window isn't available directly here.
2014-10-16 21:35:59 +01:00
Michael Drake
d9e5f5f0a6
Avoid dealing with hlcache_handle in key handling.
2014-10-16 21:30:27 +01:00
Michael Drake
ecd7cb8ca3
Simplify window closing buy user proper browser_window API.
2014-10-16 21:21:53 +01:00
Michael Drake
63645c4c32
Fix core create_form_select_menu API to pass gw, rather than bw out to front ends.
2014-10-16 12:39:31 +01:00
Michael Drake
f87d1a79b4
Remove seemingly unused global.
2014-10-16 12:07:39 +01:00
Michael Drake
cb54fc6ed2
Don't pass browser_window around for select menu handling.
...
It was only needed to access gui_window, so just padd gui_window.
2014-10-16 12:05:18 +01:00
Michael Drake
b4b97d9003
Chage favicon set APIs to take gui_window rather than hlcache_handle.
...
Let the front end pass its own types around, rather than core ones.
This removes one "bw->current_content" from window.c.
Now the current content is only accessed where its needed, in the
favicon handler, and it is accessed via the appropriate API.
2014-10-16 09:22:05 +01:00
Michael Drake
cb976f24c7
Really fix error.
2014-10-15 22:13:48 +01:00
Michael Drake
03e32089fb
Fix error.
2014-10-15 22:09:49 +01:00
Michael Drake
b7deca9296
Don't dereference bw to get window scale.
2014-10-15 22:04:31 +01:00
Michael Drake
31526e9bc6
Remove pointless strdup/free.
2014-09-07 11:12:49 +01:00
Michael Drake
253475f304
GUI launched fetches are verifiable. Thanks to jmb.
2014-09-07 11:03:21 +01:00
Michael Drake
c86c772ce6
Remove more dead code.
2014-07-09 20:04:27 +01:00
Michael Drake
55d2e1126a
Remove redundant code.
2014-07-09 19:49:43 +01:00
Vincent Sanders
7659708d55
remove unecessary reformat call
...
This was an error in the original refactor where redraw routine had an uneccessary
optimisation to remove an outstanding reformat.
2014-07-09 12:50:37 +01:00
Vincent Sanders
3a9fa29ee5
try and improve usage of browser window internals
2014-07-06 18:34:34 +01:00
Vincent Sanders
0f151e37cb
Merge branch 'vince/reformatpending'
...
Conflicts:
amiga/gui.c
2014-07-06 10:45:31 +01:00
Vincent Sanders
8848f754e0
documentation fixes and cleanups
2014-07-02 16:39:08 +01:00
Vincent Sanders
18aefabd20
change reformat to be driven from the scheduler like redraw
2014-07-01 09:27:20 +01:00
Vincent Sanders
80bee65a71
remove forward declarations from risc os gui.c
...
cleanup filetype magic numbers.
2014-06-04 16:53:25 +01:00
Michael Drake
0793ae25e3
Scope reduce some variables.
2014-05-31 00:06:49 +01:00
Michael Drake
ce117d140e
Remove dead code and variables.
2014-05-30 23:59:17 +01:00
Michael Drake
910efb0156
Scope reduce several variables.
2014-05-30 23:57:04 +01:00
Vincent Sanders
00b6cfc57e
rework path to url mapping functions to convert from and to nsurl
2014-05-26 23:52:36 +01:00
Michael Drake
a38a63a37e
Make history internal to browser_window module.
2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd
Make browser_window_navigate (un)verifiable flag match browser_window_create.
2014-02-10 22:40:04 +00:00
Michael Drake
af014bce99
Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags.
2014-02-10 14:08:45 +00:00
Michael Drake
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
3d7cd77982
Simplify local history interface.
2014-02-08 22:43:54 +00:00
Michael Drake
6ccf13839b
Use API to get extents.
2014-02-08 20:07:00 +00:00
Michael Drake
11b152c915
Remove unused variable.
2014-02-08 17:16:32 +00:00
Michael Drake
8deb9ec25c
Native select menu interface shouldn't force front end to dig inside bw struct.
2014-02-08 17:11:55 +00:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
1f62b5a980
make the clipboard operation table and members static to textselection module and cleanup unnecessary includes
2014-02-01 10:45:20 +00:00
Vincent Sanders
356461244e
Merge remote-tracking branch 'origin/stevef/menus'
2014-01-31 18:46:45 +00:00
Vincent Sanders
f99b17ae89
bump the maximum number of nodes in the doxygen documentation and fix a couple of small documentation errors
2014-01-29 23:58:41 +00:00
Steve Fryatt
0114cc825d
Provide a dedicated interface for destroying open menus.
...
Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means.
The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself.
2014-01-29 16:54:34 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +00:00
Vincent Sanders
54b7482f78
fix up riscos build errors
2014-01-16 14:28:25 +00:00
Vincent Sanders
a1361f22b4
Merge branch 'vince/guivtable'
2014-01-16 13:37:14 +00:00
John-Mark Bell
444d3ac94a
Silence warning
2014-01-16 01:35:51 +00:00
Vincent Sanders
d18c8ed452
move teh final optional window operations into the table
2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184
move four more optional window operations to table
2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9
move two more mandantory window operations to table
2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb
move mandantory window update and redraw operations into table
2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77
move more optional window operations into table including removing unused hide_pointer operation altogether
2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Steve Fryatt
bf8c88dbec
Update copyright header dates for recent commits.
2014-01-02 22:25:23 +00:00
Steve Fryatt
286ee3834c
In framesets, F8 views source for frame under pointer if applicable.
2014-01-02 22:22:18 +00:00
Steve Fryatt
6041089169
Implement user confirmation before removing hotlist entries from the URL bar.
2013-12-31 16:45:32 +00:00
Steve Fryatt
56b0465e88
Add default clause to squash compiler warning.
2013-12-31 15:10:10 +00:00
Steve Fryatt
6300c7ed90
Tidy up hotlist icon interfaces and make consistant with rest of toolbar.
2013-12-30 15:41:38 +00:00
Steve Fryatt
b8dd4f282b
Bring hotlist icon event handling in line with other toolbar actions.
...
- Make hotlist icon return click events to clients.
- Move URL add and remove code into browser window toolbar event handler.
- Pass hotlist icon URL add/remove via RISC OS hotlist interface.
2013-12-30 12:36:24 +00:00
Michael Drake
d5062bd9f9
Make view source menu option open the frame source, rather than frameset.
2013-12-19 13:53:33 +00:00
Michael Drake
eea3492266
Update hotlist indicator when current page is added to hotlist.
2013-11-23 15:30:26 +00:00
Michael Drake
24d0916778
Make RO hotlist add function take nsurl.
2013-11-22 18:19:20 +00:00
Michael Drake
b22adee6fc
Add undo (F8) and redo (F9) keys. If caret is not in textarea, F8 is still view source.
2013-10-01 13:40:38 +01:00
Steve Fryatt
ee8fb6f39f
Allow ro_mouse to enable null polls; remove unused global variables.
...
Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling.
Remove unused calls to drag type globals.
2013-09-08 13:27:11 +01:00
Steve Fryatt
a00e0f91c7
Move all mouse tracking into ro_mouse module.
...
Add Pointer Entering Window events to wimp_event module and add handlers to all modules requiring mouse tracking.
Updated: Treeview, URL Complete, History and GUI Window.
Delete all handling for Pointer Entering/Leaving from ro_gui.
2013-09-08 11:55:21 +01:00
Steve Fryatt
e87596ad1f
Restructure handling of DragEnd events.
...
Add ro_mouse module to process mouse events during drags and on null polls.
Implement support in ro_mouse for tracking the mouse during drags and passing on DragEnd events.
Remove ro_gui_drag_end() and update all of its clients so that they use ro_mouse.
Remove the unused ro_gui_window_frame_resize_end().
Termination of save drags with Escape is unimplemented, but appears broken anyway.
The use of gui_drag_type is still required to handle Message_DatasaveAck processing.
Mouse tracking is still handled via gui.c.
2013-09-08 00:47:55 +01:00
Michael Drake
cf8ffa412a
Remove old hotlist, cookies, and history_global_core modules.
...
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
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