Commit Graph

1264 Commits

Author SHA1 Message Date
Michael Drake 6d585308f8 Fix handling of form elements without a <form>. 2012-08-07 10:53:40 +01:00
John-Mark Bell e1b37918e8 Reflect change to hubbub parser binding API. 2012-08-05 22:44:28 +01:00
Vincent Sanders 9a0f7028a3 Libdom now returns the document object at creation time 2012-08-05 11:44:43 +01:00
Vincent Sanders 845dca45de resume parse on sync script error as well as success 2012-07-31 22:59:18 +01:00
Vincent Sanders 5c25b8255a add post parse script execution 2012-07-31 22:33:08 +01:00
Vincent Sanders d763e57d30 fix dom parser error return check 2012-07-31 12:49:41 +01:00
Vincent Sanders 4182685d1e fix parse completion - working syncronous scripts 2012-07-30 22:56:40 +01:00
Vincent Sanders b0a41606ff extend html data processing to deal with paused parse 2012-07-30 22:56:15 +01:00
Vincent Sanders db76dd3b1a extend completion types 2012-07-30 22:55:13 +01:00
Vincent Sanders 06608c1bf0 extend script enumeration to include asyncronous and deferred scripts 2012-07-30 22:54:14 +01:00
Vincent Sanders 4f0e70b50d split up the script processing 2012-07-30 22:54:14 +01:00
Michael Drake 2f408f0ecb More use of interns. 2012-07-26 15:57:33 +01:00
Michael Drake 81e079e747 Use interns for string comparisons. 2012-07-26 14:49:27 +01:00
Vincent Sanders 25cdea3351 doxygen serious warning cleanup 2012-07-24 16:19:49 +01:00
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