Commit Graph

79 Commits

Author SHA1 Message Date
Vincent Sanders
1a7d00076d cleanup Doxygen warnings 2014-11-12 19:31:39 +00:00
Vincent Sanders
a99b1325d7 Doxygen cleanups 2014-11-12 11:45:07 +00:00
Vincent Sanders
33eb1f413a Doxygen warning fixes 2014-11-10 20:15:14 +00:00
Vincent Sanders
c14ddad660 change url setting api to take an nsurl instead of a text string 2014-11-02 22:30:45 +00:00
Vincent Sanders
ad343eccb1 remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
2014-11-02 20:10:32 +00:00
Michael Drake
925082cbe1 Update the correct favicon setter to take gui_window. 2014-10-16 09:34:27 +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
Vincent Sanders
766c90d369 additional header cleanups 2014-06-05 21:50:47 +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
508fc30ab9 Scope reduce a variable. 2014-05-26 11:42:25 +01:00
Michael Drake
6503757698 Scope reduce a variable. 2014-05-26 11:40:58 +01:00
Michael Drake
18fb6461f9 Reduce scope of some variables. 2014-05-26 11:39:49 +01:00
Michael Drake
a1cca5d127 Remove unused variable. 2014-05-26 11:37:16 +01:00
Michael Drake
cb0ae22949 Improve error handling. 2014-05-26 11:29:03 +01:00
Michael Drake
82bc40350a Reuce scope of several variables. 2014-05-26 11:24:14 +01:00
Michael Drake
609eb8377b Handle error. 2014-05-26 11:20:37 +01:00
Michael Drake
4a28b2b170 Scopre reduce some variables. 2014-05-26 11:14:18 +01:00
Michael Drake
02ac6b1976 Remove a couple of unused variables. 2014-05-26 11:05:03 +01:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +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
Vincent Sanders
59eaaf3015 fixup missing includes 2014-02-03 18:12:44 +00:00
Vincent Sanders
886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +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
Steve Fryatt
27fdcb90f2 Update copyright dates in modified files. 2014-01-26 16:28:56 +00:00
Steve Fryatt
cdc4041942 Add belt and braces to ensure that URL Bar content is always cleanly terminated. 2014-01-26 15:15:49 +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
Steve Fryatt
89992958d2 Increase maximum size of a URL in the URL Bar to 2047 characters plus terminator. 2014-01-26 13:41:41 +00:00
Steve Fryatt
0ab5fe7c02 Improve URL handling in URL Bar.
Rationalise handling of UTF8, so that URLs are always converted into local encoding even if there is no URL icon present.
In addition, make preliminary hotlist test in set_url() use local encoding, in line with all subsequent checks.
Make handling of over-length URLs more sensible: warn user and completely blank the URL bar.
2014-01-26 13:30:08 +00:00
Vincent Sanders
54b7482f78 fix up riscos build errors 2014-01-16 14:28:25 +00:00
Steve Fryatt
bf8c88dbec Update copyright header dates for recent commits. 2014-01-02 22:25:23 +00:00
Steve Fryatt
5c25b2e47d Provide some interactive help for the URL Bar's favicon and hotlist indicator. 2013-12-30 16:38:27 +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
1019692b88 Fix indentation. 2013-12-30 12:44:07 +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
Steve Fryatt
f825521072 Fix hotlist icon in browser URL bar.
- Change URL container to Double/Click/Drag so that mouse actions get passed on.
- Correctly parse return code from hotlist_add_url() to identify successful adds.
2013-12-29 21:39:23 +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
68a4fe32d0 Remove forward declarations. 2013-11-22 13:02:45 +00:00
Michael Drake
dbd70b1e47 Flag a TODO. 2013-11-22 12:04:46 +00:00
Michael Drake
d13b91b247 Always show hotlist indicator. 2013-11-22 11:58:53 +00:00
Michael Drake
1ef75e56ed Update URL bar's hotlist indicator as you type. 2013-11-22 11:52:34 +00:00
Michael Drake
6ee760dea3 Start URL bar hotlist indicator button implementation.
- Clicking to hotlist add/remove doesn't work.
- Doesn't update while typing in URL bar.
2013-11-22 11:21:52 +00: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
Michael Drake
1cba455811 More fixup. 2013-02-18 12:58:04 +00:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +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
9c4b9f5c94 Fix up RISC OS front end.
svn path=/trunk/netsurf/; revision=12545
2011-06-30 17:51:58 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00