-
Notifications
You must be signed in to change notification settings - Fork 25
/
ChangeLog.5
1454 lines (923 loc) · 41.2 KB
/
ChangeLog.5
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
2004-12-31 Dave Beckett
* ruby/README.txt: 1.8.2 tested
* ruby/test/test_node.rb: require 'rdf/redland'
* ruby/test/test_model.rb (test_parse_and_merge):
Require memory HashStore to get contexts.
* ruby/test/test_model.rb (test_parse_and_merge): Requires store
with contexts.
* ruby/lib/rdf/redland.rb: require log4r require more load shared
lib
* ruby/test/Makefile.am, ruby/Makefile.am: Less -I
* ruby/lib/rdf/redland/uri.rb: don't require 'uri'
* ruby/lib/rdf/redland/stream.rb: re-add util
* ruby/lib/rdf/redland/stream.rb: require less
* ruby/lib/rdf/redland/store.rb: require 'rdf/redland'
* ruby/lib/rdf/redland/statement.rb: no need for util
* ruby/lib/rdf/redland/resource.rb: include Redland
* ruby/test/Makefile.am: tidy args
* ruby/lib/rdf/redland/serializer.rb: require 'rdf/redland'
* ruby/lib/rdf/redland/resource.rb (Resource.add_property):
default to nil context.
* ruby/lib/rdf/redland/constants.rb: Use Redland:: for Namespace
* ruby/lib/rdf/redland/model.rb (Model.create_resource):
default to nil context.
2004-12-30 Edd Dumbill <[email protected]>
* csharp/Util.cs: (StringToHGlobalUTF8 ()): marshal .NET string to
UTF-8
(UTF8PtrToString ()): marshal unmanaged UTF-8 to .NET string
* csharp/Model.cs, csharp/Node.cs, csharp/Parser.cs,
csharp/Query.cs, csharp/QueryResults.cs, csharp/Serializer.cs,
csharp/Storage.cs, csharp/Uri.cs: replace calls to
StringToHGlobalAuto with StringToHGlobalUTF8
* csharp/Errors.cs, csharp/Node.cs, csharp/QueryResults.cs,
csharp/Statement.cs, csharp/Uri.cs: replace calls to
PtrToStringAuto with UTF8PtrToString
* csharp/examples/EncodingTest.cs: unit test for round tripped
encoding methods
2004-12-30 Dave Beckett
* ruby/test/Makefile.am: Note test/unit.rb is in 1.8.0+
* ruby/lib/rdf/redland/parser.rb: tidy
* ruby/Makefile.am: fix RUBYLIB
* ruby/lib/rdf/redland/schemas/foaf.rb, ruby/lib/rdf/redland/dc.rb:
require 'rdf/redland'
* ruby/lib/rdf/redland.rb: require resource Delete uri_hash - not
needed at this level.
* ruby/lib/rdf/redland/statement.rb: fix requires
* ruby/lib/rdf/redland/query.rb: Tried to fix syntax errors,
failed.
* ruby/lib/rdf/redland/schemas/foaf.rb: Update from
http://lists.w3.org/Archives/Public/www-archive/2004Dec/att-0053/foaf.rb
by Dan Brickley
2004-12-22 Dave Beckett
* python/test/test.py: Use RDFXMLSerializer explicitly
* python/RDF.py (class Serializer): Added more docs.
(Serializer.__init__): More docs.
(class NTriplesSerializer): Added
(class RDFXMLSerializer): Added
* python/RDF.py (Parser.parse_into_model, Parser.parse_string_into_model, Serializer.serialize_model_to_file):
Try to promote base_uri strings
to RDF.Uri
2004-12-20 Dave Beckett
* perl/lib/RDF/Redland/Query.pm: doc fix
2004-12-12 Dave Beckett
* configure.ac:
Added REDLAND_VERSION_VERBOSE separate from REDLAND_VERSION, the former for printing
2004-11-26 Dave Beckett
* configure.ac: AC_SUBST(REDLAND_VERSION)
2004-11-25 Dave Beckett
* redland-bindings.spec.in: Substitute @REDLAND_VERSION@
2004-11-09 Dave Beckett
* python/RDF.py:
Use Redland_python.librdf_python_unicode_to_bytes to turn any
passed-in Python Unicode into UTF-8 strings for Redland API calls.
(Node.__unicode__, Statement.__unicode__, Model.__unicode__,
URI.__unicode__): Added to return Unicode representations,
* python/redland-post.i: Added a copyright header.
(librdf_python_unicode_to_bytes): Added, to turn a Python Unicode
string like u"foo" into the UTF-8 string equivalent. Uses raptor's
raptor_unicode_char_to_utf8.
* perl/lib/RDF/Redland/Query.pm (new): better docs
* csharp/Query.cs: Query (World world, string s, Uri uri, string
query_language): Gains another argument, query_uri and the first
uri becomes base_uri as originally defined.
* python/RDF.py (Query.__init__):
Added query_uri argumetn and use base_uri correctly.
* perl/lib/RDF/Redland/Query.pm (new): Add base_uri argumemt
* configure.ac, RELEASE.html, NEWS.html: 0.9.20.1
2004-11-04 Dave Beckett
* ruby/test.rb, ruby/example.rb:
swap example.rb/test.rb so that example.rb uses the rich interface
* docs/objc.html: Objective-C/Cocoa for OSX (shipped externally)
2004-11-03 Dave Beckett
* ruby/lib/rdf/redland.rb: remove log4r, not part of standard ruby
distribution.
* ruby/README.txt: updated
* ruby/Makefile.am, ruby/test.rb: Added test.rb
* configure.ac: Check redland version matches this package version.
* redland-bindings.spec.in: more ruby fixes
* ruby/lib/rdf/Makefile.am, ruby/lib/rdf/redland/Makefile.am,
ruby/lib/rdf/redland/schemas/Makefile.am: update rubydir
* configure.ac: Get RUBY_LIBDIR
* ruby/test/README, ruby/test/triples.rdf, ruby/test/Makefile.am:
Ignore test failures since Test::Unit seems old
* configure.ac: Fixes for updated Ruby rdf-redland 0.5.3.1
* ruby dir updated to rdf-redland 0.5.3.1
* redland-bindings.spec.in: Added redland-ruby
* configure.ac: Bumped version to 0.9.18.2
2004-11-02 Dave Beckett
* Snapshotted redland-bindings_0_9_19_1 for 0.9.19.1 release
* perl/example.pl: Added to_string tests
* perl/lib/RDF/Redland/Serializer.pm (serialize_model_to_string):
Added.
* perl/example.pl: Added model->to_string check
* perl/lib/RDF/Redland/Model.pm (to_string):
Added to serialize to a string.
* Makefile.am, LICENSE.html, NOTICE, README.html,
redland-bindings.spec.in, LICENSE-2.0.txt, MPL.html: LGPL / Apache
2.0 license - remove MPL MPL.html add Apache2 LICENSE-2.0.txt NOTICE
* Switched to LGPL / Apache 2.0 license in the sources
CVS tags before: redland_bindings_license_lgpl_mpl,
and after: redland_bindings_license_lgpl_apache2
* php/redland_wrap.c.patch: update patch
* perl/lib/RDF/Redland/Query.pm: docs
* csharp/AssemblyInfo.cs: Less boilerplate
2004-10-26 Dave Beckett
* perl/lib/RDF/Redland/Query.pm, perl/lib/RDF/Redland/Parser.pm:
Don't do $uri=$uri->{URI} to ensure object ref lives.
2004-10-22 Dave Beckett
* redland-bindings.spec.in: based on redland 0.9.19
2004-10-21 Dave Beckett
* python/RDF.py:
General python fix. Do not do uri = uri._reduri where uri is an
RDF.Uri() since that causes Python to delete the RDF.Uri object,
making the redland uri object useless.
* python/example.py: Added serialize example
* configure.ac: 0.9.19.1
2004-10-20 Dave Beckett
* python/RDF.py (Model.to_string): Added.
(Model.__str__): Added.
2004-10-09 Dave Beckett
* ruby/Makefile.am, python/Makefile.am, php/Makefile.am,
perl/Makefile.am, java/Makefile.am: Remove use of $< with
@REDLAND_SWIG@ since BSD make sucks^w doesn't support it.
2004-10-01 Dave Beckett
* perl/lib/RDF/Redland/Model.pm: (load) Added using librdf_model_load
2004-10-01 Edd Dumbill <[email protected]>
* csharp/World.cs: (World ()): assign logging delegate to private
member to stop it being prematurely GC'd
2004-09-29 Dave Beckett
* php/redland_wrap.c.patch: updated
* php/redland-typemap.i: typemaps for php
* php/Makefile.am: Added redland-typemap.i
Use REDLAND_TYPEMAP_I
* php/test.php: url typo
2004-09-24 Dave Beckett
* python/Makefile.am:
Use PYTHON_LDFLAGS for OSX/rest of world shared library flags
* configure.ac: Make PYTHON_LDFLAGS
* python/RDF.py (Node.__init__):
document 'language' for literal language, while
allowing xml_language to continue working.
(Node.literal_value): document keys of the dictionary.
2004-08-25 Dave Beckett
* demos/rss-show.pl: Made 'box' param a checkbox.
Added 'hide' into a checkbox param to not print out the content.
Tidy messages to be more strident.
2004-08-13 Dave Beckett
* perl/lib/RDF/Redland/Query.pm (execute):
Wrap any return object as a perl QueryResults
* perl/README.txt: Removed. Described 2 year old API update
* perl/Makefile.am: Remove README.txt for old api update
* perl/lib/RDF/Redland/Query.pm: doc typo
* docs/perl.html: link to POD QueryResults.html correctly.
* perl/lib/RDF/Redland/QueryResults.pm: Update documentation.
* perl/lib/RDF/Redland/Query.pm:
Fix example, use $results->bindings_count
2004-08-12 Dave Beckett
* python/example.py: update to final 0.9.18 redland query api
2004-08-11 Dave Beckett
* configure.ac: Look in $JAVA_HOME for the JDK. Duh!
* configure.ac: Don't muck about with the PATH (for OSX fink in
this case). This might make things fail to build later when
programs found on the customised path aren't available. Users
should edit the PATH before calling configure.
2004-08-10 Dave Beckett
* configure.ac: --with-jdk with an ARG now looks for the
includes/headers subdir using the existing search code.
Use head -n 1
2004-08-05 Edd Dumbill <[email protected]>
* csharp/TODO: * TODO: remove completed tasks.
2004-08-03 Dave Beckett
* configure.ac: Bumped version to 0.9.18.2
* Snapshotted redland-bindings_0_9_18_1 for 0.9.18.1 release
* configure.ac: Bumped version to 0.9.18.1
* Snapshotted redland-bindings_0_9_17_1 for 0.9.17.1 release
* java/Makefile.am: Add run-java to dist
2004-07-28 Dave Beckett
* autogen.sh: move 'rm's inside configure.ac loop
* autogen.sh: Ensure subdirs get config.guess, config.sub
* php/Makefile.am: maint clean the orig file
* perl/lib/RDF/Redland.pm: Added links to Query and QueryResults
2004-07-27 Dave Beckett
* php/Makefile.am:
Oops, use -DREDLAND_INIT_I to get init of redland world by PHP
* php/redland-post.i: declare static function prototypes
* php/Makefile.am: Added redland_wrap.c.patch to dist
2004-07-26 Dave Beckett
* Makefile.am: bindings in html
* ruby/README.txt: grammar
2004-07-23 Dave Beckett
* AUTHORS: Dominic Sisneros email
* configure.ac: 0.9.17.1
* python/test/test.py, python/RDF.py,
perl/lib/RDF/Redland/Parser.pm, perl/serialize.pl,
perl/example.pl, java/test2.java, java/test1.java,
java/skeleton.java, csharp/examples/example4.cs,
csharp/examples/example2.cs, csharp/examples/example1.cs,
csharp/test.cs, csharp/Parser.cs: Replace parser name "raptor"
with "rdfxml"
2004-07-20 Edd Dumbill <[email protected]>
* csharp/Node.cs: Added my name to header.
2004-07-20 Dave Beckett
* php/Makefile.am:
redland-pre.i wasn't helping remove multiple defines warnings
* php/redland-pre.i: undef things via command line
* tcl/Makefile.am: Use TCL_DIR to remove use of backticks
* configure.ac: Added TCL_DIR to remove use of backticks in a makefile
* ruby/Makefile.am: Use RUBY_LIB, RUBY_DIR to remove use of backticks
* configure.ac:
Added RUBY_LIB, RUBY_DIR to remove use of backticks in a makefile
Tidy
* php/Makefile.am:
Use PHP_EXTENSION_DIR to remove use of backticks in a makefile
* configure.ac:
Added PHP_EXTENSION_DIR to remove use of backticks in a makefile
Tidy
* ruby/Makefile.am, python/Makefile.am, php/Makefile.am,
perl/Makefile.am, java/Makefile.am, csharp/examples/Makefile.am,
csharp/Makefile.am: Re-added REDLAND_RUN for running tests when
compiling against librdf in source (not installed) form.
* configure.ac: Added REDLAND_RUN with a space
* configure.ac: convert an internal REDLAND_CONFIG into an
absolute path
2004-07-20 Edd Dumbill <[email protected]>
* examples/StreamTest.cs: (ParseAsStream ()): fix for streams.
(IterateModel ()): fix for iterators.
(FindStatements1 ()): fix for iterators.
(FindStatementsWithContext ()): fix for iterators.
* Iterator.cs: (MoveNext ()): handle case where iterator is empty.
* Stream.cs: (MoveNext ()): handle case where stream is empty.
* Uri.cs: (Uri (IntPtr)): add internal constructor to build Uri
from a Redland URI.
* Node.cs: (Uri): add property to get underlying Redland URI.
* Errors.cs: (RedlandError): new constructor with no log messages.
* Node.cs: Add NodeType enumeration.
(Type): add new property to get type
(IsResource ()): return true if resource.
(IsLiteral ()): return true if literal.
(IsBlank ()): return true if blank.
2004-07-20 Edd Dumbill <[email protected]>
* Stream.cs: (GetEnumerator ()): Implement IEnumerable.
(MoveNext ()): Properly implement: at start, position should be
before the first element, not on it.
* Iterator.cs: (GetEnumerator ()): Implement IEnumerable.
(MoveNext ()): Properly implement: at start, position should be
before the first element, not on it.
* test.cs: Fix to work with iterator fixes.
2004-07-19 Dave Beckett
* redland-bindings.spec.in: core docs in all packages
* redland-bindings.spec.in:
no need to configure loads of redland things
no need to make install librdf
* configure.ac, Makefile.am: remove redland-bindings.pc.in
* redland-bindings.spec.in: full package names
* configure.ac: 0.9.17.0.1
* redland-bindings.spec.in: fix package names
* redland-bindings.spec.in: redland-bindings spec
* Makefile.am, configure.ac: added redland-bindings.spec
* Makefile.am: zap man_MANS
* php/Makefile.am, python/Makefile.am: backticks
* python/Makefile.am, ruby/Makefile.am, ruby/test/Makefile.am,
tcl/Makefile.am, csharp/Makefile.am, csharp/examples/Makefile.am,
docs/Makefile.am, java/Makefile.am, perl/Makefile.PL,
perl/Makefile.am, php/Makefile.am, ChangeLog, Makefile.am,
configure.ac: redland-bindings fixes
* AUTHORS, autogen.sh: redland-bindings
* java/run-java: run java test programs in source tree
* ruby/README.txt: Point to rdf-redland at RubyForge
2004-07-14 Dave Beckett
* csharp/Serializer.cs:
(Serializer (World world, string name, string mime_type, Uri
type_uri)): Replace cast to Object with use of Uri.operator==
* csharp/Uri.cs (Equals, operator ==, operator !=, GetHashCode): Added.
* csharp/Statement.cs:
(Statement (World world, Node subject, Node predicate, Node obj)):
Removed casts to Object and allow calls to Node.operator!=
* csharp/Node.cs (operator ==, operator !=):
Added tests for null using Object.Equals
written by Edd Dumbill.
* csharp/Redland.cs, csharp/MemoryStorage.cs, csharp/Iterator.cs,
csharp/IWrapper.cs, csharp/HashStorage.cs, csharp/URI.cs: Added
CVS IDs to the header.
2004-07-14 Edd Dumbill <[email protected]>
* csharp/examples/example2.cs:
write to console when Exiting: helpswith debugging GC snafus.
* csharp/Makefile.am:
ensure MONO_PATH=. for running the test prog
* csharp/Uri.cs:
general indenting fixes.
uri: initialise to IntPtr.Zero
(Dispose): added, implemented IDisposable.
* csharp/Stream.cs:
general indenting fixes.
Implement IDisposable.
stream: init to IntPtr.Zero.
(Current): remove tmp var, add FIXME note.
(MoveNext): remove tmp var dance.
(End): remove tmp var.
(CurrentStatement): Added, which is (Statement) Current.
* csharp/Storage.cs:
general indenting fixes.
Implement IDisposable.
storage: init to IntPtr.Zero
* csharp/Statement.cs:
general indenting fixes.
stm: intialise to IntPtr.Zero
(Subject, Predicate, Object properties): added get accessors.
(Statement (IntPtr)): copy underlying statement with
librdf_statement_new_from_statement
(~Statement): test for IntPtr.Zero
(Dispose): Renamed from ~Statement(). Implement IDisposable.
* csharp/Serializer.cs:
Implement IDisposable.
serializer: init to IntPtr.Zero.
* csharp/QueryResults.cs:
general indenting fixes.
query_results: init to IntPtr.Zero;
Implement IDisposable.
(MoveNext): remove tmp var.
(End): remove tmp var.
(AsStream): remove tmp var, add FIXME note.
(BindingValue): remove tmp var.
(BindingValueByName): remove tmp var.
Implement IEnumerable.
(QueryResults): remove need to pass original query, make
constructor internal.
* csharp/Query.cs:
general indenting fixes.
Implement IDisposable.
query: init to IntPtr.Zero.
(Query (Word, string, Object, string)): init iuri to IntPtr.Zero,
not null. Change third parameter to Uri type, not Object.
(Query (string)): use constified name for RDQL.
(Execute): adjust to new form of QueryResults ctor.
* csharp/Parser.cs:
general indenting fixes.
Implement IDisposable.
parser: init to IntPtr.Zero
(Parser (World, string, string, Uri)): remove ability to construct
with null World.
(ParseIntoModel): add FIXME note.
(ParseAsStream): add FIXME note.
(ParseStringAsStream): add FIXME note.
* csharp/Model.cs:
general indenting fixes.
model: initialize to IntPtr.Zero.
(Dispose). Renamed from ~Model. Implement IDisposable, test for
IntPtr.Zero.
(FindStatements): remove unneeded temp var.
(GetSources): add FIXME item.
(GetTarget): drop exception and make look like GetPredicate, GetSource.
(GetTargets): make look like GetSources, GetPredicates. Add FIXME.
(ToStream): add FIXME note.
(GetFeature): return null on failure, like GetSource and friends.
(QueryResults): add FIXME note.
(Model (World, Storage, string)): keep a reference around to the
storage, as we must not be GC'd before it is. Future thought: do
we really need Model and Storage to be separate classes?
(Execute): adjust to new form of QueryResults ctor (see ChangeLog)
* csharp/Node.cs:
general indenting fixes.
node: initialise to IntPtr.Zero
(~Node): test for IntPtr.Zero, not == null
(Node (IntPtr)): use librdf_new_node_from_node to copy underlying
node.
(Dispose): Renamed from Move ~Node. Implement IDisposable.
* csharp/Iterator.cs:
general indenting fixes.
Implement IDisposable.
iterator: init to IntPtr.Zero.
(Current): remove tmp var, add FIXME note.
(MoveNext()): remove tmp var, add explanatory comment.
(End): remove tmp var.
Remove unused field pos.
(CurrentNode): Added, which is (Node) Current.
2004-07-13 Dave Beckett
* perl/Makefile.am: Added MAKE_PL_OPTS for "perl Makefile.PL"
target
* docs/Makefile.am: Added RDF::Redland::Query and QueryResults
perl docs
2004-07-12 Dave Beckett
* Makefile.am: Install Redland.i in $(pkgdata)
* python/Makefile.am, ruby/Makefile.am, ruby/redland-pre.i,
ruby/redland-types.i, tcl/Makefile.am, tcl/redland-init.i,
tcl/redland-pre.i, php/Makefile.am, php/redland-decl.i,
php/redland-init.i, php/redland-post.i, php/redland-pre.i,
php/redland_wrap.c.patch, python/redland-decl.i,
python/redland-post.i, perl/Makefile.am, perl/redland-decl.i,
perl/redland-post.i, perl/redland-pre.i: Split SWIG bits into
general and language-specific parts
2004-07-09 Dave Beckett
* docs/Makefile.am: Dont ship old pictures overview.png
overview.ps overview.pdf
* csharp/ChangeLog: ChangeLog in CVS now
2004-07-09 Edd Dumbill <[email protected]>
* csharp/World.cs:
Move logging to use the new librdf logging API.
(Messages property): Added, an array of LogMessages accumulated since
the last ClearLog call.
(LogLevel method): Added, for getting and setting the logging level.
* csharp/Parser.cs:
Use World.Messages as the basis of exceptions.
* csharp/Errors.cs: Added enums LogLevel and Facility.
Added class Locator to encapsulate locator part of a log message.
Added class LogMessage to encapsulate a returned log message from
librdf.
Changed RedlandFault and RedlandError to store an array of
LogMessages instead of strings. (Edd Dumbill)
2004-07-08 Dave Beckett
* csharp/Parser.cs: Added ParseError, a RedlandError subclass.
(ParseStringIntoModel, ParseIntoModel, ParseStringAsStream): Check
for errors during parsing.
* csharp/World.cs: Added Errors, Warnings support
(ClearLog): Added to empty the errors and warnings lists.
(Enter): To lock world for gathering errors
(Exit): To unlock world after gathering errors
(setupHandlers): Use a delegate intErrorHandler (function pointer
in C) to register callbacks for errors and warnings.
(dispatchError, dispatchWarning): Added the error, warning
gatherers.
* csharp/Errors.cs, csharp/Makefile.am: Added Errors.cs
* docs/Makefile.am: Re-add query_results to DOC_CLASSES
* docs/Makefile.am: remove query_results
* docs/Makefile.am: added query_results to DOC_CLASSES
2004-07-07 Dave Beckett
* perl/lib/RDF/Redland.pm: Added QueryResults.pm
* perl/example.pl: Added Query and QueryResults test
* perl/lib/RDF/Redland/QueryResults.pm: working
* perl/lib/RDF/Redland/Query.pm: Split into query and results
classes.
* perl/lib/RDF/Redland/Model.pm (query_execute): Added.
* perl/Makefile.PL: Added QueryResults.pm
* perl/lib/RDF/Redland/QueryResults.pm: QueryResults class
* perl/lib/RDF/Redland/Makefile.am: Added QueryResults.pm
2004-07-06 Dave Beckett
* csharp/QueryResults.cs: no need for first
* csharp/QueryResults.cs: Handle first result special, always
store current result.
* csharp/test.cs: print query results
* csharp/Node.cs: Destructor object checking works now, dunno why.
* csharp/test.cs: C# query test
* csharp/QueryResults.cs (Current): Return null when exhausted.
* csharp/Node.cs: Added destructor object checking. Comment it
out since it hangs mono and mono-debugger unless run mono -v.
* csharp/Iterator.cs, csharp/Statement.cs, csharp/Parser.cs: Added
destructor object checking
* csharp/Model.cs: Added destructor object checking
(Execute): Call librdf_model_query_execute
* csharp/Query.cs: Deleted no-args constructor - does not exist.
Fixed main constructor. Added destructor.
* csharp/World.cs, csharp/Stream.cs, csharp/Storage.cs,
csharp/Statement.cs, csharp/Serializer.cs, csharp/Parser.cs,
csharp/Node.cs, csharp/Model.cs, csharp/Iterator.cs: Added
destructors for all classes
* configure.ac: formatting
* configure.ac: Added GACUTIL, SN, ILGAC and report ECMA CLI in
languages available
* csharp/Makefile.am: Typo
* python/Makefile.am: Use mkinstalldirs to make python install
dest
* configure.ac: Added ilgac, gacutil, sn
* python/Makefile.am: Remove mkdir_p - automake 1.8 only.
Packaging can fix
2004-07-05 Dave Beckett
* csharp/QueryResults.cs: pos
* csharp/Model.cs: Added Execute method
* csharp/Makefile.am: Added Query.cs QueryResults.cs
* csharp/Query.cs, csharp/QueryResults.cs: redland csharp Query
classes
* csharp/Model.cs: Added methods: GetContexts, GetFeature,
SetFeature, Load
* csharp/Makefile.am: typo
2004-06-30 Dave Beckett
* docs/Makefile.am: Added csharp.html
2004-06-29 Dave Beckett
* python/RDF.py: debug msgs
* python/RDF.py (NS.node): Mint a new node each time, don't try to
share.
2004-06-28 Dave Beckett
* python/RDF.py (message_handler): Invoke warnings.warn to try to
get a warning that doesn't disturb the program and shows something
like the right stack level.
2004-06-23 Dave Beckett
* python/Makefile.am: Remove MANIFEST.in
2004-06-22 Dave Beckett
* configure.ac: removed --with-libwww - has not been used for
anything for a long while.
* python/Makefile.am: Add AM_LDFLAGS to get MEM_LIBS
2004-06-17 Dave Beckett
* csharp/Makefile.am: added DESTDIR to install target
* csharp/test.cs: Redland namespace
* python/test/test.py: test model.matches
* python/RDF.py (Node.__eq__, Node.__ne__, Statement.__eq__,
Statement.__ne__, Model.matches, Uri.__eq__, Uri.__ne__): Simpler
boolean return.
* csharp/Redland.cs, csharp/Serializer.cs, csharp/Statement.cs,
csharp/Storage.cs, csharp/Stream.cs, csharp/Uri.cs,
csharp/Util.cs, csharp/World.cs, csharp/examples/GetsTest.cs,
csharp/examples/ModelGeneralTest.cs, csharp/examples/ModelTest.cs,
csharp/examples/SimpleGetsTest.cs, csharp/examples/StreamTest.cs,
csharp/examples/example1.cs, csharp/examples/example2.cs,
csharp/examples/example3.cs, csharp/examples/example4.cs,
csharp/test.cs, csharp/HashStorage.cs, csharp/IWrapper.cs,
csharp/Iterator.cs, csharp/MemoryStorage.cs, csharp/Model.cs,
csharp/Node.cs, csharp/Parser.cs: namespace from Rdf to Redland
* csharp/examples/example3.cs, csharp/examples/example2.cs,
csharp/examples/example1.cs: Use new Rdf.Uri to make Uris for
nodes
* csharp/examples/StreamTest.cs (Contains): Make sure a Uri or
literal is used correctly.
* csharp/Node.cs: Added Node constructors with just a System.Uri -
making a URI node just a string - making a literal node Modified
is_wf_xml arg to be bool.
* csharp/Model.cs: (Contains) opt bool
* csharp/examples/example3.cs: don't use token as a name
* csharp/examples/example4.cs, csharp/examples/example3.cs,
csharp/examples/example2.cs: tidy test filenames
* csharp/examples/example1.cs: Use serializer.SerializeModel
direct to a file.
* csharp/examples/Makefile.am: tidy test filenames
* csharp/Util.cs: added fclose
* csharp/Serializer.cs (SerializeModel): Added overloaded method
taking a filename and using
librdf_serializer_serialize_model_to_file to avoid use of file
handles.
* csharp/examples/StreamTest.cs (Contains): actually test
model.Contains
* csharp/Serializer.cs, csharp/Parser.cs: Use (Object)foo == null
* csharp/Statement.cs: private Statement (World world, Node
subject, Node predicate, Node obj): Compare Node pointers for
nullness as Object to prevent trying to invoke
null.opEquality(foo)
* csharp/Parser.cs: remove debug msg
* csharp/examples/StreamTest.cs (ParserStringAsStream): Remove
extra pairs of "s at start and end of rdf/xml string.
* csharp/Statement.cs: remove debug msg
* csharp/Parser.cs: debug msg
* csharp/Statement.cs: private Statement (World world, Node
subject, Node predicate, Node obj): Pass in Handles not C# object
refs
* configure.ac: PKG_CONFIG
* csharp/Makefile.am: dist contains redland.pub
* csharp/Makefile.am: fix redland.pub rule
* csharp/redland.pub: Redland.dll public key
* csharp/Makefile.am: Add warning if redland.pub rule is run
* csharp/Makefile.am: sign-mono rule not needed if AssemblyInfo.cs
has redland.pub
* csharp/Makefile.am: DLL requires redland.pub
* csharp/AssemblyInfo.cs: Redland.dll Assembly info
* csharp/Makefile.am: Ship redland.pub (public key) Add scary
warnings for redland.snk, redland.pub rules. Use public key to
sign
* csharp/Makefile.am: Added AssemblyInfo.cs Added strong name and
signing for mono.
* csharp/Makefile.am, csharp/Util.cs: Renamed util.cs to Util.cs
* csharp/test.cs: use Serializer
* csharp/Node.cs (Print): Remove Console.WriteLine
* csharp/test.cs: added printing out results of stream, iterator
* csharp/test.cs: Remove world, now Redland.dll private.
* csharp/examples/example4.cs, csharp/examples/example3.cs: write,
don't append
* csharp/Statement.cs: syntax
* csharp/Statement.cs: remove set_pointer Statement (World world,
Node subject, Node predicate, Node obj): copy nodes
* csharp/Node.cs: Added Node copy constructor
* csharp/examples/Makefile.am: clean just tests
* csharp/examples/Makefile.am: Require nunit-console.exe
* csharp/examples/StreamTest.cs: Use ../../data/dc.rdf
* csharp/examples/Makefile.am, csharp/Makefile.am: Remove dup
CSHARPCFLAGS
* csharp/examples/Makefile.am: Add CSHARPCFLAGS
* csharp/Makefile.am: Add CSHARPCFLAGS, CLI_PREFIX Add
install-mono, install-pnet
* configure.ac: Add CSHARPCFLAGS, CLI_PREFIX
* csharp/Makefile.am: Switch to always using ' -' options not
mixture of that and ' /' options. Added install-mono target
* csharp/examples/Makefile.am: Make nunit-console.exe here
(maintainer mode) and ship it. Switch to always using ' -'
options not mixture of that and ' /' options.
* csharp/examples/AssemblyInfo.cs, csharp/examples/ConsoleUi.cs:
nunit-console source unchanged
2004-06-14 Dave Beckett
* csharp/examples/example4.cs: Use ../../data/dc.rdf
* csharp/examples/dc.rdf: deleted, use data copy
* csharp/Uri.cs, csharp/Storage.cs, csharp/Statement.cs,
csharp/Serializer.cs, csharp/Parser.cs, csharp/Node.cs,
csharp/Model.cs: For P/Invoke where a string is passed in or
return, switch to IntPtr and manage the strings with
Marshal.StringToHGlobalAuto and Marshal.FreeHGlobal.
* python/RDF.py (Statement._wrap_node): Protect from null rednode
(Statement.matches): Added to compare an incomplete statement with
None values against a complete one, using
Redland.librdf_statement_match
* csharp/examples/Makefile.am: more CLEANFILES
* csharp/examples/Makefile.am: unittests depends on ../Redland.dll
* csharp/Uri.cs, csharp/Node.cs: Debug messages
* csharp/Makefile.am: Make Redland.dll right
* csharp/examples/Makefile.am: Unit tests fix
2004-06-13 Dave Beckett
* csharp/Statement.cs (Statement.Statement): Do not call
set_pointer with null pointers.
* csharp/Node.cs (Equals): Return false if o is null.
* configure.ac: Added csharp/examples dir
* csharp/examples/example2.cs, csharp/examples/example3.cs,
csharp/examples/example4.cs, csharp/examples/GetsTest.cs,
csharp/examples/Makefile.am, csharp/examples/ModelGeneralTest.cs,
csharp/examples/ModelTest.cs, csharp/examples/SimpleGetsTest.cs,
csharp/examples/StreamTest.cs, csharp/examples/TemplateTest.cs,
csharp/examples/dc.rdf, csharp/examples/example1.cs,
csharp/Parser.cs, csharp/README, csharp/Redland.cs,
csharp/Serializer.cs, csharp/Statement.cs, csharp/Storage.cs,
csharp/Stream.cs, csharp/TODO, csharp/Uri.cs, csharp/World.cs,
csharp/test.cs, csharp/HACKING, csharp/HashStorage.cs,
csharp/IWrapper.cs, csharp/Iterator.cs, csharp/LICENSE,
csharp/Makefile.am, csharp/MemoryStorage.cs, csharp/Model.cs,
csharp/Node.cs: Imported redland-csharp by Cesar Lopez Nataren
* configure.ac: Only muck about with removing -O2 from flags in
maintainer mode.
2004-06-02 Dave Beckett
* python/redlandtest.py: Updated tests to match query to
query+query_results split and removal of run_as_bindings style.
* python/RDF.py (Model): Removed run_as_bindings. Replaced
run_as_statements with execute and wrapping of stream. Added
execute.
(Query): Removed __len__ Removed run_as_bindings. Replaced
run_as_statements with as_stream. Added execute.
(QueryResults): Renamed from QueryResultIterator Added more
methods from the librdf_query API: as_stream, finished,
get_binding_value, get_binding_name, get_binding_value_by_name,
get_bindings_count. Added __del__ to tidy up.
2004-06-01 Dave Beckett
* configure.ac: require Rasqal 0.9.1
2004-05-30 Dave Beckett