-
Notifications
You must be signed in to change notification settings - Fork 25
/
RELEASE.html
174 lines (120 loc) · 5.59 KB
/
RELEASE.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Redland RDF Application Framework Bindings</title>
<style type="text/css">
<!--
pre
{
margin: 1em 4em 1em 4em;
background-color: #eee;
padding: 0.5em;
border-color: #006;
border-width: 1px;
border-style: dotted;
}
-->
</style>
</head>
<body>
<h1>Redland RDF Application Framework Bindings</h1>
<h2 id="rel0_9_18_1"><a name="rel0_9_18_1">Redland Bindings 0.9.18-1 Changes</a></h2>
<p>Rebuild for Redland 0.9.18 - no API changes</p>
<h2 id="rel0_9_17_1"><a name="rel0_9_17_1">Redland Bindings 0.9.17-1 Changes</a></h2>
<p>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</p>
<h3>General Changes</h3>
<p>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.</p>
<p>For most of the language bindings, the interface between them is
using the <a href="http://www.swig.org/">swig</a> 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 <code>redland-config --swig</code>
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 <code>-DREDLAND_PRE_I</code> to #include redland-pre.i from the
Redland.i.</p>
<p>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.</p>
<h3>Packaging changes</h3>
<h3>C# API (Redland#) Changes</h3>
<p>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:</p>
<ul>
<li>Namespace changed from Rdf to Redland</li>
<li>Added marshalling of strings between Redland and Redland#</li>
<li>Freeing of native Redland objects by implementing the C# IDisposable interface, the Dispose method</li>
<li>Query and QueryResults Classes: Added for new Redland 0.9.17 librdf_query
and librdf_query_results classes.</li>
<li>Added strong naming of Redland.dll</li>
<li>Class Model. Added methods Execute, GetContexts, GetFeature, SetFeature, Load.</li>
<li>Class World. Updated to use new Redland 0.9.17 logging API especially for parsing errors and warnings</li>
<li>Class Parser: ParserError for parsing exceptions</li>
<li>Classes Errors, Locator, LogMessage: Added for wrapping structured
error messages returned from parsing.</li>
<li>Classes Node, Statement, Uri: Added Equals, operator==, operator !=</li>
<li>Classes Stream and Iterator: Fixes for the IEnumerable interface</li>
<li>Class Node: Added methods for types - Type, IsResource, IsLiteral, IsBlank</li>
<li>Class Node: Added method Uri.</li>
<li>Fixed handling of null / IntPtr.Zero in several methods</li>
</ul>
<h3>Java API Changes</h3>
<p>This API has not been updated for all Redland 0.9.17 changes.</p>
<p>Class Statement. Added equals method.</p>
<h3>Perl API changes</h3>
<p>This API has been updated for all Redland 0.9.17 changes.</p>
<ul>
<li>Class Statement. Added equals method.</li>
<li>Classes Query, QueryResults: Added for new Redland 0.9.17 librdf_query
and librdf_query_results classes.</li>
<li>Class Model: Added execute method.</li>
</ul>
<h3>PHP API Changes</h3>
<p>No changes needed as this is a bare API directly using Redland
functions.</p>
<p>Added some PHP 4.3 compatible defines to the test program.</p>
<h3>Python API changes</h3>
<p>This API has been updated for all Redland 0.9.17 changes.
The main changes are as follows:</p>
<ul>
<li>Another attempt to return errors and warnings from parsing better.</li>
<li>Class Model. Added new method load.<br />
Added new method execute to invoke querying on a model.
</li>
<li>Class NS: Copy librdf_node each time since sharing the C pointers
is wrong.</li>
<li>Class Parser. Method parse_string_as_stream example fixed to show
the required base_uri parameter.</li>
<li>Clases Query, QueryResults: Added for new Redland 0.9.17 librdf_query,
librdf_query_results including unit tests (Matt Biddulph)</li>
<li>Class Statement. Added equality and inequality operators.<br />
Added matches operator for comparing an incomplete
statement with None values against a complete one
</li>
<li>Class TurtleParser, NTriplesParser: Added convenience classes to create
parsers for the Turtle and N-Triples syntaxes.(Matt Biddulph)
</li>
</ul>
<h3>Ruby API changes</h3>
<p>Replaced with a fuller API rdf-redland written by by Dominic Sisneros.
See the
<a href="http://rubyforge.org/projects/rdf-redland">rdf-redland project site</a>.</p>
<p>This API has not been updated for all Redland 0.9.17 changes but
may have newer version at the URI above.</p>
<p>Class statement. Added == operator.</p>
<h3>Tcl API changes</h3>
<p>No changes needed as this is a bare API directly using Redland
functions.</p>
<hr />
<p>Copyright 2004 <a href="http://purl.org/net/dajobe/">Dave Beckett</a>, <a href="http://www.ilrt.bris.ac.uk/">Institute for Learning and Research Technology</a>, <a href="http://www.bristol.ac.uk/">University of Bristol</a></p>
</body>
</html>