Commit Graph

350 Commits

Author SHA1 Message Date
Michael Drake
f6f2bcbcde Interned string cleanup, phase 6 (final): Move html.c to corestring. 2012-07-22 23:28:45 +01:00
Michael Drake
3c790bf12d Fix ref counting issue in meta tag finder. 2012-07-22 21:58:47 +01:00
Michael Drake
d70bf9ac43 Fix ref counting issue in HEAD handler. Fix logic error too. 2012-07-22 21:31:30 +01:00
John-Mark Bell
41abc08cbb Fix ref leak in error case 2012-07-22 13:49:10 +01:00
Daniel Silverstone
88207c0b17 Unref the <html> node where appropriate, so we don't have it left behind 2012-07-21 20:10:44 +01:00
Michael Drake
9d3986e768 Avoid strcasecmp in form control creation node name handler. 2012-07-21 17:41:17 +01:00
John-Mark Bell
1ecc94b187 Use case insensitive string comparisions for nodes 2012-07-15 01:39:25 +01:00
Vincent Sanders
fa3da41a94 fix stylesheet render 2012-07-14 18:24:09 -06:00
John-Mark Bell
1f36e48372 Squash warnings 2012-07-15 01:02:33 +01:00
Vincent Sanders
bd244b121a Merge branch 'vince/forms-fixed'
Conflicts:
	Makefile.sources
	render/box_construct.c
	render/html.c
	render/html_internal.h

Merge Daniel Silverstones forms branch
2012-07-14 14:42:02 -06:00
Vincent Sanders
6ab102c3b1 Rework form acessors to deal with binding changes 2012-07-14 13:24:14 -06:00
Vincent Sanders
394357b7c9 fix quirks mode setting with libdom hubbub parser 2012-07-14 09:13:21 -06:00
Vincent Sanders
d7289f6701 remove parser binding layer 2012-07-13 17:37:22 -06:00
Vincent Sanders
019be7616c split out script handling from html 2012-07-13 17:37:21 -06:00
Vincent Sanders
c5a87d3ebb do not try and write to document if the parser is finished 2012-07-07 00:29:47 +01:00
Vincent Sanders
752261c66c Improve logging and inline script handling 2012-07-07 00:16:07 +01:00
Vincent Sanders
cc93afcfda alter usage of libdom hubbub binding 2012-07-06 20:00:32 +01:00
Vincent Sanders
d5c900b5f1 fix mimetype handling of script elements
svn path=/trunk/netsurf/; revision=13993
2012-06-28 14:38:28 +00:00
Vincent Sanders
8611281b2e add content handler for javascript
svn path=/trunk/netsurf/; revision=13971
2012-06-19 22:57:29 +00:00
Vincent Sanders
2e31b6fd90 simplify stylesheet find context and remove junk variables
svn path=/trunk/netsurf/; revision=13969
2012-06-19 10:19:24 +00:00
Vincent Sanders
49effe103a restructure javascript binding layout to be more explicit
fix html content so it correctly loads all the script tags


svn path=/trunk/netsurf/; revision=13968
2012-06-19 09:35:51 +00:00
Vincent Sanders
a229a35767 remove unecessary empty response workround for old libxml dom
svn path=/trunk/netsurf/; revision=13967
2012-06-17 22:12:29 +00:00
Vincent Sanders
4c89c9d5df improve javascript support
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00
Michael Drake
7224990953 Port to libdom changed HTML content's base_target from talloc_strdup to strdup, so use free instead of talloc_free in html_destroy.
svn path=/trunk/netsurf/; revision=13877
2012-04-17 09:04:04 +00:00
Michael Drake
8202875dbb Fix meta refresh.
svn path=/trunk/netsurf/; revision=13876
2012-04-16 16:42:59 +00:00
Michael Drake
59c21c033a Fix processing of tags in HEAD. Fixes title, favicons, etc.
svn path=/trunk/netsurf/; revision=13873
2012-04-16 12:52:59 +00:00
Daniel Silverstone
e1df0d095a Initial attempt at imagemap libdomification
svn path=/trunk/netsurf/; revision=13692
2012-03-25 15:07:08 +00:00
John Mark Bell
2b215a8df1 Initialise/finalise box constructor string constants
svn path=/trunk/netsurf/; revision=13653
2012-03-25 08:37:48 +00:00
John Mark Bell
cbc13a3fdd Clean up additional interned strings
svn path=/trunk/netsurf/; revision=13649
2012-03-25 08:05:18 +00:00
John Mark Bell
980d4d4caf s/XML_ELEMENT_NODE/DOM_ELEMENT_NODE/
svn path=/trunk/netsurf/; revision=13641
2012-03-24 22:36:22 +00:00
John Mark Bell
da94e952c9 Suppress strict aliasing moans
svn path=/trunk/netsurf/; revision=13636
2012-03-24 22:26:44 +00:00
John Mark Bell
a45972a104 Squash warning -- this API appears to be unused
svn path=/trunk/netsurf/; revision=13632
2012-03-24 22:16:03 +00:00
John Mark Bell
73bfb6201e Fix up meta refresh parser
svn path=/trunk/netsurf/; revision=13631
2012-03-24 22:08:13 +00:00
John Mark Bell
fd04db8566 Fix up html_process_style_element
svn path=/trunk/netsurf/; revision=13626
2012-03-24 21:06:30 +00:00
John Mark Bell
883907d612 s/XML_ELEMENT_NODE/DOM_ELEMENT_NODE
svn path=/trunk/netsurf/; revision=13624
2012-03-24 20:48:02 +00:00
John Mark Bell
d2fd3cc8f6 Fix up html_find_stylesheets
svn path=/trunk/netsurf/; revision=13623
2012-03-24 20:43:19 +00:00
François Revel
6822d7914a Fix exc undeclared.
svn path=/trunk/netsurf/; revision=13615
2012-03-24 20:06:08 +00:00
Vincent Sanders
710b90d43a continuting work in progress
svn path=/trunk/netsurf/; revision=13610
2012-03-24 19:35:59 +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
Vincent Sanders
b21f85a072 initial move to libdom
svn path=/trunk/netsurf/; revision=13573
2012-03-23 23:18:04 +00: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
Michael Drake
e8b0c03cdb Don't override UA stylesheet origin with User origin.
svn path=/trunk/netsurf/; revision=13508
2012-03-06 18:02:55 +00:00
Michael Drake
20583d7288 Enable User CSS file.
svn path=/trunk/netsurf/; revision=13507
2012-03-06 17:44:24 +00:00
Michael Drake
b97ccb1f0f Log URL of external CSS which fails to fetch.
svn path=/trunk/netsurf/; revision=13239
2011-12-04 15:11:30 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
6a7e602bbd Avoid assertion crash when html object recieves favicon message.
svn path=/trunk/netsurf/; revision=13220
2011-12-02 15:08:25 +00:00
Michael Drake
751bf78241 Pass drops into iframes.
svn path=/trunk/netsurf/; revision=13217
2011-12-01 23:52:45 +00:00
Michael Drake
02780e1f2d Currently untested (and unused) "drop file on content" handling, and HTML implementation.
svn path=/trunk/netsurf/; revision=13214
2011-12-01 21:49:57 +00:00
Michael Drake
4856a4c1fb Pass scroll wheel action into contents. Handle scrolling of box scrollbars and iframes.
svn path=/trunk/netsurf/; revision=13200
2011-11-29 17:47:29 +00:00
John Mark Bell
30c91aa4e7 Fix bug #3433787: ignore empty meta refresh content attribute.
Squash memory leaks in error cases. 

svn path=/trunk/netsurf/; revision=13127
2011-11-05 18:36:21 +00:00