Commit Graph

27 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
72f8e711d7 additional risc os header cleanups 2014-06-05 23:01:37 +01:00
Vincent Sanders
54fcb66d87 cleanup RISC OS frontend header usage 2014-06-05 15:14:49 +01:00
Michael Drake
6fe8e7ad53 Scope reduce some variables. 2014-05-26 10:00:09 +01:00
Michael Drake
143e553593 Remove redundant bitmap compression/decompression/dropping-to-disc. The core now has a converted bitmap cache that is pruned more agressively. 2013-10-03 19:25:01 +01:00
John Mark Bell
9b4a382d68 Insert a redundant return, as scan-build fails to notice that die() never returns.
svn path=/trunk/netsurf/; revision=7629
2009-05-29 22:56:09 +00:00
Adrian Lees
d67a57c1e9 Assorted saving-related changes (WIP)
svn path=/trunk/netsurf/; revision=6010
2009-01-10 00:18:34 +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
039362166c Make ro_gui_configure_register static.
svn path=/trunk/netsurf/; revision=4900
2008-08-04 21:52:28 +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
Richard Wilson
9e3c519c2e Remove redundant close window calls.
svn path=/trunk/netsurf/; revision=3247
2007-04-07 22:53:59 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
1999becb42 Finish event based GUI system transition and begin code cleanup.
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
John Mark Bell
5adef63ac5 Localise configure icon strings when appropriate.
Fix gright menu handling - now writes into display field without 
attempting to localise the selection string - it's already localised.
Update German Messages file appropriately.

svn path=/trunk/netsurf/; revision=2638
2006-06-20 21:35:33 +00:00
Richard Wilson
9fdd71709d Fix incorrect interactive help assignment
svn path=/trunk/netsurf/; revision=2549
2006-04-22 21:50:44 +00:00
Richard Wilson
1bb74deace [project @ 2006-04-06 22:42:22 by rjw]
Add connection option tool.

svn path=/import/netsurf/; revision=2498
2006-04-06 22:42:22 +00:00
Richard Wilson
9299e0d55a [project @ 2006-04-06 17:51:25 by rjw]
Content and security option tools.

svn path=/import/netsurf/; revision=2493
2006-04-06 17:51:25 +00:00
John Mark Bell
c098703201 [project @ 2006-03-25 22:48:32 by jmb]
Assert that template names are <=11 chars long.
Rename con_language to con_lang

svn path=/import/netsurf/; revision=2165
2006-03-25 22:48:32 +00:00
Adrian Lees
57c86c8c0e [project @ 2006-02-07 16:16:23 by adrianl]
Confirmation before overwriting with download files; Interface Choices dialog

svn path=/import/netsurf/; revision=2061
2006-02-07 16:16:23 +00:00
John Mark Bell
5fdc462c1d [project @ 2006-01-25 23:12:36 by jmb]
Fix buffer overflow

svn path=/import/netsurf/; revision=2044
2006-01-25 23:12:36 +00:00
Richard Wilson
655eaf25ae [project @ 2006-01-25 02:43:07 by rjw]
Language configuration tool

svn path=/import/netsurf/; revision=2038
2006-01-25 02:43:07 +00:00
Richard Wilson
3e2ec17a62 [project @ 2006-01-07 00:40:59 by rjw]
Add new configure tools. Improve initial window size.

svn path=/import/netsurf/; revision=2007
2006-01-07 00:40:59 +00:00
Richard Wilson
8b725c3371 [project @ 2006-01-02 22:02:13 by rjw]
New theme configuration tool.

svn path=/import/netsurf/; revision=1956
2006-01-02 22:02:38 +00:00
Richard Wilson
009ac8c7a0 [project @ 2006-01-02 05:23:26 by rjw]
Image configuration tool.

svn path=/import/netsurf/; revision=1944
2006-01-02 05:23:26 +00:00
Richard Wilson
1f9a35369b [project @ 2006-01-02 02:52:53 by rjw]
Allow dynamic memory configuration.

svn path=/import/netsurf/; revision=1938
2006-01-02 02:52:53 +00:00
Richard Wilson
4c9d208014 [project @ 2005-12-31 04:45:47 by rjw]
Configuration tool window.

svn path=/import/netsurf/; revision=1919
2005-12-31 04:45:47 +00:00