forked from dajobe/raptor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.13
1599 lines (1177 loc) · 55.6 KB
/
ChangeLog.13
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
2012-12-11 Dave Beckett <[email protected]>
* .gitignore: Ignore CMakeTests.txt
2012-11-07 Dave Beckett <[email protected]>
* librdfa/rdfa.c: Handle non-namespaced elements without crash in
RDFa
Fixes Issue #0000521
http://bugs.librdf.org/mantis/view.php?id=521
2012-10-22 Dave Beckett <[email protected]>
* Merge pull request #6 from ansell/master: Update turtle test
manifests
2012-09-23 Dave Beckett <[email protected]>
* manifest.pl:
Remove ancient manifest.pl moved to testing project
2012-09-19 Dave Beckett <[email protected]>
* Merge pull request #5 from iskunk/drg-win32-2
Win32 parser-guess and DLL linkage fixes
2012-09-19 Daniel Richard G <[email protected]>
* src/raptor_internal.h, src/turtle_common.h: Fix DLL export
linkage for internal functions needed by the test programs
This allows the test programs to be linked against a DLL build of
Raptor.
* src/raptor_internal.h, src/raptor_parse.c: Ensure that a small
system BUFSIZ does not affect parser guessing
raptor_internal.h: Ensure that RAPTOR_READ_BUFFER_SIZE is never
smaller than 4096. (It really only needs to be as large as FIRSTN
in raptor_parse.c, i.e. 1024, but 4kB isn't all that much nowadays
anyway)
(raptor_world_guess_parser_name): Added a compile-time check to
ensure that RAPTOR_READ_BUFFER_SIZE is at least as large as
FIRSTN, because otherwise the guesser sees fewer than FIRSTN bytes
from the document.
2012-09-07 Dave Beckett <[email protected]>
* utils/rapper.c: Remove -m MODE from help
This option was removed in commit
f94fa561db05b21132b14a2b72f05b77e666c252 on Wed Apr 28 21:31:54
2010 -0700 as part of the Raptor V2 work.
2012-08-31 Dave Beckett <[email protected]>
* autogen.sh, configure.ac: Require autoconf 2.62 again
* autogen.sh: Update autogen.sh
* autogen.sh: Echo autoconf args
Merge pull request #4 from iskunk/drg-win32 win32 and
autoconf-related changes
2012-08-30 Daniel Richard G <[email protected]>
* CMakeLists.txt, src/CMakeLists.txt: Simplify CMake usage with
CMAKE_INCLUDE_CURRENT_DIR
* configure.ac, docs/Makefile.am, examples/grapper.c,
examples/raptor_abort.c, scripts/fix-flex, src/.gitignore,
src/Makefile.am, src/ntriples_parse.c, src/parsedate.y,
src/raptor_abbrev.c, src/raptor_avltree.c, src/raptor_concepts.c,
src/raptor_general.c, src/raptor_grddl.c, src/raptor_guess.c,
src/raptor_iostream.c, src/raptor_json.c,
src/raptor_json_writer.c, src/raptor_librdfa.c,
src/raptor_libxml.c, src/raptor_locator.c, src/raptor_log.c,
src/raptor_memstr.c, src/raptor_namespace.c, src/raptor_nfc_icu.c,
src/raptor_nfc_test.c, src/raptor_option.c, src/raptor_parse.c,
src/raptor_permute_test.c, src/raptor_qname.c,
src/raptor_rdfxml.c, src/raptor_rfc2396.c, src/raptor_rss.c,
src/raptor_rss_common.c, src/raptor_sax2.c, src/raptor_sequence.c,
src/raptor_serialize.c, src/raptor_serialize_dot.c,
src/raptor_serialize_html.c, src/raptor_serialize_json.c,
src/raptor_serialize_ntriples.c, src/raptor_serialize_rdfxml.c,
src/raptor_serialize_rdfxmla.c, src/raptor_serialize_rss.c,
src/raptor_serialize_turtle.c, src/raptor_set.c,
src/raptor_statement.c, src/raptor_stringbuffer.c,
src/raptor_syntax_description.c, src/raptor_term.c,
src/raptor_turtle_writer.c, src/raptor_unicode.c,
src/raptor_uri.c, src/raptor_win32.c, src/raptor_www.c,
src/raptor_www_curl.c, src/raptor_www_libfetch.c,
src/raptor_www_libxml.c, src/raptor_www_test.c, src/raptor_xml.c,
src/raptor_xml_writer.c, src/snprintf.c, src/strcasecmp.c,
src/turtle_common.c, src/turtle_lexer.l, src/turtle_parser.y,
src/win32_raptor_config.h.in, utils/rapper.c, utils/rdfdiff.c:
Remove all traces of win32_raptor_config.h
Remove the file itself, all #include uses of it, and all
references to it, as this file is no longer needed.
* Makefile.am, README-cmake.md, configure.ac, win32/Makefile.am,
win32/README.md, win32/rapper.dsp, win32/rapper.vcproj,
win32/raptor.dsp, win32/raptor.dsw, win32/raptor.sln,
win32/raptor.vcproj, win32/raptortest.cpp, win32/raptortest.dsp,
win32/raptortest.vcproj: Delete win32/ subdirectory
The MSVC6 and MSVC7.1 project files in win32/ fail to build
current versions of Raptor, require external projects for Curl and
Expat which do not appear to be publicly available, are unlikely
to get the extensive work they need in the near future due to John
Barstow's busy schedule, and are redundant now that Raptor can be
built on Windows using CMake. Thus, out they go.
win32/README.md: Moved up to README-cmake.md, as this information
is useful, and CMake build support is not limited to Win32
2012-08-25 Dave Beckett <[email protected]>
* configure.ac:
fix PKG_CONFIG_REQUIRES version vars
* configure.ac, raptor2.pc.in: Allow xml2-config and curl-config
to work for libxml and libcurl
- report on source of xml, curl libraries in status
- remove extra oCPPFLAGS assignements
- substitute pkgconfig dependencies into raptor2.pc
2012-08-20 Dave Beckett <[email protected]>
* src/raptor_log.c:
(raptor_log_error): sizeof should take size of field not pointer
2012-08-16 Dave Beckett <[email protected]>
* src/raptor_libxml.c: Handle ret->checked field not being present
The entities checked field was added 2006-10-10 in
http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6and
released in libxml2 2.6.27 on 2006-10-25
Fixes Issue #0000520
http://bugs.librdf.org/mantis/view.php?id=520
2012-08-14 Dave Beckett <[email protected]>
* src/raptor_rdfxml.c:
(raptor_rdfxml_element_content_type_as_string): LAST is not valid
2012-08-10 Dave Beckett <[email protected]>
* RELEASE.html: 2.0.9
* win32/Makefile.am:
README.md in dist replacing README.txt
2012-08-10 Daniel Richard G <[email protected]>
* CMakeLists.txt, Makefile.am, librdfa/config.h,
src/CMakeLists.txt, src/Makefile.am, src/raptor_config_cmake.h.in,
src/win32_raptor_config.h.in, tests/feeds/CMakeLists.txt,
tests/feeds/Makefile.am, tests/grddl/CMakeLists.txt,
tests/grddl/Makefile.am, tests/json/CMakeLists.txt,
tests/json/Makefile.am, tests/ntriples/CMakeLists.txt,
tests/ntriples/Makefile.am, tests/rdfa/CMakeLists.txt,
tests/rdfa/Makefile.am, tests/rdfa11/CMakeLists.txt,
tests/rdfa11/Makefile.am, tests/rdfxml/CMakeLists.txt,
tests/rdfxml/Makefile.am, tests/trig/CMakeLists.txt,
tests/trig/Makefile.am, utils/CMakeLists.txt, utils/Makefile.am,
win32/README.md, win32/README.txt: CMake build framework for
Raptor - win32
This commit is based on the email with patch that
Daniel Richard G. sent to redland-dev on 5th July 2012
http://lists.librdf.org/pipermail/redland-dev/2012-July/002502.htmlI
lightly edited the email to fit into 80 chars and make more it
markdowny and turn it into win32/README.md -- Dave Beckett
2012-07-27 Dave Beckett <[email protected]>
* configure.ac: Fix for flex version message from OSX
2012-07-05 Dave Beckett <[email protected]>
* src/raptor2.h.in:
Protect macro checks for __GNUC__ are defined
2012-07-01 Dave Beckett <[email protected]>
* src/raptor2.h.in: Add RAPTOR_NORETURN
* configure.ac:
Set automake -W and gcc -W to same as librdf
2012-06-26 Dave Beckett <[email protected]>
* Makefile.am: EXTRA_DIST: Remove ChangeLog NEWS since they are in
dist by default
* scripts/build-formats.c:
(sort_type_syntax_by_mime_type): Add explicit cast for ordering mime
types
* Makefile.am:
Restore NEWS building to maintainer mode.
Reverts 979af117bb40de4e8391656b3e18f47f7096d1fc but requires
autogen.sh to touch NEWS after a GIT checkout so that automake can
run.
* autogen.sh:
autogen.sh updates
- Abort run if a configuring program fails.
- Generate NEWS with old timestamp if missing so automake can run
- small doc and message updates
* librdfa/strtok_r.h: Fix strtok_r typo
* docs/Makefile.am: Added raptor-1-to-2-map.tsv to EXTRA_DIST
2012-06-24 Dave Beckett <[email protected]>
* Snapshotted raptor2_2_0_8 for 2.0.8 release (GIT
dbdb2f9e4aee4e93383fe62751b52349be64187b)
* librdfa/config.h, librdfa/rdfa.h: Fix fake librdfa config.h
* librdfa/config.h, librdfa/context.c, librdfa/lists.c,
librdfa/rdfa.h: librdfa config.h now includes raptor_config.h
directly
2012-06-23 Dave Beckett <[email protected]>
* src/raptor_www_libxml.c:
Init / cleanup libxml nano HTTP library
(raptor_www_libxml_init, raptor_www_libxml_free): Call
xmlNanoHTTPInit and xmlNanoHTTPCleanup respectively.
2012-06-22 Dave Beckett <[email protected]>
* librdfa/context.c: DECLARE_URI_MAPPING - start new namespace, do
not make a new one Call raptor_namespaces_start_namespace()
instead of raptor_namespace_stack_start_namespace() which copies
the namespace to the stack and then starts it.
* tests/rdfa11/Makefile.am: Update rapper and rdfdiff use like
already done for 'rdfa' tests
* librdfa/rdfa.c:
(raptor_rdfa_start_element): Free attr if allocated
* src/raptor_nfc_test.c: Remove include of raptor_nfc.h
2012-06-20 Dave Beckett <[email protected]>
* NEWS.html, RELEASE.html: 2.0.8
* librdfa/curie.c, librdfa/namespace.c, librdfa/rdfa.c: Build
fixes from Daniel Richard G.
* RELEASE.html: 2.0.8
2012-06-19 Dave Beckett <[email protected]>
* src/raptor_parse.c: Lower min syntax guess score to 2 (Q 0.3)
* src/turtle_parser.y: If Turtle and Trig are both present, make
guessing prefer Turtle
Also score higher for Trig if 'trig' is in mime type
* examples/.gitignore: ignore rdfguess
* examples/rdfguess.c: Update rdfguess example code to read from
stdin or a file called '-'
(rdfguess_guess_name): Added and alter to accept file called '-'
as reading from FILE* stdin.
(main): Call above to support reading from stdin. Do something
with -h/--help
* src/raptor_parse.c: Be conservative in guessing syntax - scoring
too low is a failure.
(raptor_world_guess_parser_name): Set min guess core to 5 (Q
0.6). this value isn't exposed or user configurable.
Addresses Issue #0000487
http://bugs.librdf.org/mantis/view.php?id=487
* tests/feeds/Makefile.am: Fix output turtle files for out of
source tree 'make check'
2012-06-18 Dave Beckett <[email protected]>
* NEWS.html, README.html, RELEASE.html: 2.0.8
2012-06-17 Dave Beckett <[email protected]>
* librdfa/curie.c:
(rdfa_resolve_curie): Protect NULL uri lookup [clang]
* librdfa/rdfa_utils.c:
(rdfa_add_item): Protect NULL list lookup [clang]
* librdfa/curie.c:
(rdfa_resolve_curie): Protect NULL uri lookup [clang]
* src/raptor_namespace.c:
(raptor_namespaces_find_namespace): No NULL prefix for strcmp
[clang]
* librdfa/context.c:
(rdfa_create_new_element_context): Return NULL on OOM [clang]
* librdfa/context.c: librdfa in raptor: do not print to stdout on
failure
(rdfa_create_context): Remove printf with hardcoded message. if
malloc fails return NULL
* librdfa/rdfa.c:
(end_element): Protect for NULL xml_literal before strlen [clang]
* librdfa/curie.c:
(rdfa_resolve_uri): empty rval check for OOM [clang]
* src/raptor_qname.c:
(raptor_qname_copy): Free new_qname on OOM [clang]
* NEWS.html, RELEASE.html: 2.0.8
* src/raptor_serialize_turtle.c: Do not emit a Turtle (...)
collection if the list item is a URI
Fixes Issue #0000381
http://bugs.librdf.org/mantis/view.php?id=381
* tests/rdfa11/Makefile.am: 29 failures - 0114 passes
* tests/rdfa11/0114.out: Correct expected result based on original
sparql
* src/raptor_rfc2396.c:
Fix URI resolving with reference uri '?y'
(raptor_uri_resolve_uri_reference): When reference uri has no path,
copy the base path over.
(main): Correct the test case expected result for '?y' following
RFC3986 section 5.4.1 Normal examples. Add test case based on
RDFa 1.1 test 0114
* tests/rdfa11/Makefile.am: 30 failures - 0234 passes
* tests/rdfa11/0234.out: Fix test URI
* tests/rdfa11/Makefile.am: notes
* tests/rdfa11/Makefile.am: 32 failures - 0295 passes
* tests/rdfa11/0295.out: Update XML ns; remove non-ascii junk
* tests/rdfa11/Makefile.am: 32 failures - 0259 passes
* librdfa/curie.c:
(rdfa_resolve_curie): Get XML namespace from constnat
2012-06-13 Dave Beckett <[email protected]>
* src/raptor_guess.c, src/raptor_internal.h, src/raptor_parse.c:
Raptor locator accessor for guess parser struct
raptor_parser_factory_s gains optional get_locator method.
(raptor_parser_get_locator): Call factory get_locator method if
present, otherwise use field.
(raptor_guess_guess_get_locator): Added to get locator from inner
parser if it exists.
2012-06-11 Dave Beckett <[email protected]>
* configure.ac: Compare libcurl hex vernums as strings
* src/raptor_term.c:
(raptor_new_term_from_literal): Cast language length again
* src/raptor_internal.h: Remove redundant
raptor_parser_log_error_varargs
* librdfa/Makefile.am: Add missing librdfa files to dist
* src/raptor_internal.h: Add prototype for
raptor_parser_log_error_varargs
* tests/rdfa11/0226.out, tests/rdfa11/0226.xml,
tests/rdfa11/0227.out, tests/rdfa11/0227.xml: Updated RDFa 1.1
tests 0226 and 0227 after upstream change
Switches from (fake) rdf:inlist property to ex:inlist in
example.org namespace
2012-06-10 Dave Beckett <[email protected]>
* tests/rdfa11/Makefile.am:
33 failures
* tests/rdfa11/0221.out: Add <uri> rdf:value <foo> triple that is
also generated by librdfa
* tests/rdfa11/0218.out: Fix test URI
* tests/rdfa11/0201.out: Fix test URI to .xml
* tests/rdfa11/0220.out: Add <uri> rdf:value <foo> triple that is
also generated by librdfa
* tests/rdfa11/0197.out: Add other triples not tested in sparql
* tests/rdfa11/Makefile.am: More failures detail
* tests/rdfa11/0255.out: 1 triple plain literal test
* tests/rdfa11/Makefile.am: 39 failures
* tests/rdfa11/0061.xml, tests/rdfa11/0062.xml,
tests/rdfa11/0076.xml, tests/rdfa11/0077.xml,
tests/rdfa11/0172.xml, tests/rdfa11/0173.xml,
tests/rdfa11/0260.xml: Format some tests as XHTML1 as the only
expected input form. 0061 0062 0076 0077 0172 0173 0260 are
marked in the test manifest as only having a host language
'xhtml1'
* tests/rdfa11/0260.out: Fix test URI
* tests/rdfa11/Makefile.am: 44 failures
* src/raptor_sax2.c:
(raptor_sax2_inscope_xml_language): Allow returning ""
* tests/rdfa11/0296.out: Add vocab triple and homepage one that
sparql ommits
* tests/rdfa11/0259.out: Add test URI
* tests/rdfa11/0258.out: FIx test URI
* librdfa/rdfa.c: Simplify and fix languag handling
* src/raptor_general.c, src/raptor_internal.h: Move git-version.h
include to just one module to speed up recompiles.
2012-06-09 Dave Beckett <[email protected]>
* tests/rdfa11/Makefile.am: 0295
* tests/rdfa11/0295.out:
Test passes if >0 triples are generated
* src/raptor_librdfa.c:
(raptor_librdfa_parse_start): Set initial line/column to unknown.
* librdfa/rdfa.c: librdfa in raptor - pass back error line number
info to user
(start_element): Update locator from SAX2
* tests/rdfa11/Makefile.am: 50 failures
* tests/rdfa11/0189.out: Fix test URI
* tests/rdfa11/0187.out: Fix output vocabs
* tests/rdfa11/Makefile.am: 0304 note
* src/raptor_internal.h: Redefine rdfa_update_uri_mappings to
internal symbol
* tests/rdfa11/Makefile.am: 52 failures
* tests/rdfa11/0301.out, tests/rdfa11/0302.out,
tests/rdfa11/0303.out: Use exact output triples including
usesVocabulary
* tests/rdfa11/0258.out: 1 triple
* tests/rdfa11/Makefile.am: 53 failures
* tests/rdfa11/0272.out, tests/rdfa11/0273.out,
tests/rdfa11/0274.out, tests/rdfa11/0275.out,
tests/rdfa11/0276.out, tests/rdfa11/0277.out,
tests/rdfa11/0278.out, tests/rdfa11/0279.out,
tests/rdfa11/0280.out, tests/rdfa11/0281.out,
tests/rdfa11/0282.out, tests/rdfa11/0283.out,
tests/rdfa11/0284.out, tests/rdfa11/0285.out,
tests/rdfa11/0286.out, tests/rdfa11/0287.out: Fixed expected
output bnode subject to be test URI
* tests/rdfa11/0188.out, tests/rdfa11/0189.out: Add usesVocabulary
triple which comes from @vocab - why!?
* tests/rdfa11/0186.out: Add usesVocabulary triple which comes
from @vocab - why!?
* src/Makefile.am: Add librdfa/namespace.c
* librdfa/rdfa.c: Let rdfa_update_uri_mappings() handle RDFa
namespace starting.
* librdfa/Makefile.am, librdfa/namespace.c: Add namespace.c
* librdfa/rdfa.c: Handle @lang tag for raptor
* tests/rdfa11/0180.out: Expect 1 triple
* tests/rdfa11/0173.out: just 1 triple with a plain literal
* tests/rdfa11/Makefile.am: 58 failures
* librdfa/rdfa.c:
(start_element): Do not abort @prefix handling too early
* tests/rdfa11/Makefile.am:
0176 passes
* tests/rdfa11/0176.out: Use exact expected output for quick cmp
* tests/rdfa11/Makefile.am: Use cmp as a quicker test before doing
an rdfdiff
* tests/rdfa11/0107.out, tests/rdfa11/0122.out,
tests/rdfa11/0140.out, tests/rdfa11/0180.out,
tests/rdfa11/0235.out, tests/rdfa11/0258.out: Add expect 0 triples
files
* tests/rdfa11/0295.out: 0295 expected output
* tests/rdfa11/Makefile.am: comments
* configure.ac, tests/Makefile.am, tests/rdfa11/0001.out,
tests/rdfa11/0001.xml, tests/rdfa11/0006.out,
tests/rdfa11/0006.xml, tests/rdfa11/0007.out,
tests/rdfa11/0007.xml, tests/rdfa11/0008.out,
tests/rdfa11/0008.xml, tests/rdfa11/0009.out,
tests/rdfa11/0009.xml, tests/rdfa11/0010.out,
tests/rdfa11/0010.xml, tests/rdfa11/0012.out,
tests/rdfa11/0012.xml, tests/rdfa11/0013.out,
tests/rdfa11/0013.xml, tests/rdfa11/0014.out,
tests/rdfa11/0014.xml, tests/rdfa11/0015.out,
tests/rdfa11/0015.xml, tests/rdfa11/0017.out,
tests/rdfa11/0017.xml, tests/rdfa11/0018.out,
tests/rdfa11/0018.xml, tests/rdfa11/0019.out,
tests/rdfa11/0019.xml, tests/rdfa11/0020.out,
tests/rdfa11/0020.xml, tests/rdfa11/0021.out,
tests/rdfa11/0021.xml, tests/rdfa11/0023.out,
tests/rdfa11/0023.xml, tests/rdfa11/0025.out,
tests/rdfa11/0025.xml, tests/rdfa11/0026.out,
tests/rdfa11/0026.xml, tests/rdfa11/0027.out,
tests/rdfa11/0027.xml, tests/rdfa11/0029.out,
tests/rdfa11/0029.xml, tests/rdfa11/0030.out,
tests/rdfa11/0030.xml, tests/rdfa11/0031.out,
tests/rdfa11/0031.xml, tests/rdfa11/0032.out,
tests/rdfa11/0032.xml, tests/rdfa11/0033.out,
tests/rdfa11/0033.xml, tests/rdfa11/0034.out,
tests/rdfa11/0034.xml, tests/rdfa11/0035.out,
tests/rdfa11/0035.xml, tests/rdfa11/0036.out,
tests/rdfa11/0036.xml, tests/rdfa11/0037.out,
tests/rdfa11/0037.xml, tests/rdfa11/0038.out,
tests/rdfa11/0038.xml, tests/rdfa11/0039.out,
tests/rdfa11/0039.xml, tests/rdfa11/0041.out,
tests/rdfa11/0041.xml, tests/rdfa11/0048.out,
tests/rdfa11/0048.xml, tests/rdfa11/0049.out,
tests/rdfa11/0049.xml, tests/rdfa11/0050.out,
tests/rdfa11/0050.xml, tests/rdfa11/0051.out,
tests/rdfa11/0051.xml, tests/rdfa11/0052.out,
tests/rdfa11/0052.xml, tests/rdfa11/0053.out,
tests/rdfa11/0053.xml, tests/rdfa11/0054.out,
tests/rdfa11/0054.xml, tests/rdfa11/0055.out,
tests/rdfa11/0055.xml, tests/rdfa11/0056.out,
tests/rdfa11/0056.xml, tests/rdfa11/0057.out,
tests/rdfa11/0057.xml, tests/rdfa11/0059.out,
tests/rdfa11/0059.xml, tests/rdfa11/0060.out,
tests/rdfa11/0060.xml, tests/rdfa11/0061.out,
tests/rdfa11/0061.xml, tests/rdfa11/0062.out,
tests/rdfa11/0062.xml, tests/rdfa11/0063.out,
tests/rdfa11/0063.xml, tests/rdfa11/0064.out,
tests/rdfa11/0064.xml, tests/rdfa11/0065.out,
tests/rdfa11/0065.xml, tests/rdfa11/0066.out,
tests/rdfa11/0066.xml, tests/rdfa11/0067.out,
tests/rdfa11/0067.xml, tests/rdfa11/0068.out,
tests/rdfa11/0068.xml, tests/rdfa11/0069.out,
tests/rdfa11/0069.xml, tests/rdfa11/0070.out,
tests/rdfa11/0070.xml, tests/rdfa11/0071.out,
tests/rdfa11/0071.xml, tests/rdfa11/0072.out,
tests/rdfa11/0072.xml, tests/rdfa11/0073.out,
tests/rdfa11/0073.xml, tests/rdfa11/0074.out,
tests/rdfa11/0074.xml, tests/rdfa11/0075.out,
tests/rdfa11/0075.xml, tests/rdfa11/0076.out,
tests/rdfa11/0076.xml, tests/rdfa11/0077.out,
tests/rdfa11/0077.xml, tests/rdfa11/0079.out,
tests/rdfa11/0079.xml, tests/rdfa11/0080.out,
tests/rdfa11/0080.xml, tests/rdfa11/0083.out,
tests/rdfa11/0083.xml, tests/rdfa11/0084.out,
tests/rdfa11/0084.xml, tests/rdfa11/0085.out,
tests/rdfa11/0085.xml, tests/rdfa11/0087.out,
tests/rdfa11/0087.xml, tests/rdfa11/0088.out,
tests/rdfa11/0088.xml, tests/rdfa11/0089.out,
tests/rdfa11/0089.xml, tests/rdfa11/0091.out,
tests/rdfa11/0091.xml, tests/rdfa11/0093.out,
tests/rdfa11/0093.xml, tests/rdfa11/0099.out,
tests/rdfa11/0099.xml, tests/rdfa11/0104.out,
tests/rdfa11/0104.xml, tests/rdfa11/0106.out,
tests/rdfa11/0106.xml, tests/rdfa11/0107.xml,
tests/rdfa11/0108.out, tests/rdfa11/0108.xml,
tests/rdfa11/0109.out, tests/rdfa11/0109.xml,
tests/rdfa11/0110.out, tests/rdfa11/0110.xml,
tests/rdfa11/0111.out, tests/rdfa11/0111.xml,
tests/rdfa11/0112.out, tests/rdfa11/0112.xml,
tests/rdfa11/0113.out, tests/rdfa11/0113.xml,
tests/rdfa11/0114.out, tests/rdfa11/0114.xml,
tests/rdfa11/0115.out, tests/rdfa11/0115.xml,
tests/rdfa11/0117.out, tests/rdfa11/0117.xml,
tests/rdfa11/0118.out, tests/rdfa11/0118.xml,
tests/rdfa11/0119.out, tests/rdfa11/0119.xml,
tests/rdfa11/0120.out, tests/rdfa11/0120.xml,
tests/rdfa11/0121.out, tests/rdfa11/0121.xml,
tests/rdfa11/0122.xml, tests/rdfa11/0126.out,
tests/rdfa11/0126.xml, tests/rdfa11/0131.out,
tests/rdfa11/0131.xml, tests/rdfa11/0134.out,
tests/rdfa11/0134.xml, tests/rdfa11/0140.xml,
tests/rdfa11/0147.out, tests/rdfa11/0147.xml,
tests/rdfa11/0172.out, tests/rdfa11/0172.xml,
tests/rdfa11/0173.out, tests/rdfa11/0173.xml,
tests/rdfa11/0174.out, tests/rdfa11/0174.xml,
tests/rdfa11/0175.out, tests/rdfa11/0175.xml,
tests/rdfa11/0176.out, tests/rdfa11/0176.xml,
tests/rdfa11/0177.out, tests/rdfa11/0177.xml,
tests/rdfa11/0178.out, tests/rdfa11/0178.xml,
tests/rdfa11/0179.out, tests/rdfa11/0179.xml,
tests/rdfa11/0180.xml, tests/rdfa11/0181.out,
tests/rdfa11/0181.xml, tests/rdfa11/0182.out,
tests/rdfa11/0182.xml, tests/rdfa11/0183.out,
tests/rdfa11/0183.xml, tests/rdfa11/0186.out,
tests/rdfa11/0186.xml, tests/rdfa11/0187.out,
tests/rdfa11/0187.xml, tests/rdfa11/0188.out,
tests/rdfa11/0188.xml, tests/rdfa11/0189.out,
tests/rdfa11/0189.xml, tests/rdfa11/0190.out,
tests/rdfa11/0190.xml, tests/rdfa11/0196.out,
tests/rdfa11/0196.xml, tests/rdfa11/0197.out,
tests/rdfa11/0197.xml, tests/rdfa11/0198.out,
tests/rdfa11/0198.xml, tests/rdfa11/0201.out,
tests/rdfa11/0201.xml, tests/rdfa11/0202.out,
tests/rdfa11/0202.xml, tests/rdfa11/0203.out,
tests/rdfa11/0203.xml, tests/rdfa11/0206.out,
tests/rdfa11/0206.xml, tests/rdfa11/0207.out,
tests/rdfa11/0207.xml, tests/rdfa11/0213.out,
tests/rdfa11/0213.xml, tests/rdfa11/0214.out,
tests/rdfa11/0214.xml, tests/rdfa11/0216.out,
tests/rdfa11/0216.xml, tests/rdfa11/0217.out,
tests/rdfa11/0217.xml, tests/rdfa11/0218.out,
tests/rdfa11/0218.xml, tests/rdfa11/0219.out,
tests/rdfa11/0219.xml, tests/rdfa11/0220.out,
tests/rdfa11/0220.xml, tests/rdfa11/0221.out,
tests/rdfa11/0221.xml, tests/rdfa11/0222.out,
tests/rdfa11/0222.xml, tests/rdfa11/0223.out,
tests/rdfa11/0223.xml, tests/rdfa11/0224.out,
tests/rdfa11/0224.xml, tests/rdfa11/0225.out,
tests/rdfa11/0225.xml, tests/rdfa11/0226.out,
tests/rdfa11/0226.xml, tests/rdfa11/0227.out,
tests/rdfa11/0227.xml, tests/rdfa11/0228.out,
tests/rdfa11/0228.xml, tests/rdfa11/0229.out,
tests/rdfa11/0229.xml, tests/rdfa11/0230.out,
tests/rdfa11/0230.xml, tests/rdfa11/0231.out,
tests/rdfa11/0231.xml, tests/rdfa11/0232.out,
tests/rdfa11/0232.xml, tests/rdfa11/0233.out,
tests/rdfa11/0233.xml, tests/rdfa11/0234.out,
tests/rdfa11/0234.xml, tests/rdfa11/0235.xml,
tests/rdfa11/0236.out, tests/rdfa11/0236.xml,
tests/rdfa11/0237.out, tests/rdfa11/0237.xml,
tests/rdfa11/0238.out, tests/rdfa11/0238.xml,
tests/rdfa11/0239.out, tests/rdfa11/0239.xml,
tests/rdfa11/0246.out, tests/rdfa11/0246.xml,
tests/rdfa11/0247.out, tests/rdfa11/0247.xml,
tests/rdfa11/0248.out, tests/rdfa11/0248.xml,
tests/rdfa11/0249.out, tests/rdfa11/0249.xml,
tests/rdfa11/0250.out, tests/rdfa11/0250.xml,
tests/rdfa11/0251.out, tests/rdfa11/0251.xml,
tests/rdfa11/0252.out, tests/rdfa11/0252.xml,
tests/rdfa11/0253.out, tests/rdfa11/0253.xml,
tests/rdfa11/0254.out, tests/rdfa11/0254.xml,
tests/rdfa11/0255.out, tests/rdfa11/0255.xml,
tests/rdfa11/0256.out, tests/rdfa11/0256.xml,
tests/rdfa11/0257.out, tests/rdfa11/0257.xml,
tests/rdfa11/0258.xml, tests/rdfa11/0259.out,
tests/rdfa11/0259.xml, tests/rdfa11/0260.out,
tests/rdfa11/0260.xml, tests/rdfa11/0261.out,
tests/rdfa11/0261.xml, tests/rdfa11/0262.out,
tests/rdfa11/0262.xml, tests/rdfa11/0263.out,
tests/rdfa11/0263.xml, tests/rdfa11/0264.out,
tests/rdfa11/0264.xml, tests/rdfa11/0265.out,
tests/rdfa11/0265.xml, tests/rdfa11/0266.out,
tests/rdfa11/0266.xml, tests/rdfa11/0267.out,
tests/rdfa11/0267.xml, tests/rdfa11/0268.out,
tests/rdfa11/0268.xml, tests/rdfa11/0269.out,
tests/rdfa11/0269.xml, tests/rdfa11/0271.out,
tests/rdfa11/0271.xml, tests/rdfa11/0272.out,
tests/rdfa11/0272.xml, tests/rdfa11/0273.out,
tests/rdfa11/0273.xml, tests/rdfa11/0274.out,
tests/rdfa11/0274.xml, tests/rdfa11/0275.out,
tests/rdfa11/0275.xml, tests/rdfa11/0276.out,
tests/rdfa11/0276.xml, tests/rdfa11/0277.out,
tests/rdfa11/0277.xml, tests/rdfa11/0278.out,
tests/rdfa11/0278.xml, tests/rdfa11/0279.out,
tests/rdfa11/0279.xml, tests/rdfa11/0280.out,
tests/rdfa11/0280.xml, tests/rdfa11/0281.out,
tests/rdfa11/0281.xml, tests/rdfa11/0282.out,
tests/rdfa11/0282.xml, tests/rdfa11/0283.out,
tests/rdfa11/0283.xml, tests/rdfa11/0284.out,
tests/rdfa11/0284.xml, tests/rdfa11/0285.out,
tests/rdfa11/0285.xml, tests/rdfa11/0286.out,
tests/rdfa11/0286.xml, tests/rdfa11/0287.out,
tests/rdfa11/0287.xml, tests/rdfa11/0289.out,
tests/rdfa11/0289.xml, tests/rdfa11/0290.out,
tests/rdfa11/0290.xml, tests/rdfa11/0291.out,
tests/rdfa11/0291.xml, tests/rdfa11/0292.out,
tests/rdfa11/0292.xml, tests/rdfa11/0293.out,
tests/rdfa11/0293.xml, tests/rdfa11/0295.xml,
tests/rdfa11/0296.out, tests/rdfa11/0296.xml,
tests/rdfa11/0297.out, tests/rdfa11/0297.xml,
tests/rdfa11/0298.out, tests/rdfa11/0298.xml,
tests/rdfa11/0299.out, tests/rdfa11/0299.xml,
tests/rdfa11/0300.out, tests/rdfa11/0300.xml,
tests/rdfa11/0301.out, tests/rdfa11/0301.xml,
tests/rdfa11/0302.out, tests/rdfa11/0302.xml,
tests/rdfa11/0303.out, tests/rdfa11/0303.xml,
tests/rdfa11/0304.out, tests/rdfa11/0304.xml,
tests/rdfa11/Makefile.am: Add RDFa 1.1 tests and expected failures
* librdfa/rdfa.c: Crash fix for @prefix
(start_element): Do not crash if strtok_r returns NULL during walk
through @prefix. Instead, abort attribute prefix search This
makes RDFA 1.0 test 0209 work for me
* src/raptor_librdfa.c: Default for parser 'rdfa' is whatever
librdfa does by default
* librdfa/lists.c: Removed assignment of never-read 'triple'
variable [clang]
* src/turtle_lexer.l: Make failure to convert Turtle qname log as
level error not fatal
2012-06-08 Dave Beckett <[email protected]>
* Makefile.am: Restore README and NEWS building for building from
GIT
* RELEASE.html: 2.0.8
* ChangeLog, ChangeLog.12, Makefile.am:
Added ChangeLog.12 for 2011
* docs/tmpl/section-uri.sgml: Updated uri tmpl
* src/snprintf.c: Prototypes for test functions to remove GCC
format warnings
* src/Makefile.am, src/snprintf.c: Add snprintf module simple unit
tests
* configure.ac: Set CPPFLAGS temporarily before libxml and libxslt
tests
* configure.ac: Make stripping -O flags (for maintainer) work
unless --enable-release
* configure.ac: --enable-debug no longer adds -g to CFLAGS
2012-06-07 Dave Beckett <[email protected]>
* src/turtle_lexer.l, src/turtle_parser.y: Remove fatal errors
when a Turtle qname cannot be found
(turtle_lexer_error): Renamed from turtle_lexer_fatal_error and
takes a log level and now is in varargs format.
{QNAME}: Call turtle_lexer_error with a regular error log level
and provide user level information on the qname that failed.
Updated other calls to turtle_lexer_fatal error.
(turtle_syntax_error): Call raptor_parser_log_error_varargs().
Fixes Issue#0000507
http://bugs.librdf.org/mantis/view.php?id=507
* src/raptor_grddl.c, src/raptor_internal.h, src/raptor_parse.c:
Pass in log level to parser error helper
(raptor_parser_log_error_varargs): Renamed from
raptor_parser_error_varargs and pass on log level to
raptor_log_error_varargs
* librdfa/Makefile.am, librdfa/config.h: Add librdfa config.h to
dist
* src/raptor_term.c:
(raptor_new_term_from_literal): Bad cast for language len
truncation.
* utils/Makefile.am:
Improve building of rdfdiff
Declare rdfdiff as noinst_PROGRAMS instead of EXTRA_PROGRAMS, so
that it's always built (but not installed)
There is no need to mention rdfdiff in CLEANFILES, as Automake
already knows to clean it
* tests/grddl/Makefile.am, tests/json/Makefile.am,
tests/ntriples/Makefile.am, tests/rdfa/Makefile.am,
tests/rdfxml/Makefile.am, tests/trig/Makefile.am,
tests/turtle/Makefile.am:
Fixes for out of tree testing
Place the path to rapper in a variable RAPPER that can be
overridden by the user and ensure all instances have a $(EXEEXT)
suffix.
Use $(RAPPER) instead of the path to same in target bodies.
Place the path to rdfdiff in a variable RDFDIFF that can be
overridden by the user.
Use $(RDFDIFF) instead of the path to same in target bodies
* tests/feeds/Makefile.am: Fixes for feeds testing for out of tree
builds and portability
Do not use a variable containing a list of filenames both in a
target's dependencies and in the target body, at least outside of
maintainer mode. Make on Solaris 8 has a funny idea of how to
implement VPATH; it modifies the value of the variable by
prefixing the srcdir path to each filename therein, and this
breaks our rule code.
Remove the use of $? as this is not well-supported outside of GNU
Make and the semantics of it are not needed or wanted.
Adjust check-validate-atom target to look for input fields in
either builddir or srcdir since some are generated and some are
source.
* tests/feeds/Makefile.am: TRANG in a variable and add docs ptr
* src/Makefile.am:
Fixes for out of tree builds of library
Declare the turtle lex/yacc sources as BUILT_SOURCES, to take
advantage of Automake semantics for these.
Remove LEX and YACC variables, as these are already handled
automagically.
Replaced all instances of $(srcdir)/.. with $(top_srcdir)
Added some guard logic to the turtle_lexer.c rule so that it
doesn't erroneously generate the target file.
Added dummy turtle_lexer.h and turtle_parser.h rules to satisfy
dependencies
Fixed a typo in the raptor_parse_test rule
* docs/Makefile.am:
Fixes for out of tree builds of docs
Removed $(builddir)/ from target files since that is where they
already are.
raptor2.h is a file generated by config.status, so it always lives
in $(builddir), not $(srcdir)
Replaced all instances of $(srcdir)/.. with $(top_srcdir)
Added "dist-hook-local: docs" so that the docs are generated
during a "make dist" if they haven't been generated already
(otherwise "make dist" fails when they can't be found)
* configure.ac: Quote testing $use_memory_signing
* configure.ac:
Make all AC_ARG_WITH(blah) options handle --without-blah correctly
Now these forms can be used
--with-foo - enable feature
--without-foo - disable feature
--with-foo=blah - enable and give a value
--with-foo= - (default action) enable and search for value
(not given) - (default action) enable and search for value
for --with-xml2-config, --with-xslt-config, --with-curl-config,
--with-icu-config and --with-libwww-config where 'no' can be used
to disable it and prevent automatic searches for the config script
in the PATH.
* configure.ac:
Fix some configure portability issues
Fixed a typo in the STRCASECMP conditional
Set CPPFLAGS whether or not the check for xsltSaveResultToString
succeeds, because AC_CHECK_HEADERS() depends on this and the
result of the header check should not depend on the result of the
lib check.
Put -DRAPTOR_DEBUG and -DMAINTAINER_MODE into the config header
instead of CPPFLAGS. This prevents the flags from potentially
being passed to "make distcheck" builds, where they can cause
trouble (e.g. absence of git-version.h header)
Removed -g from maintainer CPPFLAGS since it does not belong there
and add to CFLAGS when --enable-debug is given.
* Makefile.am:
Fix README and NEWS building - only for maintainer
Generate NEWS in $(srcdir) as automake won't look for it in
$(builddir)
Remove not needed dist-hook target since README and NEWS are
copied in by the standard 'make dist' mechanism.
* autogen.sh: Support NOCONFIGURE variable, like Lib{XML2,XSLT}
2012-06-06 Dave Beckett <[email protected]>
* src/snprintf.c: Portability improvements to vsnprintf code and
macros
(vsnprintf_check_is_c99): Initialize len to -1 when the variable
is declared instead of in the macro to remove redundancy.
(vsnprintf_is_c99): Check that len < size before looking at
tmp_buffer[len] otherwise we may be looking past the buffer size.
(macro VSNPRINTF_NOT_C99_BLOCK): free tmp_buffer when breaking out
of the while(1) loop. set len to a non-negative value in the
buffer != NULL case (raptor_vsnprintf2): Initialize len to -1 here
instead of in the VSNPRINTF_NOT_C99_BLOCK() macro. Return -1 if
format is NULL.
(raptor_vasprintf): Copy var args to re-use them when calling
raptor_vsnprintf2()
* configure.ac: Make configure vsnprintf() check more
comprehensive
- Test program also needs <stdio.h> and (now) <stdlib.h>
- Declare is_c99() function as static to avoid "no previous
declaration" warning from GCC's -Wmissing-declarations
- Improved test to invoke vsnprintf(NULL, 0, ...) because on Solaris
8, the function returns -1 in this case but works normally otherwise
- Declare main(void) instead of main(int argc, char* argv) to avoid
"unused parameter" warnings
- Make test program return 0 if the test is successful,
as otherwise a false-positive result is possible (note that
AC_TRY_RUN() interprets failure to compile/link the program, etc.
the same as a non-zero program exit status)
- Make the test program return an exit status indicative of the
failure mode: 1 = non-NULL case fails, 10 = NULL case fails, 11
= both fail
- Use proper m4 quoting in modified code
* src/turtle_common.h: struct raptor_turtle_parser_s: trig field
is now int (compiler bugs)
* src/parsedate.y:
Include raptor headers here for CAST macros
2012-05-23 Dave Beckett <[email protected]>
* librdfa/rdfa.c:
(start_element): Start a raptor namespace for RDFa 1.1 @prefix
2012-05-23 Lauri Aalto <[email protected]>
* src/snprintf.c:
(raptor_vsnprintf2): Fix uninitialized variable problems in non-c99
variant. Thanks to John Emmas for reporting.
- Compute len internally using int, not size_t as standard
vsnprintf() returns ints anyway. This fixes for negative value
comparison. Cast from size_t to int required for strlen() return
value.
- Initialize len earlier
- Use passed in size if a buffer is given