Commit Graph

5076 Commits

Author SHA1 Message Date
Chris Midgley 794306d6d3 docs: link mtasc, note ActionScript 2 only 2021-05-03 13:16:30 -07:00
Chris Midgley 63bed9cc51 docs: test guidelines 2021-05-03 13:16:30 -07:00
Mike Welsh dca97afdd7 chore: Remove puremp3 feature
Wasn't being used, remove the puremp3 dependency.
2021-05-02 19:31:01 -07:00
Mike Welsh 6cf8b660d5 web: Remove unwraps from Rust glue
* Remove all unwraps from web/lib.rs.
 * Add convenience methods for grabbing the Ruffle web instance.
   These methods also avoid panics/unwraps when borrowing
   `RefCell`/`Mutex`.
 * Use `warn_on_error` to avoid unwraps from web APIs.
2021-05-02 18:45:04 -07:00
Mike Welsh f2256a661b ci: Bump github-actions-deploy-aur
Hopefully fix AUR packaging because archlinux Docker image has
moved.
2021-05-02 15:29:31 -07:00
Adrian Wielgosik 8ca22c1f02
core: Support for custom context menu items on movie root 2021-05-02 15:28:00 -07:00
Chris Midgley 31911d24ab tests: replace existing shared object test using mtasc 2021-05-01 17:40:01 -07:00
Chris Midgley c03bc62074 fix: SharedObject data property is not deleteable 2021-05-01 17:40:01 -07:00
dependabot[bot] 5a4796407e chore: Bump stylelint from 13.13.0 to 13.13.1 in /web
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.0...13.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 15:00:23 -07:00
Chris Midgley 0f1dbb9f2a docs: note how to print trace statements 2021-05-01 13:02:31 -07:00
dependabot[bot] d8b144e972 chore: Bump @wdio/sync from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:10 -07:00
dependabot[bot] fe5f0c28ef chore: Bump @wdio/spec-reporter from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:04 -07:00
dependabot[bot] db9faa0d12 chore: Bump @wdio/static-server-service from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:00 -07:00
dependabot[bot] 507cec09eb chore: Bump @wdio/cli from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:55 -07:00
dependabot[bot] 0128185103 chore: Bump @wdio/local-runner from 7.5.2 to 7.5.4 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:52 -07:00
dependabot[bot] 1eeb73a845 chore: Bump @wdio/mocha-framework from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:47 -07:00
dependabot[bot] db04e43ecd chore: Bump webpack from 5.36.1 to 5.36.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.1...v5.36.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:26 -07:00
dependabot[bot] f2130f3c58 chore: Bump eslint-plugin-jsdoc from 32.3.4 to 33.0.0 in /web
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 32.3.4 to 33.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v32.3.4...v33.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:12 -07:00
relrelb f8a8b82c04 web: Cleanup ESLint configuration
* Cleanup .eslintrc.json files.
* Avoid unnecessary eslint-* directives.
2021-04-30 18:16:55 -07:00
Mike Welsh e8ec02418b avm2: Fix Array.splice
Fix `Array.splice` in cases where elements are added but not
deleted, and when the starting index is larger than the length
of the array.
2021-04-30 13:48:27 -07:00
Mike Welsh 2a46c72bb2 avm1: Fix Array.splice
Clamp the index parameters to the length of the array. This fixes
`[].splice(1, 0, 'obj');` to add the object at the proper
position (0, because the start index 1 is larger than the length).
2021-04-30 13:48:27 -07:00
Mike Welsh c465e268bf chore: Bump to wgpu 0.8 2021-04-29 15:01:12 -07:00
dependabot[bot] c97b27da76 chore: Bump webpack from 5.35.1 to 5.36.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.1 to 5.36.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 14:17:58 -07:00
dependabot[bot] ea227d332a chore: Bump @types/chrome from 0.0.135 to 0.0.136 in /web
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.135 to 0.0.136.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 14:10:55 -07:00
dependabot-preview[bot] 95e01ee7ee chore: Upgrade to GitHub-native Dependabot
Change Rust crate update to weekly and npm to monthly.
2021-04-29 13:28:22 -07:00
Adrian Wielgosik 940cb8d2f7
web: Use unicode escapes for checkbox emojis 2021-04-28 13:58:04 -07:00
dependabot-preview[bot] b57e1a14f0 build(deps): bump syn from 1.0.70 to 1.0.71
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.70...1.0.71)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 10:02:43 -07:00
David Wendt 041003f256 avm2: Slot lookups don't need the whole trait list, just the first one we find. 2021-04-28 00:01:47 -07:00
David Wendt fd08a6ebf6 avm2: Instantiate slot traits on `get_slot`, `set_slot` etc.
Previously, we only instantiated slot traits when named as a property, which is only half the picture.
2021-04-28 00:01:47 -07:00
David Wendt e35d1edbf0 avm2: Allow pulling traits by slot id 2021-04-28 00:01:47 -07:00
David Wendt 07db1786f1 tests: Add a test for AVM2 nested closures (which thus tests `newactivation`) 2021-04-28 00:01:47 -07:00
David Wendt 9318028b52 avm2: `newactivation` should return an object which implements the traits listed in the associated method `body`'s trait list 2021-04-28 00:01:47 -07:00
David Wendt 6c5098d3c7 avm2: Fix order in which `setslot` takes it's parameters 2021-04-28 00:01:47 -07:00
Adrian Wielgosik 5a6117722d core: Also hide playback controls on single-frame SWFs 2021-04-27 16:42:02 -07:00
Adrian Wielgosik a1737b5922 avm1: Respect menu.builtInItems, but on root clip only 2021-04-27 16:42:02 -07:00
Adrian Wielgosik be40e2ce28 Fix formatting 2021-04-27 16:42:02 -07:00
Adrian Wielgosik c3a16cb992 avm2: Support Stage.showDefaultContextMenu 2021-04-27 16:42:02 -07:00
Adrian Wielgosik ce4d66e0f4 avm1: support Stage.showMenu 2021-04-27 16:42:02 -07:00
Adrian Wielgosik 41a126885c web: Minimal context menu buttons for movie control 2021-04-27 16:42:02 -07:00
TÖRÖK Attila 61fddf530e core/display_object: Correctly draw videos that have different bounds than the size of their actual frame data 2021-04-27 11:49:16 -07:00
Mike Welsh ff6adaf706 chore: Bump JS packages 2021-04-26 12:09:42 -07:00
dependabot-preview[bot] a4db3b5461 build(deps-dev): bump webpack from 5.32.0 to 5.35.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.32.0 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.32.0...v5.35.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:52:02 -07:00
dependabot-preview[bot] ca9a07629f build(deps-dev): bump @wdio/local-runner from 7.3.1 to 7.5.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.5.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:44:13 -07:00
dependabot-preview[bot] dabaee6bf7 build(deps-dev): bump ts-loader from 8.1.0 to 9.1.1 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.1.0 to 9.1.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.1.0...v9.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:43:54 -07:00
dependabot-preview[bot] 0e2839812e build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.4.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:41:37 -07:00
dependabot-preview[bot] b53b4b7f5b build(deps-dev): bump eslint-config-prettier from 8.1.0 to 8.3.0 in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:41:20 -07:00
dependabot-preview[bot] abbfc0fd3f build(deps-dev): bump @wdio/mocha-framework from 7.3.1 to 7.4.6 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:38:10 -07:00
dependabot-preview[bot] d25a7f380e build(deps-dev): bump chai-html from 1.3.0 to 2.0.1 in /web
Bumps [chai-html](https://github.com/i-like-robots/chai-html) from 1.3.0 to 2.0.1.
- [Release notes](https://github.com/i-like-robots/chai-html/releases)
- [Changelog](https://github.com/i-like-robots/chai-html/blob/master/changelog.md)
- [Commits](https://github.com/i-like-robots/chai-html/compare/v1.3.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:37:44 -07:00
Mike Welsh 1f8434aee6 tests: Add test for Stage.scaleMode/align 2021-04-26 01:15:42 -07:00
Mike Welsh a57f227bda core: Implement Stage resize events 2021-04-26 01:15:42 -07:00