Commit graph

66 commits

Author SHA1 Message Date
taca
7a61c846d4 Add fix for http://secunia.com/advisories/49177/ from repository.
Bump PKGREVISION.
2012-05-21 12:22:53 +00:00
mishka
c000fa550c FreeBSD 6 and earlier misses the pthread_equal() stub as well.
While here, improve comments a little bit.
2012-04-27 15:05:02 +00:00
obache
14d3d60f3c Change behavior of libpthread handling
* Disable linkage with pthread for FreeBSD/DragonFly/NetBSD, they have
  pthread_* () stubs in libc (it result in same as the previous behavior).
  * but NetBSD<4.99.36 does not have pthread_equal() stub in libc,
    so define weak reference to it.
* Treat OpenBSD and MirBSD same as Linux to avoid linkage with libpthread.
* Others will be linked with pthread, fixes PR 46254.

tested NetBSD-5.1.2, and confirmed fixed on NetBSD-4.0.1 and OpenBSD-5.0.

Bump PKGREVISION.
2012-04-03 09:08:33 +00:00
drochner
fe72b78987 Add patch from upstream to add hash randomization.
Without that, (untrusted) input can fill hash buckets uneven, causing
high CPU load. (CVE-2012-0841)
To get a patch which is simple enough to get pulled up to the stable
pkgsrc branch, I've not touched "configure" but just assumed that
the POSIX functions rand(), srand() and time() are present.
bump PKGREV
2012-03-09 12:12:27 +00:00
drochner
4ff4945d41 build the library thread-aware, i.e. use <pthread.h> but do not
link against libpthread. (It doesn't create threads, just uses
locking.) This seems to be wanted by some applications, eg vlc
issues a warning on startup (with no visible consequences afaict,
but anyway).
I hope this works for other OSes too. If not, we should probably
add support for these cases to mk/pthread.bl3.mk.
bump PKGREV
2012-02-22 11:10:17 +00:00
joerg
fe8616763d Don't use non-ASCII character literals. 2012-01-23 08:10:56 +00:00
drochner
341021726e add patch from upstream to fix potential DOS problem (CVE-2011-3905)
bump PKGREV
2012-01-17 14:43:43 +00:00
drochner
b76d34622c add 2 patches from upstream:
-fix buffer overflow on entity references with long name (CVE-2011-3919)
-fix error handling on realloc() failure
bump PKGREV
2012-01-12 11:25:10 +00:00
spz
5567f437f8 sundry security patches taken from libxml2 git
among these patches for http://secunia.com/advisories/46632/
2011-11-01 19:21:06 +00:00
drochner
9f72fbf90d addmore patches from upstream:
-fix more potential problems on reallocation failures (CVE-2011-1944)
-Fix memory corruption
also replace an error handling which doesn't recover from
integer overflow
bump PKGREV
2011-06-06 12:09:01 +00:00
drochner
f344d28b5e add 3 patches from gnome git:
-fix realloc error handling bug
-fix potential double free (CVE-2010-4494 / SA42721)
bump PKGREVISION
2011-01-03 12:17:43 +00:00
drochner
f5c0b5fc5a fix an obviously reversed conditional in "configure" which disabled
symbol versioning, hopefully fixes PR pkg/44154 by Geert Hendrickx
bump PKGREVISION
2010-11-26 13:43:24 +00:00
hauke
4b4d087540 The Darwin 8 /bin/{,k}sh take offense at empty if .. fi blocks,
so comment out the entire statement.
2010-11-26 12:56:21 +00:00
drochner
559605f22e update to 2.7.8
changes:
-add code to plug in ICU converters by default
-Add xmlSaveOption XML_SAVE_WSNONSIG
-documentation fixes
-portability fixes
-bugfixes, in particular for an XPath problem which can be exploited
 to crash the program by a malformed XPath expression (CVE-2010-4008)
-misc improvements, cleanup
2010-11-25 13:18:38 +00:00
obache
c61dccb749 Add patch-aj to include resolv.h conditionally.
https://bugzilla.gnome.org/show_bug.cgi?id=617053
Fixes build on Interix-6.0.
2010-04-28 08:54:30 +00:00
drochner
690cdc27c4 update to 2.7.7
changes:
-Adding a --xpath option to xmllint
-Make HTML parser non-recursive
-misc portability improvements and bugfixes
2010-04-13 16:04:09 +00:00
sno
43462691d0 Patches out invalid linker flags for solaris. Tested with OpenSolaris/amd64
and Solaris 10/sparc - both with Sun Studio C/C++ 12u1.
Fixes PR pkg/42335 (thanks to Todd Kover for the hint).
2009-11-22 14:05:26 +00:00
drochner
2aca9ca082 remove most of the hacks which were only to make the selftest
succeed, now that EBCDIC support in NetBSD-current was improved
(see PR lib/42209)
2009-11-15 12:48:24 +00:00
sno
e4d37509d5 Add patch to fix compiler error 'operands have incompatible types' 2009-10-25 17:19:44 +00:00
drochner
d0de5cfa02 update to 2.7.6
changes:
-bugfixes
-portability and documentation improvements
-cleanup

pkgsrc note: added some tweaks to EBCDIC support, both to fix non-
portable assumptions in the code and to work around NetBSD deficiencies;
now it needs only a little fix to CP273 (newline conversion) to make
the selftest succeed on NetBSD
2009-10-21 14:55:32 +00:00
tron
14a249445e Add patch to fix the security vulnerabilites reported in CVE-2009-2414
and CVE-2009-2416.

The patch was taken from the latest Fedora 11 "libxml2" source RPM.
2009-08-26 10:20:57 +00:00
wiz
2f27b04373 Update to 2.7.3:
2.7.3: Jan 18 2009

    * Build fix: fix build when HTML support is not included.
    * Bug fixes: avoid memory overflow in gigantic text nodes,
    indentation problem on the writed (Rob Richards), xmlAddChildList
    pointer problem (Rob Richards and Kevin Milburn), xmlAddChild
    problem with attribute (Rob Richards and Kris Breuker), avoid
    a memory leak in an edge case (Daniel Zimmermann), deallocate
    some pthread data (Alex Ott).
    * Improvements: configure option to avoid rebuilding docs
    (Adrian Bunk), limit text nodes to 10MB max by default, add
    element traversal APIs, add a parser option to enable pre 2.7
    SAX behavior (Rob Richards), add gcc malloc checking (Marcus
    Meissner), add gcc printf like functions parameters checking
    (Marcus Meissner).
2009-02-21 13:58:49 +00:00
tron
0dfc182105 Add fixes for security vulnerabilities reported in CVE-2008-4225 and
CVE-2008-4226 from "libxml2" SVN repository. Bump package revision.
2008-11-24 13:59:16 +00:00
drochner
12dc768315 update to 2.7.2
changes:
-Portability fix: fix solaris compilation problem, fix compilation
 if XPath is not configured in
-Bug fixes: nasty entity bug introduced in 2.7.0, restore old behaviour
 when saving an HTML doc with an xml dump function,
 HTML UTF-8 parsing bug, fix reader custom error handlers
-Improvement: xmlSave options for more flexibility to save
 as XML/HTML/XHTML, handle leading BOM in HTML documents
cvs: ----------------------------------------------------------------------
2008-10-16 13:31:57 +00:00
sketch
3acad577ff Need inttypes.h on Solaris 9. 2008-10-13 10:31:24 +00:00
tron
206e58dade Add a fix for CVE-2008-4409 (also known as CVE-2008-4422) from the
GNOME bugzilla. Bump package revision.
2008-10-09 15:01:27 +00:00
wiz
f0da829a4f Update to 2.7.1:
2.7.1: Sep 1 2008

    * Portability fix: Borland C fix (Moritz Both)
    * Bug fixes: python serialization wrappers, XPath QName corner
      case handking and leaks (Martin)
    * Improvement: extend the xmlSave to handle HTML documents and trees
    * Cleanup: python serialization wrappers

2.7.0: Aug 30 2008

    * Documentation: switch ChangeLog to UTF-8, improve mutithreads
    and xmlParserCleanup docs
    * Portability fixes: Older Win32 platforms (Rob Richards), MSVC
    porting fix (Rob Richards), Mac OS X regression tests (Sven
    Herzberg), non GNUCC builds (Rob Richards), compilation on
    Haiku (Andreas F�rber)
    * Bug fixes: various realloc problems (Ashwin), potential
    double-free (Ashwin), regexp crash, icrash with invalid whitespace
    facets (Rob Richards), pattern fix when streaming (William
    Brack), various XML parsing and validation fixes based on the
    W3C regression tests, reader tree skipping function fix (Ashwin),
    Schemas regexps escaping fix (Volker Grabsch), handling of
    entity push errors (Ashwin), fix a slowdown when encoder cant
    serialize characters on output
    * Code cleanup: compilation fix without the reader, without
    the output (Robert Schwebel), python whitespace (Martin), many
    space/tabs cleanups, serious cleanup of the entity handling
    code
    * Improvement: switch parser to XML-1.0 5th edition, add parsing
    flags for old versions, switch URI parsing to RFC 3986, add
    xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer), new hashing
    functions for dictionnaries (based on Stefan Behnel work),
    improve handling of misplaced html/head/body in HTML parser,
    better regression test tools and code coverage display, better
    algorithms to detect various versions of the billion laughts
    attacks, make arbitrary parser limits avoidable as a parser
    option
2008-09-06 14:58:34 +00:00
wiz
8ee10dafd7 Update to 2.6.32:
2.6.32: Apr 8 2008

* Documentation: returning heap memory to kernel (Wolfram Sang),
  trying to clarify xmlCleanupParser() use, xmlXPathContext
  improvement (Jack Jansen), improve the *Recover* functions
  documentation, XmlNodeType doc link fix (Martijn Arts)
* Bug fixes: internal subset memory leak (Ashwin), avoid problem
  with paths starting with // (Petr Sumbera), streaming XSD validation
  callback patches (Ashwin), fix redirection on port other than 80
  (William Brack), SAX2 leak (Ashwin), XInclude fragment of own
  document (Chris Ryan), regexp bug with '.' (Andrew Tosh), flush
  the writer at the end of the document (Alfred Mickautsch), output
  I/O bug fix (William Brack), writer CDATA output after a text
  node (Alex Khesin), UTF-16 encoding detection (William Brack),
  fix handling of empty CDATA nodes for Safari team, python binding
  problem with namespace nodes, improve HTML parsing (Arnold
  Hendriks), regexp automata build bug, memory leak fix (Vasily
  Chekalkin), XSD test crash, weird system parameter entity parsing
  problem, allow save to file:///X:/ windows paths, various attribute
  normalisation problems, externalSubsetSplit fix (Ashwin), attribute
  redefinition in the DTD (Ashwin), fix in char ref parsing check
  (Alex Khesin), many out of memory handling fixes (Ashwin), XPath
  out of memory handling fixes (Alvaro Herrera), various realloc
  problems (Ashwin), UCS4 encoding conversion buffer size (Christian
  Fruth), problems with EatName functions on memory errors, BOM
  handling in external parsed entities (Mark Rowe)
* Code cleanup: fix build under VS 2008 (David Wimsey), remove
  useless mutex in xmlDict (Florent Guilian), Mingw32 compilation
  fix (Carlo Bramini), Win and MacOS EOL cleanups (Florent Guiliani),
  iconv need a const detection (Roumen Petrov), simplify xmlSetProp
  (Julien Charbon), cross compilation fixes for Mingw (Roumen
  Petrov), SCO Openserver build fix (Florent Guiliani), iconv uses
  const on Win32 (Rob Richards), duplicate code removal (Ashwin),
  missing malloc test and error reports (Ashwin), VMS makefile fix
  (Tycho Hilhorst)
* improvements: better plug of schematron in the normal error
  handling (Tobias Minich)
2008-04-22 21:42:07 +00:00
wiz
320846947b Update to 2.6.29:
2.6.29: Jun 12 2007:
   - Portability: patches from Andreas Stricke for WinCEi,
      fix compilation warnings (William Brack), avoid warnings on Apple OS/X
      (Wendy Doyle and Mark Rowe), Windows compilation and threading
      improvements (Rob Richards), compilation against old Python versions,
      new GNU tar changes (Ryan Hill)
   - Documentation: xmlURIUnescapeString comment,
   - Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind'
      flag fix (Richard Jones), regexp interpretation of \,
      htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in
      typo (Bjorn Reese), entity content failure, xmlListAppend() fix
      (Georges-André Silber), XPath number serialization (William Brack),
      nanohttp gzipped stream fix (William Brack and Alex Cornejo),
      xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon),
      XPath string value of PI nodes (William Brack), XPath node set
      sorting bugs (William Brack), avoid outputting namespace decl
      dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding
      error handling, recustion on next in catalogs, fix a Relax-NG crash,
      workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes,
      invalid character in attribute detection bug, big comments before
      internal subset streaming bug, HTML parsing of attributes with : in
      the name
   - Improvement: keep URI query parts in raw form (Richard Jones),
      embed tag support in HTML (Michael Day)
2007-07-07 15:28:30 +00:00
drochner
af70da2cf1 update to 2.6.27
changes:
-XPath improvements
-optimization / caching
-build and portability fixes
-bugfixes
-documentation improvements

pkgsrc change: seperate user doc and devhelp files - migrate the latter
to share/gtk-doc/html
2006-10-30 20:57:30 +00:00
drochner
0bdcc45d10 update to 2.6.26
changes: fixes for bugs and memory leaks, minor optimizations
2006-06-09 21:16:38 +00:00
gavan
d7bc6e7442 Don't declare a variable in the middle of code. Fixes compilation on
NetBSD 1.6.X.
2006-05-19 09:46:50 +00:00
minskim
4852476fca Always install documentation files. Previously they were installed on
Linux but not on NetBSD because the install command works differently
when a wild card matching fails.

Bump PKGREVISION.
2006-05-15 08:27:31 +00:00
drochner
0159d01c6e add a cast to fix build on Solaris 10/Sun Studio CC,
patch provided by Jake Kupersmith per PR pkg/33425
2006-05-05 10:02:18 +00:00
recht
01e3af51fe update to libxml2 2.6.23
changes:
Portability fixes:
 - Windows (Rob Richards)
 - getaddrinfo on Windows (Kolja Nowak
 - Rob Richards)
 - icc warnings (Kjartan Maraas)
 - --with-minimum compilation fixes (William Brack)
 - error case handling fix on Solaris (Albert Chin)
 - don't use 'list' as parameter name reported by Samuel Diaz Garcia
 - more old Unices portability fixes (Albert Chin)
 - MinGW compilation (Mark Junker)
 - HP-UX compiler warnings (Rick Jones)

Code cleanup:
 - xmlReportError (Adrian Mouat)
 - remove xmlBufferClose (Geert Jansen)
 - unreachable code (Oleksandr Kononenko)
 - refactoring parsing code (Bjorn Reese)

Bug fixes:
 - xmlBuildRelativeURI and empty path (William Brack)
 - combinatory explosion and performances in regexp code
 - leak in xmlTextReaderReadString()
 - xmlStringLenDecodeEntities problem (Massimo Morara)
 - Identity Constraints bugs and a segfault (Kasimier Buchcik)
 - XPath pattern based evaluation bugs (DV & Kasimier)
 - xmlSchemaContentModelDump() memory leak (Kasimier)
 - potential leak in xmlSchemaCheckCSelectorXPath()
 - xmlTextWriterVSprintf() misuse of vsnprintf (William Brack)
 - XHTML serialization fix (Rob Richards)
 - CRLF split problem (William)
 - issues with non-namespaced attributes in xmlAddChild(), xmlAddNextSibling()
   and xmlAddPrevSibling() (Rob Richards)
 - HTML parsing of script
 - Python must not output to stdout (Nic Ferrier)
 - exclusive C14N namespace visibility (Aleksey Sanin)
 - XSD dataype totalDigits bug (Kasimier Buchcik)
 - error handling when writing to an xmlBuffer (Rob Richards)
 - runtest schemas error not reported (Hisashi Fujinaka)
 - signed/unsigned problem in date/time code (Albert Chin)
 - fix XSI driven XSD validation (Kasimier)
 - parsing of xs:decimal (Kasimier)
 - fix DTD writer output (Rob Richards)
 - leak in xmlTextReaderReadInnerXml (Gary Coady)
 - regexp bug affecting schemas (Kasimier)
 - configuration of runtime debugging (Kasimier)
 - xmlNodeBufGetContent bug on entity refs (Oleksandr Kononenko)
 - xmlRegExecPushString2 bug (Sreeni Nair)
 - compilation and build fixes (Michael Day)
 - removed dependancies on xmlSchemaValidError (Kasimier)
 - bug with <xml:foo/>
 - more XPath pattern based evaluation fixes (Kasimier)

Improvements:
 - XSD Schemas redefinitions/restrictions (Kasimier Buchcik)
 - node copy checks and fix for attribute (Rob Richards)
 - counted transition bug in regexps
 - ctxt->standalone = -2 to indicate no standalone attribute was found
 - add xmlSchemaSetParserStructuredErrors() (Kasimier Buchcik)
 - add xmlTextReaderSchemaValidateCtxt() to API (Kasimier)
 - handle gzipped HTTP resources (Gary Coady)
 - add htmlDocDumpMemoryFormat. (Rob Richards)

Documentation:
 - typo (Michael Day)
 - libxml man page (Albert Chin)
 - save function to XML buffer (Geert Jansen)
 - small doc fix (Aron Stansvik)
2006-01-14 07:50:52 +00:00
wiz
b151ea3c4b Update to 2.6.22:
2.6.22: Sep 12 2005:
   - build fixes: compile without schematron (Stéphane Bidoul)
   - bug fixes: xmlDebugDumpNode on namespace node (Oleg Paraschenko)i,
      CDATA push parser bug, xmlElemDump problem with XHTML1 doc,
      XML_FEATURE_xxx clash with expat headers renamed XML_WITH_xxx,
      fix some output formatting for meta element (Rob Richards),
      script and style XHTML1 serialization (David Madore), Attribute
      derivation fixups in XSD (Kasimier Buchcik), better IDC error
      reports (Kasimier Buchcik)

   - improvements: add XML_SAVE_NO_EMPTY xmlSaveOption (Rob Richards),
      add XML_SAVE_NO_XHTML xmlSaveOption, XML Schemas improvements
      preparing for derive (Kasimier Buchcik).
   - documentation: generation of gtk-doc like docs, integration with
      devhelp.

pkgsrc change: install docs into share/doc instead of share/doc/html.

Ok'd by maintainer, recht.
2005-09-30 19:58:00 +00:00
recht
f23258d665 update tp 2.6.21
2.6.21: Sep 4 2005:
   - build fixes: Cygwin portability fixes (Gerrit P. Haase), calling
      convention problems on Windows (Marcus Boerger), cleanups based on
      Linus' sparse tool, update of win32/configure.js (Rob Richards),
      remove warnings on Windows(Marcus Boerger), compilation without SAX1,
      detection of the Python binary, use $GCC inestad of $CC = 'gcc' (Andrew
      W. Nosenko), compilation/link with threads and old gcc, compile
      problem by C370 on Z/OS,
   - bug fixes: http_proxy environments (Peter Breitenlohner), HTML UTF-8
      bug (Jiri Netolicky), XPath NaN compare bug (William Brack),
      htmlParseScript potential bug, Schemas regexp handling of spaces,
      Base64 Schemas comparisons NIST passes, automata build error xsd:all,
      xmlGetNodePath for namespaced attributes (Alexander Pohoyda),
      xmlSchemas foreign namespaces handling, XML Schemas facet comparison
      (Kupriyanov Anatolij), xmlSchemaPSimpleTypeErr error report (Kasimier
      Buchcik), xml: namespace ahndling in Schemas (Kasimier), empty model
      group in Schemas (Kasimier), wilcard in Schemas (Kasimier), URI
      composition (William), xs:anyType in Schemas (Kasimier), Python resolver
      emmitting error messages directly, Python xmlAttr.parent (Jakub Piotr
      Clapa), trying to fix the file path/URI conversion,
      xmlTextReaderGetAttribute fix (Rob Richards), xmlSchemaFreeAnnot memleak
      (Kasimier), HTML UTF-8 serialization, streaming XPath, Schemas determinism
      detection problem, XInclude bug, Schemas context type (Dean Hill),
      validation fix (Derek Poon), xmlTextReaderGetAttribute[Ns] namespaces
      (Rob Richards), Schemas type fix (Kuba Nowakowski), UTF-8 parser bug,
      error in encoding handling, xmlGetLineNo fixes, bug on entities handling,
      entity name extraction in error handling with XInclude, text nodes
      in HTML body tags (Gary Coady), xml:id and IDness at the treee level
      fixes, XPath streaming patterns bugs.
   - improvements: structured interfaces for schemas and RNG error reports
      (Marcus Boerger), optimization of the char data inner loop parsing
      (thanks to Behdad Esfahbod for the idea), schematron validation
      though not finished yet, xmlSaveOption to omit XML declaration,
      keyref match error reports (Kasimier), formal expression handling
      code not plugged yet, more lax mode for the HTML parser,
      parser XML_PARSE_COMPACT option for text nodes allocation.
   - documentation: xmllint man page had --nonet duplicated
2005-09-05 07:37:50 +00:00
recht
813fba2584 update to libxml2 2.6.20
2.6.20: Jul 10 2005:
   -  build fixes: Windows build (Rob Richards), Mingw compilation (Igor
       Zlatkovic), Windows Makefile (Igor), gcc warnings (Kasimier and
       andriy@google.com), use gcc weak references to pthread to avoid the
       pthread dependancy on Linux, compilation problem (Steve Nairn),
       compiling of subset (Morten Welinder), IPv6/ss_family compilation
       (William Brack), compilation when disabling parts of the library,
       standalone test distribution.

   -  bug fixes: bug in lang(), memory cleanup on errors (William Brack),
       HTTP query strings (Aron Stansvik), memory leak in DTD (William),
       integer overflow in XPath (William), nanoftp buffer size, pattern
       "." apth fixup (Kasimier), leak in tree reported by Malcolm Rowe,
       replaceNode patch (Brent Hendricks), CDATA with NULL content
       (Mark Vakoc), xml:base fixup on XInclude (William), pattern
       fixes (William), attribute bug in exclusive c14n (Aleksey Sanin),
       xml:space and xml:lang with SAX2 (Rob Richards), namespace
       trouble in complex parsing (Malcolm Rowe), XSD type QNames fixes
       (Kasimier), XPath streaming fixups (William), RelaxNG bug (Rob Richards),
       Schemas for Schemas fixes (Kasimier), removal of ID (Rob Richards),
       a small RelaxNG leak, HTML parsing in push mode bug (James Bursa),
       failure to detect UTF-8 parsing bugs in CDATA sections, areBlanks()
       heuristic failure, duplicate attributes in DTD bug (William).

   -  improvements: lot of work on Schemas by Kasimier Buchcik both on
       conformance and streaming, Schemas validation messages (Kasimier
       Buchcik, Matthew Burgess), namespace removal at the python level
       (Brent Hendricks), Update to new Schemas regression tests from
       W3C/Nist (Kasimier), xmlSchemaValidateFile() (Kasimier), implementation
       of xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml (James Wert),
       standalone test framework and programs, new DOM import APIs
       xmlDOMWrapReconcileNamespaces() xmlDOMWrapAdoptNode() and
       xmlDOMWrapRemoveNode(), extension of xmllint capabilities for
       SAX and Schemas regression tests, xmlStopParser() available in
       pull mode too, ienhancement to xmllint --shell namespaces support,
       Windows port of the standalone testing tools (Kasimier and William),
       xmlSchemaValidateStream() xmlSchemaSAXPlug() and xmlSchemaSAXUnplug()
       SAX Schemas APIs, Schemas xmlReader support.
2005-07-12 21:15:21 +00:00
recht
f15265f298 Work around by the recent buildfailure by rather patching/sed'ing the
catalog path in the relevant files (catalog.c, xmlcatalog.c) directly
rather than defining it in the CFLAGS.
Do not bump pkgrevision since nothing changed in the resulting binaries.
2005-02-12 16:27:47 +00:00
recht
61c1893944 update to 2.6.17
This release includes a lot of fixes and improvement to existing
features plus a few new APIs:

* build fixes:
 - Windows
 - warnings removal (William Brack)
 - maintainer-clean dependency(William)
 - build in a different directory (William)
 - fixing --with-minimum configure build (William)
 - BeOS build (Marcin Konicki)
 - compilation on AIX (Dan McNichol)
* bug fixes:
 - xmlTextReaderHasAttributes (Rob Richards)
 - xmlCtxtReadFile() to use the catalog(s)
 - loop on output (William Brack)
 - XPath memory leak
 - ID deallocation problem (Steve Shepard)
 - debugDumpNode crash (William)
 - warning not using error callback (William)
 - xmlStopParser bug (William)
 - UTF-16 with BOM on DTDs (William)
 - namespace bug on empty elements in push mode (Rob Richards)
 - line and col computations fixups (Aleksey Sanin)
 - xmlURIEscape fix (William)
 - xmlXPathErr on bad range (William)
 - patterns with too many steps
 - bug in RNG choice optimization
 - line number sometimes missing.
* improvements:
 - XSD Schemas (Kasimier Buchcik)
 - xmlUTF8Strpos speedup (William)
 - XSD error reports (Kasimier Buchcik)
* new APIs:
 - added xmlDictExists()
 - GetLineNumber and GetColumnNumber for the xmlReader (Aleksey Sanin)
 - Dynamic Shared Libraries APIs (mostly Joel Reed)
 - error extraction API from regexps
 - new XMLSave option for format (Phil Shafer)
* documentation:
 - site improvement (John Fleck), FAQ entries (William).
2005-01-16 22:28:34 +00:00
recht
57854c940f update to 2.6.16
2.6.16: Nov 10 2004:
   - general hardening and bug fixing crossing all the API based on new
    automated regression testing
   - build fix: IPv6 build and test on AIX (Dodji Seketeli)
   - bug fixes: problem with XML::Libxml reported by Petr Pajas,  encoding
    conversion functions return values, UTF-8 bug affecting XPath reported by
    Markus Bertheau, catalog problem with NULL entries (William Brack)
   - documentation: fix to xmllint man page, some API function descritpion
    were updated.
   - improvements: DTD validation APIs provided at the Python level (Brent
    Hendricks)
2004-11-11 21:01:15 +00:00
recht
69650be0be update to libxml2-2.6.15
changes:

* security fixes on the nanoftp and nanohttp modules
For details see:
http://www.securityfocus.com/archive/1/379383/2004-10-24/2004-10-30/0

* build fixes:
  - xmllint detection bug in configure
  - building outside the source tree (Thomas Fitzsimmons)
* bug fixes:
  - HTML parser on broken ASCII chars in names (William)
  - Python paths (Malcolm Tredinnick)
  - xmlHasNsProp and default namespace (William)
  - saving to python file objects (Malcolm Tredinnick)
  - DTD lookup fix (Malcolm)
  - save back <group> in catalogs (William)
  - tree build fixes (DV and Rob Richards)
  - Schemas memory bug
  - structured error handler on Python 64bits
  - thread local memory deallocation
  - memory leak reported by Volker Roth
  - xmlValidateDtd in the presence of an internal subset
  - entities and _private problem (William)
  - xmlBuildRelativeURI error (William).
* improvements:
  - better XInclude error reports (William)
  - tree debugging module and tests
  - convenience functions at the Reader API (Graham Bennett)
  - add support for PI in the HTML parser.

Update BUILDLINK_RECOMMENDED to 2.6.15 for the security fix.
2004-10-31 10:40:50 +00:00
wiz
92f22e4fc3 Add -Wl,-R${libdir} to xml2-config output, similar to how it is done
in libxml. Bump PKGREVISION.
2004-08-04 11:19:59 +00:00
wiz
f2686aa730 regen (fix line offsets) 2004-08-04 11:19:31 +00:00
jmmv
7b07ac1e7b Update to 2.6.8:
2.6.8: Mar 23 2004:
   - First step of the cleanup of the serialization code and APIs
   - XML Schemas: mixed content (Adam Dickmeiss), QName handling fixes (Adam
    Dickmeiss), anyURI for "" (John Belmonte)
   - Python: Canonicalization C14N support added (Anthony Carrico)
   - xmlDocCopyNode() extension (William)
   - Relax-NG: fix when processing XInclude results (William), external
    reference in interleave (William), missing error on <choice>
    failure (William), memory leak in schemas datatype facets.
   - xmlWriter: patch for better DTD support (Alfred Mickautsch)
   - bug fixes: xmlXPathLangFunction memory leak (Mike Hommey and William
    Brack), no ID errors if using HTML_PARSE_NOERROR, xmlcatalog fallbacks to
    URI on SYSTEM lookup failure, XInclude parse flags inheritance (William),
    XInclude and XPointer fixes for entities (William), XML parser bug
    reported by Holger Rauch, nanohttp fd leak (William),  regexps char
    groups '-' handling (William), dictionnary reference counting problems,
    do not close stderr.
   - performance patches from Petr Pajas
   - Documentation fixes: XML_CATALOG_FILES in man pages (Mike Hommey)
   - compilation and portability fixes: --without-valid, catalog cleanups
    (Peter Breitenlohner), MingW patch (Roland Schwingel), cross-compilation
    to Windows (Christophe de Vienne),  --with-html-dir fixup (Julio Merino
    Vidal), Windows build (Eric Zurcher)
2004-03-28 21:31:46 +00:00
jmmv
7435f4ff33 Update to 2.6.4, from Min Sik Kim in PR pkg/23895 with some changes by me:
2.6.4: Dec 24 2003:
   - Windows build fixes (Igor Zlatkovic)
   - Some serious XInclude problems reported by Oleg Paraschenko and
   - Unix and Makefile packaging fixes (me, William Brack,
   - Documentation improvements (John Fleck, William Brack), example fix
    (Lucas Brasilino)
   - bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of
    NULL strings (William Brack) , API building reader or parser from
    filedescriptor should not close it, changed XPath sorting to be stable
    again (William Brack), xmlGetNodePath() generating '(null)' (William
    Brack), DTD validation and namespace bug (William Brack), XML Schemas
    double inclusion behaviour

2.6.3: Dec 10 2003:
   - documentation updates and cleanup (DV, William Brack, John Fleck)
   - added a repository of examples, examples from Aleksey Sanin, Dodji
    Seketeli, Alfred Mickautsch
   - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
    (Kenneth Haley)
   - Unicode range checking (William Brack)
   - code cleanup (William Brack)
   - Python bindings: doc (John Fleck),  bug fixes
   - UTF-16 cleanup and BOM issues (William Brack)
   - bug fixes: ID and xmlReader validation, XPath (William Brack),
    xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
    (James Bursa), attribute defaulting and validation, some serialization
    cleanups, XML_GET_LINE macro, memory debug when using threads (William
    Brack), serialization of attributes and entities content, xmlWriter
    (Daniel Schulman)
   - XInclude bugfix, new APIs and update to the last version including the
    namespace change.
   - XML Schemas improvements: include (Robert Stepanek), import and
    namespace handling, fixed the regression tests troubles, added examples
    based on Eric van der Vlist book, regexp fixes
   - preliminary pattern support for streaming (needed for schemas
    constraints), added xmlTextReaderPreservePattern() to collect subdocument
    when streaming.
   - various fixes in the structured error handling
2003-12-26 21:49:08 +00:00
xtraeme
d77cd0aa12 Updated to 2.6.2 provided by Min Sik Kim PR pkg/23488.
Changes:

2.6.2: Nov 4 2003:
   - XPath context unregistration fixes
   - text node coalescing fixes (Mark Lilback)
   - API to screate a W3C Schemas from an existing document (Steve Ball)
   - BeOS patches (Marcin 'Shard' Konicki)
   - xmlStrVPrintf function added (Aleksey Sanin)
   - compilation fixes (Mark Vakoc)
   - stdin parsing fix (William Brack)
   - a posteriori DTD validation fixes
   - xmlReader bug fixes: Walker fixes, python bindings
   - fixed xmlStopParser() to really stop the parser and errors
   - always generate line numbers when using the new xmlReadxxx
  functions
   - added XInclude support to the xmlReader interface
   - implemented XML_PARSE_NONET parser option
   - DocBook XSLT processing bug fixed
   - HTML serialization for <p> elements (William Brack and me)
   - XPointer failure in XInclude are now handled as resource errors
   - fixed xmllint --html to use the HTML serializer on output (added
    --xmlout to implement the previous behaviour of saving it using the XML
    serializer)

2.6.1: Oct 28 2003:
   - Mostly bugfixes after the big 2.6.0 changes
   - Unix compilation patches: libxml.m4 (Patrick Welche), warnings cleanup
    (William Brack)
   - Windows compilation patches (Joachim Bauch, Stephane Bidoul, Igor
    Zlatkovic)
   - xmlWriter bugfix (Alfred Mickautsch)
   - chvalid.[ch]: couple of fixes from Stephane Bidoul
   - context reset: error state reset, push parser reset (Graham
  Bennett)
   - context reuse: generate errors if file is not readable
   - defaulted attributes for element coming from internal entities
    (Stephane Bidoul)
   - Python: tab and spaces mix (William Brack)
   - Error handler could crash in DTD validation in 2.6.0
   - xmlReader: do not use the document or element _private field
   - testSAX.c: avoid a problem with some PIs (Massimo Morara)
   - general bug fixes: mandatory encoding in text decl, serializing
    Document Fragment nodes, xmlSearchNs 2.6.0 problem (Kasimier Buchcik),
    XPath errors not reported,  slow HTML parsing of large documents.

2.6.0: Oct 20 2003:
   - Major revision release: should be API and ABI compatible but got a lot
    of change
   - Increased the library modularity, far more options can be stripped out,
    a --with-minimum configuration will weight around 160KBytes
   - Use per parser and per document dictionnary, allocate names and small
    text nodes from the dictionnary
   - Switch to a SAX2 like parser rewrote most of the XML parser core,
    provides namespace resolution and defaulted attributes, minimize memory
    allocations and copies, namespace checking and specific error handling,
    immutable buffers, make predefined entities static structures, etc...
   - rewrote all the error handling in the library, all errors can be
    intercepted at a structured level, with precise information
  available.
   - New simpler and more generic XML and HTML parser APIs, allowing to
    easilly modify the parsing options and reuse parser context for multiple
    consecutive documents.
   - Similar new APIs for the xmlReader, for options and reuse, provided new
    functions to access content as const strings, use them for Python
  bindings
   - a  lot of other smaller API improvements: xmlStrPrintf (Aleksey Sanin),
    Walker i.e. reader on a document tree based on Alfred Mickautsch code,
    make room in nodes for line numbers, reference counting and future PSVI
    extensions, generation of character ranges to be checked with faster
    algorithm (William),  xmlParserMaxDepth (Crutcher Dunnavant), buffer
    access
2003-12-04 19:33:38 +00:00
xtraeme
752e5b4c13 Updated to 2.5.10
Changes:

2.5.10: Aug 15 2003:
A bugfixes only release   - Windows Makefiles (William Brack)
   - UTF-16 support fixes (Mark Itzcovitz)
   - Makefile and portability (William Brack) automake, Linux alpha, Mingw
    on Windows (Mikhail Grushinskiy)
   - HTML parser (Oliver Stoeneberg)
   - XInclude performance problem reported by Kevin Ruscoe
   - XML parser performance problem reported by Grant Goodale
   - xmlSAXParseDTD() bug fix from Malcolm Tredinnick
   - and a couple other cleanup


2.5.9: Aug 9 2003:
   - bugfixes: IPv6 portability, xmlHasNsProp (Markus Keim), Windows build
    (Wiliam Brake, Jesse Pelton, Igor), Schemas (Peter Sobisch), threading
    (Rob Richards), hexBinary type (), UTF-16 BOM (Dodji Seketeli),
    xmlReader, Relax-NG schemas compilation, namespace handling,  EXSLT (Sean
    Griffin), HTML parsing problem (William Brack), DTD validation for mixed
    content + namespaces, HTML serialization, library initialization,
    progressive HTML parser
   - better interfaces for Relax-NG error handling (Joachim Bauch, )
   - adding xmlXIncludeProcessTree() for XInclud'ing in a subtree
   - doc fixes and improvements (John Fleck)
   - configure flag for -with-fexceptions when embedding in C++
   - couple of new UTF-8 helper functions (William Brack)
   - general encoding cleanup + ISO-8859-x without iconv (Peter Jacobi)
   - xmlTextReader cleanup + enum for node types (Bjorn Reese)
   - general compilation/warning cleanup Solaris/HP-UX/... (William
  Brack)
2003-08-29 11:22:21 +00:00
wiz
69a9cc69cd Update to 2.5.8; add test target.
Changes since 2.5.7:
- bugfixes: XPath, XInclude, file/URI mapping, UTF-16 save (Mark
  Itzcovitz), UTF-8 checking, URI saving, error printing (William Brack),
  PI related memleak, compilation without schemas or without xpath (Joerg
  Schmitz-Linneweber/Garry Pennington), xmlUnlinkNode problem with DTDs,
  rpm problem on , i86_64, removed a few compilation problems from 2.5.7,
  xmlIOParseDTD, and xmlSAXParseDTD (Malcolm Tredinnick)
- portability: DJGPP (MsDos) , OpenVMS (Craig A. Berry)
- William Brack fixed multithreading lock problems
- IPv6 patch for FTP and HTTP accesses (Archana Shah/Wipro)
- Windows fixes (Igor Zlatkovic,  Eric Zurcher), threading (Stéphane
  Bidoul)
- A few W3C Schemas Structure improvements
- W3C Schemas Datatype improvements (Charlie Bozeman)
- Python bindings for thread globals (Stéphane Bidoul), and method/class
  generator
- added --nonet option to xmllint
- documentation improvements (John Fleck)
2003-07-11 23:28:04 +00:00
wiz
ae54af3510 Update to 2.5.7nb1: Install example files in share/examples
instead of share/doc/examples. Noted by Kimmo Suominen.
2003-07-01 09:45:54 +00:00