Commit graph

3513 commits

Author SHA1 Message Date
Corwin 50f2ad6f52
exclude tests / examples / benches from the published packages 2024-06-12 01:19:18 +01:00
Corwin 9ef4a8efcc
Update dependency @types/node to v20.14.2 (#722) 2024-06-11 20:59:21 +01:00
Corwin fed560b41b
expose graphics mode 2024-06-11 17:50:22 +01:00
renovate[bot] 29454c5752
Update dependency @types/node to v20.14.2 2024-06-11 01:45:15 +00:00
Gwilym Inzani 062eb1154e
The link register points to the next instruction, not the current one (#718)
agb-debug was producing some bad backtraces which was being caused by
the fact that we were producing slightly incorrect values which made
bigger examples of backtraces completely useless.

I could fix this in agb-debug, but I feel like the correct place to do
this is just fixing agb.

- [x] Changelog updated
2024-06-04 21:47:16 +01:00
Gwilym Inzani 32c6ed4e35 Ensure the frame pointer is always 0 2024-06-04 21:39:58 +01:00
Gwilym Inzani b405a04a4a Add a changelog entry 2024-06-04 21:19:29 +01:00
Gwilym Inzani d9243ded6b The link register points to the next instruction 2024-06-04 21:18:10 +01:00
Gwilym Inzani fafa4ba7ea
Update Rust crate xmrs to 0.6 (#716)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [xmrs](https://codeberg.org/sbechet/xmrs) | dependencies | minor |
`0.5` -> `0.6` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-06-04 20:19:30 +01:00
Corwin d6b52f8ce8
Update dependency @types/node to v20.14.1 (#717) 2024-06-04 20:03:34 +01:00
renovate[bot] cb6e8edb99
Update dependency @types/node to v20.14.1 2024-06-04 01:13:58 +00:00
Corwin 8d1e5ee192
Update dependency @types/react to v18.3.3 (#715) 2024-05-29 18:01:53 +01:00
renovate[bot] dd15cb2ee0
Update Rust crate xmrs to 0.6 2024-05-29 16:36:06 +00:00
renovate[bot] 886874ffd0
Update dependency @types/react to v18.3.3 2024-05-28 01:30:25 +00:00
Gwilym Inzani 2de07342d7
Fix affine background matrix creation outside of the 1st quadrant (#714)
- [x] Changelog updated
2024-05-27 16:46:59 +01:00
Gwilym Inzani 6b58280e81 Add changelog entry for affine background positions 2024-05-27 14:47:17 +01:00
Gwilym Inzani fde444e253 Fix affine background matrix creation outside of the 1st quadrant 2024-05-27 14:46:55 +01:00
Gwilym Inzani 27ee9c7b85
Revert "Remove lifetime from dma transfer handle" (#713)
Reverts agbrs/agb#712

This wasn't for the data but for the DMA itself
2024-05-27 14:24:02 +01:00
Gwilym Inzani 21658b9b15
Revert "Remove lifetime from dma transfer handle" 2024-05-27 14:16:24 +01:00
Gwilym Inzani dc06aabb19
Remove lifetime from dma transfer handle (#712)
The lifetime here is pointless since we copy the data anyway. And this
makes a bunch of stuff not unsafe any more which is really nice.

- [x] Changelog updated / no changelog update needed
2024-05-27 13:39:27 +01:00
Gwilym Inzani e91e7a84e7 Add changelog entry for less unsafe 2024-05-27 13:25:52 +01:00
Gwilym Inzani c4719a5ce0 Remove unsafe from examples 2024-05-27 13:24:58 +01:00
Gwilym Inzani e9ce8cd2ad hblack_transfer doesn't need to be unsafe 2024-05-27 13:23:49 +01:00
Gwilym Inzani 248f71dbfa Remove lifetime from DMA transfer handle 2024-05-27 13:20:13 +01:00
Gwilym Inzani 97d474e989
Update Rust crate addr2line to 0.23 (#709)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [addr2line](https://togithub.com/gimli-rs/addr2line) | dependencies |
minor | `0.22` -> `0.23` |

---

### Release Notes

<details>
<summary>gimli-rs/addr2line (addr2line)</summary>

###
[`v0.23.0`](https://togithub.com/gimli-rs/addr2line/blob/HEAD/CHANGELOG.md#0230-20240526)

[Compare
Source](https://togithub.com/gimli-rs/addr2line/compare/0.22.0...0.23.0)

##### Breaking changes

-   Updated `gimli` dependency.

- Deleted `Context::new`, `Context::new_with_sup`, and
`builtin_split_dwarf_loader`.
    Use `Context::from_dwarf` or `Loader::new` instead.
    This removes `object` from the public API.
    [#&#8203;296](https://togithub.com/gimli-rs/addr2line/pull/296)

##### Changed

-   Fixed handling of column 0 in the line table.
    [#&#8203;290](https://togithub.com/gimli-rs/addr2line/pull/290)

- Moved `addr2line` from `examples` to `bin`. Requires the `bin`
feature.
    [#&#8203;291](https://togithub.com/gimli-rs/addr2line/pull/291)

-   Split up `lib.rs` into smaller modules.
    [#&#8203;292](https://togithub.com/gimli-rs/addr2line/pull/292)

##### Added

-   Added `Loader`. Requires the `loader` feature.
    [#&#8203;296](https://togithub.com/gimli-rs/addr2line/pull/296)
    [#&#8203;297](https://togithub.com/gimli-rs/addr2line/pull/297)

-   Added unpacked Mach-O support to `Loader`.
    [#&#8203;298](https://togithub.com/gimli-rs/addr2line/pull/298)

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
2024-05-27 10:06:11 +01:00
Gwilym Inzani 587e3cb521 Fix build errors by importing the crates manually 2024-05-27 09:58:23 +01:00
renovate[bot] 2ac49ace06
Update Rust crate addr2line to 0.23 2024-05-26 07:04:06 +00:00
Gwilym Inzani a243bf4078
Nicer test logo (#707)
With the new examples page on the website, I thought it was probably
time to update the logo we use there to a nicer one.

I've also added a basic one to make the background colour change example
nicer, and sometimes you might want the less busy one.

- [x] Changelog updated

![image](https://github.com/agbrs/agb/assets/460842/062bb473-1b2f-4db0-a712-6d264240be9a)
2024-05-25 21:19:04 +01:00
Gwilym Inzani 30e3718797 Include drawing a leviathan 2024-05-25 21:11:32 +01:00
Gwilym Inzani 24e15f8786 Add a basic version of the example_logo for certain examples 2024-05-25 21:11:32 +01:00
Gwilym Inzani b208133564 Add changelog entry for new functions 2024-05-25 21:11:28 +01:00
Gwilym Inzani da9ad6d496 Add a 256 colour variant too 2024-05-25 21:11:02 +01:00
Gwilym Inzani bf4a6887a5 Update the background example to search for the colour 2024-05-25 21:11:02 +01:00
Gwilym Inzani b219e00454 Update the test_logo to be a bit nicer 2024-05-25 21:11:02 +01:00
Corwin d05965b98f
Release v0.20.2 2024-05-25 13:20:03 +01:00
Corwin fb85d7ba14
Fix qrcode generation (#708)
- [x] Changelog updated
2024-05-25 13:05:49 +01:00
Corwin b3d7642071
extract code generation and add test 2024-05-25 12:22:38 +01:00
Corwin cfc3c3a93c
add changelog entry 2024-05-25 12:10:35 +01:00
Corwin 2d34099afc
resize the buffer 2024-05-25 12:07:23 +01:00
Corwin 51b1f909c5
clear screen and handle message overlap 2024-05-25 12:07:23 +01:00
Corwin e06230efd0
Agb examples site (#705)
![image](https://github.com/agbrs/agb/assets/8143879/12163f27-1097-49fd-810c-a00f6cf5d8bf)
2024-05-22 20:56:59 +01:00
Corwin 04181a4253
include the source code for each example 2024-05-22 17:18:29 +01:00
Corwin abf7e9dc7f
fix justfile 2024-05-22 12:45:39 +01:00
Corwin 66d750fb84
make the webpage 2024-05-22 02:21:37 +01:00
Corwin a2dea3cab5
generate roms and screenshots 2024-05-22 02:21:30 +01:00
Corwin 81621c3b5e
add screenshot generator tool 2024-05-22 02:21:19 +01:00
Corwin e25a1c7158
remove just build that is non standard 2024-05-22 02:20:39 +01:00
Gwilym Inzani f047b6de94
Put https://agbrs.dev as the homepage for the crate (#704)
- [x] no changelog update needed
2024-05-21 23:51:31 +01:00
Gwilym Inzani 627c6dad1f
Use pointers rather than pin to simplify the mixers buffer handling (#703)
Mentioned by @corwinkuiper that this might be a nicer way of handling
this

- [x] no changelog update needed
2024-05-21 23:48:39 +01:00
Gwilym Inzani 864fd08ec3 Put https://agbrs.dev as the homepage for the crate 2024-05-21 23:43:45 +01:00