Commit Graph

499 Commits (7fb3ef584ed964ddc4eb2d9e16d9e1b7ed97ad2e)

Author SHA1 Message Date
heck 7fb3ef584e use Adapter::inject_sync_shutdown() (libpEpAdapter > 0517b9b) 2 years ago
heck 47205953d3 Build: Make default PREFIX=$(HOME), DEBUG=1 2 years ago
Volker Birk 35a83abf14 always have three keys 2 years ago
heck b1400519ff Merge branch 'Release_2.1' 2 years ago
Volker Birk 7f2d884f6e add disable_all_sync_channels() and test with extra identity 2 years ago
heck d94e5881f4 PYADPT-111:, now support single- and mutlithreaded again. but through libpEpAdapter 2 years ago
heck 5738a2ea33 PYADPT-111: a little bit of testing 2 years ago
heck bb70cf0169 PYADPT-111: "Add Single Threaded Sync Implementation" - Implementation 2 years ago
heck 76ef8e0a21 Merge branch 'Release_2.1' of into Release_2.1 2 years ago
heck 9a75cab9cd Build: update supported python versions 2 years ago
Volker Birk a35cea292e Merge branch 'Release_2.1' of ssh:// into Release_2.1 2 years ago
heck fc927ccaac FIX: thread.isAlive() replaced with thread.is_alive() (deprecated) 2 years ago
Volker Birk 5c4dcdba4a the sync thread will continue, don't change directory 2 years ago
Thomas 72aaa55ef5 Update Windows build 2 years ago
heck 8623adce03 BUILD: since using venv, default make target is "make install" 2 years ago
heck 4795d25492 BUILD: Add lxml and termcolor to test requirements 2 years ago
heck aaaa54f6ad Merge branch 'PYADPT-110 - Add Mutlithreaded Sync Implementation' into Release_2.1
Complete Sync implementation in python using python threading.

from libpEpAdapter, use:
* Session
* CallbackDispatcher
* Sync Event Queue
    * retrieve_next_sync_event()
    * _inject_sync_event()

*Sync event processing loop*
Write single threaded implementation of the engine function "do_sync_protocol()" using:
* retrieve_next_sync_event() (libpEpAdapter)
* do_sync_protocol_step() (Engine)
The event loop has to be terminated on NULL event.

*Sync Thread*
Implement Sync thread in python. The Thread has to do:
* Init: register_sync_callbacks()
* Sync event processing loop ()
* Cleanup: unregister_sync_callbacks()

*Python API*
The python API stays backwards compatible.
* start_sync() is not allowed to return before "register_sync_callbacks()" in the sync thread has returned
* stop_sync() has to use _inject_sync_event from libpEpAdapter
* is_sync_active() reports if the python Sync thread is running

* Update [~fdik]s / to work with the new sync impl.
* Add a test for start_sync() / stop_sync() continuously
2 years ago
heck d3d72fd95e .gitignore for "make develop" .so 2 years ago
heck 58cff017ff PYADPT-110: Add a test for start_sync() / stop_sync() repeatedly 2 years ago
heck 3a6058e4b5 PYADPT-110: Update sync testing ( to work with new sync impl 2 years ago
heck f858556460 PYADPT-110: "Add Mutlithreaded Sync Implementation" - Implementation 2 years ago
heck 4209c480a6 correct typo 2 years ago
heck 819dae00c7 .gitignore: add .so 2 years ago
heck e8e46cbbad Test: - add link to more sync testing doc. 2 years ago
heck 3c9bcc1978 CI: Add DEPENDENCIES file 2 years ago
heck 42352258fa docs: update link "Adapter Build Instructions" 2 years ago
heck b76d0410cf Improve README.rst 2 years ago
heck c9864de24e Merge commit 'c643f1ff' into Release_2.1 2 years ago
heck 201f193c18 Merge branch 'Release_2.1.0' of into Release_2.1.0 2 years ago
heck e9cce83395 Fix mac/linux build / make all CFLAGS platform specific 2 years ago
Thomas ea5d4f62ed Add Windows project and adjust build script for Windows build 2 years ago
heck c643f1ff4c C++ class Myself : Identity unused 3 years ago
heck 533477bf64 formatting 3 years ago
heck 7627b6aba1 aww always these typos... 3 years ago
heck 11d257d2c3 .gitignore: mercurial to git migration completed 3 years ago
heck b9e1054c3c minor typo 3 years ago
heck 49af7303a9 TODO: fix pEp.rating 3 years ago
heck a3d25c67a5 use decorators, its neat. 3 years ago
heck 94bc07aadd fix imports 3 years ago
heck dcea22558b rewrite as pytest, move to pytests 3 years ago
heck 8b202b6bf7 rewrite as pytest 3 years ago
heck a03295b495 AGPL 3.0 headers 3 years ago
heck 9a3fb3918d authors roles 3 years ago
heck e6f6a1f6ab test infrastructure 3 years ago
heck 04cd048ee4 Update author credits 3 years ago
heck 938639b379 constants add user id, etc... 3 years ago
heck f70c58685a default pytest opts belong into pyproject.toml 3 years ago
heck 5b12e284c8 structuring fixtures... 3 years ago
heck 23829e2507 just renaming 3 years ago
heck 61174d0136 rename fixtures, make distinction between import and create. (create == myself()) 3 years ago