Commit graph

2889 commits

Author SHA1 Message Date
Gwilym Inzani ac49855937 Prettify the path 2024-04-01 14:22:41 +01:00
Gwilym Inzani fb9159d2cf Prettify the output furter 2024-04-01 14:16:13 +01:00
Gwilym Inzani 726b400463 Slightly prettier output 2024-04-01 14:10:23 +01:00
Gwilym Inzani 3f374f3e9c Print the entire backtrace 2024-04-01 14:05:22 +01:00
Gwilym Inzani 8453b46eab Prettify the output a little 2024-04-01 13:43:08 +01:00
Gwilym Inzani 3ab6d08c7f Start to implement an agb-addr2line 2024-04-01 13:26:48 +01:00
Gwilym Inzani 7708398981 Basic implementation of backtraces on panic 2024-04-01 13:05:39 +01:00
Gwilym Inzani 6fdd961b61
Kerning support (#588)
Some fonts look a bit weird if you don't do kerning.

@corwinkuiper can you check if I've done the correct thing for object
font rendering? I'm not entirely sure... Although it does render
correctly in my tests :D

- [x] Changelog updated / no changelog update needed
2024-03-29 15:17:18 +00:00
Corwin 9cbddfec80
Use static rather than const (#529) 2024-03-29 14:51:11 +00:00
Corwin ce4882a56c
add changelog entry 2024-03-29 14:43:36 +00:00
Corwin 184b11ed81
use static rather than const 2024-03-29 14:41:08 +00:00
Gwilym Inzani 58c0e02b48 Add a changelog entry for kerning 2024-03-27 11:12:23 +00:00
Gwilym Inzani 2833045322 Add kerning support to the font rendering 2024-03-27 11:01:26 +00:00
Gwilym Inzani 92c39ecc5d
Unicode font support (#587)
![image](https://github.com/agbrs/agb/assets/460842/52dcd161-d8e4-4588-8f3e-c8dd8c2540aa)

Doesn't correctly handle accents or modifiers like that. Ligatures are
also not supported. But does correctly render any character directly in
the font :)

- [x] Changelog updated / no changelog update needed
2024-03-27 09:53:11 +00:00
Gwilym Inzani 232e5670d4 Say hello in japanese for the object_text_render example 2024-03-27 09:44:40 +00:00
Gwilym Inzani a7b017e7e7 Add a changelog entry for initial unicode support 2024-03-27 09:32:34 +00:00
Gwilym Inzani fa1de1fab7 Should be static 2024-03-27 09:30:41 +00:00
Gwilym Inzani f4efaf67a4 Add a japanese text rendering example 2024-03-27 09:26:11 +00:00
Gwilym Inzani a61fe79a6f Allow any character supported by the font 2024-03-27 09:21:06 +00:00
Gwilym Inzani dc8a6e3884 Add a japanese font to the examples ready for testing 2024-03-27 09:09:40 +00:00
Gwilym Inzani 0142decb92
Document -> DocumentMut (#586)
Build started failing last night because of this
2024-03-20 13:34:14 +00:00
Gwilym Inzani b28f3872c0 Document -> DocumentMut 2024-03-20 13:26:02 +00:00
Gwilym Inzani 33bc38a094
Update Rust crate asefile to 0.3.8 (#585)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asefile](https://togithub.com/alpine-alpaca/asefile) | dependencies |
patch | `0.3.7` -> `0.3.8` |

---

### Release Notes

<details>
<summary>alpine-alpaca/asefile (asefile)</summary>

###
[`v0.3.8`](https://togithub.com/alpine-alpaca/asefile/blob/HEAD/CHANGELOG.md#038)

[Compare
Source](https://togithub.com/alpine-alpaca/asefile/compare/v0.3.7...v0.3.8)

-   Parse `repeat` property of a tag. [#&#8203;23]
-   Upgrade Rust edition and `bitflags` dependency [#&#8203;24]

[#&#8203;23]: https://togithub.com/alpine-alpaca/asefile/pull/23

[#&#8203;24]: https://togithub.com/alpine-alpaca/asefile/pull/24

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-03-19 23:41:19 +00:00
GBA bot 4bf1778dec Update lockfiles 2024-03-19 23:30:08 +00:00
renovate[bot] 2a418ed38a
Update Rust crate asefile to 0.3.8 2024-03-19 23:29:33 +00:00
Gwilym Inzani f36a888771
Add changelog entry (#584)
Forgot to push the changelog entry
2024-03-13 15:45:33 +00:00
Gwilym Inzani 09ad7c2c5d Add changelog entry 2024-03-13 15:36:46 +00:00
Gwilym Inzani 0c21f70c46
Make dma module public (#583)
I was trying to use DMA in a less trivial case than the examples and
couldn't because I couldn't write the types (since I'd forgotten to
export the module).

This will likely just be 0.19.2 with the extra `pub mod` :)

- [x] Changelog updated
2024-03-13 14:38:13 +00:00
Gwilym Inzani b25302f133 Add required doc comments 2024-03-13 14:28:48 +00:00
Gwilym Inzani 3c28324e83 Make the DMA module public 2024-03-13 14:24:14 +00:00
Gwilym Inzani 95b5e85f57
Update Rust crate xmrs to 0.4 (#579)
[![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.3` -> `0.4` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-03-09 16:22:56 +00:00
GBA bot 0b669e513e Update lockfiles 2024-03-09 15:28:03 +00:00
renovate[bot] 5093c94eac
Update Rust crate xmrs to 0.4 2024-03-09 15:27:29 +00:00
Gwilym Inzani d804edb1ec
Fix clippy lint in agb tools (#581)
Clippy lint was getting upset that we were pointlessly cloning. So stop
doing that (even though the lint seems to have a bug, but I'd like the
build to start working again).

- [x]  no changelog update needed
2024-03-09 12:18:38 +00:00
Gwilym Inzani 622887bcdc Don't clone unnecessarily 2024-03-09 12:09:34 +00:00
Corwin 9e63b2c46c
Release v0.19.1 2024-03-06 19:11:47 +00:00
Corwin 2e87a77b79
Fix out by one in infinite scroll (#577)
Fix out by one in infinite scroll
2024-03-06 17:22:09 +00:00
Gwilym Inzani 7ebebb2942 Fix out by one in infinite scroll 2024-03-06 15:42:48 +00:00
Gwilym Inzani 75320ed3e0
Fix the incorrect copying of map tiles issue (#576)
* A very old issue that meant you couldn't move more than one tile per
frame.
* This fixes the logic so we can move maps quickly.

- [x] Changelog updated
2024-03-06 14:30:21 +00:00
Gwilym Inzani f8e24a3ee3 Add changelog entry 2024-03-06 14:24:58 +00:00
Corwin 78146bc963
fix the incorrect copying of map tiles issue 2024-03-06 12:40:53 +00:00
Corwin 20a74fe319
introduce vector and rect abs 2024-03-06 12:40:53 +00:00
Gwilym Inzani 66ec762855 Release v0.19.0 2024-03-06 09:33:58 +00:00
Gwilym Inzani ec2bbb3eca Changelog should say 'changed' 2024-03-06 09:26:47 +00:00
Gwilym Inzani 5bdc782e78
Add an into_inner() function on infinite scrolled map (#575)
Adds a useful into_inner function which we need at the moment.

Will add a changelog and documentation later

- [x] Changelog updated
2024-03-06 09:11:08 +00:00
Gwilym Inzani 90fe94424f Add a doc entry for into_inner 2024-03-06 09:02:40 +00:00
Gwilym Inzani 98d9c133c7 Add a changelog entry for into_inner 2024-03-06 09:00:28 +00:00
Gwilym Inzani 569a1c0425 Add an into_inner() function on infinite scrolled map 2024-03-06 08:59:29 +00:00
Corwin 0e7716b4ee
Bump asefile version (#573) 2024-03-03 16:23:53 +00:00
Corwin 7a84eb3cd5
update lockfiles 2024-03-03 15:59:15 +00:00