* parserold.c (xmlOldParseAttValue): Ensure you've got enough
characters in your readahead buffer before you check NXT(1).
* tree.c (xmlStaticCopyNode) : back port a fix from xml2
to correctly namespace copied nodes.
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV. We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well. Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles. As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
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