cubi:cubi.git
7 years agoChanges: Update .gitignore file stable
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 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

7 years agoAdd Operator base class
Adrien Bustany [Wed, 27 Oct 2010 11:02:04 +0000 (14:02 +0300)]
Add Operator base class

7 years agoPimp run.sh script for tests - now allows gdb and valgrind
Adrien Bustany [Wed, 27 Oct 2010 10:17:13 +0000 (13:17 +0300)]
Pimp run.sh script for tests - now allows gdb and valgrind

7 years agoAdd support for UNION
Adrien Bustany [Tue, 26 Oct 2010 14:58:11 +0000 (17:58 +0300)]
Add support for UNION

7 years agoAdd pattern groups
Adrien Bustany [Tue, 26 Oct 2010 12:20:17 +0000 (15:20 +0300)]
Add pattern groups

PatternGroup groups patterns together, and can hold other groups too.
Select is reimplemented using PatternGroup.

7 years agoVariable: Prefix name by _ in generated sparql
Adrien Bustany [Tue, 26 Oct 2010 13:27:58 +0000 (16:27 +0300)]
Variable: Prefix name by _ in generated sparql

Use GeneratedVariable if you want to use the real name, but that is
reserved for temporary variables generated by the query builder.

7 years agoAdd missing clone() to ValueData subclasses
Adrien Bustany [Tue, 26 Oct 2010 12:30:41 +0000 (15:30 +0300)]
Add missing clone() to ValueData subclasses

7 years agoSelect: add limit and offset
Adrien Bustany [Tue, 26 Oct 2010 10:43:03 +0000 (13:43 +0300)]
Select: add limit and offset

7 years agoSelect: add value chain addPattern
Adrien Bustany [Tue, 26 Oct 2010 09:30:20 +0000 (12:30 +0300)]
Select: add value chain addPattern

7 years agoVariable: Add setName()
Adrien Bustany [Tue, 26 Oct 2010 09:29:00 +0000 (12:29 +0300)]
Variable: Add setName()

7 years agoProperly initialize SelectData fields
Adrien Bustany [Tue, 26 Oct 2010 09:23:11 +0000 (12:23 +0300)]
Properly initialize SelectData fields

7 years agoLittle refactoring
Adrien Bustany [Mon, 25 Oct 2010 18:03:28 +0000 (21:03 +0300)]
Little refactoring

7 years agoMove Value to QSharedDataPointer
Adrien Bustany [Mon, 25 Oct 2010 12:38:58 +0000 (15:38 +0300)]
Move Value to QSharedDataPointer

7 years agoMove Projection to QSharedDataPointer
Adrien Bustany [Mon, 25 Oct 2010 12:27:04 +0000 (15:27 +0300)]
Move Projection to QSharedDataPointer

7 years agoAdd unit tests for predicate functions
Adrien Bustany [Mon, 25 Oct 2010 11:40:05 +0000 (14:40 +0300)]
Add unit tests for predicate functions

7 years agoFix Projection::sparql()
Adrien Bustany [Mon, 25 Oct 2010 11:39:38 +0000 (14:39 +0300)]
Fix Projection::sparql()

7 years agoFix projection separator in Select
Adrien Bustany [Mon, 25 Oct 2010 11:39:07 +0000 (14:39 +0300)]
Fix projection separator in Select

7 years agoAdd sparql() for Function
Adrien Bustany [Mon, 25 Oct 2010 11:38:37 +0000 (14:38 +0300)]
Add sparql() for Function

7 years agoSwitch Function to Value instead of QVariant
Adrien Bustany [Mon, 25 Oct 2010 11:38:15 +0000 (14:38 +0300)]
Switch Function to Value instead of QVariant

7 years ago1st step: very simple queries working
Adrien Bustany [Mon, 25 Oct 2010 10:28:24 +0000 (13:28 +0300)]
1st step: very simple queries working

7 years agoAdd invalid constructors for Variable and Function
Adrien Bustany [Mon, 25 Oct 2010 09:51:02 +0000 (12:51 +0300)]
Add invalid constructors for Variable and Function

7 years agoInitial commit
Adrien Bustany [Fri, 22 Oct 2010 14:24:07 +0000 (17:24 +0300)]
Initial commit