Luca Saiu
9445bca59f
WIP
4 years ago
heck
89613b713e
test: sync_test.py - add --debuglog -d
4 years ago
heck
3615191b11
Build: python_requires = >=3.7,<3.9 (since linux and mac might be different)
4 years ago
heck
a80a18f027
test: sync_handshake.py - add --debuglog -d option
4 years ago
heck
7fb3ef584e
use Adapter::inject_sync_shutdown() (libpEpAdapter > 0517b9b)
4 years ago
heck
47205953d3
Build: Make default PREFIX=$(HOME), DEBUG=1
4 years ago
Volker Birk
35a83abf14
always have three keys
4 years ago
heck
b1400519ff
Merge branch 'Release_2.1'
4 years ago
Volker Birk
7f2d884f6e
add disable_all_sync_channels() and test with extra identity
4 years ago
heck
d94e5881f4
PYADPT-111: sync_handshake.py, now support single- and mutlithreaded again. but through libpEpAdapter
4 years ago
heck
5738a2ea33
PYADPT-111: a little bit of testing
4 years ago
heck
bb70cf0169
PYADPT-111: "Add Single Threaded Sync Implementation" - Implementation
4 years ago
heck
76ef8e0a21
Merge branch 'Release_2.1' of https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter into Release_2.1
4 years ago
heck
9a75cab9cd
Build: update supported python versions
4 years ago
Volker Birk
a35cea292e
Merge branch 'Release_2.1' of ssh://gitea.pep.foundation:23065/pEp.foundation/pEpPythonAdapter into Release_2.1
4 years ago
heck
fc927ccaac
FIX: thread.isAlive() replaced with thread.is_alive() (deprecated)
4 years ago
Volker Birk
5c4dcdba4a
the sync thread will continue, don't change directory
4 years ago
Thomas
72aaa55ef5
Update Windows build
4 years ago
heck
8623adce03
BUILD: since using venv, default make target is "make install"
4 years ago
heck
4795d25492
BUILD: Add lxml and termcolor to test requirements
4 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
*Testing*
* Update [~fdik]s sync_test.py / sync_handshake.py to work with the new sync impl.
* Add a test for start_sync() / stop_sync() continuously
4 years ago
heck
d3d72fd95e
.gitignore for "make develop" .so
4 years ago
heck
58cff017ff
PYADPT-110: Add a test for start_sync() / stop_sync() repeatedly
4 years ago
heck
3a6058e4b5
PYADPT-110: Update sync testing (sync_handshake.py) to work with new sync impl
4 years ago
heck
f858556460
PYADPT-110: "Add Mutlithreaded Sync Implementation" - Implementation
4 years ago
heck
4209c480a6
correct typo
4 years ago
heck
819dae00c7
.gitignore: add .so
4 years ago
heck
e8e46cbbad
Test: README.md - add link to more sync testing doc.
4 years ago
heck
3c9bcc1978
CI: Add DEPENDENCIES file
4 years ago
heck
42352258fa
docs: update link "Adapter Build Instructions"
4 years ago
heck
b76d0410cf
Improve README.rst
4 years ago
heck
c9864de24e
Merge commit 'c643f1ff' into Release_2.1
4 years ago
heck
201f193c18
Merge branch 'Release_2.1.0' of https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter into Release_2.1.0
4 years ago
heck
e9cce83395
Fix mac/linux build / make all CFLAGS platform specific
4 years ago
Thomas
ea5d4f62ed
Add Windows project and adjust build script for Windows build
4 years ago
heck
c643f1ff4c
C++ class Myself : Identity unused
5 years ago
heck
533477bf64
formatting
5 years ago
heck
7627b6aba1
aww always these typos...
5 years ago
heck
11d257d2c3
.gitignore: mercurial to git migration completed
5 years ago
heck
b9e1054c3c
minor typo
5 years ago
heck
49af7303a9
TODO: fix pEp.rating
5 years ago
heck
a3d25c67a5
use decorators, its neat.
5 years ago
heck
94bc07aadd
fix imports
5 years ago
heck
dcea22558b
basic_doctest.py: rewrite as pytest, move to pytests
5 years ago
heck
8b202b6bf7
basic_doctest.py: rewrite as pytest
5 years ago
heck
a03295b495
AGPL 3.0 headers
5 years ago
heck
9a3fb3918d
authors roles
5 years ago
heck
e6f6a1f6ab
test infrastructure
5 years ago
heck
04cd048ee4
Update author credits
5 years ago
heck
938639b379
constants add user id, etc...
5 years ago