Commit graph

3154 commits

Author SHA1 Message Date
Corwin 1f1ba909c6
expand backtrace if large (#651) 2024-04-22 13:00:41 +01:00
Corwin 237b95c460
expand backtrace if large 2024-04-22 12:52:33 +01:00
Gwilym Inzani 4243592f63
Make backtraces optional (#648)
You probably don't want backtraces if you're doing multiboot and in a
few other cases.

Also #646 broke the build if you didn't use the `testing` feature, so
I've updated the `justfile` so that a CI run checks that agb builds
correctly both without the `testing` feature and without the `backtrace`
feature. The `backtrace` feature implies the testing feature to make
things a bit simpler.

- [x] Changelog updated
2024-04-21 20:07:02 +01:00
Corwin a957a812c7
Fix: Exclusive range (#650) 2024-04-21 16:39:20 +01:00
Corwin 2560f2e15e
exclusive range 2024-04-21 16:31:41 +01:00
Corwin b402a8c23d
Update rust-wasm-bindgen monorepo (#649) 2024-04-20 22:51:39 +01:00
renovate[bot] 40fbcf830f
Update rust-wasm-bindgen monorepo 2024-04-20 21:42:45 +00:00
Corwin 8c8581e19c
Crash page (#644)
* Uses agb_debug in wasm to show addresses and more with additional
debug information!
2024-04-20 22:42:22 +01:00
Corwin 04f1d5c2ff
use library functions to get address info 2024-04-20 21:49:05 +01:00
Corwin 528fe889fa
Merge remote-tracking branch 'upstream/master' into crash-page 2024-04-20 21:41:09 +01:00
Gwilym Inzani 300d834cfa Update changelog entry 2024-04-20 20:42:38 +01:00
Gwilym Inzani 96ad727b55 Ensure feature flag combinations are built in CI and tested 2024-04-20 20:37:03 +01:00
Gwilym Inzani 580afa9335 Make the backtrace feature optional 2024-04-20 20:28:10 +01:00
Corwin b317602c6b
Get saving working (#631)
- [ ] Changelog updated / no changelog update needed
2024-04-20 16:43:35 +01:00
Corwin 4022e8413e
load gba rom as a url to let next handle cache invalidation 2024-04-20 16:19:07 +01:00
Corwin dc44d20627
save to separate areas 2024-04-20 16:18:42 +01:00
Corwin 6aee9ba154
placeholder 2024-04-20 15:38:55 +01:00
Corwin 103085684a
get value that depends on being run in the client in an effect 2024-04-20 13:43:59 +01:00
Corwin bc689cbbd2
function style 2024-04-20 13:35:33 +01:00
Corwin 1adf31d140
report when there's no information for an address 2024-04-20 13:30:14 +01:00
Corwin 8352d20d73
add errors for file decoding 2024-04-20 13:27:00 +01:00
Gwilym Inzani 4899ccd5aa Avoid awkward wrapping 2024-04-20 12:48:31 +01:00
Gwilym Inzani 141a77af80 Prettier 2024-04-20 12:40:07 +01:00
Gwilym Inzani 7bbb52c449 Put the game developer summary in a details block 2024-04-20 12:38:44 +01:00
Gwilym Inzani dcdbf1069e The address isn't necessarily unique 2024-04-20 12:33:24 +01:00
Gwilym Inzani 911ea848df Allow typing in the backtrace 2024-04-20 12:31:20 +01:00
Corwin 4419dfb0b5
Split mgba log if too big (#646)
- [x] Changelog updated
2024-04-20 00:21:11 +01:00
Corwin 84d68470e4
add changelog entry 2024-04-20 00:12:36 +01:00
Corwin 7044c08100
large logs get split into multiple prints 2024-04-20 00:09:20 +01:00
Corwin e660d9257b
Add bounds check for panic writer (#645)
Can cause double panic by writing OOB.
- [x] no changelog update needed
2024-04-20 00:07:43 +01:00
Corwin e1a8b04616
add bounds check 2024-04-19 23:59:58 +01:00
Corwin 162bc17add
shift content around to make backtrace more apparent 2024-04-19 23:55:41 +01:00
Corwin 853c008ff7
cleanup duplicate text 2024-04-19 21:49:34 +01:00
Corwin 04d368edf0
move out backtrace decoding 2024-04-19 21:49:16 +01:00
Corwin 8433b23967
copy to backtrace 2024-04-19 21:49:00 +01:00
Corwin e82d7f7ce5
remove log 2024-04-19 21:12:50 +01:00
Corwin f5bbee01b7
move agb-wasm to website directory 2024-04-19 21:12:46 +01:00
Corwin 9b773524d6
setup wasm 2024-04-18 19:39:27 +01:00
Corwin 0d4005f163
make backtrace view fancy 2024-04-18 19:10:53 +01:00
Corwin 55394640b0
correct inline logic 2024-04-18 19:10:39 +01:00
Corwin 1a3b4319bc
correct justfile 2024-04-18 00:53:20 +01:00
Corwin 1cdbf13814
correct the text 2024-04-18 00:53:15 +01:00
Corwin 121ebe312c
add debug information to the crash page 2024-04-18 00:50:13 +01:00
Corwin 1d9a7d51a3
expose as wasm 2024-04-18 00:44:13 +01:00
Corwin f269e6364a
thiserror + expose some as lib 2024-04-18 00:43:47 +01:00
Corwin 72e7850152
backtrace page with more detail 2024-04-17 19:44:31 +01:00
Gwilym Inzani 9fc52000fe
Update Javascript packages (non-major) (#642)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`18.2.78` ->
`18.2.79`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.78/18.2.79)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.79?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.79?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.78/18.2.79?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.78/18.2.79?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-config-next](https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config)
([source](https://togithub.com/vercel/next.js/tree/HEAD/packages/eslint-config-next))
| [`14.2.0` ->
`14.2.1`](https://renovatebot.com/diffs/npm/eslint-config-next/14.2.0/14.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-next/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-next/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-next/14.2.0/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-next/14.2.0/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [next](https://nextjs.org)
([source](https://togithub.com/vercel/next.js)) | [`14.2.0` ->
`14.2.1`](https://renovatebot.com/diffs/npm/next/14.2.0/14.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/next/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/14.2.0/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/14.2.0/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/next.js (eslint-config-next)</summary>

###
[`v14.2.1`](https://togithub.com/vercel/next.js/compare/v14.2.0...v14.2.1)

[Compare
Source](https://togithub.com/vercel/next.js/compare/v14.2.0...v14.2.1)

</details>

<details>
<summary>vercel/next.js (next)</summary>

###
[`v14.2.1`](https://togithub.com/vercel/next.js/compare/v14.2.0...v14.2.1)

[Compare
Source](https://togithub.com/vercel/next.js/compare/v14.2.0...v14.2.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-04-17 14:38:28 +01:00
renovate[bot] 55e60d0183
Update Javascript packages (non-major) 2024-04-16 19:31:04 +00:00
Gwilym Inzani 5c9767a201
Group JS updates to reduce PR spam a little (#641)
Make renovate only update js dependencies once per week and to group
them all in one PR.

Apparently with this branch name, renovate will validate the config for
me which is fancy

- [x]  no changelog update needed
2024-04-16 20:30:13 +01:00
Gwilym Inzani 8bdabb03dc Add justfile target to validate the renovate config 2024-04-16 20:19:57 +01:00