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
740387be8d
Doxygen cleanups
2014-11-12 16:21:23 +00:00
Vincent Sanders
758dcd4de9
remove uncessary null check (coverity 1199865) and remove forward references
2014-05-18 14:40:39 +01:00
Vincent Sanders
b7e372cf84
ensure imagemap lists are freed on error paths (coverity 1109880)
2014-01-24 12:11:10 +00:00
Vincent Sanders
303a29a89c
cleanups to fix new clang warnings
2014-01-10 15:55:29 +00:00
Michael Drake
8641d5cbda
Fix a potential leak.
2013-09-05 11:13:08 +01:00
Michael Drake
b646592928
Allocate correct amount of mem for pointers to imagemaps.
2013-09-05 10:46:58 +01:00
Michael Drake
3cc90f2f30
Fix trying to free a load of stuff dereferenced from a NULL ptr.
2013-02-22 23:08:39 +00:00
Vincent Sanders
f18bbd48c7
Improve error handling in html content
2012-10-17 21:52:43 +01:00
Michael Drake
00697c7fad
Fix imagemap handling to handle no coords attr when shape attr is not default.
2012-09-24 19:39:20 +01:00
Michael Drake
ee9ab42f75
Fixup for latest libdom.
2012-09-11 13:10:50 +01:00
John-Mark Bell
ba7fba824d
Cope with missing/empty href attribute
2012-08-30 23:58:06 +01:00
Michael Drake
5dadb1a0ec
Interned string cleanup, phase 5: Move imagemap.c to corestring.
2012-07-22 20:52:34 +01:00
Daniel Silverstone
e1df0d095a
Initial attempt at imagemap libdomification
...
svn path=/trunk/netsurf/; revision=13692
2012-03-25 15:07:08 +00:00
Daniel Silverstone
24894214bc
Include dom/dom.h where it might be needed
...
svn path=/trunk/netsurf/; revision=13625
2012-03-24 20:55:22 +00:00
Vincent Sanders
07d445a5ca
conversion to libdom
...
work in progress with FIXME blocks
svn path=/trunk/netsurf/; revision=13606
2012-03-24 17:11:17 +00:00
Michael Drake
898b01e721
More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)
...
svn path=/trunk/netsurf/; revision=12933
2011-10-03 20:28:29 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
Michael Drake
318803d382
Pass html_content to imagemap_get, instead of hlcache_handle.
...
svn path=/trunk/netsurf/; revision=12752
2011-09-06 16:26:02 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
John Mark Bell
0846b2ac95
Squash memory leak
...
svn path=/trunk/netsurf/; revision=9690
2009-11-22 13:55:32 +00:00
John Mark Bell
2dbf92761f
Fix stupid
...
svn path=/trunk/netsurf/; revision=8275
2009-07-02 23:05:10 +00:00
John Mark Bell
e6f70d9760
Make this more legible and squash leaks.
...
svn path=/trunk/netsurf/; revision=8273
2009-07-02 22:35:15 +00:00
John Mark Bell
25018c455b
Make nsgtk compile on Mac OS X.
...
svn path=/trunk/netsurf/; revision=5031
2008-08-11 16:44:12 +00:00
François Revel
914cbeacfe
C89
...
svn path=/trunk/netsurf/; revision=4963
2008-08-08 20:12:38 +00:00
John Mark Bell
a66415564f
Add rectangle as alias for "rect"
...
svn path=/trunk/netsurf/; revision=4798
2008-07-29 09:48:08 +00:00
John Mark Bell
287e6b2395
Recurse into <area> and <a>, too.
...
svn path=/trunk/netsurf/; revision=4220
2008-05-28 20:05:30 +00:00
John Mark Bell
1cf46a6792
SignednessWarnings.squash()
...
Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice.
svn path=/trunk/netsurf/; revision=3868
2008-02-25 17:58:00 +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
a1b6005497
Fix 1559653.
...
svn path=/trunk/netsurf/; revision=2959
2006-09-18 00:16:39 +00:00
John Mark Bell
221e5aa2a3
Add frame target support to imagemaps.
...
svn path=/trunk/netsurf/; revision=2920
2006-09-06 00:15:10 +00:00
John Mark Bell
58d9b45e81
[project @ 2005-08-14 23:56:15 by jmb]
...
Move imagemap.[ch] into render/
Make imagemap URL extraction use box_extract_link
svn path=/import/netsurf/; revision=1847
2005-08-14 23:56:15 +00:00