1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
Commit Graph

332 Commits

Author SHA1 Message Date
Daniel Veillard
142adbfa3d More bugfixes due to DocBook:
- xpath.c: bug fix when context size is 0
- parser.c: I like Norm's Dtd because they still manage to break
  the parser occasionally
Daniel
2001-02-17 13:21:05 +00:00
Daniel Veillard
f23e0095df - xpath.c: xmlXPathEqualNodeSetFloat the arg is really a double now
Daniel
2001-02-16 13:21:29 +00:00
Daniel Veillard
e0e265138e - tree.[ch] parser.c xpath.c: fixed the problem of addressing
attributes within the XML-1.0 namespace
Daniel
2001-02-16 00:11:46 +00:00
Daniel Veillard
6e6a6cc6e7 couple of fixes before release:
- xpathInternals.h: exported a few axis functions
- doc/xml.html: updated the doc
Daniel
2001-02-15 15:55:44 +00:00
Daniel Veillard
760f4426f7 Couple of fixes, getting ready for 2.3.1:
- configure.in: applied patch from Daniel van Balen for OpenBSD
  and bumped version to 2.3.1
- HTMLtree.c result/HTML/doc3.htm result/HTML/wired.html: the
  attempt to find autoclosing was simply broken, removed it,
  updated the examples, this is better
Daniel
2001-02-15 14:59:48 +00:00
Daniel Veillard
d194dd2892 - hash.[ch]: added Paolo Casarini patch to provide Delete from
hash functionnalities.
- doc/html/* : rebuild the doc
Daniel
2001-02-14 10:37:43 +00:00
Daniel Veillard
f41fbbf6a9 testing and bug fixing related to XSLT:
- xpath.c result/XPath/tests/chaptersprefol: bugfixes on order and
  on predicate
- HTMLparser.[ch] HTMLtree.c result/HTML/doc3.htm.err
  result/HTML/doc3.htm.sax result/HTML/wired.html: sometimes one
  really want to have tags closed on output even if we accept
  unclosed ones on input
Daniel
2001-02-13 17:05:35 +00:00
Daniel Veillard
5dd2f0a6cd Well the bugs I was chasing on XSLT were ... in libxml ... grrrr:
- xpath.c: ouch don't free NULL, rare case fixed
- tree.c: don't coalesce text nodes if they don't have the
  same behaviour wrt escaping on output
Daniel
2001-02-12 17:36:05 +00:00
Daniel Veillard
d12b69ddf5 bit of testing, a bit of fixing, a bit of testing, a bit of fixing ...
* xpath.c: small fixup
* SAX.c: don't warn on empty namespaces.
Daniel
2001-02-11 20:17:31 +00:00
Daniel Veillard
6a2e406043 - README: a bit of cleanup
- configure.in: preparing for 2.3.0 release
Daniel
2001-02-08 10:31:33 +00:00
Daniel Veillard
1f83d39fd3 - hash.[ch]: added a first version of xmlHashSize()
- valid.c: another bug fix from Gary Pennington
Daniel
2001-02-08 09:37:42 +00:00
Daniel Veillard
5eef6225f7 - valid.c: couple of bug fixes pointed by Gary Pennington
- HTMLtree.c: #if 0 cleanup
Daniel
2001-02-07 18:24:48 +00:00
Daniel Veillard
2c257ec1ee How to remove 20% of XSLT execution time in less than 20 lines of code
* xpath.c: started profiling XSLT, added xmlXPathNodeSetAddUnique()
  which removes a time consuming check of xmlXPathNodeSetAdd()
  and use it in places where we are sure to not break unicity
Daniel
2001-02-06 13:29:07 +00:00
Daniel Veillard
0f2a53ccbd Bug fixes and an extension found and required by XSLT:
- xpath.c: bug fixes found from XSLT
- tree.c: preserve node->name special values when copying nodes.
- parserInternals.[ch] parser.[ch] SAX.c : added a mode where
  external subset are fetched when available but without full
  validation. Added xmlLoadExtDtdDefaultValue, need a function.
- HTMLtree.c: add support for xmlStringTextNoenc for XSLt HTML
  output with encoding disabled.
Daniel
2001-02-05 17:57:33 +00:00
Daniel Veillard
2c833b6678 Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilename
Dohhhhhh:
- xmliO.c: Harry Blundell pointed out that xmlCheckFilename
  xmlCheckFilename should not be called from xmlFileOpenW
  and xmlGzfileOpenW
Daniel
2001-02-03 08:52:06 +00:00
Daniel Veillard
b6e7fdbac6 Rewrite/cleanup/tests of URI normalization:
- uri.c: rewrite of xmlNormalizeURIPath from Paul D. Smith
- test/URI/smith.uri result/URI/smith.uri Makefile.am:
  added the new tests for URI normalization
- testURI.c: fixed stoopid bugs
- result/VC/OneID3 result/VC/UniqueElementTypeDeclaration:
  the URI in the error messages are now properly normalized
Daniel
2001-02-02 17:07:32 +00:00
Daniel Veillard
ea28ce621c - uri.c: applied Marc Sanfacon's patch for xmlNormalizeURIPath
Daniel
2001-02-02 08:20:19 +00:00
Daniel Veillard
e99a476722 fixed a number of problems in XPATH_XSLT_TREE processing Daniel
* xpath.c: fixed a number of problems in XPATH_XSLT_TREE processing
Daniel
2001-02-01 04:34:35 +00:00
Daniel Veillard
2b325a0bfe XSLT debug side effect:
* xpath.c: fixed mod operator
Daniel
2001-01-31 20:46:31 +00:00
Daniel Veillard
de55cf62da First libxml head patch from the Gnome community since a looong time :-)
- parser.c: fixed xmlStrcat doc
- tree.c: 2 fixes form Anders Carlson for copying nodes and
  trees.
Daniel
2001-01-31 15:53:13 +00:00
Daniel Veillard
2f913b7470 Fixes inherited from XSLT testing:
- xpath.c result/XPath/tests/chaptersbase
  result/XPath/tests/simplebase: fixed XPath node()
- tree.c: small fix in xmlNewNs()
- Makefile.am: removed extraneous xml2Conf.sh rule
Daniel
2001-01-31 13:23:49 +00:00
Daniel Veillard
b42042b57d Renamed the library to libxml2 and made the changes needed to have
libxml-devel and libxml2-devel to coexist:
- Makefile.am configure.in libxml.spec.in example/Makefile.am:
  Changed the library name, in order to get libxml-devel and
  libxml2-devel to coexist on a single system
- xml-config.1 xml-config.in xmlConf.sh.in: renamed
- xml2-config.1 xml2-config.in xml2Conf.sh.in: new files
Daniel
2001-01-28 07:40:36 +00:00
Daniel Veillard
ee0a4660b0 - Makefile.am configure.in libxml-2.0.pc.in: started working on getting
libxml2-devel installable in // as libxml-devel.
Daniel
2001-01-27 18:59:33 +00:00
Daniel Veillard
5eb0594f83 Makefile/doc maintenance:
- doc/Makefile.am: fixed make rebuild in doc
- doc/html/*.html: rebuilt the docs
Daniel
2001-01-27 17:50:22 +00:00
Daniel Veillard
65c295d554 - tree.c: patch from Bjorn Reese on xmlBufferCCat
Daniel
2001-01-26 09:32:39 +00:00
Daniel Veillard
8e19990680 Some packaging cleanup:
- Makefile.am doc/Makefile.am libxml.spec.in: painful work to get
  the HTML doc to go into the -devel RPM ...
- aclocal.m4 config.h.in: some updates due to auto* magic
Daniel
2001-01-25 18:54:39 +00:00
Daniel Veillard
9308666371 - xpath.h: added a hook in the context structure allowing to
link to extra support, needed for XSLT
Daniel
2001-01-25 18:13:04 +00:00
Daniel Veillard
f17e09bcc8 Incorporated patches, some cleanup:
- xpath.[ch] xpointer.c: added xmlXPathCmpNodes, changed
  xmlXPtrCmpPoints to use it.
- propagated the following patch from Alejandro Forero
- include/win32config.h xmlIO.c: applied further suggestions
  from Igor Zlatkovic <igorz@dialup.nacamar.de> and cleanup
- example/gjobread.c: fixed warnings, now that it builds
Daniel
2001-01-25 13:55:35 +00:00
Daniel Veillard
48177c22d7 Fixed a problem with EXTRA_DiST, Daniel. 2001-01-23 15:27:41 +00:00
Daniel Veillard
b83ba408b1 took me nearly 2 years to find the way to not build in SUBDIRS before
the current dir. Did I said previously how I hate auto* (but still love
it when it works :-)
Daniel
2001-01-22 22:45:10 +00:00
Daniel Veillard
82687162b1 - doc/xml.html: updated with an XSLT section, removed pointer to
W3C CVS base.
Daniel
2001-01-22 15:32:01 +00:00
Daniel Veillard
8a7642fd88 Memory issues on the new type:
- xpath.c: when copying a XSLT tree object the tree need to be copied
  too, and deallocation need to occur the same way.
Daniel
2001-01-22 10:45:16 +00:00
Daniel Veillard
e456646d5d More work, bugfixes for problems detected by XSLT, and addition of
a new specific type for XSLT:
- xpathInternals.h xpath.[ch] debugXML.c: added the XPATH_XSLT_TREE
  type correponding to an XSLT result tree fragment. Share most
  of the data format with node set, as well as operators.
- HTMLtree.c: added a newline at the end of the doctype output
  whe this one is not present initially.
- tree.c: make sure taht the parent and doc pointers are properly
  set when copying attributes (lists).
Daniel
2001-01-22 09:58:39 +00:00
Daniel Veillard
701c736b96 Just mad a function public:
- htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput
Daniel
2001-01-21 09:48:59 +00:00
Daniel Veillard
5a2b697af8 - xpath.c: seems I finally killed that ugly path evaluation
context bug (tagged 9999 in case is is wrong)
Daniel
2001-01-20 21:15:50 +00:00
Daniel Veillard
8f4d97579a added xmlXPathRegisterVariableLookup() for XSLT Daniel
* xpath.[ch] xpathInternals.h: added xmlXPathRegisterVariableLookup() for XSLT
Daniel
2001-01-19 05:32:34 +00:00
Daniel Veillard
d8aa7cbd18 off by 1 and stupidity bug fix:
- xmlIO.c: Gary Pennington <Gary.Pennington@uk.sun.com> fix
  for xmlGzfileOpen() bug
Daniel
2001-01-18 15:21:36 +00:00
Daniel Veillard
f6eea27b38 Bugfixes, extesion and optimizations for XSLT:
- xpath.c: removed an error found by XSLT usage
- tree.c parserInternals.h: use a predefined static string
  for text and comment nodes, avoid freeing them in xmlFreeNode,
  exported the string name in parserInternals.h and added
  another value to disable encoding at output (for XSLT),
  gain memory, time.
Daniel
2001-01-18 12:17:12 +00:00
Daniel Veillard
8f2cc57cea Contributed Win2000 Makefiles:
- win32/README.MSDev win32/libxml2/libxml2_a.dsp
  win32/libxml2/libxml2_so.dsp: new makefiles and update
  provided by Igor Zlatkovic <igor@stud.fh-frankfurt.de>
Daniel
2001-01-17 08:19:35 +00:00
Daniel Veillard
f831bfb9f1 tree.c : xmlSaveFile, xmlSaveFileEnc, applied patch from Gary Pennington, Daniel 2001-01-16 17:26:04 +00:00
Daniel Veillard
389e6b7227 Patches bug fixes and on new function:
- xpath.c: fixed the comaprision of values and nodelists,
  need to compare nodelist still ...
- debugXML.c: avoided a possible core dump
- HTMLparser.c: cleanup
- nanohttp.c: contributed fix.
- tree.c: fixes in properties handling added xmlSetNsProp
  needed by libxslt
- xpathInternals.h: exported xmlXPathBooleanFunction, added a
  comment
- TODO: updated
Daniel
2001-01-15 19:41:13 +00:00
Daniel Veillard
167bd53151 Old but effective optimization patch:
- parser.c parserInternals.c: applied Bjorn Reese optimization patch
Daniel
2001-01-06 21:09:34 +00:00
Daniel Veillard
503b89361d - configure.in: preparing 2.2.11
- doc/html/*: rebuild the HTML files
- doc/xml.html : updated
Daniel
2001-01-05 06:36:31 +00:00
Daniel Veillard
c2f4df2f25 One new set of patches:
- tree.c: fixed a stupid bug
- valid.c: applied "Paul D. Smith" <pausmith@nortelnetworks.com>
  patches related to validation of an XInclude processing result
- TODO: updated
Daniel
2001-01-04 14:06:39 +00:00
Daniel Veillard
e248819673 - encoding.c xmlIO.c: Fixing the problem reported by Marc Sanfacon
Daniel
2001-01-04 10:54:22 +00:00
Daniel Veillard
f060a418ae fixed xmlParserInputBufferCreateMem doc Daniel
* xmlIO.c: fixed xmlParserInputBufferCreateMem doc
Daniel
2001-01-03 20:52:44 +00:00
Daniel Veillard
45cff696cf Patches: - HTMLparser.c: htmlCheckParagraph to check
Patches:
- HTMLparser.c: htmlCheckParagraph to check htmlOmittedDefaultValue,
  reported by Jonas Borgstrm
- nanohttp.c: Applied Bjorn Reese' IPV6 first patch
Daniel
2001-01-03 18:02:04 +00:00
Daniel Veillard
081089848c - testXPath.c xpath.c: fixing the XPath union expressions problem
reported by  Martin Vidner <martin@artax.karlin.mff.cuni.cz>
Daniel
2001-01-03 15:24:58 +00:00
Daniel Veillard
4a6845df29 Restarted hacking :-) :
- xmllint.c: Made is so if the file name is "-" is will read form
  standard input. Sven Heinicke  <sven@zen.org>
- tree.c: fixed a problem when growing buffer
- tree.h: fixed the comment of the node types following andersca
  comment
- TODO: updated
Daniel
2001-01-03 13:32:39 +00:00
Daniel Veillard
a6d8eb6256 Finally had a bit of time to resynch both trees:
- HTMLparser.[ch]: added a way to avoid adding automatically
  omitted tags. htmlHandleOmittedElem() allows to change the
  default handling.
- tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and
  xmlDocDumpFormatMemoryEnc(), uses memory functions for output
  of xmllint too when using --memory flag, added a memory test
  suite at the Makefile level.
- xpathInternals.h xpath.[ch] xpointer.c: fixed problems
  with namespace use when encountering QNames in XPath evalation,
  added xmlns() scheme in XPointer.
- nanoftp.c : incorporated a fix
- parser.c xmlIO.c: fixed problems raised with encoding when using
  the memory I/O
- parserInternals.c: closed bug 25934 reported by
  torsten.landschoff@innominate.de
- TODO: updated
Daniel
2000-12-27 10:46:47 +00:00