Mike Welsh
22948789b8
web: Add MovieData.isActionScript3 and backgroundColor
2021-05-23 23:02:38 -07:00
Mike Welsh
e1439f4105
swf: Add HeaderExt struct providing additional info
...
When reading an SWF, search for FileAttributes and
SetBackgroundColor and return this along with the header data
because it's useful (in particular, the AS3 flag).
2021-05-23 23:02:38 -07:00
Mike Welsh
61e20024e9
chore: Appease clippy
2021-05-22 20:28:31 -07:00
sn-o-w
41c4ac2834
i18n: Add Romanian
2021-05-19 14:49:01 -07:00
dependabot[bot]
00194e351e
chore: Bump serde from 1.0.125 to 1.0.126
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 10:13:02 -07:00
Toad06
c5233ed172
web: Make `unmuteOverlay: "hidden"` resume audio without extra click
2021-05-16 23:34:11 -07:00
Toad06
0ee6b62517
web: Add a `none` value to completely disable the unmute overlay
2021-05-16 23:34:11 -07:00
Jmousy
27bf4c5ccc
i18n: Add Korean
2021-05-16 22:57:23 -07:00
Ahmet Akkoç
ae038ccbb1
i18n: Update Turkish localization
2021-05-13 10:30:14 -07:00
Adrian Wielgosik
c40d08e73a
web: Fix context menu checkmark in web builds
2021-05-10 00:19:29 -07:00
CUB3D
cd1cde1708
avm1: Implement de/serialization of shared objects into Flash Player Lso format
2021-05-09 23:20:32 -07:00
Pablo Rodríguez
3acfb5bc29
i18n: Minor improvement in Spanish translation
2021-05-09 10:57:27 -07:00
Ahmet Akkoç
d2bf69d5e6
i18n: Added Turkish localization
2021-05-08 03:14:23 -07:00
Mike Welsh
ba7fd1b2b9
chore: Appease clippy, bump url
...
Bump url and avoid `Url::into_string` deprecation warnings.
Fix `single_char_pattern` clippy lints.
2021-05-07 20:51:26 -07:00
Moulins
272841729e
core: Replace SwfMovie's PropertyMap by a list of key-value pairs
...
PropertyMap is an AVM1-only concept, and shouldn't be used on cross-VM
types.
2021-05-03 13:47:14 -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
Adrian Wielgosik
8ca22c1f02
core: Support for custom context menu items on movie root
2021-05-02 15:28:00 -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
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
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
Adrian Wielgosik
940cb8d2f7
web: Use unicode escapes for checkbox emojis
2021-04-28 13:58:04 -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
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
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
David Wendt
0c6584ca03
core: Store the viewport's scale factor on the stage
2021-04-26 01:15:42 -07:00
relrelb
24dcad9546
extension: Avoid script injection in XML documents
...
document.xmlVersion doesn't exist in Firefox, so use another method
to detect XML documents, described in MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion
2021-04-24 04:16:23 -07:00
Mike Welsh
10b014bf18
tests: Move utils.js out of polyfill folder
2021-04-23 16:58:24 -07:00
Mike Welsh
0c5951da52
tests: Add tests for Ruffle JS API
...
Add some basic scaffolding for testing the JS API. Adds a test for
`RufflePlayer.load` and `RufflePlayer.metadata`.
2021-04-23 16:58:24 -07:00
Mike Welsh
d34b72cc47
web: Expose SWF metadata to JavaScript
...
Add `RufflePlayer.metadata` that exposes the SWF header fields to
JavaScript.
Add `RufflePlayer.readyState` and fire a `loadedmetadata` event
once the metadata is available, mimicking the HTML5 media APIs.
2021-04-23 16:58:24 -07:00
relrelb
488e4421e9
extension: Lint after TypeScript migration
2021-04-23 16:58:13 -07:00
relrelb
cfc57a2e1d
extension: Complete TypeScript migration
2021-04-23 16:58:13 -07:00