|
1358fef9
|
2009-10-02T17:29:48
|
|
URI with no path parsing problem
* uri.c: Ralf Junker pointed out that URI with no path
like http://www.domain.com when parsed ended up with an
empty path value instead of NULL, this fixes the problem
|
|
243b034d
|
2009-10-01T00:13:07
|
|
Minor patch for conditional defines in threads.c
Portability problem with CodeGear ("Borland") compiler 2007 on Windows
* threads.c: use 'defined' after #elif
|
|
7a896ce2
|
2009-09-24T18:38:57
|
|
Release of libxml2-2.7.5
* configure.in doc/xml.html: updated
* doc/libxml2.xsa doc/xml.html python/setup.py: regenerated
|
|
2bdf87e3
|
2009-09-24T17:33:21
|
|
Restore behavior of --with-threads without argument
* configure.in: restore behavior of --with-threads without argument as
"enable threads support"
|
|
410d2c4e
|
2009-09-24T11:00:16
|
|
Fix memory leak when doc is NULL
* xmlschemas.c: fix memory leak when doc is NULL
|
|
aa422d92
|
2009-09-24T11:31:48
|
|
595792 fixing a RelaxNG bug introduced in 2.7.4
* relaxng.c: refs definitions added from inported schemas should not
be processed as refs from the main schemas
* test/relaxng/595792* result/relaxng/595792*: add the test to the
regression suite
|
|
4dd115c1
|
2009-09-23T18:32:42
|
|
Adding symbols.xml to EXTRA_DIST
|
|
9332b48f
|
2009-09-23T18:28:43
|
|
Fix a Relaxng bug raised by libvirt test suite
* xmlregexp.c: other fixes in 2.7.4 raised this internal error
when comparing ranges, this affects among others detection of
the determinism
* test/relaxng/libvirt* result/relaxng/libvirt*: add a test case
based on libvirt schemas and tests
|
|
9d3d141c
|
2009-09-15T18:41:30
|
|
Fix a parsing problem with little data at startup
* parser.c: inkscape extension loader (and possibly others) feed
data to the parser very slowly, 0 at start, 4 bytes on first GROW
and this broke after the fix for
https://bugzilla.gnome.org/show_bug.cgi?id=566012
http://git.gnome.org/cgit/libxml2/commit/?id=7e385bd4e28a0cc12b6b26ed178c620e3c3ab8d8
leading to another bug
https://bugzilla.redhat.com/show_bug.cgi?id=523002
this detects the situation and GROW when needed for proper processing.
|
|
e21731de
|
2009-09-12T18:02:40
|
|
link python module with python library
* configure.in python/Makefile.am: libxml2 python module wasn't linked
with python library
|
|
84bff68e
|
2009-09-11T15:30:19
|
|
594874 Forgot an fclose in xmllint
* xmllint.c: as pointed out by Pavol Rusnak, an fclose was missing
in some case.
|
|
29341682
|
2009-09-10T18:23:39
|
|
Release of libxml2-2.7.4
* configure.in: new version
* libxml.spec.in: cleanup
* xmlregexp.c: fix a comment
* doc/apibuild.py: update
* doc/*: regenerate everything
|
|
d87c5d1c
|
2009-09-10T17:46:07
|
|
593857 try to work around thread pbm MinGW 4.4
* threads.c: try to cope with HAVE_PTHREAD_H and HAVE_WIN32_THREADS
being both defined and pthread_t being a non integer
|
|
44d1eff0
|
2009-09-09T19:03:13
|
|
594514 memory leaks - duplicate initialization
* globals.c: xmlInitGlobals() might be called multiple times, leaking
the xmlThrDefMutex value
|
|
57f71aed
|
2009-09-09T18:57:26
|
|
594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes
* include/libxml/xmlmemory.h include/libxml/xmlversion.h.in: rename it
to LIBXML_ATTR_ALLOC_SIZE to avoid conflicts in public headers
|
|
848e5cf3
|
2009-09-09T12:13:58
|
|
Fix Windows build
* relaxng.c: fix windows build
|
|
65d359e3
|
2009-09-07T15:24:24
|
|
Fix the globals.h to use XMLPUBFUN
* include/libxml/globals.h: in addition to the extern extern
Paul Smith noted that XMLPUBFUN should be used instead of
LIBXML_DLL_IMPORT
|
|
82cf412d
|
2009-09-07T15:20:24
|
|
Problem with extern extern in header
* include/libxml/globals.h: LIBXML_DLL_IMPORT should not be
followed by extern
* include/libxml/xmlmemory.h: fix the same problem but in a comment
|
|
594e5dfb
|
2009-09-07T14:58:47
|
|
Chasing dead assignments reported by clang-scan
* SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c
relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c
xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations,
but this led to a few real bugs and some part not yet understood
(relaxng/interleave)
|
|
d44b9364
|
2009-09-07T12:15:08
|
|
A few more safety cleanup raised by scan
* SAX2.c encoding.c parser.c xmlschemas.c: a few more safety checks
* relaxng.c: remove an unused intitialization
|
|
76d36458
|
2009-09-07T11:19:33
|
|
Fixing assorted potential problems raised by scan
* encoding.c parser.c relaxng.c runsuite.c tree.c xmlreader.c
xmlschemas.c: nothing really serious but better safe than sorry
|
|
15495610
|
2009-09-05T15:04:41
|
|
Potential uninitialized arguments raised by scan
* parser.c: ctxt->sax2 is not supposed to change suring parsing
but better safe than sorry and initialize prefix and URI used in
SAX2 callbacks.
|
|
13cee4e3
|
2009-09-05T14:52:55
|
|
Fix a bunch of scan 'dead increments' and cleanup
* 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()
|
|
141ebfa0
|
2009-09-02T14:58:13
|
|
Wrong block opening in htmlNodeDumpOutputInternal
* xmlsave.c: Jim Meyering ran clang on libxml2 and this is one of
the error found, misplaced curly brace
|
|
1ba2aca3
|
2009-08-31T16:47:39
|
|
492317 Fix Relax-NG validation problems
* relaxng.c xmlregexp.c: a subtle problem when checking for compileable
content model, if using the same elements in cases of choices. Handled
by adding a special flag to the regexp compilation to detect
transitions with different atoms using same strings.
* test/relaxng/492317* result/relaxng/492317*: add the test to the
regression suite
|
|
ec18c960
|
2009-08-26T18:37:43
|
|
558452 fight with reg test and error report
* relaxng.c: tiny fix and provide more context on some errors
* result/relaxng/558452_0* test/relaxng/558452*: add some regression
tests for the bugs
* Makefile.am runtest.c: fight with the fact streaming error messages
can differ due to missing node context
|
|
fd780772
|
2009-08-26T18:35:29
|
|
558452 RNG compilation of optional multiple child
* relaxng.c: don't assume there is a single define under a optional
|
|
4013e83e
|
2009-08-26T17:24:31
|
|
579746 XSD validation not correct / nilable groups
* xmlschemas.c: when a particle need to be processed via counted
transition, if the group is nillable, the counting won't work, so
keep track of nillable subset as they are built and generate the
appropriate epsilon transitions as needed
* test/schemas/579746* result/schemas/579746*: add related test cases
based on the bug report
|
|
74eaec14
|
2009-08-26T15:57:20
|
|
502960 provide namespace stack when parsing entity
* parser.c: copy the entity stack
* SAX2.c: fix the warning message for default entities
|
|
a6c76a26
|
2009-08-26T14:37:00
|
|
566012 part 2 fix regresion tests and push mode
* test/utf16bebom.xml: regression test showed that this test case was
broken but previous behaviour would not detect it !
* parser.c: fix 566012 for the push mode of the parser, tricky !
* test/ebcdic_566012.xml result//ebcdic_566012.xml*: add the test to the
regression suite
|
|
7e385bd4
|
2009-08-26T11:38:49
|
|
566012 autodetected encoding and encoding conflict
* encoding.c parser.c parserInternals.c: when we autodetect an encoding
but it's actually not completely compatible with the one declared
great care must be taken to not convert more than just the first line.
Led to some refactoring, more private functions and a bit of cleanup.
|
|
59f53085
|
2009-08-26T09:55:24
|
|
Add -lnetwork for compiling on Haiku
* configure.in: trivial addition of network to the AC_SEARCH_LIB check
for setsockopt.
|
|
cb6f525f
|
2009-08-25T19:24:15
|
|
584220 xpointer(/) and xinclude problems
* xinclude.c: xpointer(/) in xinclude could lead to sub-document nodes
and also fixed the code to inherit the dictionary from the embedding
document
|
|
283d5027
|
2009-08-25T17:18:39
|
|
587663 Incorrect Attribute-Value Normalization
* parser.c: when replacing entities and that the entity is CDATA and
reference entities then white space character in replacement text
need to be replaced by 0x20
* result/noent/att10: correct the output of the associated regression
test
|
|
eeb99329
|
2009-08-25T14:42:16
|
|
444994 HTML chunked failure for attribute with <>
* 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.
|
|
85b07d18
|
2009-08-25T12:38:29
|
|
Runtest portability patch for Solaris
* runtest.c: use defined(__sun) instead of defined(solaris)
|
|
33c76c83
|
2009-08-25T11:30:34
|
|
Fix end of buffer char being split in XML parser
* parserInternals.c: similar patch to previous, reset cur on GROW
in xmlNextChar and xmlCurrentChar
|
|
8a103793
|
2009-08-25T11:27:13
|
|
Non ASCII character may be split at buffer end
* HTMLparser.c: make sure when we call xmlParserInputGrow in
htmlCurrentChar, to reset the current pointer
|
|
f447ab8f
|
2009-08-24T19:47:00
|
|
Regenerated API and symbols
* doc/Makefile.am: make the check for symbols pbm a make api failure
* doc/symbols.xml: added xmlXIncludeProcessTreeFlagsData
* doc//* elfgcchack.h libxml2.syms testapi.c: regenerated
|
|
b9590e9c
|
2009-08-24T19:45:54
|
|
440226 Add xmlXIncludeProcessTreeFlagsData API
* xinclude.c include/libxml/xinclude.h: new function similar to
xmlXIncludeProcessFlagsData but operating on a subtree
|
|
56a03035
|
2009-08-24T19:00:23
|
|
572129 speed up parasing of large HTML text nodes
* HTMLparser.c: use a different lookup function htmlParseLookupChars()
to avoid the quadratic behaviour
|
|
b468f744
|
2009-08-24T18:45:33
|
|
Remove a pedantic warning
|
|
856c668c
|
2009-08-24T18:16:56
|
|
Fix HTML parsing with 0 character in CDATA
* HTMLparser.c: 0 before the end of the input need some special case
handling, raise the error and return a space instead
|
|
472b1e11
|
2009-08-24T17:39:07
|
|
Regenerate symbols and API after previous patches
* doc/symbols.xml: new global data xmlStructuredErrorContext
* doc/checkapisym.xsl: slightly improve output
* doc/* libxml2.syms win32/libxml2.def.src: regenerated the API
|
|
1de382eb
|
2009-08-24T17:34:25
|
|
Fix SetGenericErrorFunc and SetStructured clash
* include/libxml/globals.h globals.c global.data: define a new global
variable (per thread) for structured error reporting, to not conflict
with generic one
* error.c: when defined use the structured error report over any generic
one
|
|
c78988ac
|
2009-08-24T16:47:48
|
|
566012 Incomplete EBCDIC parsing support
* encoding.c: the iconv converter is sometimes only found as "EBCDIC-US"
|
|
508a8d68
|
2009-08-24T16:35:35
|
|
Small patch to accomodate the Haiku OS
* configure.in: keep M_LIBS to empty
|
|
2173b5cb
|
2009-08-24T14:23:32
|
|
555833 always use rm -f in uninstall-local
* Makefile.am: so that make clean doesn't fail in some circumstances
|
|
147687f1
|
2009-08-24T14:08:43
|
|
544910 typo: "renciliateNs"
* python/libxml.py: typo on a comment
|
|
0d5e58f3
|
2009-08-24T13:52:23
|
|
542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK
* xmlIO.c: trivial fix, wrong constant
|
|
029a04d2
|
2009-08-24T12:50:23
|
|
541335 HTML avoid creating 2 head or 2 body element
* 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
|
|
6339c1a8
|
2009-08-24T11:59:51
|
|
541237 error correcting missing end tags in HTML
* HTMLparser.c: make sure /p closes the FONTSTYLE list of elements
|
|
f5ac0a4b
|
2009-08-24T11:59:07
|
|
Fix python regression test after 583439 cleanup
|
|
d1e312a3
|
2009-08-24T11:58:20
|
|
Add VxWorks to list of OSes
|
|
b0641a10
|
2009-08-24T10:15:13
|
|
584605 package VxWorks folder in the distribution
* Makefile.am: as Igor Novoseltsev pointed out this is missing from
the distro
|
|
852505b3
|
2009-08-23T15:44:48
|
|
583439 missing line numbers in push mode
* parser.c: use the line number stored in the node itself if present
for end of tag line error reports
|
|
9d962647
|
2009-08-23T15:31:18
|
|
587867 xmllint --html --xmlout serializing as HTML
* xmllint.c: one option was needed after the switch to the new save API
|
|
48b60c3c
|
2009-08-23T13:11:01
|
|
559501 avoid select and use poll for nanohttp
* config.h.in configure.in: detect availability of poll() and poll.h
* nanohttp.c: switch to use poll instead of select() when possible to
avoid out of fd set memory errors on very large fds
|
|
d80d0728
|
2009-08-22T18:56:01
|
|
559410 - Regexp bug on (...)? constructs
* xmlregexp.c: fix a regexp bug on some (...)? constructs
* test/schemas/nvdcve* result/schemas/nvdcve*: add the tests to the
regression suite
|
|
db4ac221
|
2009-08-22T17:58:31
|
|
Fix a small problem on previous HTML parser patch
|
|
ee20cd7e
|
2009-08-22T15:18:31
|
|
574017 Realloc too expensive on most platform
* tree.c: even on BSD there is too much of a penalty hit, to use
the doubling buffer size strategy on all arches not just Windows.
|
|
e77db16a
|
2009-08-22T11:32:38
|
|
592430 - HTML parser runs into endless loop
* 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.
|
|
f4653dcd
|
2009-08-21T18:40:50
|
|
447899 potential double free in xmlFreeTextReader
* xmlreader.c: a document may still be referenced by fakenode,
just free fakenode before freeing the document.
|
|
a721612e
|
2009-08-21T18:22:58
|
|
446613 small validation bug mixed content with NS
* valid.c: fix a bug when valdating mixed content lists and some
name use namespaces prefixes.
* result/valid/notes.xml* test/valid/dtds/notes.dtd * test/valid/notes.xml:
add the test case to the regression suite
|
|
a4f27cb6
|
2009-08-21T17:34:17
|
|
Fix the problem of revalidating a doc with RNG
* relaxng.c: simply clear up the ->psvi of elements on the tree upon
return, should not be needed for streaming APIs as tree are discarded
|
|
53c32edf
|
2009-08-21T15:20:55
|
|
Rebuilt the API and regenerated docs
|
|
f609d745
|
2009-08-21T15:16:46
|
|
Autoregenerate libxml2.syms automated checkings
* doc/symbols.xml: the source for all exported symbols
* doc/checkapisym.xsl: used to check libxml2-api.xml against exported
symbols
* doc/syms.xsl: stylesheet regenerating libxml2.syms from symbols.xml
* doc/Makefile.am libxml2.syms: add the new rules and the generated
version
|
|
45e21e2e
|
2009-08-20T19:40:03
|
|
Regenerate the docuemtnation and update for git
|
|
8ed1072c
|
2009-08-20T19:17:36
|
|
Add symbol versioning to libxml2 shared libs
* libxml2.syms: the symbols with history, going back to 2.4.30
* Makefile.am configure.in: linking flags detection and use
* parser.c tree.c valid.c xpointer.c: various cleanup of functions
which could be made static or simply discarded, not that many
|
|
f39eafaa
|
2009-08-20T19:15:08
|
|
Make xmlRecoverDoc const (Martin Trappel)
* include/libxml/parser.h parser.c: just make the parameter a const
|
|
2f522dc6
|
2009-08-20T12:11:17
|
|
Fix xmlKeepBlanksDefault to not break indent
* parserInternals.c: the old compatibility function xmlKeepBlanksDefault()
should not reset xmlIndentTreeOutput to 0 because the default is 1
|
|
982ff637
|
2009-08-19T17:51:25
|
|
Fix the PHP search code
|
|
81c51e17
|
2009-08-14T18:52:10
|
|
512131 refs from externalRef part need to be added
* relaxng.c: refs from externalRef subschemas need to be added to
the main schemas. Also fix a couple of problems with dangling
references
|
|
9fcd462f
|
2009-08-14T16:16:31
|
|
512131 crash in xmlRelaxNGValidateFullElement
* relaxng.c: in some case we were not freeing the right data, also
cleanup a few other things
|
|
7459c595
|
2009-08-13T10:10:29
|
|
588441 allow '.' in HTML Names even if invalid
* HTMLparser.c: just allow '.' in htmlParseHTMLName list of characters
|
|
8d7c1b7a
|
2009-08-12T23:03:23
|
|
582913 Fix htmlSetMetaEncoding() to be nicer
* HTMLtree.c: htmlSetMetaEncoding should not destroy existing meta
encoding elements, plus it should not change things at all if the
encoding is the same. Also fixed htmlSaveFileFormat() to ask for
change if outputing to UTF-8.
|
|
fcf2457d
|
2009-08-12T23:02:08
|
|
Both args of xmlStrcasestr are const
* include/libxml/xmlstring.h xmlstring.c: fix the constness of the
second arg of xmlStrcasestr()
|
|
533ec0e0
|
2009-08-12T20:13:38
|
|
579317 Try to find the HTML encoding information
* 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
|
|
6c61e020
|
2009-08-12T11:41:27
|
|
Fix windows build
|
|
74eb54b5
|
2009-08-12T15:59:01
|
|
575875 don't output charset=html
* HTMLtree.c: don't output charset=html in htmlSetMetaEncoding()
as this is clearly a libxml2 only thingused for import only
|
|
bd56c443
|
2009-08-12T15:39:23
|
|
571271 fix semantic of xsd:all with minOccurs=0
* xmlschemas.c: apparently we though it allowed any of the sub elements
to be missing, and probably not what's expected from the spec, though
it used to forbid it c.f.:
http://lists.xml.org/archives/xml-dev/200109/msg00512.html
asking HT for confirmation but it's likely that we were wrong on the
semantic
* result/schemas/all_1_[367]*: this changes the output of soem of our
internal regression tests
|
|
be390ed0
|
2009-08-12T12:40:39
|
|
Test case for 570702
|
|
11e28e4d
|
2009-08-12T12:21:42
|
|
570702 fix a bug in regexp determinism checking
* xmlregexp.c: xmlFAComputesDeterminism was bugged as it removed as
coalesced transitions on with sane source destination and atoms but
not looking at counters
|
|
eab3ac94
|
2009-08-12T10:39:29
|
|
567619 xmlValidateNotationUse missing param test
* valid.c: this was raised by a testapi crash on solaris
|
|
aacc2a24
|
2009-08-11T18:31:42
|
|
560524 – xmlTextReaderLocalName description
* xmlreader.c: document all functions returning xmlChar * that they
need to free the result, and some space/tabs cleanups
|
|
2ad41cad
|
2009-08-11T17:51:22
|
|
574393 – utf-8 filename magic for compressed files
* xmlIO.c: windows specific magic to have UTF-8 file name work with
compressed files too.
|
|
489f9671
|
2009-08-10T16:49:30
|
|
Fix a couple of problems in the parser
* parser.c: a couple of nasty bugs CVE-2009-2414 and CVE-2009-2416
|
|
c2e9d005
|
2009-08-10T15:14:01
|
|
545579 doesn't compile without schema support
* testapi.c: fix to get gen_nb_void_ptr_ptr() generated unconditionally
|
|
f1edb10c
|
2009-08-10T14:43:18
|
|
xmllint use xmlGetNodePath when not compiled in
* xmllint.c: clean up usages of xmlGetNodePath() to make sure it was
compiled in. Also clear some space issues, solves #545581
|
|
a194ccb8
|
2009-08-10T10:08:41
|
|
Try to avoid __imp__xmlFree link trouble on msys
* include/libxml/xmlexports.h: when compiling with mingw/MSYS or linking
to an precompiled library this _imp__xmlFree missing at runtime is a
common problem. Igor and various people faced it and this seems the
minimal fix for it, should resolve 590302 and 561340
|
|
203fd2e6
|
2009-08-07T21:47:25
|
|
Allow to select the threading system on Windows
* configure.in: changes to enable either pthreads or win32-threads
|
|
99f7ac7f
|
2009-08-07T21:27:44
|
|
585505 – Document ids and refs populated by XSD
* xmlschemas.c: simple patch allowing document ids and refs to be
asserted when XSD validation is done.
|
|
edc68aad
|
2009-08-07T20:29:33
|
|
582906 XSD validating multiple imports of the same schema
* xmlschemas.c: When validating a schema that includes the same file
that has no targetNamespace defined an internal erro was thrown,
depending on the orig namespace that should be allowed though
* test/schemas/582906-* result/schemas/582906-*: 2 tests case, one
where this is allowed, and one where this is forbidden
|
|
d9960720
|
2009-08-07T19:01:32
|
|
Bug 582887 – problems validating complex schemas
* xmlschemas.c: fixes the problem faced when importing the same schemas
multiple times but from different places which is allowed
* test/schemas/582887* result/schemas/582887*: adding the specific test
to the regressions
|
|
8f58f89d
|
2009-08-07T17:22:12
|
|
Bug 579729 – fix XSD schemas parsing crash
* xmlschemas.c: a typo in XSD schema validation, where inherited
bfminlen rewrote blength and caused SIGSEGV
|
|
446e126d
|
2009-08-07T17:05:36
|
|
576368 – htmlChunkParser with special attributes
* HTMLparser.c: htmlChunkParsing failed when the chunk ends inside
element after some attribute which has a '>' char in its value.
|
|
933e5de9
|
2009-08-07T16:42:24
|
|
Bug 565747 – relax anyURI data character checking
* xmlschemastypes.c: anyURI values that contain an apostrophe or a
space character or any non-ascii char were rejected, this is opposed
to XSD-1.0 datatype rules
|
|
9a15b30c
|
2009-08-07T16:27:15
|
|
Fix Solaris binary links, cleanups
* doc/*.html doc/site.xsl doc/xml.html: Dagobert Michelsen pointed out
that binaries build for Solaris now live in OpenCSW
|
|
a53ee446
|
2009-08-07T16:19:15
|
|
Bug 571059 – MSVC doesn't work with the bakefile
* bakefile/libxml2.bkl: MSVC 2008 Ex will report that it cannot
find "config.h", should be fixed with patch
|
|
2afca4a1
|
2009-07-30T17:47:32
|
|
Preserve attributes of include start on tree copy
* tree.c: copy attributes and namespaces for that kind of node
|