Andrea Ciliberti
28a8b08f09
Fmt and docs lints
1 year ago
Andrea Ciliberti
99814fd5a1
Finish up trimming
1 year ago
Andrea Ciliberti
079f3bdc3c
Fixed nits and suggestions
1 year ago
Andrea Ciliberti
4b0b966026
Fix errors
1 year ago
Meziu
222e37ced7
Merge branch 'master' into camera-and-more
1 year ago
Ian Chamberlain
b14cdf10f1
Update README for new versioning scheme + env vars
1 year ago
Ian Chamberlain
4d718c4100
Merge pull request #139 from adryzz/swkbd-initial-text
...
add `set_initial_text` swkbd method
1 year ago
Ian Chamberlain
586f329c7a
Test all packages in CI
...
Since the linker issues are fixed by previous changes we should be able
to run CI without `--package` and test the whole workspace instead.
1 year ago
Ian Chamberlain
7d201d825b
Always link ctru, for now
...
Also add a little extra description helper for unknown error types in
ctru::error
1 year ago
Ian Chamberlain
12f0fa77d3
Clean up ctru-sys version checking
...
- Don't issue a warning for "mismatched version" since the new bindings
make this irrelevant
- Minor build script refactoring and code cleanup
- Output a `release` version (-X) for libctru env vars
- Revert version to 0.5.0, which is higher than we were using before the
major 22.x version but should be ok since we never released to crates.io
1 year ago
Lena
2e442752b4
add `set_initial_text` swkbd method
1 year ago
Ian Chamberlain
a636722b49
Merge pull request #135 from rust3ds/ci/reusable-actions
...
Use external actions / test runner crate so we can actually run our tests!
1 year ago
Ian Chamberlain
0ff7cae9b4
Clean up minor leftover comments
1 year ago
Ian Chamberlain
8a727d15fc
Merge branch 'master' into ci/reusable-actions
1 year ago
Ian Chamberlain
1bf09fb5a1
Merge pull request #136 from rust3ds/feature/os-hardware-wrappers
...
Add `os` module for querying OS and hardware state
1 year ago
Andrea Ciliberti
c8e38a6fe4
Final lint fixing?
1 year ago
Andrea Ciliberti
6afad4dceb
Even more lints
1 year ago
Andrea Ciliberti
fdd836ba9d
Fix lints
1 year ago
Andrea Ciliberti
0ec4c92fbc
3D images without stereo calibration
1 year ago
Ian Chamberlain
421a09bc37
Remove references to test_runner temporarily
1 year ago
Ian Chamberlain
6aa50357c8
Add some simple doctests for some new functions
1 year ago
Ian Chamberlain
c2827aa269
Add `os` module for querying OS and hardware state
...
Most of these are dead simple and don't require any service
initialization etc., so all we need is a simple wrapper. I didn't
implement everything in <3ds/os.h> yet, but got most of the basic ones
which seemed like likely use cases to me.
1 year ago
Andrea Ciliberti
ce8fc4ef83
Squash down camera functions
1 year ago
Andrea Ciliberti
2453499d58
Trimming works, finally
1 year ago
Andrea Ciliberti
0067d55abf
More CAM changes and WIP trimming
1 year ago
Andrea Ciliberti
b17bed0aeb
More CAM changes and WIP trimming
1 year ago
Andrea Ciliberti
45468d3aa5
WIP camera service overhaul
1 year ago
Ian Chamberlain
a187a503cc
Update references to point at rust3ds/test-runner
1 year ago
Ian Chamberlain
33268566c8
Revert accidental formatting changes
1 year ago
Ian Chamberlain
ce2023307d
Fix some small bugs / workarounds for CI
1 year ago
Ian Chamberlain
6881dce541
Don't run NDSP doctests
1 year ago
Ian Chamberlain
baa415156d
Merge branch 'master' into ci/reusable-actions
1 year ago
Ian Chamberlain
ee68d9d806
Enable running all tests and fix issues
...
We had a couple `fs` examples unwrapping expected errors, but mostly
everything passed!
1 year ago
Ian Chamberlain
1905c0ca1b
More cleanup after updates to test-runner-3ds
1 year ago
Andrea Ciliberti
c3021fe39d
Translate impls to static inline
1 year ago
Andrea Ciliberti
b577a39323
Fixed doc lints
1 year ago
Andrea Ciliberti
a84d2045f2
Fixed Screen unsafety on VRAM
1 year ago
Andrea Ciliberti
64d9777497
Fixed docs and typos
1 year ago
Andrea Ciliberti
d71774b6bf
Less panics, more errors
1 year ago
Andrea Ciliberti
1a704b0006
Restructure ServiceReference and wip Hid
1 year ago
Andrea Ciliberti
c3576c73be
Better GSPGPU docs
1 year ago
Andrea Ciliberti
45617265fe
Safely wrap Console::set_window
1 year ago
Andrea Ciliberti
18924dfcf4
Rename functions to allowlist/blocklist
1 year ago
Meziu
53154c5d1a
Merge pull request #133 from FenrirWolf/static-inline-fns
...
Support static inline functions in ctru-sys
1 year ago
Meziu
ac505801fc
Merge branch 'master' into static-inline-fns
1 year ago
Ian Chamberlain
685ea7f168
Bump toolchain version by 1 day
...
The old `cargo-3ds` we were using didn't care about the commit date being 05-30, but the new one used by the `test-runner` action does.
Since the rustc version is one day older than the toolchain date, we should be able to work with just the 06-01 toolchain instead.
1 year ago
Ian Chamberlain
318c341271
Fix test failures from running tests
...
These mostly have to do with the test environment itself, so we might
not want to keep these changes, if they are fixed in the runner.
1 year ago
Ian Chamberlain
7cd4ae0deb
Fix link error with multiply-defined stack size
...
We don't want to define __stacksize__ more than once, since the linker
will reject it even if the definition is the same.
For some reason this seems to link fine with devkitARM release 62, but
not 61 (which is the version in the latest upstream docker images). This
is probably safer anyway, since there are technically two copies of
`ctru-rs` at play here.
1 year ago
Ian Chamberlain
3a74c5bcaf
Use actions from test-runner-3ds repo
...
Actually run tests now!!!
1 year ago
Ian Chamberlain
ff12bd0818
Add test-runner as a dependency and fix build errs
...
Luckily, Cargo doesn't mind circular dev-dependencies and we can patch
to ensure it's using the same version. We can also leave this as a
`git = "..."` dependency if we want, since it's a dev dependency.
1 year ago