| 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
| 4 | <head> |
| 5 | <title>Redland librdf Language Bindings</title> |
| 6 | <style type="text/css"> |
| 7 | <!-- |
| 8 | pre |
| 9 | { |
| 10 | margin: 1em 4em 1em 4em; |
| 11 | background-color: #eee; |
| 12 | padding: 0.5em; |
| 13 | border-color: #006; |
| 14 | border-width: 1px; |
| 15 | border-style: dotted; |
| 16 | } |
| 17 | --> |
| 18 | </style> |
| 19 | </head> |
| 20 | <body> |
| 21 | |
| 22 | <h1>Redland librdf Language Bindings</h1> |
| 23 | |
| 24 | <h2 id="rel1_0_17_1"><a name="rel1_0_17_1">Redland-bindings 1.0.17.1 changes</a></h2> |
| 25 | |
| 26 | <p>Synchronise with <a href="http://librdf.org/">Redland</a> 1.0.17 |
| 27 | (<a href="http://librdf.org/RELEASE.html#rel1_0_17">release notes</a>). |
| 28 | This release requires Redland 1.0.16 or newer which requires Rasqal |
| 29 | 0.9.25 and Raptor 2.0.7 or newer. |
| 30 | </p> |
| 31 | |
| 32 | <p>Issues Fixed:</p> |
| 33 | <ul> |
| 34 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=406">0000406</a>: Python API one-liner segfaults</li> |
| 35 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=549">0000549</a>: add python 3 support to redland-bindings</li> |
| 36 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=552">0000552</a>: make test-php has problem finding librdf.so.0</li> |
| 37 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=569">0000569</a>: example.py: "librdf_query_execute(" ... syntax error, unexpected '(', expecting '{'</li> |
| 38 | </ul> |
| 39 | |
| 40 | |
| 41 | <h3>Python Bindings changes</h3> |
| 42 | |
| 43 | <p>Add query limit and offset getter/setter wrappers to RDF.py. |
| 44 | Patch from <a href="https://github.com/artfwo">artfwo</a> - thanks.</p> |
| 45 | |
| 46 | <p>Added Python 3.0 support (continue supporting python 2) with patch |
| 47 | from Diane Trout - thanks. |
| 48 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=549">Issue #0000549</a></p> |
| 49 | |
| 50 | <p>Generate recommended files: <code>_Redland.so</code>code> (or |
| 51 | .dylib) wrapped by <code>Redland.py</code>. Redland.py is now |
| 52 | required to be shipped to make the bindings work. <b>WARNING:</b> |
| 53 | this will likely cause distribution packaging changes. |
| 54 | Patch from <a href="https://github.com/petli">Peter Liljenberg</a> - thanks.</p> |
| 55 | |
| 56 | <p>Added examples of MySQL storage. |
| 57 | Patch from <a href="https://github.com/olberger">Olivier Berger</a> - thanks.</p> |
| 58 | |
| 59 | <p>Use python distutils get_python_inc() to get includes path. |
| 60 | </p> |
| 61 | |
| 62 | <h3>Ruby Bindings changes</h3> |
| 63 | |
| 64 | <p>Updated <code>configure</code> to get Ruby 2.0 arch headers file |
| 65 | so the bindings work with Ruby 2.</p> |
| 66 | |
| 67 | |
| 68 | <h3>Other changes</h3> |
| 69 | |
| 70 | <p>Removed old tests</p> |
| 71 | |
| 72 | |
| 73 | <h2 id="rel1_0_16_1"><a name="rel1_0_16_1">Redland-bindings 1.0.16.1 changes</a></h2> |
| 74 | |
| 75 | <p>Synchronise with <a href="http://librdf.org/">Redland</a> 1.0.16 |
| 76 | (<a href="http://librdf.org/RELEASE.html#rel1_0_16">release notes</a>). |
| 77 | This release requires Redland 1.0.16 which requires Rasqal 0.9.25 |
| 78 | and Raptor 2.0.7 or newer. |
| 79 | </p> |
| 80 | |
| 81 | <p>Issues Fixed:</p> |
| 82 | <ul> |
| 83 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=243">0000243</a>: Ruby bindings emit lots of warnings when loading library</li> |
| 84 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=444">0000444</a>: Ruby bindings installation is incomplete (redland.bundle missing)</li> |
| 85 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=480">0000480</a>: installation for ruby could still be improved</li> |
| 86 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=498">0000498</a>: 'parse_string_into_model' calls 'parse_string_as_stream' with an incorrect number of parameters in Ruby binding</li> |
| 87 | </ul> |
| 88 | |
| 89 | |
| 90 | <h3>Ruby bindings changes</h3> |
| 91 | |
| 92 | <p>Update ruby configuration for newer 1.9 config macros and |
| 93 | variables using ruby arch include directory if it exists.</p> |
| 94 | |
| 95 | <p>Set the ruby build suffix at configure time and add an option to |
| 96 | make it configurable with <code>configure</code> argument |
| 97 | <code>--with-ruby-linking</code> taking values 'so', 'dylib' or |
| 98 | 'bundle'</p> |
| 99 | |
| 100 | <p>Added configure <code>--with-ruby-install-dir-variable</code> to set |
| 101 | non-arch ruby install var. |
| 102 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=480">Issue #0000480</a> |
| 103 | </p> |
| 104 | |
| 105 | <p>Make Parser class method <code>parse_string_into_model()</code> |
| 106 | work properly. |
| 107 | </p> |
| 108 | |
| 109 | <p>Fix ruby -w warnings - commenting out literals. |
| 110 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=243">Issue #0000243</a></p> |
| 111 | |
| 112 | <h3>Other changes</h3> |
| 113 | |
| 114 | <p>Remove all RDQL test queries since support is being removed from |
| 115 | Rasqal.</p> |
| 116 | |
| 117 | <p><code>autogen.sh</code> now supports the <code>NOCONFIGURE</code> |
| 118 | variable like Lib{XML2,XSLT}, aborts the run if an progrma fails and |
| 119 | creates the NEWS if it does not exist to aid building from GIT and |
| 120 | 'make dist'.</p> |
| 121 | |
| 122 | |
| 123 | <h2 id="rel1_0_15_1"><a name="rel1_0_15_1">Redland-bindings 1.0.15.1 changes</a></h2> |
| 124 | |
| 125 | <p>Never released. |
| 126 | </p> |
| 127 | |
| 128 | |
| 129 | <h2 id="rel1_0_14_1"><a name="rel1_0_14_1">Redland-bindings 1.0.14.1 changes</a></h2> |
| 130 | |
| 131 | <p>Synchronise with <a href="http://librdf.org/">Redland</a> 1.0.14 |
| 132 | (<a href="http://librdf.org/RELEASE.html#rel1_0_14">release notes</a>). |
| 133 | This release requires Redland 1.0.14 which requires Rasqal 0.9.25 |
| 134 | and Raptor 2.0.0 or newer. |
| 135 | </p> |
| 136 | |
| 137 | <p>SWIG 2.0.0 or newer is now recommended. Not tested with SWIG 1.x |
| 138 | series.</p> |
| 139 | |
| 140 | <p>Issues Fixed:</p> |
| 141 | <ul> |
| 142 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=473">0000473</a>: Python API objects can not be sub-classed.</li> |
| 143 | </ul> |
| 144 | |
| 145 | |
| 146 | <h3>Perl changes</h3> |
| 147 | |
| 148 | <p>Perl 5.7.3 or newer is required now.</p> |
| 149 | |
| 150 | <p>Node and URI class: set utf8 flag on scalars in |
| 151 | Node->literal_value and URI->as_string. (Gregory Todd Williams) |
| 152 | </p> |
| 153 | |
| 154 | <p>Added a hack to prevent false runtime warnings about a variable |
| 155 | used once.</p> |
| 156 | |
| 157 | <h3>PHP changes</h3> |
| 158 | |
| 159 | <p>PHP logging and error handling enhancements. (Joe Presbrey) |
| 160 | </p> |
| 161 | |
| 162 | |
| 163 | <h3>Python changes</h3> |
| 164 | |
| 165 | <p>Change all 'type(arg) is T' to 'isinstance(arg, T)' to allow |
| 166 | subclassing of the Redland python classes. |
| 167 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=473">Issue #00000473</a> |
| 168 | </p> |
| 169 | |
| 170 | |
| 171 | <h2 id="rel1_0_13_1"><a name="rel1_0_13_1">Redland librdf Language Bindings 1.0.13.1 Changes</a></h2> |
| 172 | |
| 173 | <p>Synchronise with <a href="http://librdf.org/">Redland</a> 1.0.13 |
| 174 | (<a href="http://librdf.org/RELEASE.html#rel1_0_13">release notes</a>). |
| 175 | This release requires Redland 1.0.13 which requires Rasqal 0.9.25 |
| 176 | and Raptor 2.0.0 or newer. Raptor V1 support was removed. |
| 177 | </p> |
| 178 | |
| 179 | <p>Issues Fixed:</p> |
| 180 | <ul> |
| 181 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=390">Issue #0000390</a>: Ruby Redland::Model#triples_with_context exception</li> |
| 182 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=398">Issue #0000398</a>: configure.ac hardcodes part of the python module path, which breaks 64 bit</li> |
| 183 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=401">Issue #0000401</a>: behaviour of RDF.QuerySet has changed since 1.0.7.1 or later</li> |
| 184 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=403">Issue #0000403</a>: destructor for RDF.Query throws an exception</li> |
| 185 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=411">Issue #0000411</a>: Perl installs to /usr/lib/perl5/site_perl/ openSUSE want's it under /usr/lib/perl5/vendor_perl</li> |
| 186 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=412">Issue #0000412</a>: when building packages, ruby gems should go in sitearchdir</li> |
| 187 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=413">Issue #0000413</a>: Licensing of source code is unclear to distributions</li> |
| 188 | </ul> |
| 189 | |
| 190 | <h3>Python changes</h3> |
| 191 | |
| 192 | <p>Validate all constructors set attributes to None so that early |
| 193 | destruction does not give undefined attribute errors.</p> |
| 194 | |
| 195 | <p><code>Node</code> class methods <code>__str__()</code> and |
| 196 | <code>__unicode__()</code> methods now return simple string results. |
| 197 | </p> |
| 198 | |
| 199 | <p><code>Node</code> class method <code>__unicode__()</code> no |
| 200 | longer returns a formatted result (in N-Triples) but grabs a simple |
| 201 | string value for literal, blank and uri. |
| 202 | </p> |
| 203 | |
| 204 | <p><code>Node</code> class gains a <code>blank</code> property |
| 205 | returning a Unicode blank node ID. |
| 206 | </p> |
| 207 | |
| 208 | <p><code>Node</code> class gains a <code>literal</code> property |
| 209 | returning a tuple of (string, language, datatype URI). |
| 210 | </p> |
| 211 | |
| 212 | <p><code>Query</code> constructor now accepts Unicode |
| 213 | <code>querystrings</code> argument values. |
| 214 | <a href="http://bugs.librdf.org/mantis/view.php?id=403">Issue #0000403</a> |
| 215 | </p> |
| 216 | |
| 217 | <p><code>QueryResults</code> method <code>to_string()</code> |
| 218 | was fixed to return bindings results when given a base URI. |
| 219 | </p> |
| 220 | |
| 221 | <p>Using <code>len()</code> on an iterable <code>QueryResults</code> |
| 222 | now returns an exception since this breaks the idea of an iterable |
| 223 | object; it has no well defined length. |
| 224 | <a href="http://bugs.librdf.org/mantis/view.php?id=401">Issue#0000401</a> |
| 225 | </p> |
| 226 | |
| 227 | <h3>Ruby changes</h3> |
| 228 | |
| 229 | <p>Model class method <code>triples_with_context()</code> now returns |
| 230 | both the statement and context properly. |
| 231 | <a href="http://bugs.librdf.org/mantis/view.php?id=390">Issue #0000390</a> |
| 232 | </p> |
| 233 | |
| 234 | <p>Fixed a number of Ruby tests by restoring |
| 235 | <code>Redland::Node#to_s</code> to it's old behavior of returning |
| 236 | string values without quotes. |
| 237 | </p> |
| 238 | |
| 239 | <p>Made the Ruby tests less noisy. |
| 240 | </p> |
| 241 | |
| 242 | <p> Improved Ruby serialiser tests. |
| 243 | </p> |
| 244 | |
| 245 | |
| 246 | <h3>Configuration changes</h3> |
| 247 | |
| 248 | <p>Removed <code>redland-config</code> support; use only |
| 249 | <code>pkg-config redland</code>. |
| 250 | </p> |
| 251 | |
| 252 | <p>Removed <code>--with-redland</code> option and support for |
| 253 | compiling against a non-installed redland.</p> |
| 254 | |
| 255 | <p><code>configure</code> now warns if the system redland is newer |
| 256 | than our version and errors out if it is older. |
| 257 | </p> |
| 258 | |
| 259 | <p>The python configuration in <code>configure</code> now uses |
| 260 | <code>distutils.sysconfig</code> function |
| 261 | <code>get_python_lib()</code> to get the library binary directory. |
| 262 | Added option <code>--with-python-get-python-lib-args</code> to set the |
| 263 | parameters if necessary. |
| 264 | <a href="http://bugs.librdf.org/mantis/view.php?id=398">Issue#0000398</a> |
| 265 | </p> |
| 266 | |
| 267 | <p>The perl configuration in <code>configure</code> was updated |
| 268 | to use a new <code>--with-perl-makemaker-args</code> option to allow the |
| 269 | builder or packager to configure the perl build and installation |
| 270 | using standard <code>ExtUtils::MakeMaker</code> options. |
| 271 | <a href="http://bugs.librdf.org/mantis/view.php?id=411">Issue #0000411</a> |
| 272 | </p> |
| 273 | |
| 274 | <p>The ruby configuration in <code>configure</code> was updated |
| 275 | to add <code>--with-ruby-install-dir</code>, |
| 276 | <code>--with-ruby-arch-install-dir</code> and |
| 277 | <code>--with-ruby-arch-install-dir-variable</code> options |
| 278 | to configure Ruby installation paths for architecture independent |
| 279 | and architecture-dependent files. |
| 280 | <a href="http://bugs.librdf.org/mantis/view.php?id=412">Issue #0000412</a> |
| 281 | </p> |
| 282 | |
| 283 | |
| 284 | <h3>Other changes</h3> |
| 285 | |
| 286 | <p>All files are now recorded that they are available under the three |
| 287 | license alternatives (or any newer version) using the current text |
| 288 | from LICENSE.html at the root of this package. In addition |
| 289 | python/RDF.py is also available under the BSD License without |
| 290 | advertising (aka MIT license), the license text is included in the |
| 291 | file. |
| 292 | <a href="http://bugs.librdf.org/mantis/view.php?id=413">Issue #0000413</a> |
| 293 | </p> |
| 294 | |
| 295 | |
| 296 | <h2 id="rel1_0_11_1"><a name="rel1_0_11_1">Redland librdf Language Bindings 1.0.11.1 Changes</a></h2> |
| 297 | |
| 298 | <p>Issues Fixed:</p> |
| 299 | <ul> |
| 300 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=292">0000292</a>: Method Redland::Resource.type? always return true</li> |
| 301 | </ul> |
| 302 | |
| 303 | <h3>Lua binding</h3> |
| 304 | |
| 305 | <p>Added experimental Lua language binding. Use |
| 306 | <code>--with-lua=lua5.1</code> etc. to select a particular binary and |
| 307 | version. This same name will be used with <code>pkg-config(1)</code> |
| 308 | to get the include and link lines. |
| 309 | </p> |
| 310 | |
| 311 | <h3>Python binding</h3> |
| 312 | |
| 313 | <p>Fix Unicode conversion for strings to use correct functions and throw |
| 314 | better runtime errors exceptions. |
| 315 | </p> |
| 316 | |
| 317 | <p>Fix linking parameter order for python to help with newer GCC that |
| 318 | force <code>-Wl,--as-needed</code> link args. |
| 319 | </p> |
| 320 | |
| 321 | <h3>Ruby binding</h3> |
| 322 | |
| 323 | <p>Fixed method Redland::Resource.type? to not always return true: |
| 324 | <a href="http://bugs.librdf.org/mantis/view.php?id=292">Issue #0000292</a> |
| 325 | </p> |
| 326 | |
| 327 | |
| 328 | <h2 id="rel1_0_10_1"><a name="rel1_0_10_1">Redland Bindings 1.0.10.1 Changes</a></h2> |
| 329 | |
| 330 | <p>Issues Fixed:</p> |
| 331 | <ul> |
| 332 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=257">0000257</a>: Make PYTHON_LIB installation directory configurable</li> |
| 333 | <li><a href="http://bugs.librdf.org/mantis/view.php?id=313">0000313</a>: Unicode to UTF8 buffer overflows</li> |
| 334 | </ul> |
| 335 | |
| 336 | <h3>PHP binding changes</h3> |
| 337 | |
| 338 | <p>Make PHP bindings link again by restoring LDFLAGS.</p> |
| 339 | |
| 340 | <p>Fix PHP C interface librdf_php_check_exception to work when |
| 341 | compiled with "ZTS mode". Whatever that is!</p> |
| 342 | |
| 343 | |
| 344 | <h3>Python binding changes</h3> |
| 345 | |
| 346 | <p>Added Parser class method namespaces_seen</p> |
| 347 | |
| 348 | <p>Allocate enough bytes for storing an UTF-8 encoded version of a |
| 349 | python UCS-2 encoded Unicode string - up to 3 bytes per codepoint. |
| 350 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=313">Issue#000313</a> |
| 351 | </p> |
| 352 | |
| 353 | <p>Added PYTHON_LDFLAGS, PYTHON_LIBEXT, PYTHON_INCLUDES and |
| 354 | PYTHON_LIB <code>configure</code>envariables to override/set the |
| 355 | python build parameters. Thanks to 'normang' for inspring this |
| 356 | change from the patch in the |
| 357 | <a href="http://bugs.librdf.org/mantis/view.php?id=257">Issue#0000257</a> |
| 358 | that it fixes.</p> |
| 359 | |
| 360 | |
| 361 | <h3>Ruby binding changes</h3> |
| 362 | |
| 363 | <p>Model class method <code>delete</code>: allow wildcards in s,p,o |
| 364 | to delete a set of statements from a Model.find call. Patch from Aria |
| 365 | Stewart. |
| 366 | </p> |
| 367 | |
| 368 | <p>Model class method <code>load</code>: added</p> |
| 369 | |
| 370 | <p>Parser class methods <code>parse_into_model</code> and |
| 371 | <code>parse_string_into_model</code>: add documentation to note |
| 372 | argument orders are different.</p> |
| 373 | |
| 374 | <p>Resource class method <code>type?</code>: Use return value of |
| 375 | model.find - a sequence and count it's size rather than just compare |
| 376 | value to nil. Addresses |
| 377 | <a href="http://bugs.librdf.org/mantis/view.php?id=292">Issue#000292</a> |
| 378 | but may not fix it. |
| 379 | </p> |
| 380 | |
| 381 | <p>Alter linking to put LDFLAGS at end of line so |
| 382 | that they can be overridden by user/distro. Patch from Aria Stewart. |
| 383 | </p> |
| 384 | |
| 385 | |
| 386 | <h3>Other changes</h3> |
| 387 | |
| 388 | <p></p> |
| 389 | |
| 390 | |
| 391 | <h2 id="rel1_0_9_1"><a name="rel1_0_9_1">Redland Bindings 1.0.9.1 Changes</a></h2> |
| 392 | |
| 393 | <p>Never released. |
| 394 | </p> |
| 395 | |
| 396 | |
| 397 | <h2 id="rel1_0_8_1"><a name="rel1_0_8_1">Redland Bindings 1.0.8.1 Changes</a></h2> |
| 398 | |
| 399 | <p>The main change in this release is to synchronise with |
| 400 | <a href="http://librdf.org/">Redland</a> 1.0.8 |
| 401 | (<a href="http://librdf.org/RELEASE.html#rel1_0_8">Redland 1.0.8 release Notes</a>) |
| 402 | and provide a few other fixes and improvements. |
| 403 | </p> |
| 404 | |
| 405 | <p>Changed the configuration to prefer using <code>pkg-config</code> |
| 406 | details over redland-config. This is the future and also makes |
| 407 | linking work better on OSX. |
| 408 | </p> |
| 409 | |
| 410 | <h3>Perl Bindings Changes</h3> |
| 411 | |
| 412 | <p>The Parser and Serializer class feature methods now cast values |
| 413 | to/from Node for set/get when needed. |
| 414 | </p> |
| 415 | |
| 416 | <h3>Python Bindings Changes</h3> |
| 417 | |
| 418 | <p>Modified linking to use new configure options |
| 419 | <code>--with-python-ldflags</code> and |
| 420 | <code>--with-python_libext</code> options to help systems such |
| 421 | as Cygwin where the shared libraries are not .so</p> |
| 422 | |
| 423 | <h3>Ruby Bindings Changes</h3> |
| 424 | |
| 425 | <p>Updates to tests for expected SPARQL XML Results.</p> |
| 426 | |
| 427 | |
| 428 | <h2 id="rel1_0_7_1"><a name="rel1_0_7_1">Redland Bindings 1.0.7.1 Changes</a></h2> |
| 429 | |
| 430 | <p>The main change in this release is to synchronise with |
| 431 | <a href="http://librdf.org/">Redland</a> 1.0.7 |
| 432 | (<a href="http://librdf.org/RELEASE.html#rel1_0_7">Redland 1.0.7 release Notes</a>) |
| 433 | and provide a few other fixes and improvements. |
| 434 | </p> |
| 435 | |
| 436 | <p>Removed Tcl, Java and C# APIs from the release as promised in |
| 437 | <a href="http://lists.usefulinc.com/pipermail/redland-announce/2007q1/000067.html">Feb 2007</a> |
| 438 | </p> |
| 439 | |
| 440 | |
| 441 | <h3>PHP Bindings Changes</h3> |
| 442 | |
| 443 | <p>Throws proper PHP5 exceptions when errors happen, passing along |
| 444 | location information to the caller.</p> |
| 445 | |
| 446 | <p>Null URIs and Redland nodes can be given with a PHP <code>null</code>. |
| 447 | </p> |
| 448 | |
| 449 | <p>Probably does not work on PHP4 anymore.</p> |
| 450 | |
| 451 | <h3>Python Bindings Changes</h3> |
| 452 | |
| 453 | <p>Parser class: Do not set rdfxml as default parser, let Redland |
| 454 | figure that out.</p> |
| 455 | |
| 456 | <p>Parser class: add method set_uri_filter to set the URI rejection |
| 457 | filter function. |
| 458 | </p> |
| 459 | |
| 460 | <p>GRDDLParser class: added as a convenience class to create a parser |
| 461 | of name 'grddl'.</p> |
| 462 | |
| 463 | <p>Fixed <a href="http://bugs.librdf.org/mantis/view.php?id=212">Issue#0000212 </a>: QueryResults.to_string is not working |
| 464 | </p> |
| 465 | |
| 466 | <h3>Other changes</h3> |
| 467 | |
| 468 | <p>Updated SPARQL <code>CONSTRUCT</code> in perl example and test code |
| 469 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=247">Issue#0000247</a>: Actuall v is 1.0.6.1 ; example.pl ends with an error |
| 470 | </p> |
| 471 | |
| 472 | <p>Updated <code>autogen.sh</code> to handle better vesioning, OSX |
| 473 | glibtoolize and ltdl. |
| 474 | </p> |
| 475 | |
| 476 | <p>Some C# build fixes.</p> |
| 477 | |
| 478 | |
| 479 | <h2 id="rel1_0_6_1"><a name="rel1_0_6_1">Redland Bindings 1.0.6.1 Changes</a></h2> |
| 480 | |
| 481 | <p>The main change in this release is to synchronise with |
| 482 | <a href="http://librdf.org/">Redland</a> 1.0.6 |
| 483 | (<a href="http://librdf.org/RELEASE.html#rel1_0_6">Redland 1.0.6 release Notes</a>) |
| 484 | and provide several other fixes and improvements. |
| 485 | </p> |
| 486 | |
| 487 | |
| 488 | <h3>Packaging and Configuration Changes</h3> |
| 489 | |
| 490 | <h3>C# bindings changes</h3> |
| 491 | |
| 492 | <p>None</p> |
| 493 | |
| 494 | <h3>Java bindings changes</h3> |
| 495 | |
| 496 | <p>None</p> |
| 497 | |
| 498 | <h3>Perl bindings changes</h3> |
| 499 | |
| 500 | <p>Parser class gains namespaces_seen method to return hash |
| 501 | of namespace prefix/uris seen during a parse.</p> |
| 502 | |
| 503 | <h3>PHP bindings changes</h3> |
| 504 | |
| 505 | <p>None</p> |
| 506 | |
| 507 | <h3>Python bindings changes</h3> |
| 508 | |
| 509 | <p>QueryResults class method __len__: Return 0 when the count is not 0 |
| 510 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=166">Issue #0000166</a> |
| 511 | </p> |
| 512 | |
| 513 | <p>Model class method add_statement now raises an error if adding |
| 514 | statement fails. |
| 515 | </p> |
| 516 | |
| 517 | <p>Node class constructor: Convert literals from Unicode to |
| 518 | UTF-8 for redland n=RDF.Node(literal= u'this is unicode') now works |
| 519 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=147">Issue #0000147</a> |
| 520 | </p> |
| 521 | |
| 522 | <p>Query class now raises an error if construction fails. |
| 523 | </p> |
| 524 | |
| 525 | <p>Serializer class constructor now defaults to none name, |
| 526 | mime_type and raises an error if construction fails. |
| 527 | </p> |
| 528 | |
| 529 | |
| 530 | <h3>Ruby bindings changes</h3> |
| 531 | |
| 532 | <p>Apply patch from #0000121 again not properly fixed in previous |
| 533 | patching owl.rb |
| 534 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=121">Issue #0000121</a> |
| 535 | </p> |
| 536 | |
| 537 | <p>Uri, NodeIterator and QueryResults classes gain a finalizer |
| 538 | to close and free up the redland objects on destruction.</p> |
| 539 | |
| 540 | <p>Model, Parser, Query, Serializer and Store classes: Apply patch to |
| 541 | comment out log .info calls. |
| 542 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=170">Issue #0000170</a> |
| 543 | and <a href="http://bugs.librdf.org/mantis/view.php?id=172">Issue #0000172</a> |
| 544 | </p> |
| 545 | |
| 546 | <p>Serializer class feature methods: Fix use of Node constructor. |
| 547 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=140">Issue #0000140</a> |
| 548 | </p> |
| 549 | |
| 550 | <p>Serializer class method model_to_string: Fix null base_uri (Patch |
| 551 | from Jeff Dutton)</p> |
| 552 | |
| 553 | <p>Strem class fixed incorect call to librdf_free_model(stream) |
| 554 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=171">Issue #0000171</a> |
| 555 | </p> |
| 556 | |
| 557 | <h3>Tcl bindings changes</h3> |
| 558 | |
| 559 | <p>None</p> |
| 560 | |
| 561 | |
| 562 | |
| 563 | <h2 id="rel1_0_5_1"><a name="rel1_0_5_1">Redland Bindings 1.0.5.1 Changes</a></h2> |
| 564 | |
| 565 | <p>The main change in this release is to synchronise with |
| 566 | <a href="http://librdf.org/">Redland</a> 1.0.5 |
| 567 | (<a href="http://librdf.org/RELEASE.html#rel1_0_5">Redland 1.0.5 release Notes</a>) |
| 568 | and provide several other fixes and improvements. |
| 569 | </p> |
| 570 | |
| 571 | <h3>Packaging and Configuration Changes</h3> |
| 572 | |
| 573 | <p>Patched <code>configure</code> to remove un-necessary tests for |
| 574 | C++ or F77++ compilers that <code>libtool</code> stupidly insists |
| 575 | on.</p> |
| 576 | |
| 577 | <p>Added <code>--with-python-ldflags</code> for working around |
| 578 | installing python in odd places. |
| 579 | </p> |
| 580 | |
| 581 | <p>Create directories before make install. |
| 582 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=126">Issue #0000126</a> |
| 583 | </p> |
| 584 | |
| 585 | <h3>C# bindings changes</h3> |
| 586 | |
| 587 | <p>Model class methods getSource, getArc and getTarget now return |
| 588 | null rather than try to create a Node with null value. |
| 589 | </p> |
| 590 | |
| 591 | <p>Parser class constructors now working again, defaulting to RDF/XML |
| 592 | parser.</p> |
| 593 | |
| 594 | <h3>Java bindings changes</h3> |
| 595 | |
| 596 | <p>Add Java Query and QueryResults classes and example of using them. |
| 597 | Added Serializer method setNamespace. |
| 598 | </p> |
| 599 | |
| 600 | <h3>Perl bindings changes</h3> |
| 601 | |
| 602 | <p>Parser class now allows undef arguments for base URIs.</p> |
| 603 | |
| 604 | <h3>PHP bindings changes</h3> |
| 605 | |
| 606 | <p>None.</p> |
| 607 | |
| 608 | <h3>Python bindings changes</h3> |
| 609 | |
| 610 | <p>Subclass python class <code>Warning</code> defined in C for making |
| 611 | a <code>RedlandWarning</code>. |
| 612 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=109">Issue #0000109</a> |
| 613 | </p> |
| 614 | |
| 615 | <p>Storage class gained some update docs.</p> |
| 616 | |
| 617 | <h3>Ruby bindings changes</h3> |
| 618 | |
| 619 | <p>Model class added method to_string. Removed several puts in methods. |
| 620 | Method save now works when using default serializer and not filename. |
| 621 | </p> |
| 622 | |
| 623 | <p>Node class method from_node now calls Uri constructor properly.</p> |
| 624 | |
| 625 | <p>Node class now defines bnode and anon to match docs |
| 626 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=122">Issue #0000122</a> |
| 627 | </p> |
| 628 | |
| 629 | <p>Parser class now has constructor for a turtle parser.</p> |
| 630 | |
| 631 | <p>QueryResults class added method bindings_count.</p> |
| 632 | |
| 633 | <p>QueryResults class methods binding_value, binding_value_by_name |
| 634 | now handle nil values.</p> |
| 635 | |
| 636 | <p>Serializer class modified method set_namespace to use prefix, uri_ordering. |
| 637 | Constructor now defaults to rdfxml syntax. |
| 638 | </p> |
| 639 | |
| 640 | <p>Storage class no longer echos storage options to stdout. |
| 641 | </p> |
| 642 | |
| 643 | <p>Added OWL_NS to owl.rb. |
| 644 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=121">Issue #0000121</a> |
| 645 | </p> |
| 646 | |
| 647 | <p>Example gains query and serializer test code. |
| 648 | </p> |
| 649 | |
| 650 | <p>Removed some recursive includes of <code>Redland</code>.</p> |
| 651 | |
| 652 | |
| 653 | <h3>Tcl bindings changes</h3> |
| 654 | |
| 655 | None |
| 656 | |
| 657 | |
| 658 | |
| 659 | <h2 id="rel1_0_4_1"><a name="rel1_0_4_1">Redland Bindings 1.0.4.1 Changes</a></h2> |
| 660 | |
| 661 | <p>The main change in this release is to synchronise with |
| 662 | <a href="http://librdf.org/">Redland</a> 1.0.4 |
| 663 | (<a href="http://librdf.org/RELEASE.html#rel1_0_4">Redland 1.0.4 release Notes</a>) |
| 664 | and provide some other minor fixes. |
| 665 | </p> |
| 666 | |
| 667 | |
| 668 | <h3>Packaging and Configuration Changes</h3> |
| 669 | |
| 670 | <p>Now using <a href="http://subversion.tigris.org/">Subversion</a> |
| 671 | for version control and the <a href="INSTALL.html">Redland bindings installation instructions</a> explain how to get Redland from Subversion.</p> |
| 672 | |
| 673 | |
| 674 | <h3>C# bindings changes</h3> |
| 675 | |
| 676 | <p>Return <code>null</code> in more cases when a redland function |
| 677 | returns 0/NULL for a function result..</p> |
| 678 | |
| 679 | |
| 680 | <h3>Java bindings changes</h3> |
| 681 | |
| 682 | <p>Rename the SWIG accessor java functions for the constants which |
| 683 | changed in some previous SWIG verison.</p> |
| 684 | |
| 685 | |
| 686 | <h3>Perl bindings changes</h3> |
| 687 | |
| 688 | <p>No changes.</p> |
| 689 | |
| 690 | |
| 691 | <h3>PHP bindings changes</h3> |
| 692 | |
| 693 | <p>No changes.</p> |
| 694 | |
| 695 | |
| 696 | <h3>Python bindings changes</h3> |
| 697 | |
| 698 | <p>Fix module cleanup to ensure Redland.librdf_free_world lives till the end.</p> |
| 699 | |
| 700 | <p><code>NS</code> Class: Rename method <code>node</code> and local |
| 701 | variables to <code>__</code>-prefixed names less likely to be used in a namespace. |
| 702 | </p> |
| 703 | |
| 704 | <p>Edit to allow omitting a literal language and make the default work with |
| 705 | the updated typed literal fix in Redland 1.0.3</p> |
| 706 | |
| 707 | |
| 708 | <h3>Ruby bindings changes</h3> |
| 709 | |
| 710 | <p>Build fixes for newer SWIG.</p> |
| 711 | |
| 712 | |
| 713 | <h3>Tcl bindings changes</h3> |
| 714 | |
| 715 | <p>Update build configuration to record redland name/version correctly.</p> |
| 716 | |
| 717 | |
| 718 | |
| 719 | <h2 id="rel1_0_3_1"><a name="rel1_0_3_1">Redland Bindings 1.0.3.1 Changes</a></h2> |
| 720 | |
| 721 | <p>The main changes in this release are:</p> |
| 722 | |
| 723 | <p>Synchronises with |
| 724 | <a href="http://librdf.org/">Redland</a> 1.0.3 |
| 725 | (<a href="http://librdf.org/RELEASE.html#rel1_0_3">Redland 1.0.3 release Notes</a>) |
| 726 | </p> |
| 727 | |
| 728 | <p>Many fixes across multiple binding languages.</p> |
| 729 | |
| 730 | <p>Version Control change: Redland Bindings will be switching to use |
| 731 | <a href="http://subversion.tigris.org/">Subversion</a> |
| 732 | for version control after the 1.0.2.1 release. Please check the |
| 733 | <a href="http://svn.librdf.org/">Redland Subversion site</a> |
| 734 | for the latest status or the online |
| 735 | <a href="http://librdf.org/bindings/INSTALL.html">Redland Bindings installation notes</a> |
| 736 | for the Redland Bindings specific subversion installation information. |
| 737 | </p> |
| 738 | |
| 739 | |
| 740 | <h3>Packaging and Configuration Changes</h3> |
| 741 | |
| 742 | <p>The build now generates a bindings.rdf DOAP file.</p> |
| 743 | |
| 744 | <p>The autogen.sh script for building from a soruce code checkout was |
| 745 | revamped to be more modular.</p> |
| 746 | |
| 747 | <p>RPM spec file was updated. It now defines perl_sitearch, |
| 748 | python_libdir, ruby_dir and ruby_libdir at RPM build time. The build |
| 749 | requirements were split out and now declare minimum versions. Uses |
| 750 | newer %configure and %{__make} macros and License header field.</p> |
| 751 | |
| 752 | |
| 753 | <h3>C# bindings changes</h3> |
| 754 | |
| 755 | <p>Namespace fixes patch from John Barstow.</p> |
| 756 | <p>Update nunit console to newer.</p> |
| 757 | <p>Update C# syntax for Mono 1.8.x+.</p> |
| 758 | |
| 759 | |
| 760 | <h3>Java bindings changes</h3> |
| 761 | |
| 762 | <p>No changes.</p> |
| 763 | |
| 764 | |
| 765 | <h3>Perl bindings changes</h3> |
| 766 | |
| 767 | |
| 768 | <p><code>QueryResults.to_string</code>: return boolean format results.</p> |
| 769 | |
| 770 | <p><code>Storage</code> constructor: Improve storage options handling |
| 771 | by allowing a perl hash options in addition to the current form of a |
| 772 | string of redland options. Patch from Kjetil Kjernsmo.</p> |
| 773 | |
| 774 | |
| 775 | <h3>PHP bindings changes</h3> |
| 776 | |
| 777 | <p>Insert phpinfo and module shutdown using SWIG alone which might |
| 778 | work better.</p> |
| 779 | |
| 780 | |
| 781 | <h3>Python bindings changes</h3> |
| 782 | |
| 783 | <ul> |
| 784 | <li>win32 fixes</li> |
| 785 | <li><code>Model.load</code> returns a boolean</li> |
| 786 | <li><code>Parser.parse_into_model</code> and |
| 787 | <code>Parser.parse_string_into_model</code> now return boolean |
| 788 | success/failure</li> |
| 789 | <li>Improve default arguments for <code>Parser</code> and |
| 790 | <code>Serializer</code> convienence classes, keeping the same |
| 791 | defaults</li> |
| 792 | <li>Added test <code>testSPARQLQueryTwiceOverwriteVar</code> which fails due to current Rasqal implementation.</li> |
| 793 | <li>Remove use of <code>SWIGEXPORT</code> macro which breaks on newer <a href="http://www.swig.org/">SWIGs</a></li> |
| 794 | <li><code>World.__del__</code>: Added hack to prevent death if python |
| 795 | destroys the Redland module before the RDF module. Fixes |
| 796 | <a href="http://bugs.librdf.org/mantis/view.php?id=44">Issue #0000044</a></li> |
| 797 | <li><code>URI.__hash__</code>: Use hash of str(self) to make a working URI hash allowing |
| 798 | Redland URIs to be stored in Python dicts. |
| 799 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=47">Issue #0000047</a></li> |
| 800 | <li><code>QueryResults.make_results_hash</code>, |
| 801 | <code>QueryResults.get_binding_value</code> and |
| 802 | <code>QueryResults.get_binding_value_by_name</code>: Check for a None |
| 803 | value and set it in the results correctly. |
| 804 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=59">Issue #0000059</a></li> |
| 805 | <li><code>Parser.parse_string_as_stream</code> and |
| 806 | <code>Parser.parse_string_into_model</code>: Convert a Python unicode |
| 807 | string to the UTF-8 bytes Redland expects. |
| 808 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=61">Issue #0000061</a> |
| 809 | </li> |
| 810 | <li>Make Python exceptions <code>RedlandError</code> and |
| 811 | <code>RedlandWarning</code> properly returned from the RDF module by |
| 812 | importing them correctly from C. |
| 813 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=68">Issue #0000068</a> |
| 814 | </li> |
| 815 | <li><code>QueryResults.to_file</code> and |
| 816 | <code>QueryResults.to_string</code> now use the default format when |
| 817 | given None.</li> |
| 818 | </ul> |
| 819 | |
| 820 | |
| 821 | <h3>Ruby bindings changes</h3> |
| 822 | |
| 823 | <ul> |
| 824 | <li>Remove mention of <code>log4r</code> not really ever used</li> |
| 825 | <li><code>Serializer</code> class method <code>model_to_string</code> added.</li> |
| 826 | <li><code>Query</code> class method initialize - add missing base_uri arg</li> |
| 827 | <li><code>QueryResults</code> class: added, separate from query class.</li> |
| 828 | <li><code>Statement</code> class method ==(other) added</li> |
| 829 | <li><code>Model</code> class method <code>query_execute</code> added</li> |
| 830 | <li><code>Parser</code> class: Use rdfxml as parser name</li> |
| 831 | <li><code>Resource</code> class method initialize: Make it work with a <code>Uri</code> argument. |
| 832 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=48">Issue #0000048</a>.</li> |
| 833 | <li><code>Model</code> class method get_resource): Handle find returning nil for no result. |
| 834 | Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=49">Issue #0000049</a> |
| 835 | </li> |
| 836 | </ul> |
| 837 | |
| 838 | |
| 839 | <h3>Tcl bindings changes</h3> |
| 840 | |
| 841 | <p>No changes.</p> |
| 842 | |
| 843 | |
| 844 | |
| 845 | <h2 id="rel1_0_2_1"><a name="rel1_0_2_1">Redland Bindings 1.0.2.1 Changes</a></h2> |
| 846 | |
| 847 | <p>This release is mainly to synchronise with Redland 1.0.2</p> |
| 848 | |
| 849 | <h3>Perl bindings changes</h3> |
| 850 | |
| 851 | <p>Query results are now serialized to the latest SPARQL XML format.</p> |
| 852 | |
| 853 | <p>A <code>$VERSION</code> variable is exported by the perl binding |
| 854 | so that you can do <code>use RDF::Redland 1.00_02</code> to ensure you |
| 855 | get a certain version or newer. |
| 856 | </p> |
| 857 | |
| 858 | <p>Node class method <code>new_literal</code> modified to accept |
| 859 | several classes of perl URI and fixed to promote them correctly to a |
| 860 | redland URI. |
| 861 | </p> |
| 862 | |
| 863 | |
| 864 | <h3>Python bindings changes</h3> |
| 865 | |
| 866 | <p>Query results are now serialized to the latest SPARQL XML format.</p> |
| 867 | |
| 868 | |
| 869 | <h3>Ruby bindings changes</h3> |
| 870 | |
| 871 | <p>Update the bindings for newer SWIG and re-order requires to make |
| 872 | <code>irb -r rdf/redland</code> work (aredridel) |
| 873 | </p> |
| 874 | |
| 875 | |
| 876 | |
| 877 | <h2 id="rel1_0_1_1"><a name="rel1_0_1_1">Redland Bindings 1.0.1.1 Changes</a></h2> |
| 878 | |
| 879 | <h3>General Changes</h3> |
| 880 | |
| 881 | <p>The query demonstrations written in Perl now use the revised |
| 882 | SPARQL syntax.</p> |
| 883 | |
| 884 | |
| 885 | <h3>C# bindings changes</h3> |
| 886 | |
| 887 | <p>No changes.</p> |
| 888 | |
| 889 | |
| 890 | <h3>Objective-C / Cocoa bindings changes</h3> |
| 891 | |
| 892 | <p>No changes.</p> |
| 893 | |
| 894 | |
| 895 | <h3>Perl bindings changes</h3> |
| 896 | |
| 897 | <p>Perl. Added <code>RDF::Redland</code> methods |
| 898 | <code>set_log_handler</code> and <code>reset_log_handler</code> |
| 899 | to get structured error messages. Prefer this to the older handler.</p> |
| 900 | |
| 901 | <p>Perl. Added convienience Node subclasses |
| 902 | <code>RDF::Redland::URINode</code>, |
| 903 | <code>RDF::Redland::XMLLiteralNode</code>, |
| 904 | <code>RDF::Redland::BlankNode</code> and |
| 905 | <code>RDF::Redland::LiteralNode</code> |
| 906 | </p> |
| 907 | |
| 908 | |
| 909 | <h3>PHP bindings changes</h3> |
| 910 | |
| 911 | <p>When returning NULL librdf_node* objects, convert them also |
| 912 | to a PHP null.</p> |
| 913 | |
| 914 | |
| 915 | <h3>Python bindings changes</h3> |
| 916 | |
| 917 | <p>Serializer class gains set_namespace method.</p> |
| 918 | |
| 919 | <p>Adjust Node, Statement class comparisons to not assume the other |
| 920 | parameter is of the right type. Remove 'return' from |
| 921 | constructors. (Daniel Larsson).</p> |
| 922 | |
| 923 | |
| 924 | <h3>Ruby bindings changes</h3> |
| 925 | |
| 926 | <p>Generate html documentation using rdoc (Nikolas Coukouma).</p> |
| 927 | |
| 928 | |
| 929 | <h3>Tcl bindings changes</h3> |
| 930 | |
| 931 | <p>No changes.</p> |
| 932 | |
| 933 | |
| 934 | |
| 935 | <h2 id="rel1_0_0_2"><a name="rel1_0_0_2">Redland Bindings 1.0.0.2 Changes</a></h2> |
| 936 | |
| 937 | <h3>General Changes</h3> |
| 938 | |
| 939 | <p>Removed bogus C include of the ../librdf dir from all bindings |
| 940 | build; always just use whatever <code>redland-config --cflags</code> |
| 941 | returns.</p> |
| 942 | |
| 943 | |
| 944 | <h3>Perl bindings changes</h3> |
| 945 | |
| 946 | <p>Added methods for returning query results as RDF graphs, |
| 947 | boolean results and as a syntax format such as RDF/XML for graphs, |
| 948 | <a href="http://www.w3.org/TR/2004/WD-rdf-sparql-XMLres-20041221/">SPARQL Variable Binding Results XML Format</a> for bindings. |
| 949 | .</p> |
| 950 | |
| 951 | <p>The error handling was altered for parsing methods |
| 952 | class RDF::Redland::Model method <code>load</code>, class |
| 953 | RDF::Redland::Parser methods <code>parse_into_model</code> and |
| 954 | <code>parse_string_into_model</code> which now take an optional |
| 955 | <em>handler</em> parameter that is a subroutine handler providing |
| 956 | detailed log information. This can be used to capture or store |
| 957 | detailed info on possibly multiple problems in parsing.</p> |
| 958 | |
| 959 | |
| 960 | <h3>PHP bindings changes</h3> |
| 961 | |
| 962 | <p>Fix for swig calling zend_rsrc_list_get_rsrc_type incorrectly. |
| 963 | Added <code>PHP_MINFO_FUNCTION</code> to report that Redland was |
| 964 | loaded, the version of redland and the PHP bindings.</p> |
| 965 | |
| 966 | |
| 967 | <h3>Python bindings changes</h3> |
| 968 | |
| 969 | <p>Change the way that redland errors and warnings are reported. |
| 970 | There are now two choices. By default warnings are now generated |
| 971 | immediately as a Python <code>PyRedland_Warning</code> warning. The |
| 972 | first error generated is saved and thrown as an |
| 973 | <code>PyRedland_Error</code> exception after the redland function |
| 974 | returns. If multiple errors are generated, the remaining ones are |
| 975 | left to the default redland error handler, which prints them to |
| 976 | stderr.</p> |
| 977 | |
| 978 | <p>The alternative is in parsing methods <code>model.load</code>, |
| 979 | <code>parser.parse_into_model</code> and |
| 980 | <code>parser.parse_string_into_model</code> which now take an |
| 981 | optional <em>handler</em> parameter that is a subroutine handler |
| 982 | providing detailed log information.</p> |
| 983 | |
| 984 | <p>This change has a disadvantage in no longer allowing |
| 985 | user-registration of callbacks but it does seem to work better with |
| 986 | Python than the former mechanism of python calling C calling |
| 987 | Python.</p> |
| 988 | |
| 989 | |
| 990 | |
| 991 | <h2 id="rel1_0_0_1"><a name="rel1_0_0_1">Redland Bindings 1.0.0.1 Changes</a></h2> |
| 992 | |
| 993 | <p>The main changes for this release are to provide additional |
| 994 | query results formats, in Python only at present and |
| 995 | to synchronise with Redland 1.0.0</p> |
| 996 | |
| 997 | |
| 998 | <h3>C# bindings changes</h3> |
| 999 | |
| 1000 | <p>Correct marshalling .NET strings to and from UTF-8 inside Redland |
| 1001 | correctly. (Edd Dumbill)</p> |
| 1002 | |
| 1003 | <p>Improve and correct the destruction of internal iterator objects |
| 1004 | (Edd Dumbill)</p> |
| 1005 | |
| 1006 | <p>Use HandleRef to improve the references to redland World to |
| 1007 | prevent premature destruction of redland objects. (Edd Dumbill)</p> |
| 1008 | |
| 1009 | <p>See the csharp/ChangeLog in the source tree for more details |
| 1010 | of these changes.</p> |
| 1011 | |
| 1012 | |
| 1013 | <h3>Objective-C / Cocoa bindings changes</h3> |
| 1014 | |
| 1015 | <p>This binding is for the Objective-C (Obj-C) language with the |
| 1016 | Cocoa Framework on the Apple OSX platform. It was created and |
| 1017 | is developed by René Puls who provides it at the |
| 1018 | <a href="http://kianga.kcore.de/latest/redland-objc">Cocoa Bindings for Redland</a> site |
| 1019 | </p> |
| 1020 | |
| 1021 | |
| 1022 | <h3>Perl bindings changes</h3> |
| 1023 | |
| 1024 | <p>No changes.</p> |
| 1025 | |
| 1026 | |
| 1027 | <h3>PHP bindings changes</h3> |
| 1028 | |
| 1029 | <p>No changes.</p> |
| 1030 | |
| 1031 | |
| 1032 | <h3>Python bindings changes</h3> |
| 1033 | |
| 1034 | <p>Added convienience classes for making RDQL and SPARQL queries. |
| 1035 | Added methods for returning query results as RDF graphs and boolean |
| 1036 | results. Added unittests for those. |
| 1037 | </p> |
| 1038 | |
| 1039 | |
| 1040 | <h3>Ruby bindings changes</h3> |
| 1041 | |
| 1042 | <p>Updated to <a href="http://rubyforge.org/projects/rdf-redland/">rdf-redland</a> 0.5.3.1 and made the installation work |
| 1043 | standalone from ruby gem. Fixed some test cases so the testsuite passes |
| 1044 | now. |
| 1045 | </p> |
| 1046 | |
| 1047 | |
| 1048 | <h3>Tcl bindings changes</h3> |
| 1049 | |
| 1050 | <p>No changes.</p> |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | <h2 id="rel0_9_19_1"><a name="rel0_9_19_1">Redland Bindings 0.9.19.1 Changes</a></h2> |
| 1055 | |
| 1056 | <p>Redland binding's License was changed from LGPL 2.1/MPL 1.1 to |
| 1057 | LGPL 2.1/Apache 2 (except for the C# binding).</p> |
| 1058 | |
| 1059 | <p>Rebuild for Redland 0.9.19</p> |
| 1060 | |
| 1061 | |
| 1062 | <h3>General Changes</h3> |
| 1063 | |
| 1064 | <p>Fixes to lose Makefile use of <code>$<</code> syntax for better |
| 1065 | <strong>make(1)</strong> portability.</p> |
| 1066 | |
| 1067 | <p>configure was updated to try harder to find Java JNI headers, |
| 1068 | looking in $JAVA_HOME, or using <code>--with-jdk</code> argument.</p> |
| 1069 | |
| 1070 | |
| 1071 | <h3>C# binding changes</h3> |
| 1072 | |
| 1073 | <p>Assign the logging delegate to a private member to |
| 1074 | stop it being prematurely garbage collected. (Edd Dumbill)</p> |
| 1075 | |
| 1076 | |
| 1077 | <h3>Perl binding changes</h3> |
| 1078 | |
| 1079 | <p>Rewrote <code>$uri=$uri->{URI}</code> style code to prevent |
| 1080 | premature object destruction.</p> |
| 1081 | |
| 1082 | <p>Class Model: Added to_string() method.</p> |
| 1083 | |
| 1084 | <p>Classes Query, QueryResults: Made |
| 1085 | documentation and examples to match the code.</p> |
| 1086 | |
| 1087 | |
| 1088 | |
| 1089 | <h3>PHP binding changes</h3> |
| 1090 | |
| 1091 | <p>Added a typemap to provide a proper PHP ZVAL_NULL |
| 1092 | value when returning a NULL <code>librdf_stream*</code> or |
| 1093 | <code>librdf_iterator*</code> object pointer, rather than a |
| 1094 | swig-typed NULL pointer.</p> |
| 1095 | |
| 1096 | |
| 1097 | <h3>Python binding changes</h3> |
| 1098 | |
| 1099 | <p>Rewrote <code>uri=uri._reduri</code> style code to prevent |
| 1100 | premature object destruction.</p> |
| 1101 | |
| 1102 | <p>Class Model: Added method to_string.</p> |
| 1103 | |
| 1104 | <p>Class Node: Documented literal language and other literal_language |
| 1105 | method dictionary keys.</p> |
| 1106 | |
| 1107 | |
| 1108 | |
| 1109 | |
| 1110 | <h2 id="rel0_9_18_1"><a name="rel0_9_18_1">Redland Bindings 0.9.18-1 Changes</a></h2> |
| 1111 | |
| 1112 | <p>Rebuild for Redland 0.9.18 - no API changes</p> |
| 1113 | |
| 1114 | |
| 1115 | <h2 id="rel0_9_17_1"><a name="rel0_9_17_1">Redland Bindings 0.9.17-1 Changes</a></h2> |
| 1116 | |
| 1117 | <p>This is the first release of Redland Bindings separate from |
| 1118 | Redland and includes the following changes compared to the language |
| 1119 | bindings in Redland 0.9.16</p> |
| 1120 | |
| 1121 | <h3>General Changes</h3> |
| 1122 | |
| 1123 | <p>The main change is to split the API that Redland exports in the |
| 1124 | redland package from the language specific parts in the |
| 1125 | redland-bindings package.</p> |
| 1126 | |
| 1127 | <p>For most of the language bindings, the interface between them is |
| 1128 | using the <a href="http://www.swig.org/">swig</a> interface generator tool. |
| 1129 | |
| 1130 | This is now defined by the Redland.i file provided by the redland |
| 1131 | package (in binary packages inside redland-devel rpm or librdf-dev |
| 1132 | debs). This can also be found via <code>redland-config --swig</code> |
| 1133 | and then used to generate the C wrappers for the bindings. There may |
| 1134 | be need for language-specific changes which can be used via #included |
| 1135 | .i files triggered by calling swig and the C compiler with defines |
| 1136 | like <code>-DREDLAND_PRE_I</code> to #include redland-pre.i from the |
| 1137 | Redland.i.</p> |
| 1138 | |
| 1139 | <p>The last paragraph does not apply to C# (Redland#) which uses |
| 1140 | the built in P/Invoke feature of the language and runtime to call |
| 1141 | the Redland functions directly.</p> |
| 1142 | |
| 1143 | |
| 1144 | <h3>Packaging changes</h3> |
| 1145 | |
| 1146 | <h3>C# API (Redland#) Changes</h3> |
| 1147 | |
| 1148 | <p>This is an entirely new API for 0.9.17 originally created by Cesar |
| 1149 | Lopez Nataren. It was updated by Dave |
| 1150 | Beckett to work with the released Mono 1.0 and substantially improved |
| 1151 | by Edd Dumbill. Changes since Cesar's version are given in detail in |
| 1152 | the csharp directory ChangeLog but include:</p> |
| 1153 | |
| 1154 | <ul> |
| 1155 | <li>Namespace changed from Rdf to Redland</li> |
| 1156 | <li>Added marshalling of strings between Redland and Redland#</li> |
| 1157 | <li>Freeing of native Redland objects by implementing the C# IDisposable interface, the Dispose method</li> |
| 1158 | <li>Query and QueryResults Classes: Added for new Redland 0.9.17 librdf_query |
| 1159 | and librdf_query_results classes.</li> |
| 1160 | <li>Added strong naming of Redland.dll</li> |
| 1161 | <li>Class Model. Added methods Execute, GetContexts, GetFeature, SetFeature, Load.</li> |
| 1162 | <li>Class World. Updated to use new Redland 0.9.17 logging API especially for parsing errors and warnings</li> |
| 1163 | <li>Class Parser: ParserError for parsing exceptions</li> |
| 1164 | <li>Classes Errors, Locator, LogMessage: Added for wrapping structured |
| 1165 | error messages returned from parsing.</li> |
| 1166 | <li>Classes Node, Statement, Uri: Added Equals, operator==, operator !=</li> |
| 1167 | <li>Classes Stream and Iterator: Fixes for the IEnumerable interface</li> |
| 1168 | <li>Class Node: Added methods for types - Type, IsResource, IsLiteral, IsBlank</li> |
| 1169 | <li>Class Node: Added method Uri.</li> |
| 1170 | <li>Fixed handling of null / IntPtr.Zero in several methods</li> |
| 1171 | </ul> |
| 1172 | |
| 1173 | |
| 1174 | |
| 1175 | <h3>Java API Changes</h3> |
| 1176 | |
| 1177 | <p>This API has not been updated for all Redland 0.9.17 changes.</p> |
| 1178 | |
| 1179 | <p>Class Statement. Added equals method.</p> |
| 1180 | |
| 1181 | |
| 1182 | <h3>Perl API changes</h3> |
| 1183 | |
| 1184 | <p>This API has been updated for all Redland 0.9.17 changes.</p> |
| 1185 | |
| 1186 | <ul> |
| 1187 | <li>Class Statement. Added equals method.</li> |
| 1188 | |
| 1189 | <li>Classes Query, QueryResults: Added for new Redland 0.9.17 librdf_query |
| 1190 | and librdf_query_results classes.</li> |
| 1191 | |
| 1192 | <li>Class Model: Added execute method.</li> |
| 1193 | </ul> |
| 1194 | |
| 1195 | |
| 1196 | <h3>PHP API Changes</h3> |
| 1197 | |
| 1198 | <p>No changes needed as this is a bare API directly using Redland |
| 1199 | functions.</p> |
| 1200 | |
| 1201 | <p>Added some PHP 4.3 compatible defines to the test program.</p> |
| 1202 | |
| 1203 | |
| 1204 | |
| 1205 | <h3>Python API changes</h3> |
| 1206 | |
| 1207 | <p>This API has been updated for all Redland 0.9.17 changes. |
| 1208 | The main changes are as follows:</p> |
| 1209 | |
| 1210 | <ul> |
| 1211 | <li>Another attempt to return errors and warnings from parsing better.</li> |
| 1212 | |
| 1213 | <li>Class Model. Added new method load.<br /> |
| 1214 | Added new method execute to invoke querying on a model. |
| 1215 | </li> |
| 1216 | |
| 1217 | <li>Class NS: Copy librdf_node each time since sharing the C pointers |
| 1218 | is wrong.</li> |
| 1219 | |
| 1220 | <li>Class Parser. Method parse_string_as_stream example fixed to show |
| 1221 | the required base_uri parameter.</li> |
| 1222 | |
| 1223 | <li>Clases Query, QueryResults: Added for new Redland 0.9.17 librdf_query, |
| 1224 | librdf_query_results including unit tests (Matt Biddulph)</li> |
| 1225 | |
| 1226 | <li>Class Statement. Added equality and inequality operators.<br /> |
| 1227 | Added matches operator for comparing an incomplete |
| 1228 | statement with None values against a complete one |
| 1229 | </li> |
| 1230 | |
| 1231 | <li>Class TurtleParser, NTriplesParser: Added convenience classes to create |
| 1232 | parsers for the Turtle and N-Triples syntaxes.(Matt Biddulph) |
| 1233 | </li> |
| 1234 | |
| 1235 | </ul> |
| 1236 | |
| 1237 | <h3>Ruby API changes</h3> |
| 1238 | |
| 1239 | <p>Replaced with a fuller API rdf-redland written by by Dominic Sisneros. |
| 1240 | See the |
| 1241 | <a href="http://rubyforge.org/projects/rdf-redland">rdf-redland project site</a>.</p> |
| 1242 | |
| 1243 | <p>This API has not been updated for all Redland 0.9.17 changes but |
| 1244 | may have newer version at the URI above.</p> |
| 1245 | |
| 1246 | |
| 1247 | <p>Class statement. Added == operator.</p> |
| 1248 | |
| 1249 | |
| 1250 | <h3>Tcl API changes</h3> |
| 1251 | |
| 1252 | <p>No changes needed as this is a bare API directly using Redland |
| 1253 | functions.</p> |
| 1254 | |
| 1255 | |
| 1256 | <hr /> |
| 1257 | |
| 1258 | <p>Copyright (C) 2004-2013 <a href="http://www.dajobe.org/">Dave Beckett</a><br />Copyright (C) 2004-2005 <a href="http://www.bristol.ac.uk/">University of Bristol</a></p> |
| 1259 | |
| 1260 | </body> |
| 1261 | </html> |