Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Rene Hexel <rh@netbsd.org>
List: source-changes
Date: 01/26/2000 02:59:14
Module Name: pkgsrc
Committed By: rh
Date: Wed Jan 26 10:59:14 UTC 2000
Modified Files:
pkgsrc/textproc/libxml: Makefile
pkgsrc/textproc/libxml/files: md5 patch-sum
pkgsrc/textproc/libxml/pkg: PLIST
Removed Files:
pkgsrc/textproc/libxml/patches: patch-ab
Log Message:
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 ' 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
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/textproc/libxml/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/libxml/files/md5
cvs rdiff -r1.3 -r1.4 pkgsrc/textproc/libxml/files/patch-sum
cvs rdiff -r1.3 -r0 pkgsrc/textproc/libxml/patches/patch-ab
cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/libxml/pkg/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.