summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
* Merge branch 'unqlite'Aaron Seigo2014-12-14
|\
| * and now unqlite storage worksAaron Seigo2014-12-14
| |
| * build unqlite with thread supportAaron Seigo2014-12-14
| |
| * remove readAll in favor of using scanAaron Seigo2014-12-14
| |
| * try out unqliteAaron Seigo2014-12-11
| |
* | remove readAll in favor of using scanAaron Seigo2014-12-14
| |
* | Missing includesDan Vrátil2014-12-12
|/
* keep the databases separateAaron Seigo2014-12-11
| | | | | | | | | | | | | otherwise, to keep all the dbs in the same file we need to call mdb_env_set_maxdbs before mdb_env_open ... and even then the docs say: "Currently a moderate number of slots are cheap but a huge number gets expensive: 7-120 words per transaction, and every mdb_dbi_open() does a linear search of the opened slots." Ugh. that and the mem mapping probably gets screwed oever .. whatever. this way hawd works again :)
* don't miss the first item in the database!Aaron Seigo2014-12-11
|
* add a read that gets keys and valuesAaron Seigo2014-12-11
| | | | (this really really really needs a cleanup now)
* add another read method and expose a basic error handler for convenienceAaron Seigo2014-12-11
| | | | also, add some todos
* some TODOsAaron Seigo2014-12-11
|
* Storage: implemented scanChristian Mollekopf2014-12-10
| | | | | | This can replace all our read calls. Note that we need a different API for databases where the value needs to be loaded first, so we can do a key scan before loading values. With this we can do key + value scans in one though.
* ugh. this ship is sinkingAaron Seigo2014-12-06
|
* standardize on calling it Akonadi2Aaron Seigo2014-12-06
|
* place to put generic parts of the Storage class implAaron Seigo2014-12-06
|
* implement scanningAaron Seigo2014-12-06
|
* read takes an error handler rather than returns a boolAaron Seigo2014-12-06
|
* require users of a Storage class to state up-front if they are read or readwriteAaron Seigo2014-12-05
|
* buildAaron Seigo2014-12-05
|
* Merge branch 'kyoto'Aaron Seigo2014-12-05
|\ | | | | | | | | | | | | | | | | Conflicts: common/storage.h common/storage_lmdb.cpp dummyresource/facade.cpp store/test/CMakeLists.txt tests/storagebenchmark.cpp
| * make read return a bool on successAaron Seigo2014-12-05
| | | | | | | | | | not happy with this API, but we need to discuss the whole read thing anyways
| * major reorg that puts Storage (previously Database) into commonAaron Seigo2014-12-05
|/ | | | | there is now a top-level tests dir, and a compile time switch for lmdb vs kyotocabinet
* missing fileAaron Seigo2014-12-04
|
* consolidate command writing to avoid duplicating those 4 lines everywhereAaron Seigo2014-12-02
|
* small cleanupAaron Seigo2014-12-02
|
* timestamp messages and use a fixed font for the outputAaron Seigo2014-12-02
|
* toynadi -> akonadinextAaron Seigo2014-12-02
|
* send revision updates from resource to clientAaron Seigo2014-12-01
| | | | this includes an initial revision message on connect
* create a common lib, autogen the buffer classes there dynamicallyAaron Seigo2014-11-30
| | | | | | | | | | simplifies the generate_buffers function a bit. only missing part now: get the binaries to rebuild when the buffer class is updated. apparently this doesn't cause the common library to rebuild and so the client and resource binaries don't know they need to rebuild automatically. but at least the _generated.h files are now dynamically created. huzzah for that.
* add flatbuffer support and use that for the handshakeAaron Seigo2014-11-30
|
* namespace for command idsAaron Seigo2014-11-21
|
* sketch in the client/resource modelAaron Seigo2014-11-20