Vincent Sanders
0d811963c1
fixup all the remaining logging macro callsites
...
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +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
3b42f73b5a
check fseek return value (coverity 1109837)
2014-05-18 14:40:39 +01:00
Vincent Sanders
17b347a260
check mkdir results (coverity 1109838)
2014-05-18 14:40:39 +01:00
Vincent Sanders
06091eee36
fix fseek error return checking (fixes coverity 1109839)
2014-05-11 23:48:40 +01:00
Vincent Sanders
c3e2dc9005
check return values of fseek (fixes coverity 1109840)
2014-05-11 23:45:42 +01:00
Vincent Sanders
83fa2a9482
check return from fseek (fixes coverity 1109841)
2014-05-11 23:43:36 +01:00
Vincent Sanders
f94bc67107
safely copy header name and author (fixes coverity 1195408)
2014-05-11 23:38:18 +01:00
Vincent Sanders
4776de4001
ensure filename is null terminated (fix coverity 1195409)
2014-05-11 23:35:12 +01:00
Vincent Sanders
6b29a697b9
check ftell return value coverity 1109870
2013-10-25 21:28:58 +01:00
John Mark Bell
26a1bb7718
Use S_IRWXU where appropriate
...
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
John Mark Bell
b75b2ae8bb
Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55: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
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
Rob Kendrick
bbfda21e1c
Add verbose flag to theme creation tool - silent unless used.
...
svn path=/trunk/netsurf/; revision=3019
2006-10-27 14:56:32 +00:00
Rob Kendrick
88fec4362c
Make containers use mmap() where available
...
svn path=/trunk/netsurf/; revision=3018
2006-10-26 23:53:16 +00:00
Rob Kendrick
87a660d1ea
Import initial work on theme container handling code and simple command-line tool to create and dismantal them. Still a little grungy, and doesn't check in enough places for memory exhaustion.
...
svn path=/trunk/netsurf/; revision=3017
2006-10-26 01:10:46 +00:00