Commit Graph

760 Commits (d65b959296f9553e5efe864aca4add0c74ed8cf7)

Author SHA1 Message Date
heck d65b959296 Tests - rename utils.hh to test_utils.hh 2021-09-15 14:20:11 +02:00
heck 5abcfb86bb Tests - add test for file_read_bin() / file_write_bin() 2021-09-08 20:39:46 +02:00
heck 7c1c8016f9 std_utils.hh - add file_read_bin() / file_write_bin() 2021-09-08 20:39:17 +02:00
heck e105634189 use solution pattern from pEp/platform_windows.h for windows compat (Move this to engine via PR, once working) 2021-07-22 13:34:59 +02:00
heck a77a24c8b6 use pEp/platform.h for windows compat 2021-07-22 13:31:57 +02:00
heck 8184899d9d group_manager_api - formatting only 2021-07-22 13:05:40 +02:00
heck f1b1cd2820 Merge pull request 'master' (#8) from Thomas/libpEpAdapter:master into master
Reviewed-on: #8
2021-07-22 12:16:33 +02:00
Thomas c81ff7c140 Add missing header files to Windows project 2021-07-16 07:39:17 +02:00
Thomas f1f8c0d49d Initialize status code 2021-07-15 07:38:28 +02:00
Thomas bbb2dd7b00 Add reference to sqlite3, use _strdup() 2021-07-14 11:20:33 +02:00
Thomas d4b35f3536 path_ensure_not_existing() doesn't seem to be used on Windows... 2021-07-14 08:43:23 +02:00
Thomas b4d138f8e3 Adjust Windows build file. Use _getpid instead of getpid (deprecated alias) 2021-07-14 07:19:45 +02:00
heck 651ce9be45 Test: PityTest - Fix linux build 2021-07-12 12:34:13 +02:00
heck ce136d408d Merge branch 'LIB-11'
# Conflicts:
#	test/Makefile
2021-07-12 01:57:49 +02:00
heck 5008848ba4 Merge branch 'Release_2.1'
# Conflicts:
#	Makefile.conf
#	test/Makefile
2021-07-12 01:54:50 +02:00
heck 5ff47daf74 .gitignore 2021-07-12 01:23:24 +02:00
heck 64c652652c Test: API changes update all tests
* call session.initialize() before using a session
* use session.release() instead of session.(release)
* Adapter::startup() arguments moved to session.initialize()
* Adapter::shutdown() renamed to stop_sync()
2021-07-12 01:23:10 +02:00
heck 4a8cbbfd38 Test: re-add test_adapter_cxx.cc 2021-07-12 01:13:57 +02:00
heck e5746295e1 Test: PitySwarm - fix bug swarm of size 1 2021-07-12 01:12:52 +02:00
heck 080076582e API: session(init/release) removed.
Before using the static object Adapter::session, initialize it using session.initialize().
Release it using session.release().
2021-07-12 01:10:35 +02:00
heck 9b922a39dc move start_sync() and stop_sync() from CallbackDispatcher to Adapter.hh 2021-07-12 01:00:00 +02:00
heck 9780232015 add group_join() 2021-07-12 00:53:13 +02:00
heck 44b0c23161 std_utils.cc - hopefully improve path_ensure_not_existing/dir_recreate 2021-07-11 23:50:12 +02:00
heck ebe75b3b06 listmanager_dummy.cc - explicit constructors 2021-07-11 23:49:27 +02:00
heck 7a8f36c32b .gitignore 2021-07-11 01:45:27 +02:00
heck c177dc00ce Test: PityTest - framework/utils cpt idents have no id / moved group to Perspective 2021-07-11 01:45:20 +02:00
heck 788ae51b2f Test: PityTest - a build dep to get rid of again... 2021-07-11 01:44:33 +02:00
heck 436593676e Test: PityTest - test_swarm updated 2021-07-11 01:43:15 +02:00
heck 4ad3823b15 Test: PityTest - PityNode add class TestIdent 2021-07-11 01:42:43 +02:00
heck f65cd2a996 Test: PityTest - PityPerspective group and peer handling 2021-07-11 01:42:20 +02:00
heck 0c29ed6ad9 Test: PityTest - PitySwarm perspective transformation updated 2021-07-11 01:41:42 +02:00
heck 340e7de32d Test: swarm templates updated 2021-07-11 01:39:37 +02:00
heck 0a0569bd53 Test: add test_sync_init - sync_initialize() 2021-07-11 01:39:15 +02:00
heck 555834a989 Test: test_group_swarm - THE swarm based group encryption test
1-n - 1 manager, n members
2021-07-11 01:37:54 +02:00
heck 8da80a4b14 Test: test_tofu - updated 2021-07-11 01:36:52 +02:00
heck d09983b04c Test: test_tofu_one2many - Test tofu in the swarm with 1-n topology 2021-07-11 01:34:57 +02:00
heck 9b4450311d Test: PityTest - PitySwarm copy is borken, and also transport has a problem because ident is unit name, which exists twice then... 2021-07-10 16:39:53 +02:00
heck ae2dd257dc Test: PityTest - update tests 2021-07-10 16:38:48 +02:00
heck 934540625a Test: PityTest - AbstractPityUnit fix PROC_SEQ (added wait()), rename 2021-07-10 16:38:34 +02:00
heck 24d2c072df Test: PityTest - update test_pitytree.cc 2021-07-10 16:30:24 +02:00
heck b2491e79ef pEpLog decorate no '\n' 2021-07-10 15:12:55 +02:00
heck b6253d5ea3 .gitignore 2021-07-10 13:40:55 +02:00
heck 0fa7915baa Test: PityTest - PitySwarm overhaul, copyable now, getLeafUnit() HACK BECAUSE NO TIME, in the end there will of course be several leaf units in any swarm node.... but for now we just copy the swarm... 2021-07-10 13:40:39 +02:00
heck d5c966ea6c Test: PityTest - PityUnit add setContext() twice, pointer takes reference, Value copies and own the thing.... 2021-07-10 13:37:16 +02:00
heck 8fa9e24d1e Test: PityTest - PityTree addCopy() for lvalue refs, too, please, add getChildrenCount(), debatable, copy-assign i think i like to avoid it. 2021-07-10 13:35:51 +02:00
heck 95234b8a2c Test: PityTest - PityPerspective make model const, lets see... 2021-07-10 13:33:23 +02:00
heck 1a766e6ece Test: PityTest - AbstractPityUnit add setExecMode() 2021-07-10 13:32:59 +02:00
heck 45b783c724 Test: update test_tofu 2021-07-08 18:51:08 +02:00
heck 97e1286f5b Test: update swarm templates 2021-07-08 18:49:03 +02:00
heck 1df2303835 Test: PityTest - update tests 2021-07-08 18:44:13 +02:00