ChangeLog.12 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972
  1. 2011-12-03 Dave Beckett <dave@dajobe.org>
  2. * Snapshotted redland_1_0_15 for 1.0.15 release (GIT b086a6be81252d6beed8051c788518fd1ef07ddf)
  3. * configure.ac: BDB 5.2
  4. * scripts/fix-gtkdoc-header.pl: Add fix-gtkdoc-header.pl
  5. * docs/Makefile.am, scripts/Makefile.am: Update gtkdoc config to
  6. work in make distcheck
  7. * docs/Makefile.am:
  8. Build filtered_rdf_log.h in builddir
  9. * docs/.gitignore: filtered_rdf_log.h
  10. * docs/redland-changes.tsv: Add librdf_new_hash
  11. * src/rdf_parser.c:
  12. Fix parser test to test 3 parsers
  13. This can never have worked - it overwrote the 'i' variable.
  14. Code style fixes.
  15. If a parser constructor fails, just warn and skip in case raptor
  16. does not have it installed.
  17. * src/rdf_init.c:
  18. (librdf_new_world): Handle else only if debugging
  19. 2011-12-02 Dave Beckett <dave@dajobe.org>
  20. * configure.ac, src/Makefile.am: Add LIBRDF_INTERNAL_DEPS for
  21. libltd dependencies not libs
  22. Intended to fix Issue #0000485
  23. http://bugs.librdf.org/mantis/view.php?id=485
  24. but can't reproduce
  25. 2011-11-23 Dave Beckett <dave@dajobe.org>
  26. * configure.ac: Use AWK
  27. 2011-11-21 Lauri Aalto <laalto@iki.fi>
  28. * src/rdf_parser.c:
  29. (librdf_parser_get_namespaces_seen_count): Fix return value
  30. autodocs.
  31. Fixes issue #0000483
  32. http://bugs.librdf.org/mantis/view.php?id=483
  33. * src/rdf_hash_bdb.c: eliminate empty if body warnings when debug
  34. messages are disabled
  35. 2011-11-18 Dave Beckett <dave@dajobe.org>
  36. * docs/redland-changes.tsv, docs/redland-docs.xml,
  37. docs/redland-sections.txt, docs/tmpl/general.sgml,
  38. docs/tmpl/hash.sgml, docs/tmpl/log.sgml,
  39. docs/tmpl/section-general.sgml, docs/tmpl/statement.sgml,
  40. docs/tmpl/storage.sgml, docs/tmpl/unused.sgml, src/librdf.h.in,
  41. src/rdf_init.c, src/rdf_init.h, src/rdf_log.c: autodocs and add
  42. section general to the manual
  43. * src/rdf_log.c:
  44. (librdf_log): Use raptor_vasprintf for raptor >= 2.0.5
  45. * configure.ac: Do not enable debug messages by default for
  46. --enable-maintainer-mode This now requires the extra
  47. --enable-debug option to configure or autogen.sh
  48. * ChangeLog, docs/redland-sections.txt, src/rdf_hash.h,
  49. src/rdf_hash_internal.h: Make librdf_new_hash public
  50. * docs/redland-sections.txt: Add librdf_new_hash
  51. librdf_new_hash_from_factory
  52. 2011-11-17 Dave Beckett <dave@dajobe.org>
  53. * NEWS.html, RELEASE.html: 1.0.15
  54. * autogen.sh: Update autogen.sh
  55. 2011-11-04 Lauri Aalto <laalto@iki.fi>
  56. * src/rdf_statement.c, src/rdf_statement.h:
  57. (librdf_new_statement_from_statement2): Renamed API function from
  58. librdf_new_statement_from_statement(). Shallow copy.
  59. (librdf_new_statement_from_statement): Reverted to pre-raptor_term
  60. deep copy contract for the function.
  61. Fixes Issue #0000478
  62. http://bugs.librdf.org/mantis/view.php?id=478
  63. * src/rdf_stream.c:
  64. (librdf_stream_get_object): Improved docs
  65. * utils/rdfproc.c:
  66. (main): Use raptor_free_memory() for raptor-allocated memory
  67. * src/rdf_statement.c:
  68. (librdf_statement_to_string): Use raptor for freeing
  69. raptor-allocated memory
  70. * src/rdf_parser_raptor.c:
  71. (librdf_parser_raptor_get_accept_header): Use librdf_alloc_memory()
  72. for memory to be freed externally. Code style.
  73. * src/rdf_query.c, src/rdf_query_results.c:
  74. (librdf_parser_get_accept_header): Document librdf_free_memory()
  75. (librdf_parser_raptor_parse_as_stream_common): Changed
  76. const-removing cast.
  77. * src/rdf_parser.c:
  78. (main): Use appropriate free in tests
  79. * src/rdf_parser.c, src/rdf_parser_raptor.c:
  80. (librdf_parser_get_accept_header): Document librdf_free_memory()
  81. * src/rdf_node.c:
  82. (librdf_node_to_string, librdf_node_to_counted_string): Use
  83. raptor_free_memory() for raptor-allocated memory, not free()
  84. * src/rdf_model.c, src/rdf_serializer.c:
  85. (librdf_model_to_counted_string,
  86. librdf_serializer_serialize_model_to_counted_string,
  87. librdf_serializer_serialize_model_to_string): Document
  88. librdf_free_memory().
  89. (main): Practise as preached in tests.
  90. * src/rdf_hash.c:
  91. (librdf_hash_to_string): Use librdf_alloc_memory(),
  92. librdf_free_memory()
  93. * src/rdf_digest.c:
  94. (librdf_digest_to_string): Memory alloc/free in same shared object.
  95. * src/rdf_init.c, src/rdf_init.h:
  96. (librdf_alloc_memory, librdf_calloc_memory): Added new API
  97. functions.
  98. * src/rdf_serializer.c, src/rdf_serializer_raptor.c:
  99. (librdf_serializer_serialize_stream_to_counted_string): Document
  100. requirement for librdf_free_memory().
  101. (librdf_serializer_raptor_serialize_stream_to_counted_string): Use
  102. raptor_free_memory() not free() in error cases.
  103. * src/rdf_init.c, src/rdf_init.h:
  104. (librdf_free_memory): Added new API function.
  105. Fixes Issue #0000475
  106. http://bugs.librdf.org/mantis/view.php?id=475
  107. 2011-08-27 Dave Beckett <dave@dajobe.org>
  108. * HACKING.md: Code style for macros
  109. 2011-08-25 Dave Beckett <dave@dajobe.org>
  110. * configure.ac: Make configure never set BDB 7 arg and 6 arg open
  111. defines
  112. Based on idea in Issue#0000468
  113. http://bugs.librdf.org/mantis/view.php?id=468
  114. * src/rdf_hash_bdb.c:
  115. (librdf_hash_bdb_open): Use 7 args open in preference to 6
  116. Thanks to Peter O'Gorman (pogma) for the patch
  117. Fixes Issue#0000468
  118. http://bugs.librdf.org/mantis/view.php?id=468
  119. * src/rdf_storage_virtuoso.c: Prevent virtuoso query being
  120. registered twice in non-modular build
  121. (librdf_storage_module_register_factory)
  122. (librdf_init_storage_virtuoso): Remove
  123. librdf_init_query_virtuoso() calls.
  124. Fixes Issue#0000461
  125. http://bugs.librdf.org/mantis/view.php?id=461
  126. 2011-08-24 Dave Beckett <dave@dajobe.org>
  127. * src/rdf_storage_virtuoso.c: Add switch for
  128. VIRTUOSO_DV_TIMESTAMP_OBJ but not sure what it does
  129. 2011-08-23 Dave Beckett <dave@dajobe.org>
  130. * HACKING.md: hacking
  131. 2011-08-21 Dave Beckett <dave@dajobe.org>
  132. * src/.gitignore: Ignore win32_rdf_config.h
  133. * utils/rdfproc.c: windows fixes
  134. * src/rdf_serializer.c:
  135. (log_handler): Add REDLAND_CALLBACK_STDCALL for windows
  136. * src/rdf_model.c:
  137. (main): move declarations to top of block
  138. 2011-08-01 Dave Beckett <dave@dajobe.org>
  139. * src/rdf_storage_tstore.c: alloc changes but this storage seems
  140. like it won't compile
  141. 2011-07-31 Dave Beckett <dave@dajobe.org>
  142. * src/rdf_storage_mysql.c, src/rdf_storage_postgresql.c:
  143. Fix typos
  144. in alloc changes for mysql and postgresql storages
  145. * src/rdf_concepts.c, src/rdf_digest.c, src/rdf_files.c,
  146. src/rdf_hash.c, src/rdf_hash_bdb.c, src/rdf_hash_cursor.c,
  147. src/rdf_hash_memory.c, src/rdf_heuristics.c, src/rdf_init.c,
  148. src/rdf_internal.h, src/rdf_iterator.c, src/rdf_list.c,
  149. src/rdf_log.c, src/rdf_model.c, src/rdf_node.c,
  150. src/rdf_node_common.c, src/rdf_parser.c, src/rdf_parser_raptor.c,
  151. src/rdf_query.c, src/rdf_query_rasqal.c, src/rdf_query_virtuoso.c,
  152. src/rdf_raptor.c, src/rdf_serializer.c, src/rdf_statement.c,
  153. src/rdf_storage.c, src/rdf_storage_file.c,
  154. src/rdf_storage_hashes.c, src/rdf_storage_list.c,
  155. src/rdf_storage_mysql.c, src/rdf_storage_postgresql.c,
  156. src/rdf_storage_sql.c, src/rdf_storage_sqlite.c,
  157. src/rdf_storage_trees.c, src/rdf_storage_tstore.c,
  158. src/rdf_storage_virtuoso.c, src/rdf_stream.c, src/rdf_uri.c,
  159. src/rdf_utf8.c: Code style change and cleanup for alloc/free
  160. macros
  161. Code style:
  162. 1. var = LIBRDF_CALLOC(type, count, size)
  163. Prefering:
  164. var = LIBRDF_CALLOC(type, 1, sizeof(*var))
  165. when count = 1
  166. 2. var = LIBRDF_MALLOC(type, size)
  167. 3. LIBRDF_FREE(type, var)
  168. The consequence here is allocs that mostly fit into 1 line without
  169. so much boilerplate and duplication of types.
  170. The LIBRDF_MALLOC and LIBRDF_CALLOC now do the cast to the return
  171. type.
  172. LIBRDF_FREE takes the object type too but always casts arg to void
  173. This certainly contains many wrong types to the arg but might be
  174. used later in some kind of smart type-aware debugging allocator.
  175. 2011-07-31 Dave Beckett <dave@dajobe.org>
  176. * src/rdf_query_virtuoso.c, src/rdf_storage_hashes.c,
  177. src/rdf_storage_postgresql.c: code style: replace if((var=value))
  178. ... format with two statements
  179. * src/rdf_storage_mysql.c: code style: replace if((var=value)) ...
  180. format with two statements
  181. * HACKING.md: Memory allocation
  182. 2011-07-23 Dave Beckett <dave@dajobe.org>
  183. * NEWS.html, RELEASE.html, configure.ac:
  184. Bumped version to 1.0.15
  185. * docs/Makefile.am:
  186. Update docs
  187. * Snapshotted redland_1_0_14 for 1.0.14 release (GIT
  188. bb131974b8e13a29641eec183ded5a574e3866e5)
  189. 2011-07-23 Dave Beckett <dave@dajobe.org>
  190. * RELEASE.html:
  191. 1.0.14
  192. * src/rdf_model.c:
  193. (test_model_cloning): Free new storages from cloned models.
  194. * src/rdf_storage_hashes.c:
  195. (librdf_storage_hashes_clone): Copy storage fields in cloning.
  196. 2011-07-22 Dave Beckett <dave@dajobe.org>
  197. * src/rdf_storage_hashes.c:
  198. (librdf_storage_hashes_clone): Do not lose new_context memory
  199. * src/rdf_storage_sqlite.c: Fixed
  200. librdf_storage_sqlite_context_serialise_finished leak of a node
  201. reference
  202. (librdf_storage_sqlite_context_serialise_finished): Free the
  203. context node in the context-serializing argument list. Too many
  204. use of 'context' error!
  205. * docs/Makefile.am, docs/redland-sections.txt,
  206. docs/tmpl/redland-unused.sgml, docs/tmpl/unused.sgml: Remove
  207. internal funcs from docs Ignore rdf_raptor_internal.h for autodocs
  208. * src/rdf_statement_internal.h: Remove unused struct
  209. librdf_statement_s
  210. * src/rdf_statement.c:
  211. Restore librdf_statement_decode_parts to ABI
  212. (librdf_statement_decode_parts): Add back. Although this has been
  213. deprecated for librdf_statement_decode2() should not have been
  214. removed. Always fails.
  215. * docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
  216. docs/tmpl/redland-unused.sgml, docs/tmpl/unused.sgml:
  217. Update tmpls
  218. 2011-07-21 Lauri Aalto <laalto@iki.fi>
  219. * src/rdf_types.h: Fixed printf format warnings on systems where
  220. u64 is not unsigned long long.
  221. 2011-07-20 Dave Beckett <dave@dajobe.org>
  222. * src/rdf_model.c: Tidy up better during optional test failures
  223. (such as no mysql db running)
  224. * docs/redland-sections.txt: Remove internal cache unused docs
  225. * src/Makefile.am, src/rdf_cache.c, src/rdf_cache.h,
  226. src/rdf_internal.h: Remove rdf_cache internal module - not used
  227. * src/rdf_parser.c:
  228. (main): Free another iostream
  229. * src/rdf_storage_postgresql.c:
  230. (librdf_storage_postgresql_init): Free options on failures
  231. * src/rdf_storage_mysql.c:
  232. (librdf_storage_mysql_init): Free options on failures
  233. * src/rdf_parser.c:
  234. (main): Free iostream
  235. * src/rdf_statement.c:
  236. (main): Free iostream
  237. * src/rdf_node.c: Fix URI reference leak in two librdf_node
  238. constructors.
  239. (librdf_new_node_from_uri_local_name)
  240. (librdf_new_node_from_normalised_uri_string): Fix URI reference
  241. leak due to raptor term constructor semantics.
  242. 2011-07-18 Dave Beckett <dave@dajobe.org>
  243. * docs/redland-changes.tsv, docs/redland-sections.txt:
  244. 1.0.14
  245. * src/rdf_raptor.c:
  246. autodocs
  247. * configure.ac:
  248. Look for debian multiarch dir for libs first
  249. * src/Makefile.am:
  250. Remove rdf_avltree_internal.h from dist
  251. * utils/redland-virtuoso-test.c:
  252. Remove variables only set once to NULL
  253. * src/Makefile.am, src/rdf_avltree.c, src/rdf_avltree_internal.h,
  254. src/rdf_storage_trees.c: Remove avltree module and use
  255. raptor_avltree
  256. Type changes:
  257. - Use raptor_avltree not librdf_avltree
  258. - Use raptor_avltree_iterator not librdf_iterator
  259. Call changes:
  260. - raptor_avltree_size replaces librdf_avltree_size
  261. - raptor_avltree_add replaces librdf_avltree_add and return value
  262. is tri-value not an enum
  263. - raptor_avltree_delete replaces librdf_avltree_delete
  264. - raptor_avltree_search replaces librdf_avltree_search
  265. - raptor_new_avltree_iterator replaces
  266. librdf_avltree_get_iterator_start, loses a world arg and gains a
  267. direction argument which is always 'forward' (1) in this module.
  268. - raptor_avltree_iterator_is_end replaces librdf_iterator_end
  269. - raptor_avltree_iterator_next replaces librdf_iterator_next
  270. - raptor_avltree_iterator_get replaces librdf_iterator_get_object
  271. - raptor_free_avltree_iterator replaces librdf_free_iterator
  272. - raptor_new_avltree replaces librdf_new_tree and gains a flags
  273. argument.
  274. - raptor_free_avltree replaces librdf_free_avltree
  275. * utils/.gitignore:
  276. Ignore *.plist
  277. * src/.gitignore:
  278. Ignore *.plist
  279. * src/rdf_stream.c:
  280. (librdf_stream_from_node_iterator_finished): Init 'world' carefully
  281. [clang]
  282. * src/rdf_storage_virtuoso.c:
  283. (librdf_storage_virtuoso_size): init 'count' [clang]
  284. * src/rdf_storage_sqlite.c:
  285. Remove a couple of useless assignment to 'status' [clang]
  286. Really should have a proper retry a few times then fail mechanism.
  287. Storage option for sqlite store?
  288. * src/rdf_statement_common.c:
  289. (librdf_statement_encode_parts2): Remove useless assignment to 'p'
  290. and 'length' [clang]
  291. * src/rdf_statement.c:
  292. (librdf_statement_encode_parts_internal): Remove useless assignment
  293. to 'p' and 'length' [clang]
  294. * src/rdf_query_virtuoso.c:
  295. (librdf_query_virtuoso_results_formatter_write): init 'rc' [clang]
  296. * src/rdf_query.c:
  297. (librdf_query_remove_query_result): Protect lookup of NULL 'cur'
  298. [clang]
  299. * src/rdf_parser_raptor.c:
  300. Take not of failure statuses [clang]
  301. (librdf_parser_raptor_parse_as_stream_common): Error out when
  302. status non-0
  303. (librdf_parser_raptor_serialise_finished): Set world carefully to
  304. avoid NULL pointer lookup.
  305. * src/rdf_node.c:
  306. (librdf_node_decode): Remove useless assignment to total_length
  307. [clang]
  308. * src/rdf_hash_bdb.c:
  309. (librdf_hash_bdb_sync): Set and use ret var [clang]
  310. * src/rdf_digest_sha1.c: SHA1 fixes [clang]
  311. * src/rdf_cache.c:
  312. (librdf_cache_set_common): Set node to NULL and code style [clang]
  313. * src/rdf_cache.c:
  314. (librdf_cache_set_common): move new_object assignment to in debug
  315. ifdef [clang]
  316. * utils/rdfproc.c:
  317. Remove assignment of rc never read [clang]
  318. * utils/rdf-tree.c:
  319. Initialize buffer to NULL. [clang]
  320. * src/rdf_hash.c:
  321. (librdf_hash_from_string): Do not set values that are never read
  322. [clang]
  323. * src/rdf_hash.c:
  324. (librdf_hash_get_all_iterator_get_method)
  325. (librdf_hash_keys_iterator_get_method): Return context, not
  326. address of local context var. [clang]
  327. * src/rdf_digest.c:
  328. (librdf_digest_to_string): Return on malloc failure [CLANG]
  329. * src/rdf_init.c:
  330. (librdf_world_set_feature): Actually set the value for genid_base
  331. and counter [clang]'
  332. * src/rdf_query_virtuoso.c:
  333. (librdf_query_virtuoso_results_formatter_write): Remove set but
  334. unused context variable
  335. * src/rdf_storage_mysql.c:
  336. (librdf_storage_mysql_context_add_statement_helper): Use calculated
  337. rc value in return
  338. * src/rdf_hash_bdb.c:
  339. (librdf_hash_bdb_get_fd): Use ret value to return failure
  340. * configure.ac, src/Makefile.am, utils/Makefile.am: Add clang
  341. support for maintainer with 'analyze' target.
  342. configure.ac: Add RECHO substvar
  343. * configure.ac: Guesing BDB libname looks for dynamic libs too and
  344. tries to be specific
  345. 2011-07-17 Dave Beckett <dave@dajobe.org>
  346. * src/librdf.h.in, src/rdf_node.c, src/rdf_utf8.c, src/rdf_utf8.h:
  347. Move UTF8 utility functions into public API
  348. Make the rdf_utf8.h header (which was already shipped and
  349. installed) usable: do not depend on rdf_types.h, use raptor
  350. typedefs and replace byte with it's definition of unsigned char.
  351. (librdf_unicode_char_to_utf8): Replaced and deprecated with
  352. raptor_unicode_utf8_string_put_char.
  353. (librdf_utf8_to_unicode_char): Replaced and deprecated with
  354. raptor_unicode_utf8_string_get_char
  355. Add stdlib.h for malloc definition.
  356. Remove utf8 spec comment
  357. (librdf_latin1_to_utf8): Free allocation on failure
  358. (librdf_utf8_to_latin1): Free allocation on failure
  359. Fixes Issue#0000447
  360. http://bugs.librdf.org/mantis/view.php?id=447
  361. 2011-07-17 Dave Beckett <dave@dajobe.org>
  362. * src/librdf.h.in, src/rdf_log.h, src/rdf_serializer.h,
  363. src/rdf_serializer_internal.h: Use raptor2.h not raptor.h
  364. 2011-07-16 Dave Beckett <dave@dajobe.org>
  365. * src/rdf_node.c:
  366. (librdf_node_write): Always write N-Triples
  367. 2011-04-05 Dave Beckett <dave@dajobe.org>
  368. * src/rdf_hash.c:
  369. (librdf_hash_get_as_boolean): 'false' string fixed to be a False
  370. value.
  371. 2011-03-20 Dave Beckett <dave@dajobe.org>
  372. * docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
  373. docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
  374. docs/tmpl/serializer.sgml, docs/tmpl/storage.sgml,
  375. docs/tmpl/stream.sgml, docs/tmpl/unused.sgml: Update tmpls
  376. * src/rdf_init.c, src/rdf_init_internal.h, src/rdf_node.c,
  377. src/rdf_parser_raptor.c, src/rdf_raptor.c,
  378. src/rdf_raptor_internal.h: Move raptor blank node ID generation to
  379. hang off world object
  380. librdf_world gains bnode_hash field moved from raptor parser
  381. context.
  382. (librdf_raptor_generate_id_handler): Added based on
  383. librdf_parser_raptor_generate_id_handler().
  384. (librdf_init_raptor, librdf_finish_raptor): Initialise and free
  385. bnode hash once per redland world and use
  386. librdf_raptor_generate_id_handler() to generate IDs.
  387. (librdf_raptor_reset_bnode_hash): Added to remove and reset
  388. current bnode ID hash map.
  389. (librdf_raptor_free_bnode_hash): Added to empty current bnode ID
  390. hash map.
  391. (librdf_world_open, librdf_free_world): Move raptor init to after
  392. hash module, free to before it, to allow bnode_hash to work.
  393. (librdf_parser_raptor_init): Deleted bnode_hash code and use
  394. librdf_raptor_reset_bnode_hash() to reset current world-wide hash.
  395. (librdf_parser_raptor_terminate): Deleted bnode_hash code and use
  396. librdf_raptor_free_bnode_hash() to empty current world-wide hash.
  397. (librdf_parser_raptor_generate_id_handler): Deleted.
  398. (librdf_parser_raptor_parse_file_handle_as_stream)
  399. (librdf_parser_raptor_parse_as_stream_common): remove setting
  400. bnode ID handler per-parser.
  401. (librdf_parser_raptor_serialise_finished): empty bnode hash map at
  402. end of parsing.
  403. Fixes Issue #0000432
  404. http://bugs.librdf.org/mantis/view.php?id=432
  405. * src/rdf_node.c: Generating a blank node ID now directly uses
  406. redland call.
  407. (librdf_new_node_from_blank_identifier): Generate an identifier
  408. using internal librdf_world_get_genid rather than let it fall to a
  409. raptor genid handler. Addresses part of
  410. Issue #0000432
  411. http://bugs.librdf.org/mantis/view.php?id=432
  412. * docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
  413. docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
  414. docs/tmpl/serializer.sgml, docs/tmpl/storage.sgml,
  415. docs/tmpl/stream.sgml: Update tmpls to remove varargs autodocs
  416. stupidity
  417. * configure.ac: Add checks for Oracle Berkeley DB 5.1, 5.0 and 4.9
  418. and updated messages with new name. The 'bdb' storage seems to
  419. work with same API, but new on-disk format that will require a use
  420. of utils/db-upgrade.
  421. * src/Makefile.am: Add -lraptor2 to rdf_parser_test
  422. link line since it uses raptor2 symbols
  423. 2011-03-11 Lauri Aalto <laalto@iki.fi>
  424. * src/rdf_parser.c, src/rdf_parser.h, src/rdf_parser_internal.h,
  425. src/rdf_parser_raptor.c: #trim trailing ws
  426. * src/rdf_parser.c:
  427. cast away compiler warnings
  428. * src/rdf_parser_raptor.c:
  429. (librdf_parser_raptor_parse_into_model_common): Reorder args so that
  430. string and its length are next to each other.
  431. * src/rdf_parser_raptor.c:
  432. (librdf_parser_raptor_parse_iostream_as_stream): Autodocs
  433. * src/rdf_parser_raptor.c:
  434. (librdf_parser_raptor_parse_as_stream_common)
  435. (librdf_parser_raptor_parse_into_model_common): Do not use
  436. librdf_log() for programmer errors, just runtime errors.
  437. * src/rdf_parser.c: bail out on encountering test failure
  438. * src/rdf_parser.c: code style
  439. * src/rdf_parser.c: #ws
  440. * src/rdf_parser_raptor.c: fixed file name in boilerplate and
  441. updated year
  442. * src/rdf_parser.h, src/rdf_parser.c, src/rdf_parser_raptor.c:
  443. (librdf_parser_parse_iostream_as_stream)
  444. (librdf_parser_parse_iostream_into_model): Added two new API
  445. functions contributed by nxg.Merged pull request
  446. https://github.com/dajobe/librdf/pull/1 with the following
  447. changes:
  448. - Removed const qualifier from raptor_iostreams passed around.
  449. - Fixed librdf_parser_raptor_parse_into_model_common() return type.
  450. - Removed raptor1 support code as librdf no longer supports raptor1.
  451. Fixes issue #0000375
  452. http://bugs.librdf.org/mantis/view.php?id=375
  453. 2011-03-10 Lauri Aalto <laalto@iki.fi>
  454. * src/rdf_storage_sqlite.c: #ws tabs to spaces
  455. * src/rdf_storage_sqlite.c: sqlite storage: Do not add duplicate
  456. statements if a context is given.
  457. Fixes Issue #0000418
  458. http://bugs.librdf.org/mantis/view.php?id=418
  459. 2011-02-27 Dave Beckett <dave@dajobe.org>
  460. * scripts/process-changes.pl:
  461. Update to latest process-changes.pl
  462. 2011-02-16 Dave Beckett <dave@dajobe.org>
  463. * INSTALL.html: BDB is now owned by and distributed by Oracle
  464. 2011-02-15 Dave Beckett <dave@dajobe.org>
  465. * src/rdf_parser_raptor.c, src/rdf_serializer_raptor.c: Add sanity
  466. check for raptor initialising that there are parsers and
  467. serializers
  468. (librdf_parser_raptor_constructor)
  469. (librdf_serializer_raptor_constructor): If there is no default
  470. parser/serializer (at index 0) then Raptor is probably broken so
  471. return an error and stop initialising.
  472. 2011-02-07 Dave Beckett <dave@dajobe.org>
  473. * ChangeLog, ChangeLog.11, Makefile.am: Add ChangeLog.11 for 2010
  474. 2011-02-06 Dave Beckett <dave@dajobe.org>
  475. * LICENSE.html: Make GPL V2 or newer explicit.
  476. 2011-02-04 Nicholas J Humfrey <njh@aelius.com>
  477. * configure.ac: librdf now depends upon rasqal version 0.9.25 for
  478. the new rasqal_world_get_query_language_description() function.
  479. 2011-02-03 Nicholas J Humfrey <njh@aelius.com>
  480. * src/rdf_query.c, src/rdf_query.h:
  481. (librdf_query_language_get_description): Added to return full
  482. description of of the query language. Deprecated the
  483. librdf_query_languages_enumerate() function.
  484. (librdf_query_languages_enumerate): Deprecated for above.
  485. 2011-02-02 Dave Beckett <dave@dajobe.org>
  486. * redland.pc.in:
  487. Revert 1e317023157f670816fe53d00c725fd407cf3451
  488. 2011-02-01 Dave Beckett <dave@dajobe.org>
  489. * src/redland.spec.in: Update spec for test RPM builds - Require
  490. Raptor 2 - Do not use removed configure options --with-raptor and
  491. --with-rasqal
  492. * redland.pc.in:
  493. Redland librdf requries raptor2 and rasqal
  494. * NEWS.html, RELEASE.html, configure.ac:
  495. Bumped version to 1.0.14
  496. 2011-02-01 Dave Beckett <dave@dajobe.org>
  497. * Snapshotted redland_1_0_13 for 1.0.13 release (GIT commit
  498. 90ed9fc810fa1c2fb73ebe999204e46e29d116d0)
  499. 2011-01-30 Dave Beckett <dave@dajobe.org>
  500. * scripts/process-changes.pl: Import latest process-changes.pl
  501. from rasqal
  502. 2011-01-28 Lauri Aalto <laalto@iki.fi>
  503. * src/rdf_list.c:
  504. (librdf_list_iterators_replace_node): Fixed debug print with
  505. LIBRDF_DEBUG > 2.
  506. Fixes Issue #0000419
  507. http://bugs.librdf.org/mantis/view.php?id=419
  508. 2011-01-25 Nicholas J Humfrey <njh@aelius.com>
  509. * src/rdf_serializer_raptor.c: Corrected bad copy/paste of
  510. librdf_node_is_resource() check in the raptor serializer code.
  511. * src/rdf_serializer_raptor.c: Pass the graph context through to
  512. the raptor serialiser, so that the graph is included in quad
  513. serialisation formats.
  514. 2011-01-24 Dave Beckett <dave@dajobe.org>
  515. * RELEASE.html: 1.0.13, no SWIG interface changes
  516. * Redland.i:
  517. remove syntax description methods for now
  518. 2011-01-22 Dave Beckett <dave@dajobe.org>
  519. * src/rdf_init.c, src/rdf_query.c, src/rdf_query_internal.h,
  520. src/rdf_query_rasqal.c: Pass on failure to initialise rasqal and
  521. query system
  522. (librdf_query_rasqal_constructor): Return error failure to
  523. construct.
  524. (librdf_init_query): Return error failure to init including from
  525. librdf_query_rasqal_constructor()
  526. * src/Makefile.am, src/rdf_query.c, src/rdf_query_internal.h,
  527. src/rdf_query_triples.c: Remove triples query language
  528. * src/rdf_log.c:
  529. (librdf_fatal): Code tidy to call abort() just once and always
  530. print the error.
  531. * src/rdf_query_rasqal.c:
  532. (librdf_query_rasqal_constructor): Call fatal error when query
  533. lang reg fails.
  534. * src/rdf_cache.c, src/rdf_concepts.c, src/rdf_digest.c,
  535. src/rdf_hash_memory.c, src/rdf_init.c, src/rdf_log.c,
  536. src/rdf_node.c, src/rdf_node_common.c, src/rdf_parser.c,
  537. src/rdf_parser_raptor.c, src/rdf_query.c, src/rdf_query_rasqal.c,
  538. src/rdf_query_results.c, src/rdf_query_virtuoso.c,
  539. src/rdf_raptor.c, src/rdf_serializer.c,
  540. src/rdf_statement_common.c, src/rdf_storage.c,
  541. src/rdf_storage_file.c, src/rdf_storage_hashes.c,
  542. src/rdf_storage_list.c, src/rdf_storage_mysql.c,
  543. src/rdf_storage_postgresql.c, src/rdf_storage_sqlite.c,
  544. src/rdf_storage_trees.c, src/rdf_storage_tstore.c,
  545. src/rdf_storage_virtuoso.c, src/rdf_stream.c, src/rdf_uri.c: code
  546. style
  547. * src/rdf_hash.c, src/rdf_init.c: Casts for C++
  548. * .gitignore, ChangeLog, ChangeLog.10, Makefile.am: Added
  549. ChangeLog.10 for 2009
  550. * docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
  551. docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
  552. docs/tmpl/query_results.sgml, docs/tmpl/redland-unused.sgml,
  553. docs/tmpl/section-general.sgml, docs/tmpl/serializer.sgml,
  554. docs/tmpl/storage.sgml, docs/tmpl/stream.sgml,
  555. docs/tmpl/unused.sgml: Update doc tmpls
  556. * docs/redland-sections.txt: Add parser, serializer and query
  557. result format get_description methods
  558. * Redland.i: Export syntax description functions for parser,
  559. serializer and query results.
  560. Export librdf_parser_get_description(),
  561. librdf_query_results_formats_get_description() and
  562. librdf_serializer_get_description() with const and unsigned
  563. attributes removed since SWIG has tended to hate them.
  564. * docs/redland-changes.tsv, src/rdf_parser.c, src/rdf_parser.h,
  565. src/rdf_query.h, src/rdf_query_results.c, src/rdf_serializer.c,
  566. src/rdf_serializer.h, utils/rdfproc.c: Add syntax descriptions for
  567. parser, serializer and query result format.
  568. Use raptor_syntax_description typdef from raptor2 to return a new
  569. style way of listing syntax formats using a get_description method
  570. on the static class. Deprecates the old enumerate methods.
  571. (librdf_parser_get_description): Added, deprecating
  572. librdf_parser_enumerate().
  573. (librdf_query_results_formats_get_description): Added, deprecating
  574. librdf_query_results_formats_enumerate().
  575. (librdf_serializer_get_description): Added, deprecating
  576. librdf_serializer_enumerate().
  577. Updated rdfproc to use new functions above.
  578. Add function changes to redland-changes.tsv
  579. Fixes Issue#0000325
  580. http://bugs.librdf.org/mantis/view.php?id=325
  581. * src/rdf_query_results.c: Remove Rasqal < 0.9.22 conditionals
  582. (librdf_query_results_formats_check,
  583. librdf_query_results_formats_enumerate): Remove #if conditions on
  584. rasqal version. Tidy code.
  585. * src/rdf_query_rasqal.c, src/rdf_query_virtuoso.c: Remove Rasqal
  586. < 0.9.22 conditionals
  587. * redland.rdf.in: GIT
  588. * configure.ac: Do not substitute LIBRDF_VERSION since VERSION is
  589. already there
  590. * redland-config.in: fix --version to work without pkg-config. Use
  591. raptor2 package. make --help and --version work before
  592. installation to help make distcheck.
  593. * Makefile.am: Add scripts to SUBDIRS
  594. * docs/Makefile.am: redland-changes.tsv
  595. * scripts/process-changes.pl: add linkend for uppercase
  596. macros/enums
  597. * Makefile.am: touch-mtime.pl moved
  598. 2011-01-21 Dave Beckett <dave@dajobe.org>
  599. * configure.ac: Welcome back src/rdf_node.c
  600. * Makefile.am: markdown-to-html.pl moved
  601. * HACKING.md: more code style updates
  602. * docs/Makefile.am: Remove redland-changes.tsv
  603. * src/Makefile.am, src/rdf_node.c, src/rdf_raptor_statement.c,
  604. src/rdf_statement.c, src/rdf_term.c: Rename
  605. rdf_term/raptor_statement to rdf_node/statement to match class
  606. names
  607. * docs/redland-sections.txt: remove temporary raptor1 funcs from
  608. unused. Add version macros
  609. * scripts/Makefile.am: scripts automakefile
  610. * docs/redland-changes.tsv, docs/redland-docs.xml,
  611. scripts/process-changes.pl: Add redland changes since 1.0.12
  612. Run process changes. Add new types and typedefs. Add changes
  613. section to docs and update for 2011.
  614. * docs/Makefile.am: fix package name
  615. * configure.ac, docs/Makefile.am, docs/markdown-to-html.pl,
  616. docs/redland-changes.tsv, scripts/markdown-to-html.pl,
  617. scripts/touch-mtime.pl, utils/Makefile.am, utils/touch-mtime.pl:
  618. Add scripts dir and generated redland changes
  619. Add scripts dir and move scripts there.
  620. Import process-changes.pl from rasqal.
  621. Generate redland-changes.xml from redland-changes.tsv skeleton.
  622. 2011-01-19 Dave Beckett <dave@dajobe.org>
  623. * ChangeLog, FAQS.html, INSTALL.html, LICENSE.html, NEWS.html,
  624. README.html, RELEASE.html, TODO.html, src/librdf.h.in: 1.0.13 and
  625. 2011
  626. * src/Makefile.am: remove librdf.h from librdf_la_SOURCES
  627. * configure.ac, redland-config.in, src/.gitignore, src/librdf.h,
  628. src/librdf.h.in: Subsititute version macros into librdf.h, now
  629. created by configure
  630. 2011-01-18 Dave Beckett <dave@dajobe.org>
  631. * src/rdf_node.h: Mark librdf_node_to_string and
  632. librdf_node_to_counted_string as deprecated not removed
  633. 2011-01-17 Lauri Aalto <laalto@iki.fi>
  634. * src/rdf_node.h:
  635. (librdf_node_to_string, librdf_node_to_counted_string): Removed
  636. prototypes for functions no longer available.
  637. 2011-01-15 Dave Beckett <dave@dajobe.org>
  638. * configure.ac, redland.pc.in, src/Makefile.am, src/librdf.h,
  639. src/rdf_log.h, src/rdf_model.c, src/rdf_node.c, src/rdf_node.h,
  640. src/rdf_node_internal.h, src/rdf_parser.c,
  641. src/rdf_parser_raptor.c, src/rdf_query_rasqal.c, src/rdf_raptor.c,
  642. src/rdf_raptor_internal.h, src/rdf_raptor_statement.c,
  643. src/rdf_serializer.c, src/rdf_serializer_raptor.c,
  644. src/rdf_statement.c, src/rdf_storage.c, src/rdf_storage_sql.c,
  645. src/rdf_storage_trees.c, src/rdf_term.c, src/rdf_uri.c: Remove
  646. Raptor 1 support, require Raptor 2.0.0 and Rasqal 0.9.22+
  647. 2011-01-14 Dave Beckett <dave@dajobe.org>
  648. * src/rdf_init.c: 2011
  649. * src/rdf_serializer.c:
  650. (librdf_new_serializer): Log failure to find a serializer for
  651. name/type/uri
  652. * src/rdf_parser.c:
  653. (librdf_new_parser): Log failure to find a parser for
  654. name/type/uri
  655. * src/rdf_storage.c:
  656. (librdf_new_storage, librdf_new_storage_with_options): Report
  657. storage name not found errors
  658. 2011-01-12 Dave Beckett <dave@dajobe.org>
  659. * src/rdf_query_virtuoso.c: Fix for rasqal 0.9.22
  660. 2011-01-11 Lauri Aalto <laalto@iki.fi>
  661. * src/rdf_query_rasqal.c, src/rdf_query_results.c: make librdf
  662. build with rasqal master head