Commit Graph

12 Commits

Author SHA1 Message Date
John Mark Bell
daf7a52dd6 Hubbub is no longer optional.
Remove libxml2 parser binding.

svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
John Mark Bell
6a7b1a73a7 Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all.

svn path=/trunk/netsurf/; revision=7104
2009-04-16 12:49:49 +00:00
John Mark Bell
23cb08ad01 It probably helps to reflect API changes
svn path=/trunk/netsurf/; revision=7090
2009-04-15 12:26:25 +00:00
John Mark Bell
33619d7003 Handle hubbub errors.
Handle parser binding errors.

svn path=/trunk/netsurf/; revision=7087
2009-04-15 11:28:07 +00:00
John Mark Bell
b9e22451c2 Sync hubbub binding with spec.
svn path=/trunk/netsurf/; revision=6769
2009-03-10 23:13:08 +00:00
John Mark Bell
1f859400d9 If we have no document charset on completion of parse, retrieve it from the binding.
Make the binding return Windows-1252 if it has no idea (as this is what the parser will have defaulted to).
Fix form_new to not require a document charset to be present -- it may not be known at this point.
Fixup form document charsets post-parse, so that form submission works correctly.

svn path=/trunk/netsurf/; revision=6575
2009-02-20 12:50:34 +00:00
John Mark Bell
cc1094f0ac Utilise hubbub's form association callback.
Please can we dispense with the libxml binding? It's causing much #ifdef mess.
Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset.
Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now.

svn path=/trunk/netsurf/; revision=6573
2009-02-20 11:39:25 +00:00
François Revel
53fe38504f C89
svn path=/trunk/netsurf/; revision=5837
2008-11-29 22:53:58 +00:00
John Mark Bell
8a16d5942b Port to new hubbub parser API
svn path=/trunk/netsurf/; revision=5669
2008-11-09 19:04:30 +00:00
John Mark Bell
a55c1f6e41 Fixup hubbub binding
svn path=/trunk/netsurf/; revision=5576
2008-10-14 15:48:14 +00:00
John Mark Bell
76976d7db6 Fix warnings on OS X
svn path=/trunk/netsurf/; revision=5573
2008-10-14 14:54:49 +00:00
John Mark Bell
163ad56fce Rework html parser bindings to have a common API and reside in separate files for ease of reading.
Add error handling to hubbub binding.

svn path=/trunk/netsurf/; revision=5404
2008-09-23 02:19:50 +00:00