|
9f3cdef0
|
2012-05-15T09:38:13
|
|
Fix a memory leak in the xzlib code
The freeing function wasn't called due to a bogus #ifdef surrounding
value. Also switch the code to use the normal libxml2 allocation and
freeing routines.
|
|
7d0d2a50
|
2012-05-14T14:18:58
|
|
Use a hybrid allocation scheme in xmlNodeSetContent
On Fri, May 11, 2012 at 9:10 AM, Daniel Veillard <veillard@redhat.com> wrote:
> Hi Conrad,
>
> that's interesting ! I was initially afraid of a sudden explosion of
> memory allocations for building a tree since by default buffers tend to
> "waste" memory by using doubling allocations, but that's not the case.
> xmllint --noout doc/libxml2-api.xml
> when compiled with memory debug produce
>
> paphio:~/XML -> cat .memdump
> MEMORY ALLOCATED : 0, MAX was 12756699
>
> and without your patch 12755657, i.e. the increase is minimal.
Heh, I thought that too. Actually you're looking at the result with XML_ALLOC_EXACT! This
is because EXACT adds 10bytes "spare" on each alloc, and that interestingly wastes about the
same amount of space as XML_ALLOC_DOUBLEIT on this example (see below).
So it turns out that the default realloc() on my system actually handles this case really
well — and I guess that all the time in xmlRealloc() was actually in xmlStrlen, not the
underlying realloc() after all (sorry for misleading you). If you replace the realloc()
with a bad one (like valgrind's), then the performance degrades severely.
This patch implements a HYBRID allocator which has the behaviour you describe (it's
like EXACT to start with, though without the spare 10 bytes; and switches to DOUBLEIT
after 4kb) — that gets the memory back down to 12755657, with no noticeable impact on the
performance of the synthetic pathological example under valgrind.
In summary:
max_memory on ./xmllint --noout doc/libxml2-api.xml,
valgrind time on https://gist.github.com/2656940
max_memory valgrind time
before | 12755657 | 29:18.2
EXACT | 12756699 | 2:58.6 <-- this is the state after the first patch.
DOUBLEIT | 12756727 | 0:02.7
HYBRID | 12755754 | 0:02.7 <-- this is the state with both patches.
>
> There is also the cost of creating the buffers all the time.
> I need to read the code and check but I may be interested in an hybrid
> approach where we switch to buffer only when the text node starts to
> become too big (4k would remove nearly all usuall types of "document"
> usage, i.e. not blocks of data)
I tried to avoid too much buffer creation by introducing the xmlBufferDetach function,
which allows re-using one buffer to construct many strings. It's maybe a bit of a "hack"
in API terms though I thought the gains would be worth it.
Conrad
------8<------
To keep memory usage tight in normal conditions it's desirable to only
allocate as much space as is needed. Unfortunately this can lead to
problems when constructing a long string out of small chunks, because
every chunk you add will need to resize the buffer.
To fix this XML_ALLOC_HYBRID will switch (when the buffer is 4kb big)
from using exact allocations to doubling buffer size every time it is
full. This limits the number of buffer resizes to O(log n) (down from
O(n)), and thus greatly increases the performance of constructing very
large strings in this manner.
|
|
7d553f83
|
2012-05-10T20:17:25
|
|
Use buffers when constructing string node lists.
Hi Veillard and all,
Firstly, thanks for libxml: it's awesome!
I noticed recently that libxml was taking a surprisingly long time to perform some
operations (many minutes instead of milliseconds), and so I did some digging. It turns out
that the problem was caused by the realloc()ing done in xmlNodeAddContentLen() which can
be called many (many) times when assigning some content into a node.
For background, I'm dealing with XML that contains emails, these can have large
attachments (~6MB) which are base-64 encoded, line-wrapped at 78 chars, and each line ends
with . This means that xmlNodeAddContentLen() is being called about 200,000 times,
and so there are 200,000 reallocs of a 6MB string, which takes a while... (I put a synthetic
example of this at https://gist.github.com/2656940)
The attached patch works around that problem by using the existing buffer API to merge the
strings together before even creating the text node, this keeps the number of realloc()s
at a managable level.
I'd love feedback on the patch, and am happy to fix problems with it, or explore other
solutions if you think that this is barking up the wrong tree :).
Thanks,
Conrad
P.S. Should I create a bug for this too?
------8<------
Before this change xmlStringGetNodeList would perform a realloc() of the
entire new content for every XML entity in the assigned text in order to
merge together adjacent text nodes. This had the effect of making
xmlSetNodeContent O(n^2), which led to unexpectedly bad performance on
inputs that contained a large number of XML entities.
After this change the memory management is done by the buffer API,
avoiding the need to continually re-measure and realloc() the string.
For my test data (6MB of 80 character lines, each ending with )
this takes the time to xmlSetNodeContent from about 500 seconds to
around 50ms. I have not profiled smaller cases, though I tried to
minimize the performance impact of my change by avoiding unnecessary
string copying.
Signed-off-by: Conrad Irwin <conrad.irwin@gmail.com>
|
|
a0cd075d
|
2012-05-11T19:31:12
|
|
HTML parser error with <noscript> in the <head>
For https://bugzilla.gnome.org/show_bug.cgi?id=615785
When the <noscript> is found, <head> is closed and a <body> element is created.
The real <body id="xxx"> gets skipped over, so I can't see any of the
body's attributes.
Just don't close <head> when encountering a <noscript>
Add a regression test too
|
|
4609e6c9
|
2012-05-11T15:31:05
|
|
XSD: optional element in complex type extension
For https://bugzilla.gnome.org/show_bug.cgi?id=609796
Libxml2 fails to validate an instance document against a schema if an element
whose type is a complex extension of some base type with an optional child
element and that child element is not specified in the instance document. For
example, suppose I have some complex type BaseType that is defined to have one
child element in a sequence group that has minOccurs set to 0
|
|
39d027cd
|
2012-05-11T12:38:23
|
|
Fix html serialization error and htmlSetMetaEncoding()
For https://bugzilla.gnome.org/show_bug.cgi?id=630682
The python tests were reporting errors, some of it was due to
a small change in case encoding, but the main one was about
htmlSetMetaEncoding(doc, NULL) being broken by not removing
the associated meta tag anymore
|
|
2c437da7
|
2012-05-11T12:08:15
|
|
Fix a wrong return value in previous patch
|
|
ed35d3d7
|
2012-05-11T10:52:27
|
|
Fix an uninitialized variable use
When compiled without SAX1 support
|
|
0c7109c8
|
2012-05-11T10:50:59
|
|
Fix a compilation problem with --minimum
For https://bugzilla.gnome.org/show_bug.cgi?id=636750
Moved a #endif /* LIBXML_OUTPUT_ENABLED */ a few lines down
to avoid reference an undefined variable
|
|
399aaba1
|
2012-05-11T10:09:32
|
|
Remove redundant and ungarded include of resolv.h
For https://bugzilla.gnome.org/show_bug.cgi?id=617053
This broke the build on Interix-6.0
|
|
040dcb59
|
2012-05-10T22:55:07
|
|
Remove git error message during configure
For https://bugzilla.gnome.org/show_bug.cgi?id=635531
If git is not installed but .git was found configure would emit an
error message
|
|
023206fc
|
2012-05-10T22:17:51
|
|
xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY)
For https://bugzilla.gnome.org/show_bug.cgi?id=638649
code was broken !
|
|
a4fe9b26
|
2012-05-10T22:12:46
|
|
emove a bashism in confgure.in
Not portable, broke on old FreeBSD
|
|
4cf7325e
|
2012-05-10T20:59:33
|
|
xinclude with parse="text" does not use the entity loader
For https://bugzilla.gnome.org/show_bug.cgi?id=552479
The code for xinclude parse="text" was not using the registered
entity loader, defeating attempts to control loading of files.
|
|
fdf990c2
|
2012-05-10T20:40:49
|
|
Allow to parse 1 byte HTML files
For https://bugzilla.gnome.org/show_bug.cgi?id=605740
File 1 byte long were not accepted by the HTML push parser
|
|
204f1f14
|
2012-05-10T20:24:00
|
|
undef ERROR if already defined
|
|
b91111b4
|
2012-05-10T18:52:37
|
|
Patch that fixes the skipping of the HTML_PARSE_NOIMPLIED flag
For https://bugzilla.gnome.org/show_bug.cgi?id=642916
I just noticed that the HTML_PARSE_NOIMPLIED flag that you can pass to the
HTML-Parser methods doesn't do anything. Its intended purpose is to stop the
HTML-parser from forcibly adding a pair of html/body tags if the stream does
not contain any.
This is highly useful when you don't need this level of strictness.
Unfortunately, specifying it doesn't work, because the option is not
copied into the parsing context.
|
|
24464be6
|
2012-05-10T16:14:55
|
|
Avoid memory leak if xmlParserInputBufferCreateIO fails
For https://bugzilla.gnome.org/show_bug.cgi?id=643949
In case of error on an IO creation input the given context
is terminated with the given close function, except if the
error happened in xmlParserInputBufferCreateIO. This can
lead to a resource leak which is fixed by this patch.
|
|
868d92da
|
2012-05-10T15:34:57
|
|
Add HTML parser support for HTML5 meta charset encoding declaration
For https://bugzilla.gnome.org/show_bug.cgi?id=655218
http://www.w3.org/TR/2011/WD-html5-20110525/semantics.html#the-meta-element
"""
The charset attribute specifies the character encoding used by the document.
This is a character encoding declaration. If the attribute is present in an XML
document, its value must be an ASCII case-insensitive match for the string
"UTF-8" (and the document is therefore forced to use UTF-8 as its
encoding).
"""
However, while <meta http-equiv="Content-Type" content="text/html;
charset=utf8"> works, <meta charset="utf8"> does not.
While libxml2 HTML parser is not tuned for HTML5, this is a simple
addition
Also added a testcase
|
|
1eabc314
|
2012-05-10T11:25:38
|
|
Fix library problems with mingw-w64
For https://bugzilla.gnome.org/show_bug.cgi?id=663588
Fix a windows only issue when compiling the library with
MingW (64 bits) using Fedora cross-compiler chain.
Change the dllexport for data
|
|
aa0be5f2
|
2012-05-09T12:42:51
|
|
fix windows build.
ifdef addition from bug 666491 makes no sense
|
|
115581ae
|
2012-05-09T18:46:56
|
|
prefer native threads on win32
For https://bugzilla.gnome.org/show_bug.cgi?id=665526
When building on Win32 configure the suport to use native Windows
threads since there is support for it unless pthreads are found
and asked for explicitely
|
|
066c6977
|
2012-05-09T18:27:04
|
|
Allow to compile with Visual Studio 2010
For https://bugzilla.gnome.org/show_bug.cgi?id=666491
This patch adds project files to compile and debug libxml2 using Visual
Studio 2010. Only few minor changes have been made to the actual source
code.
This patch also requires for the iconv package to be compiled with visual
studio 2010 which has been submitted to the iconv project (see:
https://savannah.gnu.org/bugs/?35088)
|
|
689408bd
|
2012-05-08T22:03:22
|
|
Prevent an infinite loop when dumping a node with encoding problems
When a node is dumped with a new encoding, we may encounter characters
that are not supported in the new encoding. libxml2 handles this by
replacing the character with character references, but in some encodings
this can result in an infinite loop when the character references
themselves contain unsupported characters.
This fixes the infinite loop by undoing a character reference substitution
when it cannot be inserted, and returning an encoder error.
This bug was noticed when looking into an infinite loop bug report for
the Ruby Nokogiri project. The original bug report, "nokogiri process
hangs on call to inner_html" is here:
https://github.com/tenderlove/nokogiri/issues/400
|
|
8658d27d
|
2012-05-08T16:39:05
|
|
wrong message for double hyphen in comment XML error
The error message when you have a double hyphen in a comment is "comment
not terminated" and should be "double hyphen in comment".
|
|
71a243d5
|
2012-01-17T19:25:08
|
|
xmlParseNodeInContext problems with an empty document
When you call xmlParseNodeInContext on a fragment node with an
empty document, the parser associates the first new node twice --
once with the document, and once with the fragment node.
This fixes the issue by only associating the new node with the
fragment node.
|
|
8ad4da5f
|
2012-05-08T11:01:12
|
|
HTML element position is not detected propperly
The data in node_seq in xmlParserCtxt was not updated properly
when parsing HTML. This patch fixes the accounting for both
pull and push mode of HTML parsing.
|
|
48f0f3f2
|
2012-05-08T10:59:41
|
|
Fix "make tst" to grab lzma lib too
|
|
fda5717c
|
2012-05-08T10:46:09
|
|
Fix mingw's snprintf configure check
For mingw, snprintf is defined as _snprintf and therefore the check
should be for _snprintf. This applies to _vsnprintf too.
|
|
0cd29a3a
|
2012-05-07T19:53:19
|
|
Add "whereis" command to xmllint shell
When playing with xpath in the xmllint shell, it's really handy to be
able to ask where the returned nodes live in the tree, in the same
way "pwd" asks where the current node lives.
The feature is actually quite easy to implement by combining the
functionality of the existing dir/ls and pwd commands (see proposed patch).
Example usage:
/ > whereis //last_name
/clinical_study/overall_official/last_name
/clinical_study/location/contact/last_name
/clinical_study/location/investigator/last_name
|
|
99644927
|
2012-05-07T18:41:42
|
|
fixed a 64bit big endian issue
For https://bugzilla.gnome.org/show_bug.cgi?id=671176
patch fixes a 64bit endian issue, making libxml2 work (again) on ppc64
unsigned int and size_t are differently sized on 64bit.
|
|
40db1eeb
|
2012-05-07T17:04:04
|
|
Improve xmllint shell
For https://bugzilla.gnome.org/show_bug.cgi?id=310222
adds namespace support to ls, du and the element named in
the command shell prompt. It also fixes du to actually dump
the requested path, if the user gives one, rather than always
dumping the whole file.
|
|
267b945a
|
2011-10-19T22:08:03
|
|
xmlcatalog: Add uri and delegateURI to possible add types in man page.
|
|
9c56dd04
|
2012-05-07T15:23:25
|
|
Update README.tests
document make check, make valgrind and fix a typo pointed out by
Daniel Neel <dneelyep@gmail.com>
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617019
Daniel
|
|
d8e1faea
|
2012-05-07T15:06:56
|
|
Fix an off by one pointer access
getting out of the range of memory allocated for xpointer decoding
|
|
fc74a6f5
|
2012-05-07T15:02:25
|
|
URI handling code is not OOM resilient
as pointed out by Dan Berrange, add a small comment in the header
|
|
288bb627
|
2012-05-07T15:01:29
|
|
Fix an error in comment
nsWarn handler is not about parser fatal errors
|
|
eacf6bc6
|
2012-04-02T18:13:23
|
|
Remove vestigial de-ANSI-fication support.
configure.ac (AM_C_PROTOTYPES): Remove call to this macro.
The support for automatic de-ANSI-fication has been deprecated in
automake 1.11.2, and will be removed altogether in automake 1.12.0
|
|
05fd0285
|
2012-04-02T17:39:26
|
|
autogen.sh: Fix typo
|
|
72789ef2
|
2012-04-02T17:52:20
|
|
Do not use unsigned but unsigned int
as this breaks the API generator
|
|
4aa68abb
|
2012-04-02T17:50:54
|
|
Try to fix a problem with entities in SAX mode
this is a problem which hit the raptor code and that small
patch should be a reliable workaround
|
|
d95b689f
|
2012-04-02T17:48:53
|
|
Fix portability failure if netdb.h lacks NO_ADDRESS
|
|
ac17e593
|
2012-04-02T15:45:13
|
|
Remove two references to u_short
|
|
bdc64d6d
|
2012-03-27T14:41:37
|
|
Fix a crash with xmllint --path on empty results
If the returned node set is empty, it is possible for the nodetab
to be null
|
|
15794990
|
2012-03-19T16:08:16
|
|
add function xmlTextReaderRelaxNGValidateCtxt()
Since there is xmlTextReaderSchemaValidateCtxt() it seems like there
should be an equivalent RelaxNG function. The attached patch adds it.
The code is essentially the same as Schema implementation, but I'm
uncertain as to how to add things to the documentation and test suite:
there seems to be a lot of auto-generation going on.
|
|
2d84ea14
|
2012-03-21T10:37:06
|
|
Fix windows build from lzma addition
|
|
fabbca8c
|
2012-03-19T21:42:00
|
|
Fixed bug #617016
|
|
bde9c353
|
2012-03-19T21:39:58
|
|
Fixed bug #667946
|
|
38812b6f
|
2010-11-20T12:34:17
|
|
Fixed two typos in the README document
Changes should be self-explanatory by viewing the diff
|
|
cedf84d3
|
2012-03-05T16:36:59
|
|
Fix -Wempty-body warning from clang
clang recently grew a warning on `for (...);`. This patch
fixes all two instances of this pattern in libxml. The changes
don't modify the code semantic.
|
|
5cf1deb0
|
2012-02-29T10:56:32
|
|
Fix a logic error in Schemas Component Constraints
|
|
aae48e64
|
2012-02-29T09:44:35
|
|
Fix a wrong enum type use in Schemas Types
|
|
16d3a618
|
2012-02-29T09:34:32
|
|
Add --system support to autogen.sh
|
|
8973d58b
|
2012-02-04T19:07:44
|
|
Add hash randomization to hash and dict structures
Following http://www.ocert.org/advisories/ocert-2011-003.html
it seems that having hash randomization might be a good idea
when using XML with untrusted data
* configure.in: lookup for rand, srand and time
* dict.c: add randomization to dictionaries hash tables
* hash.c: add randomization to normal hash tables
|
|
adf5ec94
|
2012-01-26T16:56:22
|
|
Cleanups of lzma support
- fix inclusion of the separated file
- use namespaced name for the 4 non-static routines
- add padding after external structures included in-situ
- add new requirement to spec file
- general cleanup of code
|
|
48a305f5
|
2011-09-19T10:00:15
|
|
add generated html files
|
|
0755b662
|
2011-09-19T09:57:06
|
|
included xzlib in dist
|
|
6bdc7743
|
2011-09-19T09:53:20
|
|
move xz/lzma helpers to separate included files
|
|
ebbbedac
|
2011-09-19T09:51:07
|
|
add generated devhelp files
|
|
6703148c
|
2011-09-19T09:50:45
|
|
add XML_WITH_LZMA to api
|
|
eae52617
|
2011-09-18T16:59:13
|
|
add lzma compression support
|
|
ca03efc4
|
2012-01-27T06:56:23
|
|
autogen: Only check for libtoolize
The system /usr/bin/libtool may not be in all installations.
|
|
1c989278
|
2012-01-26T19:43:06
|
|
Fix SAX2 builder in case of undefined attributes namespace
To follow the early XML-1.0 REC, the new localname is "prefix:localname"
and there is obviously now namespace.
|
|
77b77b13
|
2012-01-26T19:11:02
|
|
Fix SAX2 builder in case of undefined element namespaces
Work as in XML-1.0 before namespaces, and use prefix:localname
as the new element name (and no namespace of course)
Also fix 3 cases in the regression tests where the prefix: was
erroneously dropped in such case
|
|
b8428a2a
|
2012-01-02T15:49:31
|
|
fix reference to STDOUT_FILENO on MSVC
The Microsoft Visual C++ compiler doesn't have unistd.h and thus
STDOUT_FILENO is undefined. Define it using stdio.h functions.
|
|
a6b14bf9
|
2012-01-26T17:44:35
|
|
Clarify the need to use xmlFreeNode after xmlUnlinkNode
Just add one small sentence to the xmlUnlinkNode function comments
|
|
0795348a
|
2012-01-22T17:42:35
|
|
fix a pair of possible out of array char references
When serializing char references back to an character string
Reported by Abhishek Arya <inferno@chromium.org>
|
|
04b489cd
|
2012-01-22T17:35:17
|
|
Augment the list of ignored files
|
|
81809d52
|
2012-01-05T10:08:03
|
|
autogen.sh: Honor NOCONFIGURE environment variable
See http://people.gnome.org/~walters/docs/build-api.txt
|
|
5bd3c061
|
2011-12-16T18:53:35
|
|
Fix an allocation error when copying entities
|
|
77404b8b
|
2011-12-14T16:18:25
|
|
Make sure the parser returns when getting a Stop order
patch backported from chromiun bug fixes, assuming author is Chris
|
|
cb3549e3
|
2011-11-11T11:25:07
|
|
Improve the error report on undefined REFs
Use the tree node to provide the error context instead
of the parser input which is not relevant anymore,
based on a suggestion by François Delyon <f.delyon@satimage.fr>
|
|
5825ebb2
|
2011-11-10T13:50:22
|
|
Fix some potential problems on reallocation failures(parser.c)
This problem is the same as d7958b21e7f8c447a26bb2436f08402b2c308be4.
The operation "ctxt->nameMax * = 2;" should be placed after the function
call of xmlRealloc().
|
|
bbcf1275
|
2011-11-10T23:23:10
|
|
Fix a schema type duration comparison overflow
https://bugzilla.gnome.org/show_bug.cgi?id=653724
Based on the fix suggested by Nick Pope <nick@nickpope.me.uk>
but just changing the casts to avoid using long long type
|
|
7dd0d916
|
2011-11-10T18:08:33
|
|
Fix an unimplemented part in RNG value validation
Forgot to implement <optional> this was raised again
in https://bugzilla.redhat.com/show_bug.cgi?id=752393
as this make libxml2 fail to validate against ODF RNGs
Daniel
|
|
1d4526f6
|
2011-10-11T16:34:34
|
|
Fix missing error status in XPath evaluation
Started by Chris Evans, I added a few more place where the
error should have been set in the evaluation context.
|
|
f1da8abb
|
2011-09-14T16:00:28
|
|
Fix the Windows build files
Patches comming from KDE project for Windows portability
https://projects.kde.org/projects/kdesupport/emerge/repository/revisions/master/entry/portage/testing/libxml2-test/libxml2-2.7.8-20110801.diff
To build libxml2 I had to patch the build system a little bit.
The windows build system tries to link about zdll, but on windows
its called zlib* too, so linking against z is enough.
Also the --include and the --lib command was ignored.
For the http and ftp stuff linking against some windows library's was
forgotten for mingw.
|
|
f5048b3e
|
2011-08-18T17:10:13
|
|
Hardening of XPath evaluation
Add a mechanism of frame for XPath evaluation when entering a function
or a scoped evaluation, also fix a potential problem in predicate
evaluation.
|
|
69f04562
|
2011-08-19T11:05:04
|
|
Fix an off by one error in encoding
this off by one error doesn't seems to reproduce on linux
but the error is real.
|
|
d7eb9b5d
|
2011-08-04T10:28:59
|
|
Fix RELAX NG include bug #655288
When overriding during include, children of the root
node are scanned. But the root node was gotten with
doc->children, instead of xmlDocGetRootElement.
|
|
8bb12988
|
2011-08-04T16:40:48
|
|
Fix XSD validation bug #630130
This bug in xmlschemas made validation with the GML Schemas fail
Test cases to be commited separately
|
|
4c4653e5
|
2011-06-05T11:29:29
|
|
Add exception for new W3C PI xml-model
|
|
c62efc84
|
2011-05-16T16:03:50
|
|
Add options to ignore the internal encoding
For both XML and HTML, the document can provide an encoding
either in XMLDecl in XML, or as a meta element in HTML head.
This adds options to ignore those encodings if the encoding
is known in advace for example if the content had been converted
before being passed to the parser.
* parser.c include/libxml/parser.h: add XML_PARSE_IGNORE_ENC option
for XML parsing
* include/libxml/HTMLparser.h HTMLparser.c: adds the
HTML_PARSE_IGNORE_ENC for HTML parsing
* HTMLtree.c: fix the handling of saving when an unknown encoding is
defined in meta document header
* xmllint.c: add a --noenc option to activate the new parser options
|
|
0329a147
|
2011-05-09T15:11:45
|
|
testapi: use the right type for the check
Fixes a compiler warning. Also wrap the long line if statement.
|
|
fdd3c04a
|
2011-05-09T12:54:10
|
|
python: remove unused variable
|
|
c31e06cc
|
2011-05-09T12:52:28
|
|
python: flag two unused args
|
|
dff8d0f7
|
2011-05-09T12:14:59
|
|
various: handle return values of write calls
|
|
4ea1866f
|
2011-05-09T11:45:23
|
|
testWriter: xmlTextWriterWriteFormatElement wants an int instead of a long int
Fixes compiler warnings about wrong argument type.
|
|
851ef948
|
2011-05-10T13:06:09
|
|
runxmlconf: update to latest testsuite version
|
|
a46b2357
|
2011-05-10T11:53:58
|
|
configure: acconfig.h is deprecated since autoconf-2.50
Remove deprecated file (leftover from autoconf-2.13). The generated config.h is
the same as we already use the 3-arg versions of AC_DEFINE.
|
|
85deb486
|
2011-05-10T10:55:07
|
|
configure: add -Wno-long-long to CFLAGS
|
|
c9c939d6
|
2011-05-10T10:34:41
|
|
configure: support silent automake rules if possible
This gives us a much less noisy build and makes error stand out a lot more.
|
|
ecb5d5af
|
2011-05-06T17:40:10
|
|
xmlmemory: add a cast as size_t has no portable printf modifier
Also use %lu as that is more appropriate for size_t.
|
|
a1540403
|
2011-05-06T17:03:51
|
|
xpath: remove unused variable
As noted by gcc, this variable is not beeing used.
|
|
d7958b21
|
2011-03-23T08:13:06
|
|
Fix some potential problems on reallocation failures
The count was incremented before the allocation
and not fixed in case of failure
* xpath.c: corrects a few instances where the available count of some
structure is updated before we know the allocation actually
succeeds
|
|
dde64081
|
2011-03-23T08:12:26
|
|
Improve documentation a bit
|
|
28fdf8bb
|
2011-03-07T08:12:39
|
|
Updated URL for lxml python bindings
Also fixed the warning for XPath threaded usage a bit
|
|
c2a0fdc4
|
2011-02-23T22:44:05
|
|
__xmlRaiseError: fix use of the structured callback channel
If the structured callback channel is initialized, do not perform
unneeded initialization of the old callback channel to avoid
clobbering of the structured callback channel's data.
|
|
241d4a10
|
2011-02-23T22:30:59
|
|
__xmlRaiseError: fix the structured callback channel's data initialization
if we initialize the structured channel from the sax handler we should also
pass the userData
|
|
1b9128ba
|
2011-02-23T22:23:25
|
|
__xmlRaiseError: remove redundant schannel initialization
In case the domain is XML_FROM_VALID, ctxt and schannel are already initialized
earlier with the same data
|