Commit Graph

9232 Commits

Author SHA1 Message Date
Nathan Adams 35f3a21110 core: Fix bitmapdata.floodFill() replacing X with X + test. Fixes #10642 2023-04-11 10:40:57 -04:00
Mike Welsh 89e9b15c60 tests: Improve test for `Graphics.beginBitmapFill` 2023-04-11 11:36:49 +02:00
Mike Welsh 7cfd4470b1 avm2: Use proper scale for `Graphics.beginBitmapFill` (fix #10628) 2023-04-11 11:36:49 +02:00
Toad06 81d907b9f0 tests: `MovieClip.focusEnabled` in avm1 2023-04-09 14:11:24 -07:00
Toad06 aef3ed2fcb avm1: Correct `MovieClip.focusEnabled` 2023-04-09 14:11:24 -07:00
Mike Welsh 0380552da3 docs: Mention `cargo test --all` in CONTRIBUTING.md 2023-04-09 12:26:18 -07:00
TÖRÖK Attila 80a33c4990 ci: Pass `--all` to `cargo test` to test all packages, not just the (now) default "desktop" 2023-04-09 12:26:18 -07:00
TÖRÖK Attila 309f761387 chore: Select "desktop" as the default workspace member
This makes the cargo command to run the player simpler.
2023-04-09 12:26:18 -07:00
Tom Schuster 5289009959 tests: Add some tests for XML abstract equality 2023-04-09 12:02:20 -07:00
Tom Schuster baf9bda9e9 avm2: Partially implement XML/XMLList abstract equality 2023-04-09 12:02:20 -07:00
AllinolCP 0643426b84 avm2: stub URLRequest.requestHeaders 2023-04-08 18:31:02 -07:00
Mike Welsh 6ad5c30188 tests: Test for correct variables in `loadvariables_method` test 2023-04-08 13:37:25 -07:00
Mike Welsh 35810a8c7e tests: Add `log_fetch` option
Adds a `TestNavigatorBackend` that has the ability to log HTTP
requests for tests.
2023-04-08 13:37:25 -07:00
Mike Welsh 7d7fe1bfdd core: Implement `Display` for `NavigationMethod` 2023-04-08 13:37:25 -07:00
Mike Welsh 711a012fea avm1: Exclude shape children from `StageObject::get_keys`
Non-interactive children such as shapes are not returned when
iterating over the keys of a stage object in AVM1.
2023-04-08 13:37:25 -07:00
Mike Welsh a38f74d989 tests: Add `NavigatorTestBackend` 2023-04-08 13:37:25 -07:00
Mike Welsh 3716422b37 avm1: Grab correct variables for `MovieClip.loadVariables` and `loadMovie`
The request was being populated with parameters from the local
function scope, not the movieclip that is doing the loading.
2023-04-08 13:37:25 -07:00
relrelb 93a0fd43d6 avm1: Migrate `ColorMatrixFilter` to `NativeObject` 2023-04-08 13:40:32 +03:00
relrelb 3dcf246870 avm1: Migrate `DropShadowFilter` to `NativeObject` 2023-04-08 13:40:32 +03:00
relrelb 814cb00821 avm1: Migrate `GlowFilter` to `NativeObject` 2023-04-08 13:40:32 +03:00
relrelb b74f515c34 avm1: Refactor `BevelFilter` 2023-04-08 13:40:32 +03:00
relrelb cdffc00e94 avm1: Refactor `BlurFilter` 2023-04-08 13:40:32 +03:00
David Wendt d7c206dcc6 web: Filter newlines out of the release tag for the Firefox signing step, too 2023-04-07 19:14:40 -06:00
David Wendt a1803db788 web: Extension release workflow still needs the Node packages 2023-04-07 19:00:34 -06:00
David Wendt 017607ec08 web: Use the correct name for the downloaded Firefox build 2023-04-07 18:54:07 -06:00
David Wendt f9fa60da80 web: Captured variables from `mathiasvr/command-output` have newlines in them 2023-04-07 18:50:01 -06:00
David Wendt 6d38cf3d9f web: When building the extension, provide the GitHub token to GitHub CLI 2023-04-07 18:36:45 -06:00
Tom Schuster d9e69563d3 avm2: Implement XMLList.copy 2023-04-07 12:29:49 -05:00
Udeshya 54a8672390
avm2: Trim xml text nodes when being parsed (#10341) 2023-04-06 22:41:46 -05:00
Lord-McSweeney 60ae2edf92 avm2: Use AVM error for invalid bitmapdata error 2023-04-06 11:53:56 -05:00
relrelb 3ec473d36f extension: Check tools using TypeScript
This would have caught #10351.
2023-04-06 18:41:36 +03:00
yangyangdaji bc1612ae38
extension: Update simplified Chinese translation
Co-authored-by: ForeverInfinity <79129834+ForeverInfinity@users.noreply.github.com>
2023-04-06 12:52:35 +03:00
Aaron Hill 6844d1bf19 avm2: Call 'AS3::concat' in ColorMatrixFilter
This ensures that we call the normal Array concat method
(or a method that overrides it). Some SWFs may define a *public*
concat method in an Array subclass, with a different signature.

Fixes #10552
2023-04-05 22:48:12 -07:00
David Wendt 6315f3865f chore: The syntax of Actions if statements genuinely confuses me 2023-04-05 18:26:12 -06:00
Aaron Hill 962cf92223 avm2: Implement Context3D.setSamplerStateAt
This fixes pixelated backgrounds in Fancy Pants World 4 Part 3
2023-04-05 16:44:07 -07:00
Toad06 5e165a0682 avm1: Fix some issues with `Selection.getFocus()` and `setFocus()` 2023-04-05 15:53:18 -07:00
Mike Welsh 7a6e6cf214 naga-agal: Add fractal shader test 2023-04-05 12:22:13 -07:00
Mike Welsh 83aff3c7ba tests: Add Julia fractal Stage3D test 2023-04-05 12:22:13 -07:00
Mike Welsh b578849958 naga-agal: Allow boolean binary ops with multiple components 2023-04-05 12:22:13 -07:00
Mike Welsh e92e530321 naga-agal: Support `abs` op 2023-04-05 12:22:13 -07:00
Mike Welsh 792cfd82c7 avm2: Implement `Context3D.setColorMask` 2023-04-05 12:22:13 -07:00
Toad06 76b9ed80ba core: Support `maxlength` attribute in EditText 2023-04-05 11:59:17 -07:00
nosamu 8a15eb3c38 desktop: Fix loading relative URLs when movie URL ends in empty path segment 2023-04-05 11:42:43 -07:00
nosamu 460f0811b7 desktop: Add base URL option 2023-04-05 11:25:49 -07:00
nosamu da41f4a966 desktop: Add max execution duration option 2023-04-05 11:25:49 -07:00
onkrot 19284cb1be avm2: Add more flash.accessibility members 2023-04-05 11:10:46 -07:00
David Wendt c6298047d9 chore: GitHub Actions CI still does not actually validate anything before you merge to master 2023-04-04 22:37:27 -06:00
David Wendt 42a56d88a3 web: Split Firefox extension upload into a separate process that submits whatever the latest extension is 2023-04-04 20:58:28 -07:00
Lord-McSweeney 5af0eda375 web: Avoid triggering cloudflare checks
mimeTypes.item() and plugins.item() should wrap around 2^32.
2023-04-04 20:32:44 -07:00
nosamu e9a030de54 web: Use serde rename_all rule
Cuts down on some needless verbosity.
2023-04-04 16:51:38 -07:00