Commit graph

3107 commits

Author SHA1 Message Date
Corwin e1a8b04616
add bounds check 2024-04-19 23:59:58 +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
Gwilym Inzani d7255186be Update renovate config to group minor js dependencies and only apply them once per week 2024-04-16 20:19:38 +01:00
Corwin 28aa676d17
Update dependency @types/react to v18.2.78 (#638) 2024-04-13 18:36:57 +01:00
Gwilym Inzani e7bf7bba94
Update Rust crate addr2line to 0.22 (#633)
[![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.21` -> `0.22` |

---

### Release Notes

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

###
[`v0.22.0`](https://togithub.com/gimli-rs/addr2line/blob/HEAD/CHANGELOG.md#0220-20240411)

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

##### Breaking changes

-   Updated `gimli` and `object` dependencies.

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-04-13 16:06:13 +01:00
Gwilym Inzani 7f493e922e Simplify the declaration a little 2024-04-13 15:58:30 +01:00
Gwilym Inzani 66e55890e2 Only need 1 lifetime here 2024-04-13 15:56:00 +01:00
renovate[bot] 19cf20bff8
Update dependency @types/react to v18.2.78 2024-04-13 13:46:48 +00:00
Corwin 81d9db5c36
Update dependency @types/react to v18.2.77 (#635) 2024-04-11 23:17:05 +01:00
Corwin bfe0cb31d6
Update nextjs monorepo to v14.2.0 (#636) 2024-04-11 23:16:51 +01:00
renovate[bot] 4c665a49a8
Update nextjs monorepo to v14.2.0 2024-04-11 21:54:10 +00:00
renovate[bot] 5fdd18927d
Update dependency @types/react to v18.2.77 2024-04-11 21:53:47 +00:00
Corwin 80ef7fb7f1
Update react monorepo to v18.2.76 (#634) 2024-04-11 22:52:56 +01:00
renovate[bot] 009d10da43
Update react monorepo to v18.2.76 2024-04-11 19:04:05 +00:00
renovate[bot] 0b63284c7b
Update Rust crate addr2line to 0.22 2024-04-11 10:29:52 +00:00
Corwin 27ad5d1184
Add controller support (#630)
Simple use of gamepad apis to add controller support.
2024-04-10 20:38:54 +01:00
Corwin 99789c369d
Update dependency typescript to v5.4.5 (#629) 2024-04-10 18:33:52 +01:00
Corwin 4e4e323002
format ts files 2024-04-10 18:31:24 +01:00
Corwin c29a9a4a2b
add controller support 2024-04-10 18:30:12 +01:00
renovate[bot] b6dc67dd24
Update dependency typescript to v5.4.5 2024-04-10 16:36:12 +00:00
Corwin 5f37e9f442
Update dependency @types/node to v20.12.7 (#628) 2024-04-09 22:30:35 +01:00
renovate[bot] fe7fae1c04
Update dependency @types/node to v20.12.7 2024-04-09 21:24:31 +00:00
Corwin 2bacef161b
Use portable atomics and other similar libraries (#565)
I tried switching out our statics to use the standard portable atomics,
critical section, and once cell crates.
One of the save test fails in release mode for me, not sure why but
these tests failing always suggests magic is going on.

- [x] Changelog updated / no changelog update needed
2024-04-09 22:23:40 +01:00
Corwin 413a889488
add changelog entry 2024-04-09 22:17:31 +01:00
Corwin a0895635ab
use portable atomic from agb 2024-04-09 22:08:55 +01:00
Corwin c632eb4ea3
type use of rng 2024-04-09 22:03:33 +01:00
Corwin 32eb34f226
fix panic renderer 2024-04-09 21:58:49 +01:00
Corwin d6b32e511d
pub them in external mod 2024-04-09 21:57:26 +01:00
Corwin 7ade79e132
update other projects 2024-04-09 21:52:54 +01:00
Corwin fb247aa8f2
move single file module out of directory 2024-04-09 21:52:04 +01:00
Corwin 10575f28a6
delay cell 2024-04-09 21:52:04 +01:00
Corwin 9fbd420089
add test that atomic read / write works 2024-04-09 21:52:04 +01:00
Corwin 2b4c4459e0
use portable atomics and other similar libraries 2024-04-09 21:52:00 +01:00
Gwilym Inzani 11b51e0a75
Workspaces (#626)
We can put everything except 'agb' and the 'agb-tracker' crates in a
workspace for hopefully easier management :)

- [x] no changelog update needed
2024-04-09 21:45:59 +01:00
Gwilym Inzani b963065ad6 Update the justfile 2024-04-09 21:06:21 +01:00
Gwilym Inzani 7a059b2142 This is called agb-debug 2024-04-09 21:06:16 +01:00
Gwilym Inzani 36cdc9e28d Don't need this workspace any more 2024-04-09 21:06:08 +01:00
Gwilym Inzani 65388e01f5 Fix more clippy lints in the emulator 2024-04-09 20:56:19 +01:00
Gwilym Inzani 08ad8765de Fix clippy lint and fmt in the emulator 2024-04-09 20:55:21 +01:00
Gwilym Inzani 52ddd97a2e Switch to cargo workspaces for every crate we support 2024-04-09 20:54:12 +01:00
Corwin 0dab252379
RFC: Remove Cargo lockfiles (#621)
Maintaining the lockfiles has proven to be an annoyance with regular
"update lockfiles" commits. We don't actually care what's in the
lockfiles.

The problem is that they're not kept in sync with each other. We really
want a workspace to have one lockfile for the whole project, but
limitations is workspaces means this is not currently possible.
2024-04-09 20:51:28 +01:00
Corwin c8abf33c8f
remove update lockfiles workflow 2024-04-09 20:43:31 +01:00
Corwin b7ec8a77d5
ignore Cargo lockfiles 2024-04-09 20:42:11 +01:00
Corwin bf3e708f6f
remove all lockfiles 2024-04-09 20:42:09 +01:00
Corwin 6c60b770b5
Implement signed for our fix num (#578)
* Integrates num_traits more closely.
* Implements signed for our num, and the vector2d / rect abs now can use
our fixnum.
* This is potentially breaking.
2024-04-09 20:41:00 +01:00
Corwin 7d0e05c9b5
update changelog 2024-04-09 20:33:26 +01:00
Corwin 57681f1084
use num traits for and implement signed 2024-04-09 20:26:15 +01:00