Commit Graph

9094 Commits

Author SHA1 Message Date
Lord-McSweeney 2bab9022b4 avm2: Show detailed error message...
...while loading ABC files.
2023-04-18 21:28:38 +02:00
Aaron Hill 78b386d775 avm2: Stub URLLoader.close 2023-04-17 15:58:46 -07:00
p0008874 e8aa620767 i18n: Update zh-tw 2023-04-16 22:14:37 +02:00
Lord-McSweeney f25398898a
avm2: stageWidth/Height should be of int type (#10712) 2023-04-16 21:58:32 +02:00
AllinolCP d367f38eb4
avm2: stub xml.normalize() (#10709)
* avm2: stub xml.normalize()
2023-04-16 12:41:52 -04:00
Daniel Jacobs ddb45f2cc2 extension: Add autostart to toggle splashScreen/autoplay/unmuteOverlay 2023-04-14 22:08:23 +02:00
David Wendt debb45706a web: Submit the extension at 2AM Saturday UTC.
The reason for this is twofold:

 * Running the release at the same time as the build means we are likely to miss the actual XPI file we need to build. This is a race condition introduced by this being a different workflow that waiting a bit should at least paper over.
  * While our policy was "release on Fridays", this was Friday in US time. Workflows are scheduled in UTC, so it was coinciding with the Thursday nightly.
2023-04-13 19:23:23 -06:00
Lord-McSweeney fef7eeed90 avm2: Stub TextField.useRichTextClipboard 2023-04-13 22:09:11 +02:00
nosamu a6c659945e core: Allow focusing selectable EditText fields 2023-04-13 21:48:40 +02:00
nosamu 76d172b5c5 docs: Fix WindowMode doc comment 2023-04-13 19:54:32 +02:00
Tom Schuster da689b7687 tests: Test XMLList.child 2023-04-11 14:49:32 -04:00
Tom Schuster aca4329dbf avm2: Implement XMLList.child 2023-04-11 14:49:32 -04:00
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