Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id C9F86A663E for ; Tue, 30 Dec 2014 14:33:10 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C222914A132; Tue, 30 Dec 2014 14:33:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C312B14A0D4 for ; Tue, 30 Dec 2014 14:33:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id pak7Cxl2k3x8 for ; Tue, 30 Dec 2014 14:32:59 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id DD25514A0B7 for ; Tue, 30 Dec 2014 14:32:59 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C947898; Tue, 30 Dec 2014 14:32:59 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 30 Dec 2014 14:32:59 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/textproc/rasqal To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20141230143259.C947898@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk 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.