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
Witold Filipczyk
befa5e6ed3
To avoid namespace conflicts with ncurses add NetSurf key prefix.
...
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders
f287379a7c
Fix several doxygen issues
2014-11-08 11:38:20 +00: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
7f55cb58a0
stop riscos uncesecarily including gui.h
2014-06-04 12:07:03 +01:00
Michael Drake
2e79a8ee7a
Scope reduce a couple of variables.
2014-05-26 11:50:11 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +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
ea28b07cae
Add confirm_hotlist_remove option to allow users to turn URL removal query off.
2013-12-31 16:57:47 +00:00
Steve Fryatt
6041089169
Implement user confirmation before removing hotlist entries from the URL bar.
2013-12-31 16:45:32 +00:00
Steve Fryatt
20b3d960e5
Remove excessive logging from hotlist code.
2013-12-30 17:04:54 +00:00
Steve Fryatt
f64c8ed9ef
Update the URL hotlist icon when entries are deleted from the hotlist.
...
This does not currently spot entries which are edited.
2013-12-30 16:20:37 +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
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
Michael Drake
24d0916778
Make RO hotlist add function take nsurl.
2013-11-22 18:19:20 +00:00
Michael Drake
f13a11e31f
Destroy treeviews.
2013-09-08 19:04:45 +01:00
Michael Drake
f2b4a7a997
Port to new recursive expand/contract functions.
2013-09-03 12:36: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
e9f65ff9cb
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8
Remove tree icon_name globals from all the front ends.
2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05
Remove bulk of old treeview implementation.
2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481
Use TREE_HOTLIST directly.
2013-09-02 14:42:53 +01:00
Michael Drake
2dc99f9ae7
Allow the other front ends to use the hotlist test too.
2013-08-16 08:25:25 +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
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
Chris Young
24486e342a
Update frontends for r13185. Enabled new functionality, where it is not logical it
...
can be switched off.
svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Steve Fryatt
78181f7d4e
Config to enable external hotlist app to be launched via toolbar and menus.
...
svn path=/trunk/netsurf/; revision=13150
2011-11-19 21:59:46 +00:00
Steve Fryatt
797838270e
Bring external hotlist support in line with Bookmaker's interpretation.
...
svn path=/trunk/netsurf/; revision=13042
2011-10-13 20:40:52 +00:00
Steve Fryatt
17cf5fab71
Add support for external hotlist utilities.
...
svn path=/trunk/netsurf/; revision=13022
2011-10-09 13:32:43 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +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
Vincent Sanders
60c840628f
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
...
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Steve Fryatt
3529ead319
Restore toolbar menus in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10908
2010-10-24 23:17:21 +00:00
Steve Fryatt
a1194cd03f
Re-enable toolbar editing and button selection in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10907
2010-10-24 21:52:16 +00:00
Steve Fryatt
ba197f29c7
Partially re-enable toolbar buttons in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10906
2010-10-24 20:00:45 +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
20cb4a7a48
Fix hotlist for new cache.
...
svn path=/trunk/netsurf/; revision=10267
2010-04-07 12:19:08 +00:00
John Mark Bell
f6fbe6ef96
Fix blatent use-after-free bug.
...
svn path=/trunk/netsurf/; revision=9712
2009-12-03 22:10:56 +00:00
John Mark Bell
d09d540fff
Add missing return.
...
svn path=/trunk/netsurf/; revision=7635
2009-05-29 23:02:59 +00:00
John Mark Bell
e240c200d5
Avoid potentially unsafe writes through a const pointer.
...
svn path=/trunk/netsurf/; revision=6974
2009-03-28 19:59:46 +00:00
Adrian Lees
912adb285d
Updated URLs in default hotlist
...
svn path=/trunk/netsurf/; revision=6011
2009-01-10 00:34:56 +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 Tytgat
5f6c2cbff7
- Compiler warning squash
...
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.
svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +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
Rob Kendrick
6bcae05b66
Tweak default hotlist entries to be more up-to-date
...
svn path=/trunk/netsurf/; revision=3299
2007-05-21 16:02:42 +00:00