Commit Graph

36 Commits

Author SHA1 Message Date
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
ac70da346c Update the RISC OS frontend to cope with split operations table headers 2014-10-16 22:33:44 +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
Michael Drake
ecee6ffad8 Remove dead code. 2014-05-30 23:22:50 +01:00
Michael Drake
33513e65ea Fix toolbar width calculation.
+ has greater precedence than ?:, so wrap :? part in ().
2014-05-30 23:18:29 +01:00
Michael Drake
2f02d0785a Scope reduce a variable. 2014-05-30 23:13:42 +01:00
Michael Drake
b91c28b8d1 Fix logic error found by cppcheck. 2014-04-02 21:59:24 +01:00
Michael Drake
88a99d9722 Fix logic error found by cppcheck. 2014-04-02 21:56:34 +01: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
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
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +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
747c66c982 Don't pass already handled keys to the URL Complete code.
Don't scroll browser windows when the toolbar has focus.

svn path=/trunk/netsurf/; revision=13157
2011-11-20 18:38:33 +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
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
47d67cdbcb Fix bug #3200899: Don't claim keypresses we don't handle.
svn path=/trunk/netsurf/; revision=11925
2011-03-06 14:09:42 +00:00
Steve Fryatt
bf77abd2f5 Fix bug #3189352: ensure vertical extent of toolbars is set correctly.
svn path=/trunk/netsurf/; revision=11762
2011-02-22 21:19:23 +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
Richard Wilson
c6ffb4b578 [project @ 2004-08-30 21:04:11 by rjw]
Removal of redundant files.

svn path=/import/netsurf/; revision=1255
2004-08-30 21:04:11 +00:00
Richard Wilson
afa046e1be [project @ 2004-08-08 20:16:17 by rjw]
Internal changes for theme handling. Tinct is now an external resource.

svn path=/import/netsurf/; revision=1196
2004-08-08 20:16:17 +00:00
Richard Wilson
1d76b7efae [project @ 2004-08-05 23:10:24 by rjw]
Added home and search toolbar buttons. Fixed homepage menu entry to open in same window.

svn path=/import/netsurf/; revision=1185
2004-08-05 23:10:24 +00:00
Richard Wilson
456077353c [project @ 2004-07-26 22:23:40 by rjw]
Hotlist toolbar icon shading. Fix for GIF animation artifacts under certain conditions.

svn path=/import/netsurf/; revision=1151
2004-07-26 22:23:40 +00:00
Richard Wilson
d89753a11b [project @ 2004-07-21 20:02:13 by rjw]
Less compiler warnings. Fixed create_folder window title indirection from being too small. Support for help keys for greyed out menu items/icons.

svn path=/import/netsurf/; revision=1135
2004-07-21 20:02:13 +00:00
Richard Wilson
5c804fe3b2 [project @ 2004-07-09 21:03:26 by rjw]
Various minor GUI fixes

svn path=/import/netsurf/; revision=1064
2004-07-09 21:03:26 +00:00
Richard Wilson
cfe6cd43dc [project @ 2004-07-07 22:09:26 by rjw]
Minor GUI fixes for hotlist. Hotlist toolbar.

svn path=/import/netsurf/; revision=1054
2004-07-07 22:09:26 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
Richard Wilson
5db1eae529 [project @ 2004-07-04 18:44:51 by rjw]
Loading/saving of hotlists. Initial work for hotlist menu.

svn path=/import/netsurf/; revision=1046
2004-07-04 18:44:51 +00:00
Richard Wilson
4da7fcd8f5 [project @ 2004-06-29 23:13:40 by rjw]
Experimental hotlist code

svn path=/import/netsurf/; revision=1030
2004-06-29 23:13:40 +00:00
John Mark Bell
bd6ec25190 [project @ 2004-06-10 22:39:56 by jmb]
Compiler warning purge

svn path=/import/netsurf/; revision=954
2004-06-10 22:39:56 +00:00
Richard Wilson
020080956a [project @ 2004-05-14 17:35:00 by rjw]
Begone status bar widget flicker!

svn path=/import/netsurf/; revision=861
2004-05-14 17:35:00 +00:00
James Bursa
24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
James Bursa
7cb9b4d79b [project @ 2004-05-06 20:37:48 by bursa]
Remove obsolete theme files. Hide some unimplemented toolbar icons. F2 moves caret to URL bar and clears it to "www.". Simplify some of the toolbar code. Fix menu-related crash (reported by Jerome Mathevet).

svn path=/import/netsurf/; revision=836
2004-05-06 20:37:48 +00:00
Richard Wilson
c4fe8ccf18 [project @ 2004-05-05 20:04:37 by rjw]
Status window now correctly respects the horizontal scroll bar height.

svn path=/import/netsurf/; revision=829
2004-05-05 20:04:37 +00:00
Richard Wilson
e7da747f5f [project @ 2004-05-04 22:21:37 by rjw]
Revised GUI.

svn path=/import/netsurf/; revision=823
2004-05-04 22:23:44 +00:00