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

7 years agoAdd more tests for Filter
Adrien Bustany [Thu, 27 Jan 2011 12:32:07 +0000 (14:32 +0200)]
Add more tests for Filter

7 years agoFilter: Implement Value::type and fix FilterData copy ctor
Adrien Bustany [Thu, 27 Jan 2011 12:31:05 +0000 (14:31 +0200)]
Filter: Implement Value::type and fix FilterData copy ctor

7 years agoAdd more tests for Delete
Adrien Bustany [Thu, 27 Jan 2011 11:54:35 +0000 (13:54 +0200)]
Add more tests for Delete

7 years agoAdd test for Exists
Adrien Bustany [Thu, 27 Jan 2011 11:53:23 +0000 (13:53 +0200)]
Add test for Exists

7 years agoDon't gitignore Makefile.am
Adrien Bustany [Thu, 27 Jan 2011 11:20:15 +0000 (13:20 +0200)]
Don't gitignore Makefile.am

7 years agoAdd ut_data test
Adrien Bustany [Thu, 27 Jan 2011 11:19:52 +0000 (13:19 +0200)]
Add ut_data test

7 years agoBlankValue: implement type() and fix == and !=
Adrien Bustany [Thu, 27 Jan 2011 11:18:48 +0000 (13:18 +0200)]
BlankValue: implement type() and fix == and !=

7 years agout_select: Add more tests
Adrien Bustany [Thu, 27 Jan 2011 09:45:43 +0000 (11:45 +0200)]
ut_select: Add more tests

7 years agoValue: two invalid values are always equal
Adrien Bustany [Thu, 27 Jan 2011 09:45:22 +0000 (11:45 +0200)]
Value: two invalid values are always equal

7 years agoProjection: Set invalid variable by default, and fix ==
Adrien Bustany [Thu, 27 Jan 2011 09:44:46 +0000 (11:44 +0200)]
Projection: Set invalid variable by default, and fix ==

7 years agoFix coverage support
Adrien Bustany [Thu, 27 Jan 2011 09:42:26 +0000 (11:42 +0200)]
Fix coverage support

7 years agoAdd coverage support
Adrien Bustany [Thu, 27 Jan 2011 08:26:32 +0000 (10:26 +0200)]
Add coverage support

7 years agoUpdate debian/changelog
Adrien Bustany [Wed, 26 Jan 2011 14:07:54 +0000 (16:07 +0200)]
Update debian/changelog

7 years agoAnother try at fixing build requires harmattan/0.1.1-2
Adrien Bustany [Wed, 26 Jan 2011 13:13:16 +0000 (15:13 +0200)]
Another try at fixing build requires

7 years agoFix debian build requirements, again harmattan/0.1.1-1
Adrien Bustany [Wed, 26 Jan 2011 12:52:02 +0000 (14:52 +0200)]
Fix debian build requirements, again

7 years agoRelease 0.1.1 harmattan/0.1.1
Adrien Bustany [Wed, 26 Jan 2011 12:20:27 +0000 (14:20 +0200)]
Release 0.1.1

7 years agoAdd autoconf in debian build requirements
Adrien Bustany [Wed, 26 Jan 2011 12:13:49 +0000 (14:13 +0200)]
Add autoconf in debian build requirements

7 years agoRelease 0.1.0
Adrien Bustany [Wed, 26 Jan 2011 11:12:47 +0000 (13:12 +0200)]
Release 0.1.0

7 years agoChanges: add a TODO comment 7
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:53:14 +0000 (21:53 +0100)]
Changes: add a TODO comment

RevBy: Adrien

7 years agoChanges: use static const QStrings for "true" and "false"
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:50:23 +0000 (21:50 +0100)]
Changes: use static const QStrings for "true" and "false"

RevBy: Adrien

7 years agoChanges: minor improvements to DateTime case in LiteralValueData::sparql()
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:47:11 +0000 (21:47 +0100)]
Changes: minor improvements to DateTime case in LiteralValueData::sparql()

RevBy: Adrien

7 years agoChanges: do not create a QDateTime and a QStringList on every call of LiteralValueDat...
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:27:02 +0000 (21:27 +0100)]
Changes: do not create a QDateTime and a QStringList on every call of LiteralValueData::sparql()

RevBy: Adrien

7 years agoChanges: use QString::fromLatin1(const char*) instead of implicit QString(const char*)
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:21:55 +0000 (21:21 +0100)]
Changes: use QString::fromLatin1(const char*) instead of implicit QString(const char*)

RevBy: Adrien

7 years agoChanged: use QString::append(QString) instead of QString::append(const char*)
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:19:31 +0000 (21:19 +0100)]
Changed: use QString::append(QString) instead of QString::append(const char*)

RevBy: Adrien

7 years agoFixes: use toLatin1() instead of toAscii()
Friedrich W. H. Kossebau [Mon, 24 Jan 2011 20:17:29 +0000 (21:17 +0100)]
Fixes: use toLatin1() instead of toAscii()

RevBy: Adrien

Details:
the codec used by toAscii() can be != latin1 if somewhere else
in the process QTextCodec::setCodecForCStrings() was called,
so better directly use toLatin1()

7 years agoFix stupid typo in configure.ac
Adrien Bustany [Sat, 22 Jan 2011 12:07:51 +0000 (14:07 +0200)]
Fix stupid typo in configure.ac

7 years agoChanges: add method Select::isEmpty()
Friedrich W. H. Kossebau [Thu, 20 Jan 2011 07:30:43 +0000 (08:30 +0100)]
Changes: add method Select::isEmpty()

RevBy: Adrien

7 years agoChanges: .gitignore also all autoconf/automake files
Friedrich W. H. Kossebau [Thu, 20 Jan 2011 19:16:08 +0000 (20:16 +0100)]
Changes: .gitignore also all autoconf/automake files

RevBy: Adrien

7 years agoChanges: remove unused member SelectData::tmpVars
Friedrich W. H. Kossebau [Thu, 20 Jan 2011 08:18:31 +0000 (09:18 +0100)]
Changes: remove unused member SelectData::tmpVars

RevBy: Adrien

7 years agoPut back static.pro
Adrien Bustany [Tue, 18 Jan 2011 07:53:21 +0000 (09:53 +0200)]
Put back static.pro

7 years agoAdd debian packaging files
Adrien Bustany [Fri, 14 Jan 2011 11:27:43 +0000 (13:27 +0200)]
Add debian packaging files

7 years agoSwitch to autoconf building system
Adrien Bustany [Fri, 14 Jan 2011 12:04:37 +0000 (14:04 +0200)]
Switch to autoconf building system

7 years agoFixes: small errors in apidox 3
Friedrich W. H. Kossebau [Fri, 7 Jan 2011 16:48:11 +0000 (17:48 +0100)]
Fixes: small errors in apidox

RevBy: Adrien

7 years agoChanges: remove additional whitespace and linebreak after "INSERT" in insertTemplateP...
Friedrich W. H. Kossebau [Fri, 7 Jan 2011 14:42:21 +0000 (15:42 +0100)]
Changes: remove additional whitespace and linebreak after "INSERT" in insertTemplatePretty (sync with DELETE style)

RevBy: Adrien

7 years agoChanges: removed unused member UpdateBaseData::tmpVars
Friedrich W. H. Kossebau [Fri, 7 Jan 2011 14:25:15 +0000 (15:25 +0100)]
Changes: removed unused member UpdateBaseData::tmpVars

RevBy: Adrien

7 years agoRemove dead code in PatternGroup
Adrien Bustany [Fri, 7 Jan 2011 07:00:28 +0000 (09:00 +0200)]
Remove dead code in PatternGroup

Thanks to fkossebau for this one

7 years agoChanges: add QLatin1String()
Friedrich W. H. Kossebau [Thu, 6 Jan 2011 17:34:10 +0000 (18:34 +0100)]
Changes: add QLatin1String()

RevBy: TrustMe

7 years agoChanges: only insert to knownPatterns if not already contained
Friedrich W. H. Kossebau [Thu, 6 Jan 2011 17:33:25 +0000 (18:33 +0100)]
Changes: only insert to knownPatterns if not already contained

RevBy: Adrien

7 years agoFixes: explain actual NULL return values in APIDOX, also for unvalid Variable use...
Friedrich W. H. Kossebau [Thu, 6 Jan 2011 17:30:10 +0000 (18:30 +0100)]
Fixes: explain actual NULL return values in APIDOX, also for unvalid Variable use Variable(QString()), not Variable()

RevBy: Adrien

7 years agoFixes: error in linebreak before #ifndef CUBI_GLOBAL_H
Friedrich W. H. Kossebau [Thu, 6 Jan 2011 17:25:12 +0000 (18:25 +0100)]
Fixes: error in linebreak before #ifndef CUBI_GLOBAL_H

RevBy: TrustMe

7 years agoFixes: GeneratedVariableData::clone() did create ValueData, not GeneratedVariableData
Friedrich W. H. Kossebau [Thu, 6 Jan 2011 17:23:43 +0000 (18:23 +0100)]
Fixes: GeneratedVariableData::clone() did create ValueData, not GeneratedVariableData

RevBy: Adrien

7 years agoMake proper use of QString::mid() in Utils::escape()
Mathias Hasselmann [Wed, 5 Jan 2011 21:36:42 +0000 (22:36 +0100)]
Make proper use of QString::mid() in Utils::escape()

7 years agoAdd support for literals in filters
Adrien Bustany [Wed, 5 Jan 2011 16:18:12 +0000 (18:18 +0200)]
Add support for literals in filters

7 years agoAdd Exists to PatternBase::Type
Adrien Bustany [Wed, 5 Jan 2011 16:05:00 +0000 (18:05 +0200)]
Add Exists to PatternBase::Type

7 years agoAdd missing Exists files
Adrien Bustany [Wed, 5 Jan 2011 11:21:59 +0000 (13:21 +0200)]
Add  missing Exists files

7 years agoFix return style in Select::sparql
Adrien Bustany [Wed, 5 Jan 2011 09:50:21 +0000 (11:50 +0200)]
Fix return style in Select::sparql

7 years agoEscape control chars when pretty printing
Mathias Hasselmann [Tue, 4 Jan 2011 23:34:39 +0000 (00:34 +0100)]
Escape control chars when pretty printing

7 years agoAdd test for Exists in ut_select
Adrien Bustany [Wed, 5 Jan 2011 09:16:27 +0000 (11:16 +0200)]
Add test for Exists in ut_select

7 years agoAdd support for EXISTS
Adrien Bustany [Wed, 5 Jan 2011 09:00:36 +0000 (11:00 +0200)]
Add support for EXISTS

7 years agoFilter: cleanup unused code
Adrien Bustany [Wed, 5 Jan 2011 08:42:42 +0000 (10:42 +0200)]
Filter: cleanup unused code

7 years agoSelect: add function to add a Projection instance to projections
Adrien Bustany [Tue, 4 Jan 2011 09:58:02 +0000 (11:58 +0200)]
Select: add function to add a Projection instance to projections

7 years agoLiteralValue: add support for QVariant::Char
Adrien Bustany [Mon, 3 Jan 2011 12:22:43 +0000 (14:22 +0200)]
LiteralValue: add support for QVariant::Char

7 years agoAdd pretty printing to UpdateBase
Adrien Bustany [Sat, 18 Dec 2010 15:50:55 +0000 (17:50 +0200)]
Add pretty printing to UpdateBase

7 years agoAdd support for literal projections
Adrien Bustany [Thu, 16 Dec 2010 15:47:48 +0000 (17:47 +0200)]
Add support for literal projections

7 years agoAdd default constructor for LiteralValue
Adrien Bustany [Thu, 16 Dec 2010 15:46:18 +0000 (17:46 +0200)]
Add default constructor for LiteralValue

7 years agoMake Utils::indent smarter
Adrien Bustany [Thu, 16 Dec 2010 14:02:42 +0000 (16:02 +0200)]
Make Utils::indent smarter

7 years agoAdd DefaultSparqlOptions constant
Adrien Bustany [Thu, 16 Dec 2010 13:12:17 +0000 (15:12 +0200)]
Add DefaultSparqlOptions constant

7 years agoAdd pretty printing for a few classes
Adrien Bustany [Thu, 16 Dec 2010 13:01:01 +0000 (15:01 +0200)]
Add pretty printing for a few classes

7 years agoFix typo in PatternGroupData::sparql
Adrien Bustany [Wed, 15 Dec 2010 10:57:12 +0000 (12:57 +0200)]
Fix typo in PatternGroupData::sparql

7 years agoSimplify code in PatternGroup optims
Adrien Bustany [Mon, 13 Dec 2010 22:24:05 +0000 (00:24 +0200)]
Simplify code in PatternGroup optims

7 years agoPolish code in PatternGroupData optims
Adrien Bustany [Mon, 13 Dec 2010 15:01:37 +0000 (17:01 +0200)]
Polish code in PatternGroupData optims

7 years agoRequire duplicate removal for OPTIONAL nesting
Adrien Bustany [Mon, 13 Dec 2010 15:01:09 +0000 (17:01 +0200)]
Require duplicate removal for OPTIONAL nesting

7 years agoRemove dead code in PatternGroupData::listChains testing
Adrien Bustany [Mon, 13 Dec 2010 11:30:47 +0000 (13:30 +0200)]
Remove dead code in PatternGroupData::listChains

7 years agoAdd SparqlOptions name for 0
Adrien Bustany [Mon, 13 Dec 2010 11:28:52 +0000 (13:28 +0200)]
Add SparqlOptions name for 0

7 years agoUse safer logic in PatternGroupData::flatten
Adrien Bustany [Mon, 13 Dec 2010 11:26:43 +0000 (13:26 +0200)]
Use safer logic in PatternGroupData::flatten