Commit Graph

128 Commits

Author SHA1 Message Date
Vincent Sanders
f287379a7c Fix several doxygen issues 2014-11-08 11:38:20 +00:00
Michael Drake
368861faab Remove useless includes of utils/url.h 2014-10-31 14:36:34 +00:00
Vincent Sanders
ce3d991918 use nsurl_nice and remove url_nice
change all callers over to using new API for generating nice filenames
from a url and remove the old API.
2014-10-31 00:24:57 +00:00
Vincent Sanders
1097cc40b4 remove unecessary browser.h include from core headers 2014-10-17 12:21:52 +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
Vincent Sanders
02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +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
3ce61d6950 Reduce scope of a couple of variables. 2014-05-30 22:18:29 +01:00
Michael Drake
d25b62f1c2 Avoid redundant assignement of name to name. 2014-05-30 21:59:12 +01:00
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +01: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
654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Vincent Sanders
d18c8ed452 move teh final optional window operations into the table 2014-01-13 22:54:19 +00:00
Michael Drake
f5bdd4b109 Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs. 2013-10-03 21:11:54 +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
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
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
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01: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
John-Mark Bell
a2e67922d5 Fix 2576557: prepend '!' to target leafname if preparing a full save. 2013-01-13 18:45:05 +00:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Michael Drake
400ce41623 Remove unused includes. 2012-08-20 15:11:45 +01:00
Michael Drake
d2a1c85063 Avoid box_at_point. 2012-08-20 12:37:08 +01:00
Michael Drake
7d4af30468 Minor style change. 2012-08-19 16:50:38 +01:00
Michael Drake
cb715fe217 Squash implicit declaration of function 'html_get_box_tree' function by including render/html.h.
svn path=/trunk/netsurf/; revision=13721
2012-03-26 11:17:40 +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
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
Steve Fryatt
2a58f4c752 Properly bounds check buffers during save dialogue initialisation.
svn path=/trunk/netsurf/; revision=13037
2011-10-11 21:15:44 +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
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Michael Drake
a66575dfeb Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +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
Michael Drake
43094a146d Fix for new cache.
svn path=/trunk/netsurf/; revision=10278
2010-04-07 17:01:27 +00:00
John Mark Bell
1f4bb41301 I've decided that the user probably doesn't care if setting the filetype of saved HTML documents to HTML fails or not.
More importantly, this also squashes a memory leak, and stops returning false from a function which is defined as returning -1 on error.

svn path=/trunk/netsurf/; revision=9731
2009-12-18 00:11:37 +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
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
6dd385591d NETSURF_USE_DRAW should apply to the Draw content handler only.
Introduce NETSURF_USE_DRAW_EXPORT to toggle draw export support.
Fix up a bunch of stuff related to this.
Fix warnings caused by disabling the Sprite renderer.

svn path=/trunk/netsurf/; revision=7899
2009-06-20 19:38:56 +00:00
John Mark Bell
f0adddc334 Lose redundant variable
svn path=/trunk/netsurf/; revision=7636
2009-05-29 23:04:26 +00:00
John Mark Bell
87add71110 Purge WITH_DRAW_EXPORT
svn path=/trunk/netsurf/; revision=6980
2009-03-29 00:24:14 +00:00
John Mark Bell
f0432b9f7b Purge WITH_SAVE_COMPLETE
svn path=/trunk/netsurf/; revision=6979
2009-03-29 00:22:20 +00:00
John Mark Bell
c431416455 Aliasing fixes
svn path=/trunk/netsurf/; revision=6955
2009-03-28 01:02:29 +00:00
John Mark Bell
6d6491b240 Squash warnings
svn path=/trunk/netsurf/; revision=6922
2009-03-27 02:12:20 +00:00
Adrian Lees
1f6d4f4a42 Appease tlsa
svn path=/trunk/netsurf/; revision=6356
2009-02-02 21:44:54 +00:00
Adrian Lees
15e8ba0270 Selection menu and save/download tweaks
svn path=/trunk/netsurf/; revision=6349
2009-02-02 00:06:31 +00:00
Adrian Lees
bce01f90bc RFix immediate menu-related problems; changes to follow
svn path=/trunk/netsurf/; revision=6318
2009-01-31 03:43:06 +00:00
Adrian Lees
03a1aac36a Selection- and link-related functions now on menu; other menu changes as per t's plan
svn path=/trunk/netsurf/; revision=6296
2009-01-30 05:06:30 +00:00