1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-11 12:58:16 +03:00

2948 Commits

Author SHA1 Message Date
Daniel Veillard
734e76675f fix a crash on solaris when a printf %s with a NULL argument occurs,
* xmlschemas.c: fix a crash on solaris when a printf %s with a NULL
  argument occurs, should fix #450936
Daniel

svn path=/trunk/; revision=3641
2007-06-26 11:30:31 +00:00
William M. Brack
31700e6306 fixed problem in previous fix to xmlXPathNodeSetSort
* xpath.c: fixed problem in previous fix to xmlXPathNodeSetSort

svn path=/trunk/; revision=3640
2007-06-13 20:33:02 +00:00
Daniel Veillard
38431c3308 release of libxml2 2.6.28 patch from Dagfinn I. Mannsåker for idness of
* doc/* configure.in NEWS: release of libxml2 2.6.28
* valid.c: patch from Dagfinn I. Mannsåker for idness of name
  in HTML, c.f. bug #305885.
Daniel

svn path=/trunk/; revision=3638
2007-06-12 16:20:09 +00:00
Daniel Veillard
dbbd72bd75 fixing bug #319964, parsing of HTML attribute really should not have
* SAX2.c: fixing bug #319964, parsing of HTML attribute really
  should not have namespace processing.
Daniel

svn path=/trunk/; revision=3637
2007-06-12 15:15:52 +00:00
Daniel Veillard
dfac946c3d fixed the push mode when a big comment occurs before an internal subset,
* parser.c: fixed the push mode when a big comment occurs before
  an internal subset, should close bug #438835
* test/comment6.xml result//comment6.xml*: added a special
  test in the regression suite
Daniel

svn path=/trunk/; revision=3635
2007-06-12 14:44:32 +00:00
Daniel Veillard
b9e5acc490 fix bug #414846 where invalid characters in attributes would sometimes not
* parser.c: fix bug #414846 where invalid characters in attributes
  would sometimes not be detected.
* test/errors/attr4.xml result/errors/attr4.xml*: added a specific
  test case to the regression tests
Daniel

svn path=/trunk/; revision=3634
2007-06-12 13:43:00 +00:00
Daniel Veillard
3130fe95db apply patch from Ryan Hill to cope with changes in GNU tar, should fix
* xstc/Makefile.am: apply patch from Ryan Hill to cope with changes
  in GNU tar, should fix #396751
Daniel

svn path=/trunk/; revision=3633
2007-06-12 12:24:54 +00:00
Daniel Veillard
db67015afe try to allow compilation on old python version should fix #398125 Daniel
* python/types.c: try to allow compilation on old python version
  should fix #398125
Daniel

svn path=/trunk/; revision=3632
2007-06-12 10:04:37 +00:00
Daniel Veillard
fcd02adb71 htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug
* HTMLtree.c: htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe
  fixes bug #438390
Daniel

svn path=/trunk/; revision=3631
2007-06-12 09:49:40 +00:00
Daniel Veillard
5cdbbd2c75 workaround misgenerated file: URIs c.f. #437385 daniel
* xmlIO.c: workaround misgenerated file: URIs c.f. #437385
daniel

svn path=/trunk/; revision=3630
2007-06-12 09:39:14 +00:00
Daniel Veillard
d8ed1051fa fixed bug #407436 a crash in a specific case of Relax-NG validation Daniel
* relaxng.c: fixed bug #407436 a crash in a specific case of
  Relax-NG validation
Daniel

svn path=/trunk/; revision=3629
2007-06-12 09:24:46 +00:00
Daniel Veillard
be8d9d33eb fixed bug #383687, some case of recursion on next were not caught in the
* catalog.c: fixed bug #383687, some case of recursion on next
  were not caught in the catalog code.
Daniel

svn path=/trunk/; revision=3628
2007-06-12 09:14:11 +00:00
Daniel Veillard
861101d1fa fixed bug #381877, avoid reading over the end of stream when generating an
* 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
2007-06-12 08:38:57 +00:00
Daniel Veillard
2e6208651d fixed bug #366161, trivially added the check in xmlCtxtReset() Daniel
* parser.c: fixed bug #366161, trivially added the check in
  xmlCtxtReset()
Daniel

svn path=/trunk/; revision=3626
2007-06-12 08:18:21 +00:00
Rob Richards
90ee8dfd3f add --vcmanifest flag (yes/no) for VC8 build support to embed manifest
* win32/configure.js win32/Makefile.msvc: add --vcmanifest flag (yes/no) 
  for VC8 build support to embed manifest within files. Under MS VC, build 
  libxml2_a_dll.lib by default (LIBXML_STATIC_FOR_DLL flag).

svn path=/trunk/; revision=3625
2007-06-08 19:47:37 +00:00
Rob Richards
e967f0bda3 *use specified calling convention
for xmlDllMain. Old SDKs (VC6) only support InterlockedCompareExchange.
  add xmlDllMain to header for win32 when building for static dll

svn path=/trunk/; revision=3624
2007-06-08 19:36:04 +00:00
Rob Richards
b8769d6f24 fixed problem with namespace declaration being written more than once per
* xmlwriter.c: fixed problem with namespace declaration being 
  written more than once per element start tag

svn path=/trunk/; revision=3623
2007-06-08 08:50:47 +00:00
William M. Brack
97ac819cc6 fixed problem with xmlXPathNodeSetSort; fixed problem with
* xpath.c: fixed problem with xmlXPathNodeSetSort;
  fixed problem with xmlXPathNodeTrailingSorted (both bug#413451)

svn path=/trunk/; revision=3622
2007-06-06 17:19:24 +00:00
William M. Brack
d611c88a01 fixed problem with string value for PI node (bug #442275)
* xpath.c: fixed problem with string value for PI node
  (bug #442275)

svn path=/trunk/; revision=3621
2007-05-31 05:07:17 +00:00
Daniel Veillard
e61d75f11e fix bug reported by François Delyon Daniel
* uri.c: fix bug reported by François Delyon
Daniel

svn path=/trunk/; revision=3619
2007-05-28 14:16:33 +00:00
William M. Brack
38d452ac1c Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159)
* encoding.c: Fixed typo in xmlCharEncFirstLine pointed out
  by Mark Rowe (bug #440159)
* include/libxml/xmlversion.h.in: Added check for definition of
  _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from
  Wendy Doyle and Mark Rowe, bug #346675)
* schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor
  changes to fix compilation warnings - no change to logic.

svn path=/trunk/; revision=3618
2007-05-22 16:00:06 +00:00
William M. Brack
e882765aa4 small enhancement to last fix, pointed out by Alex Cornejo
* nanohttp.c: small enhancement to last fix, pointed out
  by Alex Cornejo

svn path=/trunk/; revision=3617
2007-05-16 05:19:13 +00:00
William M. Brack
d2f682a495 fixed problem on gzip streams (bug #438045) fixed minor spot of redundant
* nanohttp.c: fixed problem on gzip streams (bug #438045)
* xpath.c: fixed minor spot of redundant code - no logic change.

svn path=/trunk/; revision=3616
2007-05-15 19:42:08 +00:00
William M. Brack
ca79788eaa enhanced the coding for xmlXPathCastNumberToString in order to produce the
* xpath.c: enhanced the coding for xmlXPathCastNumberToString
  in order to produce the required number of significant digits
  (bug #437179)

svn path=/trunk/; revision=3615
2007-05-11 14:45:53 +00:00
Daniel Veillard
f6cf57a03b applied patch to fix xmlListAppend() from Georges-André SILBER also fix
* list.c: applied patch to fix xmlListAppend() from 
  Georges-André SILBER
* valid.c: also fix the place wher it was called.
Daniel

svn path=/trunk/; revision=3614
2007-05-09 23:53:30 +00:00
Daniel Veillard
1ca1be2ad5 tried to fix an error problem on entity content failure reported by
* parser.c: tried to fix an error problem on entity content failure
  reported by Michael Day
Daniel

svn path=/trunk/; revision=3613
2007-05-02 16:50:03 +00:00
Daniel Veillard
c51f51c9c2 typo patch from Bjorn Reese Daniel
* configure.in: typo patch from Bjorn Reese
Daniel

svn path=/trunk/; revision=3612
2007-05-02 16:25:45 +00:00
Daniel Veillard
491e58e575 applied patch from Michael Day to add support for <embed> Daniel
* HTMLparser.c: applied patch from Michael Day to add support for <embed>
Daniel

svn path=/trunk/; revision=3611
2007-05-02 16:15:18 +00:00
Daniel Veillard
4d1320fa5b Jean-Daniel Dupas pointed a couple of problems in htmlCreateDocParserCtxt.
* HTMLparser.c: Jean-Daniel Dupas pointed a couple of problems
  in htmlCreateDocParserCtxt.
Daniel

svn path=/trunk/; revision=3609
2007-04-26 08:55:33 +00:00
Daniel Veillard
63cf1b9909 patch from Richard Jones to save the query part in raw form. also added
* uri.c include/libxml/uri.h: patch from Richard Jones to save
  the query part in raw form.
* libxml2-python-api.xml: also added accessor for the python bindings
Daniel

svn path=/trunk/; revision=3608
2007-04-26 08:45:23 +00:00
Daniel Veillard
a1413b84f7 patch from Richard Jones to save the query part in raw form. Daniel
* uri.c include/libxml/uri.h: patch from Richard Jones to save
  the query part in raw form.
Daniel

svn path=/trunk/; revision=3607
2007-04-26 08:33:28 +00:00
Daniel Veillard
cb4284e296 applied patch from Richard Jones to for the silent flag on valgrind when
* xstc/Makefile.am doc/examples/Makefile.am Makefile.am: applied
  patch from Richard Jones to for the silent flag on valgrind
  when doing "make valgrind"
* xmlregexp.c: raise a regexp error when '\' is misused to escape
  a standard character.
Daniel

svn path=/trunk/; revision=3606
2007-04-25 13:55:20 +00:00
Daniel Veillard
c9923324e9 Richard Jones reported xmlBufferAdd (buf, "", -1), fixing it Daniel
* tree.c: Richard Jones reported xmlBufferAdd (buf, "", -1), fixing it
Daniel

svn path=/trunk/; revision=3605
2007-04-24 18:12:06 +00:00
Daniel Veillard
a44294f10b fix xmlURIUnescapeString comments which was confusing Daniel
* uri.c: fix xmlURIUnescapeString comments which was confusing
Daniel

svn path=/trunk/; revision=3603
2007-04-24 08:57:54 +00:00
Daniel Veillard
509ed2aa1a new patch from Andreas Stricke to better integrate support for Windows CE
* include/win32config.h libxml.h: new patch from Andreas Stricke to
  better integrate support for Windows CE
Daniel

svn path=/trunk/; revision=3602
2007-04-18 07:51:50 +00:00
Daniel Veillard
39bcf94a15 release of libxml2 2.6.28 Daniel
* doc/* configure.in NEWS: release of libxml2 2.6.28
Daniel

svn path=/trunk/; revision=3601
2007-04-17 14:47:05 +00:00
Daniel Veillard
59d3ed8fe0 applied patch from Andreas Stricke to ease the compilation on Windows CE
* catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c
  xmlIO.c nanohttp.c nanoftp.c trio.c triostr.c triostr.h: applied 
  patch from Andreas Stricke to ease the compilation on Windows CE
Daniel

svn path=/trunk/; revision=3600
2007-04-17 12:44:58 +00:00
Daniel Veillard
ed12138b18 "xmllint unusable on win32" so applied a libxml2 patch from Christian
* xmllint.c catalog.c: "xmllint unusable on win32" so applied
  a libxml2 patch from Christian Ehrlicher
Daniel

svn path=/trunk/; revision=3599
2007-04-17 12:33:19 +00:00
Daniel Veillard
42720248e6 change the way script/style are parsed to not try to detect comments,
* 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
2007-04-16 07:02:31 +00:00
William M. Brack
5657837103 small enhancement for quantifier range with min occurs of 0; fixes bug
* xmlregexp.c: small enhancement for quantifier range with
  min occurs of 0; fixes bug 425542.

svn path=/trunk/; revision=3597
2007-04-11 14:33:46 +00:00
Daniel Veillard
bd672bc5f9 applied change from Michael Day to avoid a problem when compiled without
* xmlIO.c: applied change from Michael Day to avoid a problem when
  compiled without zlib support.
Daniel

svn path=/trunk/; revision=3596
2007-03-30 12:39:25 +00:00
Daniel Veillard
7ef5169074 applied documentation patch from James Dennett Daniel
* include/libxml/xpath.h: applied documentation patch from James Dennett
Daniel

svn path=/trunk/; revision=3595
2007-03-21 16:47:12 +00:00
William M. Brack
a9cbf28361 fixed problem with 0x2d in Char Range (bug #420596) added regression test
* xmlregexp.c: fixed problem with 0x2d in Char Range (bug #420596)
* test/regexp/bug420596, result/regexp/bug420596: added regression
  test for this

svn path=/trunk/; revision=3594
2007-03-21 13:16:33 +00:00
William M. Brack
e978ae25ca fixed memory access error on parsing of meta data which had errors (bug
* 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
2007-03-21 06:16:02 +00:00
Daniel Veillard
bd44484bb0 applied patch from Björn Wiberg to try to fix again the silly
* nanoftp.c: applied patch from Björn Wiberg to try to fix again
  the silly __ss_familly problem on various AIXes, should fix #420184
Daniel

svn path=/trunk/; revision=3592
2007-03-20 08:47:29 +00:00
William M. Brack
0c1e301175 corrected small error in last commit corrected small typo in last commit
* configure.in: corrected small error in last commit
* xmlreader.c: corrected small typo in last commit

svn path=/trunk/; revision=3591
2007-03-14 12:40:21 +00:00
William M. Brack
06559b3add fixed problem with referenced attribute groups (bug #417621) re-ordered
* xmlschemas.c: fixed problem with referenced attribute groups
  (bug #417621)
* configure.in: re-ordered some includes for types.h / socket.h
  (bug 416001)

svn path=/trunk/; revision=3590
2007-03-14 09:34:15 +00:00
Daniel Veillard
a9c5677c22 applied patch from Julien Reichel cleaning up mode and state internal
* xmlreader.c: applied patch from Julien Reichel cleaning up mode
  and state internal flags mixups
Daniel

svn path=/trunk/; revision=3588
2007-03-09 16:59:05 +00:00
William M. Brack
ee0b982fe8 fixed xmlXPathCmpNodes for incorrect result on certain cases when
* xpath.c: fixed xmlXPathCmpNodes for incorrect result on certain
  cases when comparing identical nodes (bug 415567) with patch
  from Oleg Paraschenko

svn path=/trunk/; revision=3587
2007-03-07 08:15:01 +00:00
William M. Brack
7a12e57b7f fixed tab problem with patch from Andreas Hanke (bug #408626)
* python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626)

svn path=/trunk/; revision=3586
2007-02-16 17:11:09 +00:00