Commit Graph

70 Commits

Author SHA1 Message Date
Nocturn9x e37ffdeb06 Initial broken work on a generic streams interface 2022-10-10 13:35:22 +02:00
Nocturn9x 55868c450e Removed debugging raise statement 2022-10-10 10:22:37 +02:00
Nocturn9x 60df2f059a Fixed mistake from rebase 2022-10-10 10:21:37 +02:00
Mattia Giambirtone 6d089d7d5f Various fixes for I/O, timeouts, cancellation and more. Need to fix task_ipc2.py which is broken for some reason 2022-09-01 13:18:15 +02:00
Mattia Giambirtone ec9c4cf1c9 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tests/timeout3.py
2022-05-14 11:22:57 +02:00
Nocturn9x 66d7c51268 Locks stuff + fixes + bugs 2022-05-14 11:19:55 +02:00
Mattia Giambirtone 07b6621796 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	giambio/context.py
#	giambio/core.py
#	giambio/runtime.py
#	giambio/sync.py
#	tests/queue.py
#	tests/timeout.py
2022-05-14 11:16:59 +02:00
Nocturn9x ad34be8754 Added locks 2022-05-10 11:56:47 +02:00
Nocturn9x e76998f29f Added experimental network channels 2022-02-27 18:50:57 +01:00
Nocturn9x ed6aba490f Added two-way proxy example stolen from njsmith and fixed bug with io_release_task being fucking dumb 2022-02-27 18:14:12 +01:00
Nocturn9x 800a173aa6 Minor change to task_ipc test 2022-02-27 13:42:25 +01:00
Nocturn9x 3ec0864734 Added experimental memory channels 2022-02-27 13:39:32 +01:00
Nocturn9x 3eb6844848 Hopefully fixed giambio.Queue 2022-02-26 21:59:18 +01:00
Nocturn9x f38e508ef6 Fixed bug where suspended tasks would not be purged upon exiting 2022-02-26 19:35:03 +01:00
Mattia Giambirtone 5c05de495d Fixed some issues with join() not properly rescheduling its caller when appropriate 2022-02-05 16:14:21 +01:00
Mattia Giambirtone 584f762d61 Fixed some edge cases with timeouts. Task.join() now returns the task's return value 2022-02-05 15:47:01 +01:00
Nocturn9x 587fba2dad Minor fixes to I/O, added initial chatroom_client implementation 2022-02-05 15:34:45 +01:00
Nocturn9x 594c69ed84 Moved the queueing mechanism to use events instead of event loop hacks 2022-02-05 13:00:55 +01:00
Nocturn9x 51d01ba44e Minor fixes to chatroom test. Hopefully fixed queue 2022-02-05 12:37:05 +01:00
Nocturn9x a0d376bb35 Added chatroom example and initial work on (semi-broken) async Queue implementation 2022-02-04 20:19:48 +01:00
Nocturn9x cd2a436d3d Made the socket_ssl test look nicer 2022-02-04 12:16:03 +01:00
Nocturn9x f7fbad931a (Hopefully) Fixed issues with blockinb I/O and timeouts 2022-02-04 11:56:15 +01:00
nocturn9x 4e1d328df4 Fixed bug with sleeping from the main task 2021-10-09 14:35:41 +02:00
nocturn9x 89501eb7b2 Removed duplicate SSL test 2021-10-09 14:14:58 +02:00
nocturn9x 107af1d7f2 Added https test 2021-10-09 14:14:33 +02:00
nocturn9x 0b8e1487c7 Several fixes to nested pools, cancellation, timeouts and more. Fixed SSL I/O (WIP) 2021-08-28 23:26:24 +02:00
nocturn9x e4a4c45f65 Updated server example with context manager to close the server socket automatically 2021-08-26 16:54:13 +02:00
nocturn9x 9bb091cdef Fixed nested pools (sorta?) 2021-08-26 16:19:40 +02:00
nocturn9x 44a07521b2 Beautified and simplified some code + README additions 2021-07-22 11:13:08 +02:00
nocturn9x 9128cd9759 Breaking changes: do not use 2021-06-08 17:21:59 +02:00
nocturn9x 95a9300da8 Moved some code around, added more socket methods and fixed I/O for SSL sockets (hopefully) 2021-06-03 16:34:26 +02:00
nocturn9x f55826d534 Moved socket functionality out of the loop and added some more functions to the socket module (updating examples) 2021-04-23 09:17:55 +02:00
nocturn9x 941464437d Some changes and fixes to exceptions behavior 2021-04-22 12:02:40 +02:00
nocturn9x dcd3cae674 Fixed minor socket bug on darwin kernel, nested pools now work as intended 2021-04-22 11:30:35 +02:00
nocturn9x 5b403703db Added some documentation, a test for timeouts and fixed some bugs with I/O 2020-12-20 15:58:53 +01:00
nocturn9x 29683f9067 Fixed some bugs with exception propagation and other stuff. I/O is significantly broken on the exceptions' side 2020-12-19 15:18:12 +01:00
nocturn9x 98c9440115 Fixed lots of minor bugs (and created some new bugs, of course). Pool-level cancellation is broken, but everything else seems to work given the current tests 2020-12-05 17:09:59 +01:00
nocturn9x 7a840d88be I/O seems to be working now, but further investigation is needed 2020-11-29 12:46:08 +01:00
nocturn9x 2661a153e9 Minor bug fixes, need to fix I/O 2020-11-29 12:06:09 +01:00
nocturn9x 899e12ead7 Added initial support for nested pools and added related tests. Added a couple more tests and separated the debugger class in a separate module. Unified want_read and want_write into a unique read_or_write method 2020-11-28 13:04:27 +01:00
nocturn9x 2429cbb863 Fixed some bugs with exceptions and propagations, I/O is broken 2020-11-27 21:52:45 +01:00
nocturn9x 4618c8cc79 Exceptions and cancellation seem to be working (except for server.py inside tests, investigation needed) 2020-11-26 16:57:20 +01:00
nocturn9x caee01977e Cancellation/Exceptions almost complete 2020-11-22 14:35:07 +01:00
nocturn9x d60a372af5 Updated README, added debugging utility and simplified example 2020-11-18 12:13:46 +01:00
nocturn9x 70646a4767 Added some exclude paths to gitignore 2020-11-17 10:54:18 +01:00
nocturn9x e29eaf3862 Typos + some fixes 2020-11-17 10:20:50 +01:00
nocturn9x adbdfa1209 README almost complete, improved examples 2020-11-17 10:06:35 +01:00
nocturn9x 497ef45307 Fixed events + Added some TODOs 2020-11-16 23:06:54 +01:00
nocturn9x 10c1b33e20 join() partially fixed 2020-11-16 21:49:13 +01:00
nocturn9x 981a598ae7 Various improvements to async pools 2020-11-16 08:07:19 +01:00