Commit Graph

69 Commits

Author SHA1 Message Date
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
Michael Drake
3128ecf2a5 Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Michael Drake
962fe1849c Fix for new content redraw API.
svn path=/trunk/netsurf/; revision=12330
2011-05-09 08:28:56 +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
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +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
Steve Fryatt
b077f15485 Reduce redraw flicker when changing URL bar extent.
svn path=/trunk/netsurf/; revision=11752
2011-02-21 23:50:40 +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
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
John Mark Bell
4a950fcbf7 Only run the scheduler on null poll events.
Ensure the status bar widget treats its text as const.

Fix erroneous free of status bar text in status bar widget destructor. 
The status bar text is now owned by the core.

Schedule a callback to request a redraw from the Wimp when setting status bar 
text. The previous approach could lead to the Wimp having a long queue of 
redraw events to issue to us, thus preventing any other application being 
scheduled.

The above changes are based on a patch from Rik Griffin.

svn path=/trunk/netsurf/; revision=10126
2010-03-10 22:47:37 +00:00
Vincent Sanders
c1e7429d58 remove RISC OS status bar text caching
svn path=/trunk/netsurf/; revision=9966
2010-02-11 00:10:58 +00:00