Commit graph

3216 commits

Author SHA1 Message Date
Gwilym Inzani b3e18d130f Use a different footer to announce the file type 2024-04-03 14:19:28 +01:00
Gwilym Inzani 5366fc252b Don't need special release stuff here to make local testing faster 2024-04-03 14:19:09 +01:00
Gwilym Inzani e9455d6031 Fix justfile to produce a file in the correct place 2024-04-03 14:18:54 +01:00
Gwilym Inzani 89f6a2782b Allow loading of the dwarf information from the gba rom 2024-04-03 14:03:42 +01:00
Gwilym Inzani 25e15baa2b Compress the debug data for quite a large saving 2024-04-03 13:38:49 +01:00
Gwilym Inzani 2475b5676a Include the debug info in the rom (optionally) 2024-04-03 13:33:50 +01:00
Gwilym Inzani 4144a2be0a Use the ? operator instead 2024-04-03 11:16:44 +01:00
Gwilym Inzani 37ecd48a40 Add a message about the fact that the game crashed 2024-04-03 11:16:34 +01:00
Gwilym Inzani 5e298cb582 Don't need the commented out encoding any more since it is in the test 2024-04-03 11:10:55 +01:00
Gwilym Inzani f633b04d3c Allow passing the URL too since that's easier to copy-paste 2024-04-03 11:08:31 +01:00
Gwilym Inzani fe78711736 Alphabet should be static 2024-04-03 10:58:25 +01:00
Gwilym Inzani e21d06994f Add some tests which showed issues with the decoder 2024-04-03 10:58:06 +01:00
Gwilym Inzani 219fc1e0bc Extract gwilym_encoding into its own file 2024-04-03 10:35:05 +01:00
Gwilym Inzani 51de2ffa60 Don't need to import this macro 2024-04-02 23:38:43 +01:00
Gwilym Inzani e0d68eec15 Correctly render in release mode 2024-04-02 23:31:02 +01:00
Gwilym Inzani e5a8b39924 Print some extra useful information 2024-04-02 23:19:09 +01:00
Gwilym Inzani 6c9c23f79e Change what's being printed slightly 2024-04-02 22:37:23 +01:00
Gwilym Inzani e36145552f gwilym_encode the stack trace and generate a qr code for debugging 2024-04-02 22:24:58 +01:00
Gwilym Inzani 335d69395a
Update Rust crate xmrs to 0.5 (#591)
[![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.4` -> `0.5` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-04-02 20:13:28 +01:00
GBA bot 5f24660b27 Update lockfiles 2024-04-02 12:10:47 +00:00
renovate[bot] 0b7e3464ab
Update Rust crate xmrs to 0.5 2024-04-02 12:10:08 +00:00
Gwilym Inzani 71bdb085be Include the new option in all the config.tomls 2024-04-01 17:02:59 +01:00
Gwilym Inzani 07a6857354 into feels better 2024-04-01 16:56:18 +01:00
Gwilym Inzani fc6e1d5e09 Warn if the file was modified more recently than the elf file 2024-04-01 16:41:05 +01:00
Gwilym Inzani 4b0622f6fb Always include the code 2024-04-01 16:37:06 +01:00
Gwilym Inzani 087228d946 Don't show as much information for uninteresting functions 2024-04-01 16:36:05 +01:00
Gwilym Inzani d729591c0e Include the source code too 2024-04-01 16:30:36 +01:00
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