Commit Graph

260 Commits

Author SHA1 Message Date
Sebastian Messmer
b8f42ee9e5 TODOs 2015-10-05 03:54:18 +02:00
Sebastian Messmer
0d09501a38 Activate ASSERT 2015-10-05 03:46:39 +02:00
Sebastian Messmer
ca9f3fe2e6 Introduce Blob::readAll() and introduce a size cache so the blob size doesn't have to be queried so often 2015-10-05 03:45:00 +02:00
Sebastian Messmer
6e436b7a59 Return reference to keys, don't copy keys 2015-10-04 17:14:02 +02:00
Sebastian Messmer
e07ddaa289 Fix traversing bug and add test case for it 2015-09-30 15:33:09 +02:00
Sebastian Messmer
faa4b0c6f8 Improve flush() 2015-09-30 13:17:35 +02:00
Sebastian Messmer
8beb5bac0b Improved traverseLeaves implementation: Faster and a bit better understandable 2015-09-30 10:19:06 +02:00
Sebastian Messmer
d72e7c2acd TODOs 2015-09-30 10:06:53 +02:00
Sebastian Messmer
d18edfb1d4 Removed unnecessary private function 2015-09-30 10:04:18 +02:00
Sebastian Messmer
51019502ec Fixed potential race condition in DataTree 2015-09-30 10:02:06 +02:00
Sebastian Messmer
61721aa795 Fix travis build icon 2015-09-13 10:55:12 +02:00
Sebastian Messmer
a3d5c20154 Merge branch 'master' into develop 2015-09-12 21:06:37 +02:00
Sebastian Messmer
9e63068115 Improve README 2015-09-12 21:06:32 +02:00
Sebastian Messmer
e96bb17e11 Removed unnecessary workaround 2015-07-29 12:07:25 +02:00
Sebastian Messmer
106f18b496 Use the new assert that doesn't crash the program in a release build 2015-07-22 13:44:04 +02:00
Sebastian Messmer
e64255a16e Removed last unique_ptr uses, all uses unique_ref now 2015-07-21 15:24:49 +02:00
Sebastian Messmer
722c94458b Removed unneccessary using statements 2015-07-21 15:10:41 +02:00
Sebastian Messmer
a923165360 Adapted to new blockstore interface (using unique_ref instead of unique_ptr) 2015-07-21 15:00:57 +02:00
Sebastian Messmer
7fc4115129 Adapt to new blockstore (Blockstore::tryCreate returns optional<unique_ref<Block>> instead of unique_ptr<Block>) 2015-07-20 19:10:46 +02:00
Sebastian Messmer
5ea654445c Use optional::value() instead of optional::get() in test cases 2015-06-28 16:59:13 +02:00
Sebastian Messmer
de5dd8a838 Use optional::value() instead of options::get() in test cases 2015-06-28 16:45:18 +02:00
Sebastian Messmer
3d1341114b Use unique_ref instead of unique_ptr 2015-06-26 15:59:18 +02:00
Sebastian Messmer
7fae2d1e59 Adapt to new cpp-utils 2015-06-21 17:43:45 +02:00
Sebastian Messmer
d1528fe541 Use C++11 uniform initialization for structs 2015-06-21 14:40:52 +02:00
Sebastian Meßmer
31cd0eb9e9 Adapt to new dynamic_pointer_move 2015-06-18 19:34:24 +02:00
Sebastian Meßmer
5039205cd2 BlobStore handles unique_ref<Blob> instead of unique_ptr<Blob> 2015-06-18 12:45:37 +02:00
Sebastian Messmer
c4f55f081a Fix for clang compiler 2015-06-10 17:18:53 +02:00
Sebastian Messmer
abf0f68432 Enable extended compiler warnings and resolve occurring ones 2015-05-08 02:10:40 +02:00
Sebastian Messmer
864169ff0d TODOs 2015-05-08 01:57:44 +02:00
Sebastian Messmer
7d6febe17f Reduce use of memcmp and use operator==(Data, Data) instead 2015-04-25 17:17:15 +02:00
Sebastian Messmer
b4e2eaa3e8 Use cpputils::DataFixture instead of DataBlockFixture 2015-04-25 16:44:00 +02:00
Sebastian Messmer
6a0623956d Use Data, DataBlockFixture from cpputils 2015-04-25 02:55:34 +02:00
Sebastian Messmer
59865030de Upgrade dependencies 2015-04-25 00:41:34 +02:00
Sebastian Messmer
f3db9ef8b9 Fill new blocks with zeroes 2015-04-25 00:31:05 +02:00
Sebastian Messmer
3d9e98d892 Fix compiler errors in tests 2015-04-25 00:08:29 +02:00
Sebastian Meßmer
f2adbf01df Adapt to new blockstore 2015-04-18 14:52:38 +02:00
Sebastian Messmer
9eec7a8c74 Resolve compatibility issue 2015-04-16 16:36:25 +02:00
Sebastian Messmer
8593963c45 Renamed CachingDataTreeStore to ParallelAccessDataTreeStore 2015-04-16 15:01:49 +02:00
Sebastian Messmer
84d1c55bc1 Adapt to new blockstore 2015-04-16 14:10:58 +02:00
Sebastian Messmer
eaa60d3a53 - Use one block flush less when growing by a traversal (the one that grows the old last leaf to max size)
- Fix numLEaves() calculation
2015-04-10 22:57:29 +02:00
Sebastian Messmer
bee68464dc When traversing a blob out of range, automatically create the leaves up to the traversed point 2015-04-10 21:52:30 +02:00
Sebastian Messmer
bb98e9b31d Fix test cases for new flushing policy 2015-04-10 00:10:49 +02:00
Sebastian Messmer
e3f7b47440 Allow Blob::flush 2015-04-09 23:41:51 +02:00
Sebastian Messmer
628f4edec0 Don't flush if not necessary 2015-04-09 23:29:29 +02:00
Sebastian Messmer
4b04226162 Work with new blockstore::Key 2015-04-09 20:07:21 +02:00
Sebastian Messmer
8b7601f216 Fix travis build 2015-04-09 18:45:25 +02:00
Sebastian Messmer
25a3ab8a22 Workaround for biicode boost 2015-04-09 18:27:29 +02:00
Sebastian Messmer
3f43dcfe10 Fix locking 2015-04-09 16:30:36 +02:00
Sebastian Messmer
9a959cfab9 DataTree is threadsafe 2015-04-09 16:10:57 +02:00
Sebastian Messmer
84401b9abf Use CachingDataTreeStore instead of DataTreeStore to avoid opening the same datatree twice in different threads 2015-04-09 15:40:27 +02:00