summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorrh <rh>2000-01-26 10:59:12 +0000
committerrh <rh>2000-01-26 10:59:12 +0000
commit2b80a2b4a120bb92d49e7397e99f26d3ad2b04a6 (patch)
treee536247c76eeace187d102ea7b9df45144f3bfc9 /textproc/libxml
parent661d568b50cda3a01cfeaaf362521c6cb569da94 (diff)
downloadpkgsrc-2b80a2b4a120bb92d49e7397e99f26d3ad2b04a6.tar.gz
Update libxml to 1.8.5
Changes are: * doc/* recompiled documentation * tree.c: fixed a hideous bug in xmlGetProp() thanks to Rune.Djurhuus@fast.no * tree.c, parser.c: made sure that only memory alloc problems and internal parser errors are allowed to write to stdout or stderr. * tree.c : restored xmlNewGlobalNs since this seems used by a lot of existing code :-(, fixed a bug in xmlNewNs * nanohttp.c: fixed a problem with INCLUDE_WINSOCK * HTMLparser.c, parser.c, entities.c, valid.c : removed all calls to exit() from the library code. * xpath.c, parser.c: removed bugs or unused code detected by Windows compilers * parser.c: started adding interfaces for parsing well balanced XML fragments * tree.[ch] : added xmlNewDocFragment() for DOM * testHTML.c: uninitialized variable. * valid.[ch]: added xmlRemoveID() and xmlRemoveRef() * tree.c: added check and handling when possibly removing an ID * tree.c, HTMLparser.h, HTMLtree.h: fixed entities parsing and saving. * test/HTML/entities.html result/HTML/entities.html* : test for various entities reference cases * result/HTML/* : as a result output of some testcase have changed * HTMLparser.c, parser.c: fixed a bug in the push mode triggered by previous example. added xmlParseTryOrFinish(). * xpath.h tree.h parser.h valid.h xmlIO.h xlink.h encoding.h entities.h debugXML.h HTMLparser.h: changed the way struct are declared to allow gtk-doc to expose those * parser.c: closed bug #4960 * doc/xml.html doc/*/*: updated and rebuilt the documentation pages * tree.[ch]: added xmlRemoveProp * win32config.h.in nanohttp.c: avoid including the Windows socket stuff in every C files * parser.c: removed an indetermination xmLDecl/PI(xml...) in the XmL parser(s) * test/ns4 result/ns4 etc...: added test case for previous prob * tree.c: xmlNewNs wasn't checking for double definition * Makefile.in: fixed a problem with dist-hook duplicates * parser.[hc], xmlIO.c: fixed the loading of external entities APIs, now xmlLoadExternalEntity() is used everywhere and setting up an app specific front-end using the * SAX.c parser.c: some fixes, now the xhtml spec validates with the xhtml DTD. * error.c: fixed crashes in case of no input stream * test/valid/[dtds/]/xhtml* : added the xhtml spec and dtds to the validation tests and results * HTMLparser.[ch] testHTML.c: added push mode for the HTML parser too htmlCreatePushParserCtxt() and htmlParseChunk() * parser.c: a bit of cleanup. * SAX.c, HTMLparser.c: some attributes may not have values (contrary to XML) removed the last mem leak known * HTMLtree.c: output message cleanup * xmlmemory.c: display content info about memory blocks * result/HTML/wired.* : missing att value warning change * parser.[ch] parserInternals.h: Push parser for XML, seems to work fine now * tester.c debugXML.[ch]: Added an XML shell debug facility and --push for push testing * xpath.[ch] : cleaned up for Shell usage, added missing APIs * testSAX.c: added --push * HTMLtree.[ch] tree.[ch]: new functions for dumping parts of the subtree * xmlIO.[ch] : enriched API + fixes for push mode * entities.[ch]: added the entity content length to the struct. * xmlmemory.[ch]: new API to show the last entries for the shell * valid.c: added required attribute testing * SAX.c: the cdata callback now merge contiguous fragments * HTMLparser.c: cleanup of some macros * parser.c: fix for PIs name starting with xml * tree.c: fixed a potential problem with || and && ops * *.c, configure.in win32config.h.in : generate win32config.h for those on the Other Side ! * parser.c: fixed a stupid = vs. == bug :-( * debugXML.h nanohttp.h xml-error.h xmlmemory.h xpath.h : Hopefully the end of that silly C++ include problem * tree.[ch]: Added a few functions: xmlReplaceNode, xmlAddPrevSibling, xmlAddNextSibling, xmlNodeSetName and xmlDocSetRootElement * HTMLparser.c HTMLparser.h HTMLtree.c: When saving HTML try to avoid troubles with autoclosed elements when the stree shape doesn't follow the DtD specs. Added htmlIsAutoClosed() and htmlAutoCloseTag() * result/HTML/*.htm*: Updated the HTML examples regression tests output * SAX.c tree.c: fixed bug on defaulting namespaces on attributes * debugXML.c: fixed a bug on printing default namespaces. * HTMLtree.c: fixed a problem when outputing XML parsed docs as HTML * result/HTML/*.htm[l] : updated the HTML regression tests according to the new output * xpath.h xml-error.h valid.h tree.h parser.h entities.h SAX.h HTMLtree.h tree.c entities.c: headers tweakings to avoid a nasty problem due to intermix of extern "C" { ... } declarations for C++ and recursive includes in the headers * HTMLtree.c: Made it so that html nodes with a single child do not insert a carriage return before or after the child node. * configure.in, doc/xml.html : bug fix release 1.8.1 * parser.c: fixed bug #4344 * xpath.h xml-error.h xlink.h nanohttp.h debugXML.h SAX.h HTMLparser.h added the glue to avoid C++ problems * tree.c: fixed a bug introduced in 1.8.0 and breaking default namespace recognition, and Dia as a resul :-( * encoding.c: closed bug #3950 * valid.c: debugging a posteriori validation, except URI expansion stuff this should be fixed now * parserInternals.h: fixed a bug in IS_BASECHAR reported by Carl Nygard <cnygard@bellatlantic.net> * tester.c: added --postvalid, cleaning of the code * tree.[ch]: added xmlDocGetRootElement() * SAX.h, tree.h : changed 'namespace' to 'nameSpace' to workaround c++ losage. * xlink.[ch], Makefile.am : added framework for link detection * parser.h: added nbChars to parser context, needed for cleanup. * xmlmemory.c: removed a nasty bug when out of mem * valid.[ch]: adding namespace support for attribute decl * tester.c: added --debugent option * debugXML.[ch]: added xmlDebugDumpEntities() * parser.c: cleanup, avoiding use of CUR_PTR like plague, using buffers instead, this was really needed, validation was breaking in strange ways due to that. Added xmlParseStringPEReference() and other parsing from strings functions. Entities processing modified again, but PERef are still not handled correcly but unless you're Eve Maller you won't notice :-) * HTMLparser.c: large changes toward reliability, and switched to lowercase internal tags, XHTML is lowercase, so it will help that output is closer to next version. * doc/* : regenerated the documentation, it is now hosted at http://xmlsoft.org/ (same bits I just bought the domain :-) * SAX.h, SAX.c, makefile.am: added SAX.h mostly useful for the doc generation * parser.c: fixed bugs #3908 and #3937 and a memory leak in the SAX API * doc/*: rebuilt the doc making sure everything appears in the HTML files * tree.[ch] HTMLtree.c, debugXML.c, configure.in, xml-config.in: added the patch from Carl Nygard <cnygard@bellatlantic.net> which allow impressive speed improvement on dataset with large text pieces, but at the cost of broken binary compatibility and slightly bigger memory usage. Configure with --with-buffers to activate them, they are protected with XML_USE_BUFFER_CONTENT define. * entities.[ch], parser.c: added xmlCleanupPredefinedEntities(), goal is 0 memory left allocated once parser is no more used * testDAV.c, testHTML.c, testSAX.c, testXPath.c: make sure we call xmlCleanupParser() and xmlMemoryDump() * tree.[ch] xmlIO.[ch] parser.c valid.c: code cleanup with -pedantic * parser.[ch] encoding.[ch]: added memory cleanup routines * parser.c: closing bug #3788 * tree.[ch]: closing bug 3748, added xmlNewDocRawNode(), xmlNewTextChild() and xmlSetCompressMode() behaviour. * tester.c: added --compress option * doc/*: rebuilt the documentation * HTMLparser.c: bugfixing, the damn thing MUST not crash even if given /proc/kcore as input ! * doc/xml.html doc/*: updated and rebuilt the documentation * parser.c: Fixed some wrongly space collapsing code due to a misreading of the spec. * result/*: fixed the output accordingly * encoding.c: bug fix and typos * xmlIO.[ch] parser.c: first bits toward real progressive parsing * parser.c: added attribute normalization closing bug #3597 * test/att* result/att* SAXresult/att*: testcase for attribute normalization * configure.in: closing bug #3163 by adding extra flags for the cc compiler on HP-UX * valid.[ch] : removed a typo and an enumerated type bug in the xmlAddElementDecl() function * tree.c : I changed xmlSetProp() and xmlNewProp() to do the call to xmlEncodeEntitiesReentrant() so that the functions New, Set and Get are at the same level. * parser.c HTMLparser.c: extra memory allocation bug for attributes detected by someone using libxml in embedded systems :-) * xmlmemory.h: turned off mem debug :-\ * parser.c: closed bug #2784 a one line fix, but worth pushing a new release out * HTMLparser.c: fixed auto-close bugs on list items, zeroing some structures, comments before and after the main element, and other nastyness * HTMLtree.c tree.c: accomodate the extended HTML supported * configure.in: pushing 1.7.4 * test/ent8 and related outputs : added a new test for bug #2784 * test/HTML/wired.html and related output: a nasty HTML example * Makefile.am: improved the test scripts * HTMLparser.c, HTMLtree.c, tree.h: completely revamped the HTMLparser and debugged the HTML related code. HTML documents now have their own type * entities.c: do not dump &apos; for HTML output * xmlmemory.c: improvement, breakpoint mechanism * testHTML.c: added --sax --repeat ... * Makefile.am: improved the HTML tests * valid.[ch]: added xmlValidGetValidElements and xmlValidGetPotentialChildren * tester.c: added --insert to test the 2 new functions * test//* result//* SAXresult//* : regression test cleanup and extension. * doc/html : added doc for new modules gnome-xml-xmlmemory.html and gnome-xml-nanohttp.html * HTMLparser.c: fixed problems with some autoclose tags * tree.c: fixed XML output problems. * result/* SAXresult/*: update of the tests output * Makefile.am: Arturo patch for xmlConf.sh version info * parser.c: Tim Josling patch for single quoted items * tester.c: Tim Josling patch for tester options usage * tree.h: indent cleanup * HTMLparser.c parser.h : Fixed problems with HTML parsing reported by Kristian Hogsberg Kristensen <hogsberg@daimi.au.dk> * tree.c : Raph patch for initialization of CORBA fields
Diffstat (limited to 'textproc/libxml')
-rw-r--r--textproc/libxml/Makefile10
-rw-r--r--textproc/libxml/files/md54
-rw-r--r--textproc/libxml/files/patch-sum3
-rw-r--r--textproc/libxml/patches/patch-ab12
-rw-r--r--textproc/libxml/pkg/PLIST13
5 files changed, 18 insertions, 24 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index 517e4161e03..8f328c6df83 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.6 1999/10/11 00:14:43 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2000/01/26 10:59:12 rh Exp $
#
-DISTNAME= libxml-1.7.3
-CATEGORIES= textproc devel gnome
+DISTNAME= libxml-1.8.5
+CATEGORIES= textproc devel lang gnome
MASTER_SITES= ftp://rpmfind.net/pub/veillard/ \
- ${MASTER_SITE_GNOME:=sources/libxml/}
+ ${MASTER_SITE_GNOME:=stable/sources/libxml/}
MAINTAINER= rh@netbsd.org
-HOMEPAGE= http://rufus.w3.org/veillard/XML/xml.html
+HOMEPAGE= http://xmlsoft.org/
.include "../../mk/bsd.prefs.mk"
diff --git a/textproc/libxml/files/md5 b/textproc/libxml/files/md5
index e0a55b48abe..12699efe0a2 100644
--- a/textproc/libxml/files/md5
+++ b/textproc/libxml/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.4 1999/10/10 15:23:37 rh Exp $
+$NetBSD: md5,v 1.5 2000/01/26 10:59:13 rh Exp $
-MD5 (libxml-1.7.3.tar.gz) = e6f7120d9606890ef10bb9f0dff0dd21
+MD5 (libxml-1.8.5.tar.gz) = f2d88a9609c80f9300e8da569b4ef8fc
diff --git a/textproc/libxml/files/patch-sum b/textproc/libxml/files/patch-sum
index 50e606a90bd..5a50981097b 100644
--- a/textproc/libxml/files/patch-sum
+++ b/textproc/libxml/files/patch-sum
@@ -1,5 +1,4 @@
-$NetBSD: patch-sum,v 1.3 1999/10/11 00:14:44 jlam Exp $
+$NetBSD: patch-sum,v 1.4 2000/01/26 10:59:13 rh Exp $
MD5 (patch-aa) = dfcb4d7eb4344724546e14d6a2b17915
-MD5 (patch-ab) = 6c61e8fc3e6dac5f193ea0ae42f929d2
MD5 (patch-ac) = 41af8fe941a7cfe891f9cccd579943ce
diff --git a/textproc/libxml/patches/patch-ab b/textproc/libxml/patches/patch-ab
deleted file mode 100644
index f827af8ded3..00000000000
--- a/textproc/libxml/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.3 1999/10/11 00:19:23 jlam Exp $
-
---- Makefile.in.orig Wed Sep 29 12:37:54 1999
-+++ Makefile.in Sun Oct 10 19:52:23 1999
-@@ -840,6 +840,7 @@
- sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
- -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
- -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
-+ -e 's?\@VERSION\@?$(VERSION)?g' \
- < $(srcdir)/xmlConf.sh.in > xmlConf.tmp \
- && mv xmlConf.tmp xmlConf.sh
-
diff --git a/textproc/libxml/pkg/PLIST b/textproc/libxml/pkg/PLIST
index be8b44fc13a..23a4b639268 100644
--- a/textproc/libxml/pkg/PLIST
+++ b/textproc/libxml/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 1999/10/10 15:23:37 rh Exp $
+@comment $NetBSD: PLIST,v 1.5 2000/01/26 10:59:14 rh Exp $
bin/xml-config
include/gnome-xml/entities.h
include/gnome-xml/encoding.h
@@ -14,7 +14,9 @@ include/gnome-xml/xmlIO.h
include/gnome-xml/xmlmemory.h
include/gnome-xml/nanohttp.h
include/gnome-xml/valid.h
-lib/libxml.so.8.3
+include/gnome-xml/SAX.h
+include/gnome-xml/xlink.h
+lib/libxml.so.9.5
lib/libxml.a
lib/xmlConf.sh
share/gnome-xml/html/gnome-xml/xml.html
@@ -33,7 +35,12 @@ share/gnome-xml/html/gnome-xml/gnome-xml-xml-error.html
share/gnome-xml/html/gnome-xml/gnome-xml-xpath.html
share/gnome-xml/html/gnome-xml/gnome-xml-xmlmemory.html
share/gnome-xml/html/gnome-xml/gnome-xml-nanohttp.html
-share/gnome-xml/html/gnome-xml/libxml.html
+share/gnome-xml/html/gnome-xml/gnome-xml-debugxml.html
+share/gnome-xml/html/gnome-xml/gnome-xml-encoding.html
+share/gnome-xml/html/gnome-xml/gnome-xml-sax.html
+share/gnome-xml/html/gnome-xml/gnome-xml-xmlio.html
+share/gnome-xml/html/gnome-xml/libxml-lib.html
+share/gnome-xml/html/gnome-xml/libxml-notes.html
share/gnome-xml/html/gnome-xml/index.sgml
@dirrm include/gnome-xml
@dirrm share/gnome-xml/html/gnome-xml