Tait Hoyem
cbcd244e46
Additional progress on tokio and async_std versions
2 years ago
Tait Hoyem
0187c049cf
Initial work on a tokio/async-std feature
2 years ago
Laurent Pelecq
12b080800a
update popol to v1
2 years ago
Laurent Pelecq
c9c80a1b6c
Fix compilation on non-unix platforms
2 years ago
Laurent Pelecq
1139ff7080
Add tcp communication
2 years ago
Laurent Pelecq
f55ac7aa69
Remove unused dependency on libc
2 years ago
Laurent Pelecq
3e1a2e0cdc
Add synchronous history commands.
...
* Add commands history_get_clients, ...
* Change type of length from u16 to u32.
2 years ago
Laurent Pelecq
de5ce128cb
Change AsyncClient to QueuedClient to use with different polling mechanism.
...
* When compiled without mio, QueuedClient returns the raw fd.
* When compiled with mio, there is a register method.
2 years ago
Laurent Pelecq
fe74259e43
Fix documentation
2 years ago
Laurent Pelecq
f662405997
Move generic methods send and receive from AsyncClient to Client.
...
* Generic methods can be used in the synchronous API. It gives the choice to use
either specific calls or the generic ones.
* AsyncClient consists in a simple queue of requests.
* Getters only return the generic Response::Get. Callers must convert if it's an
integer.
2 years ago
Laurent Pelecq
fad9440145
Minor version for release
2 years ago
Laurent Pelecq
883e491a7f
Add all requests in AsyncClient.
...
* Simplify fifo tests with tempfile.
* Test getter in async fifo tests.
2 years ago
Laurent Pelecq
ec1b1aca51
New AsyncClient class.
...
* Only few commands are implemented.
* Example async_mio_loop added.
2 years ago
Laurent Pelecq
bf33d18bb2
Use log::debug in debug mode to trace communication with server
2 years ago
Laurent Pelecq
a186c456db
Dual synchronous and asynchronous API.
...
* Calls have been separate in a "send" and a "receive" to have the same methods in both modes.
* Asynchrone API is enabled with feature "async-mio".
2 years ago
Laurent Pelecq
58b1d5513f
Both sync and async tests pass
2 years ago
Laurent Pelecq
73b2531c4f
Dual synchronous and asynchronous API
...
Tests don't work in async mode
2 years ago
Laurent Pelecq
f1e9f9ffbc
Add repository in Cargo.toml
2 years ago
Laurent Pelecq
590859d15e
upgrade dependencies and fix lint errors
2 years ago
Laurent Pelecq
dcd38f2b9e
Test for synthesis voices. Few other tests.
3 years ago
Laurent Pelecq
5a656d5d27
add all commands except notification and history, and no tests
3 years ago
Laurent Pelecq
55f3fb7883
add license to Cargo.toml
3 years ago
Laurent Pelecq
aa73dab21b
add speak and unit tests for the client
3 years ago
Laurent Pelecq
cab51e0fc6
add tests for unix client
3 years ago
Laurent Pelecq
0914f8b191
initial implementation to connect and quit
3 years ago