| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c
testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c:
fix unused variables, or unneeded increments as well as a couple
of space issues
* runtest.c: check for NULL before calling unlink()
|
|
|
|
|
|
| |
* HTMLparser.c: fix htmlParseLookupSequence to not save ctxt->checkIndex
when the current buffer ends within an attribute value, as this
information would be missed in next pass.
|
|
|
|
|
| |
* HTMLparser.c: make sure when we call xmlParserInputGrow in
htmlCurrentChar, to reset the current pointer
|
|
|
|
|
| |
* HTMLparser.c: use a different lookup function htmlParseLookupChars()
to avoid the quadratic behaviour
|
| |
|
|
|
|
|
| |
* HTMLparser.c: 0 before the end of the input need some special case
handling, raise the error and return a space instead
|
|
|
|
|
|
|
| |
* HTMLparser.c: check when we see an head or a body tag and avoid
autogenerating them
* include/libxml/parser.h: the values for ctxt->html change depending
on the head or body tags being seen
|
|
|
|
| |
* HTMLparser.c: make sure /p closes the FONTSTYLE list of elements
|
| |
|
|
|
|
|
|
| |
* HTMLparser.c: fix the problem with detection erroring absolutely, and
properly popping up the stack when in EOF, also passes XML_PARSE_HUGE
when decoding options.
|
|
|
|
| |
* HTMLparser.c: just allow '.' in htmlParseHTMLName list of characters
|
|
|
|
|
|
| |
* HTMLparser.c: if we hit an encoding error before parsing a potential
<meta> with the info look in the input buffer to see if we can find
it instead of forcing a blind switch to ISO-8859-1
|
|
|
|
|
| |
* HTMLparser.c: htmlChunkParsing failed when the chunk ends inside
element after some attribute which has a '>' char in its value.
|
|
|
|
|
| |
based Aaron Patterson patch
Daniel
|
|
|
|
|
| |
fixes #581803, by Roland Steiner <rolandsteiner@google.com>
Daniel
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in doc/* NEWS: preparing the release of 2.7.2
* dict.c: fix the Solaris portability issue
* parser.c: additional cleanup on #554660 fix
* test/ent13 result/ent13* result/noent/ent13*: added the
example in the regression test suite.
* HTMLparser.c: handle leading BOM in htmlParseElement()
Daniel
svn path=/trunk/; revision=3799
|
|
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: fix an HTML parsing error on large data sections
reported by Mike Day
* test/HTML/utf8bug.html result/HTML/utf8bug.html.err
result/HTML/utf8bug.html.sax result/HTML/utf8bug.html: add the
reproducer to the test suite
daniel
svn path=/trunk/; revision=3797
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/examples/reader3.c: patch from Robert Schwebel , allows to
compile the example if configured without output support fixes
#545582
* Makefile.am: add testrecurse to the make check tests
* HTMLparser.c: if the parser got a encoding argument it should be
used over what the meta specifies, patch fixing #536346
Daniel
svn path=/trunk/; revision=3785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* runxmlconf.c: more progresses against the official regression tests
* runsuite.c: small cleanup for non-leak reports
* include/libxml/tree.h: parsing flags and other properties are
now added to the document node, this is generally useful and
allow to make Name and NmToken validations based on the parser
flags, more specifically the 5th edition of XML or not
* HTMLparser.c tree.c: small side effects for the previous changes
* parser.c SAX2.c valid.c: the bulk of teh changes are here,
the parser and validation behaviour can be affected, parsing
flags need to be copied, lot of changes. Also fixing various
validation problems in the regression tests.
Daniel
svn path=/trunk/; revision=3762
|
|
|
|
|
|
|
|
| |
* uri.c: applied patch from Ashwin fixing a number of realloc problems
* HTMLparser.c: improve handling for misplaced html/head/body
Daniel
svn path=/trunk/; revision=3740
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: apparently it's okay to forget the semicolumn after
entity refs in HTML, fixing char refs parsing accordingly based on
T. Manske patch, this should fix #517653
Daniel
svn path=/trunk/; revision=3726
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: patch from Arnold Hendriks improving parsing of
html within html bogus data, still not a complete fix though
Daniel
svn path=/trunk/; revision=3704
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: avoid stopping parsing when encountering
out of range characters in an HTML file, report and
continue processing instead, should fix #472696
Daniel
svn path=/trunk/; revision=3675
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: fix definition for <embed> to avoid error
when saving back, patch from Stefan Behnel fixing 495213
Daniel
svn path=/trunk/; revision=3671
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: fixed bug #381877, avoid reading over the end
of stream when generating an UTF-8 encoding error.
Daniel
svn path=/trunk/; revision=3627
|
|
|
|
|
|
|
| |
* HTMLparser.c: applied patch from Michael Day to add support for <embed>
Daniel
svn path=/trunk/; revision=3611
|
|
|
|
|
|
| |
Daniel
svn path=/trunk/; revision=3610
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: Jean-Daniel Dupas pointed a couple of problems
in htmlCreateDocParserCtxt.
Daniel
svn path=/trunk/; revision=3609
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: change the way script/style are parsed to
not try to detect comments, reported by Mike Day
* result/HTML/doc3.*: affects the result of that test
Daniel
svn path=/trunk/; revision=3598
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: fixed memory access error on parsing of meta data
which had errors (bug #382206). Also cleaned up a few warnings
by adding some additional DECL macros.
svn path=/trunk/; revision=3593
|
|
|
|
|
|
|
| |
* HTMLparser.c: applied patch from Steven Rainwater to fix
UTF8ToHtml behaviour on code points which are not mappable to
predefined HTML entities, fixes #377544
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c: change htmlCtxtReset() following Michael Day bug
report and suggestion.
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: applied a reworked version of Usamah Malik patch
to avoid growing the parser stack in some autoclose cases, should
fix #361221
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c: fix one problem found in htmlCtxtUseOptions()
and pointed in #340591
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and
htmlReadIO() this should fix #340322
Daniel
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c: fixing HTML minimized attribute values to be generated
internally if not present, fixes bug #332124
* result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax
result/HTML/wired.html.sax: this affects the SAX event strem for
a few test cases
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
the regression suite
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: fix #348252 if the document clains to be in a
different encoding in the meta tag and it's obviously wrong,
don't screw up the end of the content.
Daniel
|
|
|
|
|
| |
* HTMLparser.c: fix a chunking and script bug #347708
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: remove a warning
* encoding.c: check with uppercase for AIX iconv() should fix #352644
* doc/examples/Makefile.am: partially handle one bug report
Daniel
|
|
|
|
|
|
|
|
|
|
|
| |
* xmllint.c: added --html --memory to test htmlReadMemory to
test #321632
* HTMLparser.c: added various initialization calls which may help
#321632 but not conclusive
* testapi.c tree.c include/libxml/tree.h: fixed compilation with
--with-minimum --with-sax1 and --with-minimum --with-schemas
fixing #326442
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c include/libxml/HTMLparser.h: exports htmlNewParserCtxt()
as Michael Day pointed out this is needed to use htmlCtxtRead*()
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c: applied const'ification of strings patch from
Matthias Clasen
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c parser.c parserInternals.c pattern.c uri.c: a bunch
of small cleanups based on coverity reports.
Daniel
|
|
|
|
|
|
| |
* HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext
when operating on an HTML document.
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: script HTML parser error fix, corrects bug #319715
* result/HTML/53867* test/HTML/53867.html: added test from Michael Day
to the regression suite
Daniel
|
|
|
|
|
| |
* HTMLparser.c: typo fix from Michael Day
Daniel
|
|
|
|
|
|
|
| |
* HTMLparser.c: Applied the last patch from Gary Coady for #304637
changing the behaviour when text nodes are found in body
* result/HTML/*: this changes the output of some tests
Daniel
|
|
|
|
|
|
|
|
|
|
|
| |
* HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c
xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h:
added a parser XML_PARSE_COMPACT option to allocate small
text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits)
directly within the node, various changes to cope with this.
* result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this
slightly change the output
Daniel
|