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

483 Commits

Author SHA1 Message Date
Daniel Veillard
edac3c9084 - xinclude.c: fixed a problem building on Mac
Daniel
2001-02-26 01:36:19 +00:00
Daniel Veillard
21a0f91852 - parser.c: more work on increasing parsing ferformances
Daniel
2001-02-25 19:54:14 +00:00
Daniel Veillard
48b2f8968e Okay time to improve performances, gprof session:
before  real 0m2.483s (2.3.2 release yesterday)
current real 0m1.763s
when parsing (with tree build/freeing) db10000.xml from XSLTMark:
- xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c
  xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c:
  avoiding memcpy in production builds MEM_CLEANUP macro use
- parser.[ch] parserInternals.c: optimizations of the tightest
  internal loops inside the parser. Better checking of I/O
  flushing/loading conditions
- xmllint.c : added --timing
Daniel
2001-02-25 16:11:03 +00:00
Daniel Veillard
59a3bd3744 Small fix for the release, Daniel 2001-02-24 22:41:45 +00:00
Daniel Veillard
71681103a3 Preparing 2.3.2 release:
- configure.in: bumped to 2.3.2
- doc/xml.html: updated for release
Daniel
2001-02-24 17:48:53 +00:00
Daniel Veillard
bbd51d512b - xpath.c: found a memleak and fixed a nasty bug
Daniel
2001-02-24 03:07:03 +00:00
Daniel Veillard
f7cd48176c - xmllint.[c1] : added return code errors for xmllint
- xpath.c: specific debug dump function for result value trees
Daniel
2001-02-23 18:44:52 +00:00
Owen Taylor
3473f88a7a Revert directory structure changes 2001-02-23 17:55:21 +00:00
CET 2001 Tomasz Koczko
64636e7f6e moved to libxml directory - this allow simplify automake/autoconf. Now
Thu Feb 23 02:03:56 CET 2001 Tomasz Koczko <kloczek@pld.org.pl>

        * *.c *.h libxml files: moved to libxml directory - this allow
	  simplify automake/autoconf. Now isn't neccessary hack on
	  am/ac level for make and remove libxml symlink (modified for this
	  also configure.in and main Makefile.am). Now automake abilities
	  are used in best way (like in many other projects with libraries).
	* include/win32config.h: moved to libxml directory (now include
	  directory isn't neccessary).
	* Makefile.am, examples/Makefile.am, libxml/Makefile.am:
	  added empty DEFS and in INCLUDES rest only -I$(top_builddir) -
	  this allow minimize parameters count passed to libtool script
	  (now compilation is also slyghtly more quiet).
	* configure.in: simplifies libzdetestion - prepare separated
	  variables for keep libz name and path to libz header files isn't
	  realy neccessary (if someone have libz installed in non standard
	  prefix path to header files ald library can be passed as:
	  $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure
	* autogen.sh: check now for libxml/entities.h.

	After above building libxml pass correctly and also pass
	"make install DESTDIR=</install/prefix>" from tar ball generated by
	"make dist". Seems ac/am reorganization is finished. This changes
	not touches any other things on *.{c,h} files level.
2001-02-23 01:37:32 +00:00
Daniel Veillard
4b637079f2 - xpath.c: finally implemented xmlXPathCompareNodeSets
- test/XPath/expr/floats results/XPath/expr/floats: added
  a test for float expressions
Daniel
2001-02-21 21:52:55 +00:00
Daniel Veillard
f714aa3262 - tree.c: fixed xmlNodeGetContent, it was not recursing on child
- parserInternals.[ch]: trying to speed up parsing
- xpath.c : speeded up node set equality op
Daniel
2001-02-21 03:07:44 +00:00
Daniel Veillard
bca64ef1c6 cut and past error in Changelog, Daniel 2001-02-19 22:20:01 +00:00
Daniel Veillard
e0c3a62c91 - Makefile.am valid.c list.[ch]: Gary Pennington provided a
better handling of ID/IDREF and the list modules associated
- configure.in: small CFLAGS cleanup
Daniel
2001-02-19 18:05:20 +00:00
Daniel Veillard
a8abee69b2 - configure.in: fixed iconv detection on AIX (stric)
Daniel
2001-02-19 15:14:59 +00:00
Daniel Veillard
88f8f6f374 - xpath.c: fixed "*" (unbelievable !) and a couple of warnings
Daniel
2001-02-19 10:00:53 +00:00
Bjorn Reese
fd9b09b281 *** empty log message *** 2001-02-18 16:51:25 +00:00
Bjorn Reese
081543fd01 xmlXPathNodeSetSort now uses Shell's sorting algorithm
Fixed whitespace handling in xmlXPathStringEvalNumber
2001-02-18 16:49:41 +00:00
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
a666359a16 Fixed last point, Daniel 2001-02-10 09:41:12 +00:00
Daniel Veillard
62bccd56c9 Fixed formatting, Daniel. 2001-02-10 09:40:10 +00:00
Daniel Veillard
7f41b3eb5b Fixed some old stuff, added the faq about blanks, Daniel 2001-02-10 09:35:37 +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
9cb5ff4e6a Fixed generated doc, Daniel 2001-01-29 08:22:21 +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
f37927f9a0 auto*, Daniel 2001-01-27 10:23:03 +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