Synchronise with Redland 1.0.16 (release notes). This release requires Redland 1.0.16 which requires Rasqal 0.9.25 and Raptor 2.0.7 or newer.
Issues Fixed:
Update ruby configuration for newer 1.9 config macros and variables using ruby arch include directory if it exists.
Set the ruby build suffix at configure time and add an option to
make it configurable with configure
argument
--with-ruby-linking
taking values 'so', 'dylib' or
'bundle'
Added configure --with-ruby-install-dir-variable
to set
non-arch ruby install var.
Fixes Issue #0000480
Make Parser class method parse_string_into_model()
work properly.
Fix ruby -w warnings - commenting out literals. Fixes Issue #0000243
Remove all RDQL test queries since support is being removed from Rasqal.
autogen.sh
now supports the NOCONFIGURE
variable like Lib{XML2,XSLT}, aborts the run if an progrma fails and
creates the NEWS if it does not exist to aid building from GIT and
'make dist'.
Never released.
Synchronise with Redland 1.0.14 (release notes). This release requires Redland 1.0.14 which requires Rasqal 0.9.25 and Raptor 2.0.0 or newer.
SWIG 2.0.0 or newer is now recommended. Not tested with SWIG 1.x series.
Issues Fixed:
Perl 5.7.3 or newer is required now.
Node and URI class: set utf8 flag on scalars in Node->literal_value and URI->as_string. (Gregory Todd Williams)
Added a hack to prevent false runtime warnings about a variable used once.
PHP logging and error handling enhancements. (Joe Presbrey)
Change all 'type(arg) is T' to 'isinstance(arg, T)' to allow subclassing of the Redland python classes. Fixes Issue #00000473
Synchronise with Redland 1.0.13 (release notes). This release requires Redland 1.0.13 which requires Rasqal 0.9.25 and Raptor 2.0.0 or newer. Raptor V1 support was removed.
Issues Fixed:
Validate all constructors set attributes to None so that early destruction does not give undefined attribute errors.
Node
class methods __str__()
and
__unicode__()
methods now return simple string results.
Node
class method __unicode__()
no
longer returns a formatted result (in N-Triples) but grabs a simple
string value for literal, blank and uri.
Node
class gains a blank
property
returning a Unicode blank node ID.
Node
class gains a literal
property
returning a tuple of (string, language, datatype URI).
Query
constructor now accepts Unicode
querystrings
argument values.
Issue #0000403
QueryResults
method to_string()
was fixed to return bindings results when given a base URI.
Using len()
on an iterable QueryResults
now returns an exception since this breaks the idea of an iterable
object; it has no well defined length.
Issue#0000401
Model class method triples_with_context()
now returns
both the statement and context properly.
Issue #0000390
Fixed a number of Ruby tests by restoring
Redland::Node#to_s
to it's old behavior of returning
string values without quotes.
Made the Ruby tests less noisy.
Improved Ruby serialiser tests.
Removed redland-config
support; use only
pkg-config redland
.
Removed --with-redland
option and support for
compiling against a non-installed redland.
configure
now warns if the system redland is newer
than our version and errors out if it is older.
The python configuration in configure
now uses
distutils.sysconfig
function
get_python_lib()
to get the library binary directory.
Added option --with-python-get-python-lib-args
to set the
parameters if necessary.
Issue#0000398
The perl configuration in configure
was updated
to use a new --with-perl-makemaker-args
option to allow the
builder or packager to configure the perl build and installation
using standard ExtUtils::MakeMaker
options.
Issue #0000411
The ruby configuration in configure
was updated
to add --with-ruby-install-dir
,
--with-ruby-arch-install-dir
and
--with-ruby-arch-install-dir-variable
options
to configure Ruby installation paths for architecture independent
and architecture-dependent files.
Issue #0000412
All files are now recorded that they are available under the three license alternatives (or any newer version) using the current text from LICENSE.html at the root of this package. In addition python/RDF.py is also available under the BSD License without advertising (aka MIT license), the license text is included in the file. Issue #0000413
Issues Fixed:
Added experimental Lua language binding. Use
--with-lua=lua5.1
etc. to select a particular binary and
version. This same name will be used with pkg-config(1)
to get the include and link lines.
Fix Unicode conversion for strings to use correct functions and throw better runtime errors exceptions.
Fix linking parameter order for python to help with newer GCC that
force -Wl,--as-needed
link args.
Fixed method Redland::Resource.type? to not always return true: Issue #0000292
Issues Fixed:
Make PHP bindings link again by restoring LDFLAGS.
Fix PHP C interface librdf_php_check_exception to work when compiled with "ZTS mode". Whatever that is!
Added Parser class method namespaces_seen
Allocate enough bytes for storing an UTF-8 encoded version of a python UCS-2 encoded Unicode string - up to 3 bytes per codepoint. Fixes Issue#000313
Added PYTHON_LDFLAGS, PYTHON_LIBEXT, PYTHON_INCLUDES and
PYTHON_LIB configure
envariables to override/set the
python build parameters. Thanks to 'normang' for inspring this
change from the patch in the
Issue#0000257
that it fixes.
Model class method delete
: allow wildcards in s,p,o
to delete a set of statements from a Model.find call. Patch from Aria
Stewart.
Model class method load
: added
Parser class methods parse_into_model
and
parse_string_into_model
: add documentation to note
argument orders are different.
Resource class method type?
: Use return value of
model.find - a sequence and count it's size rather than just compare
value to nil. Addresses
Issue#000292
but may not fix it.
Alter linking to put LDFLAGS at end of line so that they can be overridden by user/distro. Patch from Aria Stewart.
Never released.
The main change in this release is to synchronise with Redland 1.0.8 (Redland 1.0.8 release Notes) and provide a few other fixes and improvements.
Changed the configuration to prefer using pkg-config
details over redland-config. This is the future and also makes
linking work better on OSX.
The Parser and Serializer class feature methods now cast values to/from Node for set/get when needed.
Modified linking to use new configure options
--with-python-ldflags
and
--with-python_libext
options to help systems such
as Cygwin where the shared libraries are not .so
Updates to tests for expected SPARQL XML Results.
The main change in this release is to synchronise with Redland 1.0.7 (Redland 1.0.7 release Notes) and provide a few other fixes and improvements.
Removed Tcl, Java and C# APIs from the release as promised in Feb 2007
Throws proper PHP5 exceptions when errors happen, passing along location information to the caller.
Null URIs and Redland nodes can be given with a PHP null
.
Probably does not work on PHP4 anymore.
Parser class: Do not set rdfxml as default parser, let Redland figure that out.
Parser class: add method set_uri_filter to set the URI rejection filter function.
GRDDLParser class: added as a convenience class to create a parser of name 'grddl'.
Fixed Issue#0000212 : QueryResults.to_string is not working
Updated SPARQL CONSTRUCT
in perl example and test code
Fixes Issue#0000247: Actuall v is 1.0.6.1 ; example.pl ends with an error
Updated autogen.sh
to handle better vesioning, OSX
glibtoolize and ltdl.
Some C# build fixes.
The main change in this release is to synchronise with Redland 1.0.6 (Redland 1.0.6 release Notes) and provide several other fixes and improvements.
None
None
Parser class gains namespaces_seen method to return hash of namespace prefix/uris seen during a parse.
None
QueryResults class method __len__: Return 0 when the count is not 0 Fixes Issue #0000166
Model class method add_statement now raises an error if adding statement fails.
Node class constructor: Convert literals from Unicode to UTF-8 for redland n=RDF.Node(literal= u'this is unicode') now works Fixes Issue #0000147
Query class now raises an error if construction fails.
Serializer class constructor now defaults to none name, mime_type and raises an error if construction fails.
Apply patch from #0000121 again not properly fixed in previous patching owl.rb Fixes Issue #0000121
Uri, NodeIterator and QueryResults classes gain a finalizer to close and free up the redland objects on destruction.
Model, Parser, Query, Serializer and Store classes: Apply patch to comment out log .info calls. Fixes Issue #0000170 and Issue #0000172
Serializer class feature methods: Fix use of Node constructor. Fixes Issue #0000140
Serializer class method model_to_string: Fix null base_uri (Patch from Jeff Dutton)
Strem class fixed incorect call to librdf_free_model(stream) Fixes Issue #0000171
None
The main change in this release is to synchronise with Redland 1.0.5 (Redland 1.0.5 release Notes) and provide several other fixes and improvements.
Patched configure
to remove un-necessary tests for
C++ or F77++ compilers that libtool
stupidly insists
on.
Added --with-python-ldflags
for working around
installing python in odd places.
Create directories before make install. Fixes Issue #0000126
Model class methods getSource, getArc and getTarget now return null rather than try to create a Node with null value.
Parser class constructors now working again, defaulting to RDF/XML parser.
Add Java Query and QueryResults classes and example of using them. Added Serializer method setNamespace.
Parser class now allows undef arguments for base URIs.
None.
Subclass python class Warning
defined in C for making
a RedlandWarning
.
Fixes Issue #0000109
Storage class gained some update docs.
Model class added method to_string. Removed several puts in methods. Method save now works when using default serializer and not filename.
Node class method from_node now calls Uri constructor properly.
Node class now defines bnode and anon to match docs Fixes Issue #0000122
Parser class now has constructor for a turtle parser.
QueryResults class added method bindings_count.
QueryResults class methods binding_value, binding_value_by_name now handle nil values.
Serializer class modified method set_namespace to use prefix, uri_ordering. Constructor now defaults to rdfxml syntax.
Storage class no longer echos storage options to stdout.
Added OWL_NS to owl.rb. Fixes Issue #0000121
Example gains query and serializer test code.
Removed some recursive includes of Redland
.
The main change in this release is to synchronise with Redland 1.0.4 (Redland 1.0.4 release Notes) and provide some other minor fixes.
Now using Subversion for version control and the Redland bindings installation instructions explain how to get Redland from Subversion.
Return null
in more cases when a redland function
returns 0/NULL for a function result..
Rename the SWIG accessor java functions for the constants which changed in some previous SWIG verison.
No changes.
No changes.
Fix module cleanup to ensure Redland.librdf_free_world lives till the end.
NS
Class: Rename method node
and local
variables to __
-prefixed names less likely to be used in a namespace.
Edit to allow omitting a literal language and make the default work with the updated typed literal fix in Redland 1.0.3
Build fixes for newer SWIG.
Update build configuration to record redland name/version correctly.
The main changes in this release are:
Synchronises with Redland 1.0.3 (Redland 1.0.3 release Notes)
Many fixes across multiple binding languages.
Version Control change: Redland Bindings will be switching to use Subversion for version control after the 1.0.2.1 release. Please check the Redland Subversion site for the latest status or the online Redland Bindings installation notes for the Redland Bindings specific subversion installation information.
The build now generates a bindings.rdf DOAP file.
The autogen.sh script for building from a soruce code checkout was revamped to be more modular.
RPM spec file was updated. It now defines perl_sitearch, python_libdir, ruby_dir and ruby_libdir at RPM build time. The build requirements were split out and now declare minimum versions. Uses newer %configure and %{__make} macros and License header field.
Namespace fixes patch from John Barstow.
Update nunit console to newer.
Update C# syntax for Mono 1.8.x+.
No changes.
QueryResults.to_string
: return boolean format results.
Storage
constructor: Improve storage options handling
by allowing a perl hash options in addition to the current form of a
string of redland options. Patch from Kjetil Kjernsmo.
Insert phpinfo and module shutdown using SWIG alone which might work better.
Model.load
returns a booleanParser.parse_into_model
and
Parser.parse_string_into_model
now return boolean
success/failureParser
and
Serializer
convienence classes, keeping the same
defaultstestSPARQLQueryTwiceOverwriteVar
which fails due to current Rasqal implementation.SWIGEXPORT
macro which breaks on newer SWIGsWorld.__del__
: Added hack to prevent death if python
destroys the Redland module before the RDF module. Fixes
Issue #0000044URI.__hash__
: Use hash of str(self) to make a working URI hash allowing
Redland URIs to be stored in Python dicts.
Fixes Issue #0000047QueryResults.make_results_hash
,
QueryResults.get_binding_value
and
QueryResults.get_binding_value_by_name
: Check for a None
value and set it in the results correctly.
Fixes Issue #0000059Parser.parse_string_as_stream
and
Parser.parse_string_into_model
: Convert a Python unicode
string to the UTF-8 bytes Redland expects.
Fixes Issue #0000061
RedlandError
and
RedlandWarning
properly returned from the RDF module by
importing them correctly from C.
Fixes Issue #0000068
QueryResults.to_file
and
QueryResults.to_string
now use the default format when
given None.log4r
not really ever usedSerializer
class method model_to_string
added.Query
class method initialize - add missing base_uri argQueryResults
class: added, separate from query class.Statement
class method ==(other) addedModel
class method query_execute
addedParser
class: Use rdfxml as parser nameResource
class method initialize: Make it work with a Uri
argument.
Fixes Issue #0000048.Model
class method get_resource): Handle find returning nil for no result.
Fixes Issue #0000049
No changes.
This release is mainly to synchronise with Redland 1.0.2
Query results are now serialized to the latest SPARQL XML format.
A $VERSION
variable is exported by the perl binding
so that you can do use RDF::Redland 1.00_02
to ensure you
get a certain version or newer.
Node class method new_literal
modified to accept
several classes of perl URI and fixed to promote them correctly to a
redland URI.
Query results are now serialized to the latest SPARQL XML format.
Update the bindings for newer SWIG and re-order requires to make
irb -r rdf/redland
work (aredridel)
The query demonstrations written in Perl now use the revised SPARQL syntax.
No changes.
No changes.
Perl. Added RDF::Redland
methods
set_log_handler
and reset_log_handler
to get structured error messages. Prefer this to the older handler.
Perl. Added convienience Node subclasses
RDF::Redland::URINode
,
RDF::Redland::XMLLiteralNode
,
RDF::Redland::BlankNode
and
RDF::Redland::LiteralNode
When returning NULL librdf_node* objects, convert them also to a PHP null.
Serializer class gains set_namespace method.
Adjust Node, Statement class comparisons to not assume the other parameter is of the right type. Remove 'return' from constructors. (Daniel Larsson).
Generate html documentation using rdoc (Nikolas Coukouma).
No changes.
Removed bogus C include of the ../librdf dir from all bindings
build; always just use whatever redland-config --cflags
returns.
Added methods for returning query results as RDF graphs, boolean results and as a syntax format such as RDF/XML for graphs, SPARQL Variable Binding Results XML Format for bindings. .
The error handling was altered for parsing methods
class RDF::Redland::Model method load
, class
RDF::Redland::Parser methods parse_into_model
and
parse_string_into_model
which now take an optional
handler parameter that is a subroutine handler providing
detailed log information. This can be used to capture or store
detailed info on possibly multiple problems in parsing.
Fix for swig calling zend_rsrc_list_get_rsrc_type incorrectly.
Added PHP_MINFO_FUNCTION
to report that Redland was
loaded, the version of redland and the PHP bindings.
Change the way that redland errors and warnings are reported.
There are now two choices. By default warnings are now generated
immediately as a Python PyRedland_Warning
warning. The
first error generated is saved and thrown as an
PyRedland_Error
exception after the redland function
returns. If multiple errors are generated, the remaining ones are
left to the default redland error handler, which prints them to
stderr.
The alternative is in parsing methods model.load
,
parser.parse_into_model
and
parser.parse_string_into_model
which now take an
optional handler parameter that is a subroutine handler
providing detailed log information.
This change has a disadvantage in no longer allowing user-registration of callbacks but it does seem to work better with Python than the former mechanism of python calling C calling Python.
The main changes for this release are to provide additional query results formats, in Python only at present and to synchronise with Redland 1.0.0
Correct marshalling .NET strings to and from UTF-8 inside Redland correctly. (Edd Dumbill)
Improve and correct the destruction of internal iterator objects (Edd Dumbill)
Use HandleRef to improve the references to redland World to prevent premature destruction of redland objects. (Edd Dumbill)
See the csharp/ChangeLog in the source tree for more details of these changes.
This binding is for the Objective-C (Obj-C) language with the Cocoa Framework on the Apple OSX platform. It was created and is developed by René Puls who provides it at the Cocoa Bindings for Redland site
No changes.
No changes.
Added convienience classes for making RDQL and SPARQL queries. Added methods for returning query results as RDF graphs and boolean results. Added unittests for those.
Updated to rdf-redland 0.5.3.1 and made the installation work standalone from ruby gem. Fixed some test cases so the testsuite passes now.
No changes.
Redland binding's License was changed from LGPL 2.1/MPL 1.1 to LGPL 2.1/Apache 2 (except for the C# binding).
Rebuild for Redland 0.9.19
Fixes to lose Makefile use of $<
syntax for better
make(1) portability.
configure was updated to try harder to find Java JNI headers,
looking in $JAVA_HOME, or using --with-jdk
argument.
Assign the logging delegate to a private member to stop it being prematurely garbage collected. (Edd Dumbill)
Rewrote $uri=$uri->{URI}
style code to prevent
premature object destruction.
Class Model: Added to_string() method.
Classes Query, QueryResults: Made documentation and examples to match the code.
Added a typemap to provide a proper PHP ZVAL_NULL
value when returning a NULL librdf_stream*
or
librdf_iterator*
object pointer, rather than a
swig-typed NULL pointer.
Rewrote uri=uri._reduri
style code to prevent
premature object destruction.
Class Model: Added method to_string.
Class Node: Documented literal language and other literal_language method dictionary keys.
Rebuild for Redland 0.9.18 - no API changes
This is the first release of Redland Bindings separate from Redland and includes the following changes compared to the language bindings in Redland 0.9.16
The main change is to split the API that Redland exports in the redland package from the language specific parts in the redland-bindings package.
For most of the language bindings, the interface between them is
using the swig interface generator tool.
This is now defined by the Redland.i file provided by the redland
package (in binary packages inside redland-devel rpm or librdf-dev
debs). This can also be found via redland-config --swig
and then used to generate the C wrappers for the bindings. There may
be need for language-specific changes which can be used via #included
.i files triggered by calling swig and the C compiler with defines
like -DREDLAND_PRE_I
to #include redland-pre.i from the
Redland.i.
The last paragraph does not apply to C# (Redland#) which uses the built in P/Invoke feature of the language and runtime to call the Redland functions directly.
This is an entirely new API for 0.9.17 originally created by Cesar Lopez Nataren. It was updated by Dave Beckett to work with the released Mono 1.0 and substantially improved by Edd Dumbill. Changes since Cesar's version are given in detail in the csharp directory ChangeLog but include:
This API has not been updated for all Redland 0.9.17 changes.
Class Statement. Added equals method.
This API has been updated for all Redland 0.9.17 changes.
No changes needed as this is a bare API directly using Redland functions.
Added some PHP 4.3 compatible defines to the test program.
This API has been updated for all Redland 0.9.17 changes. The main changes are as follows:
Replaced with a fuller API rdf-redland written by by Dominic Sisneros. See the rdf-redland project site.
This API has not been updated for all Redland 0.9.17 changes but may have newer version at the URI above.
Class statement. Added == operator.
No changes needed as this is a bare API directly using Redland functions.
Copyright (C) 2004-2013 Dave Beckett
Copyright (C) 2004-2005 University of Bristol