Lord-McSweeney
b69eabfcdc
avm2: Lookup multinames in verifier and store them in `Op`
2024-03-10 09:49:24 -07:00
Tom Schuster
2065661874
chore: Update `gilrs` dependency to `0.10.5` ( #15505 )
...
(Manually reverted a `windows` downgrade)
2024-03-09 22:51:23 +00:00
Aaron Hill
7752c32c8e
avm2: Stub GameInput.getDeviceAt and GameInputControl ( #15409 )
2024-03-09 22:01:10 +00:00
Aaron Hill
81604dd21c
Request highest 'max_inter_stage_shader_components' supported by adapter
...
We're currently always requesting a maximum of 31 components, which
is too low for some SWFs.
2024-03-09 15:39:33 -05:00
Crowdin Bot
60d7b14c59
chore: Update translations from Crowdin
2024-03-08 22:19:45 +01:00
Nathan Adams
6971a1aa5e
desktop: Persist volume to disk
2024-03-07 20:38:06 +01:00
Nathan Adams
e18055d351
desktop: Don't translate opengl, metal etc
2024-03-07 20:38:06 +01:00
Tom Schuster
f27d11443b
tests: Test avm2 Stage.stage3Ds vector-ness
2024-03-07 19:33:09 +01:00
Tom Schuster
ed4bb00115
avm2: Stage.stage3Ds must return a vector
...
Fixes #15472
2024-03-07 19:33:09 +01:00
Crowdin Bot
6fc7a1beaf
chore: Update translations from Crowdin
2024-03-07 11:39:50 +01:00
Lord-McSweeney
12ffc8a347
avm2: Remove unused and unnecessary `init_slot`
2024-03-06 20:49:19 -08:00
Nathan Adams
d3e12e4a24
web: Use DateTime::from_timestamp
2024-03-06 21:58:40 +01:00
Nathan Adams
1a6b73f496
avm2: Use chrono's new Duration::try_ methods
2024-03-06 21:58:40 +01:00
renovate[bot]
a916369f21
fix(deps): update rust dependencies
2024-03-06 21:58:40 +01:00
renovate[bot]
7201efdec1
fix(deps): update rust crate winit to 0.29.14
2024-03-06 16:55:52 +01:00
Lord-McSweeney
95b5c700f5
avm2: Fix a minor optimizer bug
2024-03-06 07:21:28 -08:00
Lord-McSweeney
24d194a8b1
avm2: Propagate normal error for bad Multiname read in verifier
2024-03-06 07:21:28 -08:00
Lord-McSweeney
41bac2ce98
tests: Add another verification test
2024-03-06 07:21:28 -08:00
Lord-McSweeney
2ff4bf5634
tests: Improve verification test
2024-03-06 07:21:28 -08:00
Lord-McSweeney
9a1196a7a0
avm2: Fix bugs and resolve reviews
2024-03-06 07:21:28 -08:00
Lord-McSweeney
c98d61c376
avm2: Add a `make_error_1021` function and use it
2024-03-06 07:21:28 -08:00
Lord-McSweeney
f28928dbc9
avm2: Match verifier reading implementation with FP's
2024-03-06 07:21:28 -08:00
Kamil Jarosz
c260a45603
core: Close sockets and timers when replacing the root movie
...
Turns out that the comment from `set_root_movie` was right all along!
`set_root_movie` should not be used when replacing the root movie,
because it will leave out unclosed resources.
This patch introduces `replace_root_movie`, which is dedicated to be
used when replacing (instead of just setting) the root movie.
The best solution would be to use RAII, e.g. destroy and recreate
the whole Player instance, but this patch is a first step towards
proper resource control.
2024-03-05 23:14:08 +01:00
Kamil Jarosz
3d04971ae4
desktop: Make WinitAsyncExecutor thread-safe and prevent deadlocks
...
Not thread-safe WinitAsyncExecutor was wrapped with a Mutex, making
any access to the instance exclusive. It was problematic, because
when a task was awoken from within another task, it resulted in
a deadlock, because the mutex was not reentrant.
This patch makes WinitAsyncExecutor thread-safe and changes how tasks
are locked. Specifically, instead of locking all tasks, only
the currently executed task is being locked. This allows waking any
other task from within it.
2024-03-05 23:14:08 +01:00
Crowdin Bot
de8f63ec88
chore: Update translations from Crowdin
2024-03-05 22:56:34 +01:00
TÖRÖK Attila
18cda28f62
chore: Update cargo-deny configuration to version 2
2024-03-05 21:21:42 +01:00
Tom Schuster
587fdff1ac
chore: Update `cpal` to `0.15.3`
...
This reduces the number of duplicate `nix` versions by one.
2024-03-05 14:24:29 +01:00
Nathan Adams
571f60abff
desktop: Document preferences a little
2024-03-05 00:02:27 +01:00
Nathan Adams
c713f56ac0
desktop: Allow changing the audio output device
2024-03-05 00:02:27 +01:00
Nathan Adams
09dfa6427e
desktop: Allow changing the language in Preferences
2024-03-05 00:02:27 +01:00
Nathan Adams
baa0c5c7cd
desktop: Use custom (de)serialization for preferences, not serde
2024-03-05 00:02:27 +01:00
Nathan Adams
ed56c70b55
desktop: Only show possibly-available backends for the current system
2024-03-05 00:02:27 +01:00
Nathan Adams
d62963c2d4
desktop: Rename config.rs to preferences.rs
2024-03-05 00:02:27 +01:00
Nathan Adams
8b589a9620
desktop: If the preferred graphics backend is unavailable, pick another one and warn
2024-03-05 00:02:27 +01:00
Nathan Adams
b9c6db1cb9
desktop: Add preferences dialog, allow setting of graphics backend/power
2024-03-05 00:02:27 +01:00
Nathan Adams
8df7efb662
desktop: Load graphics preferences from disk
2024-03-05 00:02:27 +01:00
Nathan Adams
acd01e2eb0
desktop: Add GlobalPreferences struct, prep for storing preferences to disk
2024-03-05 00:02:27 +01:00
Nathan Adams
6136d14179
desktop: Add --save-directory
2024-03-05 00:02:27 +01:00
Nathan Adams
145275af86
desktop: Remove backwards compatibility code from 3 years ago
2024-03-05 00:02:27 +01:00
TÖRÖK Attila
1e7954c69d
ci: Don't exclude .wasm files from Firefox extension reproducibility testing
2024-03-04 23:45:29 +01:00
TÖRÖK Attila
c635124aad
web: Put wasm-opt back into the extension builder Docker image
2024-03-04 23:45:29 +01:00
renovate[bot]
821469e87c
chore(deps): update node.js dependencies
2024-03-04 22:46:01 +01:00
renovate[bot]
fae1c458ec
fix(deps): update rust dependencies
2024-03-04 22:18:19 +01:00
TÖRÖK Attila
2e52ee9f33
chore: Bump `js-sys` and `web-sys` to `v0.3.69`
2024-03-04 19:01:04 +01:00
TÖRÖK Attila
7f268bf50e
chore: Update `wasm-bindgen` to `v0.2.92`, wasm-bindgen-futures to `v0.4.42`
2024-03-04 19:01:04 +01:00
TÖRÖK Attila
755fa6cded
chore: Switch `fluent-templates` back from `master` to `v0.9.0`
2024-03-04 11:05:08 +01:00
TÖRÖK Attila
85dd258168
cleanup: Remove a stale workaround for a `generational-arena` bug
2024-03-03 21:18:39 +01:00
TÖRÖK Attila
1bc4d9fd84
doc: Remove `generational-arena` from LICENSE.md, update slotmap copyright year
2024-03-03 21:18:39 +01:00
TÖRÖK Attila
9e8c406cd9
desktop: Introduce a `TaskKey` type for the slotmap in `executor.rs`
2024-03-03 21:18:39 +01:00
TÖRÖK Attila
8764c08b01
cleanup: Define distinct key types for different kinds of slotmaps
2024-03-03 21:18:39 +01:00