heck
680b058b77
Merge branch 'Release_3.2'
2 years ago
heck
ed4d0f606f
Doc: Update dependency related info
2 years ago
heck
724e0fdd5c
Build: add propper build configuration concept
2 years ago
heck
b28daa4a6f
Build: change local.conf to build.conf
2 years ago
heck
245a30f30a
v3.2.0 - Initial commit opening the release branch to carry development towards next patch-releases.
2 years ago
heck
aa73426dea
FIX: Session-Manager - Make impossible to inititalize more than once with possibly
different values
2 years ago
heck
59551595a3
C++ standard doesnt allow ';' after namespace closing '}'
2 years ago
heck
783c5673bb
move _cb_retrieve_next_sync_event_dequeue_next_sync_event() away of header file
2 years ago
heck
d24f4c266e
Module Adapter - API rename 2
inject_sync_t compat functions
2 years ago
heck
1cb9429bcb
Module Adapter - make static adapter_manages_sync_thread()
2 years ago
heck
6c8ad91cc1
Module Adapter - Improve internal terminology only
2 years ago
heck
0b02b61e61
Test: test_swarm_tofu.cc - fix over aggressive CxxCommandments
2 years ago
heck
259e40d6b4
Build: improve diag / use -isystem for dependencies
2 years ago
heck
614f1dcf7d
Improvement: update for API change - remove `PEP_SESSION.sync_obj` ( closes #14 )
2 years ago
heck
968585fda5
Test: test_swarm_group - rename var
2 years ago
heck
843804d38a
standards: NEVER use namespace std
2 years ago
heck
2717c6570e
Test: test_swarm_tofu - Uniform initialization ONLY
2 years ago
heck
cf95c75c1e
Test: test_swarm_tofu - Uniform initialization ONLY
2 years ago
heck
d6b5e8d24c
Test: test_swarm_tofu - spelling only
2 years ago
heck
7ba7ae6388
Test: test_adapter_cxx - cosmetic changes only
2 years ago
heck
04a73cce6f
Sync thread handling could be simplified.
Remove the barrier waiting for FSM init. This COULD be a problem.
But currently its not possible anymore because of the design.
IF we need to this, one option is to have another callback from the engine. Or move FSM init out of do_sync_protocol().
2 years ago
heck
3428cd1177
Session retrieval throws if the Session handling has not been initialized.
2 years ago
heck
d4bf1c1a5d
rewrite session creation function _new() / register all callbacks at session creation
remove the possibility to change SYNC/ASYNC handling of sync events at runtime.
It has to be defined at Session::initialize() and cannot be changed anymore. This is not needed.
2 years ago
heck
80d01111cf
rename refresh() to _new()
a session CANNOT be refreshed.
The reason of the whole excercise it to guarantee that all sessions created will have the same callback functions registered on the engine (the ones from the CallbackDispatcher)
2 years ago
heck
3f2de09de8
var rename only
2 years ago
heck
8cb697c31d
add logging to Session constructor
2 years ago
heck
7651712670
create sections for separate concerns Session/Sync/Passphrase/Error
to be refactored into own modules.
2 years ago
heck
7d8accd983
formatting and comments only
2 years ago
heck
7b1f8eb90a
move err-handling code to bottom
should go into own module later
2 years ago
heck
b9f9bb6cc0
standards: uniform init always
2 years ago
heck
5351251aab
Default pp-timeout set to 3h
3 years ago
heck
3976ca39f1
Test: Add resources/keys to this repo
dont use the engine test folder.
3 years ago
heck
86b96100d4
Test: Add resources/keys
3 years ago
heck
d1faffcdb8
Test: Makefile cleanup
3 years ago
heck
3bcb00ab58
Fix: call register_sync_callbacks() ONLY in sync thread.
No other session/thread will have sync callbacks registered.
This is essentially reverting a change that has been done for 3.0, but i think it was wrong
3 years ago
heck
1d259cfda4
Test: update test_ensure_passphrase.cc
3 years ago
heck
85166f524a
Test: Start merging the 2 test frameworks
3 years ago
heck
972e975374
Fix: add 'PEP_KEY_IMPORTED' to NOT 'errors'
3 years ago
heck
67e830123c
Build: Fix missing CFLAGS (used for sqlite3 amalgamation only)
3 years ago
heck
c3a8a75c48
Corrected order of initialization
The C++ standards requires the order of init to be the order of declaration
3 years ago
heck
ea156f1467
grp_driver_dummy.cc - Removed nonsensical line
3 years ago
heck
f7c2714a14
Fix: fix sqlite.h include clash on at least macOS.
macOS system sqlite.h changed and now the include guard token is _SQLITE3_H_ instead of SQLITE3_H as in the amalgamation. yay.
3 years ago
heck
104cf13e6b
Build: remove double def of -fPIC (Plus add more warnings)
3 years ago
Luca Saiu
cc6dd23337
trivial build system fix
* test/Makefile (LDLIBS): Link libraries in a different order, respecting
dependencies.
3 years ago
heck
f14567078d
.clang-tidy: allow implicit bool conversion
3 years ago
heck
2dfe331cec
passphrase_cache: coding conventions / readability
3 years ago
heck
b302a3a2cb
passphrase_cache: missing init
3 years ago
heck
f53f1d73f5
passphrase_cache: avoid copies (use const&)
3 years ago
heck
597bc1a76e
passphrase_cache: Coding conventions / formatting
3 years ago
heck
239f2de011
pEpSQLite: TODO non-copyable
3 years ago