head	1.54;
access;
symbols
	pkgsrc-2026Q1:1.53.0.2
	pkgsrc-2026Q1-base:1.53
	pkgsrc-2025Q4:1.52.0.4
	pkgsrc-2025Q4-base:1.52
	pkgsrc-2025Q3:1.52.0.2
	pkgsrc-2025Q3-base:1.52
	pkgsrc-2025Q2:1.51.0.2
	pkgsrc-2025Q2-base:1.51
	pkgsrc-2025Q1:1.49.0.4
	pkgsrc-2025Q1-base:1.49
	pkgsrc-2024Q4:1.49.0.2
	pkgsrc-2024Q4-base:1.49
	pkgsrc-2024Q3:1.46.0.4
	pkgsrc-2024Q3-base:1.46
	pkgsrc-2024Q2:1.46.0.2
	pkgsrc-2024Q2-base:1.46
	pkgsrc-2024Q1:1.45.0.2
	pkgsrc-2024Q1-base:1.45
	pkgsrc-2023Q4:1.43.0.2
	pkgsrc-2023Q4-base:1.43
	pkgsrc-2023Q3:1.41.0.4
	pkgsrc-2023Q3-base:1.41
	pkgsrc-2023Q2:1.41.0.2
	pkgsrc-2023Q2-base:1.41
	pkgsrc-2023Q1:1.38.0.2
	pkgsrc-2023Q1-base:1.38
	pkgsrc-2022Q4:1.37.0.2
	pkgsrc-2022Q4-base:1.37
	pkgsrc-2022Q3:1.35.0.2
	pkgsrc-2022Q3-base:1.35
	pkgsrc-2022Q2:1.34.0.2
	pkgsrc-2022Q2-base:1.34
	pkgsrc-2022Q1:1.33.0.4
	pkgsrc-2022Q1-base:1.33
	pkgsrc-2021Q4:1.33.0.2
	pkgsrc-2021Q4-base:1.33
	pkgsrc-2021Q3:1.32.0.4
	pkgsrc-2021Q3-base:1.32
	pkgsrc-2021Q2:1.32.0.2
	pkgsrc-2021Q2-base:1.32
	pkgsrc-2021Q1:1.31.0.2
	pkgsrc-2021Q1-base:1.31
	pkgsrc-2020Q4:1.30.0.2
	pkgsrc-2020Q4-base:1.30
	pkgsrc-2020Q3:1.29.0.4
	pkgsrc-2020Q3-base:1.29
	pkgsrc-2020Q2:1.29.0.2
	pkgsrc-2020Q2-base:1.29
	pkgsrc-2020Q1:1.27.0.2
	pkgsrc-2020Q1-base:1.27
	pkgsrc-2019Q4:1.26.0.18
	pkgsrc-2019Q4-base:1.26
	pkgsrc-2019Q3:1.26.0.14
	pkgsrc-2019Q3-base:1.26
	pkgsrc-2019Q2:1.26.0.12
	pkgsrc-2019Q2-base:1.26
	pkgsrc-2019Q1:1.26.0.10
	pkgsrc-2019Q1-base:1.26
	pkgsrc-2018Q4:1.26.0.8
	pkgsrc-2018Q4-base:1.26
	pkgsrc-2018Q3:1.26.0.6
	pkgsrc-2018Q3-base:1.26
	pkgsrc-2018Q2:1.26.0.4
	pkgsrc-2018Q2-base:1.26
	pkgsrc-2018Q1:1.26.0.2
	pkgsrc-2018Q1-base:1.26
	pkgsrc-2017Q4:1.25.0.10
	pkgsrc-2017Q4-base:1.25
	pkgsrc-2017Q3:1.25.0.8
	pkgsrc-2017Q3-base:1.25
	pkgsrc-2017Q2:1.25.0.4
	pkgsrc-2017Q2-base:1.25
	pkgsrc-2017Q1:1.25.0.2
	pkgsrc-2017Q1-base:1.25
	pkgsrc-2016Q4:1.24.0.2
	pkgsrc-2016Q4-base:1.24
	pkgsrc-2016Q3:1.23.0.8
	pkgsrc-2016Q3-base:1.23
	pkgsrc-2016Q2:1.23.0.6
	pkgsrc-2016Q2-base:1.23
	pkgsrc-2016Q1:1.23.0.4
	pkgsrc-2016Q1-base:1.23
	pkgsrc-2015Q4:1.23.0.2
	pkgsrc-2015Q4-base:1.23
	pkgsrc-2015Q3:1.22.0.6
	pkgsrc-2015Q3-base:1.22
	pkgsrc-2015Q2:1.22.0.4
	pkgsrc-2015Q2-base:1.22
	pkgsrc-2015Q1:1.22.0.2
	pkgsrc-2015Q1-base:1.22
	pkgsrc-2014Q4:1.21.0.8
	pkgsrc-2014Q4-base:1.21
	pkgsrc-2014Q3:1.21.0.6
	pkgsrc-2014Q3-base:1.21
	pkgsrc-2014Q2:1.21.0.4
	pkgsrc-2014Q2-base:1.21
	pkgsrc-2014Q1:1.21.0.2
	pkgsrc-2014Q1-base:1.21
	pkgsrc-2013Q4:1.20.0.4
	pkgsrc-2013Q4-base:1.20
	pkgsrc-2013Q3:1.20.0.2
	pkgsrc-2013Q3-base:1.20
	pkgsrc-2013Q2:1.18.0.4
	pkgsrc-2013Q2-base:1.18
	pkgsrc-2013Q1:1.18.0.2
	pkgsrc-2013Q1-base:1.18
	pkgsrc-2012Q4:1.16.0.2
	pkgsrc-2012Q4-base:1.16
	pkgsrc-2012Q3:1.15.0.2
	pkgsrc-2012Q3-base:1.15
	pkgsrc-2012Q2:1.13.0.2
	pkgsrc-2012Q2-base:1.13
	pkgsrc-2012Q1:1.12.0.2
	pkgsrc-2012Q1-base:1.12
	pkgsrc-2011Q4:1.10.0.4
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q3:1.10.0.2
	pkgsrc-2011Q3-base:1.10
	pkgsrc-2011Q2:1.7.0.4
	pkgsrc-2011Q2-base:1.7
	pkgsrc-2011Q1:1.7.0.2
	pkgsrc-2011Q1-base:1.7
	pkgsrc-2010Q4:1.6.0.4
	pkgsrc-2010Q4-base:1.6
	pkgsrc-2010Q3:1.6.0.2
	pkgsrc-2010Q3-base:1.6
	pkgsrc-2010Q2:1.5.0.10
	pkgsrc-2010Q2-base:1.5
	pkgsrc-2010Q1:1.5.0.8
	pkgsrc-2010Q1-base:1.5
	pkgsrc-2009Q4:1.5.0.6
	pkgsrc-2009Q4-base:1.5
	pkgsrc-2009Q3:1.5.0.4
	pkgsrc-2009Q3-base:1.5
	pkgsrc-2009Q2:1.5.0.2
	pkgsrc-2009Q2-base:1.5
	pkgsrc-2009Q1:1.4.0.8
	pkgsrc-2009Q1-base:1.4
	pkgsrc-2008Q4:1.4.0.6
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.4.0.4
	pkgsrc-2008Q3-base:1.4
	cube-native-xorg:1.4.0.2
	cube-native-xorg-base:1.4
	pkgsrc-2008Q2:1.3.0.4
	pkgsrc-2008Q2-base:1.3
	cwrapper:1.3.0.2
	pkgsrc-2008Q1:1.1.1.1.0.2
	pkgsrc-2008Q1-base:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.54
date	2026.04.12.15.06.57;	author taca;	state Exp;
branches;
next	1.53;
commitid	1uIEpId4uNu1jGBG;

1.53
date	2026.01.07.08.49.08;	author wiz;	state Exp;
branches;
next	1.52;
commitid	1wQ3ICD8eebefrpG;

1.52
date	2025.08.02.05.07.37;	author taca;	state Exp;
branches;
next	1.51;
commitid	8joKPGfyRQbF775G;

1.51
date	2025.05.18.03.53.07;	author taca;	state Exp;
branches;
next	1.50;
commitid	tS01NdUWQxTy9lVF;

1.50
date	2025.04.17.21.52.38;	author wiz;	state Exp;
branches;
next	1.49;
commitid	xcIXAVA292fk6sRF;

1.49
date	2024.11.14.22.21.55;	author wiz;	state Exp;
branches;
next	1.48;
commitid	JmuDYqwL4erbdFxF;

1.48
date	2024.11.01.12.54.41;	author wiz;	state Exp;
branches;
next	1.47;
commitid	QB4Wk02mZPuBuWvF;

1.47
date	2024.11.01.00.53.54;	author wiz;	state Exp;
branches;
next	1.46;
commitid	QT27BdVP362gvSvF;

1.46
date	2024.05.29.16.34.40;	author adam;	state Exp;
branches;
next	1.45;
commitid	n8aFyEjEVZA0JUbF;

1.45
date	2024.03.24.14.34.55;	author taca;	state Exp;
branches;
next	1.44;
commitid	vYVZ64T3ZInLcq3F;

1.44
date	2024.02.03.16.44.40;	author taca;	state Exp;
branches;
next	1.43;
commitid	P41V6hXyYBVTw0XE;

1.43
date	2023.11.12.16.17.20;	author taca;	state Exp;
branches;
next	1.42;
commitid	fpxBUA80cTJW2lME;

1.42
date	2023.11.08.13.21.09;	author wiz;	state Exp;
branches;
next	1.41;
commitid	PsuHTklAIsF4bOLE;

1.41
date	2023.05.03.16.27.34;	author taca;	state Exp;
branches;
next	1.40;
commitid	o4SGXa2Vxo15jxnE;

1.40
date	2023.05.01.14.45.02;	author taca;	state Exp;
branches;
next	1.39;
commitid	fdhXgUHLvKHQNgnE;

1.39
date	2023.04.19.08.11.40;	author adam;	state Exp;
branches;
next	1.38;
commitid	B8gCWhWtMX9vZGlE;

1.38
date	2023.01.09.06.03.24;	author taca;	state Exp;
branches;
next	1.37;
commitid	qlb5UmGifu89wP8E;

1.37
date	2022.12.04.16.02.17;	author taca;	state Exp;
branches;
next	1.36;
commitid	bePq6dbb30BlZf4E;

1.36
date	2022.11.23.16.21.13;	author adam;	state Exp;
branches;
next	1.35;
commitid	ju2K3LUYlTJKqQ2E;

1.35
date	2022.08.29.13.39.26;	author taca;	state Exp;
branches;
next	1.34;
commitid	mSS5iXPzF2iDjMRD;

1.34
date	2022.04.18.19.12.12;	author adam;	state Exp;
branches;
next	1.33;
commitid	eC9Na3jrfOOUpIAD;

1.33
date	2021.12.08.16.06.46;	author adam;	state Exp;
branches;
next	1.32;
commitid	2PyWjHx5T8rqARjD;

1.32
date	2021.04.21.11.42.48;	author adam;	state Exp;
branches;
next	1.31;
commitid	fph0Axs0eT3az9QC;

1.31
date	2021.01.14.14.46.16;	author taca;	state Exp;
branches;
next	1.30;
commitid	pJjw1Nlua4wmIHDC;

1.30
date	2020.11.05.09.09.15;	author ryoon;	state Exp;
branches;
next	1.29;
commitid	VqGaBtHnBBcd5GuC;

1.29
date	2020.06.02.08.24.52;	author adam;	state Exp;
branches;
next	1.28;
commitid	nisovMpvvZm3RCaC;

1.28
date	2020.05.25.15.25.18;	author taca;	state Exp;
branches;
next	1.27;
commitid	eSS8zw2lziw0sD9C;

1.27
date	2020.01.18.23.35.32;	author rillig;	state Exp;
branches;
next	1.26;
commitid	shGUwZfkr7sleeTB;

1.26
date	2018.03.14.15.42.36;	author taca;	state Exp;
branches;
next	1.25;
commitid	zu4LLNnZ1TsimruA;

1.25
date	2017.03.20.15.32.38;	author taca;	state Exp;
branches;
next	1.24;
commitid	rMYdhJ5alZKjQiKz;

1.24
date	2016.10.18.14.36.38;	author taca;	state Exp;
branches;
next	1.23;
commitid	ei0ZI9cFCrfZrDqz;

1.23
date	2015.09.26.23.41.32;	author taca;	state Exp;
branches;
next	1.22;
commitid	EZSzDrdjacffWOCy;

1.22
date	2015.02.05.15.09.25;	author taca;	state Exp;
branches;
next	1.21;
commitid	bGu5RiwGxWdRAP8y;

1.21
date	2014.03.13.11.08.53;	author jperkin;	state Exp;
branches;
next	1.20;
commitid	KxozNJIlfZNkPwsx;

1.20
date	2013.09.15.16.17.32;	author taca;	state Exp;
branches;
next	1.19;
commitid	kLakCZFZVU6Biy5x;

1.19
date	2013.07.07.15.34.45;	author taca;	state Exp;
branches;
next	1.18;
commitid	YerFS2WXlkAhjyWw;

1.18
date	2013.03.12.15.37.53;	author taca;	state Exp;
branches
	1.18.4.1;
next	1.17;

1.17
date	2013.02.11.09.10.40;	author taca;	state Exp;
branches;
next	1.16;

1.16
date	2012.12.17.14.34.49;	author taca;	state Exp;
branches;
next	1.15;

1.15
date	2012.09.27.13.09.11;	author taca;	state Exp;
branches;
next	1.14;

1.14
date	2012.09.16.11.29.03;	author taca;	state Exp;
branches;
next	1.13;

1.13
date	2012.06.14.07.45.19;	author sbd;	state Exp;
branches;
next	1.12;

1.12
date	2012.03.20.13.50.09;	author taca;	state Exp;
branches;
next	1.11;

1.11
date	2012.03.20.13.45.32;	author taca;	state Exp;
branches;
next	1.10;

1.10
date	2011.09.12.13.45.52;	author taca;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.17.13.38.30;	author taca;	state Exp;
branches;
next	1.8;

1.8
date	2011.08.12.17.21.33;	author taca;	state Exp;
branches;
next	1.7;

1.7
date	2011.02.21.16.01.21;	author taca;	state Exp;
branches;
next	1.6;

1.6
date	2010.09.10.08.20.01;	author taca;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	2009.05.15.09.31.03;	author obache;	state Exp;
branches;
next	1.4;

1.4
date	2008.07.29.09.58.39;	author seb;	state Exp;
branches;
next	1.3;

1.3
date	2008.06.19.15.21.35;	author taca;	state Exp;
branches;
next	1.2;

1.2
date	2008.04.04.15.21.57;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2008.03.11.16.41.23;	author taca;	state Exp;
branches
	1.1.1.1;
next	;

1.18.4.1
date	2013.07.16.17.00.51;	author tron;	state Exp;
branches;
next	;
commitid	tRjApmEVG8D6vIXw;

1.6.4.1
date	2011.02.27.00.26.27;	author tron;	state Exp;
branches;
next	;

1.1.1.1
date	2008.03.11.16.41.23;	author taca;	state Exp;
branches;
next	;


desc
@@


1.54
log
@textproc/ruby-libxml: update to 6.0.0

5.0.6 (2026-04-03)

* Test fix - Make the memory leak test threshold more generous to avoid
  false positives
* Test fix - Call get_handler on Error class instead of module
* Fix XML::Writer.string buffer leak
* Update assertion to comply with minitest deprecations
* Allow libdir to match Rubies with double digit patch numbers

6.0.0 (2026-04-08)

This release is a major refresh of libxml-ruby. The most important changes
include:

* Migration to Ruby's modern TypedData API which replaces the old
  Data_Wrap_Struct API
* libxml-ruby no longer uses libxml2's _private field.  Instead, it now uses
  an internal registry. This removes a long-standing compatibility issue
  where libxml-ruby's use of _private could collide with other libxml2
  consumers
* Brand-new documentation site available at
  https://xml4r.github.io/libxml-ruby/ with guides on parsing, XPath,
  validation, the Writer API, and the internal architecture
* Updated reference documentation to Ruby's new Aliki theme
* Expanded tests
* Finally removed require 'xml' which has been deprecated for a very long time

Breaking changes:

* Remove deprecated Document methods: dump, format_dump, debug_dump,
  debug_dump_head, debug_format_dump, reader
* Remove deprecated Parser.register_error_handler (use Error.set_handler)
* Remove deprecated HTMLParser#file=, #io=, #string= (use class methods
  HTMLParser.file, .io, .string)
* Remove deprecated require paths: require 'libxml', require 'xml/libxml',
  and require 'xml' (use require 'libxml-ruby')
* Fix misspelled Schema::Type#annonymus_subtypes -> anonymous_subtypes

The release also includes a number of smaller improvements, including:

* Support Ruby 4.0 (no changes were required)
* Fix RelaxNG factories to raise on parse failure instead of wrapping NULL
* Fix read callback to clamp to buffer size, preventing overflow
* Fix write callback to use len parameter instead of strlen for StringIO
* Fix Schema @@version ivar reading name instead of version
* Remove no-op free functions from Schema::Type, Element, Attribute, Facet
* Fix incorrect types in TypedData_Get_Struct for attr_decl and document
  node_type
* Remove dead Check_Type after NUM2INT in HTML parser context
* Use rb_ensure in namespaces.each to free nsList on exception
* Remove dead Float::INFINITY definition for Ruby 1.8.7
* Add mswin CI job using vcpkg for libxml2
* Minimum Ruby version is now 3.2
* Revert require_relative back to require for loading the C extension (fixes
  #226)
* Allow nil for external and system IDs when creating a DTD (fixes #215)
* Fix C14N document subset canonicalization with namespace nodes
* Enable W3C C14N spec tests 3.5 (entity references) and 3.7 (document subsets)
* Rename HISTORY to CHANGELOG.md, README.rdoc to README.md
@
text
@# $NetBSD: Makefile,v 1.53 2026/01/07 08:49:08 wiz Exp $

DISTNAME=	libxml-ruby-6.0.0
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
CATEGORIES=	textproc

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://xml4r.github.io/libxml-ruby/
COMMENT=	Support module for libxml2 library
LICENSE=	mit

USE_GCC_RUNTIME=	yes

CONFIGURE_ARGS+=	\
	--with-xml2-include=${BUILDLINK_PREFIX.libxml2}/include/libxml2

.include "../../lang/ruby/gem.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.53
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2025/08/02 05:07:37 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-5.0.5
a4 1
PKGREVISION=	1
@


1.52
log
@textproc/ruby-libxml: update to 5.0.5

5.0.5 (2025-07-30)

* Try to fix broken documentation link in Ruby Gems website
* Update history file
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2025/05/18 03:53:07 taca Exp $
d5 1
@


1.51
log
@textproc/ruby-libxml: update to 5.0.4

5.0.4 (2025-05-11)

* Fix compiling with latest libxml version
* Fix compiling with latest C++ compilers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2025/04/17 21:52:38 wiz Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-5.0.4
@


1.50
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2024/11/14 22:21:55 wiz Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-5.0.3
a4 1
PKGREVISION=	5
@


1.49
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2024/11/01 12:54:41 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.48
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2024/11/01 00:53:54 wiz Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.47
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2024/05/29 16:34:40 adam Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.46
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2024/03/24 14:34:55 taca Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.45
log
@textproc/ruby-libxml: update to 5.0.3

5.0.2 (2024-01-08)

* Fix broken DTD creation (DTD name is not required)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2024/02/03 16:44:40 taca Exp $
d5 1
@


1.44
log
@textproc/ruby-libxml: update to 5.0.2

5.0.0 (2024-01-07)

* This release is major version bump because it removes access to global
  parser options that libxml2 version 2.12.0 deprecated (see
  https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0)
  In the unlikely event your code uses these options, then you will need to
  update it.
  Specifically, instead of setting global parser options, pass them directly
  to either Parsers or ParserContexts when creating them.  Options are
  defined as constants in LibXML::XML::Parser::Options and
  LibXML::HTML::Parser::Options
* Update Parser initialize methods to take keyword parameters instead of a
  hash table (you may have to update your code due to this change)
* Fix broken compilation with libxml2 version 2.12.0 (due to libxml2 header
  changes)
* Add support for Ruby 3.3.*
* Remove support for Ruby 2.7.* (gem should still work but is no longer
  tested)

5.0.1 (2024-01-08)

* Fix broken Document#io method that was broken by switching Parsers to use
  keyword arguments

5.0.2 (2024-01-08)

* Fix broken DTD creation (DTD name is not required)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2023/11/12 16:17:20 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-5.0.2
@


1.43
log
@textproc/ruby-libxml: update to 4.1.2

4.1.2 (2023-11-04)

* Fix Ruby warnings about undefined allocators (yuuji.yaginuma, Christopher
  Sahnwaldt)
* Fix Schema::Element required? and array? (John Andrews)
* Remove SchemaElement#minOccurs and SchemaElement#maxOccurs since they
  actually did not work (Charlie Savage)
* Fix typo: XPatch -> XPath (Christopher Sahnwaldt)
* Introduce new alternative Homebrew installation search paths to extconf
  makefile (Pierce Brooks)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2023/11/08 13:21:09 wiz Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-4.1.2
@


1.42
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2023/05/03 16:27:34 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-4.1.1
a4 1
PKGREVISION=	1
@


1.41
log
@textproc/ruby-libxml: update to 4.1.1

4.1.1 (2023-05-01)

* Fix compile warning (or error) for
  input_callbacks_register_input_callbacks (Charlie Savage)

* Remove call to deprecated function htmlDefaultSAXHandlerInit (Charlie
  Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2023/05/01 14:45:02 taca Exp $
d5 1
@


1.40
log
@textproc/ruby-libxml: update to 4.1.0

There is release of 4.0.1 in History file, but it looks like that 4.0.1 has
released as 4.1.0.  From History:

4.0.1 (2023-04-30)

* Fix compile warning (or error) for rxml_encoding_to_rb_encoding (Charlie
  Savage)
* Remove LibXML::XML.features since its uses functionality deprecated in
  LibXML (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2023/04/19 08:11:40 adam Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-4.1.0
@


1.39
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2023/01/09 06:03:24 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-4.0.0
a4 1
PKGREVISION=	1
@


1.38
log
@textproc/ruby-libxml: update to 4.0.0

4.0.0 (2022-12-28)

* Breaking - Remove support for XPointer since libxml2 has deprecated it and
  will remove it (Charlie Savage)
* Breaking - Remove support for ancient setup.rb script (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2022/12/04 16:02:17 taca Exp $
d5 1
@


1.37
log
@textproc/ruby-libxml: update to 3.2.4

3.2.4 (2022-10-29)

* Support libxml2 version 2.10.2 (Charlie Savage)
* Reduce number of globally included C header files (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2022/11/23 16:21:13 adam Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.2.4
@


1.36
log
@massive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2022/08/29 13:39:26 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.2.3
a4 1
PKGREVISION=	1
@


1.35
log
@textproc/ruby-libxml: update to 3.2.3

3.2.2 (2022-01-15)

* Switch to Github actions for CI/CD (Greg)
* Test fixes (Greg, Sergio Durigan Junior)
* Fix typo on test/test_sax_parser.rb (Sergio Durigan Junior)
* Update homepage in gemspec (Pirate Praveen Arimbrathodiyil)

3.2.3 (022-05-22)

* Change some getter methods to instance variables with attr_accessors for
  easier debuggability (David Hansen)
* Add a number of tests related to schemas  (David Hansen)
* Add schema.imported_elements so we can find imported elements (David Hansen)
* Fix segfault under windows when dereferencing a pre-existing error where
  the node has already been freed (David Hansen)
* Update to change name from imported_elements to imported_ns_elements and
  return a hash of hashes for namespaced elements (David Hansen)
* Only call xmlGetFeaturesList if LIBXML_LEGACY_ENABLED is defined.  Most
  distros still ship libxml2 with legacy features enabled, but this will
  change (Nick Wellnhofer)
* Update GitHub Actions to use ruby/setup-ruby (Greg)
* Fix memory leak in rxml_node_path, node.path (vovanmozg)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2022/04/18 19:12:12 adam Exp $
d5 1
@


1.34
log
@revbump for textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2021/12/08 16:06:46 adam Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.2.1
a4 1
PKGREVISION=	3
@


1.33
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2021/04/21 11:42:48 adam Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.32
log
@revbump for textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2021/01/14 14:46:16 taca Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.31
log
@textproc/ruby-libxml: update to 3.2.1

== 3.2.1 / 2020-11-05

* Fix incorrect handling of encodings when using XMLWriter.io (Charlie
  Savage)
* Clean up README  (Richard Michael)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2020/11/05 09:09:15 ryoon Exp $
d5 1
@


1.30
log
@*: Recursive revbump from textproc/icu-68.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2020/06/02 08:24:52 adam Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.2.0
a4 1
PKGREVISION=	2
@


1.29
log
@Revbump for icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2020/05/25 15:25:18 taca Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.28
log
@textproc/ruby-libxml: update to 3.2.0

Update ruby-libxml to 3.2.0.


== 3.2.0 / 2020-05-09 Charlie Savage

* Fix crash when creating an empty DTD
* Modernize tests to use Bundler to load gem
* Add libxml-ruby.rb file so gem loads in expted way.
* Add support for xmlSaveNoEmptyTags.
* Clean up extconf.rb file
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2020/01/18 23:35:32 rillig Exp $
d5 1
@


1.27
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2018/03/14 15:42:36 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.1.0
@


1.26
log
@textproc/ruby-libxml: update to 3.1.0

= Release History

== 3.1.0 / 2018-02-03 Charlie Savage

* Fix segmentation fault when adding one node to another node (Charlie Savage)
* Fix deprecated "assert_equal(nil, expected)" calls. #148 and #151. (utilum)
* Remove assigned but unused variables. #150 (utilum)
* Add Gemfile. #146. (Dorian Marié)
* Remove duplicate hash key in setup.rb. #147. (Dorian Marié)
* Fix gemspec by requiring Date. #149 (utilum)
* Restore default internal encoding after tests are completed. #123 (Charlie Savage)
* Remove duplicate method definitions. #145. (Charlie Savage)
* Remove SchemaElement#minOccurs and SchemaElement#maxOccurs since they actually did not work (Charlie Savage)
* Rename test files to follow Ruby conventions (Charlie Savage)
* Fix handling of node returned by Reader#expand. #142. (Charlie Savage)
* Add Travis Build support (Charlie Savage)
* Fix Fixnum deprecation (Charlie Savage)
* Cleanup schema code (Charlie Savage)
* Update Visual Studio project to 2017 (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2017/03/20 15:32:38 taca Exp $
d8 1
a8 1
HOMEPAGE=	http://xml4r.github.io/libxml-ruby/
@


1.25
log
@Update ruby-libxmlto 3.0.0.

== 3.0.0 / 2017-02-07 Charlie Savage

* Revamp how libxml-ruby manages memory.  Instead of trying to return the same ruby object for each xmlnode,
  the bindings now create wrapper ruby objects as needed which are then freed at the end of use.
  This allows most memory management to be handled by libxml itself. Ruby only manages the lifespan of
  documents and parent xml nodes.  When those go out of scope, the underlying libxml objects are also freed.
  This implementation requires almost no overhead, plays nicely with Nokogiri and appears to work much
  better  (Charlie Savage).

* Change XML::Node#eql? API.  Nodes are now considered equal only if they wrap the same underlying
  libxml node.  Previously, they would also be considered equal if they contained the same content
  (Charlie Savage)

* Change XML::Reader.expand API. Previously it would automatically instantiate a reader document so
  the an xpath expression could be used to search the returned node.  Now you should first call
  reader.doc  (Charlie Savage)

* Update Visual Studio project for Visual Studio 15 - requires ruby 2.4+ (Charlie Savage)

* Remove APIs that have been deprecated for several years (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2016/10/18 14:36:38 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-3.0.0
@


1.24
log
@Update ruby-libxml to 2.9.0.

== 2.9.0 / 2016-06-13 Charlie Savage

* Revamp libxml-ruby's memory management to not cause crashes when used with Nokogiri (James Laird-Wah)
* Fix garbage collection issue that sometimes caused the library to hang (Charlie Savage)
* Improved multi-threading support (Charlie Savage)
* Fix crash sometimes caused by a xml node being being freed twice (Charlie Savage)
* Fix memory leak when setting the text content of a node (Charlie Savage)
* Set a default task in the Rakefile - use "test" (Robert Haines)
* Add "hanna_gudao" gem and add "rake-compiler" to develpoment dependencies (Robert Haines)
* Use Process.getrlimit instead of `ulimit` in the tests (Robert Haines)
* Build on smartos (Steven Williamson)
* Fix compiler warnings (Charlie Savage)
* Add Xcode project for easier debugging on OSX (Charlie Savage)
* Switch from unit test to minitest (Charlie Savage)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2015/09/26 23:41:32 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.9.0
@


1.23
log
@Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2015/02/05 15:09:25 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.8.0
@


1.22
log
@Update ruby-libxml to 2.8.0.

= Release History

== 2.8.0 / 2015-01-09 Charlie Savage

* Use RbConfig instead of Config in extconf.rb (Robert Haines)
* Correct xpath documentation XML (Bill Mill)
* Correct from_string method documentation (Bill Mill)
* Fix compile error with debug not enabled in libxml (Patrick Ziegler)
* Update gemspec to include license (Charlie Savage)
* In XML::Writer prevent writing to io while being GCed (Brett Gibson)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2014/03/13 11:08:53 jperkin Exp $
d8 1
a8 1
HOMEPAGE=	http://libxml.rubyforge.org/
@


1.21
log
@Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2013/09/15 16:17:32 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.7.0
a15 4
OVERRIDE_GEMSPEC=	:files ext/libxml/extconf.h= test/tc_parser.rb.orig=

pre-configure:
	${RM} ${WRKSRC}/ext/libxml/extconf.h
@


1.20
log
@Update ruby-libxml to 2.7.0.

== 2.7.0 / 2013-08-03 Charlie Savage

* Do not call Ruby code during a GC cycle (Dirkjan Bussink)
* Fix thread error handling (Geoffrey Giesemann)
* Set libxml error handler when a libxml-ruby error handler is set (Geoffrey Giesemann)
* Fix tests for nil TypeErrors (Geoffrey Giesemann)
* Fix segmentation fault for issue #62.  The deregisternode function was incorrectly
  NULLing out a node's mark and free functions for nodes removed from a document tree (Charlie Savage)
* Cleanup writer code (Charlie Savage)
* Fix equality check of LibXML::XML::Error against other objects (Michał Szajbe)
* Fix XML::Writer.set_quote_char UT, wrong expected string (#63).  (julp)
* Fix potential segfault when GC occurs while creating ns from xpath (Timothy Elliott)
* Fix segmentation fault after failing to load external schema (#59).  (Clifford Heath)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2013/07/07 15:34:45 taca Exp $
d12 2
@


1.19
log
@o Add build_info file to PLIST.
o Don't include extconf.h, a working file to package.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2013/03/12 15:37:53 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.6.0
a4 1
PKGREVISION=	1
d14 1
a14 1
OVERRIDE_GEMSPEC=	:files ext/libxml/extconf.h=
@


1.18
log
@Update ruby-libxml to 2.6.0.

== 2.6.0 / 2013-02-16 Charlie Savage

* Fix uninitialized constant LibXML::XML::Error::I18N (NameError) that occurred
  with older versions of libxml.
* Various updates/fixes to new XML::Writer class and update how flushing works
  (julp)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2013/02/11 09:10:40 taca Exp $
d5 1
a12 1
GEM_CLEANBUILD=	ext/libxml/*
d15 4
a20 1

@


1.18.4.1
log
@Pullup ticket #4179 - requested by taca
misc/rubygems: build fix
textproc/ruby-xslt: build fix

Revisions pulled up:
- converters/ruby-unf_ext/Makefile                              1.4
- converters/ruby-unf_ext/PLIST                                 1.3
- databases/ruby-ldap/Makefile                                  1.15
- databases/ruby-ldap/PLIST                                     1.6
- databases/ruby-odbc/Makefile                                  1.14
- databases/ruby-odbc/PLIST                                     1.8
- databases/ruby-pg/Makefile                                    1.16
- databases/ruby-pg/PLIST                                       1.10
- devel/ruby-rbtree/Makefile                                    1.10
- devel/ruby-rbtree/PLIST                                       1.6
- graphics/ruby-gd/Makefile                                     1.40
- graphics/ruby-gd/PLIST                                        1.9
- lang/ruby/gem.mk                                              1.21-1.22
- lang/ruby193-base/Makefile                                    1.31
- lang/ruby193-base/PLIST                                       1.9
- lang/ruby193-base/distinfo                                    1.23
- lang/ruby193-base/patches/patch-lib_rubygems_command.rb       1.1
- lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb 1.4
- lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb   1.1
- lang/ruby193-base/patches/patch-lib_rubygems_installer.rb     1.2
- lang/ruby193-base/patches/patch-lib_rubygems_specification.rb 1.4
- math/ruby-narray/Makefile                                     1.2
- math/ruby-narray/PLIST                                        1.2
- misc/rubygems/Makefile                                        1.53
- misc/rubygems/PLIST                                           1.23
- misc/rubygems/distinfo                                        1.42
- misc/rubygems/patches/patch-ad                                1.12
- security/ruby-shadow/Makefile                                 1.2
- security/ruby-shadow/PLIST                                    1.2
- textproc/ruby-libxml/Makefile                                 1.19
- textproc/ruby-libxml/PLIST                                    1.12
- textproc/ruby-xslt/Makefile                                   1.11
- textproc/ruby-xslt/PLIST                                      1.7
- www/ruby-fcgi/Makefile                                        1.16
- www/ruby-fcgi/PLIST                                           1.5

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:01:01 UTC 2013

   Modified Files:
   	pkgsrc/lang/ruby193-base: Makefile PLIST distinfo
   	pkgsrc/lang/ruby193-base/patches:
   	    patch-lib_rubygems_dependency__installer.rb
   	    patch-lib_rubygems_installer.rb patch-lib_rubygems_specification.rb
   Added Files:
   	pkgsrc/lang/ruby193-base/patches: patch-lib_rubygems_command.rb
   	    patch-lib_rubygems_command__manager.rb
   	    patch-lib_rubygems_gem__runner.rb

   Log Message:
   Add partly support build_info to bundled rubygems to make compatibilty with
   rubygems 2.0.3.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:02:57 UTC 2013

   Modified Files:
   	pkgsrc/misc/rubygems: Makefile distinfo
   	pkgsrc/misc/rubygems/patches: patch-ad

   Log Message:
   Fix creating proper build_info directory.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:12:56 UTC 2013

   Modified Files:
   	pkgsrc/misc/rubygems: PLIST

   Log Message:
   Remove Ruby's version denendent directory.

   No PKGREVISION bump for short time updates.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:16:38 UTC 2013

   Modified Files:
   	pkgsrc/lang/ruby: gem.mk

   Log Message:
   Fix gem handling.

   o Don't assume _DISTDIR end with '/' (by DESTDIR).
   o A small clean up to GEM_CLEANBUILD handling.

   A few clean up.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:18:11 UTC 2013

   Modified Files:
   	pkgsrc/converters/ruby-unf_ext: Makefile PLIST

   Log Message:
   No need to specify GEM_CLEANBUILD and fix PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:20:16 UTC 2013

   Modified Files:
   	pkgsrc/databases/ruby-ldap: Makefile PLIST

   Log Message:
   o Clean up GEM_CLEANBUILD and fix PLIST.
   o Use RUBY_DLEXT in PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:21:33 UTC 2013

   Modified Files:
   	pkgsrc/databases/ruby-odbc: Makefile PLIST

   Log Message:
   Add build_info file to PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:22:55 UTC 2013

   Modified Files:
   	pkgsrc/databases/ruby-pg: Makefile PLIST

   Log Message:
   Add build_info file to PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:26:00 UTC 2013

   Modified Files:
   	pkgsrc/devel/ruby-rbtree: Makefile PLIST

   Log Message:
   Change GEM_CLEANBUILD not to include the same Ruby's extension file in
   package.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:27:26 UTC 2013

   Modified Files:
   	pkgsrc/graphics/ruby-gd: Makefile PLIST

   Log Message:
   o Add build_info file to PLIST.
   o Utilize GEM_NAME in PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:29:47 UTC 2013

   Modified Files:
   	pkgsrc/math/ruby-narray: Makefile PLIST

   Log Message:
   Change GEM_CLEANBUILD not to include working file to package.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:32:56 UTC 2013

   Modified Files:
   	pkgsrc/security/ruby-shadow: Makefile PLIST

   Log Message:
   o Clean up GEM_CLEANBUILD  not to include the same Ruby's extension file and
     working files in package
   o Use RUBY_DLEXT in PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:34:45 UTC 2013

   Modified Files:
   	pkgsrc/textproc/ruby-libxml: Makefile PLIST

   Log Message:
   o Add build_info file to PLIST.
   o Don't include extconf.h, a working file to package.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 15:36:37 UTC 2013

   Modified Files:
   	pkgsrc/www/ruby-fcgi: Makefile PLIST

   Log Message:
   o Add build_info file to PLIST.
   o Utilize GEM_NAME in PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul  7 16:07:25 UTC 2013

   Modified Files:
   	pkgsrc/textproc/ruby-xslt: Makefile PLIST

   Log Message:
   Add build_info file to PLIST.

   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Sun Jul 14 21:08:17 UTC 2013

   Modified Files:
   	pkgsrc/lang/ruby: gem.mk

   Log Message:
   Fix shell syntax error which has been breaking all gem builds on SunOS for
   the past week as per the reports on pkgsrc-bulk.  Not sure why it wasn't
   showing up on other platforms, but I am assuming this is the correct fix.
@
text
@d1 1
a1 1
# $NetBSD$
a4 1
PKGREVISION=	1
d12 1
a14 1
OVERRIDE_GEMSPEC=	:files ext/libxml/extconf.h=
d16 1
a16 2
pre-configure:
	${RM} ${WRKSRC}/ext/libxml/extconf.h
a17 1
.include "../../lang/ruby/gem.mk"
@


1.17
log
@Update ruby-libxml to 2.5.0.

= Release History

== 2.5.0 / 2013-01-27 Charlie Savage

* Compatibility with older versions for IO::write (rb_io_bufwrite is specific
  to ruby >= 1.9.3?)
  and symbols are VALUE not ID (julp).
* Fix version for xmlTextWriterSetQuoteChar, it appeared in libxml2 2.9.0, last
  version (julp)
* Update use of LIBXML_VERSION (julp).
* Fix misuse of rb_scan_args (julp).
* Update documentation, including DTD docs and added XML Writer (julp).
* Added a new XML::Writer class (julp).
* Improved xml reader api and add namespace support.  Note that passing a
  numeric value to XML::Reader::move_to_attribute has been deprecated. Instead
  you should now use #move_to_attribute_no.  (julp).
* Improve error handling and messages (Jarl Friis)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2012/12/17 14:34:49 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.5.0
@


1.16
log
@Update ruby-libxml to 2.4.0.

= Release History

== 2.4.0 / 2012-12-14 Charlie Savage

* Support libxml 2.9.0 (Daniel Veillard)

* Extensive new interfaces for xml schema functionality including suppor for
  schemal elements, types, facets and attributes (Anton Sozontov)

* Fix Encoding#from_s bug and update docs (Nikita Afanasenko)

* Node#content= encoding (Nikita Afanasenko)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2012/09/27 13:09:11 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.4.0
@


1.15
log
@Fix build problem with libxml2 2.9.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2012/09/16 11:29:03 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.3.3
@


1.14
log
@Update ruby-libxml to 2.3.3.

== 2.3.3 / 2012-07-01 Charlie Savage

* Add LibXML::XML::Error.get_handler (Carsten Zimmermann)
* Fix variable name in example (Marcus)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2012/06/14 07:45:19 sbd Exp $
d9 1
a9 1
COMMENT=	libxml2 interface module for Ruby
d12 1
a12 1
GEM_CLEANBUILD+=	ext/libxml/*
@


1.13
log
@Recursive PKGREVISION bump for libxml2 buildlink addition.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2012/03/20 13:50:09 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.3.2
a4 1
PKGREVISION=	1
@


1.12
log
@Update ruby-libxml to 2.3.2.

= Release History

== 2.3.2 / 2012-03-20 Charlie Savage

* Define various canonicalize constants to support libxml2 versions
  older than 1.1.25 (thanks Apple!)

== 2.3.1 / 2012-03-20 Charlie Savage

* Yanked - didn't fix the OSX canonicalize issue
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2012/03/20 13:45:32 taca Exp $
d5 1
@


1.11
log
@Update ruby-libxml to 2.3.0.


= Release History

== 2.3.0 / 2012-02-22 Ryan Johnson

* Add ability to insert new PI-nodes into the xmltree (Axel Struebing).

* Added full pass-through access to libxml2 xmlC14NDocDumpMemory method via
  LibXML::XML::Document#canonicalize method with optional arguments.

* Added full test data for C14N based off of W3C spec.
  (http://www.w3.org/TR/xml-c14n#Examples)

* Update sax handler to support encodings on Ruby 1.9 and higher.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2011/09/12 13:45:52 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.3.0
@


1.10
log
@Update ruby-libxml pacakge to 2.2.2.


= Release History

== 2.2.2 / 2011-08-13 Charlie Savage

* ++API CHANGE+++

Reader#relax_ng_validate now takes a RelaxNG object.  This is
what the documentation has always said it takes, but it previously
took a string.  In addition, it now returns true or false instead of 0 or -1.

Reader#schema_validate now takes a Schema object.  This is
what the documentation has always said it takes, but it previously
took a string.  In addition, it now returns true or false instead of 0 or -1.

Fixes GitHub issue #30.

* Added Parser::Context#close and HTMLParser::Context#close methods that
  allow the underlying io stream (file, string, etc) to be closed.  Once a
  parser is done parsing its data, it now calls one of these methods.
  This means that if you parse thousands of files at the same time,
  without running Ruby's garbage colllector, you won't get a too
  many files open error.  Fixes GitHub issue #29.

* Fixed bug where Node#inner_xml caused an error when it had no child nodes.
  Fixes GitHub issues #31

* Don't require 'rake' in the gemspec to avoid annoying Bunlder bugs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2011/08/17 13:38:30 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.2.2
@


1.9
log
@Update ruby-libxml package to 2.2.1.

= Release History

== 2.2.1 / 2011-08-13 Charlie Savage

* Packaging fix - include the custom .def file in the gem.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2011/08/12 17:21:33 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.2.1
@


1.8
log
@Update textproc/ruby-libxml package to 2.2.0.

Changes are too many to write here, please refer:
http://github.com/xml4r/libxml-ruby/blob/master/HISTORY
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2011/02/21 16:01:21 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-2.2.0
@


1.7
log
@Bump PKGREVISION due to ABI change of ruby18-base.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2010/09/10 08:20:01 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-1.1.3
a4 1
PKGREVISION=	1
@


1.6
log
@* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2009/05/15 09:31:03 obache Exp $
d5 1
@


1.6.4.1
log
@Pullup ticket #3361 - requested by taca
archivers/ruby-libarchive: dependence update
comms/ruby-termios: dependence update
converters/ruby-uconv: dependence update
databases/ruby-do_sqlite3: dependence update
databases/ruby-ldap: dependence update
databases/ruby-mysql: dependence update
databases/ruby-odbc: dependence update
databases/ruby-pg: dependence update
databases/ruby-postgresql: dependence update
databases/ruby-qdbm: dependence update
databases/ruby-sqlite: dependence update
databases/ruby-sqlite3: dependence update
databases/ruby-tokyocabinet: dependence update
devel/ruby-SDL: dependence update
devel/ruby-debug-base: dependence update
devel/ruby-eet: dependence update
devel/ruby-eventmachine: dependence update
devel/ruby-ffi: dependence update
devel/ruby-gnome2-atk: dependence update
devel/ruby-gnome2-bonobo: dependence update
devel/ruby-gnome2-bonoboui: dependence update
devel/ruby-gnome2-gconf: dependence update
devel/ruby-gnome2-gio: dependence update
devel/ruby-gnome2-glib: dependence update
devel/ruby-gnome2-libglade: dependence update
devel/ruby-gnome2-pango: dependence update
devel/ruby-linecache: dependence update
devel/ruby-memcache: dependence update
devel/ruby-ncurses: dependence update
devel/ruby-priority-queue: dependence update
devel/ruby-racc: dependence update
devel/ruby-rbtree: dependence update
devel/ruby-rcov: dependence update
devel/ruby-rcsparse: dependence update
devel/ruby-subversion: dependence update
devel/ruby-thrift: dependence update
graphics/ruby-RMagick: dependence update
graphics/ruby-clutter-cairo: dependence update
graphics/ruby-clutter-core: dependence update
graphics/ruby-clutter-gtk: dependence update
graphics/ruby-gd: dependence update
graphics/ruby-gnome2-gdkpixbuf: dependence update
graphics/ruby-gnome2-gnomecanvas: dependence update
graphics/ruby-gnome2-goocanvas: dependence update
graphics/ruby-gnome2-gtkglext: dependence update
graphics/ruby-gnome2-libart: dependence update
graphics/ruby-gnome2-rsvg: dependence update
graphics/ruby-imlib2: dependence update
graphics/ruby-opengl: dependence update
graphics/ruby-rcairo: dependence update
inputmethod/ruby-zinnia: dependence update
lang/ruby: dependence update
lang/ruby18-base: security update
lang/ruby19-base: security update
mail/ruby-tmail: dependence update
math/ruby-rb-gsl: dependence update
multimedia/ruby-clutter-gst: dependence update
multimedia/ruby-gnome2-gstreamer: dependence update
multimedia/ruby-ming: dependence update
print/ruby-gnome2-gnomeprint: dependence update
print/ruby-gnome2-gnomeprintui: dependence update
print/ruby-gnome2-poppler: dependence update
security/ruby-password: dependence update
security/ruby-tcpwrap: dependence update
sysutils/ruby-quota: dependence update
textproc/ruby-bluecloth: dependence update
textproc/ruby-cabocha: dependence update
textproc/ruby-eruby: dependence update
textproc/ruby-ferret: dependence update
textproc/ruby-hpricot: dependence update
textproc/ruby-itex2MML: dependence update
textproc/ruby-json: dependence update
textproc/ruby-libxml: dependence update
textproc/ruby-mecab: dependence update
textproc/ruby-native-hyperestraier: dependence update
textproc/ruby-nokogiri: dependence update
textproc/ruby-oniguruma: dependence update
textproc/ruby-redcloth: dependence update
textproc/ruby-sary: dependence update
textproc/ruby-xmlparser: dependence update
textproc/ruby-xslt: dependence update
textproc/ruby-yamcha: dependence update
www/mongrel: dependence update
www/ruby-clearsilver: dependence update
www/ruby-fcgi: dependence update
www/ruby-gnome2-gtkhtml2: dependence update
www/ruby-gnome2-gtkmozembed: dependence update
www/ruby-patron: dependence update
www/thin: dependence update
x11/ruby-gnome2-gnome: dependence update
x11/ruby-gnome2-gtk: dependence update
x11/ruby-gnome2-gtksourceview: dependence update
x11/ruby-gnome2-gtksourceview2: dependence update
x11/ruby-gnome2-panelapplet: dependence update
x11/ruby-gnome2-vte: dependence update

Revisions pulled up:
- archivers/ruby-libarchive/Makefile				1.2
- comms/ruby-termios/Makefile					1.23
- converters/ruby-uconv/Makefile				1.19
- databases/ruby-do_sqlite3/Makefile				1.2
- databases/ruby-ldap/Makefile					1.7
- databases/ruby-mysql/Makefile					1.34 via patch
- databases/ruby-odbc/Makefile					1.10 via patch
- databases/ruby-pg/Makefile					1.6
- databases/ruby-postgresql/Makefile				1.37
- databases/ruby-qdbm/Makefile					1.12
- databases/ruby-sqlite/Makefile				1.3
- databases/ruby-sqlite3/Makefile				1.15
- databases/ruby-tokyocabinet/Makefile				1.24
- devel/ruby-SDL/Makefile					1.9 via patch
- devel/ruby-debug-base/Makefile				1.7
- devel/ruby-eet/Makefile					1.8
- devel/ruby-eventmachine/Makefile				1.7
- devel/ruby-ffi/Makefile					1.3
- devel/ruby-gnome2-atk/Makefile				1.8
- devel/ruby-gnome2-bonobo/Makefile				patch
- devel/ruby-gnome2-bonoboui/Makefile				patch
- devel/ruby-gnome2-gconf/Makefile				patch
- devel/ruby-gnome2-gio/Makefile				1.3 via patch
- devel/ruby-gnome2-glib/Makefile				1.11
- devel/ruby-gnome2-libglade/Makefile				patch
- devel/ruby-gnome2-pango/Makefile				1.18 via patch
- devel/ruby-linecache/Makefile					1.5
- devel/ruby-memcache/Makefile					1.4
- devel/ruby-ncurses/Makefile					1.9
- devel/ruby-priority-queue/Makefile				1.6
- devel/ruby-racc/Makefile					1.18
- devel/ruby-rbtree/Makefile					1.6
- devel/ruby-rcov/Makefile					1.5
- devel/ruby-rcsparse/Makefile					1.10
- devel/ruby-subversion/Makefile				1.28
- devel/ruby-thrift/Makefile					1.4 via patch
- graphics/ruby-RMagick/Makefile				1.76 via patch
- graphics/ruby-clutter-cairo/Makefile				1.8 via patch
- graphics/ruby-clutter-core/Makefile				1.11 via patch
- graphics/ruby-clutter-gtk/Makefile				1.8 via patch
- graphics/ruby-gd/Makefile					1.34 via patch
- graphics/ruby-gnome2-gdkpixbuf/Makefile			1.20 via patch
- graphics/ruby-gnome2-gnomecanvas/Makefile			patch
- graphics/ruby-gnome2-goocanvas/Makefile			1.12 via patch
- graphics/ruby-gnome2-gtkglext/Makefile			patch
- graphics/ruby-gnome2-libart/Makefile				patch
- graphics/ruby-gnome2-rsvg/Makefile				1.21 va patch
- graphics/ruby-imlib2/Makefile					1.24 va patch
- graphics/ruby-opengl/Makefile					1.31
- graphics/ruby-rcairo/Makefile					1.22 via patch
- inputmethod/ruby-zinnia/Makefile				1.3
- lang/ruby/buildlink3.mk					1.13
- lang/ruby/rubyversion.mk					1.58-1.59
- lang/ruby18-base/distinfo					1.47
- lang/ruby19-base/DEINSTALL					1.2
- lang/ruby19-base/Makefile					1.7
- lang/ruby19-base/PLIST					1.4
- lang/ruby19-base/distinfo					1.4
- lang/ruby19-base/patches/patch-string.c			1.1
- mail/ruby-tmail/Makefile					1.19
- math/ruby-rb-gsl/Makefile					1.9
- multimedia/ruby-clutter-gst/Makefile				1.9 via patch
- multimedia/ruby-gnome2-gstreamer/Makefile			1.7
- multimedia/ruby-ming/Makefile					1.15 via patch
- print/ruby-gnome2-gnomeprint/Makefile				patch
- print/ruby-gnome2-gnomeprintui/Makefile			patch
- print/ruby-gnome2-poppler/Makefile				1.19 via patch
- security/ruby-password/Makefile				1.5
- security/ruby-tcpwrap/Makefile				1.18
- sysutils/ruby-quota/Makefile					1.21
- textproc/ruby-bluecloth/Makefile				1.5
- textproc/ruby-cabocha/Makefile				1.3
- textproc/ruby-eruby/Makefile					1.26
- textproc/ruby-ferret/Makefile					1.6
- textproc/ruby-hpricot/Makefile				1.8
- textproc/ruby-itex2MML/Makefile				1.7
- textproc/ruby-json/Makefile					1.9
- textproc/ruby-libxml/Makefile					1.7
- textproc/ruby-mecab/Makefile					1.6
- textproc/ruby-native-hyperestraier/Makefile			1.6
- textproc/ruby-nokogiri/Makefile				1.4
- textproc/ruby-oniguruma/Makefile				1.6
- textproc/ruby-redcloth/Makefile				1.14
- textproc/ruby-sary/Makefile					1.7
- textproc/ruby-xmlparser/Makefile				1.15
- textproc/ruby-xslt/Makefile					1.7
- textproc/ruby-yamcha/Makefile					1.3
- www/mongrel/Makefile						1.13 via patch
- www/ruby-clearsilver/Makefile					1.15
- www/ruby-fcgi/Makefile					1.15
- www/ruby-gnome2-gtkhtml2/Makefile				patch
- www/ruby-gnome2-gtkmozembed/Makefile				1.17 via patch
- www/ruby-patron/Makefile					1.5
- www/thin/Makefile						1.8 via patch
- x11/ruby-gnome2-gtk/Makefile					1.25 via patch
- x11/ruby-gnome2-gtksourceview/Makefile			patch via 1.12
- x11/ruby-gnome2-gtksourceview2/Makefile			patch
- x11/ruby-gnome2-panelapplet/Makefile				patch
- x11/ruby-gnome2-vte/Makefile					1.16 via patch
---
Module Name:	pkgsrc
Module Name:	pkgsrc
Committed By:	taca
Date:		Mon Feb 21 14:31:06 UTC 2011

Modified Files:
	pkgsrc/lang/ruby: rubyversion.mk

Log Message:
* Start upate of ruby18 and ruby19 packags.
* Remove redundant GEM_HOME definition from PLIST.
---
Module Name:	pkgsrc
Module Name:	pkgsrc
Committed By:	taca
Date:		Mon Feb 21 14:35:38 UTC 2011

Modified Files:
	pkgsrc/lang/ruby18-base: distinfo

Log Message:
Update ruby18-base package to 1.8.7.334 (Ruby 1.8.7p334).

* The FileUtils Vulnerability

	http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/

* The $SAFE Vulnerability

Fri Feb 18 21:18:55 2011  Shugo Maeda  <shugo@@ruby-lang.org>

	* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
	  Test for below.

Fri Feb 18 21:18:55 2011  URABE Shyouhei  <shyouhei@@ruby-lang.org>

	* error.c (exc_to_s): untainted strings can be tainted via
	  Exception#to_s, which enables attackers to overwrite sane strings.
	  Reported by: Yusuke Endoh <mame at tsg.ne.jp>.

	* error.c (name_err_to_s): ditto.

Fri Feb 18 21:17:22 2011  Shugo Maeda  <shugo@@ruby-lang.org>

	* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
	  race condition in the case where the given path is a directory,
	  and some other user can move that directory, and create a
	  symlink while this method is executing.
	  Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>

Fri Feb 18 19:46:46 2011  NAKAMURA Usaku  <usa@@ruby-lang.org>

	* win32/win32.c (init_stdhandle): backport mistake of r29382.
	  some code are needless in ruby 1.8.
	  [ruby-core:34579]

Fri Feb 18 19:22:17 2011  URABE Shyouhei  <shyouhei@@ruby-lang.org>

	* configure.in: revert revision r29854.	 This revision introduced
	  binary incompatibilities on some circumstances.  The bug that
	  revision was fixing gets reopened by this reversion.
	  [ruby-dev:43152] cf. [Bug #2553]
---
Module Name:	pkgsrc
Module Name:	pkgsrc
Committed By:	taca
Date:		Mon Feb 21 14:44:11 UTC 2011

Modified Files:
	pkgsrc/lang/ruby19-base: DEINSTALL Makefile PLIST distinfo
Added Files:
	pkgsrc/lang/ruby19-base/patches: patch-string.c

Log Message:
Update ruby19-base package to 1.9.2pl180 (Ruby 1.9.2 p180).

* The FileUtils Vulnerability

    http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/

* Add a patch r30779 from repository; a bug of utf-8 string handling.

For more detail changes of Ruby 1.9.2pl180, please refer:
	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_180/ChangeLog
---
Module Name:	pkgsrc
Module Name:	pkgsrc
Committed By:	taca
Date:		Mon Feb 21 15:00:34 UTC 2011

Modified Files:
	pkgsrc/lang/ruby: buildlink3.mk rubyversion.mk

Log Message:
Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.

There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
---
Module Name:	pkgsrc
Module Name:	pkgsrc
Committed By:	taca
Date:		Mon Feb 21 16:01:24 UTC 2011

Modified Files:
	pkgsrc/archivers/ruby-libarchive: Makefile
	pkgsrc/comms/ruby-termios: Makefile
	pkgsrc/converters/ruby-uconv: Makefile
	pkgsrc/databases/ruby-do_sqlite3: Makefile
	pkgsrc/databases/ruby-ldap: Makefile
	pkgsrc/databases/ruby-mysql: Makefile
	pkgsrc/databases/ruby-odbc: Makefile
	pkgsrc/databases/ruby-pg: Makefile
	pkgsrc/databases/ruby-postgresql: Makefile
	pkgsrc/databases/ruby-qdbm: Makefile
	pkgsrc/databases/ruby-sqlite: Makefile
	pkgsrc/databases/ruby-sqlite3: Makefile
	pkgsrc/databases/ruby-tokyocabinet: Makefile
	pkgsrc/devel/ruby-SDL: Makefile
	pkgsrc/devel/ruby-debug-base: Makefile
	pkgsrc/devel/ruby-eet: Makefile
	pkgsrc/devel/ruby-eventmachine: Makefile
	pkgsrc/devel/ruby-ffi: Makefile
	pkgsrc/devel/ruby-gnome2-atk: Makefile
	pkgsrc/devel/ruby-gnome2-gio: Makefile
	pkgsrc/devel/ruby-gnome2-glib: Makefile
	pkgsrc/devel/ruby-gnome2-pango: Makefile
	pkgsrc/devel/ruby-linecache: Makefile
	pkgsrc/devel/ruby-memcache: Makefile
	pkgsrc/devel/ruby-ncurses: Makefile
	pkgsrc/devel/ruby-priority-queue: Makefile
	pkgsrc/devel/ruby-racc: Makefile
	pkgsrc/devel/ruby-rbtree: Makefile
	pkgsrc/devel/ruby-rcov: Makefile
	pkgsrc/devel/ruby-rcsparse: Makefile
	pkgsrc/devel/ruby-subversion: Makefile
	pkgsrc/devel/ruby-thrift: Makefile
	pkgsrc/graphics/ruby-RMagick: Makefile
	pkgsrc/graphics/ruby-clutter-cairo: Makefile
	pkgsrc/graphics/ruby-clutter-core: Makefile
	pkgsrc/graphics/ruby-clutter-gtk: Makefile
	pkgsrc/graphics/ruby-gd: Makefile
	pkgsrc/graphics/ruby-gnome2-gdkpixbuf: Makefile
	pkgsrc/graphics/ruby-gnome2-goocanvas: Makefile
	pkgsrc/graphics/ruby-gnome2-rsvg: Makefile
	pkgsrc/graphics/ruby-imlib2: Makefile
	pkgsrc/graphics/ruby-opengl: Makefile
	pkgsrc/graphics/ruby-rcairo: Makefile
	pkgsrc/inputmethod/ruby-zinnia: Makefile
	pkgsrc/mail/ruby-tmail: Makefile
	pkgsrc/math/ruby-rb-gsl: Makefile
	pkgsrc/multimedia/ruby-clutter-gst: Makefile
	pkgsrc/multimedia/ruby-gnome2-gstreamer: Makefile
	pkgsrc/multimedia/ruby-ming: Makefile
	pkgsrc/print/ruby-gnome2-poppler: Makefile
	pkgsrc/security/ruby-password: Makefile
	pkgsrc/security/ruby-tcpwrap: Makefile
	pkgsrc/sysutils/ruby-quota: Makefile
	pkgsrc/textproc/ruby-bluecloth: Makefile
	pkgsrc/textproc/ruby-cabocha: Makefile
	pkgsrc/textproc/ruby-eruby: Makefile
	pkgsrc/textproc/ruby-ferret: Makefile
	pkgsrc/textproc/ruby-hpricot: Makefile
	pkgsrc/textproc/ruby-itex2MML: Makefile
	pkgsrc/textproc/ruby-json: Makefile
	pkgsrc/textproc/ruby-libxml: Makefile
	pkgsrc/textproc/ruby-mecab: Makefile
	pkgsrc/textproc/ruby-native-hyperestraier: Makefile
	pkgsrc/textproc/ruby-nokogiri: Makefile
	pkgsrc/textproc/ruby-oniguruma: Makefile
	pkgsrc/textproc/ruby-redcloth: Makefile
	pkgsrc/textproc/ruby-sary: Makefile
	pkgsrc/textproc/ruby-xmlparser: Makefile
	pkgsrc/textproc/ruby-xslt: Makefile
	pkgsrc/textproc/ruby-yamcha: Makefile
	pkgsrc/www/mongrel: Makefile
	pkgsrc/www/ruby-clearsilver: Makefile
	pkgsrc/www/ruby-fcgi: Makefile
	pkgsrc/www/ruby-gnome2-gtkmozembed: Makefile
	pkgsrc/www/ruby-patron: Makefile
	pkgsrc/www/thin: Makefile
	pkgsrc/x11/ruby-gnome2-gtk: Makefile
	pkgsrc/x11/ruby-gnome2-gtksourceview2: Makefile
	pkgsrc/x11/ruby-gnome2-vte: Makefile

Log Message:
Bump PKGREVISION due to ABI change of ruby18-base.
@
text
@d1 1
a1 1
# $NetBSD$
a4 1
PKGREVISION=	1
@


1.5
log
@Update libxml-ruby to 1.1.3.

== 1.1.3 / 2009-03-18 Charlie Savage

* Improve performance 10 to 20% by turning on libxml2's dictionary
  feature that allows parsers to reuse previously parsed strings.

* Fix XML::Node#remove! to work correctly with libxml's dictionary feature.

* Correctly set up parser context options.

* Simplify DOM modification code (Node#next=, Node#prev=, Node#sibling=) and
  update documenation.

* Deprecated Node#add_child and Node#child=, use Node#<< instead

* Fix documentation for Node#<<

* Added Document#import to enable moving nodes from one document
  to another document.


== 1.1.2 / 2009-03-12 Charlie Savage

* Added XML::Node#inner_xml helper method.

* Fix segmentation that could occur when calling the mark function on a
  previously freed node.

== 1.1.1 / 2009-03-10 Charlie Savage

* Fix - Only include extra html parser context methods for versions of libxml
  older than 2.6.27.

== 1.1.0 / 2009-03-09 Charlie Savage

* Fix bug caused by the mark function being called on partially initialized
  attributes.

* Revert back to libxml2's internal memory manager.

== 1.0.0 / 2009-03-05 Charlie Savage

* OS X (Charlie Savage).  Update bindings to support the default installed
  version of libxml2 (2.6.16) on OS X 10.5 and the latest version available
  via MacPorts.

== 0.9.9 / 2009-03-05 Charlie Savage

* Ruby 1.9.1 support (Charlie Savage). libxml-ruby now compiles and runs on eith
er
  1.8.6 and 1.9.1.  With 1.8.6 all tests should pass while on 1.9.1 all but
  for encoding tests pass.  The port to Ruby 1.9.1 revealed two memory
  allocation bugs (one with dtds, one with nodes) which are now fixed.

* Better OS X support (Joe Khoobyar).  The default version of libxml2
  on OS X 10.5 is fairly old, resulting in this link error:

    NSLinkModule() error
    dyld: Symbol not found: _htmlNewParserCtxt

  This can be fixed by using MacPorts to get a newer version of libxml2.
  To make use of MacPorts, the build script has been updated to use xml2-config.
  This can be fine-tuned using the new --with-xml2-config / --without-xml2-confi
g
  options to extconf.rb (default is  --without-xml2-config to match existing beh
avior).

* Greatly reduced memory usage (Joe Khoobyar).
  See http://rubyforge.org/pipermail/libxml-devel/2009-February/001375.html.

* Add Document#xhtml? and document#node_type methods (Joe Khoobyar)

* Add XPath::Object#last (Joe Khoobyar)

* Provide finer control over CDATA nodes on a parser by parser basis  (Joe Khoob
yar).

* Bug fix - Namespaces were incorrectly merged with attributes in the new sax2
  handler (Charlie Savage).

* Bug fix - Support iterating over nodes and attributes even with blocks
  that call remove! (Charlie Savage)

* Bug fix - If reader.node is NULL, return nil instead of crashing (Charlie Sava
ge)

* Bug fix - Dtd's owned by documents were freed twice in some circumstances (Joe
 Khoobyar).

* Bug fix - Fix output escaping on attributes nodes (Joe Khoobyar).

* Bug fix - Make sure IO objects are not garbage collected when used
  as parser sources (Charlie Savage).

== 0.9.8 / 2009-1-24 Charlie Savage

* Refactored XML::Parser, XML::HTMLParser, XML::SaxParser and
  XML::Reader to have consistent APIs.  All the parsers
  now take a context object in their constructors, allowing fine
  grained control over the parsers for advanced use cases.  These
  API changes are backwards compatible except
  for XML::Reader, which now takes an optional hash table as a
  second parameter in its various constructors versus an optional
  boolean value.

* Updated all APIs to use the encoding constants defined
  in XML::Encoding versus string values.  This API change
  is not backwards compatible.

* Added support for attribute declarations in DTD's via the new
  XML::AttrDecl class (Len Lattanzi)

* Support libxml's content escaping capabilities for text nodes by
  wrapping libxml's "xmlStringText" and "xmlStringTextNoenc"
  (Joe Khoobyar).

* Updated XML::Reader#read API to return true if a node was read,
  false if node was not read and raises an exception on an error.
  Previously #read returned 1 if a node was read, 0 if a node was
  not read and -1 for an error.  This change is not backwards
  compatible, but provides a more natural interface for Ruby by
  allowing code like this:

  while reader.read
    # do stuff
  end

* Changed XML::Error exception objects to return copies of nodes that
  cause parse errors instead of the original node.  This prevents
  segmentation faults when the error is reraised.

* Added XML::Reader#node method.

* Fixed compile errors on OS X which uses an older version of libxml.

* Fixed memory leak when performing XPath searches.

* Fixed rdocs.

* Don't override libxml's default settings for entity substitution and
  loading external DTDs.  This may break some code - you may need to
  add in a call to XML.default_substitute_entities = true or
  XML.default_load_external_dtd = true.

== 0.9.7 / 2008-12-08 Charlie Savage

* Added SAX2 support.  SAX handlers now define two new callbacks,
  on_start_element_ns and on_end_element_ns methods.  These
  new callbacks support namespaces, making them superior to the older
  callbacks on_start_element and on_end_element methods.  The old callbacks
  are still supported, but may be deprecated in the future depending
  on community feedback.

* Added SAX support for libxml's structured error handling.
  That menas sax handlers now define a new callback, on_error,
  which takes one parameter, an instance of XML::Error.  The older
  on_parser_error, on_parser_warning and on_parser_fatal_error
  callbacks are no longer suported so you must port your code.
  Note that the older callbacks took one string parameter, instead of
  an XML::Error object.

* Experimental work-around for libxml error handling bug - see
  http://mail.gnome.org/archives/xml/2008-December/msg00014.html
  for more information.

* Fix compilation bugs on Solaris.

* Fix Rdoc compilation bug.


== 0.9.6 / 2008-12-08 Charlie Savage

* Refactored namespace handling.  The existing, and inconsistent,
  namespace methods defined on XML::Node have been deprecated.
  They have been replaced by a the new XML::Namespaces class.
  Use this class to inspect a node's namespace, its default
  namespace, its namespace definitions and which namespaces
  are in scope.  It can be accessed via the the
  XML::Node#namespaces method.

* Rationalized XML::Document#save, XML::Document#to_s and
  XML::Node#to_s to take an optional hash table of parameters
  that control how output is generated. Supported parameters
  include setting indentation on or off, the indentation level
  and the output encoding.  This is an API change and may break
  existing calls to XML::Document#save.  However, the previous
  API was broken - setting the encoding resulted in an error so
  its unlikely anyone is using it.

* Rationalized XML::Document#debug, XML::Node#debug, XML::XPath::XPathObject#Deb
ug.

* Deprecated a number of duplicate dump* and debug_* methods in
  XML::Document and XML::Node.

* Additional Ruby 1.9.1 compatability fixes.

* Cleaned up header file guards.

== 0.9.5 / 2008-11-29 Charlie Savage

* Ruby 1.9.1 preview release compatability (Felipe Contreras)

* Update Node#remove! to return the removed node and to set
  its document to nil.  This allows the node to be either
  moved to another document, another part of the same document
  or to be freed on the next garbage collection once its
  references have gone out of scope.

* Fix bug where XPathExpression#compile mistakenly overwrote
  RegExp#compile.

* Update Node to use standard ruby allocators and initializers.

* Update HTML parser to be more forgiving of invalid documents.

* Update include paths for Darwin Ports on OS X.

* Updated C code base to use BSD/Allman style


== 0.9.4 / 2008-11-24 Charlie Savage

* Update HTML parser so that it can read files, strings and io
  streams.

* Update HTML parser to support user specified encodings.

* Additional C code cleanup.

== 0.9.3 / 2008-11-22 Charlie Savage

* Fixed segmentation fault caused by documents being freed
  before xpath results that referenced the document (take 2).

* Allowed sax parser to use io stream

* Combined encoding and input classes

* Cleaned up C code - removed remaining legacy structures,
  added static to most methods, changed C namespace from ruby_xml
  to rxml

== 0.9.2 / 2008-11-19 Charlie Savage

* Add support for compiled XPath expressions (donated by Pavel Valodzka)

* Fixes for compiling on OS X 10.5.4 and 10.5.5

== 0.9.1 / 2008-11-18 Charlie Savage

* Expose LibXML's encoding support via a new Encoding object.

* Revamp error handling to be much easier to use.  Errors are now
  wrapped by the new XML::Error class and are thrown as exceptions
  when it is appropriate.

* Fixed segmentation fault caused by documents being freed
  before xpath results that referenced the document.

* Add Node#register_default_namespace to simplify default namespace handling.

* Significantly improve documentation

* A number of bug fixes and patches.

== 0.9.0 / 2008-11-18 Charlie Savage

* Version 0.9.0 was removed due to packaging errors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2008/07/29 09:58:39 seb Exp $
d10 1
d12 1
a12 1
GEM_BUILD=		gemspec
d16 1
a16 1
.include "../../misc/rubygems/rubygem.mk"
@


1.4
log
@Update to version 0.8.3 from version 0.5.4.

Changes:

== 0.8.3 / 2008-07-21 Charlie Savage
* Missed several files in last release

== 0.8.2 / 2008-07-21 Charlie Savage
* To use LibXML you can either require 'xml' or require 'libxml'.
  The differences is that require 'xml' mixes the LibXML module into
  the global namespace, thereby allowing you to write code such
  as document = XML::Document.new.  Note that this is different
  from 0.8.0 and 0.8.1 and may require updating your code.
* Support RelaxNG validation (thanks to Morus Walter)
* Support passing IO objects to XmlReaders (thanks to Tom Hughes)
* Fix segmentation fault caused by adding an attribute to a CDATA node
* Moved node checking functions from C to Ruby
* Improved Windows support - libxml-ruby should now work out of the box.
* Improved Windows support - turned on libxml's zlib and iconv support.

== 0.8.1 / 2008-07-09 Charlie Savage
* Reimplmented Node#each_attr for backwards compatability
* Moved node type test to Ruby.

== 0.8.0 / 2008-07-09 Charlie Savage
* Fixed bug in returning attributes from XPath results
* Fixed DOM traversal methods
* Changed Node#children to return an array of nodes
* Fixed bug in returning attributes from XPath results
* Refactored XPath support, providing more user hooks in the
XPath::Context class
* Added Node#properties for backwards compatibility
* Updated setup.rb
* Added more tests
* Updated rdocs and README file
* Moved libxml into LibXML namespace

== 0.7.0 / 2008-07-09 Charlie Savage
* Added new attributes class to provide a more natural way of
working with attributes
* Fixed XML::Attr to better support namespaces
* Added documentation on how to use namespaces with XPath
* Removed allocation of extraneous structures used to wrap nodes,
namespaces and attributes
* Cleaned up tests and added new test suite
* Updated rdocs and README file
* Cleaned out most of the bug list

== 0.6.0 / 2008-07-01 Charlie Savage
* Fixed memory allocation errors in Windows.  On Windows, it is
essential that the same library that all ocates memory must free
it. Thus ALLOC calls must be matched to ruby_xfree calls, which
they were not.  In addition, in one case Ruby was allocating memory
to be freed by libxml.  On Windows, that's a segment ation fault.
On Linux it might fly, but still seems like a bad idea.
* Fixed segmentation fault in xml reader expand (same xml tree freed twice)
* Applied a number of patches from Tom Bagby, including fixes for
xpath segmentation faults and fixes fo r various memory leaks
* Cleaned up a number of compiler warnings
* Renamed libxml_so.so to libxml_ruby.so (same for xslt).  That
wasn't actually my original intention, b ut um, it kind of sort of
happened.  It should not be noticeable from an end-user perspective.
* Added rake files for building with MingW
* Added rake files for packing gems.  Note that I did this outside
the existing rake tasks because I did n't see how they were actually
building the gems.
* Cleaned up the tests and added a few more based on bug reports
from the Tracker and mailing list.
* Cleaned out the patch queue and went through about 1/2 the bug
list

=== 2007-11-16 "Dan Janowski" <danj at 3skel.com>
* Merged Dan's MEM2 branch to trunk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2008/06/19 15:21:35 taca Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-0.8.3
a4 1
#PKGREVISION=	1
@


1.3
log
@Bump PKGREVISION of rubygem based packages which contain extention libraries.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2008/04/04 15:21:57 jlam Exp $
d3 1
a3 1
DISTNAME=	libxml-ruby-0.5.4
d5 1
a5 1
PKGREVISION=	1
@


1.2
log
@Update ruby-libxml to version 0.5.4.  Changes from version 0.3.8.4 include:

+ Install as a Ruby gem.

* Added XML::Reader, a set of bindings to the xmlTextReader API.
* Other changes were made, but they were done on a branch with no
  changelog available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2008/03/11 16:41:23 taca Exp $
d5 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.1.1.1 2008/01/15 10:56:59 rillig Exp $
#
d3 1
a3 1
DISTNAME=	libxml-ruby-0.3.8.4
d5 1
a5 2
CATEGORIES=	textproc ruby
MASTER_SITES=	http://rubyforge.org/frs/download.php/15237/
d11 3
a13 3
RUBY_HAS_ARCHLIB=	yes
USE_RUBY_EXTCONF=	yes
RUBY_EXTCONF_SUBDIRS=	ext/xml
d15 1
a15 1
CONFIGURE_ARGS+=	--with-xml2-include=${BUILDLINK_PREFIX.libxml2}/include/libxml2
d17 1
a17 1
.include "../../lang/ruby/modules.mk"
a18 1
.include "../../converters/libiconv/buildlink3.mk"
@


1.1.1.1
log
@Reimport ruby-libxml package as correct path.

@
text
@@
