David Wendt
cfa259fe57
chore: Reproducible archive should include the whole project, not just the web subdir
2023-01-27 18:01:51 -07:00
Nathan Adams
7d234956eb
tests: Move tests away from giant macro to individual test.toml files that describe the test
2023-01-27 13:53:43 +01:00
renovate[bot]
175d131986
fix(deps): update rust crate webbrowser to 0.8.6
2023-01-27 01:00:30 +01:00
CUB3D
56fd9adbf9
web: Add key code for NumpadEnter
2023-01-24 22:12:32 -06:00
CUB3D
f559fe0077
desktop: Add key code for Numpad Enter
2023-01-24 22:12:32 -06:00
CUB3D
92d1e81a16
desktop: Add keycodes for Tab, Return and Backspace
2023-01-24 22:12:32 -06:00
Aaron Hill
7ba960987c
core: Display class name in ErrorObject debug impl
...
This lets us know something about the type of error
that was thrown, and doesn't require an Activation/UpdateContext.
2023-01-24 20:38:45 -06:00
TÖRÖK Attila
e3ed59cfa7
chore: Run cargo update
2023-01-24 20:10:40 -06:00
TÖRÖK Attila
e77b1e379c
core/audio: mp3: Use MpaReader instead of the deprecated Mp3Reader from Symphonia
2023-01-24 20:10:40 -06:00
renovate[bot]
8b6eef1715
fix(deps): update rust dependencies
2023-01-24 20:10:40 -06:00
David Wendt
f213ec40fc
chore: `npm ci` must run before any other Node scripts
2023-01-24 01:45:43 +01:00
Nathan Adams
1bfa69ade2
wgpu: Guard against infinite loops in gradient shader - fixes #9260
2023-01-23 23:25:30 +01:00
Daniel Jacobs
0a04b22a79
avm2: Stub simple flash.text.engine enums
2023-01-23 13:51:26 -06:00
Aaron Hill
ffc393e3e8
render: Work around naga_oil duplicate definition bug
2023-01-23 11:31:04 +01:00
Aaron Hill
fc3c2a2297
Update wgpu
...
This requires us to bump naga as well, and switch to a fork
of naga_oil that compiles against the latest naga.
2023-01-23 11:31:04 +01:00
Aaron Hill
a71d14d31c
Fix wasm build
2023-01-23 11:31:04 +01:00
Aaron Hill
0fe8ef6c2d
Get naga_oil shaders working
2023-01-23 11:31:04 +01:00
Aaron Hill
6fe7af58d5
Move back to upstream wgpu repository
...
We're relying on unreleased changes, so we depend on the latest commit
from their repository.
2023-01-23 11:31:04 +01:00
David Wendt
d280d44eed
chore: JS-side lints
2023-01-23 10:40:26 +01:00
David Wendt
2e09ca3772
core: Add CI step for sealing the version and producing a version-sealed source archive.
2023-01-23 10:40:26 +01:00
David Wendt
5c6de440e1
core: Enable repro builds on existing CI workflow
2023-01-23 10:40:26 +01:00
David Wendt
77bfade934
core: Allow storing build info in a JSON file for reproducible builds.
2023-01-23 10:40:26 +01:00
AsukaMinato
b40adc7568
remove the no-used import
2023-01-23 10:22:12 +01:00
AsukaMinato
7e89e7b411
reduce some indents.
2023-01-23 10:22:12 +01:00
MartySVK
ad688b45da
avm2: added Stage.fullScreenSourceRect stub ( #9265 )
...
* avm2: added Stage.fullScreenSourceRect
* fixing checks I hope
2023-01-22 16:29:12 -05:00
Aaron Hill
8717aff938
web: Split out npm build of 'ruffle-core' from other npm modules
...
Running 'npm run build --workspaces' will run the 'build' script for all
workspaces, even if one fails. Since all of the other workspaces depend
on 'ruffle-core', running them after a ruffle-core build failure just
produces useless errors in the CI logs.
2023-01-21 16:15:19 -05:00
Aaron Hill
e2954821ea
core: Take two - delay reading image back from render backend using `SyncHandle` ( #9184 )
...
* Take two: Delay reading image back from render backend using `SyncHandle`
This allows us to avoid blocking immediately after a `BitmapData.draw` call.
Instead, we only attempt to use the `SyncHandle` when performing an operation
that requires the CPU-side pixels (e.g. BitmapData.getPixel or BitmapData.setPixel).
In the best case, the SWF will never explicitly access the pixels of
the target BitmapData, removing the need to ever copy back the render backend
image to our BitmapData. If the SWF doesn't require access to the pixels immediately,
we can delay copying the pixels until they're actually needed, hopefully allowing
the render backend to finish processing the BitmapData.draw operation in
the backenground before we need the result.
Now that the CPU and GPU pixels can be intentionally out of sync with
each other, we need to ensure that we don't accidentally expose 'stale'
CPU-side pixels to ActionScript (which needs to remain unaware of
our internal laziness). We now use a wrapper type `BitmapDataWrapper`
to enforce that the `SyncHandle` is consumed before accessing the
underlying `BitmapData.
* core: Skip GPU->CPU sync for source and target BitmapData during draw
* Introduce DirtyState enum
2023-01-21 21:08:04 +00:00
MartySVK
6d5f6385a5
avm2: added TextField.restrict stub ( #9218 )
...
* added TextField.restrict stub
Co-authored-by: Martin Mravec <marty.devil@gmail.com>
2023-01-19 22:23:33 -05:00
Bale
f19e31d005
ci: Ensure `GHA_REPO_ALIVE` starts off as true
2023-01-18 22:13:14 -08:00
Bale
6cb80662b7
ci: Revert nightly fix ( #9216 )
...
* Revert "ci: Pass a single argument to `test` command"
This reverts commit 34dbeb7702
.
* Revert "ci: Fix is_active variable"
This reverts commit 5b55b6e4b5
.
* ci: Apply new fix
* ci: Fix typo
Should be setting the env variable to false, not true
* ci: Fix syntax error
2023-01-19 05:53:37 +00:00
nosamu
34dbeb7702
ci: Pass a single argument to `test` command
2023-01-18 19:39:13 -08:00
nosamu
5b55b6e4b5
ci: Fix is_active variable
2023-01-18 19:39:13 -08:00
Adrian Wielgosik
fb4d2d3f04
avm2: Implement TextField.maxChars
2023-01-19 01:24:47 +01:00
Nathan Adams
f83c573734
desktop: Make crash headings ### instead of #
2023-01-19 00:50:56 +01:00
Nathan Adams
e02b19ba86
desktop: Reorder extra info in crash report
2023-01-19 00:50:56 +01:00
Nathan Adams
5f72ebaef9
core: Don't call avm2 callstack method if there's no callstack
2023-01-19 00:50:56 +01:00
Nathan Adams
a986cc05fe
desktop: Clippy lint
2023-01-19 00:50:56 +01:00
Nathan Adams
e27fdda3dc
desktop: Add version info to crash report
2023-01-19 00:50:56 +01:00
Nathan Adams
2189d19324
desktop: Also include avm2 stacktrace in panic report
2023-01-19 00:50:56 +01:00
Nathan Adams
3c8f5b41cc
chore: Added platform dropdown to crash report template
2023-01-19 00:50:56 +01:00
Nathan Adams
ea37d0a3ad
desktop: Implement crash report dialog when a panic happens
2023-01-19 00:50:56 +01:00
Nathan Adams
0fd618e80a
ci: Change activity check to something less error prone possibly
2023-01-18 00:47:27 -05:00
Nathan Adams
b5c6d5debe
wgpu: Don't panic if rendering a None bitmap - fixes #9188
2023-01-17 19:34:51 +01:00
Nathan Adams
580cce29db
wgpu: Update to wgpu fork with buffer bug fix
2023-01-17 05:59:55 +01:00
Nathan Adams
5878bb0c5d
web: Enable wgpu-webgl by default
2023-01-16 23:33:49 +01:00
Nathan Adams
4117eece3b
web: Indicate when we used cached debug info
2023-01-16 23:18:42 +01:00
Nathan Adams
3c4710cfb5
wgpu: Only show current limits in debug info
2023-01-16 23:18:42 +01:00
Nathan Adams
6f967d4b3c
web: Cache the output of render debug info in case of panics
2023-01-16 23:18:42 +01:00
Nathan Adams
f5d69f5ad8
avm2: Corrected panic messages in date code
2023-01-16 21:48:00 +01:00
EmperorBale
954a7513f8
tests: Update date tests
2023-01-16 21:48:00 +01:00