cubi:cubi.git
6 years agoManual version bump master
Mathias Hasselmann [Tue, 17 Jan 2012 14:26:50 +0000 (15:26 +0100)]
Manual version bump

6 years agoFixes: NB#296196 - Header cleanup in libcubi.
Frank Meerkoetter [Thu, 5 Jan 2012 14:19:46 +0000 (14:19 +0000)]
Fixes: NB#296196 - Header cleanup in libcubi.

6 years agoRelease 0.1.17-1 harmattanfb/0.1.17-1
Mathias Hasselmann [Wed, 7 Dec 2011 13:04:24 +0000 (14:04 +0100)]
Release 0.1.17-1

6 years agoAvoid cubi-oc for ut_trie. 19
Mathias Hasselmann [Mon, 5 Dec 2011 13:01:27 +0000 (14:01 +0100)]
Avoid cubi-oc for ut_trie.

6 years agoRemove ontology class implementations from headers.
Mathias Hasselmann [Sat, 26 Nov 2011 23:44:05 +0000 (00:44 +0100)]
Remove ontology class implementations from headers.

Compliation times became abnormal after adding element lists to the headers.

6 years agoActually really remove obsolete prefix IRIs.
Mathias Hasselmann [Sat, 26 Nov 2011 23:54:02 +0000 (00:54 +0100)]
Actually really remove obsolete prefix IRIs.

6 years agoExtend trie tests.
Mathias Hasselmann [Sat, 26 Nov 2011 21:47:05 +0000 (22:47 +0100)]
Extend trie tests.

6 years agoFix corner cases in our trie implementation.
Mathias Hasselmann [Sat, 26 Nov 2011 21:38:43 +0000 (22:38 +0100)]
Fix corner cases in our trie implementation.

6 years agoDirectly test trie behavior.
Mathias Hasselmann [Sat, 26 Nov 2011 00:45:56 +0000 (01:45 +0100)]
Directly test trie behavior.

6 years agoMove trie into private header to permit testing.
Mathias Hasselmann [Sat, 26 Nov 2011 00:44:12 +0000 (01:44 +0100)]
Move trie into private header to permit testing.

6 years agoExtract canonicalString() function.
Mathias Hasselmann [Fri, 25 Nov 2011 14:43:08 +0000 (15:43 +0100)]
Extract canonicalString() function.

6 years agoBuild the prefixed name more efficiently on lookup.
Mathias Hasselmann [Fri, 25 Nov 2011 10:25:11 +0000 (11:25 +0100)]
Build the prefixed name more efficiently on lookup.

6 years agoUse a trie to resolve name prefixes for IRIs.
Mathias Hasselmann [Fri, 25 Nov 2011 00:42:39 +0000 (01:42 +0100)]
Use a trie to resolve name prefixes for IRIs.

Using a traditional trie instead of a more efficient Patricia trie to keep the
code simple: Those datasets just are not big enough to justify the complexity.
Actually most trie nodes will have only one child, resulting in quite similar
lookup effort to Patricia tries. Still this trie is 15% faster than the naive
list walker.

6 years agoUpdate .gitignore file.
Mathias Hasselmann [Fri, 25 Nov 2011 08:01:00 +0000 (09:01 +0100)]
Update .gitignore file.

6 years agoAdd unit test and benchmark for prefixed name lookup.
Mathias Hasselmann [Fri, 25 Nov 2011 08:00:16 +0000 (09:00 +0100)]
Add unit test and benchmark for prefixed name lookup.

6 years agoRelease 0.1.16-1 harmattanfb/0.1.16-1
Adrien Bustany [Thu, 1 Dec 2011 16:19:14 +0000 (18:19 +0200)]
Release 0.1.16-1

6 years agoCompile tests with CUBI_DECLARE_METATYPES
Adrien Bustany [Thu, 1 Dec 2011 16:06:33 +0000 (18:06 +0200)]
Compile tests with CUBI_DECLARE_METATYPES

6 years agoFix inverted CUBI_DECLARE_METATYPES logic in global.h
Adrien Bustany [Thu, 1 Dec 2011 16:05:34 +0000 (18:05 +0200)]
Fix inverted CUBI_DECLARE_METATYPES logic in global.h

6 years agoEnable maintainer mode by default.
Mathias Hasselmann [Thu, 1 Dec 2011 11:58:13 +0000 (12:58 +0100)]
Enable maintainer mode by default.

6 years agoAdd FIXME rant about Cubi::ValueChain.
Mathias Hasselmann [Mon, 28 Nov 2011 12:17:05 +0000 (13:17 +0100)]
Add FIXME rant about Cubi::ValueChain.

6 years agoMove ResourceValue hash and compare tests into separate slot.
Mathias Hasselmann [Fri, 25 Nov 2011 13:09:01 +0000 (14:09 +0100)]
Move ResourceValue hash and compare tests into separate slot.

6 years agoDeclare Qt metatypes where possible.
Mathias Hasselmann [Mon, 28 Nov 2011 12:40:09 +0000 (13:40 +0100)]
Declare Qt metatypes where possible.

Conditionally masked by CUBI_DECLARE_METATYPES. Added FIXME comments for the
classes not permitting metatype declarations yet: Let's keep this monster
branch focused.

6 years agoIntern 'a' and 'rdf:type' in ResourceValue::setName()
Mathias Hasselmann [Fri, 25 Nov 2011 12:01:45 +0000 (13:01 +0100)]
Intern 'a' and 'rdf:type' in ResourceValue::setName()

6 years agoMention 'a' verb and warnings in ResourceValue API docs.
Mathias Hasselmann [Fri, 25 Nov 2011 10:53:52 +0000 (11:53 +0100)]
Mention 'a' verb and warnings in ResourceValue API docs.

6 years agoRegister prefix URLs to enable comparing IRIs and prefixed names.
Mathias Hasselmann [Tue, 22 Nov 2011 09:38:23 +0000 (10:38 +0100)]
Register prefix URLs to enable comparing IRIs and prefixed names.

Also cache the resource value's SPARQL string. Might appear like a random
performance optimization on first moment, but actually is needed for supporting
the "a" verb. Its neither an IRI, nor a prefixed name, but still it is a
resource reference and therefore belongs here.

6 years agoReuse setters in ResourceValue(name, type)
Mathias Hasselmann [Mon, 28 Nov 2011 11:50:12 +0000 (12:50 +0100)]
Reuse setters in ResourceValue(name, type)

6 years agoAdd hash function for Cubi::ResourceValue.
Mathias Hasselmann [Tue, 22 Nov 2011 09:08:55 +0000 (10:08 +0100)]
Add hash function for Cubi::ResourceValue.

6 years agoWarn about ASCII casts in unit tests.
Mathias Hasselmann [Fri, 25 Nov 2011 13:08:13 +0000 (14:08 +0100)]
Warn about ASCII casts in unit tests.

6 years agoBuild static strings from UTF-16 instead of ASCII.
Mathias Hasselmann [Tue, 22 Nov 2011 22:37:59 +0000 (23:37 +0100)]
Build static strings from UTF-16 instead of ASCII.

6 years agoExtract dumpCommonMethods() functions.
Mathias Hasselmann [Tue, 22 Nov 2011 21:09:56 +0000 (22:09 +0100)]
Extract dumpCommonMethods() functions.

6 years agoLet the ontology compiler generate lists of all ontologies and its elements.
Mathias Hasselmann [Tue, 22 Nov 2011 21:04:34 +0000 (22:04 +0100)]
Let the ontology compiler generate lists of all ontologies and its elements.

6 years agoSupport ResourceValues with prefixed name and IRI.
Mathias Hasselmann [Tue, 22 Nov 2011 07:00:19 +0000 (08:00 +0100)]
Support ResourceValues with prefixed name and IRI.

This makes using ResourceValue::iri() acting much more plausible when dealing
with instances generated by the ontology compiler.

6 years agoStill allow filter conversions with explicit ctors.
Mathias Hasselmann [Mon, 28 Nov 2011 21:38:50 +0000 (22:38 +0100)]
Still allow filter conversions with explicit ctors.

6 years agoDeclare 'a' verb.
Mathias Hasselmann [Mon, 28 Nov 2011 20:49:58 +0000 (21:49 +0100)]
Declare 'a' verb.

6 years agoDon't put full paths into HTML footers.
Mathias Hasselmann [Thu, 24 Nov 2011 12:57:12 +0000 (13:57 +0100)]
Don't put full paths into HTML footers.

6 years agoLet cubi-oc provide a ResourceValue for ontologies
Mathias Hasselmann [Tue, 22 Nov 2011 06:59:05 +0000 (07:59 +0100)]
Let cubi-oc provide a ResourceValue for ontologies

Basically just for improving consistency.

6 years agoAvoid warnings about deprecated cubi methods.
Mathias Hasselmann [Wed, 23 Nov 2011 11:10:45 +0000 (12:10 +0100)]
Avoid warnings about deprecated cubi methods.

Quite pointless to spam the build log with warnings about implementing and
testing cubi's own deprecated functions.

6 years agoRelease 0.1.15-1 harmattan/0.1.15-1
Adrien Bustany [Tue, 18 Oct 2011 10:45:20 +0000 (13:45 +0300)]
Release 0.1.15-1

6 years agoTest NullValueData refcounting
Adrien Bustany [Tue, 18 Oct 2011 10:39:52 +0000 (13:39 +0300)]
Test NullValueData refcounting

6 years agoFix NullValueData memory handling
Adrien Bustany [Tue, 18 Oct 2011 08:56:37 +0000 (11:56 +0300)]
Fix NullValueData memory handling

6 years agoRelease 0.1.14-1 harmattan/0.1.14-1 harmattanfb/0.1.14-1
Adrien Bustany [Thu, 15 Sep 2011 08:16:15 +0000 (11:16 +0300)]
Release 0.1.14-1

6 years agoAdd tests for NullValue
Adrien Bustany [Thu, 18 Aug 2011 08:01:20 +0000 (11:01 +0300)]
Add tests for NullValue

6 years agoAdd support for "null" keyword (Tracker SPARQL extension)
Adrien Bustany [Thu, 18 Aug 2011 07:54:28 +0000 (10:54 +0300)]
Add support for "null" keyword (Tracker SPARQL extension)

6 years agoRelease 0.1.13-1
Adrien Bustany [Wed, 3 Aug 2011 13:21:03 +0000 (16:21 +0300)]
Release 0.1.13-1

6 years agoFix last release changelog to include bug number
Adrien Bustany [Tue, 2 Aug 2011 14:39:38 +0000 (17:39 +0300)]
Fix last release changelog to include bug number

6 years agoRelease 0.1.12-1
Adrien Bustany [Tue, 2 Aug 2011 14:34:05 +0000 (17:34 +0300)]
Release 0.1.12-1

6 years agoAdd HOWTO file for future maintainers
Adrien Bustany [Tue, 2 Aug 2011 14:47:35 +0000 (17:47 +0300)]
Add HOWTO file for future maintainers

6 years agoSelect: Fix order of ORDER BY and LIMIT/OFFSET
Adrien Bustany [Thu, 21 Jul 2011 13:45:53 +0000 (16:45 +0300)]
Select: Fix order of ORDER BY and LIMIT/OFFSET

6 years agocubidefines: Reindent
Adrien Bustany [Wed, 20 Jul 2011 11:46:53 +0000 (14:46 +0300)]
cubidefines: Reindent

6 years agocubidefines: Add support for IF
Adrien Bustany [Wed, 20 Jul 2011 11:46:18 +0000 (14:46 +0300)]
cubidefines: Add support for IF

6 years agoAdd test for OrderComparator to ut_data
Adrien Bustany [Mon, 4 Jul 2011 08:04:17 +0000 (11:04 +0300)]
Add test for OrderComparator to ut_data

6 years agoSelect: complete support for ORDER BY
Adrien Bustany [Fri, 1 Jul 2011 08:25:57 +0000 (11:25 +0300)]
Select: complete support for ORDER BY

6 years agoRelease 0.1.11-1 harmattan/0.1.11-1
Friedrich W. H. Kossebau [Mon, 1 Aug 2011 13:56:13 +0000 (15:56 +0200)]
Release 0.1.11-1

6 years agoUpdate license headers and add license files
Friedrich W. H. Kossebau [Mon, 1 Aug 2011 13:48:49 +0000 (15:48 +0200)]
Update license headers and add license files

7 years agoFix Fuzzing test
Adrien Bustany [Mon, 27 Jun 2011 07:26:26 +0000 (10:26 +0300)]
Fix Fuzzing test

7 years agoAdd fuzzing test
Adrien Bustany [Wed, 22 Jun 2011 10:40:38 +0000 (13:40 +0300)]
Add fuzzing test

7 years agoAdd unescapeIri method to Utils
Adrien Bustany [Wed, 22 Jun 2011 11:02:10 +0000 (14:02 +0300)]
Add unescapeIri method to Utils

7 years agoEnsure that IRI percent escapes are always two chars
Adrien Bustany [Thu, 23 Jun 2011 10:20:55 +0000 (13:20 +0300)]
Ensure that IRI percent escapes are always two chars

7 years agoAlso escape '%' in URIs
Adrien Bustany [Wed, 22 Jun 2011 08:37:04 +0000 (11:37 +0300)]
Also escape '%' in URIs

Since % is the escape char, it makes sense to escape it as well...

7 years agoRelease 0.1.10-1 harmattan/0.1.10-1
Adrien Bustany [Sat, 11 Jun 2011 11:34:56 +0000 (14:34 +0300)]
Release 0.1.10-1

7 years agoTest escaping in UtData::testBlankValue
Adrien Bustany [Sat, 11 Jun 2011 11:09:32 +0000 (14:09 +0300)]
Test escaping in UtData::testBlankValue

7 years agoUtils::escapeIri: Avoid useless QChar cast
Adrien Bustany [Sat, 11 Jun 2011 11:05:12 +0000 (14:05 +0300)]
Utils::escapeIri: Avoid useless QChar cast

7 years agoPrevent forbidden characters in SPARQL for Variable and BlankValue
Adrien Bustany [Sat, 11 Jun 2011 09:20:00 +0000 (12:20 +0300)]
Prevent forbidden characters in SPARQL for Variable and BlankValue

7 years agoComplete ut_data::testGraph
Adrien Bustany [Wed, 1 Jun 2011 13:07:16 +0000 (16:07 +0300)]
Complete ut_data::testGraph

7 years agoExists: remove dead code
Adrien Bustany [Wed, 1 Jun 2011 12:59:33 +0000 (15:59 +0300)]
Exists: remove dead code

7 years agoComplete ut_data::testCompositionalSelect
Adrien Bustany [Wed, 1 Jun 2011 12:54:39 +0000 (15:54 +0300)]
Complete ut_data::testCompositionalSelect

7 years agoCompositionalSelect: Fix operator==
Adrien Bustany [Wed, 1 Jun 2011 12:52:33 +0000 (15:52 +0300)]
CompositionalSelect: Fix operator==

7 years agout_data: Use MAKEVAR where possible
Adrien Bustany [Wed, 1 Jun 2011 12:39:31 +0000 (15:39 +0300)]
ut_data: Use MAKEVAR where possible

7 years agoAdd test for Projection
Adrien Bustany [Wed, 1 Jun 2011 12:22:21 +0000 (15:22 +0300)]
Add test for Projection

7 years agoAdd possibility to add alias for literal projections
Adrien Bustany [Wed, 1 Jun 2011 12:18:39 +0000 (15:18 +0300)]
Add possibility to add alias for literal projections

7 years agoReplace uses of Variable(QString()) with Variable::invalid() in tests
Adrien Bustany [Wed, 1 Jun 2011 08:29:55 +0000 (11:29 +0300)]
Replace uses of Variable(QString()) with Variable::invalid() in tests

7 years agoReplace uses of Variable(QString()) with Variable::invalid()
Adrien Bustany [Wed, 1 Jun 2011 08:28:12 +0000 (11:28 +0300)]
Replace uses of Variable(QString()) with Variable::invalid()

7 years agoProjection: Default to invalid variable if alias is not specified
Adrien Bustany [Wed, 1 Jun 2011 08:23:32 +0000 (11:23 +0300)]
Projection: Default to invalid variable if alias is not specified

7 years agoAdd Variable::create() and Variable::invalid()
Adrien Bustany [Wed, 1 Jun 2011 08:06:37 +0000 (11:06 +0300)]
Add Variable::create() and Variable::invalid()

Those static constructors provides clearer names, and should be
preferred to Variable() and Variable(QString()).

7 years agoUpdate TODO
Adrien Bustany [Wed, 1 Jun 2011 07:41:48 +0000 (10:41 +0300)]
Update TODO

7 years agoAdd test for PredicateFunction
Adrien Bustany [Tue, 31 May 2011 06:56:20 +0000 (09:56 +0300)]
Add test for PredicateFunction

7 years agoAdd missing PredicateFunctionData::functionType
Adrien Bustany [Tue, 31 May 2011 06:04:33 +0000 (09:04 +0300)]
Add missing PredicateFunctionData::functionType

7 years agoAdd run-coverage.sh script
Adrien Bustany [Mon, 30 May 2011 12:29:30 +0000 (15:29 +0300)]
Add run-coverage.sh script

Run this script to compile Cubi and run the coverage tests on it. The
output is stored in the coverage folder, particularly coverage/html.
GCov and LCov are required for this script to work.

7 years agoRemove cubi.pc from CLEANFILES
Adrien Bustany [Mon, 30 May 2011 12:31:47 +0000 (15:31 +0300)]
Remove cubi.pc from CLEANFILES

7 years agoRelease 0.1.9-1 harmattan/0.1.9-1
Adrien Bustany [Mon, 23 May 2011 11:07:47 +0000 (14:07 +0300)]
Release 0.1.9-1

7 years agoLiteralValue: Remove workaround for QDateTime
Adrien Bustany [Mon, 23 May 2011 10:55:04 +0000 (13:55 +0300)]
LiteralValue: Remove workaround for QDateTime

The upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-18290 was
fixed, so we can now hope QDateTime::toString behaves properly.

7 years agoRelease 0.1.8-1 harmattan/0.1.8-1
Adrien Bustany [Tue, 17 May 2011 08:46:24 +0000 (11:46 +0300)]
Release 0.1.8-1

7 years agoReorder cubidefines by namespace
Adrien Bustany [Tue, 17 May 2011 08:40:09 +0000 (11:40 +0300)]
Reorder cubidefines by namespace

7 years agoAdd more functions in cubidefines
Adrien Bustany [Tue, 17 May 2011 08:35:33 +0000 (11:35 +0300)]
Add more functions in cubidefines

7 years agoAdd test stub for PatternGroup
Adrien Bustany [Tue, 17 May 2011 07:50:51 +0000 (10:50 +0300)]
Add test stub for PatternGroup

7 years agoPatternGroup: Fix crash with invalid Pattern
Adrien Bustany [Tue, 17 May 2011 07:49:59 +0000 (10:49 +0300)]
PatternGroup: Fix crash with invalid Pattern

7 years agoOntologyCompiler: generate prefixedName() for Literals too
Xavier Claessens [Thu, 21 Apr 2011 09:57:56 +0000 (11:57 +0200)]
OntologyCompiler: generate prefixedName() for Literals too

7 years agoUnify description style in debian/control
Adrien Bustany [Fri, 29 Apr 2011 14:43:25 +0000 (17:43 +0300)]
Unify description style in debian/control

7 years agocubi-oc: Update documentation
Adrien Bustany [Fri, 29 Apr 2011 14:40:54 +0000 (17:40 +0300)]
cubi-oc: Update documentation

7 years agocubi-oc: Add proper help message and option parsing
Adrien Bustany [Fri, 29 Apr 2011 14:36:46 +0000 (17:36 +0300)]
cubi-oc: Add proper help message and option parsing

7 years agocubi-oc: Remove the class-dir parameter
Adrien Bustany [Fri, 29 Apr 2011 13:43:42 +0000 (16:43 +0300)]
cubi-oc: Remove the class-dir parameter

This parameter is not used, and buggy (generated ontologies.h will be
wrong if not using the default value).

7 years agoChanges: use sync qsparql api 14
Mathias Hasselmann [Fri, 29 Apr 2011 12:17:03 +0000 (14:17 +0200)]
Changes: use sync qsparql api

RevBy: TrustMe

7 years agoChanges: read cubi-oc.overrides from cwd, no longer cubi-oc source dir
Friedrich W. H. Kossebau [Thu, 21 Apr 2011 11:02:08 +0000 (13:02 +0200)]
Changes: read cubi-oc.overrides from cwd, no longer cubi-oc source dir

RevBy: Adrien

7 years agoChanges: remove unused file ontologycompiler.overrides
Friedrich W. H. Kossebau [Thu, 21 Apr 2011 11:00:52 +0000 (13:00 +0200)]
Changes: remove unused file ontologycompiler.overrides

RevBy: Adrien

Details:
original one is in cubi-ontologies-tracker
also no need for template file, given the good docu

7 years agoAdd documentation for the ontology compiler
Adrien Bustany [Thu, 21 Apr 2011 10:44:44 +0000 (12:44 +0200)]
Add documentation for the ontology compiler

7 years agoChanges: add package info about cubi-oc
Friedrich W. H. Kossebau [Thu, 14 Apr 2011 16:44:18 +0000 (18:44 +0200)]
Changes: add package info about cubi-oc

RevBy: Adrien

7 years agoChanges: replace ontologycompiler.pro with Makefile.am
Friedrich W. H. Kossebau [Thu, 14 Apr 2011 16:43:15 +0000 (18:43 +0200)]
Changes: replace ontologycompiler.pro with Makefile.am

RevBy: Adrien

7 years agoChanges: move files for ontologycompiler into new subdir tools/ontologycompiler
Friedrich W. H. Kossebau [Thu, 14 Apr 2011 13:22:36 +0000 (15:22 +0200)]
Changes: move files for ontologycompiler into new subdir tools/ontologycompiler

RevBy: Adrien

7 years agoMerge branch 'oc' into importOC
Friedrich W. H. Kossebau [Thu, 14 Apr 2011 13:15:10 +0000 (15:15 +0200)]
Merge branch 'oc' into importOC

7 years agoChanges: ensure versioned cubi.pc file directly within AC_CONFIG_FILES in configure.ac
Friedrich W. H. Kossebau [Tue, 19 Apr 2011 15:39:22 +0000 (17:39 +0200)]
Changes: ensure versioned cubi.pc file directly within AC_CONFIG_FILES in configure.ac

RevBy: Adrien