1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
Commit Graph

212 Commits

Author SHA1 Message Date
Daniel Veillard
024b57019f patch from Mark Vadok about htmlNodeDumpOutput location. removed an
* HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok
  about htmlNodeDumpOutput location.
* xpath.c: removed an undefined function signature
* doc/apibuild.py doc/libxml2-api.xml: the script was exporting
  too many symbols in the API breaking the python bindings.
  Updated with the libxslt/libexslt changes.
Daniel
2002-12-12 00:15:55 +00:00
Daniel Veillard
01c13b5be2 code cleanup, especially the function comments. fixed a small bug when
* DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c
  nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c
  testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c
  xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c:
  code cleanup, especially the function comments.
* tree.c: fixed a small bug when freeing nodes which are XInclude ones.
Daniel
2002-12-10 15:19:08 +00:00
Daniel Veillard
1c732d2e10 code cleanup Daniel
* DOCBparser.c HTMLparser.c parser.c valid.c xpath.c: code cleanup
Daniel
2002-11-30 11:22:59 +00:00
Daniel Veillard
68e9e74af8 fixing #96925 wich was also dependant on the processing of parsed
* parser.c xpath.c: fixing #96925 wich was also dependant on the
  processing of parsed entities, and XPath computation on sustitued
  entities.
* testXPath.c: make sure entities are substitued.
Daniel
2002-11-16 15:35:11 +00:00
Daniel Veillard
8606bbbc0a fixed the initialization of the SAX structure which was breaking xsltproc
* parserInternals.c: fixed the initialization of the SAX structure
  which was breaking xsltproc
* xpath.c: patch from Petr Pajas for CDATA nodes
* tree.c: patch from Petr Pajas improving xmlGetNodePath()
* parser.c include/libxml/parser.h: patch from Peter Jones
  removing a leak in xmlSAXParseMemory() and adding the
  function xmlSAXParseMemoryWithData()
Daniel
2002-11-12 12:36:52 +00:00
Daniel Veillard
7216cfd662 fixed a typo pointed out by Igor try to speed up node compare using line
* globals.c: fixed a typo pointed out by Igor
* xpath.c: try to speed up node compare using line numbers
  if available.
Daniel
2002-11-08 15:10:00 +00:00
Daniel Veillard
e645e8c141 Applied the VMS update patch from Craig A. Berry update Daniel
* vms/build_libxml.com vms/config.vms vms/readme.vms
  include/libxml/parser.h include/libxml/parserInternals.h
  include/libxml/tree.h include/libxml/xmlIO.h
  HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c
  tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c:
  Applied the VMS update patch from Craig A. Berry
* doc/*.html: update
Daniel
2002-10-22 17:35:37 +00:00
Daniel Veillard
ceb09b956e typo/bug found by Christian Glahn Daniel
* valid.c: typo/bug found by Christian Glahn
Daniel
2002-10-04 11:46:37 +00:00
Daniel Veillard
dda8f1ba9f make sure ATTRIBUTE_UNUSED is always put after the attribute declaration,
* xinclude.c xmlschemas.c xmlschemastypes.c xpath.c: make sure
  ATTRIBUTE_UNUSED is always put after the attribute declaration,
  not before
Daniel
2002-09-26 09:47:36 +00:00
Daniel Veillard
118aed78f3 fixed the data callback on transition functionality which was broken when
* xmlregexp.c: fixed the data callback on transition functionality
  which was broken when using the compact form
* result/schemas/*: updated the results, less verbose, all tests
  pass like before
* DOCBparser.c testAutomata.c testC14N.c testSchemas.c testThreads.c
  testXPath.c valid.c xinclude.c xmllint.c xmlregexp.c xmlschemas.c
  xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of
  annoying warnings
* xpath.c: try to provide better error report when possible
Daniel
2002-09-24 14:13:13 +00:00
Daniel Veillard
42766c0eea possible mem leak patch from Jason Adams integrated xf:escape-uri() from
* xpath.c: possible mem leak patch from Jason Adams
* xpath.c: integrated xf:escape-uri() from Wesley Terpstra
  in the XQuery namespace
* configure.in: preparing 2.4.24
* doc/*.html: updated the web pages
* python/generator.py: closing bug #85258 by generating conditional
  compile check to avoid linking to routines not configured in.
Daniel
2002-08-22 20:52:17 +00:00
William M. Brack
ef61d20850 xpath.c: small additional enhancement for boolean compared to nodeset 2002-07-19 08:32:00 +00:00
William M. Brack
0c022ad823 xpath.c fix bug 85256 2002-07-12 00:56:01 +00:00
Daniel Veillard
fdc9156a75 applied patch from Richard Jinks for the namespace axis + fixed a memory
* xpath.c: applied patch from Richard Jinks for the namespace
  axis + fixed a memory error.
* parser.c parserInternals.c: applied patches from Peter Jacobi
  removing ctxt->token for good.
* xmlschemas.c xmlschemastypes.c: fixed a few memory leaks
  popped out by the regression tests.
* Makefile.am: patch for threads makefile from Gary Pennington
Daniel
2002-07-01 21:52:03 +00:00
William M. Brack
692092b588 further xpath enhancement 2002-06-28 15:01:24 +00:00
William M. Brack
6000af549b fixed xpath position problem 2002-06-28 11:43:13 +00:00
Aleksey Sanin
49cc97565f replaced sprintf() with snprintf() to prevent possible buffer overflow
* DOCBparser.c HTMLparser.c debugXML.c encoding.c
nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c
xmllint.c xpath.c: replaced sprintf() with snprintf()
to prevent possible buffer overflow (the bug was pointed
out by Anju Premachandran)
2002-06-14 17:07:10 +00:00
Daniel Veillard
9e4123023a patch from Richard Jinks for XPath substring() function new set of tests
* xpath.c: patch from Richard Jinks for XPath substring() function
* result/XPath/expr/strings test/XPath/expr/strings: new set of tests
Daniel
2002-06-10 15:59:44 +00:00
Aleksey Sanin
f8cb6dda89 added merlin-c14n-two.tar.gz tests for c14n/exc-c14n and slightly modified
* result/c14n/exc-without-comments/merlin-c14n-two-*
  result/c14n/without-comments/merlin-c14n-two-*
  test/c14n/exc-without-comments/merlin-c14n-two-*
  test/c14n/without-comments/merlin-c14n-two-*
  testC14N.c Makefile.am: added merlin-c14n-two.tar.gz tests for
c14n/exc-c14n and slightly modified test script to handle
these test cases
* c14n.c: fixed bugs for complicated nodes set (namespace
without node and others from merlin-c14n-two.tar.gz)
* include/libxml/xpathInternals.h win32/dsp/libxml2.def.src
win32/libxml2.def.src: "opened" xmlXPathNodeSetFreeNs() function
for xmlsec performance patch
* xpath.c: fixed self::node() for namespaces and attributes
2002-06-04 04:27:06 +00:00
Aleksey Sanin
dffd5c8dbc propagating xpath ancesstors node fix to c14n plus small performance
* c14n.c: propagating xpath ancesstors node fix to c14n                         plus small performance improvement to reduce number of                          mallocs                                                                         * xpath.c: fixed ancestors axis processing for namespace nodes
2002-05-31 04:24:13 +00:00
Daniel Veillard
ed23b7dc73 patch from Richard Jinks to fix a problem introduced in the previous patch
* xpath.c: patch from Richard Jinks to fix a problem introduced
  in the previous patch and pointed by Norm
Daniel
2002-05-27 12:16:02 +00:00
Daniel Veillard
7c13af4d2d patch from Richard Jinks to fix the problem raised in
* xpath.c: patch from Richard Jinks to fix the problem raised in
  http://mail.gnome.org/archives/xml/2002-April/msg00246.htm
Daniel
2002-05-22 09:57:32 +00:00
Daniel Veillard
088bf11630 fixing an XPath function evalutation bug pointed out by Alexey Efimov
* xpath.c: fixing an XPath function evalutation bug pointed out
  by Alexey Efimov where the context was lost when evaluating
  the function arguments
Daniel
2002-05-14 11:03:59 +00:00
Aleksey Sanin
79376ba948 maked xmlXPathNodeSetAddNs() function public for XMLSec performance
* xpath.c include/libxml/xpathInternals.h: maked xmlXPathNodeSetAddNs()
          function public for XMLSec performance optimizations
2002-05-14 06:41:32 +00:00
Daniel Veillard
3cd7240da4 fixed a problem with the HTML parser pointed by Gary Benson sdding the
* python/generator.py python/libxml2class.txt : fixed a problem
  with the HTML parser pointed by Gary Benson
* python/tests/Makefile.am python/tests/pushSAXhtml.py: sdding the
  example
Daniel
2002-05-13 10:33:30 +00:00
Aleksey Sanin
50fe8b1732 real fix for bug #78858 2002-05-07 16:21:36 +00:00
Aleksey Sanin
29b6f76c53 fixed bug #78858 2002-05-05 06:59:57 +00:00
Daniel Veillard
eca82810f0 another XPath conformance patch from Richard Jinks Daniel
* test/XPath/expr/floats test/XPath/expr/functions
  result/XPath/expr/floats result/XPath/expr/functions
  xpath.c: another XPath conformance patch from Richard Jinks
Daniel
2002-04-24 11:42:02 +00:00
Daniel Veillard
23b1f37bf5 fix a problem with string() on a document node. Daniel
* xpath.c: fix a problem with string() on a document node.
Daniel
2002-04-18 15:50:05 +00:00
Daniel Veillard
bc6f759ac9 Gary found a compile time problem, fixes #78823 Daniel
* xpath.c: Gary found a compile time problem, fixes #78823
Daniel
2002-04-16 07:49:59 +00:00
Daniel Veillard
da423da207 Silvan Minghetti pointed erroneous use of LIBXML_THREADS_ENABLED instead
* xpath.c include/libxml/xmlwin32version.h.in: Silvan Minghetti
  pointed erroneous use of LIBXML_THREADS_ENABLED instead of
  LIBXML_THREAD_ENABLED
Daniel
2002-04-10 19:25:38 +00:00
Daniel Veillard
0eafdef988 another patch from Richard Jinks for substring conformance update of the
* xpath.c: another patch from Richard Jinks for substring conformance
* test/XPath/expr/floats test/XPath/expr/strings
  result/XPath/expr/floats result/XPath/expr/strings: update of the
  test suite to check those.
Daniel
2002-04-10 16:14:34 +00:00
Daniel Veillard
01917aa1cb patch from Richard Jinks for .x float parsing. Daniel
* xpath.c: patch from Richard Jinks for .x float parsing.
Daniel
2002-04-10 11:30:41 +00:00
Daniel Veillard
bd6e63122f fixed a bug in the nodeset to boolean comparison code pointed out by
* xpath.c: fixed a bug in the nodeset to boolean comparison code
  pointed out by Melvyn Sopacua.
Daniel
2002-04-01 08:04:14 +00:00
Daniel Veillard
7089d6bfac Fix bug #76927 forgot to save some context when evaluating binary
* xpath.c: Fix bug #76927 forgot to save some context
  when evaluating binary expressions
Daniel
2002-03-29 17:28:10 +00:00
Daniel Veillard
d30be4add7 fixed configure for MPE/iX from Markus Henke fixed initialization problems
* configure.in: fixed configure for MPE/iX from Markus Henke
* xmlmemory.c: fixed initialization problems
* xpath.c: another set of patches from Richard Jinks this
  fixes "make XPathtests" on linux
Daniel
2002-03-28 18:25:31 +00:00
Daniel Veillard
21458c85e2 more patches from Richard Jinks Updated tests though they show a
* trionan.c trionan.h xpath.c: more patches from Richard Jinks
* test/XPath/expr/compare test/XPath/expr/equality
  test/XPath/expr/floats test/XPath/expr/functions
  test/XPath/expr/strings result/XPath/expr/compare
  result/XPath/expr/equality result/XPath/expr/floats
  result/XPath/expr/functions result/XPath/expr/strings: Updated
  tests though they show a divergence on Linux
Daniel
2002-03-27 16:12:22 +00:00
Daniel Veillard
5fc1f0893a Added Igor Zlatkovic as official maintainer Albert Chin pointed that
* AUTHORS HACKING: Added Igor Zlatkovic as official maintainer
* python/Makefile.am python/tests/Makefile.am: Albert Chin pointed
  that $(datadir) should be used for docs
Daniel
2002-03-27 09:05:40 +00:00
Daniel Veillard
56cd18b977 Richard Jinks also raised some rounding problems this tries to fix them
* xpath.c: Richard Jinks also raised some rounding problems
  this tries to fix them
Daniel
2002-03-22 14:14:43 +00:00
Daniel Veillard
4e2df54bb1 Richard Jinks spotted an incoherent memory allocation behaviour in
* xpath.c: Richard Jinks spotted an incoherent memory allocation
  behaviour in xmlXPathCastToString()
Daniel
2002-03-22 12:23:14 +00:00
Daniel Veillard
6fbcf42aa3 fixing #75619, related to a problem when trying to evaluate condition when
* xpath.c: fixing #75619, related to a problem when trying
  to evaluate condition when the current node set resulting
  from that sub-step evaluation is empty. Also fixes 2 potential
  problem with previous-sibling and next-siblings axis.
Daniel
2002-03-21 12:32:59 +00:00
Daniel Veillard
c62a147963 valgrind spotted another error that time when running on libxslt
* xpath.c: valgrind spotted another error that time when running
  on libxslt regression tests
Daniel
2002-03-19 18:35:12 +00:00
Daniel Veillard
28cac6b5a9 pretty insane thing, the xmlXPathFormatNumber() was not serializing 1 as
* xpath.c: pretty insane thing, the xmlXPathFormatNumber()
  was not serializing 1 as "1" if LC_ALL=sv_SE :-( and in the
  context of ScrollKeeper, made sure that if the number is
  an integer, the serialization follows the description at
  http://www.w3.org/TR/xpath#section-String-Functions
Daniel
2002-03-19 11:25:30 +00:00
Daniel Veillard
34ce8bece2 preparing 2.4.18 updated and rebuilt the web site implement the new
* configure.in: preparing 2.4.18
* doc/*: updated and rebuilt the web site
* *.c libxml.h: implement the new IN_LIBXML scheme discussed with
  the Windows and Cygwin maintainers.
* parser.c: humm, changed the way the SAX parser work when
  xmlSubstituteEntitiesDefault(1) is set, it will then
  do the entity registration and loading by itself in case the
  user provided SAX getEntity() returns NULL.
* testSAX.c: added --noent to test the behaviour.
Daniel
2002-03-18 19:37:11 +00:00
Daniel Veillard
38bf6f0425 small fix to avoid potential problem due to ordering of freeing data
* xpath.c: small fix to avoid potential problem due to
  ordering of freeing data
* python/Makefile.am: people were complaining about
  the generated file in python dir not being built
Daniel
2002-03-16 22:03:31 +00:00
Daniel Veillard
75be013085 speedup some node selection operations, this can have a significant impact
* xpath.c: speedup some node selection operations, this can
  have a significant impact on DocBook Norm's stylesheets
* nanohttp.c: someone reported that SOCKLEN_T may not be defined
  make sure it's always the case
* debugXML.c: distinguish CDATA and comments in ls operations
Daniel
2002-03-13 10:03:35 +00:00
Daniel Veillard
af43f63aaa preparing 2.4.17 release updated and rebuilt the docs fixed a comment
* configure.in: preparing 2.4.17 release
* doc/*: updated and rebuilt the docs
* xpath.c: fixed a comment
* python/libxml.c: fixed a possible reentrancy problem
Daniel
2002-03-08 15:05:20 +00:00
Daniel Veillard
7b41613ff3 trying to avoid bug #72150 which was apparently caused by a gcc bug (or a
* xpath.c: trying to avoid bug #72150 which was apparently
  caused by a gcc bug (or a processor problem) as detailed
  at http://veillard.com/gcc.bug
Daniel
2002-03-07 08:36:03 +00:00
Daniel Veillard
044fc6b747 fixing #61290 "namespace nodes have no parent" long standing divergence
* xpath.c: fixing #61290 "namespace nodes have no parent"
  long standing divergence from the XPath REC. NodeSets
  simply hold a copy of namespace nodes and those node ->next
  points to the parent (which may not be the node carrying the
  definition).
* include/libxml/xpath.h: flagged but didn't added a possible
  speedup
* DOCBparser.c HTMLparser.c: removed some warnings from push
  parser due to new state being added.
* tree.c: new fix from Boris Erdmann
* configure.in c14n.c include/libxml/c14n.h testC14N.c: added
  the XML Canonalization support from Aleksey Sanin
Daniel
2002-03-04 17:09:44 +00:00
Daniel Veillard
5f4b5999b4 preparing 2.4.16 updated and rebuilt the docs, rebuilt the API and web
* configure.in include/libxml/xmlwin32version.h: preparing 2.4.16
* doc/* python/libxml2class.txt: updated and rebuilt the docs,
  rebuilt the API and web site
* xpath.c: fixed #71978 portability bugs
Daniel
2002-02-20 10:22:49 +00:00