- Jan 15, 2020
-
-
Lukasz Dorau authored
... because it does not get the patch part of the version any more.
-
- Jan 14, 2020
-
-
Łukasz Stolarczuk authored
Fix minor comments issues
-
Łukasz Stolarczuk authored
volatile_state: add missing include
-
- Jan 13, 2020
-
-
Łukasz Stolarczuk authored
-
Łukasz Stolarczuk authored
-
- Jan 11, 2020
-
-
Igor Chorazewicz authored
-
- Jan 10, 2020
-
-
Igor Chorążewicz authored
test: fix one type in volatile_state test
-
Igor Chorążewicz authored
Check license only in modified files
-
Lukasz Dorau authored
-
- Jan 09, 2020
-
-
Lukasz Dorau authored
It fixes the following compilation error: In file included from /libpmemobj-cpp/tests/volatile_state/\ volatile_state.cpp:33:0: /libpmemobj-cpp/tests/volatile_state/volatile_state.cpp:\ In function 'void test_vector_of_elements(pmem::obj::pool<root>&)': /libpmemobj-cpp/tests/volatile_state/volatile_state.cpp:348:30:\ error: conversion to 'size_t {aka long unsigned int}' \ from 'std::__atomic_base<int>::__int_type {aka int}' \ may change the sign of the result [-Werror=sign-conversion] UT_ASSERT(v2_initialized == NUM_ELEMENTS); ^ -
Szymon Romik authored
Make persistent_ptr_base non-template and move to main namespace
-
- Jan 08, 2020
-
-
Łukasz Stolarczuk authored
-
Łukasz Stolarczuk authored
with two more cases, explicitly using converting assignment and static_cast.
-
Łukasz Stolarczuk authored
because it was never used, and probably was erroneous (not re-calculating offset).
-
Łukasz Stolarczuk authored
-
Łukasz Stolarczuk authored
Since we want to widely use non-template version of base class it's better to have it in main (pmem::obj) namespace. Thanks to that it can be used as a type e.g. in vector to store pointers of various (template) persistent_ptr elements.
-
Łukasz Stolarczuk authored
persistent_ptr_base is changed to enable usage e.g. as a generic parameter for a function requiring any persistent_ptr. Non-template version of the base class is perfect for that. Rationale for this change is a defragmentation feature, which will operate on various persistent_ptr's.
-
Szymon Romik authored
Introduce volatile_state support class
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
And explicitly set CXX_STANDARD for each build (also set name of the build functions in run-build.sh accordingly).
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
there is a regression on devel-1.8 which causes compilation error when we do 'sudo make -j$(nproc) install'. This is a workaround.
-
Igor Chorazewicz authored
It allows persistent object to use volatile data. It is implemented as global volatile hash_map which maps PMEMoids to pointers to volatile data. The hash_map is protected by read write lock (available from C++14 hence this is the requirement for the entire feature). Volatile state stored in hash_map is cleared on pool close (only the state which is conncted to pmem objects from the closed pool).
-
- Jan 07, 2020
-
-
Szymon Romik authored
Ignore the patch part of a program's version
-
Igor Chorazewicz authored
this is neccessary for volatile_state implementation.
-
Igor Chorazewicz authored
to pool and transaction classes description.
-
Igor Chorazewicz authored
It's now possible to register callback for transaction. This implementation uses pmemobj C tx callback internally but the user is able to register multiple callbacks for each transaction stage.
-
- Jan 03, 2020
-
-
Igor Chorążewicz authored
Do not run anything on appveyor
-
Igor Chorazewicz authored
-
Lukasz Dorau authored
The patch part of a program's version almost never matters. This change is needed to accept clang-format v9.0.1 when v9.0 is required.
-
Igor Chorazewicz authored
Windows builds are now being run on github actions.
-
- Jan 02, 2020
-
-
Łukasz Stolarczuk authored
Add running tests on Github Actions for Windows
-
Igor Chorążewicz authored
Merge changes from stable-1.8
-
Igor Chorazewicz authored
Not passing required flags caused error on windows. Also including libpmemobj.h cause inclusion of type macros which would case problems with offsetoff deifnition on newer VS.
-
Igor Chorazewicz authored
Concurrent hash map does not depend on v<>.
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
this allows vcpkg integrate install to find the libraries. This allows to run cmake without the need for specifying CMAKE_PREFIX_PATH
-