Aaron Hill
d037038170
avm2: Make `caller_domain` an `Option`, and call `expect` when actually needed
...
There are only a few places where we actually need to use the
`caller_domain`, so we don't actually need it available for most native
method calls. This means that `Activation::from_nothing` can be used
in the vast majority of cases without causing a panic later on.
2023-06-06 21:05:19 +02:00
Nathan Adams
10134467c9
avm2: Don't error on removeChildren() for empty containers - fixes #11382
2023-06-05 18:30:08 -05:00
Crowdin Bot
808deaa378
chore: Update translations from Crowdin
2023-06-05 09:00:51 +02:00
renovate[bot]
f1fe998869
chore(deps): lock file maintenance rust dependencies
2023-06-04 22:53:18 -05:00
relrelb
f62d80dd93
ci: Fix artifact download for AUR package
...
`actions/download-artifact` cannot be used because only macOS artifacts are uploaded using `actions/upload-artifact`.
Instead use `gh release download`, which mirrors `gh release upload`.
2023-06-03 23:56:06 +03:00
relrelb
9c8e212641
avm1: Migrate `GradientBevelFilter` to `NativeObject`
2023-06-03 21:33:12 +03:00
Crowdin Bot
9767ffca96
chore: Update translations from Crowdin
2023-06-03 15:58:24 +02:00
Nathan Adams
136417c58c
core: Make debug windows scrollable
2023-06-03 09:11:06 +02:00
Nathan Adams
85f6fd3889
core: Add movie clip info to debug menu
2023-06-03 09:11:06 +02:00
Nathan Adams
a26a64d88f
core: Format Rectangle to 2 decimal places
2023-06-03 09:11:06 +02:00
Nathan Adams
c9d0a08863
core: Move debug children list's button into header
2023-06-03 09:11:06 +02:00
Nathan Adams
9f384df27b
core: Don't have dynamic_root in UpdateContext unless egui feature is enabled
2023-06-03 09:11:06 +02:00
Nathan Adams
a641c564de
core: Show debug rect on hovering stuff
2023-06-03 09:11:06 +02:00
Nathan Adams
16ce9aa437
core: Add debug rects to debugger
2023-06-03 09:11:06 +02:00
Nathan Adams
a6b8883acd
core: Add mask/masker/clip info to debug UI
2023-06-03 09:11:06 +02:00
Nathan Adams
59eceb8b7a
core: Add AVM1 path to debug UI
2023-06-03 09:11:06 +02:00
Nathan Adams
77bd1cd1c8
core: Add depth and color transform to debug ui
2023-06-03 09:11:06 +02:00
Nathan Adams
e12e2a2e54
core: Initial Debug UI
2023-06-03 09:11:06 +02:00
Nathan Adams
eb70a4f361
core: Update gc_arena to 63dab12871321e0e5ada10ff1f1de8f4cf1764f9
2023-06-03 09:11:06 +02:00
Aaron Hill
2cd518013c
wgpu: Don't skip alpha/erase blend modes for BitmapData.draw ( #11323 )
...
We can skip these when we're drawing to a fresh buffer, but not when we're blending over an existing BitmapData texture.
2023-06-02 21:16:05 +00:00
relrelb
e5da68c1df
avm1: Migrate `ConvolutionFilter` to `NativeObject`
2023-06-02 23:39:02 +03:00
Aaron Hill
21429cc205
avm2: Add PixelBender bytecode parsing to ShaderData
...
We now parse PixelBender bytecode, and populate the parameters
from the bytecode on `ShaderData`. This is enough to progress
Steamlands, which needs to access dynamically set properties
on `ShaderData`
Bytecode execution is not implemented yet.
2023-06-02 15:23:32 -05:00
Aaron Hill
999e2f5b71
wgpu: Implement Context3D.setScissorRectangle
2023-06-02 14:56:14 -05:00
relrelb
abb0e33431
chore: Use Rust's `OnceCell`/`OnceLock`
...
They were stabilized in Rust 1.70.0, which was released yesterday.
This removes the `once_cell` dependency.
2023-06-02 22:21:38 +03:00
relrelb
652a52e91b
ci: Provide `sha512sums` in AUR package
...
Previously it was skipped, which isn't a good practice.
2023-06-02 21:52:57 +03:00
renovate[bot]
6bc5d72995
chore(deps): lock file maintenance node.js dependencies
2023-06-01 08:59:52 +03:00
renovate[bot]
8bf44926af
chore(deps): update node.js dependencies
2023-06-01 08:45:23 +03:00
Lord-McSweeney
5fdbfe2fd4
avm2: Partial implementation of Loader.unload
2023-05-31 21:03:18 -05:00
Aaron Hill
8b257ef6da
avm2: Always run `construct_frame` in `initialize_for_allocator`
...
When we create a DisplayObject from ActionScript, we should always
run `construct_frame` on it, regardless of what frame phase we
are currently in.
This fixes a regression in Fancy Pants World 4 Part 1, where entering
the first door produced an error.
2023-05-31 17:33:25 -05:00
Adrian Wielgosik
c8fc810fa6
desktop: rewrite AS3 warning popup in egui
2023-05-31 23:21:30 +02:00
nosamu
2ec2966f51
docs: Add detailed instructions for running tests
2023-05-31 21:32:51 +02:00
Daniel Jacobs
a2fa855156
web: Update youtube check to be more accurate using regex
2023-05-31 21:06:25 +03:00
relrelb
17e0eb112b
web: Enforce ESLint's `camelcase` rule
2023-05-31 08:22:15 +03:00
Adrian Wielgosik
5d3544ddc7
desktop: Simple hack to stop ignoring egui redraws
2023-05-30 23:55:31 +02:00
Crowdin Bot
6dc3743f4b
chore: Update translations from Crowdin
2023-05-30 23:21:28 +02:00
tinaun
ff518b9deb
use light menus on light theme & detect changes
2023-05-30 23:07:09 +02:00
relrelb
df1cd29a12
tests: Expand `duplicate_movie_clip`
2023-05-30 23:10:36 +03:00
relrelb
c952106ee3
avm1: Correct `ActionCloneSprite` and `duplicateMovieClip()`
...
* `ActionCloneSprite` coerces `depth` before `target`.
* `duplicateMovieClip()` coerces `name` before `depth`.
* `duplicateMovieClip()` returns `undefined` on SWF<6.
2023-05-30 23:10:36 +03:00
Daniel Jacobs
ac68ab0485
ci: Don't run crowdin workflows on forks
2023-05-30 21:37:00 +02:00
Toad06
7830a8232b
web: Allow extra MIME types in the polyfill
2023-05-30 06:35:29 +00:00
Adrian Wielgosik
8d6c08df4d
Desktop: Stop busy looping when idling
2023-05-29 22:51:40 +02:00
Nathan Adams
d99415c644
desktop: Don't use winit workaround for File->Open, to avoid unresponsive ruffle in that case alone
2023-05-29 22:12:56 +02:00
Nathan Adams
59d917b15a
desktop: Default open the Advanced Open dialog
2023-05-29 22:12:56 +02:00
Nathan Adams
0c10e2a7b7
desktop: Add advanced open dialog
2023-05-29 22:12:56 +02:00
Nathan Adams
9e9ee361c4
desktop: Pass PlayerOptions when loading swfs, defaulting to the CLI args
2023-05-29 22:12:56 +02:00
Nathan Adams
a86aff07a6
desktop: Use new PlayerOptions struct for player building, not CLI args directly
2023-05-29 22:12:56 +02:00
Nathan Adams
558fea2a7c
desktop: Add PlayerController:handle_event that also checks for player pause status
2023-05-29 21:23:00 +02:00
Nathan Adams
101277a32b
desktop: Add suspend/resume buttons
2023-05-29 21:23:00 +02:00
TÖRÖK Attila
b8fc64df6f
core/avm1: Accept Value as smaller than 16 bytes on 32 bit platforms.
2023-05-29 07:58:53 -05:00
renovate[bot]
847dece735
chore(deps): lock file maintenance rust dependencies
2023-05-28 23:54:33 -05:00