John-Mark Bell
d90ab621f8
RISC OS: use correct format specifier
2015-08-15 10:06:19 +00:00
John-Mark Bell
5ea9961737
RISCOS: further fix URL bar memory manipulation
2015-07-19 11:49:57 +01:00
Chris Young
80e9a23fc1
Check for empty URL in RISC OS
2015-07-19 10:45:53 +01:00
Chris Young
daef57aaee
Check NULL pointer
2015-07-19 10:34:02 +01:00
John-Mark Bell
a470aacdb2
RISCOS: fix obvious NULL dereferences in URL complete.
2015-07-18 23:30:15 +01:00
Chris Young
abc7a71117
Pass the URL bar contents back as UTF-8.
2015-07-18 20:12:01 +01:00
Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.
The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.
A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
669df172ec
Fix my spelling of teh everywhere
2014-11-18 17:16:26 +00:00
Vincent Sanders
e8277f2954
doxgen warning fixes in riscos frontend.
2014-11-12 22:36:11 +00:00
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