Commit Graph

195 Commits

Author SHA1 Message Date
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
John Mark Bell 355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell 2565a37a52 Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
John Mark Bell 903edd1bf5 Purge WITH_SEARCH
svn path=/trunk/netsurf/; revision=6604
2009-02-22 15:21:54 +00:00
John Mark Bell b98f105b24 Purge WITH_AUTH
svn path=/trunk/netsurf/; revision=6600
2009-02-22 15:13:10 +00:00
John Mark Bell 847b776285 Purge NETSURF_USE_SSL and WITH_SSL
svn path=/trunk/netsurf/; revision=6599
2009-02-22 15:07:50 +00:00
Adrian Lees 327606f0fd A few usability tweaks
svn path=/trunk/netsurf/; revision=5922
2008-12-26 09:25:30 +00:00
John Tytgat 203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
John Tytgat 5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Michael Drake 2319b6032e + Change core to handle different front end click behaviour
styles. (Act on mouse button press or on button release.)
+ Click hold on CSS scrollbar arrows now pauses before
  starting to auto-repeat.
+ Click hold on scrollbar wells will now auto-repeat.

svn path=/trunk/netsurf/; revision=4268
2008-06-06 13:58:56 +00:00
John Mark Bell a16586c9b7 Use local filetype directly, if we're "downloading" a local file
svn path=/trunk/netsurf/; revision=4189
2008-05-23 13:29:37 +00:00
Rob Kendrick 59641def82 const fixes in plotters and history core
svn path=/trunk/netsurf/; revision=4083
2008-04-07 11:15:09 +00:00
James Bursa 21db9de5f8 Make F9 dump box tree to an editor for easier debugging.
svn path=/trunk/netsurf/; revision=3529
2007-08-20 02:39:49 +00:00
Vincent Sanders 2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
James Bursa 07c54283e3 Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
Daniel Silverstone 6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
John Mark Bell 932765df96 Remove collusion between window, menus and search code in order to clear
search selection state - this should happen automagically through 
wimp_event callbacks now.
Also tidy search.c so I can read it better ;)

svn path=/trunk/netsurf/; revision=3227
2007-03-26 21:09:25 +00:00
Richard Wilson 0b875957cb Format frame content to correct initial size. Scale iframe co-ordinates.
svn path=/trunk/netsurf/; revision=3134
2007-01-03 15:15:54 +00:00
James Bursa 7e252084a5 Replace font_menu with new rufl built-in font menu.
svn path=/trunk/netsurf/; revision=3111
2006-12-08 20:04:03 +00:00
Richard Wilson ebdaeed557 Use new UTF-8 status bar. Use top-window dimensions for new windows from framesets.
svn path=/trunk/netsurf/; revision=3082
2006-11-30 15:30:54 +00:00
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson 02a8722cc6 Fix 1553282.
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
Richard Wilson 3e0c02e8e5 Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing issues for framesets.
svn path=/trunk/netsurf/; revision=2924
2006-09-06 22:15:58 +00:00
Richard Wilson 1999becb42 Finish event based GUI system transition and begin code cleanup.
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
Richard Wilson 74fa727509 Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
James Bursa 8343f4f37a Move ro_gui_wimp_desktop_font() from wimp.c to font.c. Simplify code and add logging of result.
svn path=/trunk/netsurf/; revision=2876
2006-08-21 03:11:44 +00:00
Richard Wilson 00d74fdd2d Allow the viewing of the entire SSL certificate chain.
svn path=/trunk/netsurf/; revision=2755
2006-07-16 00:21:15 +00:00
John Mark Bell 25501c695e Centralise keypress handling (download and query dialogs still need porting over to wimp_event)
Make core browser window invalidate caret callback on mouse clicks

svn path=/trunk/netsurf/; revision=2746
2006-07-13 21:57:35 +00:00
Richard Wilson a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00