Commit graph

3242 commits

Author SHA1 Message Date
Corwin a2c127b72b
pull out allocator_api feature 2024-05-14 22:38:42 +01:00
Corwin b316ce2cbc
remove distance_histogram 2024-05-14 22:35:39 +01:00
Gwilym Inzani 30ff065dc0
Handle failure to allocate QR code on panic (#693)
If the allocation for the working space and the result of the QR code
fails, then we don't want to panic but just not render the QR code.

- [x] no changelog update needed
2024-05-14 21:46:03 +01:00
Gwilym Inzani ae2eb5b448 Use the correct padding 2024-05-14 21:38:11 +01:00
Gwilym Inzani 94729e45ec Handle failure to allocate QR code on panic 2024-05-14 21:36:55 +01:00
Gwilym Inzani f80b180fda
Avoid double panic (#643)
Double panics could produce some interesting results, so we should
probably avoid them to avoid breaking the state too much :)

- [x] no changelog update needed
2024-05-14 21:07:30 +01:00
Corwin 7e14de0b76
Continue book (#639) 2024-05-14 20:56:16 +01:00
Gwilym Inzani b71c1d22c3
Add windows instructions (#692)
Closes #691

* Added Windows instruction for the setup
* fixed the path to the example, adjusted to the cargo-project name
* fixed broken code in the example

Original PR contains an extra merge commit we don't want, so this avoids
that.

- [x] no changelog update needed
2024-05-14 20:55:06 +01:00
Gwilym Inzani 5d44c4a658
Remove references to mac on the windows getting started instructions 2024-05-14 20:39:02 +01:00
Gwilym Inzani 9b52572235
Update Javascript packages (non-major) (#688)
[![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/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.12.11` ->
`20.12.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.11/20.12.12)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.11/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.11/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`18.3.1` ->
`18.3.2`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.1/18.3.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.3.1/18.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.1/18.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [styled-components](https://styled-components.com)
([source](https://togithub.com/styled-components/styled-components)) |
[`6.1.10` ->
`6.1.11`](https://renovatebot.com/diffs/npm/styled-components/6.1.10/6.1.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.1.10/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.1.10/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>styled-components/styled-components
(styled-components)</summary>

###
[`v6.1.11`](https://togithub.com/styled-components/styled-components/compare/v6.1.10...v6.1.11)

[Compare
Source](https://togithub.com/styled-components/styled-components/compare/v6.1.10...v6.1.11)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-05-14 20:14:39 +01:00
Gwilym Inzani 85c3fd2a2d
Update Rust crate fontdue to 0.9 (#689)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [fontdue](https://togithub.com/mooman219/fontdue) | dependencies |
minor | `0.8` -> `0.9` |

---

### Release Notes

<details>
<summary>mooman219/fontdue (fontdue)</summary>

###
[`v0.9.0`](https://togithub.com/mooman219/fontdue/blob/HEAD/CHANGELOG.md#090---2024-05-13)

##### Added

-   Flag to conditionally use std hashmap over `hashbrown`

##### Changes

-   Update `ttf-parser` to 0.21
-   Update `rayon` to 1.10

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-05-14 20:14:20 +01:00
tolik518 3e962f2e35 fixed the sprite example to be compilable 2024-05-14 20:36:10 +02:00
tolik518 e4b6c62445 fixed wrong executable name in path 2024-05-14 19:47:50 +02:00
tolik518 74e1ca879a added windows instructions for setup 2024-05-14 19:47:24 +02:00
renovate[bot] f9a0b8f788
Update Javascript packages (non-major) 2024-05-14 08:12:38 +00:00
renovate[bot] 90ce0b0775
Update Rust crate fontdue to 0.9 2024-05-14 00:56:14 +00:00
Corwin 38f3dfd339
Fix colour picker conversion (#687)
got it the wrong way around
2024-05-12 20:35:26 +01:00
Corwin 5f0d2d01a5
got it the wrong way around 2024-05-12 20:15:18 +01:00
Corwin bdc799af36
Web/make dpl redirect (#685) 2024-05-12 15:52:51 +01:00
Corwin f84d9aa1d3
fix the build (#686) 2024-05-12 15:44:38 +01:00
Corwin 4f18f1bc62
remove special characters in sluggification 2024-05-12 15:41:31 +01:00
Corwin 1665167e1a
fix the build 2024-05-12 15:36:25 +01:00
Corwin 839ee3b6f7
setup redirect 2024-05-12 15:27:48 +01:00
Corwin 2e78a6178e
Fix dpl page (#684) 2024-05-12 15:21:02 +01:00
Corwin e9b65e3423
this is not the colour picker 2024-05-12 15:16:58 +01:00
Corwin 617c036c8f
fix dpl page 2024-05-12 15:13:05 +01:00
Gwilym Inzani 8c2e079ec2 Mark the fact that it was a double panic in the fatal message 2024-05-12 14:08:03 +01:00
Gwilym Inzani 642c3c1b79 Better comments around the panic handler 2024-05-12 14:06:42 +01:00
Gwilym Inzani 18b25e242e Handle this in both panic handlers 2024-05-12 14:06:41 +01:00
Gwilym Inzani 9fe526d0bc Prevent a double panic 2024-05-12 14:06:14 +01:00
Gwilym Inzani 72d53244e8 Fix warnings in pong code 2024-05-12 14:03:16 +01:00
Corwin af170bdccf
Update Javascript packages (non-major) (#681) 2024-05-08 20:52:03 +01:00
renovate[bot] 79f7638a24
Update Javascript packages (non-major) 2024-05-08 15:09:36 +00:00
Corwin 0cb39662d6
Update Javascript packages (non-major) (#680) 2024-05-07 11:19:00 +01:00
renovate[bot] 55377f89fa
Update Javascript packages (non-major) 2024-05-07 00:02:02 +00:00
Corwin e2469b0de7
switch back to the orangey colour (#666)
![image](https://github.com/agbrs/agb/assets/8143879/1147fd1d-7446-437f-a4a8-0330f253830f)

![image](https://github.com/agbrs/agb/assets/8143879/c0a952e2-7b64-4da5-bcd3-0235bca859cc)
2024-05-01 01:17:43 +01:00
Corwin c19786edf0
triadic colour 2024-04-30 23:49:09 +01:00
Corwin c3a7ce9182
switch back to the orangey colour 2024-04-30 23:28:26 +01:00
Corwin 98c284a1c1
add drawing a leviathan (#665) 2024-04-30 21:36:54 +01:00
Corwin deba835a17
add drawing a leviathan 2024-04-30 21:28:30 +01:00
Gwilym Inzani 6049593aa7
Add a set_next method on OamIterator (#664)
It was annoying me how often I had to write this

- [x] Changelog updated
2024-04-30 21:28:07 +01:00
Gwilym Inzani 8ede32ea7b Mark the test as no_run rather than rust 2024-04-30 20:53:06 +01:00
Corwin 737a1582dd
Start showcase pages (#657) 2024-04-30 20:52:20 +01:00
Gwilym Inzani 609e55155b Add changelog entry for set_next 2024-04-30 20:41:01 +01:00
Gwilym Inzani 37e9fe5066 Add a set_next method on OamIterator 2024-04-30 20:39:50 +01:00
Gwilym Inzani 9501506c08
Update repo folder descriptions (#656)
I noticed that a few of the directories weren't documented. Also did a
quick edit pass

- [x] no changelog update needed
2024-04-30 20:31:24 +01:00
Gwilym Inzani ceab4302d4 Can just refer to the emulator directly once 2024-04-30 20:23:49 +01:00
Gwilym Inzani c97de67fa6 Correct command to update rustup 2024-04-30 20:23:49 +01:00
Gwilym Inzani 86f8cc45d4 Update the website link 2024-04-30 20:23:49 +01:00
Gwilym Inzani 13ef5d4ce2 Include the tracker in the headline features 2024-04-30 20:23:49 +01:00