| 1 |
2013-12-28 Dave Beckett <[email protected]> |
| 2 |
|
| 3 |
* Snapshotted redland_1_0_17 for 1.0.17 release (GIT e5c2c5f99a4ae18dc9ca62b971797ca7f9c1ab9a) |
| 4 |
|
| 5 |
2013-12-12 Dave Beckett <[email protected]> |
| 6 |
|
| 7 |
* scripts/process-changes.pl: Add version_for_sort to sort |
| 8 |
versionwise |
| 9 |
|
| 10 |
2013-11-24 Dave Beckett <[email protected]> |
| 11 |
|
| 12 |
* src/rdf_serializer.c: Handle raptor stricter checks in |
| 13 |
serializing |
| 14 |
|
| 15 |
* examples/example8.c: Initialise model vars to NULL for error |
| 16 |
path |
| 17 |
[llvm] |
| 18 |
|
| 19 |
2013-11-13 Dave Beckett <[email protected]> |
| 20 |
|
| 21 |
* src/rdf_query_virtuoso.c, src/rdf_storage_virtuoso.c: Ignore |
| 22 |
noisy llvm warning about deprecated ODBC sql.h functions |
| 23 |
|
| 24 |
2013-11-12 Dave Beckett <[email protected]> |
| 25 |
|
| 26 |
* configure.ac: Restore CPPFLAGS around virtuoso test |
| 27 |
|
| 28 |
* configure.ac: whitespace |
| 29 |
|
| 30 |
* src/Makefile.am: librdf_storage_virtuoso_la uses rasqal symbols; |
| 31 |
link with it |
| 32 |
|
| 33 |
2013-11-08 Dave Beckett <[email protected]> |
| 34 |
|
| 35 |
* src/rdf_digest_md5.c: Use unions to align unsigned char and u32 |
| 36 |
[clang] |
| 37 |
|
| 38 |
2013-11-02 Dave Beckett <[email protected]> |
| 39 |
|
| 40 |
* configure.ac: Check for clang to enable correct discovery of |
| 41 |
supported warnings |
| 42 |
|
| 43 |
2013-10-27 Dave Beckett <[email protected]> |
| 44 |
|
| 45 |
* Merge pull request #4 from jackolantern/fix-error-message Fix |
| 46 |
error message. |
| 47 |
|
| 48 |
2013-08-27 Dave Beckett <[email protected]> |
| 49 |
|
| 50 |
* src/rdf_concepts.h: remove , |
| 51 |
|
| 52 |
2013-08-23 Dave Beckett <[email protected]> |
| 53 |
|
| 54 |
* src/rdf_concepts.c: comma |
| 55 |
|
| 56 |
2013-08-22 Dave Beckett <[email protected]> |
| 57 |
|
| 58 |
* src/rdf_concepts.c, src/rdf_concepts.h: |
| 59 |
Add rdf:HTML and rdf:langString from RDF 1.1 concepts |
| 60 |
|
| 61 |
RDF 1.1 Concepts and Abstract |
| 62 |
Syntax W3C Last Call Working Draft 23 July 2013 |
| 63 |
http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/ |
| 64 |
http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-html |
| 65 |
http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-Datatypes |
| 66 |
|
| 67 |
2013-06-17 Dave Beckett <[email protected]> |
| 68 |
|
| 69 |
* autogen.sh: update autogen.sh |
| 70 |
|
| 71 |
2013-06-09 Dave Beckett <[email protected]> |
| 72 |
|
| 73 |
* configure.ac: Fix some test operators |
| 74 |
|
| 75 |
2013-04-27 Dave Beckett <[email protected]> |
| 76 |
|
| 77 |
* src/rdf_query_rasqal.c: Avoid an assert inside |
| 78 |
rasqal_query_results_next_triple |
| 79 |
|
| 80 |
(librdf_query_rasqal_query_results_next_statement): check that |
| 81 |
"result" pointer is not NULL before calling |
| 82 |
rasqal_query_results_next_triple() |
| 83 |
|
| 84 |
Patch from Michael Stahl <[email protected]> |
| 85 |
|
| 86 |
Fixes Issue #0000543 |
| 87 |
http://bugs.librdf.org/mantis/view.php?id=543 |
| 88 |
|
| 89 |
2013-04-08 Dave Beckett <[email protected]> |
| 90 |
|
| 91 |
* src/rdf_digest_md5.c: Do not destroy MD5 digest |
| 92 |
|
| 93 |
2013-04-07 Dave Beckett <[email protected]> |
| 94 |
|
| 95 |
* src/rdf_digest_md5.c: memset fixes [gcc 4.8] |
| 96 |
|
| 97 |
2013-04-05 Dave Beckett <[email protected]> |
| 98 |
|
| 99 |
* src/win32_rdf_config.h.in: Make win32_rdf_config.h work on |
| 100 |
MSVC2008 |
| 101 |
|
| 102 |
Patch from Michael Stahl |
| 103 |
|
| 104 |
Fixes Issue #0000542 |
| 105 |
http://bugs.librdf.org/mantis/view.php?id=542 |
| 106 |
|
| 107 |
* configure.ac, src/Makefile.am, src/rdf_storage_sqlite.c, |
| 108 |
src/win32_rdf_config.h.in: Remove SQLITE V2 support and switch to |
| 109 |
PKG_CHECK_MODULES in configure |
| 110 |
|
| 111 |
- Remove ancient sqlite V2 API support, removing lots of conditional |
| 112 |
code. |
| 113 |
- Alter configure to use PKG_CHECK_MODULES for sqlite3 and then |
| 114 |
the SQLITE_CFLAGS and SQLITE_LIBS envars |
| 115 |
|
| 116 |
* build/pkg.m4, configure.ac: Use PKG_CHECK_MODULES() for calling |
| 117 |
and overriding pkg-config |
| 118 |
|
| 119 |
- macro is in build/pkg.m4 from pkg-config 0.28 |
| 120 |
- Use <PREFIX>_CFLAGS and <PREFIX>_LIBS envars. |
| 121 |
- Enables overriding of pkg-config if needed. |
| 122 |
|
| 123 |
Patch from Michael Stahl |
| 124 |
|
| 125 |
Fixes Issue #0000541 |
| 126 |
http://bugs.librdf.org/mantis/view.php?id=541 |
| 127 |
|
| 128 |
* configure.ac: remove obsolete |
| 129 |
--with-xml-parser/--with-openssl-digests |
| 130 |
|
| 131 |
Patch from Michael Stahl |
| 132 |
|
| 133 |
Fixes Issue #0000540 |
| 134 |
http://bugs.librdf.org/mantis/view.php?id=540 |
| 135 |
|
| 136 |
2013-03-12 Dave Beckett <[email protected]> |
| 137 |
|
| 138 |
* autogen.sh: |
| 139 |
Handle variations of header macro |
| 140 |
|
| 141 |
* .gitignore, build/.gitignore: Ignore more |
| 142 |
|
| 143 |
2013-02-27 Dave Beckett <[email protected]> |
| 144 |
|
| 145 |
* Merge pull request #3 from olberger/master Fixing the deprecated |
| 146 |
TYPE= construct |
| 147 |
|
| 148 |
2013-01-02 Dave Beckett <[email protected]> |
| 149 |
|
| 150 |
* FAQS.html, INSTALL.html, LICENSE.html, NEWS.html, README.html, |
| 151 |
RELEASE.html, TODO.html, configure.ac: |
| 152 |
Bumped version to 1.0.17 |
| 153 |
|
| 154 |
2012-12-29 Dave Beckett <[email protected]> |
| 155 |
|
| 156 |
* NEWS.html: 1.0.16 |
| 157 |
|
| 158 |
* Snapshotted redland_1_0_16 for 1.0.16 release (GIT |
| 159 |
c8281fff2c618b63d338b296d4d8e352a5de1101) |
| 160 |
|
| 161 |
* src/rdf_query_rasqal.c: |
| 162 |
(rasqal_literal_to_redland_node): Add fix for integer subtype |
| 163 |
|
| 164 |
Workaround for a rasqal literal type |
| 165 |
RASQAL_LITERAL_INTEGER_SUBTYPE that avoids requiring rasqal 0.9.30 |
| 166 |
or newer |
| 167 |
|
| 168 |
Fixes Issue #0000519 |
| 169 |
http://bugs.librdf.org/mantis/view.php?id=519 |
| 170 |
|
| 171 |
2012-12-16 Dave Beckett <[email protected]> |
| 172 |
|
| 173 |
* src/rdf_query_rasqal.c, src/rdf_storage_mysql.c, |
| 174 |
src/rdf_storage_postgresql.c, src/rdf_storage_virtuoso.c: Remove |
| 175 |
abort() from regular code |
| 176 |
|
| 177 |
* src/rdf_storage.c: Attempt to load a storage module only once |
| 178 |
|
| 179 |
This bug is probably caused by scanning a directory of storage |
| 180 |
modules and finding a .la file (libtool) as well as the .so (module) |
| 181 |
and trying to load the same module twice via |
| 182 |
librdf_storage_register_factory that calls |
| 183 |
librdf_storage_load_module. |
| 184 |
|
| 185 |
Fixing by two changes: |
| 186 |
|
| 187 |
(librdf_storage_load_module): If the dynamically loaded module has |
| 188 |
a >1 ref count, it is already loaded so do not initialise it (that |
| 189 |
eventually calls the initialisation function below). |
| 190 |
|
| 191 |
(librdf_storage_register_factory): If it gets to this stage and |
| 192 |
finds the same module name twice, ignore this error. |
| 193 |
|
| 194 |
Fixes Issue #0000460 |
| 195 |
http://bugs.librdf.org/mantis/view.php?id=460 |
| 196 |
|
| 197 |
* src/rdf_parser_raptor.c: Reset bnode hash at end of parsing - do |
| 198 |
not free it |
| 199 |
|
| 200 |
Fixes Issue #0000518 |
| 201 |
http://bugs.librdf.org/mantis/view.php?id=518 |
| 202 |
|
| 203 |
2012-08-31 Dave Beckett <[email protected]> |
| 204 |
|
| 205 |
* autogen.sh, configure.ac: Update autogen.sh and configure.ac via |
| 206 |
autoupdate |
| 207 |
|
| 208 |
* autogen.sh: autogen.sh: Added -Wall to aclocal and autoconf |
| 209 |
invocations |
| 210 |
|
| 211 |
2012-08-26 Dave Beckett <[email protected]> |
| 212 |
|
| 213 |
* src/rdf_serializer_raptor.c: Set statement graph during |
| 214 |
serializing with raptor. |
| 215 |
|
| 216 |
Issue seen: serializing to N-Quads did not work in redstore. |
| 217 |
|
| 218 |
(librdf_serializer_raptor_serialize_statement): |
| 219 |
Lose useless graph parameter. |
| 220 |
|
| 221 |
(librdf_serializer_raptor_serialize_stream_to_file_handle, |
| 222 |
librdf_serializer_raptor_serialize_stream_to_counted_string, |
| 223 |
|
| 224 |
(librdf_serializer_raptor_serialize_stream_to_iostream): Set and |
| 225 |
restore the statement graph around call to |
| 226 |
librdf_serializer_raptor_serialize_statement. |
| 227 |
|
| 228 |
2012-07-21 Dave Beckett <[email protected]> |
| 229 |
|
| 230 |
* configure.ac, src/Makefile.am: Add Rasqal libs to |
| 231 |
@LIBRDF_DIRECT_LIBS@ and use in all src test cases |
| 232 |
|
| 233 |
* src/rdf_node.c: |
| 234 |
(librdf_node_normalize): Do nothing for NULL node |
| 235 |
|
| 236 |
* src/rdf_concepts.c, src/rdf_init_internal.h, src/rdf_node.c, |
| 237 |
src/rdf_serializer_raptor.c: Normalize librdf_node boolean values |
| 238 |
on construction |
| 239 |
|
| 240 |
Add a quick fix to normalize the literal strings for xsd:boolean in |
| 241 |
the same fashion as rasqal does when invoking raptor. |
| 242 |
|
| 243 |
This code really should be calling a raptor or rasqal datatype-aware |
| 244 |
normalizer but will work. |
| 245 |
|
| 246 |
Fixes Issue #0000443 |
| 247 |
http://bugs.librdf.org/mantis/view.php?id=443 |
| 248 |
|
| 249 |
(librdf_xsd_boolean_value_from_string): Added from rasqal XSD |
| 250 |
routine |
| 251 |
|
| 252 |
(librdf_node_normalize): Added internal normalize node r outine, |
| 253 |
just handing xsd:boolean. |
| 254 |
|
| 255 |
(librdf_new_node_from_literal, librdf_new_node_from_typed_literal) |
| 256 |
(librdf_new_node_from_typed_counted_literal): Update all node |
| 257 |
constructors to call librdf_node_normalize(). Big downside: makes |
| 258 |
all construction slightly slower but raptor_uri_equals should be a |
| 259 |
pointer compare. |
| 260 |
|
| 261 |
2012-07-15 Dave Beckett <[email protected]> |
| 262 |
|
| 263 |
* src/rdf_storage_postgresql.c: Tidy librdf_log call messages |
| 264 |
|
| 265 |
* src/rdf_storage_postgresql.c: The name is PostgreSQL |
| 266 |
|
| 267 |
2012-07-01 Dave Beckett <[email protected]> |
| 268 |
|
| 269 |
* src/rdf_storage_virtuoso.c, src/rdf_storage_virtuoso_internal.h: |
| 270 |
More virtuoso column type changes - use wider int for u/short |
| 271 |
|
| 272 |
* src/rdf_storage_virtuoso.c: Good casts for calloc / memcpy |
| 273 |
calculations [gcc warnings] |
| 274 |
|
| 275 |
(librdf_storage_virtuoso_get_handle): Good cast to size_t for |
| 276 |
figuring out the byte sizes. |
| 277 |
|
| 278 |
* src/rdf_storage_virtuoso.c, src/rdf_storage_virtuoso_internal.h: |
| 279 |
Use SQLUSMALLINT for ODBC column integer [gcc warnings] |
| 280 |
|
| 281 |
(vGetDataCHAR, vGetDataINT, rdf2node): Take SQLUSMALLINT col |
| 282 |
instead of short col. |
| 283 |
|
| 284 |
(librdf_storage_virtuoso_find_statements_in_context_next_statement) |
| 285 |
(librdf_storage_virtuoso_get_contexts_next_context): Use |
| 286 |
SQLUSMALLINT colNum |
| 287 |
|
| 288 |
* src/rdf_storage_postgresql.c: |
| 289 |
(librdf_storage_postgresql_get_handle): Cast for memcpy [gcc |
| 290 |
warnings] |
| 291 |
|
| 292 |
* src/rdf_storage_postgresql.c: |
| 293 |
Good casts for PQnfields to size_t [gcc warnings] |
| 294 |
|
| 295 |
(librdf_storage_postgresql_find_statements_with_options): Good |
| 296 |
casts in calloc. |
| 297 |
|
| 298 |
* src/rdf_storage_virtuoso.c, src/rdf_storage_virtuoso_internal.h: |
| 299 |
Move 4K Virtuoso output DSN buffer from stack to storage context. |
| 300 |
|
| 301 |
Added LIBRDF_VIRTUOSO_CONTEXT_DSN_SIZE macro |
| 302 |
|
| 303 |
librdf_storage_virtuoso_instance gains field outdsn |
| 304 |
|
| 305 |
(librdf_storage_virtuoso_get_handle): Use above when calling |
| 306 |
SQLDriverConnect() |
| 307 |
|
| 308 |
* src/rdf_hash_bdb.c: BDB DBT field size is a u_int32_t so cast |
| 309 |
bad to that |
| 310 |
|
| 311 |
* src/rdf_node.c: |
| 312 |
(librdf_node_decode): Casts from binary to size_t are good [gcc |
| 313 |
warnings] |
| 314 |
|
| 315 |
* src/rdf_node.c: |
| 316 |
(librdf_node_decode): Casts from binary to size_t are good [gcc |
| 317 |
warnings] |
| 318 |
|
| 319 |
* src/rdf_hash_bdb.c: Code style |
| 320 |
|
| 321 |
* src/rdf_query_results.c: Range check of index for query results |
| 322 |
value/name gets |
| 323 |
|
| 324 |
(librdf_query_results_get_binding_value) |
| 325 |
(librdf_query_results_get_binding_name): Fail with negative offset |
| 326 |
always and note FIXME that this should be an unsigned int in |
| 327 |
future. |
| 328 |
|
| 329 |
* src/rdf_hash_bdb.c: Use u_int32_t to store BDB flags [gcc |
| 330 |
warnings] |
| 331 |
|
| 332 |
* utils/rdfproc.c: Use int v_idx for indexing into result values |
| 333 |
and names |
| 334 |
|
| 335 |
2012-06-28 Dave Beckett <[email protected]> |
| 336 |
|
| 337 |
* RELEASE.html: 1.0.16 |
| 338 |
|
| 339 |
* docs/tmpl/general.sgml, docs/tmpl/unicode.sgml, |
| 340 |
docs/tmpl/unused.sgml, docs/tmpl/world.sgml: Update tmpls |
| 341 |
|
| 342 |
* src/rdf_storage_mysql.c: |
| 343 |
Code fixes [gcc warnings] |
| 344 |
|
| 345 |
librdf_storage_mysql_instance: Use char* for all char* fields |
| 346 |
|
| 347 |
(librdf_storage_mysql_get_handle): Cast size_t connections count |
| 348 |
array computations [gcc warnings] |
| 349 |
|
| 350 |
(librdf_storage_mysql_init): Get port as a long and use it if it |
| 351 |
was set it fits into int |
| 352 |
|
| 353 |
(librdf_storage_mysql_terminate): Remove un-necessary casts for |
| 354 |
non-const char* configuration variables. |
| 355 |
|
| 356 |
* src/rdf_node.c: Use size_t for language length in internal |
| 357 |
calculations [gcc warnings] |
| 358 |
|
| 359 |
(librdf_node_encode, librdf_node_decode): use size_t casts to help |
| 360 |
code clarity and mix of size_t and char-promoted-to-int warnings. |
| 361 |
|
| 362 |
* src/rdf_node.c: |
| 363 |
(librdf_node_get_literal_value_as_latin1): Use size_t for len |
| 364 |
|
| 365 |
* utils/rdfproc.c: Add a none command and use index 0 as not found |
| 366 |
sentinel |
| 367 |
|
| 368 |
* docs/redland-changes.tsv, src/rdf_utf8.c, src/rdf_utf8.h: |
| 369 |
(librdf_utf8_to_latin1_2): unsigned char discard arg |
| 370 |
|
| 371 |
* src/rdf_node.c: |
| 372 |
(librdf_node_get_literal_value_as_latin1): Use |
| 373 |
librdf_utf8_to_latin1_2() |
| 374 |
|
| 375 |
* docs/redland-changes.tsv, docs/redland-sections.txt, |
| 376 |
src/rdf_utf8.c, src/rdf_utf8.h: Deprecate latin1/utf8 routines |
| 377 |
that use int sizes |
| 378 |
|
| 379 |
(librdf_latin1_to_utf8_2): Added deprecating librdf_latin1_to_utf8 |
| 380 |
|
| 381 |
(librdf_utf8_to_latin1_2): Added deprecating librdf_utf8_to_latin1 |
| 382 |
|
| 383 |
* src/rdf_query_virtuoso.c: Code cleanups for strcpy and size_t |
| 384 |
[gcc warnings] |
| 385 |
|
| 386 |
(librdf_query_virtuoso_init): Replace strcpy for known length |
| 387 |
strings with memcpy |
| 388 |
|
| 389 |
(librdf_query_virtuoso_execute): Capture strlens and use memcpy |
| 390 |
twice rather than strcpy and strcat. Cast context->numCols to |
| 391 |
size_t for array calloc [gcc warnings]. |
| 392 |
Use size_t for col names length. |
| 393 |
|
| 394 |
(librdf_query_virtuoso_results_formatter_write): Use memcpy |
| 395 |
Replace strcpy for known length string with memcpy |
| 396 |
|
| 397 |
* src/rdf_hash_memory.c: Revert |
| 398 |
d2d6a7a54342deff47ee686fda8d9b87e17ffefa - broke hash memory |
| 399 |
|
| 400 |
* utils/rdfproc.c: unsigned int i for indexing [gcc warnings] |
| 401 |
|
| 402 |
* src/rdf_storage_postgresql.c: |
| 403 |
(librdf_storage_postgresql_get_handle): pool size casting [gcc |
| 404 |
warnings] |
| 405 |
|
| 406 |
* src/rdf_storage_mysql.c: |
| 407 |
(librdf_storage_mysql_hash): Use size_t length arg [gcc warnings] |
| 408 |
|
| 409 |
* src/rdf_log.c, src/rdf_log_internal.h: Mark librdf_fatal as |
| 410 |
REDLAND_NORETURN [gcc warnings] |
| 411 |
|
| 412 |
* src/librdf.h.in: Add REDLAND_NORETURN using gcc 3.2+ attribute |
| 413 |
__noreturn__ |
| 414 |
|
| 415 |
* src/rdf_utf8.c: Simplify size_t UTF to/from latin1 work [gcc |
| 416 |
warnings] |
| 417 |
|
| 418 |
(librdf_utf8_to_latin1, librdf_latin1_to_utf8): Make a slength |
| 419 |
first then do everything in size_t |
| 420 |
|
| 421 |
* src/rdf_utf8.c: Do UTF to/from latin1 work in size_t and make |
| 422 |
bad casts at end |
| 423 |
|
| 424 |
(librdf_utf8_to_latin1, librdf_latin1_to_utf8): Truncate final |
| 425 |
results after working in size_t |
| 426 |
|
| 427 |
* src/rdf_hash_memory.c: unsigned int for keys, values, capacity |
| 428 |
and bucket sizes [gcc warnings] |
| 429 |
|
| 430 |
(librdf_hash_memory_find_node): u32 for hash_key computation but |
| 431 |
then put in an unsigned int bucket |
| 432 |
|
| 433 |
Rest of code: Code style fixes |
| 434 |
- many whitespace added around operators. |
| 435 |
- pulled assigments out of if - broke long lines |
| 436 |
|
| 437 |
* src/rdf_storage_sqlite.c: |
| 438 |
(sqlite_string_escape): Use size_t for lengths [gcc warnings] |
| 439 |
|
| 440 |
* src/rdf_storage_trees.c: Good int cast comparing node types [gcc |
| 441 |
warning] |
| 442 |
|
| 443 |
(librdf_storage_trees_node_compare): Cast to ints is ok when |
| 444 |
comparing node types. |
| 445 |
|
| 446 |
* src/rdf_storage_hashes.c: |
| 447 |
(librdf_storage_hashes_init_common): Good casts to size_t [gcc |
| 448 |
warnings] |
| 449 |
|
| 450 |
* src/rdf_log.c: Good casts to size_t from int for log lengths |
| 451 |
[gcc warnings] |
| 452 |
|
| 453 |
log messages are short |
| 454 |
|
| 455 |
(librdf_log_simple, librdf_fatal): Add |
| 456 |
size_t length variables for rewriting more clearly. |
| 457 |
|
| 458 |
* src/rdf_serializer_raptor.c: unsigned int for indexing [gcc |
| 459 |
warnings] |
| 460 |
|
| 461 |
(librdf_serializer_raptor_constructor): unsigned int it |
| 462 |
|
| 463 |
* src/rdf_utf8.c: Many bad size_t casts for utf8/latin1 work [gcc |
| 464 |
warnings] |
| 465 |
|
| 466 |
(librdf_unicode_char_to_utf8, librdf_utf8_to_unicode_char, |
| 467 |
librdf_utf8_to_latin1, librdf_latin1_to_utf8): Added casts and |
| 468 |
updated docs with warnings. Turned some existing bad casts into |
| 469 |
explicit ones. |
| 470 |
|
| 471 |
* src/rdf_heuristics.c, src/rdf_parser_raptor.c, |
| 472 |
src/rdf_storage.c, src/rdf_storage_sql.c: More fixes for #if |
| 473 |
LIBRDF_DEBUG when it is not defined. |
| 474 |
|
| 475 |
* src/rdf_heuristics.c: |
| 476 |
(librdf_heuristic_gen_name): Good cast for length calc [gcc |
| 477 |
warnings] Code style fixes |
| 478 |
|
| 479 |
* src/rdf_storage_sql.c: |
| 480 |
(librdf_new_sql_config): Good cast for predicates count [gcc |
| 481 |
warnings] |
| 482 |
|
| 483 |
* src/rdf_serializer.c: |
| 484 |
(librdf_serializer_enumerate): Good cast for signed seq offset [gcc |
| 485 |
warnings] |
| 486 |
|
| 487 |
* src/rdf_parser.c: |
| 488 |
(librdf_parser_enumerate): Good cast for signed seq offset [gcc |
| 489 |
warnings] |
| 490 |
|
| 491 |
* src/rdf_storage.c: |
| 492 |
(librdf_storage_enumerate): Good cast for signed seq offset [gcc |
| 493 |
warnings] |
| 494 |
|
| 495 |
* src/rdf_model.c: |
| 496 |
(librdf_model_enumerate): Good cast for signed seq offset [gcc |
| 497 |
warnings] |
| 498 |
|
| 499 |
* src/rdf_init.c: |
| 500 |
(librdf_new_world): Good cast signed long time_t to unsigned long |
| 501 |
|
| 502 |
* src/rdf_hash.c: |
| 503 |
(librdf_hash_from_string): Do pointer arithmetic in size_t [gcc |
| 504 |
warnings] |
| 505 |
|
| 506 |
* src/rdf_hash.c: Good casts to size_t between pointers that |
| 507 |
increase [gcc warnings] |
| 508 |
|
| 509 |
(librdf_hash_from_string, librdf_hash_interpret_template): Add |
| 510 |
good casts from pointer arithmetic (int) to size_t that will |
| 511 |
always be positive. |
| 512 |
|
| 513 |
* src/rdf_storage_sqlite.c: Protect #if use of undefined |
| 514 |
LIBRDF_DEBUG |
| 515 |
|
| 516 |
* src/rdf_query_rasqal.c: Protect #if use of undefined |
| 517 |
LIBRDF_DEBUG |
| 518 |
|
| 519 |
* src/rdf_list.c: Protect #if use of undefined LIBRDF_DEBUG |
| 520 |
|
| 521 |
* src/rdf_init.c: long and size_t fixes |
| 522 |
|
| 523 |
(librdf_world_set_feature): use long for time_t |
| 524 |
|
| 525 |
(librdf_world_get_genid): Calculate length in size_t |
| 526 |
|
| 527 |
* src/librdf.h.in: |
| 528 |
Add prototypes for license and home url strings |
| 529 |
|
| 530 |
* docs/redland-changes.tsv, docs/redland-sections.txt, |
| 531 |
src/rdf_init.c, utils/rdfproc.c: Add license and home url constant |
| 532 |
strings to API |
| 533 |
|
| 534 |
Added librdf_license_string and librdf_home_url_string to public |
| 535 |
API following Raptor and Rasqal naming convention. |
| 536 |
|
| 537 |
(rdfproc main): Use in help. |
| 538 |
|
| 539 |
2012-06-27 Dave Beckett <[email protected]> |
| 540 |
|
| 541 |
* configure.ac: |
| 542 |
Require raptor 2.0.7+ |
| 543 |
|
| 544 |
* INSTALL.html, configure.ac, examples/Makefile.am, |
| 545 |
src/Makefile.am, src/rdf_init.c, src/rdf_internal.h, |
| 546 |
src/win32_rdf_config.h.in, utils/Makefile.am: Remove dmalloc and |
| 547 |
memory signing |
| 548 |
|
| 549 |
Removed --with-dmalloc and --with-memory-signing configure options. |
| 550 |
|
| 551 |
* src/rdf_init.c: 2012 |
| 552 |
|
| 553 |
* NEWS.html, RELEASE.html: 1.0.16 |
| 554 |
|
| 555 |
2012-06-26 Dave Beckett <[email protected]> |
| 556 |
|
| 557 |
* Makefile.am: EXTRA_DIST: Remove ChangeLog NEWS since they are in |
| 558 |
dist by default |
| 559 |
|
| 560 |
* src/rdf_storage_virtuoso.c: |
| 561 |
Error path cleanups [clang] |
| 562 |
|
| 563 |
(vGetDataCHAR): On query failure, free pLongData. |
| 564 |
|
| 565 |
(librdf_storage_virtuoso_get_handle): On connection falloc |
| 566 |
failure, free connections before returning. Protect looking up |
| 567 |
connection to make clang happier. |
| 568 |
|
| 569 |
(librdf_storage_virtuoso_context_remove_statement): Protect |
| 570 |
multiple strlens from a statement to prevent NULL lookup. |
| 571 |
|
| 572 |
(librdf_storage_virtuoso_get_contexts0: Protect looking up storage |
| 573 |
to make clang happier. |
| 574 |
|
| 575 |
* src/rdf_storage_sqlite.c: |
| 576 |
(librdf_storage_sqlite_query_flush): Add NULL storage check [clang] |
| 577 |
|
| 578 |
* src/rdf_storage_list.c: |
| 579 |
Error path cleanups [clang] |
| 580 |
|
| 581 |
(librdf_storage_list_get_contexts): On alloc failure for key, free |
| 582 |
icontext |
| 583 |
|
| 584 |
* src/rdf_storage_hashes.c: |
| 585 |
Error path cleanups [clang] |
| 586 |
|
| 587 |
(librdf_storage_hashes_register): Protect from NULL source_desc to |
| 588 |
make clang happier |
| 589 |
|
| 590 |
(librdf_storage_hashes_init_common): Protect from NULL hash |
| 591 |
descriptions to make clang happier |
| 592 |
|
| 593 |
(librdf_storage_hashes_get_contexts): On alloc failure for key, |
| 594 |
free icontext |
| 595 |
|
| 596 |
* src/rdf_storage_file.c: |
| 597 |
Error path cleanups [clang] |
| 598 |
|
| 599 |
(librdf_storage_file_sync): free backup_name on failure |
| 600 |
|
| 601 |
* src/rdf_query_virtuoso.c: |
| 602 |
Error path cleanups [clang] |
| 603 |
|
| 604 |
(librdf_query_virtuoso_execute): free results on failure |
| 605 |
|
| 606 |
(librdf_query_virtuoso_results_as_stream): Free scontext on |
| 607 |
failure |
| 608 |
|
| 609 |
* src/rdf_query_rasqal.c: Fix allocation of stream context [clang] |
| 610 |
|
| 611 |
(librdf_query_rasqal_results_as_stream): Allocate correct stream |
| 612 |
context size. |
| 613 |
|
| 614 |
* src/rdf_heuristics.c: |
| 615 |
(librdf_heuristic_object_is_literal): Protect a lookup to make clang |
| 616 |
happier |
| 617 |
|
| 618 |
* src/rdf_hash.c: |
| 619 |
Error path cleanups [clang] |
| 620 |
|
| 621 |
(librdf_hash_keys_iterator_finished): Protect a lookup to make |
| 622 |
clang happier |
| 623 |
|
| 624 |
(librdf_hash_print): Free key on alloc failure of value |
| 625 |
|
| 626 |
* src/rdf_storage_sqlite.c: Type length casts for sqlite3 |
| 627 |
|
| 628 |
(sqlite_string_escape): Turn sqlite rowid into narrower int (BAD |
| 629 |
CAST) |
| 630 |
|
| 631 |
(librdf_storage_sqlite_serialise) |
| 632 |
(librdf_storage_sqlite_find_statements) |
| 633 |
(librdf_storage_sqlite_context_serialise) |
| 634 |
(librdf_storage_sqlite_get_contexts): Narrow known query string |
| 635 |
lengths to int from size_t - good since we construct the query |
| 636 |
strings inside this module. |
| 637 |
|
| 638 |
* src/rdf_query_virtuoso.c, src/rdf_storage_virtuoso.c: bad casts |
| 639 |
for narrowing size_t to SQLUINTEGER |
| 640 |
|
| 641 |
(librdf_query_virtuoso_init, BindCtxt, BindSP, BindObject): |
| 642 |
Multiple bad casts for turning size_t from a strlen into |
| 643 |
SQLUINTEGER (which seems to be smaller). |
| 644 |
|
| 645 |
* src/rdf_storage_postgresql.c: size_t for length |
| 646 |
|
| 647 |
(librdf_storage_postgresql_hash) |
| 648 |
(librdf_storage_postgresql_node_hash): Now take size_t args Update |
| 649 |
callers |
| 650 |
|
| 651 |
(librdf_storage_postgresql_size): Bad cast for turning PGgetvalue |
| 652 |
into long via atol and then returning an int. |
| 653 |
|
| 654 |
* src/rdf_hash_bdb.c: |
| 655 |
LIBRDF_BAD_CAST BDB key sizes to int |
| 656 |
|
| 657 |
* configure.ac, src/rdf_storage_trees.c: Use ptrdiff_t for |
| 658 |
comparing void pointers |
| 659 |
|
| 660 |
* src/rdf_query_rasqal.c, src/rdf_storage_hashes.c: size_t for len |
| 661 |
in multiple places |
| 662 |
|
| 663 |
query rasqal module: |
| 664 |
(librdf_query_rasqal_init): size_t for len |
| 665 |
|
| 666 |
storage hashes module: |
| 667 |
(librdf_storage_hashes_register, librdf_storage_hashes_init) |
| 668 |
(librdf_storage_hashes_add_remove_statement) |
| 669 |
(librdf_storage_hashes_contains_statement) |
| 670 |
(librdf_storage_hashes_context_add_statement) |
| 671 |
(librdf_storage_hashes_context_remove_statement): size_t for len |
| 672 |
|
| 673 |
* src/rdf_digest_sha1.c: |
| 674 |
(SHA1Update): Bad cast a size_t len to u32 :/ |
| 675 |
|
| 676 |
* src/rdf_internal.h: |
| 677 |
Add LIBRDF_GOOD_CAST LIBRDF_BAD_CAST |
| 678 |
|
| 679 |
* src/rdf_utf8.c: |
| 680 |
(librdf_utf8_print): Cast to char when in range |
| 681 |
|
| 682 |
* src/rdf_hash.c: |
| 683 |
(librdf_hash_get_as_long): strtol returns long (!) |
| 684 |
|
| 685 |
* src/rdf_digest.c, src/rdf_hash.c, src/rdf_hash_memory.c, |
| 686 |
src/rdf_parser.c, src/rdf_parser_raptor.c: Use size_t for len in |
| 687 |
multiple places digest module |
| 688 |
|
| 689 |
(librdf_digest_to_string): use size_t for mdlen and index. hash |
| 690 |
module |
| 691 |
|
| 692 |
(librdf_hash_from_string): size_t for len and index var. |
| 693 |
|
| 694 |
(macro ONE_AT_A_TIME_HASH): use size_t for len parser module |
| 695 |
|
| 696 |
(librdf_parser_guess_name2) |
| 697 |
|
| 698 |
(librdf_parser_raptor_get_next_statement) |
| 699 |
|
| 700 |
(librdf_parser_raptor_parse_uri_as_stream_write_bytes_handler): |
| 701 |
size_t for len |
| 702 |
|
| 703 |
* src/rdf_digest_internal.h: Use void* for digest context |
| 704 |
librdf_digest_s field context is void* |
| 705 |
|
| 706 |
* src/rdf_uri.c: |
| 707 |
(librdf_new_uri_normalised_to_base): size_t for len |
| 708 |
|
| 709 |
* src/rdf_init.c, src/rdf_init_internal.h: Genid are now unsigned |
| 710 |
long |
| 711 |
|
| 712 |
(librdf_world_get_genid): Format as %lu |
| 713 |
|
| 714 |
* src/rdf_query_rasqal.c: #if LIBRDF_DEBUG |
| 715 |
|
| 716 |
* configure.ac: Update warnings |
| 717 |
|
| 718 |
* src/rdf_storage_postgresql.c: Supply default host 'localhost' |
| 719 |
for postgresql storage. |
| 720 |
|
| 721 |
(librdf_storage_postgresql_init): Check for missing host and set |
| 722 |
it to localhost. Report required storage config parameters in |
| 723 |
error failure message. |
| 724 |
|
| 725 |
* src/rdf_storage_mysql.c: Supply default host 'localhost' for |
| 726 |
mysql storage. |
| 727 |
|
| 728 |
(librdf_storage_mysql_init): Check for missing host and set it to |
| 729 |
localhost. Report required storage config parameters in error |
| 730 |
failure message. |
| 731 |
|
| 732 |
* src/rdf_storage_hashes.c: Make statement present (ASK) work for |
| 733 |
hashes storage and contexts |
| 734 |
|
| 735 |
(librdf_storage_hashes_contains_statement): Get index contexts |
| 736 |
flag from context not storage. Why? Not immediately clear at a |
| 737 |
glance |
| 738 |
|
| 739 |
Fixes Issue #0000515 |
| 740 |
http://bugs.librdf.org/mantis/view.php?id=515 |
| 741 |
|
| 742 |
* autogen.sh: autogen.sh updates |
| 743 |
- Abort run if a configuring program fails. |
| 744 |
- Generate NEWS with old timestamp if missing so automake can run |
| 745 |
- small doc and message updates |
| 746 |
|
| 747 |
2012-06-19 Dave Beckett <[email protected]> |
| 748 |
|
| 749 |
* configure.ac: Search for BDB 5.3 |
| 750 |
|
| 751 |
* src/rdf_storage_postgresql.c: Make loading triples from a stream |
| 752 |
to postgresql actually work |
| 753 |
|
| 754 |
(librdf_storage_postgresql_context_add_statements): Skip to next |
| 755 |
statement in non bulk mode. |
| 756 |
|
| 757 |
2012-06-17 Dave Beckett <[email protected]> |
| 758 |
|
| 759 |
* autogen.sh: Support NOCONFIGURE variable, like Lib{XML2,XSLT} |
| 760 |
|
| 761 |
2012-05-20 Dave Beckett <[email protected]> |
| 762 |
|
| 763 |
* ChangeLog, RELEASE.html: 1.0.16 |
| 764 |
|
| 765 |
2012-05-17 Dave Beckett <[email protected]> |
| 766 |
|
| 767 |
* src/rdf_query.c: sparql |
| 768 |
|
| 769 |
2012-05-17 Dave Beckett <[email protected]> |
| 770 |
|
| 771 |
* utils/rdfproc.1: typo |
| 772 |
|
| 773 |
2012-03-07 Dave Beckett <[email protected]> |
| 774 |
|
| 775 |
* Merge pull request #2 from zoggy/master Fixing bad test on query |
| 776 |
allocation (postgresql storage) + WS changes |
| 777 |
|
| 778 |
2012-02-13 Lauri Aalto <[email protected]> |
| 779 |
|
| 780 |
* autogen.sh: |
| 781 |
require automake 1.11.2+ for -Wextra-portability |
| 782 |
|
| 783 |
2012-02-11 Dave Beckett <[email protected]> |
| 784 |
|
| 785 |
* INSTALL.html: |
| 786 |
Doc corrections |
| 787 |
|
| 788 |
Remove docs of --with-raptor=internal and --with-rasqal=internal |
| 789 |
These were removed from configure.ac on Mon Mar 30 02:07:57 2009 |
| 790 |
+0000 in commit 94687555d3b328fc920dd8180b1b2a563199fea0 Emphasise |
| 791 |
--prefix=/usr more |
| 792 |
|
| 793 |
2012-02-10 Dave Beckett <[email protected]> |
| 794 |
|
| 795 |
* build/.gitignore, configure.ac, docs/tmpl/world.sgml: Add |
| 796 |
automake option -Wextra-portability and AM_PROG_AR to make it |
| 797 |
happy |
| 798 |
|
| 799 |
* docs/redland-sections.txt: Remove librdf_world_get_raptor |
| 800 |
librdf_world_set_raptor from unused |
| 801 |
|
| 802 |
* docs/redland-sections.txt: add librdf_world_get_raptor |
| 803 |
librdf_world_set_raptor |
| 804 |
|
| 805 |
2012-02-01 Lauri Aalto <[email protected]> |
| 806 |
|
| 807 |
* src/rdf_storage.c: |
| 808 |
(librdf_storage_contains_statement): Return >0 only for invalid |
| 809 |
statements according to API contract. Treat NULL storage as empty |
| 810 |
storage not containing statements. Use |
| 811 |
librdf_statement_is_complete() for testing statement validity. |
| 812 |
|
| 813 |
* src/rdf_model.c: |
| 814 |
(librdf_model_contains_statement): Treat NULL statement as invalid |
| 815 |
|
| 816 |
* src/rdf_model.c: |
| 817 |
(librdf_model_contains_statement): Return >0 only for invalid |
| 818 |
statements according to API contract. |
| 819 |
|
| 820 |
Fixes Issue #0000489 |
| 821 |
http://bugs.librdf.org/mantis/view.php?id=489 |
| 822 |
|
| 823 |
2012-01-02 Dave Beckett <[email protected]> |
| 824 |
|
| 825 |
* ChangeLog, ChangeLog.12, FAQS.html, INSTALL.html, LICENSE.html, |
| 826 |
Makefile.am, NEWS.html, README.html, RELEASE.html, TODO.html: 2012 |
| 827 |
|
| 828 |
* docs/redland-changes.tsv, docs/redland-sections.txt, |
| 829 |
src/rdf_init.h, src/rdf_init_internal.h, src/rdf_query_rasqal.c, |
| 830 |
src/rdf_raptor.c: Add handlers to allow application code to |
| 831 |
configure raptor and rasqal |
| 832 |
|
| 833 |
(librdf_world_set_raptor_init_handler, |
| 834 |
librdf_world_set_rasqal_init_handler): Added methods to set |
| 835 |
handlers for configuring internal raptor and rasqal after they |
| 836 |
have been constructed but before they are initialized; before |
| 837 |
raptor_world_open() or rasqal_world_open() are run, respectively. |
| 838 |
|
| 839 |
Added librdf_raptor_init_handler and librdf_rasqal_init_handler |
| 840 |
typedefs for the handlers. |
| 841 |
|
| 842 |
2012-01-02 Dave Beckett <[email protected]> |
| 843 |
|
| 844 |
* src/rdf_init.c: |
| 845 |
(librdf_world_set_rasqal): reset rasqal_world_allocated_here |
| 846 |
|
| 847 |
2012-01-02 Dave Beckett <[email protected]> |
| 848 |
|
| 849 |
* Remove doc references to Raptor V1 |