summaryrefslogtreecommitdiff
path: root/render/imagemap.c
Commit message (Collapse)AuthorAgeFilesLines
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* rationalise use of utils/utils.h headerVincent Sanders2017-01-191-3/+3
|
* simplify box_extract_link interface and improve documentationVincent Sanders2016-09-111-2/+1
|
* Pass html_content to box_extract_link.Michael Drake2016-01-211-3/+4
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-16/+5
| | | | | | | | | | | | 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.
* Doxygen cleanupsVincent Sanders2014-11-121-5/+5
|
* remove uncessary null check (coverity 1199865) and remove forward referencesVincent Sanders2014-05-181-282/+269
|
* ensure imagemap lists are freed on error paths (coverity 1109880)Vincent Sanders2014-01-241-0/+6
|
* cleanups to fix new clang warningsVincent Sanders2014-01-101-4/+4
|
* Fix a potential leak.Michael Drake2013-09-051-2/+1
|
* Allocate correct amount of mem for pointers to imagemaps.Michael Drake2013-09-051-1/+1
|
* Fix trying to free a load of stuff dereferenced from a NULL ptr.Michael Drake2013-02-221-11/+13
|
* Improve error handling in html contentVincent Sanders2012-10-171-7/+12
|
* Fix imagemap handling to handle no coords attr when shape attr is not default.Michael Drake2012-09-241-1/+1
|
* Fixup for latest libdom.Michael Drake2012-09-111-2/+4
|
* Cope with missing/empty href attributeJohn-Mark Bell2012-08-301-1/+1
|
* Interned string cleanup, phase 5: Move imagemap.c to corestring.Michael Drake2012-07-221-20/+20
|
* Initial attempt at imagemap libdomificationDaniel Silverstone2012-03-251-208/+235
| | | | svn path=/trunk/netsurf/; revision=13692
* Include dom/dom.h where it might be neededDaniel Silverstone2012-03-241-0/+2
| | | | svn path=/trunk/netsurf/; revision=13625
* conversion to libdom Vincent Sanders2012-03-241-9/+13
| | | | | | work in progress with FIXME blocks svn path=/trunk/netsurf/; revision=13606
* More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)Michael Drake2011-10-031-13/+15
| | | | svn path=/trunk/netsurf/; revision=12933
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-3/+4
| | | | svn path=/trunk/netsurf/; revision=12926
* Pass html_content to imagemap_get, instead of hlcache_handle.Michael Drake2011-09-061-2/+1
| | | | svn path=/trunk/netsurf/; revision=12752
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-29/+24
| | | | svn path=/trunk/netsurf/; revision=12283
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-9/+11
| | | | svn path=/trunk/netsurf/; revision=10180
* Squash memory leakJohn Mark Bell2009-11-221-0/+1
| | | | svn path=/trunk/netsurf/; revision=9690
* Fix stupidJohn Mark Bell2009-07-021-2/+3
| | | | svn path=/trunk/netsurf/; revision=8275
* Make this more legible and squash leaks.John Mark Bell2009-07-021-121/+127
| | | | svn path=/trunk/netsurf/; revision=8273
* Make nsgtk compile on Mac OS X.John Mark Bell2008-08-111-0/+1
| | | | svn path=/trunk/netsurf/; revision=5031
* C89François Revel2008-08-081-2/+2
| | | | svn path=/trunk/netsurf/; revision=4963
* Add rectangle as alias for "rect"John Mark Bell2008-07-291-1/+2
| | | | svn path=/trunk/netsurf/; revision=4798
* Recurse into <area> and <a>, too.John Mark Bell2008-05-281-3/+5
| | | | svn path=/trunk/netsurf/; revision=4220
* SignednessWarnings.squash()John Mark Bell2008-02-251-8/+8
| | | | | | 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
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+16
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-5/+5
| | | | | | | | | | | | | | 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
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Fix 1559653.John Mark Bell2006-09-181-2/+7
| | | | svn path=/trunk/netsurf/; revision=2959
* Add frame target support to imagemaps.John Mark Bell2006-09-061-35/+94
| | | | svn path=/trunk/netsurf/; revision=2920
* [project @ 2005-08-14 23:56:15 by jmb]John Mark Bell2005-08-141-0/+676
Move imagemap.[ch] into render/ Make imagemap URL extraction use box_extract_link svn path=/import/netsurf/; revision=1847