Commit Graph

55 Commits

Author SHA1 Message Date
6f1c647687 object send+sync, probably a bad idea
Some checks failed
CI / Rust checks (push) Failing after 59s
Security / Audit (push) Successful in 24s
2024-10-21 14:06:12 +02:00
4088df3d5e get object id
Some checks failed
CI / Rust checks (push) Failing after 38s
2024-10-21 13:46:57 +02:00
cfc5e4ad87 more visible
Some checks failed
CI / Rust checks (push) Failing after 38s
2024-10-21 13:40:06 +02:00
aa439c16ca inherit visibility
Some checks failed
CI / Rust checks (push) Failing after 48s
2024-10-21 13:11:13 +02:00
277f86a04b sendsyncmaybe
Some checks failed
CI / Rust checks (push) Failing after 48s
Security / Audit (push) Successful in 16s
2024-10-20 20:02:23 +02:00
54f84ed7af this kinda works
Some checks failed
CI / Rust checks (push) Failing after 1m17s
Security / Audit (push) Failing after 7m24s
2024-10-20 19:44:04 +02:00
c50bb6c344 we don't need this right now
All checks were successful
CI / Rust checks (push) Successful in 2m2s
2024-10-20 13:13:22 +02:00
3a74467bb5 allow unused in lib
Some checks failed
CI / Rust checks (push) Failing after 1m0s
2024-10-20 12:22:24 +02:00
9d9192bc51 rust-cargo-make is broken
Some checks failed
CI / Rust checks (push) Failing after 1m3s
2024-10-20 12:10:17 +02:00
bee3553d9e Updated SDK
Some checks failed
CI / Rust checks (push) Failing after 6s
2024-10-20 12:01:48 +02:00
Mihai Dinculescu
856656e23b Update crates 2023-05-01 19:13:42 +01:00
Mihai Dinculescu
d89fa524c2 Rework events and add proper support for client events
Added

- Client events are now implemented through `SimConnect::subscribe_to_client_event`, `SimConnect::unsubscribe_from_client_event` and `SimConnect::unsubscribe_from_all_client_events`.
- `subscribe_to_client_events.rs` example has been added.
- `SimConnectError::EventAlreadySubscribedTo` and `SimConnectError::EventNotSubscribedTo` error variants have been added.

Changed

- A second call to `SimConnect::subscribe_to_system_event` for the same event will now return an error of type `SimConnectError::EventAlreadySubscribedTo` instead of `SimConnectError::SimConnectException`.
- The call to `SimConnect::unsubscribe_from_system_event` is now a NOOP when the system event is not subscribed to.
- `SimConnectError::UnimplementedMessageType` has been renamed to `SimConnectError::UnimplementedNotification`.

Removed

- `SimConnect::register_event` has been replaced by the new client event functions.
- `NotificationGroup` has been removed in favor of an internally managed notification group.
2023-05-01 19:13:30 +01:00
Mihai Dinculescu
85e5341599 Announce v0.2.2 2023-02-22 19:11:21 +00:00
Mihai Dinculescu
651aadd70f Update crates 2023-02-22 18:41:51 +00:00
Mihai Dinculescu
93ab001d48 Automatically clean up request_facilities_list requests once completed 2023-02-22 18:41:01 +00:00
Mihai Dinculescu
e074d708d8 Updated to MSFS SDK v0.20.5.0 2023-02-09 10:34:45 +00:00
Mihai Dinculescu
88d9f78e59 Update crates 2023-02-09 10:34:40 +00:00
dependabot[bot]
9f569d49fa Bump bindgen from 0.61.0 to 0.62.0
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.61.0...v0.62.0)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-19 19:37:28 +00:00
Mihai Dinculescu
63086c5b9b Announce v0.2.1 2022-10-29 15:52:37 +01:00
Mihai Dinculescu
0a05fd38c9 Derive and for most enums 2022-10-29 15:51:49 +01:00
Mihai Dinculescu
8cc948816d Rename the github repo to simconnect-sdk-rs 2022-10-29 15:46:15 +01:00
Mihai Dinculescu
708f6b2ac5 Announce v0.2.0 2022-10-29 14:27:54 +01:00
Mihai Dinculescu
2809917a93 Add suport for system events 2022-10-29 13:48:00 +01:00
Mihai Dinculescu
ad52d7f050 Announce v0.1.3 2022-10-24 20:24:17 +01:00
Mihai Dinculescu
54960fbfb0 Replace cargo make defaults 2022-10-24 20:14:43 +01:00
Mihai Dinculescu
f47a597557 Improve error handling 2022-10-24 19:45:28 +01:00
Mihai Dinculescu
7186d61467 Tweak tracing information 2022-10-24 19:28:27 +01:00
Mihai Dinculescu
1175ab29fb Address clippy warning 2022-10-24 19:21:40 +01:00
Mihai Dinculescu
b34174496f Announce v0.1.2 2022-10-22 10:25:01 +01:00
Mihai Dinculescu
44f3766588 Derive for several enums 2022-10-22 10:18:33 +01:00
Mihai Dinculescu
67bd9974a2 Update README.md 2022-10-22 10:18:33 +01:00
Mihai Dinculescu
f9e93295c1 Run the CI in windows-latest 2022-10-22 10:18:33 +01:00
Mihai Dinculescu
34411bf63e Fix the docs.rs build take 2 2022-10-22 10:18:26 +01:00
dependabot[bot]
a77356fc48 Bump syn from 1.0.102 to 1.0.103
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 15:41:35 +01:00
Mihai Dinculescu
e49650e563 Announce v0.1.1 2022-10-21 15:30:32 +01:00
Mihai Dinculescu
8ea0c17f99 Fix the docs.rs build and improve the documentation 2022-10-21 14:59:22 +01:00
Mihai Dinculescu
ea9236f3f6 Prepare for publishing 2022-10-20 21:46:38 +01:00
Mihai Dinculescu
aac950b48f Add a features table 2022-10-20 18:16:09 +01:00
Mihai Dinculescu
4ac94cdb96 Add support for String 2022-10-20 15:42:51 +01:00
Mihai Dinculescu
60b73c1557 Fix altitude in examples 2022-10-19 20:07:26 +01:00
Mihai Dinculescu
3a7237addf Add support for to the macro 2022-10-19 13:18:26 +01:00
Mihai Dinculescu
a868d09b6e Cleanup the docs 2022-10-19 11:14:51 +01:00
dependabot[bot]
165432874b Bump bindgen from 0.60.1 to 0.61.0
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.60.1 to 0.61.0.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.60.1...v0.61.0)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 11:04:03 +01:00
Mihai Dinculescu
a46e9860a3 Add CI 2022-10-19 09:18:12 +01:00
Mihai Dinculescu
0db9847030 Add unsubscribe to objects 2022-10-18 21:56:07 +01:00
Mihai Dinculescu
a2002e02cd Add unsubscribe to facilities 2022-10-17 22:44:02 +01:00
Mihai Dinculescu
6be70c8566 Add support for facilities 2022-10-15 22:51:57 +01:00
Mihai Dinculescu
307b83ea95 Improve the examples 2022-10-12 23:27:19 +01:00
Mihai Dinculescu
9b7e3b97db Add the derive proc macro 2022-10-10 20:22:16 +01:00
Mihai Dinculescu
2f845f1c8f Fix the loading of the lib 2022-10-10 19:33:23 +01:00