forked from dajobe/librdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.1
2578 lines (1802 loc) · 71.7 KB
/
ChangeLog.1
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
2000-12-30 Dave Beckett <[email protected]>
* expat/Makefile.am, expat/xmltok/Makefile.am:
Moved rule using gennmtab to xmltok dir
* configure.in: expat,h -> expat.h
2000-12-29 Dave Beckett <[email protected]>
* repat/Makefile.am: Added rdftests.i
* docs/Makefile.am:
Extra 'a' in api-big.html rule
* acconfig.h:
Added RDFPARSE_INCLUDE_XMLPARSE for expat headers
* configure.in:
Updated to handle Repat 2000-12-24 with rdftest and old/new expat
headers
* repat/Makefile.am:
Updated to handle Repat 2000-12-24 with rdftest
* repat/rdftest.c, repat/rdftests.i, repat/rdfparse.h,
repat/rdfparse.c, repat/rdfdump.c, repat/CHANGES:
Updated to Repat 2000-12-24
* repat/expat.h:
Deleted, fixed via configure
2000-12-06 Dave Beckett <[email protected]>
* redland.spec.in:
Updated description
Tidied SMP code (never tested)
Made clean code be careful
Changed installed user/groups
Updated list of includes
2000-12-01 Dave Beckett <[email protected]>
* perl/dc.rdf:
Small test file for example.pl
* perl/Makefile.am:
Added dc.rdf test file to dist
2000-11-30 Dave Beckett <[email protected]>
* perl/Makefile.am:
Added example.pl to the release
* example4.c:
Updated for new concept names
2000-11-27 Dave Beckett <[email protected]>
* rdf_utf8.h, rdf_utf8.c:
UTF-8 support
* Makefile.am:
Added rdf_utf8.c, rdf_utf8.h
* rdf_parser_sirpac.c:
Updated for new concept names
* rdf_concepts.h, rdf_concepts.c: Amended concepts to include
rdf:RDF and rdf:Description - useful for Redland's RDF parser.
2000-11-22 Dave Beckett <[email protected]>
* rdf_uri.c (librdf_new_uri_normalised_to_base):
Handle fragment URIs relative to
base.
* rdf_uri.c (librdf_new_uri_normalised_to_base):
When URI is NULL or "" and
relative to a base URI, just make a new URI from the base URI.
* rdf_parser_repat.c:
XML literals - note problem with namespaces in results.
2000-11-21 Dave Beckett <[email protected]>
* repat/Makefile.am:
Added expat.h - shim since Repat moved to new expat sources, header
files
* rdf_parser_repat.c:
Final changes to interface with repat to handle parseType=literal and
rdf:_'ordinal'
Pass on some more fatal errors and tidy up better when things go
wrong at RDF or XML layer.
* perl/rss-dump.pl:
Show namespaced-properties off channel.
* perl/lib/RDF/RSS.pm (items):
Return channel items in correct order (from rdf:_n properties)
* repat/repat.html, repat/rdfparse.h, repat/expat.h, repat/README,
repat/CHANGES: Synchronised with repat 2000-11-10 (no code changes)
2000-11-19 Dave Beckett <[email protected]>
* rdf_statement.h:
Replaced #define-s for statement parts with enum; makes for
potentially better compiler checking
2000-11-17 Dave Beckett <[email protected]>
* perl/rss-dump.pl:
Updated to dump all & particular namespaced properties off nodes.
* perl/lib/RDF/Node.pm:
Defined node type constants for use with type method.
* perl/lib/RDF/RSS.pm (property):
Added, returns value of a property off a node.
(properties): Added, returns all properties off a node.
(properties_with_ns_prefix): Added, returns NS-prefixed properties
off a node.
2000-11-15 Dave Beckett <[email protected]>
* perl/lib/RDF/RSS.pm:
Removed accessors since RDF::RSS is a RDF::Model and can use methods
from there.
Renamed method RDF::RSS::Node method url to image_url to lessen
confusion with uri method on RDF::Node
2000-11-14 Dave Beckett <[email protected]>
* rdf_stream.c (librdf_stream_from_node_iterator_next_statement):
Added cast to librdf_node* from iterator get_next
* rdf_storage_hashes.c:
(librdf_storage_hashes_add_remove_statement,
librdf_storage_hashes_contains_statement,
librdf_storage_hashes_node_iterator_create)
Added some missing casts from return value of LIBRDF_MALLOC
Replaced some char* with unsigned char* when used as
encoding/decoding buffers
(librdf_storage_hashes_serialise_next_statement,
librdf_storage_storage_hashes_node_iterator_get_next): Added casts for
statement encode/decode parameters (from void*)
* rdf_parser_repat.c (librdf_parser_repat_serialise_finished):
Added cast to librdf_statement* from list pop
* rdf_parser_libwww.c (librdf_parser_libwww_parse_common):
Store pcontext (correct type)
rather than context (void*)
(librdf_parser_libwww_get_next_statement): Added cast to
librdf_statement* from list pop
* rdf_hash.c:
Added some missing casts from return value of LIBRDF_MALLOC
and some arguments to strlen
* perl/lib/RDF/RSS.pm:
RDF::RSS ISA RDF::Model now - makes code tidier too.
2000-11-12 Dave Beckett <[email protected]>
* perl/Makefile.am:
How did python references get in here?
2000-11-08 Dave Beckett <[email protected]>
* Redland.i:
Declare librdf_iterator_get_next returns librdf_node* which is true,
at the user level.
* configure.in:
Make 'make clean' work when python isn't available
* rdf_parser.c:
Tidy of warning / error message format
* perl/MANIFEST:
Added RDF::RSS and rss-dump.pl
* perl/rss-dump.pl:
RSS 1.0 test program for RDF::RSS
* perl/lib/RDF/URI.pm (_new_from_object):
Created.
* perl/lib/RDF/Node.pm (new_from_uri_string):
Die if no URI is given.
(uri): Return an RDF::URI object
* perl/lib/RDF/Model.pm (find_statements,get_arcs,get_sources,get_targets):
Retrieve all results if evaluated in a Perl list context. Makes
this common thing easy to do. In scalar context return a
Rdf::Stream of RDF::Statement-s or RDF::Iterator of RDF::Node-s as
before.
* perl/lib/RDF/Makefile.am: Added RSS.pm
* perl/lib/RDF/Iterator.pm (new):
Take a list of creators for the nodes that were used to create
the iteration.
* perl/lib/RDF/RSS.pm:
Redland Perl RSS 1.0 module
2000-11-06 Dave Beckett <[email protected]>
* configure.in: Bump version to 0.9.7
* Snapshotted redland_0_9_6 for 0.9.6 release
* redland.spec.in: Tidy for 0.9.6 release
* python/setup.py:
Use string.strip for python 1.5/2.0 compatibility
2000-11-05 Dave Beckett <[email protected]>
* docs/api.sgml.in:
Minor updates to link to new modules.
* docs/Makefile.am:
Worked out a way to make 1 big HTML API document
2000-11-04 Dave Beckett <[email protected]>
* redland.spec.in: Added Perl and Python docs
* docs/Makefile.am: Reordered doc sections
Added documentation for perl, python interfaces.
* Makefile.am:
Added SWIG 1.3a5 common perl/python interface file
* rdf_storage_hashes.c (librdf_storage_hashes_init_common):
On any hash creation failure,
end construction.
Correct the clean up during creation failures
* rdf_storage.c (librdf_new_storage_from_factory):
Don't free options on failure -
will be done by storage factory
* rdf_parser_repat.c, rdf_parser_redland.c:
Updated comment documentation for parser API changes
* example4.c:
Tidy up properly when parsing fails
* python/RDF.py: Updates for SWIG 1.3a5
* python/Makefile.am, python/MANIFEST.in, perl/MANIFEST,
perl/Makefile.PL, perl/Makefile.am:
Updates for SWIG 1.3a5 and common perl/python interface file
* Redland.i: Merged of perl/python versions
* perl/Redland.i, python/Redland.i:
Moved to root src dir
* perl/lib/RDF/Statement.pm
(new,new_from_statement,_new_from_object,new_from_nodes):
Return undef on failure to create an librdf_statement
* perl/lib/RDF/Node.pm
(new,new_from_uri_string,new_from_uri,new_from_literal,new_from_node,_new_from_object):
Return undef on failure to create an librdf_node
* perl/lib/RDF/URI.pm (new,new_from_uri):
Return undef on failure to create an librdf_uri
* perl/lib/RDF/Parser.pm (feature):
Use $uri consistently.
* perl/example.pl:
Use repat as test parser since it's always included.
2000-11-03 Dave Beckett <[email protected]>
* Makefile.am:
Don't compile java classes here for the moment
* rdf_parser_libwww.c:
Updates for new parser API
2000-11-02 Dave Beckett <[email protected]>
* rdf_parser_sirpac.c:
Updated for changed parser API
Split for 2 SiRPAC implementations - W3C and Stanford
Support for streaming/static support via Java --streaming/--static
depending on whether the parser features aboutEach/prefix are set.
* rdf_parser_repat.c:
Updated for changed parser API
Start to gather parseType literal content - unfinished.
* rdf_parser_redland.c:
Updated for changed parser API
Other minor changes
* rdf_parser_libwww.c:
Updated for changed parser API
* rdf_parser.c:
Updated for changed parser API:
Constructor takes optional MIME type, URI of syntax
Added error/warning handling methods and callbacks
Added set/get parser features
Modifications for 2 SiRPACs
* rdf_parser.h: Changed parser API:
Constructor takes optional MIME type, URI of syntax
Added error/warning handling methods and callbacks
Added set/get parser features
* configure.in:
Added python support and configuration
Updated for 2 sirpac parsers, SAX and added lots more configuration
* rdf_concepts.h, rdf_concepts.c:
Fixed bad ordering of rdf:/rdfs: concepts. They may be all
correct now but since this hasn't been machine generated or
validated, no guarantee.
* example1.c:
Update for new parser constructor
* acconfig.h:
Updated Java parser defines for SiRPAC, SAX
* PrintParser.java:
Updated to have --streaming/--static flags to pick parser modes.
Tidied messages and error reporting.
* example4.c:
Update for new parser constructor
Set rdf:aboutEach/prefix parser features depending on the type of
parse: parse (model) - yes or parse-stream - no
* python/Makefile.am:
Remove obsolete fake lib stuff - not compiling separate C module
* python/setup.py:
Another attempt to get the linking libraries line right
* python/MANIFEST.in:
Tweaked to pick up test dir
* python/Makefile.am:
Need to use includes in top srcdir
* python/test/Makefile.am:
Added to make autoconf-able
* perl/example.pl:
Updated for new parser constructor api
* perl/Redland.i:
Updated for new parser APIs - constructor, features
* perl/Makefile.am:
Pass installation prefix on to perl commands
* perl/lib/RDF/Parser.pm (new):
Updated for parser constructor args
(feature): Added to get/set parser features
* python/test/test.py, python/setup.py, python/Makefile.am,
python/MANIFEST.in, python/RDF.py, python/README,
python/Redland.i, python/setup.cfg:
Python interface
2000-10-26 Dave Beckett <[email protected]>
* rdf_parser_repat.c, rdf_parser_libwww.c:
Updated for amended parser API with base URIs
Use the base URI to fix IDs relative to source URIs (file names)
* rdf_parser_redland.c, rdf_parser_sirpac.c:
Updated for amended parser API with base URIs
* rdf_parser.h:
Updated prototypes for librdf_parser_parse_as_stream and
librdf_parser_parse_into_model) to pass base URIs in.
Updated factory API to have general URI/file: URI versions of methods
* rdf_parser.c:
(librdf_parser_parse_as_stream,librdf_parser_parse_into_model):
Updated to pass base URIs to parsers and deal with parsers that only
do file: URIs (have no built in HTTP etc. networking code).
* example4.c:
Updated for amended parser API with base URIs
Split parse into parse into model / parse as stream into model
* example1.c:
Updated for amended parser API with base URIs
* repat/repat.html, repat/rdfparse.h, repat/rdfparse.c,
repat/rdfdump.c, repat/CHANGES:
Updated to Repat 2000-10-22
* perl/example.pl:
Updated to have parsing too.
Tidied message output
* perl/Makefile.PL, perl/Makefile.am:
Zap redland_perl.c - can do in perl land.
* perl/redland_perl.c:
Deleted, can do in perl land
* perl/Redland.i: Zap get_empty_* functions
* perl/Redland.i:
Update parse APIs now taking base uri parameters.
* perl/test.pl:
Update for strictness - use "" for undef-s in places.
* perl/lib/RDF/Iterator.pm (next):
Document why the returned librdf_node-s are wrapped this way.
* perl/lib/RDF/Model.pm (serialise):
Return stream of librdf_statement-s that should freed
(find_statements): Return stream of librdf_statement-s that should
NOT be freed
* perl/lib/RDF/Parser.pm (parse_as_stream,parse_into_model):
Update for base uris
* perl/lib/RDF/Statement.pm (new_from_nodes):
Use undef for C-land NULLs.
(_new_from_object): Allow control over freedom of wrapped
librdf_statement object.
(subject,predicate,object): Fixed using these to set a statment part
which didn't work at all.
* perl/lib/RDF/Stream.pm (new,next):
Track if streamed librdf_statement objects should be freed as
you go or left (shared, handled by librdf_stream destruction)
* perl/lib/RDF/Node.pm (new_from_node):
Use internal object reference not RDF:::Node one to
get copy of node
(_new_from_object): Don't free librdf_nodes attached this way, at
present they are shared.
(DESTROY): Support for freeing protection
2000-10-24 Dave Beckett <[email protected]>
* rdf_node.h:
Added prototype for librdf_new_node_from_normalised_uri_string
* rdf_node.c (librdf_new_node_from_normalised_uri_string):
Added to create nodes
with URIs relative to new bases
* rdf_uri.h:
Added prototypes for librdf_new_uri_normalised_to_base,
librdf_uri_is_file_uri, librdf_uri_as_filename
* rdf_uri.c (librdf_new_uri_normalised_to_base):
Added to create URIs for objects
relative to new bases
(librdf_uri_is_file_uri): Return true if URI is a file
(librdf_uri_as_filename): Get the filename from URI (shared)
Updated test code to check the normalising works
* configure.in, acconfig.h:
Added JAVA_CLASS_DIR
* perl/lib/RDF.pm:
Call librdf_init_world with "" for empty char* field, swig is happier
that way.
* perl/lib/RDF/Parser.pm (new):
Return undef when object creation fails
(parse_into_model): Use correct internal reference
* perl/lib/RDF/Stream.pm (end, next):
Return empty stream when stream object undef
2000-10-20 Dave Beckett <[email protected]>
* redland.spec.in: Added perl RPM
* configure.in: Bump version to 0.9.6
* redland.spec.in:
zap rdf_context.h from devel RPM
* Snapshotted redland_0_9_5 for 0.9.5 release
* rdf_parser.c (librdf_init_parser):
Make Repat the default RDF parser since it is
always available.
* configure.in:
Another round of XML parser configuration work, tests.
Now assumes expat and libxml may live in dirs called those names
* Makefile.am:
Added rdf_parser_repat.c to distribution
* repat/Makefile.am:
No need for CFLAGS changes
2000-10-19 Dave Beckett <[email protected]>
* rdf_list.h, rdf_list.c:
Made list implementation be double-linked so can remove at both ends
* rdf_parser.h, rdf_parser.c:
Added repat
* rdf_parser_repat.c:
Repat RDF Parser implementation
* configure.in:
Added tests for repat RDF parser and configuring repat sub directory
* acconfig.h: Added HAVE_REPAT_RDF_PARSER
* repat/rdfdump.c, repat/rdfparse.c, repat/rdfparse.h,
repat/repat.html, repat/CHANGES, repat/Makefile.am, repat/README:
Imported Repat dated 2000-10-14
2000-10-13 Dave Beckett <[email protected]>
* configure.in:
Check for XML_Parser_Create in xmlparse, don't need expat namespace
support any more
* Makefile.am:
Added concepts, removed contexts
* rdf_parser_redland.c:
Track namespace declarations in/out of XML parsing scope
(librdf_parser_redland_free): Created
* rdf_concepts.c:
Initialise namespace uri static pointers to NULLs
2000-10-12 Dave Beckett <[email protected]>
* librdf.h: Removed contexts
* rdf_statement.h:
Lots of changes throughout to make librdf_statement be librdf_node.
No user visible changes to the interface.
Removed all context interface references
* rdf_node.h:
Lots of changes throughout to make nodes be Statements (done) and
other RDF concepts (not done yet).
* rdf_statement.c:
Lots of changes throughout to make librdf_statement be librdf_node.
No user visible changes from this interface.
Removed all references to contexts - these will be done another way
* rdf_node.c:
Lots of changes throughout to make nodes be Statements (done) and
other RDF concepts (not done yet).
(librdf_finish_node): Added
Use const char* instead of char* where appropriate
(librdf_new_node_from_uri_qname): Added, to create a new from a
URI+qname
* rdf_uri.h:
Try using const char* instead of char*
Added librdf_new_uri_from_uri_qname
* rdf_uri.c:
(librdf_new_uri, ..) Try using const char* instead of char*
(librdf_new_uri_from_uri_qname): Create a URI from an existing URI
plus a qname
* rdf_init.c (librdf_destroy_world):
Reorder destruction order to be reverse of
creation
Added concepts init/finish stuff
* rdf_concepts.c, rdf_concepts.h:
RDF Model, Syntax and Schema concepts
* rdf_context.h: Not needed
2000-10-10 Dave Beckett <[email protected]>
* perl/example.pl:
Exercise the methods for retrieving statement parts and the as_string methods
* perl/lib/RDF/Statement.pm (object):
Extra return removed, oops.
2000-10-06 Dave Beckett <[email protected]>
* perl/lib/RDF/Statement.pm (subject,predicate,object):
Return new RDF::Node objects
2000-10-02 Dave Beckett <[email protected]>
* perl/Makefile.am:
make clean now tidies everything generated except for swig-derived
output
* perl/redland_perl.c, perl/Redland.i:
Added redland_perl_get_empty_hash
2000-10-02 Dave Beckett <[email protected]>
* perl/Makefile.am:
make clean now tidies everything generated except for swig-derived
output
* perl/redland_perl.c, perl/Redland.i:
Added redland_perl_get_empty_hash
2000-10-01 Dave Beckett <[email protected]>
* perl/Makefile.PL:
Add all remaining libs to linkin from output of redland --libs
* perl/Redland.i:
Remove support for librdf_uri_as_string since librdf_uri_to_string is
better for Perl, it owns the new memory.
* perl/test.pl:
Added Redland:: and RDF:: versions of all tests.
* perl/lib/RDF/Statement.pm:
Add flag to avoid freeing a 'wrapped' object created and owned by
librdf
* perl/lib/RDF/Model.pm:
When creating streams or iterators, return a reference to this model
so that the objects can keep a reference to this object preventing
premature destruction before this object.
* perl/lib/RDF/URI.pm (as_string):
Use librdf_uri_to_string to prevent sharing a char*
pointer.
* perl/lib/RDF/Stream.pm:
Track the object that created the RDF::Stream object so we don't
get freed before it does.
* perl/lib/RDF/Iterator.pm:
Track the object that created the RDF::Iterator object so we don't
get freed before it does.
2000-09-29 Dave Beckett <[email protected]>
* configure.in: Bump version to 0.9.4
* Snapshotted redland_0_9_4 for 0.9.4 release
* perl/example.pl:
Redland eaxmple Perl program
* perl/Makefile.PL:
Convert output of redland-config --libs into absolute dirs - hack.
* perl/Makefile.am: Added redland_perl.c
* perl/redland_perl.c:
Extra SWIG-perl / redland interfaces for Redland
* perl/Redland.i:
Added redland_perl_get_empty_node to get (librdf_node*)NULL pointers
- there must be an easier way to do this.
* perl/test.pl:
More warnings, error checking.
Turn on debugging if TEST_VERBOSE envariable defined
Check statement querying, serialising and printing
* perl/lib/RDF/URI.pm: Use $RDF::Debug
* perl/lib/RDF/Stream.pm: Use $RDF::Debug
(next) Fixed to return RDF::Statement objects
* perl/lib/RDF/Storage.pm: Use $RDF::Debug
Make constructors return undef on failure
* perl/lib/RDF/Statement.pm: Use $RDF::Debug
(new_from_nodes) Replace undef node references with NULL
librdf_node pointers and tidy up more carefully.
(_new_from_object): Created to make perl objects from
librdf_statement objects created by librdf
* perl/lib/RDF/Parser.pm: Use $RDF::Debug
* perl/lib/RDF/Node.pm: Use $RDF::Debug
(_new_from_object): Created to make perl objects from librdf_node
objects created by librdf
* perl/lib/RDF/Model.pm: Use $RDF::Debug
Make constructors return undef on failure
(add_statement): Don't zap things that don't exist.
* perl/lib/RDF/Iterator.pm: Use $RDF::Debug
(next) Renamed from get_next, fixed to return RDF::Node objects
* perl/lib/RDF.pm:
Added $RDF::Debug variable.
2000-09-28 Dave Beckett <[email protected]>
* rdf_parser_redland.c:
Redland RDF Parser implementation
* configure.in:
Check for libxml using xml-config program and insert xml-config
invocations into LIBS and CFLAGS when needed.
Don't build libwww rdf parser if RDF support isn't in it.
* Makefile.am: Added rdf_parser_redland.c
* configure.in:
Fix XML library checking tests
Add XML objects to librdf when using local copies from source
Added perl directory to subdirs list and use automakefiles there
* Makefile.am:
Added XML_OBJS to allow XML parser objects to be in librdf.a when
necessary
* perl/Makefile.PL:
Receive configuration values (package, version, top src dir) from
environment
* perl/Makefile.am:
Added perl build, check, install, clean etc support
* perl/lib/RDF/Makefile.am, perl/Makefile.am, perl/lib/Makefile.am:
Added automake for perl
* perl/Makefile.PL: Output to Makefile.perl
Ensure only .pm files are installed
* perl/MANIFEST, perl/MANIFEST.SKIP,
perl/lib/RDF/Storage.pm, perl/lib/RDF/Stream.pm,
perl/lib/RDF/URI.pm, perl/lib/RDF/Iterator.pm,
perl/lib/RDF/Model.pm, perl/lib/RDF/Node.pm,
perl/lib/RDF/Parser.pm, perl/lib/RDF/Statement.pm,
perl/Makefile.PL, perl/Redland.i, perl/lib/RDF.pm, perl/test.pl:
Added perl interface
* rdf_init.c:
export copyright and version constants
2000-09-27 Dave Beckett <[email protected]>
* rdf_parser.c (librdf_init_parser):
Don't use redland RDF parser by default - not
working yet.
* expat/xmltok/Makefile.am:
Add -DXML_NS for expat - enabling namespace support.
* rdf_parser.h:
Prototype for redland librdf_parser_redland_constructor
* rdf_parser.c:
Initialise redland (internal) parser if present
* configure.in:
Added expat / libxml configuration - searching in system or source tree
Added configurable rdf parser option --enables-parsers
* acconfig.h:
Added NEED_EXPAT and NEED_LIBXML
* Makefile.am: Reorganised header macros
Added LICENSE.txt to dist
2000-09-25 Dave Beckett <[email protected]>
* acconfig.h: Added HAVE_REDLAND_RDF_PARSER
2000-08-31 Dave Beckett <[email protected]>
* librdf.h, rdf_storage_hashes.c, rdf_hash.c, rdf_heuristics.c:
Use rdf_heuristics.h header
* rdf_init.c: Use rdf_init.h header
* rdf_init.h:
Overall library initialisation / termination prototypes
* rdf_heuristics.h:
Heuristic routines to guess things about RDF prototypes
* redland.spec.in: RPM spec file
* configure.in: Bump version to 0.9.4
2000-08-30 Dave Beckett <[email protected]>
* Snapshotted redland_0_9_3 for 0.9.3 release
* example4.c: oops - s/new/free/
* docs/Makefile.am: Tidy order of junk
* example4.c: Added parse command.
* example4.c: initialise cmd
* Makefile.am:
Added autogen.sh to distribution.
* autogen.sh:
Generates the initial makefiles from a pristine CVS tree
* configure.in: Configure Java sources
* Makefile.am:
Maintainer - compile the java classes
Add the sources and classes to the release
2000-08-28 Dave Beckett <[email protected]>
* PrintParser.java:
Use streaming SiRPAC to parse RDF/XML content to triples
* PrintConsumer.java:
SiRPAC RDF consumer that prints out triple as they are added
* rdf_parser_sirpac.c:
Use SiRPAC in streaming mode via local PrintParser class
* configure.in:
Don't check for HTRDFParseFile yet
* rdf_stream.h:
Added prototype for librdf_new_stream_from_node_iterator
* rdf_stream.c (librdf_new_stream_from_node_iterator):
Added, creating a stream from
a node iterator and a partial statement.
(librdf_stream_from_node_iterator_end_of_stream,
librdf_stream_from_node_iterator_next_statement,
librdf_stream_from_node_iterator_finished): Added, implementing the
stream for the above function.
* rdf_storage_hashes.c:
Updated comments in storage hashes context structure.
(librdf_storage_hashes_find_sources,librdf_storage_hashes_find_arcs,librdf_storage_hashes_find_targest):
Added and implemented returning an interator over sources, arcs,
targets nodes for storage hashes.
(librdf_storage_storage_hashes_node_iterator_have_elements,
librdf_storage_storage_hashes_node_iterator_get_next,
librdf_storage_storage_hashes_node_iterator_finished): Added,
implementing the iterator API for the above node iterators
(librdf_storage_hashes_node_iterator_create): Added helper function
to create the iterator for the above node iterators.
* rdf_storage.c (librdf_storage_node_stream_to_node_create):
Added, implementing
duplicated code that was in get sources, targets and arcs methods.
* rdf_statement.h:
Update documentation about use of statement parts macros
* rdf_statement.c (librdf_new_statement_from_statement):
Copy partial statements
correctly and return an error only when a node copy fails.
* rdf_node.c (librdf_new_node_from_node):
Return NULL (fail) when given NULL node
* rdf_init.c (librdf_init_world):
More documentation added.
* rdf_hash_memory.c:
Corrected librdf_hash_memory_exists return code documentation.
* rdf_hash_bdb.c (librdf_hash_bdb_exists):
Corrected return code documentation.
When want key/value, for earlier BDB V2, with no DB_GET_BOTH flag,
implement using cursor and for BDB V1, using sequence (V1 not tested)
* rdf_hash.c:
Corrected librdf_hash_exists return code documentation.
* Makefile.am: clean test databases
* example4.c:
Tidied code, removed some duplicate long expressions.
Added more detailed usage.
* configure.in:
Check for HTRDFParseFile in libwww
* docs/Makefile.am:
Added hash cursor, storage hashes, heuristics sections
Amended rules to build HTML api automatically when SGML changes
* docs/api.sgml.in:
Added hash cursor, storage hashes, heuristics sections
2000-08-27 Dave Beckett <[email protected]>
* rdf_storage_hashes.c:
Updated for new hash API
(librdf_storage_hashes_init_common): Created from init method to
provide core code for init and clone.
(librdf_storage_hashes_clone): Created and works.
(librdf_storage_hashes_add_remove_statement): Create from
add_statement method to provide core code for add/remove statement
(librdf_storage_hashes_remove_statement): Implemented.
* example4.c:
Can now check for statements with contains, add and remove statements.
* example1.c:
Set new=yes to create new storage
* Makefile.am: Added examples target
* rdf_hash_memory.c, rdf_hash_bdb.c, rdf_hash.h, rdf_hash.c:
Updated for new hash API
* rdf_heuristics.c (librdf_heuristic_gen_name):
Fix an off-by-one error.
* rdf_model.h:
Removed librdf_new_model_from_stream prototype - not needed
* rdf_model.c (librdf_new_model_from_stream):
Deleted, not needed. A model can be
created using librdf_new_model and statements added from a stream
using librdf_model_add_statements
* rdf_uri.c: Updated for new hash API
2000-08-26 Dave Beckett <[email protected]>
* example3.c: option hash_type -> hash-type
* Makefile.am: Added example4
* example4.c:
Redland example code querying stored triples
* rdf_hash_gdbm.c:
Updated for cloning support but not tested - it compiles and that's all.
* example1.c: option hash_type -> hash-type
* rdf_hash_memory.c:
Update context for clone support
(librdf_hash_memory_create): Added object creation call
(librdf_hash_memory_destroy): Added object destruction call - memory
freeing is now done here.
(librdf_hash_memory_open): Now a nop
(librdf_hash_memory_close): Now a nop
(librdf_hash_memory_clone): Added clone method
* rdf_hash_bdb.c:
Update context for clone support
(librdf_hash_bdb_create): Added object creation call
(librdf_hash_bdb_destroy): Added object destruction call (nop)
(librdf_hash_bdb_open): Initialise more state for use by clone
(librdf_hash_bdb_clone): Added clone method, calling librdf_hash_bdb_open
* rdf_storage.c (librdf_new_storage_from_storage):
Correct order of storage initialisation
* rdf_storage.h: Added clone method
* example2.c: option hash_type -> hash-type
* rdf_hash.c (librdf_new_hash_from_factory):
Call factory create method
(librdf_new_hash_from_hash): Generate a new identifier for copy, pass
on to hash factory clone method to do work.
(librdf_free_hash): Call factory destroy method too.
(librdf_hash_open): Copy and store identifier for later use.
(librdf_hash_close): Free store identifier
Test code: test hash cloning and get as long and boolean methods
* rdf_hash.h:
Rename prototype arg to prevent clash with type defined in gdbm.h
hash object now stores identifier, for later use when cloning
In hash factory:
Amended clone method to take necessary parameters.
Added create and destroy methods for work at hash object creation / destruction
* librdf.h:
Made librdf_heuristic_object_is_literal public again - useful in user code.