John-Mark Bell
a470aacdb2
RISCOS: fix obvious NULL dereferences in URL complete.
2015-07-18 23:30:15 +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
a99b1325d7
Doxygen cleanups
2014-11-12 11:45:07 +00: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
91f3eb5c2f
Scope reduce a variable.
2014-05-31 13:06:52 +01:00
Michael Drake
8ee941a7a5
Scope reduce several variables.
2014-05-30 23:30:44 +01: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
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
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01: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
d9e7d58106
Fix up ripples from urldb change.
2012-10-11 11:20:02 +01: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
Steve Fryatt
cd9c0998e9
Merge branches/stevef/toolbars to trunk.
...
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +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
John Mark Bell
dbba3b4d37
Whoops. Lose spurious ')'.
...
svn path=/trunk/netsurf/; revision=7646
2009-05-30 00:29:46 +00:00
John Mark Bell
5404e91fcd
Simplify code
...
svn path=/trunk/netsurf/; revision=7644
2009-05-30 00:23:07 +00:00
John Mark Bell
b03d52e6d9
Ensure we don't read beyond the end of the array of available matches. Set any remaining saved pointers to NULL.
...
svn path=/trunk/netsurf/; revision=7641
2009-05-29 23:23:02 +00:00
John Mark Bell
ac6cc0e4a4
More permitted aliasing
...
svn path=/trunk/netsurf/; revision=6947
2009-03-27 17:55:58 +00:00
John Mark Bell
69456beabb
Squash warning
...
svn path=/trunk/netsurf/; revision=6909
2009-03-27 01:19:02 +00:00
John Tytgat
3f0c50e5a0
- C strings have always an implicit NUL character at the end, no need to specify an extra one.
...
- riscos/configure/con_theme.c: removed spurious code line.
svn path=/trunk/netsurf/; revision=6331
2009-02-01 13:37:32 +00:00
John Tytgat
c40fc354b3
- Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
...
- ro_gui_get_icon_string():
- Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
- Enfore NUL string termination as return value (instead of other control char termination)
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added
svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Mark Bell
b15a6af3d2
s/wchar_t/uint32_t/g
...
We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable.
svn path=/trunk/netsurf/; revision=4165
2008-05-16 09:37:22 +00:00
John Mark Bell
b82546a39f
Probably fix crash on clicking in url completion dialogue.
...
URL completion really needs revisiting, as it's full of side effects and has weird and wonderful interactions with other parts of the system.
svn path=/trunk/netsurf/; revision=3535
2007-08-29 00:27:52 +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
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
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
John Mark Bell
1decf851aa
Fix URL completion keypress handling
...
svn path=/trunk/netsurf/; revision=2748
2006-07-13 22:50:48 +00:00
Richard Wilson
652f594cbb
Further url completion fixes
...
svn path=/trunk/netsurf/; revision=2744
2006-07-13 21:28:07 +00:00
Richard Wilson
1fcceb72f6
Fix url completion
...
svn path=/trunk/netsurf/; revision=2743
2006-07-13 19:48:45 +00:00
John Mark Bell
cc226c0293
Make URL completion ignore unvisited URLs
...
svn path=/trunk/netsurf/; revision=2621
2006-06-15 15:47:34 +00:00
Richard Wilson
c7f77b0165
Finish history cloning.
...
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
John Mark Bell
e0ba508992
Store URLs explicitly in URL database for faster access.
...
Iteration callbacks now passed url_data struct to remove need to look up
svn path=/trunk/netsurf/; revision=2522
2006-04-11 02:39:55 +00:00
John Mark Bell
c09eb457df
Unify information databases
...
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Richard Wilson
25a995931d
[project @ 2006-03-04 20:46:35 by rjw]
...
Continue work towards favicon support.
svn path=/import/netsurf/; revision=2104
2006-03-04 20:46:35 +00:00
Richard Wilson
5dff5b7a3c
[project @ 2006-01-01 13:58:31 by rjw]
...
Re-introduce clicking in URL completion window
svn path=/import/netsurf/; revision=1925
2006-01-01 13:58:31 +00:00
Richard Wilson
d1094d1238
[project @ 2005-12-31 04:40:48 by rjw]
...
Use new wimp_event system.
svn path=/import/netsurf/; revision=1916
2005-12-31 04:40:49 +00:00
Richard Wilson
b83f2c20b6
[project @ 2005-04-27 20:48:55 by rjw]
...
Don't close when other windows are resized.
svn path=/import/netsurf/; revision=1690
2005-04-27 20:48:55 +00:00
Richard Wilson
019043df82
[project @ 2005-04-27 00:02:02 by rjw]
...
Remove NULL read for no matching URLs
svn path=/import/netsurf/; revision=1687
2005-04-27 00:02:02 +00:00
Richard Wilson
36b513ccce
[project @ 2005-04-05 18:52:00 by rjw]
...
Fix reading from zero-page.
svn path=/import/netsurf/; revision=1601
2005-04-05 18:52:00 +00:00
Richard Wilson
07ae1a1ec9
[project @ 2005-02-09 00:16:38 by rjw]
...
Make URL completion only respond to Adjust clicks once.
svn path=/import/netsurf/; revision=1509
2005-02-09 00:16:38 +00:00
Richard Wilson
db41dc3dac
[project @ 2005-02-07 14:28:43 by rjw]
...
Initial work for global history (currently incomplete)
svn path=/import/netsurf/; revision=1497
2005-02-07 14:28:43 +00:00
Richard Wilson
b07582615b
[project @ 2005-02-04 18:07:27 by rjw]
...
Adjust clicking on a suggested URL filters to the prefix and doesn't launch.
svn path=/import/netsurf/; revision=1491
2005-02-04 18:07:27 +00:00
Richard Wilson
097b8e5bcd
[project @ 2005-02-04 03:02:15 by rjw]
...
Make URL completion less intrusive, fix incorrect horizontal clipping of vertical scrollbar.
svn path=/import/netsurf/; revision=1490
2005-02-04 03:02:15 +00:00
Richard Wilson
2affb76944
[project @ 2005-02-03 13:18:22 by rjw]
...
Implementation of URL suggestion
svn path=/import/netsurf/; revision=1488
2005-02-03 13:18:22 +00:00