Gwilym Inzani
8e25f011b4
Remove unnecessary imports
2024-02-20 22:15:31 +00:00
Gwilym Inzani
e610a1cbf6
Add priority set / get and set_visible / is_visible to maps ( #563 )
...
Adds `.priority()`, `.set_priority()` and `.is_visible()` and replace
`show` and `hide` with `.set_visible()` in `RegularMap`, `AffineMap` and
`InfiniteScrolledMap`.
- [x] Changelog updated / no changelog update needed
2024-02-16 21:07:01 +00:00
Gwilym Inzani
34b5b5f8f8
This should be hiding not showing
2024-02-16 20:56:57 +00:00
Constantin
da84131de6
Add priority set / get and set_visible / is_visible to maps
2024-02-16 11:21:27 +01:00
Gwilym Inzani
77dba9f38e
Update Rust crate pkg-config to 0.3.30 ( #562 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pkg-config](https://togithub.com/rust-lang/pkg-config-rs ) |
build-dependencies | patch | `0.3.29` -> `0.3.30` |
---
### Release Notes
<details>
<summary>rust-lang/pkg-config-rs (pkg-config)</summary>
###
[`v0.3.30`](https://togithub.com/rust-lang/pkg-config-rs/blob/HEAD/CHANGELOG.md#0330---2024-02-14 )
##### Changed
- Update documentation for cross-compilation
([#​161](https://togithub.com/rust-lang/pkg-config-rs/issues/161 )).
- Update GitHub Action CI
([#​160](https://togithub.com/rust-lang/pkg-config-rs/issues/160 )).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log [here](https://developer.mend.io/github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-15 22:20:11 +00:00
Gwilym Inzani
0a35fa4629
Update lockfiles (again)
2024-02-15 22:12:04 +00:00
Gwilym Inzani
c1a19888c3
Be less specific about the pkg-config version
2024-02-15 22:11:14 +00:00
GBA bot
2289a533de
Update lockfiles
2024-02-14 11:02:19 +00:00
renovate[bot]
7e7b5f6a18
Update Rust crate pkg-config to 0.3.30
2024-02-14 11:01:49 +00:00
Corwin
f3734f43c9
Changes the default runner to log to console ( #557 )
...
- [ x] Changelog updated / no changelog update needed
This closes issue #554 and allows the template project have logging to
console on by default when you run `cargo run`
2024-02-13 21:27:29 +00:00
Corwin
f91a464a89
Cleanup allocators ( #558 )
...
Perform some cleanup of the allocators
2024-02-13 21:29:01 +00:00
Corwin
fb33422039
run workflow on merge queue ( #559 )
2024-02-13 21:58:33 +00:00
Corwin
8ff80a6ac2
run workflow on merge queue
2024-02-13 21:49:35 +00:00
Corwin
90be23a192
remove block counting to no longer attempt to detect memory leaks
...
remove checking blocks
Signed-off-by: Corwin <corwin@kuiper.dev>
2024-02-13 21:18:14 +00:00
Corwin
844f3b29d3
Remove global alloc support from the bump allocator
...
Signed-off-by: Corwin <corwin@kuiper.dev>
2024-02-13 21:18:14 +00:00
Bailey Townsend
d8fe616d90
Change default runner to log to console
2024-02-12 17:32:44 -06:00
Gwilym Inzani
5f0d86e2e3
Update ahash in the cargo.lock files. ( #556 )
...
Fixes #553 and allows building on latest nightly again.
- [x] no changelog update needed
2024-02-11 16:27:08 +00:00
Gwilym Inzani
7d6ea45670
Update ahash in the cargo.lock files.
...
Fixes #553 and allows building on latest nightly again.
2024-02-11 16:17:59 +00:00
Gwilym Inzani
ee432d05a6
rustc-hash isn't needed in agb itself any more ( #552 )
...
- [x] no changelog update needed
2024-02-09 22:05:36 +00:00
Gwilym Inzani
ff235a75f3
rustc_hash isn't needed in agb itself any more
2024-02-09 21:58:42 +00:00
Gwilym Inzani
e73d864d07
px_offset_x and px_offset_y were unused ( #551 )
...
These methods were unused and breaking the build
- [x] Changelog updated / no changelog update needed
2024-02-09 21:49:21 +00:00
Gwilym Inzani
bd4ae7d2fb
px_offset_x and px_offset_y were unused
2024-02-09 21:38:43 +00:00
Gwilym Inzani
c59a36b96e
Update Rust crate toml_edit to 0.22 ( #549 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [toml_edit](https://togithub.com/toml-rs/toml ) | dependencies | minor
| `0.21` -> `0.22` |
---
### Release Notes
<details>
<summary>toml-rs/toml (toml_edit)</summary>
###
[`v0.22.2`](https://togithub.com/toml-rs/toml/compare/v0.22.1...v0.22.2 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.22.1...v0.22.2 )
###
[`v0.22.1`](https://togithub.com/toml-rs/toml/compare/v0.22.0...v0.22.1 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.22.0...v0.22.1 )
###
[`v0.22.0`](https://togithub.com/toml-rs/toml/compare/v0.21.1...v0.22.0 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.21.1...v0.22.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log [here](https://developer.mend.io/github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-07 08:08:58 +00:00
GBA bot
5d82f96396
Update lockfiles
2024-02-06 22:49:04 +00:00
renovate[bot]
09295d9785
Update Rust crate toml_edit to 0.22
2024-02-06 22:48:37 +00:00
Gwilym Inzani
3f607b379a
Release v0.18.1
2024-02-06 22:36:11 +00:00
Gwilym Inzani
a87a4099d3
Pause channels ( #548 )
...
Requested here: https://github.com/agbrs/agb/discussions/547
Added methods to pause and resume playback of audio channels, and you
can use it with the mixer_basic example to prove it works.
- [x] Changelog updated / no changelog update needed
2024-02-03 22:18:08 +01:00
Gwilym Inzani
e3c299c13a
Add a changelog entry for pause and resume
2024-02-03 21:10:27 +00:00
Gwilym Inzani
fec06e0c69
Include pause and resume in the example
2024-02-03 21:09:37 +00:00
Gwilym Inzani
d8110243f4
Add pausing and resuming for sound channels
2024-02-03 21:09:37 +00:00
Gwilym Inzani
ac8e7d84f7
Expand $OUT_DIR in include_aseprite and include_background_gfx ( #545 )
...
As discussed in https://github.com/agbrs/agb/discussions/544 , this
expand $OUT_DIR when used in the **include_aseprite** and
**include_background_gfx** macros in order to support including from the
out directory.
Example usage:
`const SPRITE_0: &Graphics =
include_aseprite!("$OUT_DIR/sprite_0.aseprite");`
- [x] Changelog updated / no changelog update needed
2024-02-03 21:29:57 +01:00
Gwilym Inzani
ade1ba5718
Also include the docs in the agb lib itself
2024-02-03 20:22:06 +00:00
Constantin
03fb125d52
Changelog update
2024-02-03 13:41:27 +01:00
Constantin
b03268f363
Added macro doc
2024-02-03 13:40:59 +01:00
Gwilym Inzani
c5cbe957ab
Update Rust crate libc to 0.2.153 ( #546 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://togithub.com/rust-lang/libc ) | dependencies | patch |
`0.2.152` -> `0.2.153` |
---
### Release Notes
<details>
<summary>rust-lang/libc (libc)</summary>
###
[`v0.2.153`](https://togithub.com/rust-lang/libc/releases/tag/0.2.153 )
[Compare
Source](https://togithub.com/rust-lang/libc/compare/0.2.152...0.2.153 )
##### What's Changed
- Add SOMAXCONN to vita on 0.2 (to fix std) by
[@​pheki](https://togithub.com/pheki ) in
[https://github.com/rust-lang/libc/pull/3552 ](https://togithub.com/rust-lang/libc/pull/3552 )
- Fix CI for v0.2 by [@​JohnTitor](https://togithub.com/JohnTitor )
in
[https://github.com/rust-lang/libc/pull/3557 ](https://togithub.com/rust-lang/libc/pull/3557 )
- \[Backport
[#​3548](https://togithub.com/rust-lang/libc/issues/3548 )] Add
ioctl FS_IOC\_{G,S}{ETVERSION,ETFLAGS} for LoongArch64 by
[@​heiher](https://togithub.com/heiher ) in
[https://github.com/rust-lang/libc/pull/3570 ](https://togithub.com/rust-lang/libc/pull/3570 )
- Add MFD_NOEXEC_SEAL and MFD_EXEC by
[@​rusty-snake](https://togithub.com/rusty-snake ) in
[https://github.com/rust-lang/libc/pull/3553 ](https://togithub.com/rust-lang/libc/pull/3553 )
- Backport of
[#​3546](https://togithub.com/rust-lang/libc/issues/3546 ) and
update crate version to 0.2.153 by
[@​GuillaumeGomez](https://togithub.com/GuillaumeGomez ) in
[https://github.com/rust-lang/libc/pull/3554 ](https://togithub.com/rust-lang/libc/pull/3554 )
##### New Contributors
- [@​rusty-snake](https://togithub.com/rusty-snake ) made their
first contribution in
[https://github.com/rust-lang/libc/pull/3553 ](https://togithub.com/rust-lang/libc/pull/3553 )
**Full Changelog**:
https://github.com/rust-lang/libc/compare/0.2.152...0.2.153
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log [here](https://developer.mend.io/github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-02 23:08:17 +01:00
GBA bot
cc0853518b
Update lockfiles
2024-01-31 23:15:12 +00:00
renovate[bot]
bfd38f425b
Update Rust crate libc to 0.2.153
2024-01-31 23:14:44 +00:00
Constantin
3cd71b120f
Names update
2024-01-24 20:17:04 +01:00
Constantin
3fcab53f52
Expand $OUT_DIR in background and sprite include macros
2024-01-24 19:19:30 +01:00
Gwilym Inzani
356adb60e9
Update Rust crate pkg-config to 0.3.29 ( #542 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pkg-config](https://togithub.com/rust-lang/pkg-config-rs ) |
build-dependencies | patch | `0.3.28` -> `0.3.29` |
---
### Release Notes
<details>
<summary>rust-lang/pkg-config-rs (pkg-config)</summary>
###
[`v0.3.29`](https://togithub.com/rust-lang/pkg-config-rs/blob/HEAD/CHANGELOG.md#0329---2024-01-17 )
[Compare
Source](https://togithub.com/rust-lang/pkg-config-rs/compare/0.3.28...0.3.29 )
##### Fixed
- Detection and usage of Windows static libraries
([#​154](https://togithub.com/rust-lang/pkg-config-rs/issues/154 )).
- Passing `-Wl,-u` to the linker if specified in the pkg-config file
([#​154](https://togithub.com/rust-lang/pkg-config-rs/issues/154 )).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log [here](https://developer.mend.io/github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-01-23 20:46:12 +00:00
Gwilym Inzani
42ec1520d7
Update actions/cache action to v4 ( #543 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/cache](https://togithub.com/actions/cache ) | action | major |
`v3` -> `v4` |
---
### Release Notes
<details>
<summary>actions/cache (actions/cache)</summary>
### [`v4`](https://togithub.com/actions/cache/compare/v3...v4 )
[Compare Source](https://togithub.com/actions/cache/compare/v3...v4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log [here](https://developer.mend.io/github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-01-23 20:45:56 +00:00
GBA bot
7a7aa5c57b
Update lockfiles
2024-01-17 17:23:23 +00:00
GBA bot
eb3b9b3c4a
Update lockfiles
2024-01-17 17:23:16 +00:00
renovate[bot]
94263ae20b
Update actions/cache action to v4
2024-01-17 17:22:50 +00:00
renovate[bot]
f6eade6c02
Update Rust crate pkg-config to 0.3.29
2024-01-17 17:22:45 +00:00
Corwin
863afbbe23
fix ewram name ( #541 )
...
- [ ] Changelog updated / no changelog update needed
2024-01-13 14:54:03 +00:00
Corwin
7c752b2e97
fix ewram name
2024-01-13 14:34:59 +00:00
Corwin
156fe0fe7d
Fix clippy and use nightly for CI builds ( #540 )
2024-01-13 10:46:06 +00:00
Corwin
e35bfd0636
use nightly explicitly
2024-01-13 10:36:10 +00:00
Corwin
8e367ab6b6
allow dead code of an enum parameter only used in a debug print
2024-01-13 10:31:33 +00:00