Commit Graph

1250 Commits

Author SHA1 Message Date
Michael Drake
26a92340e2 Compare interns instead of strings in html_forms.c 2012-07-23 12:06:43 +01:00
Michael Drake
6bbe68823c Fix free of NULL. 2012-07-23 11:27:42 +01:00
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
Michael Drake
5dadb1a0ec Interned string cleanup, phase 5: Move imagemap.c to corestring. 2012-07-22 20:52:34 +01:00
Michael Drake
1947019095 Interned string cleanup, phase 4: Move html_script.c to corestring. 2012-07-22 18:58:22 +01:00
Michael Drake
9de20d9a1a Interned string cleanup, phase 3: Move html_forms.c to corestring. 2012-07-22 18:01:10 +01:00
John-Mark Bell
5d8959b30c Fix reference handling when computing next node. 2012-07-22 17:52: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
792dbe6e44 Add textarea support back in. 2012-07-21 18:16:04 +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
64f098dfc7 Do not render noscript when script is enabled. 2012-07-15 01:17:04 +01: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
Daniel Silverstone
b42c43dc01 Early <input> elements working, but we need more caseless comparisons 2012-07-08 11:45:27 +01:00
Daniel Silverstone
3fb489b90a BINDING: Support <button> and added the infra for form controls a litle more 2012-07-07 23:04:58 +01:00
Daniel Silverstone
dc9100ba7c Binding: Construct forms objects for a document 2012-07-07 19:56:40 +01: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
cc35563f2b Fix frameset processing.
svn path=/trunk/netsurf/; revision=13875
2012-04-16 16:14:40 +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
Michael Drake
71325ca6d0 Bring comment into line with use of libdom instead of libxml.
svn path=/trunk/netsurf/; revision=13718
2012-03-26 10:47:54 +00:00
Michael Drake
d5a2701b38 Don't need libxml.h in render/box.h now.
svn path=/trunk/netsurf/; revision=13717
2012-03-26 10:45:44 +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
52b1762ea4 Use correct identity of ok
svn path=/trunk/netsurf/; revision=13684
2012-03-25 11:41:39 +00:00
John Mark Bell
bee128e2a1 Handle encoding change requests
svn path=/trunk/netsurf/; revision=13682
2012-03-25 11:33:32 +00:00
John Mark Bell
2a0e519497 Egregious hack so missing form controls don't cause box construction to abort
svn path=/trunk/netsurf/; revision=13680
2012-03-25 11:24:12 +00:00
John Mark Bell
29708a2bf3 Fix logic inversion
svn path=/trunk/netsurf/; revision=13679
2012-03-25 11:23:09 +00:00
Daniel Silverstone
6162b49875 Forward decl of struct dom_node to shush things
svn path=/trunk/netsurf/; revision=13666
2012-03-25 10:21:37 +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
Daniel Silverstone
19150f13ef Shut up missing text_redraw
svn path=/trunk/netsurf/; revision=13650
2012-03-25 08:19:37 +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