File: ChangeLog

package info (click to toggle)
raptor2 2.0.14-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 18,384 kB
  • ctags: 4,734
  • sloc: ansic: 36,918; sh: 11,996; xml: 6,686; makefile: 2,825; yacc: 2,435; perl: 1,121; lex: 1,050
file content (509 lines) | stat: -rw-r--r-- 15,502 bytes parent folder | download
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
2014-05-05  Dave Beckett  <dave@dajobe.org>

	* Snapshotted raptor2_2_0_14 for 2.0.14 release (GIT 93bc8ef8fa1c0b6b4278412f5d12e558b70db708)

2014-05-03  Dave Beckett <dave@dajobe.org>

	* configure.ac: Import flex check from rasqal

2014-04-28  Dave Beckett <dave@dajobe.org>

	* scripts/fix-bison: Remove dead code from bison output

2014-04-27  Dave Beckett <dave@dajobe.org>

	* tests/rdfa/Makefile.am: Fix failure test and update expected
	failures: +0294.xml +0349.xml

	* tests/rdfa11/Makefile.am: Echo message when failures are not
	what expected

	* librdfa/rdfa.c:
	(rdfa_init_base): Fix <base href > Fixes support broke in commit
	9447e886ad66a1c3dd2c877341feca639824488a

2014-04-26  Dave Beckett <dave@dajobe.org>

	* tests/rdfa11/Makefile.am: Fail exit on test failures - broken
	for a long itme

	* src/turtle_parser.y:
	(collection): Use YYERR_MSG_GOTO to stop early break and add debug
	info

	* src/turtle_parser.y: Import header code from turtle-parser.y

2014-04-20  Dave Beckett <dave@dajobe.org>

	* configure.ac, src/turtle_lexer.l: Define FLEX_VERSION_DECIMAL
	and use to not duplicate column prototypes.

	* scripts/fix-flex: Convert buffer check for PREFIX_restart into
	simple form

	* scripts/fix-flex: Use YY_CURRENT_BUFFER_LVALUE in
	PREFIX_pop_buffer_state [coverity CID 29295]

	* scripts/fix-flex: pop_buffer_state does not get changed with
	rule; delete ref

	* src/turtle_lexer.l: YY_FATAL_ERROR always calls abort() -
	hopefully coverity notices

	* scripts/fix-flex:
	Remove dead code after YY_INPUT - which is a
	return NULL [coverity CID 29302]

	* scripts/fix-flex:
	Match (static) yy_ prefix functions too

	* scripts/fix-flex:
	Use YY_CURRENT_BUFFER_LVALUE when ensured ok
	[coverity CID 29242 29252 29253 29295]

	Rewrite YY_CURRENT_BUFFER to YY_CURRENT_BUFFER_LVALUE in some
	functions after a PREFIX_ensure_buffer_stack() call has been seen.

	* scripts/fix-flex:
	Give function processing a state var %fn_state

	* scripts/fix-flex: Cleanups - Figure out lexer prefix from input
	- Capture current function name in $cur_function - Rewrite some
	checks to use exact function name - Added $debug var

2014-04-19  Dave Beckett <dave@dajobe.org>

	* scripts/fix-bison: Set yytoken to non-negative value for
	[coverity CID 29259]

	* scripts/fix-bison: Add a default value for yyformat for
	[coverity CID 10838]

	* src/raptor_xml.c: Added coverity[negative_returns] for second
	use of unichar_len [CID 29257]

	* librdfa/lists.c:
	(rdfa_complete_list_triples): Init tmp for error path [coverity
	CID 36737]

	* src/raptor_grddl.c:
	(raptor_grddl_run_xpath_match): Free base_uri on error path
	[coverity CID 34618]

	* src/raptor_serialize_turtle.c:
	(raptor_turtle_emit_subject): Free iterator on error path [coverity
	CID 34617]

2014-04-18  Dave Beckett <dave@dajobe.org>

	* src/raptor_serialize_rss.c:
	(raptor_rss10_emit_rdfxml_item_triples): root_element NULL [coverity
	CID 34616] (raptor_rss10_emit_rdfxml_item_triples): start xml root_element if
	not NULL [coverity CID 34616]

	* librdfa/curie.c:
	(rdfa_resolve_uri): Check end_index2 is not NULL [coverity CID
	29261]

	* librdfa/lists.c:
	(rdfa_complete_list_triples):  strdup and strstr output. [coverity
	CID 29260]

	(rdfa_complete_list_triples): Be careful for strdup and strstr
	returning NULL. [coverity CID 29260]

	* src/raptor_namespace.c: Check return of raptor_xml_escape_string
	for errors [coverity CID 29258]

	(raptor_namespace_format_as_xml): Check return values of
	raptor_xml_escape_string() for negative failure before casting to
	size_t.

	* src/raptor_iostream.c:
	(test_read_from_filename): Use int for read bytes values

	* src/raptor_parse.c: Treat raptor_iostream_read_bytes() returning
	int [coverity CID 29256]

	(raptor_parser_parse_iostream): Treat raptor_iostream_read_bytes()
	return as int, convert to size_t when it's known to be
	non-negative. [coverity CID 29256] The real fix is incompatible
	API change to make iostream return size_t or ssize_t for reads.

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_statement): Restore *name always [coverity
	CID 29255]

	* librdfa/rdfa.c:
	(end_element): Do not call rdfa_complete_list_triples() with no
	new subject [coverity CID 29254]

	* src/raptor_xml_writer.c:
	(raptor_xml_writer_start_element_common): attribute namespaces
	[coverity CID 29244]

	(raptor_xml_writer_start_element_common): Process attribute
	namespaces only if there is a namespace stack [coverity CID 29244]

	* src/raptor_librdfa.c: rdfa requires a base URI [coverity CID
	29250]

	(raptor_librdfa_parse_start): Add check for base URI
	(raptor_librdfa_parser_register_factory): Mark 'rdfa' parser needs
	a base URI.

	* librdfa/triple.c:
	(rdfa_complete_object_literal_triples) strchr on NULL [coverity CID
	29429]

	(rdfa_complete_object_literal_triples): Need non NULL
	context->xml_literal to do strchr() on it [coverity CID 29429]

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_statement): Remove always 0
	end_predicate_element [coverity CID 29238]

	* src/raptor_serialize_rss.c:
	(raptor_rss10_emit_rdfxml_item_triples): Free root_qname in logical
	place [coverity CID 29236]

	* src/raptor_xml_writer.c:
	(raptor_xml_writer_start_element_common): nstack [coverity CID
	29244]

	(raptor_xml_writer_start_element_common): Defining xml language
	declaration requires namespace declarations so add nstack check.

	* src/raptor_grddl.c:
	(raptor_grddl_run_xpath_match): Check if uri_string is not NULL
	[coverity CID 29243]

	* src/raptor_log.c:
	(raptor_log_error): Allow world to be NULL [coverity CID 29241]

	* src/raptor_log.c:
	(raptor_log_error_varargs): Allow world to be NULL [coverity CID
	29241]

	* librdfa/triple.c:
	(rdfa_complete_current_property_value_triples): Remove duplicate
	variable [coverity CID 29240]

	* src/raptor_grddl.c:
	(raptor_grddl_parse_chunk): Remove logically dead code [coverity CID
	29239] loop is always 0 or 1 so don't check for other values.

	* src/raptor_serialize_rss.c:
	(raptor_rss10_emit_rdfxml_item_triples): Remove logically dead code
	[coverity CID 29237] No need to test freeing serializer twice.

	* src/raptor_grddl.c:
	(raptor_grddl_run_grddl_transform_doc): Check parse start/chunk
	returns [coverity CID 29235]

	* src/raptor_serialize_turtle.c:
	(raptor_turtle_emit_subject): check raptor_avltree_iterator_next()
	return [coverity CID 29234]

2014-04-17  Dave Beckett <dave@dajobe.org>

	* src/raptor_parse.c:
	(raptor_parser_fatal_error): set parser failed if not NULL [coverity
	CID 29283]

	* src/raptor_xml_writer.c:
	(raptor_xml_writer_start_element_common): nspace_declarations is
	never NULL on return path [coverity CID 29284]

	* src/raptor_xml_writer.c:
	(raptor_xml_writer_start_element): element is not NULL [coverity CID
	29285]

	* src/raptor_rss.c:
	(raptor_rss_end_element_handler): rss_element is never NULL
	[coverity CID 29286]

	* src/raptor_abbrev.c:
	(raptor_new_abbrev_subject): Do not use subject->properties on debug
	path [coverity CID 29287]

	* src/raptor_uri.c:
	(raptor_uri_counted_filename_to_uri_string): Error path cannot use
	NULL buffer [coverity CID 29302]

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_statement): Free object_uri_string always
	[coverity CID 29269]

	* src/raptor_serialize_turtle.c:
	(raptor_turtle_emit_subject_collection_items): Free iter on error
	[coverity CID 29263]

	* src/turtle_lexer.l: Free stringbuffer on error case [coverity
	CID 29273]

2014-04-16  Dave Beckett <dave@dajobe.org>

	* librdfa/rdfa.c:
	(rdfa_init_base): Fix uri_start dead code again [coverity CID 29700]

	* src/raptor_abbrev.c:
	(raptor_new_abbrev_subject): node arg is never NULL [coverity CID
	29288]

	* src/raptor_qname.c:
	(raptor_new_qname_from_namespace_local_name): move strlen after
	local_name NULL check [coverity CID 29289]

	* utils/rdfdiff.c:
	(main): from_string and to_string are never NULL [coverity CID
	29290, CID 29291]

	* librdfa/triple.c:
	(rdfa_complete_object_literal_triples): NULL check for
	context->xml_literal [coverity CID 29292]

	* src/raptor_serialize_rdfxmla.c:
	(raptor_rdfxmla_serialize_set_xml_writer): Check xml_writer NULL
	[coverity CID 29293]

	* src/raptor_log.c:
	(raptor_log_error_varargs): Can assume world is not NULL [coverity
	CID 29294]

	* librdfa/rdfa.c:
	(end_element): Add parent_context check around block [coverity CID
	29296]

	* librdfa/rdfa.c:
	(rdfa_init_base): Check for uri_start before use [coverity CID
	29297]

	* src/raptor_serialize_turtle.c:
	(raptor_turtle_emit_subject_collection_items): Free iter on error
	path [coverity CID 29263]

	* src/raptor_parse.c:
	(raptor_world_guess_parser_name): Free scores on error path
	[coverity CID 29264]

	* src/raptor_grddl.c:
	(raptor_grddl_run_recursive): Free ibuffer [coverity CID 29265]

	* src/raptor_rss.c:
	(raptor_rss_end_element_handler): Free field on error path [coverity
	CID 29266]

	* src/raptor_rss.c:
	(raptor_rss_insert_rss_link): Free field on error path [coverity CID
	29267]

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_statement): Free object_uri_string on error
	path [coverity CID 29269]

	* src/raptor_serialize_rss.c:
	(raptor_rss10_serialize_end): Error path entry_uri cleanup [coverity
	CID 29270]

	* librdfa/lists.c:
	(rdfa_complete_list_triples): Free bnode after loop [coverity CID
	29272] Also strdup() the rdf:nil string so it can be freed.

	* src/turtle_lexer.l: Free stringbuffer on error case [coverity
	CID 29273]

	* docs/raptor-1-to-2-map.tsv, docs/raptor2-sections.txt,
	src/raptor2.h.in, src/raptor_internal.h, src/raptor_rfc2396.c,
	src/raptor_uri.c: Added raptor_uri_counted_filename_to_uri_string

	(raptor_uri_counted_filename_to_uri_string): Added based on
	raptor_uri_filename_to_uri_string.  Updated to properly check the
	length of the incoming filename and ensure (on unix) that the path
	buffer is big enough.  Eliminate strcat() calls while here.  For
	win32, properly calculate the length when there is a :\ in the
	filename.  RAPTOR_FATAL4 added for debugging URI length failures

	* src/turtle_common.c: (raptor_turtle_expand_name_escapes): arg
	free on error path [coverity CID 29303]

	(raptor_turtle_expand_name_escapes): Remove RAPTOR_FREE of name
	argument on error paths - this function does not own name.

2014-03-24  Dave Beckett <dave@dajobe.org>

	* ChangeLog, ChangeLog.14, Makefile.am: ChangeLog.14 for 2013

2014-03-24  Dave Beckett <dave@dajobe.org>

	* librdfa/lists.c, librdfa/rdfa.c: librdfa fixes for
	-Wunreachable-code (clang)

2014-02-24  Dave Beckett <dave@dajobe.org>

	* src/raptor_general.c, src/raptor_json.c, src/raptor_rss.c,
	src/raptor_turtle_writer.c: Fixes for -Wunreachable-code (clang)

	(raptor_rss_insert_identifiers): When inserting identifiers, allow
	the loop to continue searching.

	(raptor_rss_start_namespaces): Remove loop since 1 value is
	enough.

	* configure.ac: Add -Wunreachable-code (clang)

2014-02-13  Dave Beckett <dave@dajobe.org>

	* tests/turtle-2013/Makefile.am, tests/turtle-2013/oops.nt,
	tests/turtle-2013/oops.ttl: Add test and expected response for RDF
	1.1 Turtle post-REC error

	Announced:
	http://lists.w3.org/Archives/Public/public-rdf-comments/2014Feb/0018.html
	Expected answer requested:
	http://lists.w3.org/Archives/Public/public-rdf-comments/2014Feb/0020.html

2014-02-12  Dave Beckett <dave@dajobe.org>

	* tests/ntriples-2013/LITERAL.nt,
	tests/ntriples-2013/LITERAL_all_controls.nt,
	tests/ntriples-2013/LITERAL_all_punctuation.nt,
	tests/ntriples-2013/LITERAL_with_2_dquotes.nt,
	tests/ntriples-2013/LITERAL_with_2_squotes.nt,
	tests/ntriples-2013/LITERAL_with_UTF8_boundaries.nt,
	tests/ntriples-2013/LITERAL_with_dquote.nt,
	tests/ntriples-2013/LITERAL_with_squote.nt,
	tests/ntriples-2013/Makefile.am, tests/ntriples-2013/README,
	tests/ntriples-2013/literal.nt,
	tests/ntriples-2013/literal_all_controls.nt,
	tests/ntriples-2013/literal_all_punctuation.nt,
	tests/ntriples-2013/literal_with_2_dquotes.nt,
	tests/ntriples-2013/literal_with_2_squotes.nt,
	tests/ntriples-2013/literal_with_UTF8_boundaries.nt,
	tests/ntriples-2013/literal_with_dquote.nt,
	tests/ntriples-2013/literal_with_squote.nt: Renames to match W3C
	mercurial repo names

2014-01-29  Dave Beckett <dave@dajobe.org>

	* CMakeLists.txt, NEWS.html, RELEASE.html, configure.ac: Bumped
	version to 2.0.14

	* Snapshotted raptor2_2_0_13 for 2.0.13 release (GIT
	fde3f210e7442de6de16c410443fd8a695f09820)

2014-01-29  Dave Beckett <dave@dajobe.org>

	* NEWS.html, RELEASE.html:
	2.0.13

2014-01-27  Dave Beckett <dave@dajobe.org>

	* ChangeLog, INSTALL.html, LICENSE.html, NEWS.html, README.html,
	RELEASE.html, TODO.html, UPGRADING.html: 2.0.13 and 2014

	* configure.ac: Use presence of libxml / curl config programs as
	test for presence

	Symptom was that after configuring, curl was present but not used
	for WWW fetching.

	Original commit that changed this was
	  commit 7da03ba5cd6e45ea41afebd4955acf6e96e9d622
	  Date:   Fri Apr 5 19:01:55 2013 +0100

	which was Raptor 2.0.10 onwards

2014-01-15  Dave Beckett <dave@dajobe.org>

	* autogen.sh: Create NEWS and README

2014-01-14  Dave Beckett <dave@dajobe.org>

	* Makefile.am: fix html rules more

	* .travis.yml: Travis CI fix

	* Makefile.am: fix html rule

2014-01-10  Dave Beckett <dave@dajobe.org>

	* src/raptor_abbrev.c:
	Revert: (raptor_abbrev_subject_find): Remove
	double free of lookup_node.

	This reverts commit c1c82f1be5d86ebf95fa10b86a938d6799e35626.

	* src/raptor_rfc2396.c:
	(raptor_uri_resolve_uri_reference): Handle NULL ref->path

	* src/raptor_abbrev.c:
	(raptor_abbrev_subject_find): Remove double free of lookup_node
	Remove call to raptor_free_abbrev_node()

2014-01-07  Dave Beckett <dave@dajobe.org>

	* configure.ac: Use AC_CHECK_PROGS to find jing
	AC_CHECK_PROG doesn't default to setting it as found!

2014-01-04  Dave Beckett <dave@dajobe.org>

	* src/raptor_general.c: 2014

	* src/turtle_lexer.l: Remove YY_INPUT - never want to read from
	stdin/file

2014-01-02  Dave Beckett <dave@dajobe.org>

	* Merge pull request #12 from dajobe/bison3.0-new Switch to use
	and require Bison 3.0

	* src/turtle_lexer.l: Provide missing flex prototypes for flex
	2.5.35 or earlier

	* src/parsedate.y:
	(raptor_parse_date): No need for cast to void* for yyparse

2014-01-01  Dave Beckett <dave@dajobe.org>

	* src/turtle_parser.y: Remove redundant declaration of
	turtle_lexer_lex

	* configure.ac, src/Makefile.am: Alter configure to accept bison
	3.0.0 or newer, no yacc

	* src/parsedate.y: Add bison 3.0 directives

	* src/parsedate.y: Bison 3.0 the parsedate parser

	- Update to new directives
	- Set %param
	- Update error call

	* src/turtle_parser.y: Bison 3.0 the turtle parser

	- Use bison 3.0+ directives replacing all command line arguments
	- Update lexer and parser parameters (remove use of YYLEX_PARAM)
	- (turtle_parser_error): Add scanner arg.
	- Use rdf_parser argument directly rather than via casted variable.
	- Add %empty directives
	- Remove casts to raptor_parser* that are no longer needed
	- (turtle_parse): Pass in scanner

	* src/turtle_parser.y: Remove YY_DECL

	* src/turtle_lexer.l: Add %option bison-bridge

	* src/turtle_lexer.l: Remove turtle_lexer_lex prototype / header
	override

	No longer use YYDECL - the default works.

	* src/turtle_lexer.l: Replace turtle_parser_lval with yylval

	* src/turtle_common.c: Move turtle_lexer.h include earlier so
	YYSTYPE can be found

	* src/turtle_lexer.l, src/turtle_parser.y: Remove token union
	unused integer field