Commit Graph

223 Commits

Author SHA1 Message Date
Vincent Sanders
79e501075a make the form select menu API smaller.
By hiding all but the form selection menu option structure from code
outside of render this reduces the API to the absolute minimum to
support this feature.
2014-11-13 21:52:08 +00:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Michael Drake
94f32b8369 Move create_form_select_menu to window gui table. 2014-10-24 20:45:21 +01:00
Michael Drake
ea851ba788 Keep throbber status in the gui_window. 2014-10-18 21:14:07 +01:00
Michael Drake
2f67de6889 It's silly to pass private core data around the front end, then fish out the frond then data from there, so don't. 2014-10-18 17:56:45 +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
b7deca9296 Don't dereference bw to get window scale. 2014-10-15 22:04:31 +01:00
Vincent Sanders
d0655bafc2 remove use of deprecated netsurf_quit variable in riscos
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-13 00:56:09 +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
54fcb66d87 cleanup RISC OS frontend header usage 2014-06-05 15:14:49 +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
bab90eddda Use angle brackets instead of quotes for include of external headers. 2014-05-30 22:29: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
Vincent Sanders
4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Vincent Sanders
59eaaf3015 fixup missing includes 2014-02-03 18:12:44 +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
e353973518 fix missing includes 2014-01-29 21:58:46 +00:00
Steve Fryatt
def97156d3 Make Open URL dialogue allocate memory for the URL field.
Add global constant for URL length, to manage both URL Bar and Open URL.
2014-01-26 14:35:57 +00:00
Vincent Sanders
dc074042e9 fix errors in url_to_path tfetch table changes 2014-01-25 23:21:28 +00:00
Vincent Sanders
0475693394 create table for fetcher operations and move all operations into it 2014-01-23 00:00:18 +00:00
Vincent Sanders
54b7482f78 fix up riscos build errors 2014-01-16 14:28:25 +00:00
Vincent Sanders
d47fed4524 move 401 login into operation table 2014-01-16 00:52:17 +00:00
Vincent Sanders
bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders
0075eab194 move remaining gui operations to table 2014-01-14 23:31:54 +00:00
Vincent Sanders
8dfe225153 move download operations to download table 2014-01-14 16:04:02 +00:00
Vincent Sanders
e82d83f184 move four more optional window operations to table 2014-01-13 14:51:27 +00:00
Michael Drake
c720ecf449 Remove old debug window template. 2013-10-03 20:04:29 +01:00
Steve Fryatt
f3f2c5b481 gui_current_drag_type now only used for data transfer protocol routing; fix button bar drag handler.
Remove all references to gui_current_drag_type outside of gui.c which are not related to routing DataSaveAck messages.
Update button bar drag code so that it uses ro_mouse.
2013-09-08 15:51:29 +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
2b0a98bd47 Avoid background blending overhead for treeview text. 2013-08-16 09:15:50 +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
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
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
80249f5f2a Make scroll event handling module specific.
svn path=/trunk/netsurf/; revision=13285
2011-12-17 17:31:35 +00:00
Michael Drake
9a3c573b9b Remove dead debugwin code.
svn path=/trunk/netsurf/; revision=13028
2011-10-10 12:23:53 +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
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
Steve Fryatt
cd9c0998e9 Merge branches/stevef/toolbars to trunk.
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +00:00
Steve Fryatt
2820ff0d6f Use dashed boxes for treeview drags.
svn path=/trunk/netsurf/; revision=11095
2010-12-19 10:45:13 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Vincent Sanders
2fd1476f8c The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
Alter the framebuffer schedule_run to return the time untill the next event.


svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Michael Drake
51d619ad4d Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
2010-04-07 10:55:39 +00:00
Michael Drake
cc0e23b540 Don't dump box trees on crash, and fix view source for new cache.
svn path=/trunk/netsurf/; revision=10262
2010-04-07 10:33:46 +00:00
Michael Drake
088742b3c3 Fix filetype.c.
svn path=/trunk/netsurf/; revision=10260
2010-04-07 09:12:46 +00:00