summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-LibXML
AgeCommit message (Collapse)AuthorFilesLines
2009-10-11Updating textproc/p5-XML-LibXML from 1.69 to 1.70sno2-7/+10
pkgsrc changes: - Adding license definition - Adjusting dependencies - Adding SUPERCEDES/CONFLICTS for merged textproc/p5-XML-LibXML-Common Upstream changes: 1.70 - various fixes and improvements in the documentation - added (convenient yet non-standard) methods nonBlankChildNodes, firstNonBlankChild, nextNonBlankSibling, prevNonBlankSibling that skip empty or whitespace-only Text and CDATA nodes - exposed and documented external entity handler - XPathContext can now be passed to toStringC14N and toStringEC14N (e.g. to provide NS mapping for the XPath expression) - avoid using libxml2's globals (Nick Wellnhofer) - added interface to libxml2's regexp implementation: XML::LibXML::RegExp - added XML::LibXML->load_xml and XML::LibXML->load_html with uniform and cleaner API than the old parse_* family - cleanup code dealing with parsing flags - fix bogus validation results if revalidating a modified document - added 'eq' and 'cmp' overloading on XML::LibXML::Error and set fallback to 1 - lots of bugs fixed 1.69_2 - provide context and more accurate column number in structured errors - clarify license and copyright - support for Win32+mingw+ActiveState 1.69_1 - merge with XML::LibXML::Common - fix compilation on Windows with mingw or msvc - fix a bug in structured errors preventing the previous errors from being reported - fix compilation bugs - fix encoding problem in reader - added getAttributeHash to the reader interface - fix segfaults: reconcileNs in domReplaceChild, findnodes with a doc fragment (S. Rezic)
2008-11-22Updated from version 1.68 to 1.69.he2-6/+6
Upstream changes: 1.69 - fix incorrect output of getAttributeNS and possibly other methods on UTF-8 - added $node_or_xpc->exists($xpath) method - remove accidental debug output from XML::LibXML::SAX::Builder
2008-11-10Update to 1.68:wiz2-7/+6
1.68pre - compilation problem fixes 1.67 - many bugfixes (rt.cpan.org) - added XML::LibXML::Pattern module and extended pattern support in Reader - added XML::LibXML::XPathExpression module that can pre-compile an XPath expression - reimplementation of the thread support (mostly by Tim Brody) - structured errors XML::LibXML::Error - memory leak fixes - documentation fixes - README - notes for building on Win32 (C.J. Madsen)
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-04-16Update to 1.66:wiz2-6/+6
1.66 - Perl-thread support contributed by Tim Brody [rt.cpan.org #31945] - fix [rt.cpan.org #30610] possible segmentation fault when importing nodes from a document to an element created with XML::LibXML::Element->new - fix [rt.cpan.org #30261] Segmentation fault when extracting elements from an XML chunk - make Makefile.PL require Perl 5.6.1 - minor fixes and additions to the documentation - portability patch from [rt.cpan.org #29627] - give registered Ns declarations precedence over document-specific ones in XML::LibXML::XPathContext; fixes [rt.cpan.org #29650]
2007-11-29Update to 1.65:wiz2-6/+6
1.65 - fix bug in t/40reader.t revealed by a bugfix in Test::More 0.71 (Jonathan Rockway) - fix possible SIGSEGV when PI's or attrs created with createDocument can get garbage-collected after their owning document (old-standing bug suddenly caught by XML::Compile regression tests) - skip tests for unsupported features on unsupported versions of Perl/libxml2 - make Reader interface require Perl 5.8 (patches to extend to 5.6 are welcome) 1.64 - fix reconcilation of the "xml" namespace [rt.cpan.org #26450] - make tests pass with libxml2 2.9.29 - PI regression tests now accept "" as data of an empty PI [rt.cpan.org #27659] - strip-off UTF8 flag with $node->toString($format,1) for consistent behavior independent on the actual document encoding - fix in XML::LibXML::Reader::nextSiblingElment - fix synopsis for XML::LibXML::Reader - skip tests that require Encode module if not available (perl 5.6) - finally removed the iterator() method deprecated since 1.54 - set_document_locator support in XML::LibXML::SAX::Parser - SYNOPSIS sections of the docs now mention which module to use and which other manpage to look into for inherited methods - XML::LibXML::Namespace API fixed in order to achieve an agreement between the docs and the implementation
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2007-06-13Updated to version 1.63.heinz5-21/+38
Pkgsrc changes: - Added support for installation to DESTDIR. - Registration of the parser happens through the pkginstall framework (INSTALL/DEINSTALL) now, thus making the MESSAGE file unnecessary. Setting SKIP_SAX_INSTALL in the environment and replacing PERL5_INSTALLVENDORLIB in the install scripts is necessary for this to work. Changes since version 1.62: ============================== 1.63 - added no_network parser flag - added support for exclusive canonicalization (http://www.w3.org/TR/xml-exc-c14n/) - make XInclude reflect parser flags - documentation fixes - better namespace reconciliation implemented by Tim Brody - $doc->toString always returns octets - $doc->actualEncoding returns UTF8 if no document encoding is declared (unlike $doc->getEncoding, which returns undef)
2007-02-27Update to 1.62.001:wiz2-8/+8
1.62 - interface to libxml2's pull-parser XML::LibXML::Reader (initiated by Heiko Klein) - make error messages intended to the user report the line of the application call rather than that of the internal XS call - XML::LibXML::Attr->serializeContent added (convenience function) - fix getAttributeNode etc. w.r.t. #FIXED attributes (as well as some cases with old buggy libxml2 versions) - warn if runtime libxml2 is older than the one used at the compile time - if compiled against libxml2 >= 2.6.27, new parse_html_* implementation is used allowing encoding and other options to be passed to the parser - DOM-compliant nodeNames: #comment, #text, #cdata, #document, #document-fragment - toString on empty text node returns empty string, not undef - cloneNode copies attributes on an element as required by the DOM spec
2006-11-05Update to upstream version 1.61003, package version 1.61.003.seb3-33/+15
Package changes: - adjust dependencies - mark conflicting with p5-XML-LibXML-XPathContext package Please note that this version includes the perl module XML::LibXML::XPathContext. This module is also provided by the textproc/p5-XML-LibXML-XPathContext package which is about to be deleted. Changes since last packaged version (1.58): 1.61 - get{Elements,Children}By{TagName,TagNameNS,LocalName} now obey wildcards '*', getChildrenByLocalName was added. - XML::LibXML::XPathContext merged in - many new tests added - the module should now be fully compatibile with libxml2 >= 2.6.16 (some older versions compile but have problems with namespaced attributes) - threads test skipped by default - documentation updates (namely DOM namespace conformance in XML::LibXML::DOM) - added setNamespaceDecl{URI,Prefix} - get/setAttribute(NS)? implementation made xmlns aware - all sub-modules have the same version as XML::LibXML 1.60 - getElementsById corrected to getElementById and the old name kept as an alias. Also re-implemented without XPath for improved performance - DOM Level 3 method $attr->isId() added - make {get,set,has}Attribute(Node)? methods work with full attribute names rather than just localnames. (Although DOM Level 3 is not very clear about the behavior of these methods for an attributes with namespaces, it certainly does not imply that getAttribute('foo') should return value of a bar:foo, which was the old behavior.) - added publicId and systemId methods to XML::LibXML::Dtd 1.59 - new parser and callback code (Christian Glahn) - new XML::LibXML::InputCallback class - many bug fixes (including several memory leaks) - documentation and regression fixes and enhancements - Perl wrappers for parse_html_* - make sure parse_* methods are not called on class (bug 11126) - DOM Layer 3 conformance fixes: * lookupNamespaceURI(empty_or_undef) now returns the default NS - faster getChildrenByTagNameNS implementation - remove the SGML parser code no longer supported by libxml (Michael Kröll)
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-24Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 becausewiz1-2/+2
of the shlib major bump. PKGREVISION++ for the dependencies.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-1/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-17Correct distinfo entry for patch-aa.snj1-2/+2
Comments at the top of patches are not stripped.
2005-03-16Added a patch needed for gcc-2.95.3. Approved by wiz.rillig2-1/+24
2005-02-24Add RMD160 digests to the SHA1 ones.agc1-1/+2
2005-02-19Update to 1.58:wiz2-6/+5
1.58 - fixed a pointer initialization in parse_xml_chunk(), fixes random several segmentation faults on document fragments. - added NSCLEAN feature to the parser interface (bug 4560) - minor code cleanups - updated libxml2 blacklist. - fixed croak while requesting nodeName() of CDATA sections (bug 1694). - more documentation updates
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-2/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-01Article fix.wiz1-2/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-03-29Update to 1.57; addresses PR 23884. Changes:wiz3-31/+5
- added cloneNode to XML::LibXML::Document - include Schema/RelaxNG code only with libxml2 >= 2.6.0 (to support old libxml2) - applied patch to example/cb_example.pl (bug 4262) - fixed insertBefore/insertAfter on empty elements (bug 3691) - more DOM conformant XML::LibXML->createDocument API (by Robin Berjon) - fixed encoding problems with API calls in document encoding - improved support for importing DTD subsets - fixed DTD validation error reporting problems with libxml2-2.6.x - fixed compilation problems with libxml2-2.6.x - fixed XML::LibXML::Number to support negative numbers - added XML Schema validation interface (XML::LibXML::Schema) - added XML RelaxNG validation interface (XML::LibXML::RelaxNG) - Michael K. Edwards' patch applied with some amendments from Petr Pajas: * add debian build files (I added SKIP_SAX_INSTALL flag for Makefile.PL and changed the patch so that it doesn't disable sax parser registration completely by default, and rather made debian build use this flag) * general cleanup (use SV_nolen, etc.) * SAX parsers cleanup * general error reporting code cleanup/rewrite, try preventing possible memory leaks * recover(1) now triggers warnings (disable with $SIG{__WARN__}=sub {}) * slighlty more strict parse_string behavior (now same as when parsing fh, etc): e.g. parse_string("<foo:bar>"), i.e prefix without NS declaration, raises error unless recover(1) is used * documentation fixes/updates * slightly updated test set to reflect the new slightly more strict parsing. - fixed default c14n XPath to include attributes and namespaces (Petr Pajas) - make libxml2's xmlXPathOrderDocElems available through a new $doc->indexElements method - added version information of libxml2 - Les Richardson's documentation patch applied.
2004-03-26PKGREVISION bump after openssl-security-fix-update to 0.9.6m.wiz1-2/+2
Buildlink files: RECOMMENDED version changed to current version.
2004-02-22bl3ifyminskim1-3/+3
2004-01-23Bump PKGREVISION due to xmlcatmgr update to 2.0beta1. I know; this is a PITA.jmmv1-2/+2
This shouldn't be needed if we had non-recursive dependancies *sigh*.
2004-01-15Make this build with libxml-2.6.xxtraeme2-1/+26
2003-12-04Bump PKGREVISION (libxml2, libxslt and imlib2 were updated).xtraeme1-1/+2
2003-10-05Update to 1.56:wiz3-21/+8
1.56 - added line number interface (thanks to Peter Haworth) - patch to make perl 5.8.1 and XML::LibXML work together (thanks to François Pons) - added getElementById to XML::LibXML::Document (thanks to Robin Berjon) - fixes symbol problem with versions of libxml2 compiled without thread support (reported by Randal L. Schwartz) - tiny code clean ups - corrected tested versions after a local setup problem 1.55 - fixed possible problems with math.h - added C14N interface "toStringC14N()" (thanks to Chip Turner) - fixed default namespace bug with libxml2 2.5.8 (by Vaclav Barta) - fixed a NOOP in the XPath code. - fixed insertBefore() behaviour to be DOM conform - fixed a minor problem in Makefile.PL - improved more documentation - converted documentation to DocBook *NOTE:* Version 1.54 fixes potentional buffer overflows were possible with earlier versions of the package. 1.54 - fixed some major bugs, works now with libxml2 2.5.x - fixed problem with empty document fragments - bad tag and attribute names cannot be created anymore - Catalog interface is aware about libxml2 configuration - XML::LibXML should work now on systems without having zlib installed - cleaned the error handling code, which - fixes bad reporting of the validating parser - fixes bad reporting in xpath functions - added getElementsBy*Name() functions for the Document Class - fixed memory management problem introduced in 1.53 (that fixes a lot strange things) - interface for raw libxml2 DOM building functions (currently just addChild() and addNewChild(), others will follow) - fixed namespace handling if nodes are imported to a new DOM. - fixed segmentation fault during validation under libxml2 2.4.25 - fixed bad CDATA handing in XML::LibXML::SAX::Builder - fixed namespace handing in XML::LibXML::SAX - fixed attribute handing in XML::LibXML::SAX - fixed memory leak in XML::LibXML::SAX - fixed memory leak in XML::LibXML::Document - fixed segfault while appending entity ref nodes to documents - fixed some backward compatibility issues - fixed cloning with namespaces misbehaviour - fixed parser problems with libxml2 2.5.3+ - moved iterator classes into a separate package (after realizing some CPAN testers refuse to read their warnings from Makefile.PL) - improved parser testsuite - improved M - more documentation 1.53 Parser - catalog interface - enabled SGML parsing - implemented libxml2 dom recovering - parsing into GDOME nodes is now possible - XML::LibXML::SAX is now faster - made XML::LibXML::SAX parser running without errors in most (all?) cases (DTD handling is still not implemented). DOM interface - Node Iterator class - NodeList Iterator class - introduced XML::GDOME import and export. (EXPERIMENTAL) - more security checks general blur - removed code shared with XML::GDOME to a separate XML::LibXML::Common module (check CPAN) - removed some redundand code - more documentation (and docu fixes) (thanks to Petr Pajas) major fixes: - possible buffer overflow with broken XML: This may effect all older versions of XML::LibXML, please upgrade! - a bug while replacing the document element. - very stupid encoding bug. all UTF8 strings will now be marked as UTF8 correctly - namespace functions to work with empty namespaces - toFH() - namespace setting in XPath functions: the namespaces of the document element will always be added now - threaded perl 5.8.0 issues - calling external entity handlers work again - XML::LibXML::SAX::Parser will not throw warnings on DTD nodes 1.52 - fixed some typos (thanks to Randy Kobes and Hildo Biersma) - fixed namespace node handling - fixed empty Text Node bug - corrected the parser default values. - added some documentation 1.51 - fixed parser bug with broken XML declarations - fixed memory management within documents that have subsets - fixed some threaded perl issues (special thanks to Andreas Koenig for the patch) - applied Win32 tests (special thanks to Randy Kobes for the patch) - fixed findnodes() and find() to return empty arrays in array context if the statement was legal but produced no result. - fixed namespace handling in xpath functions - fixed local namespace handling in DOM functions - pretty formating to all serializing functions *NOTE* the XML::LibXML::Node::toString interface changed check the XML::LibXML::Node man page - made xpath functions verbose to perl (one can wrap evals now) - improved native SAX interface - improved XML::LibXML::SAX::Builder - added getNamespaces to the node interface - better libxml2 version testing - more documentation 1.50 - fixed major problems with the validating parser - fixed default behaviour of the generic parser - fixed attribute setting of the string parser - fixed external entity loading for entity expansion - fixed nodeValue() to handle entities and entity refs correctly - SAX::Parser ignores now hidden XINCLUDE nodes. - fixed SAX::Builder to recognize namespace declarations correctly - compatibility fixes - importNode() bug fix - fixed library tests and output in Makefile.PL - added setOwnerDocument() again - XML::LibXML::Document::process_xincludes reintroduced - global callbacks reintroduced NOTE: the Interface changed here, read XML::LibXML manpage! - code cleanings - push parser interface - basic native libxml2 SAX interface THIS INTERFACE IS STILL EXPERIMENTAL - cloneNode clones now within documents - more documentation 1.49 - memory management has been completely rewritten. now the module should not cause that many memory leaks (special thanks to Merijn Broeren and Petr Pajas for providing testcases) - more libxml2 functions are used - DOM API is more Level 3 conform - ownerDocument fixed - parser validation bug fixed (reported by Erik Ray) - made parse_xml_chunk() report errors - fixed the PI interface - xpath.pl example - better namespace support - improved NamedNodeMap support - restructured the interfaces - HTML document nodes are recognized as HTML doc nodes instead of plain nodes - XML::LibXML::SAX::Parser able to handle HTML docs now (patch by D. Hageman [dhageman@dracken.com]) - added serialization flags ($setTagCompression, $skipDtd and $skipXMLDeclaration) - more documentation 1.40 - new parsefunction: $parser->parse_xml_chunk($string); - appendChild( $doc_fragment ) bug fixed - removed obsolete files (parser.?) - fixed getElementsByTagName and getElementsByTagNameNS to fit the spec - new functions in XML::LibXML::Element: getChildrenByTagName getChildrenByTagNameNS getElementsByLocalName - minor fixes and extensions of the tests - more docu ;) - SAX added comment and PI support - SAX added start_prefix_mapping/end_prefix_mapping - Fixed find() bug with no results - Added use IO::Handle so FH reads work - A number of segfault fixes - constants added without XML_ prefix
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-2/+2
dependency bumps.
2002-10-05Use perl5/module.mk, convert to buildlink2.mk.wiz1-7/+4
2002-09-10Since the major of libiconv was increased during the update to 1.8,wiz1-2/+4
bump dependency to latest libiconv version; recursively also bump all dependencies of packages depending on libiconv. Requested by fredb.
2002-01-30Initial import of p5-XML-LibXML-1.31mjl6-0/+56
This module is an interface to the gnome libxml2 DOM parser (no SAX parser support yet), and the DOM tree. It also provides an XML::XPath-like findnodes() interface, providing access to the XPath API in libxml2. Provided by Shell Hung in PR/15088.