Commit Graph

51 Commits

Author SHA1 Message Date
c6b90a7a24 Cast values for compatibility with newer speech-dispatcher. 2022-03-10 12:29:27 -06:00
ee6aba7a97 Cast to u32. 2022-03-10 12:17:10 -06:00
36f82b78f3 Bump version. 2022-03-10 11:40:18 -06:00
729aaf5255 Soundness fixes for cloning Connection. 2022-03-10 11:39:42 -06:00
2618393758 Relicense and bump version. 2022-02-05 09:15:15 -06:00
82090cb48d Bump versions. 2022-01-27 10:29:10 -06:00
3709573305 Use Voice directly to avoid messing with stringly-typed voice names. 2022-01-27 10:26:12 -06:00
911e98d9ec Clean up example. 2022-01-27 10:21:53 -06:00
8434bfca64 Bump edition. 2022-01-27 10:06:41 -06:00
0dc9205b36 Merge branch 'lv' into 'master'
Add support for listing voices

See merge request ndarilek/speech-dispatcher-rs!2
2022-01-27 16:01:45 +00:00
Malloc Voidstar
143147036c
Add support for listing voices
Rebased on top of the result changes.
2022-01-10 18:26:02 -08:00
2879284030 Bump version. 2022-01-10 10:31:14 -06:00
5dfc99c6d7 Merge branch 'return-results' into 'master'
Change all bool-returns to Results

See merge request ndarilek/speech-dispatcher-rs!4
2022-01-10 16:26:29 +00:00
Malloc Voidstar
83b1ac5a76
Change SpeechDispatcherError to Error, format
Also lowercase Display strings to be in line with https://rust-lang.github.io/api-guidelines/interoperability.html#examples-of-error-messages
2021-12-06 10:58:29 -08:00
Malloc Voidstar
7d3edccdda
Convert all bool-returns to Results
Additionally:
* Make open2 fallible too
* Use a Result the entire time in open and open2, instead of going from Option to Result
* Specify c_int instead of i32 since apparently the size "may differ on some esoteric systems"; I suspect it won't compile on whatever those are but might as well improve the situation
* Avoid a maybe-possible panic in get_voice_type. Probably can't happen but I'm not 100% certain, so I made it fallible
* Add a missing null check to get_language
2021-12-06 10:57:04 -08:00
91098c0f01 Merge branch 'unused' into 'master'
Remove unused gcc dependency

See merge request ndarilek/speech-dispatcher-rs!3
2021-12-06 15:04:29 +00:00
Malloc Voidstar
675b569b32
Remove unused gcc dependency 2021-12-04 13:50:25 -08:00
e0170aa011 Bump version. 2021-12-02 09:11:26 -06:00
3b025dc0f9 Merge branch 'fix-types' into 'master'
Fix build on ARM

See merge request ndarilek/speech-dispatcher-rs!1
2021-12-02 15:09:21 +00:00
Malloc Voidstar
67a8c19410
Fix build on ARM
Differences in signedness were preventing builds.
2021-12-02 05:34:32 -08:00
ac12fb132e Bump version. 2021-11-19 08:39:16 -06:00
4c8521ccb8 Add error handling for initialization failure. 2021-11-19 08:38:17 -06:00
006a4835be Eliminate a Clippy warning. 2020-09-26 12:52:10 -05:00
5349a0fc3d Refactor to FnMut and bump version. 2020-09-25 10:36:00 -05:00
7f952f2f34 Specify minimum bindgen version constraint. 2020-09-18 12:06:32 -05:00
f71e4b0d19 Bump bindgen and version. 2020-09-18 11:21:39 -05:00
8b28fed8e5 cargo fmt 2020-08-19 21:00:51 -05:00
bf348af84f Make client ID easier to get at.
* Pass `client_id` into all callbacks.
* Expose via `client_id()` method.
* Bump version.
2020-08-19 20:59:48 -05:00
e022973c8e Update CI. 2020-08-19 19:55:31 -05:00
ca2e0ffe5e Upgrades and refactors.
* Bump editions to 2018.
* Bump dependencies and crate versions.
* Implement callbacks.
* Return message IDs when speaking, or `None` in case of errors.
* Add callbacks to example.
2020-08-19 17:28:22 -05:00
0de61beafe Bump dependencies. 2020-05-12 16:11:52 -05:00
0f06715c39 Don't fail the publish step if speech-dispatcher-sys fails. 2019-12-30 09:24:12 -06:00
e99da4a1d3 Bump version. 2019-12-30 09:09:43 -06:00
2758f79538 Add defensive handling for speaking empty strings, which appears to crash the client. 2019-12-30 09:09:19 -06:00
369bf23fa9 Clippy, fmt, bump versions, and update repository links. 2019-12-23 08:03:24 -06:00
cb02834873 Loosen version requirement. 2019-12-22 13:56:51 -06:00
ebb3078c8a Bump dependencies and version. 2019-12-22 13:49:58 -06:00
cc22ede3f2 Try publishing sys first. 2019-12-22 13:36:50 -06:00
34ca29d425 Add version to dependency. 2019-12-22 13:22:23 -06:00
a0bc337852 Update CI build script for multiple manifests. 2019-12-22 12:16:36 -06:00
3da5140735 Switch to a workspace. 2019-12-22 12:12:27 -06:00
e919820f9d Bump version. 2019-09-30 10:20:49 -05:00
cfdc01a132 Fix typo. 2019-09-30 10:20:31 -05:00
fa916f71a0 Bump version. 2019-08-31 09:44:55 -05:00
97a0c44013 cargo fmt 2019-08-31 09:44:20 -05:00
96cd1e9553 impl Send for Connection 2019-08-31 09:44:01 -05:00
87018e0e83 Bump version. 2019-08-28 12:10:03 -05:00
42b5ede300 Use Into<String> to work with any string type. 2018-06-13 01:35:51 +00:00
7cf0efc833 Bump version. 2018-01-12 12:23:06 -06:00
4f4e9c85ce Add additional metadata. 2018-01-12 11:30:05 -06:00