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

7 years agoInclude ut_optim in test suite scripts
Adrien Bustany [Mon, 13 Dec 2010 11:21:54 +0000 (13:21 +0200)]
Include ut_optim in test suite scripts

7 years agoAvoid using Q_UNUSED
Adrien Bustany [Mon, 13 Dec 2010 11:21:27 +0000 (13:21 +0200)]
Avoid using Q_UNUSED

7 years agoFix typo in removeDuplicatePatterns comment
Adrien Bustany [Mon, 13 Dec 2010 11:18:32 +0000 (13:18 +0200)]
Fix typo in removeDuplicatePatterns comment

7 years agoProperly use QFlags for Options::SparqlOptions
Adrien Bustany [Mon, 13 Dec 2010 11:12:50 +0000 (13:12 +0200)]
Properly use QFlags for Options::SparqlOptions

7 years agoPatternGroup: Properly handle OPTIONALs in flatten()
Adrien Bustany [Fri, 10 Dec 2010 20:36:30 +0000 (22:36 +0200)]
PatternGroup: Properly handle OPTIONALs in flatten()

7 years agoAdd more optim unit tests
Adrien Bustany [Fri, 10 Dec 2010 14:47:49 +0000 (16:47 +0200)]
Add more optim unit tests

7 years agoOptim: nest OPTIONAL statements
Adrien Bustany [Thu, 9 Dec 2010 16:07:41 +0000 (18:07 +0200)]
Optim: nest OPTIONAL statements

7 years agoPattern: add qHash function
Adrien Bustany [Thu, 9 Dec 2010 16:06:58 +0000 (18:06 +0200)]
Pattern: add qHash function

7 years agoPatternBase: Add Sparql options
Adrien Bustany [Fri, 10 Dec 2010 12:45:43 +0000 (14:45 +0200)]
PatternBase: Add Sparql options

7 years agoPatternGroup: Don't return "OPTIONAL { }"
Adrien Bustany [Fri, 3 Dec 2010 15:59:08 +0000 (17:59 +0200)]
PatternGroup: Don't return "OPTIONAL { }"

An empty optional pattern group could return that string.

7 years agoUpdate ut_select for ORDER BY change
Adrien Bustany [Fri, 3 Dec 2010 15:29:12 +0000 (17:29 +0200)]
Update ut_select for ORDER BY change

7 years agoPatternGroup: Move duplicate removal in function
Adrien Bustany [Fri, 3 Dec 2010 15:27:45 +0000 (17:27 +0200)]
PatternGroup: Move duplicate removal in function

7 years agoInfixFunction: Reduce excessive parenthesis generation
Adrien Bustany [Fri, 3 Dec 2010 15:27:01 +0000 (17:27 +0200)]
InfixFunction: Reduce excessive parenthesis generation

7 years agoFix ORDER BY rendering
Adrien Bustany [Thu, 2 Dec 2010 11:19:02 +0000 (13:19 +0200)]
Fix ORDER BY rendering

7 years agoAdd some comments to explain "flatten" in patterngroup.cpp
Adrien Bustany [Wed, 1 Dec 2010 22:29:01 +0000 (00:29 +0200)]
Add some comments to explain "flatten" in patterngroup.cpp

7 years agoCodestyle: use references where possible in casts
Adrien Bustany [Wed, 1 Dec 2010 22:20:40 +0000 (00:20 +0200)]
Codestyle: use references where possible in casts

7 years agoLiteralValue: handle lists lists
Adrien Bustany [Mon, 29 Nov 2010 17:06:04 +0000 (19:06 +0200)]
LiteralValue: handle lists

7 years agoOptimization: Remove duplicate statements in a group
Adrien Bustany [Wed, 24 Nov 2010 21:29:44 +0000 (23:29 +0200)]
Optimization: Remove duplicate statements in a group

7 years agoLiteralValue: fix isValid
Adrien Bustany [Mon, 29 Nov 2010 16:19:08 +0000 (18:19 +0200)]
LiteralValue: fix isValid

Return true only for supported data types.

7 years agoHide InsertData and DeleteData from doc
Adrien Bustany [Wed, 24 Nov 2010 20:23:17 +0000 (22:23 +0200)]
Hide InsertData and DeleteData from doc

7 years agoFix license headers for tests
Adrien Bustany [Sun, 28 Nov 2010 13:48:28 +0000 (15:48 +0200)]
Fix license headers for tests

7 years agoFix wrong return value in FilterData::sparql()
Adrien Bustany [Sun, 28 Nov 2010 13:44:59 +0000 (15:44 +0200)]
Fix wrong return value in FilterData::sparql()

7 years agoFix license headers
Adrien Bustany [Sun, 28 Nov 2010 13:43:04 +0000 (15:43 +0200)]
Fix license headers

7 years agoChanges: Update .gitignore file
Mathias Hasselmann [Thu, 25 Nov 2010 00:17:09 +0000 (01:17 +0100)]
Changes: Update .gitignore file

RevBy: TrustMe

7 years agoNew: qmake project file for static builds
Mathias Hasselmann [Thu, 25 Nov 2010 00:14:04 +0000 (01:14 +0100)]
New: qmake project file for static builds

RevBy: TrustMe

7 years agoFix typo in Value doc
Adrien Bustany [Wed, 24 Nov 2010 19:23:05 +0000 (21:23 +0200)]
Fix typo in Value doc

7 years agoAdd Filter class back
Adrien Bustany [Wed, 24 Nov 2010 17:11:16 +0000 (19:11 +0200)]
Add Filter class back

This reverts commit 9bf8facbb8f1bf094d7572eb61ad55c817de4874.

7 years agoAdd operator== to more classes
Adrien Bustany [Wed, 24 Nov 2010 19:19:50 +0000 (21:19 +0200)]
Add operator== to more classes

7 years agoAdd TODO
Adrien Bustany [Wed, 24 Nov 2010 18:55:42 +0000 (20:55 +0200)]
Add TODO

7 years agoRevert "Add Filter class"
Adrien Bustany [Wed, 24 Nov 2010 17:04:09 +0000 (19:04 +0200)]
Revert "Add Filter class"

This reverts commit e970a67cd8b45ef762df1deb2392df67ae20096f.

7 years agoAdd Value::operator== and Value::type
Adrien Bustany [Wed, 24 Nov 2010 14:47:06 +0000 (16:47 +0200)]
Add Value::operator== and Value::type

7 years agoAdd Function::functionType()
Adrien Bustany [Wed, 24 Nov 2010 15:58:19 +0000 (17:58 +0200)]
Add Function::functionType()

7 years agoAdd Filter class
Adrien Bustany [Wed, 24 Nov 2010 15:45:43 +0000 (17:45 +0200)]
Add Filter class

7 years agoResourceValue: rename type() to resourceType()
Adrien Bustany [Wed, 24 Nov 2010 14:42:43 +0000 (16:42 +0200)]
ResourceValue: rename type() to resourceType()

7 years agoRemove dead code in PatternGroup
Adrien Bustany [Wed, 24 Nov 2010 09:15:06 +0000 (11:15 +0200)]
Remove dead code in PatternGroup

7 years agoChanges: Add gitignore file
Mathias Hasselmann [Wed, 24 Nov 2010 14:30:20 +0000 (15:30 +0100)]
Changes: Add gitignore file

RevBy: TrustMe

7 years agoIntroduce PredicateFunction
Adrien Bustany [Mon, 22 Nov 2010 12:58:49 +0000 (14:58 +0200)]
Introduce PredicateFunction

This new class is needed because PrefixFunction doesn't cut it when one
has to deal with the full url of the predicate.

7 years agoFix copy paste typos in PrefixFunction doc
Adrien Bustany [Mon, 22 Nov 2010 12:20:34 +0000 (14:20 +0200)]
Fix copy paste typos in PrefixFunction doc

7 years agoAdd support for blank nodes in queries
Adrien Bustany [Mon, 22 Nov 2010 11:51:25 +0000 (13:51 +0200)]
Add support for blank nodes in queries

7 years agoVariable: reset "auto" bit on setName
Adrien Bustany [Mon, 22 Nov 2010 11:31:19 +0000 (13:31 +0200)]
Variable: reset "auto" bit on setName

7 years agoAdd missing license header in cubi.h
Adrien Bustany [Mon, 22 Nov 2010 08:28:03 +0000 (10:28 +0200)]
Add missing license header in cubi.h

7 years agoWorkaround http://bugreports.qt.nokia.com/browse/QTBUG-9698
Adrien Bustany [Thu, 18 Nov 2010 15:19:55 +0000 (17:19 +0200)]
Workaround bugreports.qt.nokia.com/browse/QTBUG-9698

When rendering a UTC QDateTime in a ISO 8601 string, Qt does not append
the trailing Z. This commit works around this behaviour.

7 years agoFix typo in UpdateBase doc
Adrien Bustany [Mon, 15 Nov 2010 15:44:09 +0000 (17:44 +0200)]
Fix typo in UpdateBase doc

7 years agoProperly declare clone functions
Adrien Bustany [Mon, 15 Nov 2010 15:26:52 +0000 (17:26 +0200)]
Properly declare clone functions

7 years agoFix ut_select unit test
Adrien Bustany [Wed, 10 Nov 2010 13:47:21 +0000 (15:47 +0200)]
Fix ut_select unit test

7 years agoFix: Don't always add alias for function projections or subselects
Adrien Bustany [Wed, 10 Nov 2010 13:38:10 +0000 (15:38 +0200)]
Fix: Don't always add alias for function projections or subselects

7 years agoVariable: fix doc
Adrien Bustany [Wed, 10 Nov 2010 13:13:01 +0000 (15:13 +0200)]
Variable: fix doc

7 years agoInfixFunction: Allow arbitrary number of params
Adrien Bustany [Sun, 7 Nov 2010 17:10:30 +0000 (19:10 +0200)]
InfixFunction: Allow arbitrary number of params

7 years agoProperly quote DateTime in Sparql
Adrien Bustany [Fri, 5 Nov 2010 16:01:10 +0000 (18:01 +0200)]
Properly quote DateTime in Sparql

7 years agoPatternGroup: Fix sparql generation with empty groups
Adrien Bustany [Fri, 5 Nov 2010 12:21:25 +0000 (14:21 +0200)]
PatternGroup: Fix sparql generation with empty groups

When embedding nested empty PatternGroups in another group, PatternGroup
would produce a syntactically incorrect output (joining empty
statements).

7 years agoResourceValue: Add support for prefixed names
Adrien Bustany [Fri, 5 Nov 2010 10:40:56 +0000 (12:40 +0200)]
ResourceValue: Add support for prefixed names

7 years agoVariable: Remove _ prefix for auto-generated names
Adrien Bustany [Fri, 5 Nov 2010 08:56:27 +0000 (10:56 +0200)]
Variable: Remove _ prefix for auto-generated names

7 years agoVariable: Generate name when calling empty constructor
Adrien Bustany [Fri, 5 Nov 2010 08:44:29 +0000 (10:44 +0200)]
Variable: Generate name when calling empty constructor

7 years agoAdd empty constructor for Pattern
Adrien Bustany [Thu, 4 Nov 2010 13:50:06 +0000 (15:50 +0200)]
Add empty constructor for Pattern

7 years agoAdd PatternBase::isValid
Adrien Bustany [Thu, 4 Nov 2010 13:33:08 +0000 (15:33 +0200)]
Add PatternBase::isValid

7 years agoAdd PatternBase::isUnion
Adrien Bustany [Thu, 4 Nov 2010 13:01:34 +0000 (15:01 +0200)]
Add PatternBase::isUnion

7 years agoUnion: add Empty constructor
Adrien Bustany [Thu, 4 Nov 2010 12:56:13 +0000 (14:56 +0200)]
Union: add Empty constructor

7 years agoAdd ORDER BY in Select
Adrien Bustany [Wed, 3 Nov 2010 13:32:02 +0000 (15:32 +0200)]
Add ORDER BY in Select

7 years agoRemove leftover asserts from development
Adrien Bustany [Wed, 3 Nov 2010 13:31:21 +0000 (15:31 +0200)]
Remove leftover asserts from development

7 years agoAdd == operator to Value subclasses
Adrien Bustany [Tue, 2 Nov 2010 14:39:33 +0000 (16:39 +0200)]
Add == operator to Value subclasses

7 years agoHide more private classes from doc
Adrien Bustany [Tue, 2 Nov 2010 14:30:23 +0000 (16:30 +0200)]
Hide more private classes from doc

7 years agoFix shared data and move API to use values and not pointers
Adrien Bustany [Tue, 2 Nov 2010 14:27:30 +0000 (16:27 +0200)]
Fix shared data and move API to use values and not pointers

7 years agoPut all classes in the Cubi namespace
Adrien Bustany [Fri, 29 Oct 2010 10:05:22 +0000 (13:05 +0300)]
Put all classes in the Cubi namespace

7 years agoAdd global header that includes everything
Adrien Bustany [Fri, 29 Oct 2010 08:27:09 +0000 (11:27 +0300)]
Add global header that includes everything

7 years agoReinforce include guards
Adrien Bustany [Fri, 29 Oct 2010 08:18:16 +0000 (11:18 +0300)]
Reinforce include guards

7 years agoAdd missing doc file
Adrien Bustany [Fri, 29 Oct 2010 08:04:27 +0000 (11:04 +0300)]
Add missing doc file

7 years agoAdd missing private headers
Adrien Bustany [Fri, 29 Oct 2010 08:02:58 +0000 (11:02 +0300)]
Add missing private headers

7 years agoUnion: add setters for lhs and rhs
Adrien Bustany [Fri, 29 Oct 2010 07:50:36 +0000 (10:50 +0300)]
Union: add setters for lhs and rhs

7 years agoResourceValue: Add setter for IRI
Adrien Bustany [Fri, 29 Oct 2010 07:47:21 +0000 (10:47 +0300)]
ResourceValue: Add setter for IRI

7 years agoPut doxygen in quiet mode
Adrien Bustany [Fri, 29 Oct 2010 07:42:41 +0000 (10:42 +0300)]
Put doxygen in quiet mode

7 years agoFix doxygen formatting errors
Adrien Bustany [Fri, 29 Oct 2010 07:41:53 +0000 (10:41 +0300)]
Fix doxygen formatting errors

7 years agoPattern: add setters for subject, predicate, object
Adrien Bustany [Fri, 29 Oct 2010 07:41:24 +0000 (10:41 +0300)]
Pattern: add setters for subject, predicate, object

7 years agoGraph: rename graph() to iri() and add setter
Adrien Bustany [Fri, 29 Oct 2010 07:29:39 +0000 (10:29 +0300)]
Graph: rename graph() to iri() and add setter

7 years agoFunction: add setParameters for consistency
Adrien Bustany [Fri, 29 Oct 2010 07:26:50 +0000 (10:26 +0300)]
Function: add setParameters for consistency

7 years agoAdd documentation for ResourceValue
Adrien Bustany [Fri, 29 Oct 2010 07:22:48 +0000 (10:22 +0300)]
Add documentation for ResourceValue

7 years agoAdd documentation for LiteralValue
Adrien Bustany [Fri, 29 Oct 2010 07:19:13 +0000 (10:19 +0300)]
Add documentation for LiteralValue

7 years agoAdd simple script to run all tests in autovalgrind mode
Adrien Bustany [Fri, 29 Oct 2010 07:11:47 +0000 (10:11 +0300)]
Add simple script to run all tests in autovalgrind mode

7 years agoMerge all literal value classes in new LiteralValue class
Adrien Bustany [Fri, 29 Oct 2010 07:11:06 +0000 (10:11 +0300)]
Merge all literal value classes in new LiteralValue class

7 years agoAdd license headers
Adrien Bustany [Fri, 29 Oct 2010 06:25:45 +0000 (09:25 +0300)]
Add license headers

7 years agoAdd doc
Adrien Bustany [Thu, 28 Oct 2010 15:08:47 +0000 (18:08 +0300)]
Add doc

7 years agoVariable: remove empty constructor
Adrien Bustany [Thu, 28 Oct 2010 18:20:00 +0000 (21:20 +0300)]
Variable: remove empty constructor

7 years agoRemove stray operator_p.h
Adrien Bustany [Thu, 28 Oct 2010 17:22:16 +0000 (20:22 +0300)]
Remove stray operator_p.h

7 years agoPut const modifiers when needed
Adrien Bustany [Thu, 28 Oct 2010 16:06:37 +0000 (19:06 +0300)]
Put const modifiers when needed

7 years agoSelect: rename addPattern to addRestriction
Adrien Bustany [Thu, 28 Oct 2010 15:44:35 +0000 (18:44 +0300)]
Select: rename addPattern to addRestriction

7 years agoAdd GRAPH support
Adrien Bustany [Thu, 28 Oct 2010 14:28:31 +0000 (17:28 +0300)]
Add GRAPH support

7 years agoAdd delete support
Adrien Bustany [Thu, 28 Oct 2010 11:54:06 +0000 (14:54 +0300)]
Add delete support

7 years agoAdd insert support
Adrien Bustany [Thu, 28 Oct 2010 11:13:23 +0000 (14:13 +0300)]
Add insert support

7 years agoRename ut_query to ut_select
Adrien Bustany [Thu, 28 Oct 2010 10:32:40 +0000 (13:32 +0300)]
Rename ut_query to ut_select

7 years agoAdd ValueList (support for Sparql lists)
Adrien Bustany [Thu, 28 Oct 2010 07:40:56 +0000 (10:40 +0300)]
Add ValueList (support for Sparql lists)

7 years agoFix sparql() virtualness on several Value subclasses
Adrien Bustany [Thu, 28 Oct 2010 07:13:45 +0000 (10:13 +0300)]
Fix sparql() virtualness on several Value subclasses

7 years agoAdd subqueries projections
Adrien Bustany [Thu, 28 Oct 2010 06:07:25 +0000 (09:07 +0300)]
Add subqueries projections

7 years agoRemove useless ProjectionData copy constructor
Adrien Bustany [Thu, 28 Oct 2010 06:06:46 +0000 (09:06 +0300)]
Remove useless ProjectionData copy constructor

7 years agoAdd autovalgrind to run.sh test script
Adrien Bustany [Wed, 27 Oct 2010 17:30:21 +0000 (20:30 +0300)]
Add autovalgrind to run.sh test script

autovalgrind does run the unit tests and under valgrind and checks the
output to see if a leak was detected.

7 years agoRemove Operator and make Function inherit Value instead
Adrien Bustany [Wed, 27 Oct 2010 16:39:04 +0000 (19:39 +0300)]
Remove Operator and make Function inherit Value instead

7 years agoFix projection alias handling
Adrien Bustany [Wed, 27 Oct 2010 12:24:06 +0000 (15:24 +0300)]
Fix projection alias handling

7 years agoAdd filter support
Adrien Bustany [Wed, 27 Oct 2010 11:53:05 +0000 (14:53 +0300)]
Add filter support

7 years agoAdd virtual destructors to *Data
Adrien Bustany [Wed, 27 Oct 2010 11:28:46 +0000 (14:28 +0300)]
Add virtual destructors to *Data