pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/rasqal



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec 30 14:32:59 UTC 2014

Modified Files:
        pkgsrc/textproc/rasqal: Makefile PLIST distinfo

Log Message:
Update to 0.9.33:

Rasqal 0.9.33 changes

Issues Fixed:

    0000546: Can't take query from URI when using -p
    0000568: Filter expression with division does not work
    0000583: CONSTRUCT halts at a template triple with unbound variable
    0000588: roqet: select from SERVICE returns all NULLs

SPARQL changes

Fixed BASE to override any API base URI.

Datetime class changes

Fixed storing timezone minutes correctly.

Graph pattern class changes

Added new getter functions rasqal_graph_pattern_get_triples(),
rasqal_literal_get_type() and rasqal_literal_get_language() from
Pull Request #1 by Cosmin Basca. Thanks.

Query engine changes

Fixed the aggregation total evaluation of AVG.

Fixed STRBEFORE and STRAFTER evaluation to match languages if
present and add the needle language to the result.

Fixed CONCAT() evaluation to return the correct types and languages.

Sorting now uses sort utility function raptor_sort_r() with context
args provided by Raptor 2.0.15+ or an internal simple (not so
performant) replacement, if too old.

Query result class changes

Can write variable bindings query results in mKR relation CSV
format.

Made internal changes to support reading and writing boolean result
formats. That means rasqal_query_results_formatter_read() may now
return boolean results if the formatter supports it, such as SPARQL
XML.

Added rasqal_new_query_results_from_string() to make a query results
from a string (with optional length). The results format is guessed
from the input data - base_uri and string content using
rasqal_world_guess_query_results_format_name().

Added rasqal_query_results_formats_check2() deprecating
rasqal_query_results_formats_check(). The API change is due to the
return value; the result is now non-0 if the format exists.

Added rasqal_new_query_results2() deprecating rasqal_new_query_results()
removing the now ignored vars_table parameter. A query result now
manages it's own variables table.

Results class changes

Fixed returning the correct variables count for reading SPARQL XML
results sets. This caused some queries to fail if the projected
variables count did not match the count in the result set. Fixes
Issue #0000588

Variables table class changes

Added rasqal_variables_table_add2() deprecating
rasqal_variables_table_add(). This takes a more sensible argument
style with copying the input parameters name and value, and allowing
name length to be optionally given. This results in smaller calling
code and better ownership semantics.

Utility changes

roqet(1) now supports using a URI or local file to send to a SPARQL
protocol service URI. Fixes Issue #0000546

Other changes

Fixes to make Rasqal build in Travis CI, testing against newest
and oldest raptors.

Use __FUNCTION__ (c99) replacing __func__ (c90) in debug macros.

Fixes in Pull Request #3 for building with icc from Sebastian
Freundt. Thanks.

Many code quality fixes from clang and coverity primarily in error
path cleanups (out of memory cases) and dead code.

Updated the fix-flex and fix-bison scripts to remove dead code that
clang and coverity complain about.

Added new C testrunner utility to run the tests to eventually
replace the (perl) improve and check-sparql scripts.

Fixed some API changelog mistakes.

Updated gcc / clang warning args used (-Wxxxx) and made multiple
minor code fixes such as replacing %d with %u in debug messages or
adding missing default: to switches even when all cases were covered.

Added many more internal casts to make -Wconversion happier when
enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/rasqal/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/rasqal/PLIST \
    pkgsrc/textproc/rasqal/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index