- Feb 12, 2019
-
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
Szymon Romik authored
-
- Feb 08, 2019
-
-
kkajrewicz authored
vector: rm active tx assert in vector API
-
- Feb 07, 2019
-
-
Szymon Romik authored
verify if non-const access methods/iterators works out of tx scope
-
Szymon Romik authored
it is unsafe to use some access methods/operators (e.g. at(), begin()) out of transaction scope, however we can't forbid users to use them, because there is no other way to modify elements without transaction
-
Igor Chorążewicz authored
test: cover missing vector cases based on codecov analysis
-
Szymon Romik authored
Add overload for array.range() method.
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
- Feb 06, 2019
-
-
Igor Chorążewicz authored
minor fixes to helper classes
-
Igor Chorazewicz authored
This oveload takes only 2 parameters and snapshots the entire range immediately. Return value is slice<pointer> instead of slice<range_snapshotting_iterator<T>>. This change reduces overhead of moving iterators in case where entire range is snapshotted.
-
Szymon Romik authored
Change array modifiers (assignment operators, swap and fill) behaviour.
-
Krzysztof Kajrewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
Those methods now start internal transaction so that they are seen as atomic from user's perspective. This behaviour is consistent with pmem::vector. Moreover those methods can be called only on pmem-resident objects. Unlike in pmem::vector we cannot check if object is on pmem in a constructor (because array is aggregate) so we postpone this to a swap/fill/operator= function call. This check is performed only in those functions bacause of performance overhead.
-
Szymon Romik authored
Remove string libcxx tests which won't be ported
-
kkajrewicz authored
refactor vector private methods
-
- Feb 05, 2019
-
-
Szymon Romik authored
Add get(args) method overload for v.
-
Igor Chorazewicz authored
These tests are either testing deduction guides (which won't be implemented) or using custom allocator, which cannot be used with pmem::obj::experimental::string.
-
Szymon Romik authored
-
Szymon Romik authored
Make vector's private methods more generic. It will be beneficial for implementing vector's modifiers methods.
-
Igor Chorążewicz authored
cmake: refactor the way we add tests to the project
-
Igor Chorazewicz authored
get(args) method forwards args to the objects constructor. operator= was only assuring that 'this' object was initialized by calling get. This patch also assures that object from which we assign is also initialized.
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
Marcin Ślusarz authored
Run tests with PMEM_IS_PMEM_FORCE=1
-
Marcin Ślusarz authored
Merge back changes from stable-1.5
-
Szymon Romik authored
Fix range_snapshotting iterator when snapshot_size == 0
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
When snapshot_size == 0, no snapshotting should happen. This condition must be explicitly checked inside range_snapshotting_iterator.
-
Igor Chorazewicz authored
Parameters to iterator should specify range accessible by this iterator. Before this patch those arguments described the whole array instead of just the part from start to start + n.
-
- Feb 04, 2019
-
-
Szymon Romik authored
add support for situation, if we don't want to enable valgrind tool A instrumentation, when test is ran with Valgrind tool B
-
Szymon Romik authored
Change implementation of canonical iterators for tests.
-
Igor Chorazewicz authored
-
Marcin Ślusarz authored
Update a docker image build-dependency.
-
Adam Borowski authored
It got transitioned to libunwind-dev in Oct 2014; there's still a compat alias but using it gets you shouted at.
-
- Feb 01, 2019
-
-
Igor Chorazewicz authored
New version takes iterator type instead data type. This allows for more flexible usage. For example it is required for testing pmem::obj::experimental::basic_string where required iterator type is const char*.
-
Igor Chorążewicz authored
test: remove libcxx vector tests that won't be ported
-