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
Aaron Hill
d18df2d3f1
tests: Add non-power-of-2 texture test
2023-05-28 23:35:53 -05:00
Aaron Hill
12e078bb2d
wgpu: Fix calculation of image row padding
2023-05-28 23:35:53 -05:00
Aaron Hill
0955ab40e6
avm2: Fix rounding behavior in BitmapData rectangle operations
...
Flash Player performs `x + width` and `y + height` as floating
point operations before `round_to_even`. This affects the extent
covered by a `Rectangle` in various BitmapData methods, as the sum
of two values might be large enough to be rounded up to a larger
value (when rounding `x` and `width` individually would have
produced a smaller overall extent).
2023-05-28 18:46:55 -05:00
Aaron Hill
2ae15b05e8
core: Store Color as an u32 instead of a i32
...
This is a packed ARGB value, so it doesn't make sense for it to be
signed.
2023-05-28 16:52:09 -05:00
Aaron Hill
3f93abffd5
avm2: Allow replacing and deleting XML attributes
2023-05-28 15:52:57 -05:00
Aaron Hill
14c6d1d959
avm2: Implement URLRequest.requestHeaders
...
These are directly set on the underlying navigator's HTTP
request type, and get printed out in our test navigator backend.
No validation of the header names is performed - on web, this will be
enforced by the browser.
2023-05-28 12:07:37 -05:00
Toad06
6c0cf8fc83
web: Fix minor issues with the context menu
2023-05-28 07:51:00 +03:00
relrelb
ee30646745
avm1: Migrate `DisplacementMapFilter` to `NativeObject`
2023-05-27 23:08:42 +03:00
Lord-McSweeney
420643b045
avm2: Stub Worker
2023-05-27 00:58:34 -05:00
Nathan Adams
aeb089ac0f
avm2: Move DisplayObject assignment into an initializer
2023-05-26 22:06:20 -05:00
Aaron Hill
cf4ca543bd
core: Use clone-on-write behavior for render list iteration
...
When we iterate over a render list (in order to call
`enter_frame`, `construct_frame, etc.) we need to be sure
that we iterate over all of the original `DisplayObjects`
in the list, even if the list is modified during iteration
(e.g. some ActionScript code calls `parent.addChildAt`).
Previously, `RenderIter` would repeatedly call `child_by_index`
on the original `DisplayObjectContainer`, up to the original
child count. If new DisplayObjects were inserted into the list
during iteration, we could miss some of the original DisplayObjects
in the list (as they are now at a greater position in the list).
To solve this, we now store the render list as an `Rc<Vec>`,
and use `Rc::make_mut` to modify it. See the comments
for more details.
2023-05-26 21:42:06 -05:00
Crowdin Bot
e98230c988
chore: Update translations from Crowdin
2023-05-27 00:34:44 +02:00
Aaron Hill
9fad8ddd9d
core: Fix nightly clippy lints
2023-05-26 17:06:28 -05:00
TÖRÖK Attila
6d76e9669c
nit: Github -> GitHub
2023-05-25 10:40:47 +02:00