cubi:cubi.git
6 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

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

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

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

6 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

6 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

6 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

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

6 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

6 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).

6 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

7 years agoRemove libcubi.spec from git as it is autogenerated
Adrien Bustany [Thu, 21 Apr 2011 10:55:07 +0000 (13:55 +0300)]
Remove libcubi.spec from git as it is autogenerated

7 years agoRelease 0.1.7-1 harmattan/0.1.7-1
Adrien Bustany [Mon, 18 Apr 2011 08:38:54 +0000 (11:38 +0300)]
Release 0.1.7-1

7 years agoTurn on GroupPatterns by default
Adrien Bustany [Fri, 15 Apr 2011 08:26:35 +0000 (11:26 +0300)]
Turn on GroupPatterns by default

7 years agoFix debian/copyright as per nokia-legal advice
Xavier Claessens [Fri, 15 Apr 2011 08:22:54 +0000 (10:22 +0200)]
Fix debian/copyright as per nokia-legal advice

7 years agoUpdateBase, Insert, Delete: Move virtual sparql() method to UpdateBaseData 13
Xavier Claessens [Thu, 14 Apr 2011 13:25:57 +0000 (15:25 +0200)]
UpdateBase, Insert, Delete: Move virtual sparql() method to UpdateBaseData

This makes possible to do things like QList<UpdateBase> list; Insert i; list << i;

7 years agoPatternBase: Mark deprecated methods with Q_DECL_DEPRECATED
Xavier Claessens [Wed, 13 Apr 2011 12:21:35 +0000 (14:21 +0200)]
PatternBase: Mark deprecated methods with Q_DECL_DEPRECATED

7 years agoInsert, Delete: Deprecate constructor with a Graph
Xavier Claessens [Wed, 13 Apr 2011 10:11:36 +0000 (12:11 +0200)]
Insert, Delete: Deprecate constructor with a Graph

7 years agoLiteralValue: Make sure LiteralValue and ValueList gives the same for a QStringList
Xavier Claessens [Tue, 12 Apr 2011 09:09:09 +0000 (11:09 +0200)]
LiteralValue: Make sure LiteralValue and ValueList gives the same for a QStringList

7 years agoPatternGroup: Add a new line before FILTER when in prettyprint mode
Xavier Claessens [Tue, 12 Apr 2011 09:57:31 +0000 (11:57 +0200)]
PatternGroup: Add a new line before FILTER when in prettyprint mode

7 years agoLiteralValue: Handle LiteralValue(QStringList) the same way as any LiteralValue(QList)
Xavier Claessens [Tue, 12 Apr 2011 07:36:12 +0000 (09:36 +0200)]
LiteralValue: Handle LiteralValue(QStringList) the same way as any LiteralValue(QList)

7 years agocubidefines: add "NOT IN" function
Xavier Claessens [Mon, 11 Apr 2011 14:40:27 +0000 (16:40 +0200)]
cubidefines: add "NOT IN" function

7 years agoUpdate gitignore
Xavier Claessens [Mon, 11 Apr 2011 11:51:44 +0000 (13:51 +0200)]
Update gitignore

7 years agoAdd cubidefines.h for predifined functions
Xavier Claessens [Mon, 11 Apr 2011 11:19:37 +0000 (13:19 +0200)]
Add cubidefines.h for predifined functions

7 years agoFix debian/copyright
Adrien Bustany [Fri, 8 Apr 2011 14:25:07 +0000 (17:25 +0300)]
Fix debian/copyright

7 years agoFix testResourceValue after IRI encoding fix
Adrien Bustany [Fri, 8 Apr 2011 11:57:55 +0000 (14:57 +0300)]
Fix testResourceValue after IRI encoding fix

7 years agoMake sure we don't run tests against an installed version of Cubi
Adrien Bustany [Fri, 8 Apr 2011 11:55:23 +0000 (14:55 +0300)]
Make sure we don't run tests against an installed version of Cubi

7 years agoAdd test for LiteralValue(Url)
Adrien Bustany [Fri, 8 Apr 2011 11:55:09 +0000 (14:55 +0300)]
Add test for LiteralValue(Url)

7 years agoLiteralValue: consider urls as string
Adrien Bustany [Fri, 8 Apr 2011 11:51:45 +0000 (14:51 +0300)]
LiteralValue: consider urls as string

If you want <foobar>, use ResourceValue...

7 years agoUtils: simplify code in encodeIri
Adrien Bustany [Wed, 6 Apr 2011 13:50:04 +0000 (16:50 +0300)]
Utils: simplify code in encodeIri

7 years agoInclude cubi.spec in generated tarballs
Adrien Bustany [Wed, 6 Apr 2011 20:43:16 +0000 (23:43 +0300)]
Include cubi.spec in generated tarballs

7 years agospecfile: Set version number from automake
Adrien Bustany [Wed, 6 Apr 2011 20:02:48 +0000 (23:02 +0300)]
specfile: Set version number from automake

7 years agoRelease 0.1.6.1-1 harmattan/0.1.6.1-1
Adrien Bustany [Wed, 6 Apr 2011 11:16:52 +0000 (14:16 +0300)]
Release 0.1.6.1-1

7 years agoInclude utils.h in cubi.h
Adrien Bustany [Wed, 6 Apr 2011 11:02:07 +0000 (14:02 +0300)]
Include utils.h in cubi.h

7 years agoRelease 0.1.6-1 harmattan/0.1.6-1
Adrien Bustany [Wed, 6 Apr 2011 10:13:16 +0000 (13:13 +0300)]
Release 0.1.6-1

7 years agoAdd specfile for MeeGo
Adrien Bustany [Wed, 6 Apr 2011 10:15:26 +0000 (13:15 +0300)]
Add specfile for MeeGo

7 years agoAdd doc for CUBI_EXPLICIT_CONSTRUCTORS
Adrien Bustany [Thu, 31 Mar 2011 11:57:37 +0000 (14:57 +0300)]
Add doc for CUBI_EXPLICIT_CONSTRUCTORS

7 years agoUse CUBI_EXPLICIT_CONSTRUCTORS when building
Adrien Bustany [Thu, 31 Mar 2011 11:52:20 +0000 (14:52 +0300)]
Use CUBI_EXPLICIT_CONSTRUCTORS when building

7 years agoFix compilation with CUBI_EXPLICIT_CONSTRUCTORS
Adrien Bustany [Thu, 31 Mar 2011 11:51:55 +0000 (14:51 +0300)]
Fix compilation with CUBI_EXPLICIT_CONSTRUCTORS

7 years agoAdd CUBI_EXPLICIT compile time define
Adrien Bustany [Thu, 31 Mar 2011 11:36:52 +0000 (14:36 +0300)]
Add CUBI_EXPLICIT compile time define

When you define CUBI_EXPLICIT, all class constructors will be marjed as
explicit.

7 years agoResourceValue: Fix IRI encoding
Adrien Bustany [Wed, 6 Apr 2011 10:02:32 +0000 (13:02 +0300)]
ResourceValue: Fix IRI encoding

7 years agoFix tests after last revert (encore \u in literals)
Adrien Bustany [Fri, 1 Apr 2011 12:11:56 +0000 (15:11 +0300)]
Fix tests after last revert (encore \u in literals)

7 years agoRevert "LiteralValue: encode non ASCII chars as \uXXXX in strings"
Adrien Bustany [Thu, 31 Mar 2011 13:08:50 +0000 (16:08 +0300)]
Revert "LiteralValue: encode non ASCII chars as \uXXXX in strings"

This reverts commit 6a240a193222822284d146c07f28208274d83d05.
This commit was mistakenly pushed to master :/

7 years agoChanges: Use const where possible
Adrien Bustany [Fri, 25 Mar 2011 11:40:02 +0000 (13:40 +0200)]
Changes: Use const where possible

RevBy: TrustMe
Details:
(Based on a patch by Jens)

7 years agoFix doc generation for out-of-tree builds
Adrien Bustany [Thu, 31 Mar 2011 12:13:55 +0000 (15:13 +0300)]
Fix doc generation for out-of-tree builds

7 years agoInclude doc/mainpage.h in EXTRA_DIST
Adrien Bustany [Thu, 31 Mar 2011 12:11:16 +0000 (15:11 +0300)]
Include doc/mainpage.h in EXTRA_DIST

7 years agoMerge commit 'refs/merge-requests/12' of gitorious.org:cubi/cubi
Adrien Bustany [Tue, 29 Mar 2011 13:46:21 +0000 (16:46 +0300)]
Merge commit 'refs/merge-requests/12' of gitorious.org:cubi/cubi

7 years agoClarify doc of Insert::Insert with ConflictStrategy
Adrien Bustany [Tue, 29 Mar 2011 13:34:23 +0000 (16:34 +0300)]
Clarify doc of Insert::Insert with ConflictStrategy

7 years agoUse proper C++ cast in data() accessors.
Mathias Hasselmann [Tue, 29 Mar 2011 12:53:40 +0000 (14:53 +0200)]
Use proper C++ cast in data() accessors.

7 years agoAdd support for tracker's INSERT OR REPLACE statement.
Mathias Hasselmann [Tue, 29 Mar 2011 12:48:37 +0000 (14:48 +0200)]
Add support for tracker's INSERT OR REPLACE statement.

7 years agoAdd (incomplete) testLiteral to ut_data
Adrien Bustany [Fri, 25 Mar 2011 07:12:54 +0000 (09:12 +0200)]
Add (incomplete) testLiteral to ut_data

7 years agoLiteralValue: encode non ASCII chars as \uXXXX in strings
Adrien Bustany [Fri, 25 Mar 2011 07:12:16 +0000 (09:12 +0200)]
LiteralValue: encode non ASCII chars as \uXXXX in strings

7 years agoInfixFunction: Ignore members that generate an empty sparql
Adrien Bustany [Mon, 21 Mar 2011 09:12:39 +0000 (11:12 +0200)]
InfixFunction: Ignore members that generate an empty sparql

7 years agoChanges: Use prefix notation for resources in ontologycompiler
Adrien Bustany [Tue, 15 Mar 2011 15:26:05 +0000 (17:26 +0200)]
Changes: Use prefix notation for resources in ontologycompiler

RevBy: TrustMe

7 years agoRelease 0.1.5-3 harmattan/0.1.5-3
Adrien Bustany [Wed, 16 Mar 2011 16:40:56 +0000 (18:40 +0200)]
Release 0.1.5-3

7 years agoRelease 0.1.5-2
Adrien Bustany [Wed, 16 Mar 2011 16:31:39 +0000 (18:31 +0200)]
Release 0.1.5-2

7 years agoAdd tests for pattern grouping by subject group-patterns harmattan/0.1.5-2
Adrien Bustany [Tue, 15 Mar 2011 09:17:32 +0000 (11:17 +0200)]
Add tests for pattern grouping by subject

7 years agoAdd support for pattern grouping by subject
Adrien Bustany [Tue, 15 Mar 2011 09:17:08 +0000 (11:17 +0200)]
Add support for pattern grouping by subject

7 years agoRelease 0.1.5-1
Adrien Bustany [Mon, 14 Mar 2011 18:48:25 +0000 (20:48 +0200)]
Release 0.1.5-1

7 years agoRemove private headers from cubi.h harmattan/0.1.5-1
Adrien Bustany [Mon, 14 Mar 2011 18:45:47 +0000 (20:45 +0200)]
Remove private headers from cubi.h

7 years agoRelease 0.1.4-2
Adrien Bustany [Mon, 14 Mar 2011 18:41:36 +0000 (20:41 +0200)]
Release 0.1.4-2

7 years agoInstall global.h harmattan/0.1.4-2
Adrien Bustany [Mon, 14 Mar 2011 18:40:08 +0000 (20:40 +0200)]
Install global.h

7 years agoRelease 0.1.4-1 harmattan/0.1.4-1
Adrien Bustany [Mon, 14 Mar 2011 18:33:34 +0000 (20:33 +0200)]
Release 0.1.4-1

7 years agoSupport "parallel" deb build option
Adrien Bustany [Mon, 14 Mar 2011 18:29:36 +0000 (20:29 +0200)]
Support "parallel" deb build option

7 years agoFix cubi.prf generation
Adrien Bustany [Mon, 14 Mar 2011 18:23:41 +0000 (20:23 +0200)]
Fix cubi.prf generation

7 years agoChanges: in PatternGroup::addPattern(... ValueChain ...) do not insert twice if Value...
Friedrich W. H. Kossebau [Thu, 10 Mar 2011 14:25:12 +0000 (15:25 +0100)]
Changes: in PatternGroup::addPattern(... ValueChain ...) do not insert twice if ValueChain.count()==0

RevBy: Adrien

Details:
guess this was not seen before due to removeDuplicatePatterns()

7 years agoChanges: add a test for using group.addPattern(ValueChain) with ValueChain.count==1
Friedrich W. H. Kossebau [Thu, 10 Mar 2011 14:19:48 +0000 (15:19 +0100)]
Changes: add a test for using group.addPattern(ValueChain) with ValueChain.count==1

RevBy: Adrien

7 years agoChanges: remove unused var
Friedrich W. H. Kossebau [Thu, 10 Mar 2011 14:04:13 +0000 (15:04 +0100)]
Changes: remove unused var

RevBy: TrustMe

7 years agoRelease 0.1.3-1
Adrien Bustany [Fri, 11 Mar 2011 16:19:46 +0000 (18:19 +0200)]
Release 0.1.3-1

7 years agoFix package dependencies in debian/control harmattan/0.1.3-1
Adrien Bustany [Fri, 11 Mar 2011 15:31:01 +0000 (17:31 +0200)]
Fix package dependencies in debian/control

7 years agoFix memory ref-counting in CompositionalSelect
Adrien Bustany [Thu, 10 Mar 2011 13:03:59 +0000 (15:03 +0200)]
Fix memory ref-counting in CompositionalSelect

7 years agoAdd tests for CompositionalSelect
Adrien Bustany [Thu, 10 Mar 2011 11:49:59 +0000 (13:49 +0200)]
Add tests for CompositionalSelect

7 years agoAdd CompositionalSelect class
Adrien Bustany [Thu, 10 Mar 2011 11:28:31 +0000 (13:28 +0200)]
Add CompositionalSelect class

7 years agoChanges: Update generated ontologies to use QString for Iri
Jens Georg [Tue, 1 Mar 2011 20:45:43 +0000 (22:45 +0200)]
Changes: Update generated ontologies to use QString for Iri

RevBy: coco

7 years agoPatternGroup: use lastIndex when possible in sparql()
Adrien Bustany [Wed, 9 Mar 2011 07:12:25 +0000 (09:12 +0200)]
PatternGroup: use lastIndex when possible in sparql()

7 years agoMerge remote branch 'origin/master'
Adrien Bustany [Mon, 7 Mar 2011 11:58:45 +0000 (13:58 +0200)]
Merge remote branch 'origin/master'

7 years agoRelease 0.1.2-1
Adrien Bustany [Mon, 7 Mar 2011 11:55:29 +0000 (13:55 +0200)]
Release 0.1.2-1

7 years agoReplace all usages of Q_ASSERT_X by qFatal harmattan/0.1.2-1
Adrien Bustany [Mon, 7 Mar 2011 11:24:34 +0000 (13:24 +0200)]
Replace all usages of Q_ASSERT_X by qFatal

Q_ASSERT_X can be disabled at compile time, whereas not even Chuck
Norris can avoid qFatal.

7 years agoMake Url string default for ResourceValue(QString) constructor
Jens Georg [Tue, 1 Mar 2011 15:40:15 +0000 (17:40 +0200)]
Make Url string default for ResourceValue(QString) constructor

RevBy: Adrien Bustany <adrien.bustany@nokia.com>

7 years agoPatternGroup: Small efficiency cleanups related to useless dots
Adrien Bustany [Thu, 3 Mar 2011 10:00:36 +0000 (11:00 +0100)]
PatternGroup: Small efficiency cleanups related to useless dots

7 years agoPatternGroup: Avoid unnecessary dots to separate groups
Adrien Bustany [Mon, 28 Feb 2011 13:34:47 +0000 (15:34 +0200)]
PatternGroup: Avoid unnecessary dots to separate groups

7 years agoAdd tests for ResourceValue in ut_data
Adrien Bustany [Wed, 9 Feb 2011 08:22:49 +0000 (10:22 +0200)]
Add tests for ResourceValue in ut_data

7 years agoFix IRI encoding in ResourceValue
Adrien Bustany [Wed, 9 Feb 2011 08:22:33 +0000 (10:22 +0200)]
Fix IRI encoding in ResourceValue

7 years agoAdd test for Graph
Adrien Bustany [Thu, 3 Feb 2011 13:00:28 +0000 (15:00 +0200)]
Add test for Graph

7 years agoAdapt the Graph API to fit more with the rest of the classes
Adrien Bustany [Thu, 3 Feb 2011 13:00:12 +0000 (15:00 +0200)]
Adapt the Graph API to fit more with the rest of the classes

7 years agoChanges: allow to set also a Variable as Graph id
Friedrich W. H. Kossebau [Thu, 3 Feb 2011 10:34:51 +0000 (11:34 +0100)]
Changes: allow to set also a Variable as Graph id

RevBy: Adrien

7 years agoMerge branch 'coverage'
Adrien Bustany [Thu, 3 Feb 2011 11:28:16 +0000 (13:28 +0200)]
Merge branch 'coverage'

7 years agoFixes: PredicateFunction produced bad sparql-output with only a value separator ...
Friedrich W. H. Kossebau [Tue, 1 Feb 2011 02:42:59 +0000 (03:42 +0100)]
Fixes: PredicateFunction produced bad sparql-output with only a value separator != default one

RevBy: TrustMe

7 years agoFix configure if qmake is not named qmake
Adrien Bustany [Sun, 30 Jan 2011 20:54:05 +0000 (22:54 +0200)]
Fix configure if qmake is not named qmake

7 years agoChanges: adds option to also fetch graph, with setters/getters for valueSeparator...
Friedrich W. H. Kossebau [Thu, 20 Jan 2011 07:30:05 +0000 (08:30 +0100)]
Changes: adds option to also fetch graph, with setters/getters for valueSeparator and graphSeparator

RevBy: Adrien

7 years agoAdd more tests for Function/PredicateFunction/InfixFunction
Adrien Bustany [Thu, 27 Jan 2011 13:04:17 +0000 (15:04 +0200)]
Add more tests for Function/PredicateFunction/InfixFunction

7 years agoInfixFunction: Fix sparql with no parameters
Adrien Bustany [Thu, 27 Jan 2011 13:04:01 +0000 (15:04 +0200)]
InfixFunction: Fix sparql with no parameters