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
heck
f70c58685a
default pytest opts belong into pyproject.toml
5 years ago
heck
5b12e284c8
structuring fixtures...
5 years ago
heck
23829e2507
just renaming
5 years ago
heck
61174d0136
rename fixtures, make distinction between import and create. (create == myself())
5 years ago
heck
5963723853
just add encoding header to all test files "# -*- coding: utf-8 -*-"
5 years ago
heck
bf4d618a8a
Software using pEpPythonAdapter
5 years ago
heck
9abb0dd46d
'make test' and 'make install-test' independent
5 years ago
heck
aeb802540a
Merge in PYADPT-100 - "pytest: subprocess per test required"
5 years ago
heck
91c2056d9d
forgot __init__.py for tests package
5 years ago
heck
cccabb66c3
now rename the tests suite to tests again
5 years ago
heck
e3c53a0d3c
Rebuild and fix pytest based tests in new dir tests_new. To work with defined env for engine using separate process per test.
5 years ago
heck
f07f6e060c
lets try moving env setup to fixtures
5 years ago
heck
90a59ccce6
for debian (python alias not working for make invocation)
5 years ago
heck
8adb4a01f9
some IDEs (pycharm, intellij) seem to have problems with a venv folder called _venv
5 years ago
heck
6fefb8a0c9
typos etc..
5 years ago
heck
fab052a75b
Fix sphinx make targets
Re structure documentation, more simple for now.
5 years ago
heck
c86c95bd77
More documentation on all operations
5 years ago
heck
08d1a5b3b5
convenience target for creating venv that has LD_LIBRARY_PATH set already.
make clean
5 years ago