-
Notifications
You must be signed in to change notification settings - Fork 28
/
ChangeLog.6
6549 lines (4917 loc) · 242 KB
/
ChangeLog.6
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
2005-12-21 Dave Beckett <dave@dajobe.org>
* raptor/configure.ac, raptor/raptor.spec.in, raptor/Makefile.am:
Write rpm release as 1 (with --enable-release) or SNAP otherwise.
* raptor/src/turtle_parser.y, raptor/src/raptor_general.c,
raptor/utils/rapper.1, rasqal/docs/librasqal.3,
rasqal/utils/roqet.1, rasqal/fix-groff-xhtml,
rasqal/rasqal-src-config.in, rasqal/configure.ac,
rasqal/Makefile.am: updated urls
* raptor/docs/tmpl/section-feature.sgml: Added
@RAPTOR_FEATURE_WRITER_XML_DECLARATION
* redland-config.in, redland-src-config.in, configure.ac,
Redland.i, Makefile.am, Makefile.PL: updated urls
2005-12-20 Dave Beckett <dave@dajobe.org>
* raptor/utils/Makefile.am: Added rapper.html to dist
* raptor/raptor-src-config.in, raptor/Makefile.am,
raptor/manifest.pl, raptor/configure.ac: ILRT/UB link updates
* raptor/docs/libraptor.3: Updated docs for 1.4.8
2005-11-30 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_xml_writer.c (raptor_xml_writer_indent): Fix
writing an extra newline at doc start.
2005-11-26 Dave Beckett <dave@dajobe.org>
* raptor/docs/tmpl/section-feature.sgml: Added new feature
RAPTOR_FEATURE_WRITER_XML_DECLARATION.
* raptor/src/raptor_rdfxml.c (raptor_start_element_grammar):
Disable XML declaration when building XML fragment for
parseType="Literal".
* raptor/src/raptor_xml_writer.c: Add automatic writing of the XML
declaration (dependent on the XML version).
(raptor_xml_writer_write_xml_declaration): Added, to support this.
New feature RAPTOR_FEATURE_WRITER_XML_DECLARATION can disable
this.
(main): Update the test code to expect an XML declaration in the
string.
* raptor/src/raptor_parse.c: Add do-nothing switch cases for
RAPTOR_FEATURE_WRITER_XML_DECLARATION.
* raptor/src/raptor_serialize_rdfxmla.c: Add Adobe XMP compatible
output as new serializer rdfxml-xmp based on patch from Sid
Steward. Duplicate predicates are ignored for a single subject.
* raptor/src/raptor_serialize_rdfxml.c: Defer writing xml
declaration to the xml writer.
* raptor/src/raptor_serialize.c: Add XML declaration writing
feature support
(RAPTOR_FEATURE_WRITER_XML_DECLARATION) for serializer.
* raptor/utils/Makefile.am, raptor/utils/rdfcat.1,
raptor/utils/rdfcat.c: Delete rdfcat for now
* raptor/utils/Makefile.am, raptor/utils/rdfcat.1,
raptor/utils/rdfcat.c: Added rdfcat from Sid Steward. Not
automatically built or installed
2005-11-25 Dave Beckett <dave@dajobe.org>
* configure.ac: Remove multi-level escapings - dquote in backticks
in dquote that are likely not very portable. Fixes Issue#0000058.
* raptor/configure.ac: Add test X = 1 for expat and libxml tests.
Fixes Issue#0000060
2005-11-22 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_feature.c: Added
RAPTOR_FEATURE_WRITER_XML_DECLARATION feature.
* raptor/src/raptor.h: Added RAPTOR_FEATURE_WRITER_XML_DECLARATION
to control generating the XML declaration on serializers and XML
writer.
2005-11-21 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_internal.h: docs
2005-11-20 Dave Beckett <dave@dajobe.org>
* rasqal/src/Makefile.am, rasqal/src/rasqal_internal.h: Disable
skiplist code for now (don't ship it)
2005-11-10 Dave Beckett <dave@dajobe.org>
* raptor/raptor.spec.in: Add gtk-doc docs to rpm
2005-11-05 Dave Beckett <dave@dajobe.org>
* raptor/docs/tmpl/section-xml.sgml: new functions
* raptor/docs/tmpl/section-feature.sgml: New feature
* raptor/docs/libraptor.3: Updated for 1.4.8
2005-11-03 Dave Beckett <dave@dajobe.org>
* raptor/docs/raptor-sections.txt: Added
raptor_iostream_write_xml_any_escaped_string
raptor_xml_any_escape_string
* raptor/src/n3_parser.y, raptor/src/raptor_internal.h,
raptor/src/turtle_parser.y: Added RAPTOR_ASSERT with no return
value and use it for turtle and n3 parsers. Some compilers
complain at an empty 3rd macro arg with RAPTOR_ASSERT_RETURN.
* raptor/src/raptor_serialize_rss.c: remove ;;
* raptor/src/raptor_rdfxml.c (raptor_generate_statement): Make
predicate type fix in reifying.
* raptor/src/raptor_rdfxml.c (raptor_generate_statement): Make
predicate revert fix actually work.
* raptor/src/raptor_rdfxml.c, raptor/src/raptor_rss.c,
raptor/src/turtle_parser.y, raptor/src/n3_parser.y,
raptor/src/ntriples_parse.c, raptor/src/raptor.h: Revert
RAPTOR_IDENTIFIER_TYPE_PREDICATE to
RAPTOR_IDENTIFIER_TYPE_RESOURCE change for predicates until the
next release.
2005-09-22 Dave Beckett <dave@dajobe.org>
* rasqal/tests/sparql/SyntaxFull/Makefile.am: Add new tests, 2
fail
* rasqal/tests/sparql/SyntaxFull/Makefile.am: Added new tests, 2
fail
* rasqal/tests/sparql/SyntaxFull/syntax-keywords-01.rq,
rasqal/tests/sparql/SyntaxFull/syntax-keywords-02.rq,
rasqal/tests/sparql/SyntaxFull/syntax-keywords-03.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-01.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-02.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-03.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-04.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-05.rq,
rasqal/tests/sparql/SyntaxFull/syntax-qname-06.rq,
rasqal/tests/sparql/SyntaxFull/syntax-struct-11.rq,
rasqal/tests/sparql/SyntaxFull/syntax-struct-12.rq,
rasqal/tests/sparql/ExprEquals/Makefile.am,
rasqal/tests/sparql/ExprEquals/query-eq-graph-1.rq,
rasqal/tests/sparql/ExprEquals/query-eq-graph-2.rq,
rasqal/tests/sparql/ExprEquals/query-eq-graph-3.rq,
rasqal/tests/sparql/ExprEquals/query-eq-graph-4.rq,
rasqal/tests/sparql/ExprEquals/query-eq-graph-5.rq,
rasqal/tests/sparql/ExprEquals/query-eq2-graph-1.rq,
rasqal/tests/sparql/ExprEquals/result-eq-graph-1.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-2.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-3.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-4.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-5.ttl: Added new
tests
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am: Added
the 9 EXPECTED_SPARQL_PARSER_FAILURES
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am: Added
3 EXPECTED_SPARQL_PARSER_FAILURES: syn-05.rq syn-06.rq syn-07.rq
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am: ADded
3 EXPECTED_SPARQL_CORRECT_FAILURES: syn-05.rq syn-06.rq syn-07.rq
* rasqal/tests/sparql/check-sparql: If returning no results and
expect fail, return 1
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am: Added
9 EXPECTED_SPARQL_CORRECT_FAILURES
* rasqal/tests/sparql/ExprEquals/Makefile.am: Failures +1:
"Equality - 2 var - test equals -- graph", total 3
* rasqal/tests/sparql/check-sparql: report if expected failure
happens OK early on
* rasqal/tests/sparql/ExprEquals/manifest.n3: Update to DAWG CVS
2005-09-21 Dave Beckett <dave@dajobe.org>
* raptor/utils/rdfdiff.c: Some code style tidying.
(rdfdiff_statement_equals): Fix comparisons of literals with/out
language with/out datatype.
* raptor/tests/Makefile.am: break on error with rdfxml
* raptor/src/raptor_serialize.c (raptor_new_serializer): Init
default xml_version to 10 (XML 1.0)
* raptor/src/raptor_uri.c:
(raptor_new_uri_for_xmlbase, raptor_new_uri_for_retrieval): Set
ud->path_len to 1 when adding a default path of / Fixes bug
0000045 http://bugs.librdf.org/mantis/view.php?id=45
2005-09-20 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_serialize_rdfxmla.c
(raptor_rdfxmla_serialize_start): Pass down xml_version to the
raptor_xml_writer and write the versioned header.
* raptor/src/raptor_serialize_rdfxml.c
(raptor_rdfxml_serialize_start): Pass down xml_version to the
raptor_xml_writer and write the versioned header.
* raptor/src/raptor_xml_writer.c: Add xml_version to
raptor_xml_writer structure.
(raptor_iostream_write_xml_element_start): Add xml_version field
and pass it down to the XML escape function.
(raptor_new_xml_writer): Init xml_version to 10.
(raptor_xml_writer_empty_element, raptor_xml_writer_start_element,
raptor_xml_writer_cdata, raptor_xml_writer_cdata_counted): Pass
down xml_version.
(raptor_xml_writer_set_feature, raptor_xml_writer_get_feature):
Handle RAPTOR_FEATURE_WRITER_XML_VERSION.
* raptor/src/raptor_xml.c (raptor_xml_any_escape_string,
raptor_iostream_write_xml_any_escaped_string): Added, handling XML
1.0 or XML 1.1 Error if writing #x1-#x1f (excluding #x9, #xA, #xD)
or #x7F for XML 1.0
* raptor/src/raptor_serialize.c (raptor_serializer_set_feature,
raptor_serializer_get_feature): Add
RAPTOR_FEATURE_WRITER_XML_VERSION
* raptor/src/raptor_parse.c: switch on enum updates for feature
RAPTOR_FEATURE_WRITER_XML_VERSION for serializer and xml writer
* raptor/src/raptor_feature.c: Added
RAPTOR_FEATURE_WRITER_XML_VERSION for serializer and xml writer
with short name xmlVersion
* raptor/src/raptor.h: Added RAPTOR_FEATURE_WRITER_XML_VERSION for
serializer, xml writer. Added prototypes for
raptor_xml_any_escape_string and
raptor_iostream_write_xml_any_escaped_string
* raptor/src/raptor_internal.h: raptor_serializer_s gains an
xml_version field
* raptor/src/raptor_sax2.c (raptor_sax2_parse_chunk): Once more
with static buffer, no vsnprintf
* raptor/src/raptor_sax2.c (raptor_sax2_parse_chunk): Fix error
message with 2 args for expat using raptor_vsnprintf.
* raptor/src/raptor_namespace.c (raptor_namespaces_format): XML
escape the written namespace name URI
* raptor/tests/ex-59.rdf: correct result
* raptor/tests/ex-59.nt, raptor/tests/ex-59.rdf: Test rdfxml
serializer escapes dquote in uri attrs
* raptor/tests/Makefile.am: Added RDF_SERIALIZE_TEST_FILES,
RDF_SERIALIZE_OUT_FILES and ex-59 for testing the rdfxml
serializer
* raptor/examples/Makefile.am: fix libraptor.la dir
2005-09-18 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_rdfxml.c (raptor_generate_statement): When
reifiying, just copy predicate_type.
* raptor/src/raptor_uri.c (raptor_uri_equals): Alter to accept
NULL pointers, which do not compare equal to a non-NULL URI. NULL
does equal NULL.
* raptor/src/raptor.h: Document that
RAPTOR_IDENTIFIER_TYPE_PREDICATE is never generated by a parser
from now, replaced by RAPTOR_IDENTIFIER_TYPE_RESOURCE and
RAPTOR_IDENTIFIER_TYPE_XML_LITERAL replaced by
RAPTOR_IDENTIFIER_TYPE_LITERAL with the rdf:XMLLiteral datatype.
* raptor/src/n3_parser.y, raptor/src/ntriples_parse.c,
raptor/src/turtle_parser.y: Replace all
RAPTOR_IDENTIFIER_TYPE_PREDICATE with
RAPTOR_IDENTIFIER_TYPE_RESOURCE
* raptor/src/raptor_rss.c: *** empty log message ***
* raptor/src/raptor_rdfxml.c: Replace all
RAPTOR_IDENTIFIER_TYPE_PREDICATE with
RAPTOR_IDENTIFIER_TYPE_RESOURCE
* raptor/src/raptor_rdfxml.c: Added a new concept for
rdf:XMLLiteral Rename RAPTOR_N_CONCEPTS to
RAPTOR_RDFXML_N_CONCEPTS
(raptor_rdfxml_parse_init): Init it.
(raptor_end_element_grammar): Never generate
RAPTOR_IDENTIFIER_TYPE_XML_LITERAL, instead generate a
RAPTOR_IDENTIFIER_TYPE_LITERAL with the rdf:XMLLiteral datatype.
2005-09-16 Dave Beckett <dave@dajobe.org>
* raptor/docs/libraptor.3: Update for 1.4.8 - added
raptor_set_namespace_handler
* raptor/src/raptor.h, raptor/src/raptor_www.c: Revert: remove
raptor_www_set_source_uri, raptor_www_set_source_file_handle,
raptor_www_retrieve and raptor_www_retrieve_to_string
2005-09-15 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor.h: delete unused raptor_www_fetch_to_string
prototype
* raptor/src/raptor_www.c: autodocs
(raptor_www_set_source_uri): Added to set URI for content source
(raptor_www_set_source_file_handle): Added to set URI for content
source.
(raptor_www_file_handle_fetch): Added, with guts of
raptor_www_file_fetch.
(raptor_www_file_fetch): Modified to call
raptor_www_file_handle_fetch.
(raptor_www_retrieve): Added to retrieve from whatever source (URI
or handle).
(raptor_www_retrieve_to_string): Added to retrieve from whatever
source (URI or handle) into a string.
(raptor_www_fetch): Now a wrapper over raptor_www_retrieve.
(raptor_www_fetch_to_string): Now a wrapper over
raptor_www_retrieve_to_string.
* raptor/src/raptor.h: Added prototypes for
raptor_www_set_source_uri, raptor_www_set_source_file_handle,
raptor_www_retrieve, raptor_www_retrieve_to_string and
raptor_www_fetch_from_file_handle
* raptor/src/raptor_internal.h:
(struct raptor_www_s) gains a handle field
2005-09-14 Dave Beckett <dave@dajobe.org>
* librdf/rdf_parser_raptor.c
(librdf_parser_raptor_parse_file_handle_as_stream): Renamed from
librdf_parser_raptor_parse_file_as_stream and use FILE* arg.
(librdf_parser_raptor_parse_as_stream_common): Update to handle
rename.
* raptor/docs/tmpl/section-parser.sgml: new functions
* librdf/rdf_serializer_internal.h: struct
librdf_serializer_factory_s gains serialize_model_to_iostream
method.
* librdf/rdf_serializer_raptor.c
(librdf_serializer_raptor_serialize_model_to_iostream): Added to
write to a raptor_iostream object.
* librdf/rdf_serializer.c
(librdf_serializer_serialize_model_to_iostream): Added to write to
a raptor_iostream object.
* librdf/rdf_serializer.h: Added
librdf_serializer_serialize_model_to_iostream
2005-09-12 Dave Beckett <dave@dajobe.org>
* rasqal/src/sparql_parser.y (ConstructTriplesList): renamed from
TriplesList and allow an empty list.
* rasqal/docs/tmpl/section-unused.sgml: less unused
* rasqal/src/sparql_parser.y (GraphGraphPattern): Handle return of
NULL graph pattern
* rasqal/src/sparql_lexer.l ({QUOTEDURI}\(?): Pass the matched
string through rasqal_escaped_name_to_utf8_string to expand \u and
\Us and fail on errors, then make a new URI.
(rasqal_sparql_name_check): Add debug messages.
(sparql_copy_qname, sparql_copy_string_token): Report name errors
in prefix or local name part of a qname.
* rasqal/src/rasqal_general.c
(rasqal_escaped_name_to_utf8_string): Calculate dest size from
result pointers, not original string source.
* rasqal/configure.ac, rasqal/tests/sparql/Makefile.am,
rasqal/tests/sparql/SyntaxDev/Makefile.am,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/Makefile.am,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/manifest.ttl,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-basic-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-bnodes-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-expr-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-expr-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-expr-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-expr-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-expr-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-forms-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-forms-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-limit-offset-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-limit-offset-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-limit-offset-09.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lists-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lists-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lists-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lists-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lists-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-09.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-10.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-11.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-12.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-13.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-lit-14.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-order-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-pat-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-pat-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-pat-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-pat-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-qname-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-09.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-10.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-11.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-struct-12.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-union-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL/syntax-union-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/manifest.ttl,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-bnode-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-bnode-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-bnode-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-dataset-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-dataset-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-dataset-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-dataset-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-esc-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-esc-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-esc-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-esc-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-ask-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-ask-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-describe01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-describe02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-select-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-select-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-function-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-function-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-function-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-function-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-general-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-general-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-general-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-graph-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-keywords-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-keywords-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-keywords-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-lists-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-lists-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-lists-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-lists-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/syntax-lists-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/bnode-dot.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/bnodes-missing-pvalues-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/bnodes-missing-pvalues-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/empty-optional-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/empty-optional-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/filter-missing-parens.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/lone-list.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/lone-node.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/manifest.ttl,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-09.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-10.rq: Added
unapproved sparql syntax tests from DAWG SyntaxDev area
* rasqal/tests/sparql/check-sparql: Ad -n flag if no data is
present
* rasqal/tests/sparql/check-sparql: Handle expect fail tests of
type mfx:TestBadSyntax Check return code of roqet for failing.
* rasqal/tests/sparql/check-sparql: Handle mfx:SyntaxType
rdf:typed actions and in that case pick up the action node as the
query to use (no data, no result) Only evaluate queries that have
files
2005-09-10 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_expat.c: Updates to use new raptor_sax2
handler style. The user data now points at the raptor_sax2*
object, not the parser.
(raptor_expat_init): send SAX2 events to core raptor_sax2_EVENT
routines.
(raptor_expat_update_document_locator): Moved from raptor_parser.c
* raptor/src/raptor_libxml.c: Updates to use new raptor_sax2
handler style. The user data now points at the raptor_sax2*
object, not the parser. All raptor_parser* references are gone
and error/fatal error/warnings are returned via handler/data
pairs.
(raptor_libxml_call_handler): Added to aid returning messages.
Deleted old and unused internal entity resolution code.
(raptor_libxml_init): send SAX2 events to core raptor_sax2_EVENT
routines.
* raptor/src/raptor_internal.h: Removed old and hardly tested
internal handling of libxml entities
* raptor/src/raptor_rdfxml.c: Rename raptor_xml_* to
raptor_rdfxml_* in structs and functions.
(raptor_rdfxml_start_element_handler,
raptor_rdfxml_end_element_handler, raptor_cdata_grammar): Move
expat BOM fixes to raptor_sax2.c
(raptor_rdfxml_parse_init): Use new raptor_sax2_set_EVENT_handler
methods. Use raptor_sax2_set_locator.
(raptor_get_libxml_context, raptor_set_libxml_document_locator,
raptor_get_libxml_document_locator, raptor_get_libxml_entities,
raptor_set_libxml_entities, raptor_expat_update_document_locator):
Deleted or merged into raptor_sax2.c
* raptor/src/raptor_parse.c
(raptor_parser_fatal_error_message_handler,
raptor_parser_error_message_handler,
raptor_parser_warning_message_handler): Added handlers that take
location in same style as user message handler callbacks.
(raptor_stats_print): Update for raptor_rdfxml_parser
* raptor/src/raptor_locator.c (raptor_update_document_locator):
Moved to raptor_sax2.c
* raptor/src/raptor_general.c (raptor_init, raptor_finish): Call
raptor_init_sax2 and raptor_finish_sax2 respectively.
* raptor/src/raptor_internal.h: Removed several libxml/expat/rdxml
functions used to be too friendly with internals of other classes.
Renamed raptor_xml_parser to raptor_rdfxml_parser. Updated
prototype of raptor_libxml_update_document_locator. Added new
parser handler prototypes raptor_parser_error_message_handler,
raptor_parser_fatal_error_message_handler and
raptor_parser_warning_message_handler Added handlers for SAX2
events - start element, end element, characters, cdata, comment,
unparsed_entity_decl, external_entity_ref named as
raptor_sax2_EVENT_handler. raptor_sax2 gains a magic field as
this is used as the user data for libxml. raptor_sax2 uses the
handler typedefs for the event handlers. raptor_sax2 gains erorr,
fatal and warning handler and data fields. Added prototypes for
raptor_init_sax2 and raptor_finish_sax2. Updated prototype for
raptor_new_sax2. Added prototypes for
raptor_sax2_set_start_element_handler,
raptor_sax2_set_end_element_handler,
raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
raptor_sax2_set_comment_handler,
raptor_sax2_set_unparsed_entity_decl_handler and
raptor_sax2_set_external_entity_ref_handler Added prototype for
raptor_sax2_set_locator. Added prototypes for:
raptor_sax2_start_element raptor_sax2_end_element,
raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
raptor_sax2_unparsed_entity_decl and
raptor_sax2_external_entity_ref.
* raptor/src/raptor_sax2.c: Now a more complete class
(raptor_init_sax2, raptor_finish_sax2): Added, calling any static
initialising/finishing.
(raptor_new_sax2): Added error, fatal_error and warning data and
handler registers. Register magic for libxml2 user_data fixups
(raptor_sax2_set_start_element_handler,
raptor_sax2_set_end_element_handler,
raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
raptor_sax2_set_comment_handler,
raptor_sax2_set_unparsed_entity_decl_handler,
raptor_sax2_set_external_entity_ref_handler): Added for setting
SAX2 callback handlers.
(raptor_sax2_set_locator): Added, to set SAX2 file locator.
(raptor_sax2_parse_chunk): Update for new handlers, remove all
mention of raptor_parser. Use this object (raptor_sax2*) as the
user data now, not an external raptor_parser*.
(raptor_sax2_update_document_locator): Added, updating the current
location for the internal parser.
(raptor_sax2_start_element): Added, internal function calling the
start element handler, adding various workarounds needed.
(raptor_sax2_end_element): Added, internal function calling the
end element handler, adding various workarounds needed.
(raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
raptor_sax2_unparsed_entity_decl,
raptor_sax2_external_entity_ref): Added, internal functions
calling the same-named handler.
2005-09-09 Dave Beckett <dave@dajobe.org>
* raptor/docs/raptor-sections.txt: Added new fns
* rasqal/docs/rasqal-sections.txt: No rasqal_variable_s
* rasqal/docs/tmpl/section-graph_pattern.sgml,
rasqal/docs/tmpl/section-query.sgml: add new fns
* rasqal/docs/tmpl/section-literal.sgml: remove dup text
* rasqal/docs/rasqal-sections.txt: add new fns
* rasqal/src/Makefile.am, rasqal/utils/Makefile.am: Include
@RASQAL_INTERNAL_LIBS@ in linking flags to ensure internal raptor
is used.
* raptor/src/raptor_internal.h (raptor_parser_s): Add new fields
to the end of the struct; add unused1 to try to make old offsets
work
* docs/tmpl/iterator.sgml: sgml docs for iterator
* docs/tmpl/stream.sgml: sgml docs for stream
* raptor/src/raptor_namespace.c (raptor_namespaces_init): Remove
un-necessary casts for constant namespace names.
* raptor/src/raptor_uri.c
(raptor_uri_uri_string_to_filename_fragment): For win32, only
remove leading / if there is one present. (patch from John
C. Barstow)
(main): Correct test case result to match above.
* raptor/src/raptor_xslt.c (raptor_xslt_parse_chunk): If the
content is in one chunk and is_end is true, call xmlParseChunk
with the is_end flag. (René Puls)
2005-09-07 Dave Beckett <dave@dajobe.org>
* raptor/src/n3_parser.y, raptor/src/turtle_parser.y (statement):
Handle error recovery when subject is NULL
2005-09-06 Dave Beckett <dave@dajobe.org>
* raptor/utils/rapper.c: fix #ifdef SHOW_NAMESPACES_FLAG
* raptor/src/turtle_common.c
(raptor_stringbuffer_append_turtle_string): Do not check unsigned
for <0
* raptor/src/raptor_xml.c (raptor_xml_name_check): Do not check
unsigned for <0
* raptor/src/raptor_utf8.c (raptor_utf8_check): Do not check
unsigned for <0
* raptor/src/raptor_serialize.c (raptor_serializers_enumerate):
counter can never be <0
* raptor/src/raptor_rdfxml.c
(raptor_element_content_type_as_string): Do not check unsigned for
<0
* raptor/src/raptor_feature.c (raptor_feature_value_type): Do not
check unsigned for <0
* raptor/src/ntriples_parse.c (raptor_ntriples_term): Do not check
unsigned for <0
* raptor/src/raptor_parse.c (raptor_syntaxes_enumerate): counter
can never be <0
2005-09-01 Dave Beckett <dave@dajobe.org>
* utils/rdfproc.c: one fprintf stderr to stdout
* rasqal/src/sparql_lexer.l: "true" and "false" are now case
independent
2005-08-31 Dave Beckett <dave@dajobe.org>
* rasqal/configure.ac: Added --with-redland-config
* rasqal/src/rasqal_internal.h: Updated
erasqal_engine_merge_graph_patterns and
rasqal_engine_merge_triples prototypes to return an int status.
* rasqal/src/rasqal_engine.c:
(rasqal_engine_merge_graph_patterns, rasqal_engine_merge_triples):
Visitor function now returns a status.
* rasqal/src/rasqal_query.c: Moved rasqal_graph_pattern_visit to
rasqal_graph_pattern.c
* rasqal/src/rasqal.h: Added rasqal_graph_pattern_visit_fn. Added
prototype for rasqal_graph_pattern_visit
* rasqal/src/rasqal_graph_pattern.c (rasqal_graph_pattern_visit:):
Moved from rasqal_query.c
* rasqal/docs/tmpl/section-expression.sgml,
rasqal/docs/tmpl/section-query_results.sgml: docs
* rasqal/src/sparql_lexer.l, rasqal/src/sparql_parser.y: Remove
NULL_LITERAL - not in SPARQL
2005-08-24 Dave Beckett <dave@dajobe.org>
* raptor/src/Makefile.am: Add more conditional compiles for
serializers
* raptor/src/Makefile.am: Added raptor_serialize_rdfxml.c
raptor_serialize_ntriples.c raptor_serialize_simple.c
* raptor/src/raptor_serialize.c: Moved specific serializers into
separate files - rdfxml, ntriples, simple
* raptor/src/raptor_serialize_rdfxml.c: RDF/XML serializer
* raptor/src/raptor_serialize_ntriples.c: N-Triples serializer
* raptor/src/raptor_serialize_simple.c: Simple serializer
* raptor/src/raptor-config.1, raptor/src/raptor-config.in:
s/features/options/ so not to confuse with raptor_feature
* raptor/utils/rapper.c: Add HELP_TEXT_LONG to deal with help that
has no short option.
* raptor/utils/rapper.c: fix --show-namespaces help
* raptor/utils/rapper.1: Added --show-namespaces
* raptor/utils/rapper.c: (print_namespaces) Added Added
--show-namespaces option - long options only.
* raptor/src/n3_parser.y, raptor/src/raptor_rdfxml.c,
raptor/src/turtle_parser.y: Handle raptor_new_namespace failing.
* raptor/src/n3_parser.y, raptor/src/raptor_rdfxml.c,
raptor/src/turtle_parser.y: Remove calls to
raptor_namespaces_start_namespace_full and use the three functions
raptor_new_namespace, raptor_namespaces_start_namespace and
raptor_parser_start_namespace instead.
* raptor/src/raptor_parse.c (raptor_set_namespace_handler): Added.
New user method.
(raptor_parser_start_namespace): Added. Internal function to
operate when namespaces are declared.
* raptor/src/raptor.h: Added raptor_namespace_handler typedef.
Added raptor_set_namespace_handler prototype.
* raptor/src/raptor_internal.h: raptor_parser_s gains
namespace_handler and namespace_handler_user_data fields. Added
raptor_parser_start_namespace prototype.
* raptor/tests/Makefile.am: link to libxml2 bug report
* raptor/src/raptor_rss.c (raptor_rss_emit_type_triple,
raptor_rss_emit_enclosure, raptor_rss_emit_connection): Zap
literal language and datatype before setting up statement objects.
* raptor/src/ntriples_parse.c
(raptor_ntriples_generate_statement): Zap literal language and
datatype before setting up statement objects.
* raptor/src/n3_parser.y (raptor_n3_generate_statement): Zap
literal language and datatype for !literals. Add assertion.
* raptor/src/raptor_internal.h (RAPTOR_ASSERT_RETURN): Remove ()s
around return to allow no-value.
* raptor/src/turtle_parser.y (raptor_turtle_generate_statement):
Zap literal language and datatype for !literals. Add assertion.
2005-08-23 Dave Beckett <dave@dajobe.org>
* rasqal/docs/tmpl/section-triples_source.sgml: section title
* rasqal/docs/rasqal-sections.txt: Added
rasqal_new_expression_from_expression
* rasqal/src/rasqal_expr.c: Added usage count to rasqal_expression
constructors
(rasqal_new_expression_from_expression): Added copy constructor.
* rasqal/src/rasqal_engine.c (rasqal_engine_join_graph_patterns):
Move constraints taking care to copy then free correctly.
* rasqal/src/rasqal.h: Added usage count to rasqal_expression.
Added rasqal_new_expression_from_expression prototype.
2005-08-22 Dave Beckett <dave@dajobe.org>
* raptor/docs/raptor-sections.txt: raptor_uri_init now internal
* raptor/docs/tmpl/section-unused.sgml: raptor_uri_init now
internal
* raptor/docs/tmpl/section-general.sgml,
raptor/src/raptor_internal.h: Remove unused container_test_handler
function.
* raptor/docs/raptor-sections.txt: No
raptor_container_test_handler
* raptor/src/raptor.h: raptor_uri_init was internal
* raptor/src/raptor_internal.h: raptor_uri_init was internal
2005-08-19 Dave Beckett <dave@dajobe.org>
* raptor/Makefile.am: Enable gtk doc with make distcheck
* raptor/docs/tmpl/section-xml-namespace.sgml: args
* raptor/docs/version.xml.in: version.xml.in
* raptor/docs/tmpl/section-serializer.sgml: whitespace
* raptor/src/ntriples_parse.c, raptor/src/raptor.h,
raptor/src/raptor_feature.c, raptor/src/raptor_general.c,
raptor/src/raptor_identifier.c, raptor/src/raptor_iostream.c,
raptor/src/raptor_locator.c, raptor/src/raptor_namespace.c,
raptor/src/raptor_nfc.c, raptor/src/raptor_nfc_test.c,
raptor/src/raptor_parse.c, raptor/src/raptor_qname.c,
raptor/src/raptor_rdfxml.c, raptor/src/raptor_rfc2396.c,
raptor/src/raptor_sequence.c, raptor/src/raptor_serialize.c,
raptor/src/raptor_serialize_rdfxmla.c, raptor/src/raptor_set.c,
raptor/src/raptor_stringbuffer.c, raptor/src/raptor_uri.c,
raptor/src/raptor_utf8.c, raptor/src/raptor_www.c,
raptor/src/raptor_www_libwww.c, raptor/src/raptor_xml.c,
raptor/src/raptor_xml_writer.c, raptor/src/turtle_common.c:
autodocs reformatted for gtk-doc
* raptor/docs/tmpl/section-constants.sgml,
raptor/docs/tmpl/section-feature.sgml,
raptor/docs/tmpl/section-general.sgml,
raptor/docs/tmpl/section-iostream.sgml,
raptor/docs/tmpl/section-locator.sgml,
raptor/docs/tmpl/section-memory.sgml,
raptor/docs/tmpl/section-parser.sgml,
raptor/docs/tmpl/section-sequence.sgml,
raptor/docs/tmpl/section-serializer.sgml,
raptor/docs/tmpl/section-stringbuffer.sgml,
raptor/docs/tmpl/section-triples.sgml,
raptor/docs/tmpl/section-unicode.sgml,
raptor/docs/tmpl/section-unused.sgml,
raptor/docs/tmpl/section-uri-factory.sgml,
raptor/docs/tmpl/section-uri.sgml,
raptor/docs/tmpl/section-www.sgml,
raptor/docs/tmpl/section-xml-namespace.sgml,
raptor/docs/tmpl/section-xml-qname.sgml,
raptor/docs/tmpl/section-xml.sgml: initial templates
* raptor/docs/raptor-docs.xml: fix
* raptor/docs/raptor-docs.xml, raptor/docs/raptor-overrides.txt,
raptor/docs/raptor-sections.txt: gtk-doc files
* raptor/configure.ac, raptor/docs/Makefile.am: Enable gtk-doc
* raptor/configure.ac: check for gtk-doc
* raptor/src/raptor-config.1: Document --features and --help.
Order flags alphabetically in summary and body.
* raptor/src/raptor-config.in: Add --features argument to list
configured or discovered features of the raptor library
* raptor/configure.ac: Add AC_SUBSTs for recording discovered
features: RAPTOR_WWW_LIBRARY (or none), RAPTOR_XML_PARSER (or
none), RAPTOR_PARSERS (list) and RAPTOR_SERIALIZERS (list).
* rasqal/src/rasqal.h, rasqal/src/rasqal_expr.c: autodocs fixes -
use %RASQAL_
* rasqal/docs/tmpl/section-graph_pattern.sgml: use %RASQAL
2005-08-18 Dave Beckett <dave@dajobe.org>
* rasqal/docs/tmpl/section-query_results.sgml,
rasqal/docs/tmpl/section-literal.sgml,
rasqal/docs/tmpl/section-query.sgml: document literal, query,
query_results types
* rasqal/docs/rasqal-sections.txt: Add rasqal_query and
rasqal_query_results
* rasqal/docs/rasqal-overrides.txt: override rasqal_query and
rasqal_query_results
* rasqal/docs/Makefile.am: Make gtkdoc-mkdb ignore the C files
* raptor/src/raptor_sax2.c (raptor_sax2_parse_start): Fix for
expat
* raptor/src/raptor_rdfxml.c
(raptor_xml_unparsed_entity_decl_handler,
raptor_xml_external_entity_ref_handler): Casts for gcc4
* raptor/src/raptor_expat.c (raptor_expat_init): Casts for expat
to use sax2 handlers.
* raptor/src/raptor_internal.h: Move raptor_sax2 declaration
outside libxml-only block Fixup general arguments for
raptor_xml_unparsed_entity_decl_handler and
raptor_xml_external_entity_ref_handler.
* raptor/src/raptor_rdfxml.c
(raptor_xml_unparsed_entity_decl_handler,
raptor_xml_external_entity_ref_handler): Generalise args from
expat-specific.
(raptor_xml_parse_init): Init sax2 handler fields
* raptor/src/raptor_libxml.c (raptor_libxml_init): Use sax2
structure handlers
* raptor/src/raptor_expat.c (raptor_expat_init): Use sax2
structure handlers
* raptor/src/raptor_internal.h: raptor_sax2 gains handlers for
start/end element, characters, cdata, comment, unparsed entity
declaration, extenal entity reference.
* rasqal/src/rasqal_query.c (rasqal_graph_pattern_visit): Make
this recursive.
* rasqal/tests/sparql/ExprBuiltins/Makefile.am: datatype-1 works
* rasqal/src/rasqal_expr.c (rasqal_expression_evaluate): For
datatype, if is a typed literal it has a datatype field then
return that, otherwise fail.
* rasqal/tests/sparql/ExprBuiltins/Makefile.am: str-1 passes
* raptor/src/raptor_sax2.c (raptor_sax2_parse_start): Init expat
and libxml the same
* raptor/src/raptor_libxml.c (raptor_libxml_init): Take
raptor_sax2* and raptor_uri* args
* raptor/src/raptor_expat.c (raptor_expat_init): Take raptor_sax2*
and raptor_uri* args