Commit Graph

142 Commits (master)

Author SHA1 Message Date
Bradlee Speice 9139bf7234 CnC termination test working again 2019-11-02 16:00:57 -04:00
Bradlee Speice b235655f71 Formatting 2019-11-02 15:50:33 -04:00
Bradlee Speice 8fac817ba3 `read` now working again 2019-11-02 15:50:23 -04:00
Bradlee Speice ed766ce86b `write` now working again as well 2019-11-02 15:40:52 -04:00
Bradlee Speice 02638d20c0 `claim_capacity` now working again 2019-11-02 15:18:52 -04:00
Bradlee Speice fd23f2891a AtomicBuffer trait part two
I have a much better grasp of what I need to do now.
2019-11-02 14:59:52 -04:00
Bradlee Speice f7ec021bc8 Refactor to match Aeron's layout 2019-11-02 13:27:27 -04:00
bors[bot] 18651d5373
Merge #15
15: Upgrade to Aeron 1.23.0 r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee.speice@gmail.com>
2019-10-29 04:06:42 +00:00
Bradlee Speice 0bf3ba192e Upgrade to Aeron 1.23.0 2019-10-29 00:05:45 -04:00
bors[bot] ddf1774cae
Merge #14
14: Implement reading from a ring buffer r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
2019-10-26 20:33:44 +00:00
Bradlee Speice 6c3b2a9c0a Implement reading from a ring buffer 2019-10-26 16:31:16 -04:00
bors[bot] 83e95b18d9
Merge #13
13: Rustup minimal mode r=bspeice a=bspeice

Should speed up the build especially on Windows.

bors r+

Co-authored-by: Bradlee Speice <bradlee.speice@gmail.com>
2019-10-16 22:35:13 +00:00
Bradlee Speice e36700881c Switch rustup to minimal mode
Should speed up the build especially on Windows
2019-10-16 18:33:00 -04:00
bors[bot] a97a2df9c4
Merge #11
11: Aeron 1.22.1 r=bspeice a=bspeice

Upgrade to the most recent driver

Co-authored-by: Bradlee Speice <bradlee.speice@gmail.com>
2019-10-12 19:18:32 +00:00
Bradlee Speice 6853801b66 Update the version test 2019-10-12 15:16:27 -04:00
Bradlee Speice 9bb663e16c Upgrade to Aeron 1.22.1 2019-10-12 15:15:04 -04:00
bors[bot] 6f762fa1e5
Merge #10
10: Upgrade Aeron to 1.22.0 r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
2019-10-10 01:32:04 +00:00
Bradlee Speice 92ba2cd6c8 ...and fix the test case 2019-10-09 21:31:28 -04:00
Bradlee Speice 1702bea1a2 Upgrade Aeron to 1.22.0 2019-10-09 21:06:46 -04:00
bors[bot] 2a1d7354be
Merge #9
9: Remove `num` from the build r=bspeice a=bspeice

Don't really need it at the moment, especially given that it doesn't function in a `const` context.
bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
2019-10-08 03:56:01 +00:00
Bradlee Speice 5dc36d8916 Remove `num` from the build
Don't really need it at the moment
2019-10-07 23:54:01 -04:00
bors[bot] bd21db1981
Merge #8
8: Move to workspace builds r=bspeice a=bspeice

Sharing `target/` dir between projects should dramatically improve build times.

Co-authored-by: Bradlee Speice <bradlee@speice.io>
2019-10-08 03:28:07 +00:00
Bradlee Speice 46baa54f75 Add bors.toml 2019-10-07 22:57:27 -04:00
Bradlee Speice 419cbf158c Refactor workspace build 2019-10-07 22:17:14 -04:00
Bradlee Speice 9f086c5965 Fix the Travis build 2019-10-07 19:26:33 -04:00
Bradlee Speice faf7fd33e4 Move to workspace builds 2019-10-07 19:20:14 -04:00
bspeice a348e90d36
Merge pull request #6 from bspeice/driver_terminate
Driver Terminate
2019-10-07 19:12:49 -04:00
Bradlee Speice 5156f48dd4 Fix two last unused Result types 2019-10-07 07:49:20 -04:00
Bradlee Speice 2b8e32abb7 More temporary directory fixes 2019-10-07 07:34:00 -04:00
Bradlee Speice 1a3d67f02c Fix a variable name 2019-10-07 07:07:16 -04:00
Bradlee Speice 2cd2ae9995 Fix issues with delete on start
Seems like Windows doesn't handle it properly?
2019-10-07 07:02:02 -04:00
Bradlee Speice 7e8f49c347 Move `aeronmd` back out of -sys.
Clap/Ctrlc are still causing issues during static link.
2019-10-06 23:18:57 -04:00
Bradlee Speice dc9fd52e07 Able to successfully terminate a driver!!!
Needs a *ton* of work to be more Rust-idiomatic, but the basics are there.
2019-10-06 23:16:47 -04:00
Bradlee Speice a755382f24 Add dev-dependencies for `sys` crate 2019-10-06 21:38:38 -04:00
Bradlee Speice f4c2fcf0c5 Finally able to terminate a driver.
Need to write a test for it, but it's working locally.
2019-10-06 21:37:38 -04:00
Bradlee Speice 143e21bf0a Minor cleanup of CnC descriptor test 2019-10-06 20:54:11 -04:00
Bradlee Speice adfa401245 Add duty cycle functionality to the media driver
Eventually want to receive term events in tests
2019-10-06 20:45:57 -04:00
Bradlee Speice 61a02711c0 Remove the termination validator
As was pointed out in the main Aeron project, should use an environment variable instead.
2019-10-06 19:12:35 -04:00
Bradlee Speice 6e1645a7c1 Formatting fix 2019-10-06 18:42:38 -04:00
Bradlee Speice 730252127b Add a termination validator hook
Explains why `aeronmd` never actually shut down
2019-10-06 18:17:28 -04:00
Bradlee Speice b548c867c8 Theoretically able to shut down a driver?
In practice, I can't get any combination of C's aeronmd, C++'s DriverTool, Rust's `aeronmd`, and `do_terminate`.
2019-10-05 22:01:17 -04:00
Bradlee Speice a92f7e6416 One more question I need to eventually track down 2019-10-05 20:30:28 -04:00
Bradlee Speice 9373f04b48 Add buffer write support 2019-10-05 20:28:35 -04:00
Bradlee Speice 8174f0cde1 Fix formatting 2019-10-05 00:24:47 -04:00
Bradlee Speice 3ae7e6176c Implement `claim_capacity`
Pretty close to having write support ready
2019-10-04 23:53:58 -04:00
Bradlee Speice 818d2ad821 Struct overlay, handle negative offsets 2019-10-04 20:26:15 -04:00
Bradlee Speice a40a71d4a8 Fix formatting and warnings 2019-10-03 22:55:02 -04:00
Bradlee Speice 38eea0224f Fix the bounds check 2019-10-03 22:40:10 -04:00
Bradlee Speice 4611034b7b Add a test for increment offset 2019-10-03 22:17:08 -04:00
Bradlee Speice c463c96170 Start work on the atomic buffer
C++ Aeron doesn't seem to care about alignment, so I guess I won't either?
2019-10-03 22:10:34 -04:00