heck
c6ba930469
pEpEngine=v3.2.0-RC26
libpEpAdapter= v3.2.0-RC4
libpEpCxx=v3.2.0-RC0
2 years ago
heck
5955eba1b8
update for new sync interface
2 years ago
heck
44f66c4744
Improvement: update for rename of retrieve_next_sync_event in libpEpAdapter
2 years ago
heck
c57aeca312
Improvement: update for API change - remove `PEP_SESSION.sync_obj` ( closes #12 )
2 years ago
heck
a378824f11
Move script of unknown purpose to from `examples` to `doc`
2 years ago
heck
6988a8dd65
Build: update DEPENDENCIES for 3.2-RC0
pEpEngine=v3.2.0-RC12
libpEpAdapter= v3.2.0-RC0
libpEpCxx=v3.2.0-RC0
3 years ago
heck
974fb28ecb
Fix: make envtest - use HOME=.
3 years ago
heck
f755585d1b
Build: Link against libpEpCxx11
3 years ago
heck
f2283cf189
Build: fix make venv - for some reason folder cannot be called venv anymore
3 years ago
heck
8d6eb56b29
Build: pyproject.toml - removed seems to breal wheel build, i dont know
3 years ago
heck
4776a202fa
Build: use python >= 3.9
3 years ago
heck
e63799e258
.gitignore
4 years ago
heck
223f4ac3cd
Build: Add Makefile-based build
4 years ago
heck
983164e42a
Style: Dont use namespace std, it has no future considering templates (dont 'use' any namespace, use ns aliases)
4 years ago
heck
cc2a5a2aa7
Feature: Add set_comm_partner_key()
4 years ago
heck
f7104e6840
Doc: update README.rst
4 years ago
heck
4f13825991
FROMATTING: reformat cxx codebase
4 years ago
heck
e4bfbf2c7d
FORMATTING: add .clang-format
(conistent formatting is not evil)
4 years ago
heck
4d4bb909c2
Remove: UserInterface_callback because its unused and should be implemented in python if needed again ever (probably not)
4 years ago
heck
e02ee00b0f
re-add set_sync_mode() (OFF,SYNC,ASYNC)
4 years ago
heck
ec5b5643ca
Fix session mgmt and some cleanup
4 years ago
heck
1245dcd394
Build: make clean - fix inplace build
4 years ago
heck
1ae55f2376
Build: make clean - dont depend on sphinx
4 years ago
heck
c03191dfc4
WIP: warning: breaks existing tests (WIP!) Making it work with libpEpAdapter/master/tip
4 years ago
heck
4f43d262a3
Build: Python 3.9 now supported
4 years ago
heck
b946e95e57
Merge pull request 'setup: Unpin version requirement for package wheel.' ( #4 ) from htgoebel/pEpPythonAdapter:htgoebel-patch-1 into master
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter/pulls/4
4 years ago
htgoebel
bc5a080aa5
setup: Unpin version requirement for package wheel.
A minimum version is not required, so unpin it.
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