-
Notifications
You must be signed in to change notification settings - Fork 28
/
ChangeLog.11
1339 lines (894 loc) · 40.3 KB
/
ChangeLog.11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-12-29 Dave Beckett <dave@dajobe.org>
* src/rdf_serializer_raptor.c:
Make raptor serializer work with
raptor V2 1.9.2+
* src/rdf_parser_raptor.c:
(librdf_parser_raptor_constructor): Update for Raptor V2 1.9.2
* configure.ac: Raptor V2 min version now 1.9.2
2010-12-05 Dave Beckett <dave@dajobe.org>
* NEWS.html, RELEASE.html, configure.ac, src/win32_rdf_config.h:
Bump version to 1.0.13
2010-12-04 Dave Beckett <dave@dajobe.org>
* src/rdf_query_internal.h, src/rdf_query_rasqal.c,
src/rdf_query_results.c:
Remove use of deprecated rasqal functions
conditioned on rasqal version
2010-10-13 Dave Beckett <dave@dajobe.org>
* Snapshotted redland_1_0_12 for 1.0.12 release (GIT
d0e92f81be57acdeaa4b0c4d8e121e49fb4bfc57)
* src/rdf_stream.c:
Replace one more librdf_stream_get_context()
* docs/redland-sections.txt: Add librdf_stream_get_context2
* utils/rdfproc.c, utils/redland-virtuoso-test.c: Update rdfproc
and virtuoso test for librdf_stream_get_context2()
* examples/.gitignore:
ignore more
* examples/example1.c, examples/example2.c, examples/example3.c,
examples/example5.c, examples/example6.c: Update for raptor2 API
and librdf_stream_get_context2
* src/rdf_query_rasqal.c, src/rdf_storage.c,
src/rdf_storage_sqlite.c: Use librdf_stream_get_context2 replacing
librdf_stream_get_context with a cast
* src/rdf_stream.c, src/rdf_stream.h:
(librdf_stream_get_context2): Added deprecating
librdf_stream_get_context()
(librdf_stream_get_context2): Returns a librdf_node*
(librdf_stream_get_context): Deprecated for above.
2010-10-12 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_hashes.c:
(librdf_storage_hashes_context_serialise_get_statement): Return
context node
Fixes Issue#0000393
http://bugs.librdf.org/mantis/view.php?id=393 with fix based on
patch in bug. Thanks to Michael Stahl
* src/rdf_term.c:
(librdf_free_node): Allow NULL free
* src/rdf_raptor_statement.c:
(librdf_free_statement): Allow NULL free
2010-10-10 Dave Beckett <dave@dajobe.org>
* utils/Makefile.am: Add @LIBRDF_DIRECT_LIBS@ to LDADD
* utils/Makefile.am: Remove rdfproc_LDADD
* Redland.i: Export librdf_statement_is_complete
* configure.ac, src/Makefile.am, utils/Makefile.am: Add linking of
-lraptor or -lraptor2 to handle newer GCC linkers
Fixes Issue#0000348 http://bugs.librdf.org/mantis/view.php?id=348 as
reported in Fedora with this change
http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
See also http://bugs.librdf.org/mantis/view.php?id=347 for the
Rasqal equivalent.
* src/librdf.h: Lets assume OSX GCC precompiled headers are
working after many years
* src/librdf.h: Include headers outside extern "C" block -
included files do that too.
* src/rdf_init.h: Include rasqal.h to get rasqal_world just in
case
* src/redland.h: Just include librdf.h
* src/librdf.h: Add raptor and rasqal includes here
* configure.ac: Use AC_LANG_SOURCE with AC_COMPILE_IFELSE for
mysql header
* NEWS.html, RELEASE.html, configure.ac, src/win32_rdf_config.h:
Bump version to 1.0.12
2010-09-27 Dave Beckett <dave@dajobe.org>
* configure.ac: RASQAL_MIN_VERSION should have been 0.9.19 for
some time
2010-09-25 Dave Beckett <dave@dajobe.org>
* Snapshotted redland_1_0_11 for 1.0.11 release
(GIT 8cad0a6d84eed0d98e20a23883dcf6fdedc47587)
* RELEASE.html: 1.0.11
* src/rdf_query_results.c: autodocs for query results functions
explaining NULL args
* src/rdf_query_results.c:
(librdf_query_results_to_counted_string): Allow all NULL format
args.
* Redland.i: Remove unsigned char* for librdf_parser_guess_name2()
since SWIG hates that.
* Redland.i: Export librdf_model_add_typed_literal_statement and
add arg defaults
* Redland.i: Export librdf_node_get_li_ordinal
* Export librdf_new_node_from_node and
librdf_new_node_from_blank_identifier
* src/rdf_query_results.c: autodocs for query results functions
explaining NULL args
* src/rdf_query_results.c:
(librdf_query_results_to_counted_string): All all NULL format args.
* Redland.i:
Export librdf_world_set_logger
* Redland.i: Remove unsigned char* for librdf_parser_guess_name2()
since SWIG hates that.
* Redland.i: Export librdf_model_add_typed_literal_statement() and
add arg defaults
* Redland.i: Export librdf_node_get_li_ordinal()
* Redland.i: Export librdf_new_node_from_uri_local_name() and
librdf_new_node_from_normalised_uri_string()
2010-09-24 Dave Beckett <dave@dajobe.org>
* Redland.i:
Export more functions to SWIG
Export:
librdf_parser_check_name - for checking parser names
librdf_query_results_is_syntax - to check if query result is a syntax
librdf_serializer_check_name - for checking serializer names
librdf_serializer_serialize_stream_to_file - pair of ...model_to_file
* src/rdf_node.c:
(librdf_new_node_from_uri_string): Cast for strlen arg
* src/rdf_raptor.h: Export librdf_world_set_raptor and
librdf_world_get_raptor for all raptors
* src/rdf_raptor.c: librdf_world_set_raptor and
librdf_world_get_raptor are public for all
raptors
(librdf_world_set_raptor): Export for V1 and
V2.
(librdf_world_get_raptor): Export for V1 and
V2.
(librdf_init_raptor): For V2 init, error and return but do not
abort on raptor world failure.
* src/rdf_init_internal.h: raptor_world_ptr and
raptor_world_allocated_here are always in struct.
* configure.ac: Use AC_LANG_SOURCE for gcc flag test
* examples/example8.c: Long int for size_t print
* examples/Makefile.am, examples/example8.c: Add example8 which
formats sparql queries into triples or variable bindings
* Redland.i: Export librdf_serializer_serialize_stream_to_string()
2010-09-10 Dave Beckett <dave@dajobe.org>
* src/rdf_query_rasqal.c: Fix runtime warning for models with no
contexts
(rasqal_redland_new_triples_source): use
librdf_model_supports_contexts() to only add graph names to models
that have contexts (graph names) to prevent a runtime warning.
* docs/redland-sections.txt, src/rdf_model.c, src/rdf_model.h:
Export librdf_model_supports_contexts to public API
2010-08-30 Dave Beckett <dave@dajobe.org>
* utils/rdfproc.c:
Tidy help information - correct defaults
* docs/tmpl/hash.sgml, docs/tmpl/iterator.sgml,
docs/tmpl/list.sgml, docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
docs/tmpl/redland-unused.sgml, docs/tmpl/serializer.sgml,
docs/tmpl/storage.sgml, docs/tmpl/stream.sgml, docs/tmpl/world.sgml:
Updated generated SGML templates
* src/rdf_raptor_statement.c: Refactor to remove warning of call
to deprecated
librdf_statement_encode_parts
(librdf_statement_encode_parts_internal): Added
(librdf_statement_encode_parts, librdf_statement_encode_parts2):
Call
librdf_statement_encode_parts_internal
(librdf_statement_decode): Add fatal error if this function is
called, librdf with Raptor V2 cannot implement it.
2010-08-30 Lauri Aalto <laalto@iki.fi>
* src/rdf_hash.c:
(librdf_hash_to_string): Avoid using uninitialized pointers when
jumping to tidy block prematurely.
2010-08-29 Dave Beckett <dave@dajobe.org>
* LICENSE.html: or any newer versions. Link to specific LGPL 2.1
version doc. Wording and formatting
* FAQS.html: More FAQS
* FAQS.html, INSTALL.html, LICENSE.html, NEWS.html, README.html,
RELEASE.html, TODO.html, configure.ac, redland.rdf.in: Use
'Redland librdf RDF API Library' as the title
* Redland.i:
Expose new functions that make sense to bindings API
Of the new functions in the 1.0.11 API, excluding all the ones
that rely on counted strings that make little sense for a
scripting API via SWIG, those that deal with
raptor_iostream (*_write) that leaves:
librdf_hash_from_string - OOPS, already was in API even though it
was internal!
librdf_hash_to_string - added
librdf_new_query_results_formatter2 - not added, formatter is not
in SWIG
librdf_node_new_static_node_iterator - not added, C level
librdf_query_languages_enumerate - not added, enumeration returns
by sideffects
librdf_query_results_to_file2 - added
librdf_query_results_to_file_handle2 - not added passing FH hard
in bindings.
librdf_query_results_to_string2 - added
librdf_statement_decode2 - not added, memory-focused
librdf_statement_encode2 - not added, memory-focused
librdf_statement_encode_parts2 - not added, memory-focused
* src/rdf_statement_common.c:
(librdf_statement_encode_parts2): autodocs
* src/rdf_statement.c:
(librdf_statement_decode_parts): Restored using
librdf_statement_decode2
* src/rdf_statement.c:
(main): Use non-deprecated librdf_statement_encode2() in test.
* utils/rdfproc.1: Update for -q, -V, -o help, -r help and -s help
* utils/rdfproc.c: Add -s help support
* utils/rdfproc.c:
Send non-result information messages to stderr
and add quiet -q and verbose -V options to suppress/activate them.
Added -q and -V options to rdfproc(1) based on patch in
http://bugs.librdf.org/mantis/view.php?id=334
Added verbosity variable set initially to 1, -q makes it 0, -V
increases it.
Add support for '-o help' to print list of serializers.
Print all serializers in help message below -o description.
Note that the 'simple' serializer is now N-Triples.
Set rc for parse command to 0 only if there are no errors.
Some code style fixes.
Fixes Issue#0000334 http://bugs.librdf.org/mantis/view.php?id=334
* src/rdf_hash.c: Added checks for memory allocation errors to
(librdf_hash_print, librdf_hash_print_keys, librdf_hash_to_string)
2010-08-27 Dave Beckett <dave@dajobe.org>
* docs/redland-sections.txt, docs/tmpl/hash.sgml,
docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
docs/tmpl/redland-unused.sgml, docs/tmpl/serializer.sgml,
docs/tmpl/storage.sgml, docs/tmpl/stream.sgml: # Update tmpls
* HACKING.md: No space before brace
2010-08-27 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_hash.c: Added new librdf_hash_to_string() function for
converting a librdf_hash back to a string.
2010-08-26 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_sql.c:
(librdf_new_sql_config): Turn debug print into log action at level
debug.
* src/rdf_query_rasqal.c: Make rasqal query debugging display only
if LIBRDF_DEBUG > 1
* src/rdf_storage_sqlite.c: Make even less sqlite request debug
noise.
* src/rdf_storage_sqlite.c:
(librdf_storage_sqlite_exec): Make less debug noise.
* utils/rdfproc.c: Fail with error when giving -n to a read only
operation
Adjust HELP_ARG macro to print alternatives when have long getopt
support.
(main): Generate error if not writable and is_new is set.
Fixes Issue#0000383 http://bugs.librdf.org/mantis/view.php?id=383
* HACKING.md: # Add emacs mode at end
* HACKING.md: #words
2010-08-25 Dave Beckett <dave@dajobe.org>
* Makefile.am: Add HACKING.md conversion dependent on script
* docs/markdown-to-html.pl: Fix <pre><code> markdown indenting
* docs/markdown-to-html.pl: Simplify converter - just add
header/footer, do not run tidy
* HACKING.md: Put headers down 1 level
* Makefile.am: Use docs/markdown-to-html.pl to convert HACKING.md
* docs/Makefile.am, docs/markdown-to-html.pl: Add
markdown-to-html.pl
2010-08-24 Dave Beckett <dave@dajobe.org>
* HACKING.md: #more words
* HACKING.md: #more words
* HACKING.md: words
* .gitignore, HACKING.md, HACKING.txt, Makefile.am: Make
HACKING.html from HACKING.md
* HACKING.html, HACKING.txt: Markdown HACKING
* HACKING.html: Now in better markdown format
* HACKING.txt: typo
* HACKING.txt: HACKING
* src/rdf_storage_sqlite.c:
(librdf_storage_sqlite_open): Fix unlink (is new) logic
* docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
docs/tmpl/serializer.sgml, docs/tmpl/storage.sgml,
docs/tmpl/stream.sgml: Update templates
2010-08-23 Dave Beckett <dave@dajobe.org>
* src/rdf_raptor_statement.c:
(librdf_statement_encode2): Use librdf_statement_encode_parts2
instead of deprecated librdf_statement_encode_parts.
* src/rdf_query_rasqal.c:
(rasqal_redland_new_triples_source): Make graph iteration fix work
with raptor v1 too
2010-08-23 Lauri Aalto <laalto@iki.fi>
* src/rdf_hash_internal.h:
removed duplicate declaration of
librdf_hash_from_string()
2010-08-23 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_hash.c: (librdf_hash_print, librdf_hash_print_keys,
librdf_hash_print_values): Fixed wrong order of arguments used to
fwrite()
2010-08-22 Dave Beckett <dave@dajobe.org>
* docs/Makefile.am, docs/redland-sections.txt,
docs/tmpl/hash.sgml, docs/tmpl/iterator.sgml, docs/tmpl/list.sgml,
docs/tmpl/node.sgml, docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
docs/tmpl/query_results.sgml, docs/tmpl/redland-unused.sgml,
docs/tmpl/serializer.sgml, docs/tmpl/statement.sgml,
docs/tmpl/storage.sgml, docs/tmpl/stream.sgml,
docs/tmpl/unused.sgml, docs/tmpl/uri.sgml, src/rdf_hash.h,
src/rdf_init.c, src/rdf_model.c, src/rdf_node.c, src/rdf_query.h,
src/rdf_query_results.c, src/rdf_statement.c, src/rdf_statement.h,
src/rdf_storage_module.h: Updated code for gtk-doc autodocs
2010-08-20 Dave Beckett <dave@dajobe.org>
* src/rdf_query_rasqal.c: Try to construct a set of data graphs
that make rasqal queries with graphs work.
(rasqal_redland_new_triples_source): After deleteing any existing
graphs in the query string, add all the graph context uris as data
graphs into the query model. This allows rasqal to iterate over
them and bind variables to graph names correctly. This is a
workaround, as really rasqal + redland should work together to
allow abstracting this out of the triples-focused API. Intended
to address Issue#000382
http://bugs.librdf.org/mantis/view.php?id=382
2010-08-09 Dave Beckett <dave@dajobe.org>
* configure.ac:
SUBST HAVE_RAPTOR2_API with define and conditional
* redland.pc.in:
Set have_raptor2_api var
* configure.ac:
AC_SUBST(HAVE_RAPTOR2_API)
* configure.ac: Check if rasqal was built with raptor2 API and
force raptor2 if it was. This prevents trying to build librdf
with raptor1 if rasqal was built with raptor2.
* src/rdf_init.c: Keep the minimal rdf_init.c
librdf_new_world()..librdf_free_world() test minimal by not using
the librdf_world object for anything. Create a separate rdf_world
object for other tests.
2010-08-06 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_node.c: Added test for librdf_new_node()
* src/rdf_parser_raptor.c: Update
librdf_parser_raptor_generate_id_handler() to handle new raptor
generate nodeid API
2010-08-03 Dave Beckett <dave@dajobe.org>
* src/rdf_node.c:
(librdf_new_node_from_counted_uri_string): Define correctly
* src/rdf_query.c:
(main): use hash-type memory if BDB hash is not present.
* src/rdf_model.c:
(main): use hash-type memory if BDB hash is not present.
* src/rdf_storage.c:
(main): use hash-type memory if BDB hash is not present.
* src/rdf_model.c:
(main): Only try BDB hash if it's present.
* configure.ac:
move have_libdb=no earlier
2010-08-02 Dave Beckett <dave@dajobe.org>
* src/rdf_node.c, src/rdf_node.h: Added
librdf_new_node_from_counted_uri_string() to build URI node
(librdf_new_node_from_counted_uri_string): Added
(librdf_new_node_from_uri_string_or_uri): Adjust to add len
parameter needed when passing in string.
(librdf_new_node_from_uri_string): Pass in strlen(uri_string).
* src/rdf_uri.c, src/rdf_uri.h: Added librdf_new_uri2() for
building URIs from a counted string.
(librdf_new_uri2): Added, using
raptor_new_uri_from_counted_string() when built with raptor2.
Clarify returns NULL if length is 0 too.
(librdf_new_uri): Wrapper to above, calling strlen.
* src/Makefile.am: adjust sqlite CPPFLAGS to ensure general
includes are first.
2010-08-01 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c:
(librdf_node_encode): For URI, ensure NUL is written at end
* src/rdf_stream.c:
(librdf_stream_write): Add space before context url
2010-06-04 Lauri Aalto <laalto@iki.fi>
* src/Makefile.am, src/rdf_raptor_statement.c,
src/rdf_statement.c, src/rdf_statement_common.c:
(librdf_statement_encode_parts2, librdf_init_statement,
librdf_finish_statement): Pulled some functionality common to both
librdf and raptor2 statements to rdf_statement_common.c. Now links
with LIBRDF_USE_RAPTOR_STATEMENT.
* src/rdf_storage_hashes.c, src/rdf_storage_list.c:
#ws
* src/rdf_raptor_statement.c:
file comment
2010-06-03 Dave Beckett <dave@dajobe.org>
* src/rdf_statement.c:
(main): fix call of librdf_statement_decode2 in test
* src/rdf_statement.c:
(main): use librdf_statement_decode2 in test
* src/rdf_raptor_statement.c:
(librdf_statement_decode2): Call librdf_node_decode with world
* src/rdf_raptor_statement.c: Add librdf_statement_encode2 for
raptor2
* src/rdf_node.c:
(librdf_node_get_counted_blank_identifier): No need for strlen
* src/rdf_node.c:
(librdf_node_get_counted_blank_identifier): Add for raptor v1 node
* src/rdf_node.h, src/rdf_term.c:
(librdf_node_get_counted_blank_identifier): Added
2010-06-02 Dave Beckett <dave@dajobe.org>
* src/rdf_node.c:
(librdf_new_node_from_blank_identifier): fix
* src/rdf_node.h, src/rdf_term.c:
(librdf_new_node_from_counted_blank_identifier): Implement for
raptor 2 API
* src/rdf_node.c, src/rdf_node.h:
(librdf_new_node_from_counted_blank_identifier): Added
* src/rdf_node.c, src/rdf_storage_hashes.c,
src/rdf_storage_list.c, src/rdf_storage_trees.c: Use
non-deprecated statement encode/decode functions for raptor V1
* src/rdf_raptor_statement.c, src/rdf_statement.c,
src/rdf_statement.h, src/rdf_storage_hashes.c: Added
librdf_statement_encode2, librdf_statement_encode_parts2,
librdf_statement_decode2 deprecating those without world
arg.
(librdf_statement_encode2, librdf_statement_encode_parts2,
librdf_statement_decode2): Added deprecating those without world
arg.
(librdf_statement_encode, librdf_statement_encode_parts,
librdf_statement_decode): Deprecated.
* src/rdf_iterator.c, src/rdf_stream.c:
Updated tests to use new
librdf_node_new_static_node_iterator()
* src/Makefile.am, src/rdf_node.c, src/rdf_node.h,
src/rdf_node_common.c, src/rdf_term.c: Moved
librdf_node_static_iterator code to new rdf_node_common.c module.
(librdf_node_new_static_node_iterator): Added, deprecating
librdf_node_static_iterator_create().
(librdf_node_static_iterator_create): Always fails when built with
raptor2 API. Updated tests - all users of
librdf_node_static_iterator_create() - to use new function.
* src/librdf.h, src/rdf_node.h, src/rdf_raptor_statement.c,
src/rdf_uri.c: Rename USE_RAPTOR_* macros to LIBRDF_USE_RAPTOR_*
* src/librdf.h: tidy USE_RAPTOR_*
* src/rdf_term.c:
(librdf_new_node_from_typed_counted_literal): Use
raptor_new_term_from_counted_literal
2010-05-26 Lauri Aalto <laalto@iki.fi>
* src/rdf_storage_trees.c:
(librdf_storage_trees_node_compare):
librdf_node_get_literal_value_language()
2010-05-25 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c: Add checks for NULL world
* src/rdf_term.c:
(librdf_node_encode, librdf_node_decode, librdf_node_to_string,
librdf_node_to_counted_string, librdf_node_print,
librdf_node_equals): Implemented for librdf_node as raptor_term
* src/rdf_query_rasqal.c, src/rdf_serializer_raptor.c,
src/rdf_storage.c: Replace uses of statement->world for
librdf_world with alternatives. Comment out some logging deep in
code refering to statement
* src/Makefile.am, src/librdf.h, src/rdf_raptor_statement.c: Use
rdf_raptor_statement.c for raptor2 with raptor_statement
Added USE_RAPTOR_STATEMENT macro to use librdf_statement as
typedef for raptor_statement. Duplication of encode/decode
statement should probably be moved to shared code in a separate
module. (node encode/decode too).
2010-05-24 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c: Remove strlen() and use raptor_term literal
string_len
* src/rdf_serializer.c:
(librdf_serializer_serialize_stream_to_iostream,
librdf_serializer_serialize_model_to_iostream): Document ownership
transfer of raptor_iostreams. Addresses issue #372
http://bugs.librdf.org/mantis/view.php?id=372
2010-05-19 Lauri Aalto <laalto@iki.fi>
* src/rdf_term.c:
(librdf_node_write): Added USE_RAPTOR_TERM variant of the function
to make binaries link.
* src/rdf_term.c:
(librdf_node_get_type): Fixed warnings about librdf_node_type <->
raptor_term_type enums.
2010-05-18 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_sqlite.c: code style
* src/rdf_storage_sqlite.c: code style
* src/rdf_init.c: code style
* src/rdf_init.c: 2010
* src/rdf_storage_trees.c:
(librdf_storage_trees_node_compare): Add raptor V2 API version.
* src/rdf_storage_sqlite.c:
(librdf_storage_sqlite_node_helper): Use storage->world
* src/rdf_storage_mysql.c: Use raptor_data_free_handler for
raptor_new_sequence calls (V2 API)
* src/rdf_raptor_internal.h: define raptor_data_free_handler for
raptor V2 API
* src/rdf_storage_trees.c: Update
librdf_storage_trees_node_compare for raptor 2 API.
(librdf_storage_trees_node_compare): Use raptor_term_compare with
raptor 2 API. NOTE: This may be too weak to use in a sort
ordering.
* src/rdf_query_internal.h, src/rdf_query_rasqal.c,
src/rdf_query_virtuoso.c: Make redland_node_to_rasqal_literal work
with updated raptor2 raptor_term
(redland_node_to_rasqal_literal): Add world arg so that it works
when librdf_node does not have a librdf_world inside, when built
with raptor 2. Uodate callers
* src/rdf_uri.c:
(librdf_new_uri_normalised_to_base): Rewrite to not know about
rdf_uri internals when using raptor_uri for raptor V2
* src/rdf_query_rasqal.c: Update to latest raptor_term blank field
structure.
* src/rdf_parser_raptor.c: Update to latest raptor_term blank
field structure.
* src/rdf_uri.c:
(librdf_new_uri_normalised_to_base): Support USE_RAPTOR_URI
* src/rdf_storage_mysql.c, src/rdf_storage_sqlite.c:
(librdf_storage_sqlite_node_helper,
librdf_storage_mysql_node_hash_common): node->world not available
with RAPTOR_USE_TERM, replace with storage->world
* src/rdf_query_internal.h, src/rdf_query_rasqal.c,
src/rdf_query_virtuoso.c:
(redland_node_to_rasqal_literal): Internal function gains
librdf_world* param. Required with USE_RAPTOR_TERM because
raptor_terms doesn't contain it unlike librdf_node.
* src/rdf_storage_trees.c:
(librdf_storage_trees_node_compare): Support USE_RAPTOR_TERM. Use
librdf_node_get_*() accessors instead of relying on librdf_node_s
internals.
* src/rdf_parser_raptor.c, src/rdf_query_rasqal.c: raptor2
raptor_term_blank_value
2010-05-18 Lauri Aalto <laalto@iki.fi>
* src/rdf_term.c: removed unnecessary #include with absolute path
2010-05-16 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c:
(librdf_node_get_blank_identifier): Update to latest raptor_term
fields.
2010-05-12 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c: Implement librdf_node_get_blank_identifier with
term
2010-05-10 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c: implement more rdf_node with raptor_term
* src/rdf_uri.c:
(librdf_new_uri_normalised_to_base): Use old code to implement for
raptor2 API.
2010-05-07 Dave Beckett <dave@dajobe.org>
* src/rdf_term.c: open worlds
* src/rdf_term.c: do not dup autodocs for now
* src/Makefile.am, src/librdf.h, src/rdf_node.h, src/rdf_term.c:
Add skeleton code for rdf_node as typedef for raptor_term
* docs/tmpl/concepts.sgml, docs/tmpl/digest.sgml,
docs/tmpl/files.sgml, docs/tmpl/hash.sgml,
docs/tmpl/heuristics.sgml, docs/tmpl/iterator.sgml,
docs/tmpl/list.sgml, docs/tmpl/log.sgml, docs/tmpl/model.sgml,
docs/tmpl/node.sgml, docs/tmpl/parser.sgml, docs/tmpl/query.sgml,
docs/tmpl/query_results.sgml, docs/tmpl/section-general.sgml,
docs/tmpl/serializer.sgml, docs/tmpl/statement.sgml,
docs/tmpl/storage.sgml, docs/tmpl/stream.sgml,
docs/tmpl/unicode.sgml, docs/tmpl/unused.sgml, docs/tmpl/uri.sgml,
docs/tmpl/world.sgml: Update tmpls
2010-05-03 Lauri Aalto <laalto@iki.fi>
* src/rdf_model.c, src/rdf_parser.c, src/rdf_parser_raptor.c,
src/rdf_serializer.c, src/rdf_storage.c: Ported to raptor2 head -
funcptr typedef changes
2010-04-28 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_query_rasqal.c: Empty graph result set is not an error.
2010-04-24 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_postgresql.c: Make
librdf_storage_postgresql_contains_statement
work.
(librdf_storage_postgresql_contains_statement): snprintf to the
query string. Patch from Andrew Malton.
* src/rdf_uri.c: librdf_free_uri fix condition for C99
* docs/redland-sections.txt: more functions
* src/rdf_storage.c: autodocs
* docs/redland-sections.txt: add new functions
* build/shave-libtool.in, build/shave.in, build/shave.m4: Remove
rest of SHAVE
* configure.ac: remove build/shave*
* configure.ac: Switch to automake 1.11 silent rules
2010-04-21 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_storage.c: Bug fix for
librdf_storage_context_remove_statement() asseting that context
should be non-NULL instead of statement.
2010-04-19 Nicholas J Humfrey <njh@aelius.com>
* docs/redland-chapter-storage-modules.xml: Fix for broken link in
documentation to the storage API page.
2010-04-19 Lauri Aalto <laalto@iki.fi>
* src/rdf_parser_raptor.c: Ported to raptor2 head. Syntax
description need_base_uri -> RAPTOR_SYNTAX_NEED_BASE_URI bit flag.
2010-04-16 Dave Beckett <dave@dajobe.org>
* src/rdf_query_results.c:
(librdf_query_results_formatter_write): Autodocs notine using this
drains results
2010-04-07 Lauri Aalto <laalto@iki.fi>
* configure.ac, redland.pc.in: Export raptor2 pkg-config
dependencies when building on raptor2.
2010-04-06 Lauri Aalto <laalto@iki.fi>
* src/rdf_parser_raptor.c, src/rdf_serializer_raptor.c: Ported to
raptor2 git head - use raptor_syntax_description for
parser/serializer discovery and inspection.
* configure.ac: Support building with libraptor2. Prefer
libraptor2 over libraptor.
2010-04-01 Nicholas J Humfrey <njh@aelius.com>
* src/rdf_query.c, src/rdf_query.h: Added
librdf_query_languages_enumerate() function.
2010-03-24 Dave Beckett <dave@dajobe.org>
* configure.ac, src/rdf_raptor.h: Update minimum raptor to 1.4.19
so that raptor_world typedef is always available
2010-03-23 Lauri Aalto <laalto@iki.fi>
* src/rdf_raptor.h: Use RAPTOR_V2_AVAILABLE instead of
RAPTOR_WORLD_DECLARED (no longer available) to decide whether to
declare raptor_world type
* src/rdf_heuristics.c: Fixed gcc4 warnings about using a char
where an int is required
2010-03-18 Lauri Aalto <laalto@iki.fi>
* src/rdf_parser_raptor.c, src/rdf_serializer_raptor.c: Ported to
raptor2 git head - raptor_option related changes.
2010-03-10 Dave Robillard <dave@drobilla.net>
* src/rdf_storage_trees.c:
Fix ticket #350 - crash with trees storage.
Fixes Issue#0000350 http://bugs.librdf.org/mantis/view.php?id=350
(librdf_storage_trees_node_compare): Fix node comparison when one
node has a language and the other doesn't, and other cases (make
node comparison a proper order relation).
* src/rdf_avltree.c:
Use correct format string for size_t.
2010-03-10 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_virtuoso.c:
(librdf_storage_virtuoso_get_contexts): Init iterator so it has a
value even for error cases.
2010-03-03 Lauri Aalto <laalto@iki.fi>
* src/rdf_serializer_raptor.c:
(librdf_serializer_raptor_serialize_statement): Set
raptor_statement graph term to NULL. Fixes access violations on
raptor2 treating uninitialized pointer as a valid raptor_term*.
* src/rdf_query_rasqal.c, src/rdf_raptor.c:
Ported to raptor2 git head while retaining compatibility with
raptor1.
(librdf_query_rasqal_log_handler): Added for raptor2.
(librdf_query_rasqal_error_handler, librdf_query_rasqal_warning_handler):
Flagged out for raptor2.
(librdf_query_rasqal_init): Set up raptor2 log handler, not
error/warning handlers.
(librdf_init_raptor, librdf_raptor_log_handler,
librdf_raptor_fatal_error_handler, librdf_raptor_error_handler,
librdf_raptor_warning_handler): Added log_handler for
raptor2. Replaces old fatal/error/warning handlers.
2010-02-26 Dave Beckett <dave@dajobe.org>
* docs/tmpl/log.sgml: Update tmpls
* utils/redland-virtuoso-test.c: Get raptor world when
initialising with raptor V2
2010-02-24 Lauri Aalto <laalto@iki.fi>
* .gitignore: ignore *~
* utils/redland-virtuoso-test.c: Made redland-virtuoso-test build
on raptor2 (and raptor1)
2010-02-23 Lauri Aalto <laalto@iki.fi>
* src/rdf_model.c, src/rdf_node.c, src/rdf_query_results.c,
src/rdf_statement.c, src/rdf_stream.c: Allow flagging out
deprecated implementations with LIBRDF_DISABLE_DEPRECATED
* .gitignore: ignore *.stackdump
2010-02-22 Lauri Aalto <laalto@iki.fi>
* src/rdf_log.c, src/rdf_raptor_internal.h, utils/rdfproc.c:
raptor2 locator functions with preprocessor macros for raptor1
compatibility
* src/rdf_model.c, src/rdf_node.c, src/rdf_parser_raptor.c,
src/rdf_query_results.c, src/rdf_raptor_internal.h,
src/rdf_serializer_raptor.c, src/rdf_statement.c,
src/rdf_stream.c, utils/rdfproc.c: raptor2 raptor_iostream calls
with preprocessor macros for raptor1 compatibility
2010-02-18 Lauri Aalto <laalto@iki.fi>
* src/rdf_node.c, src/rdf_parser_raptor.c,
src/rdf_serializer_raptor.c, src/rdf_storage_sql.c: Ported to
raptor2 git head
2010-02-16 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_sql.c: cast for strcmp
2010-02-16 Lauri Aalto <laalto@iki.fi>
* src/rdf_log.h, src/rdf_raptor.c: Added raptor2 error/warning
handlers
Introduced LIBRDF_FROM_RAPTOR log facility.
2010-02-16 Lauri Aalto <laalto@iki.fi>
* src/rdf_serializer_raptor.c:
(librdf_serializer_raptor_serialize_stream_to_iostream,
librdf_serializer_raptor_serialize_stream_to_counted_string): Call
raptor_free_iostream() on raptor2 to get any output.
* src/librdf.h, src/rdf_node.c, src/rdf_raptor.c, src/rdf_uri.c,
src/rdf_uri_internal.h: Replaced librdf_uris with raptor_uris when
using raptor2.
(librdf_uri_get_digest): Internal function gains librdf_world*
param.
* utils/rdfproc.c: Changed deprecated librdf_model_print() call to
librdf_model_write() with iostream.
* src/rdf_model.c, src/rdf_statement.c: Fixed raptor2
raptor_new_iostream calls in test code.
* src/rdf_parser_raptor.c:
(librdf_parser_raptor_new_statement_handler): Fixed raptor2
raptor_new_iostream_to_file_handle() call with LIBRDF_DEBUG > 1.
Removed unused debug variable.