relrelb
0ea7b857cf
demo: Lint index.js
2021-01-22 09:19:26 -08:00
relrelb
0349d90fcd
demo: Add drag-and-drop functionality
2021-01-22 09:19:26 -08:00
relrelb
3fb58580c5
web: Add stylelint
2021-01-22 09:12:48 -08:00
dependabot-preview[bot]
62d6698056
build(deps-dev): bump webpack from 5.16.0 to 5.17.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.16.0...v5.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 09:10:52 -08:00
Mike Welsh
78f85d96f0
chore: Remove some debug spew
2021-01-21 18:22:42 -08:00
Maxwell DeKock
b2594b2b6c
web: Fix error in demo when selecting None for sample ( close #2416 )
2021-01-21 18:05:12 -08:00
Toad06
dc2b4fcc42
web: Use enum instead of arbitrary values
2021-01-20 15:03:52 -08:00
Toad06
bc47bfb9e9
web: Display appropriate errors when Ruffle fails to initialize
2021-01-20 15:03:52 -08:00
dependabot-preview[bot]
7decb91918
build(deps-dev): bump @wdio/cli from 6.12.0 to 6.12.1 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.12.0 to 6.12.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.0...v6.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 14:34:57 -08:00
dependabot-preview[bot]
0ab35edc06
build(deps-dev): bump @wdio/local-runner from 6.12.0 to 6.12.1 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.12.0 to 6.12.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.0...v6.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 14:05:26 -08:00
Adrian Wielgosik
b69e17bf35
web: Allow customizing log level
2021-01-19 18:10:35 -08:00
dependabot-preview[bot]
75967e3775
build(deps-dev): bump webpack from 5.15.0 to 5.16.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.15.0 to 5.16.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 14:03:48 -08:00
dependabot-preview[bot]
a56b1bff5a
build(deps-dev): bump chromedriver from 87.0.5 to 87.0.7 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 87.0.5 to 87.0.7.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/87.0.5...87.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 10:10:16 -08:00
dependabot-preview[bot]
a271e437bc
build(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0 in /web
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 7.1.0 to 7.2.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/v7.1.0...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 10:10:07 -08:00
dependabot-preview[bot]
4a27fb9832
build(deps-dev): bump sign-addon from 3.1.0 to 3.2.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/3.1.0...3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 09:47:16 -08:00
dependabot-preview[bot]
9a84972a70
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/eslint-plugin )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 22:33:37 -08:00
dependabot-preview[bot]
0ae2212adf
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/parser )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 22:06:55 -08:00
Mike Welsh
da1e2801a2
chore: Appease clippy
2021-01-18 21:23:50 -08:00
Mike Welsh
c2b768c453
web: Fallback to instantiate with improper MIME type
...
Use --target web in wasm-bindgen and file-loader for WASM files,
allowing wasm-bindgen's built-in fallback from
WebAssembly.instantiateStreaming to instantiate.
file-loader spits out the WASM file directly in the output folder,
and imports will resolve to the URL, so that we can load the file
directly, avoiding webpack's built-in wasm loaders.
This allows Ruffle to function on web servers even if they serve
WASM files with the incorrect MIME type, fixing one of our biggest
support requests (#400 , #1458 ). There is some performance impact
on loading with the fallback, but this is preferable to not
working at all.
2021-01-16 15:30:11 -08:00
dependabot-preview[bot]
9df7facdb8
build(deps-dev): bump eslint from 7.17.0 to 7.18.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 16:25:47 -08:00
TÖRÖK Attila
2858faaaf2
web: Drop wasm-pack, invoke wasm-bindgen and wasm-opt directly from npm ( #2482 )
2021-01-15 12:59:25 -08:00
dependabot-preview[bot]
e952cd485b
build(deps-dev): bump webpack from 5.14.0 to 5.15.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.14.0...v5.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 11:30:25 -08:00
Toad06
5ed30303eb
web: Remove event listeners when a Ruffle instance is destroyed
2021-01-14 13:06:37 -08:00
dependabot-preview[bot]
c1c1c59bb5
build(deps-dev): bump webpack from 5.13.0 to 5.14.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.13.0...v5.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 16:39:12 -08:00
Mike Welsh
9bb36885bb
web: Add backgroundColor option and support bgcolor attribute
...
Add `backgroundColor` setting to the config options, allowing
a user to override the background color of an SWF. The polyfill
will now look for the `bgcolor` HTML attribute on the embed
and fill in this setting appropriately.
2021-01-13 11:57:19 -08:00
dependabot-preview[bot]
671a01ed39
build(deps-dev): bump @wdio/local-runner from 6.11.3 to 6.12.0 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.11.3 to 6.12.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.11.3...v6.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 01:56:38 -08:00
dependabot-preview[bot]
d08947c91b
build(deps-dev): bump @wdio/cli from 6.11.3 to 6.12.0 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.11.3 to 6.12.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.11.3...v6.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 01:56:22 -08:00
dependabot-preview[bot]
73d1230910
build(deps-dev): bump webpack from 5.12.3 to 5.13.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 15:38:09 -08:00
Toad06
0d7f64aa67
web: Only run JS scripts when `allowScriptAccess` is true
2021-01-11 13:16:00 -08:00
Toad06
7480e836ec
web: Changes from review
2021-01-11 13:16:00 -08:00
Toad06
0131665149
web: Fix clippy
2021-01-11 13:16:00 -08:00
Toad06
f48d5b424b
web: Fixes and improvements in `navigate_to_url`
2021-01-11 13:16:00 -08:00
dependabot-preview[bot]
29fc80a25a
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.13.0/packages/eslint-plugin )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 12:04:49 -08:00
dependabot-preview[bot]
375e6186b1
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.13.0/packages/parser )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 12:04:30 -08:00
dependabot-preview[bot]
4dbc4e55cc
build(deps-dev): bump eslint-plugin-jsdoc from 30.7.13 to 31.0.3 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 30.7.13 to 31.0.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v30.7.13...v31.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 12:04:14 -08:00
TÖRÖK Attila
cce3a8199d
web: Add a config option to disable the message about unsupported content
2021-01-10 16:02:23 -08:00
dependabot-preview[bot]
9b3b65fafe
build(deps-dev): bump webpack from 5.12.2 to 5.12.3 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.12.2 to 5.12.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.12.2...v5.12.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-10 13:00:39 -08:00
relrelb
828d8b7339
demo: General refactor
...
General cleanup and refactoring of the web demo
2021-01-09 19:36:05 -08:00
dependabot-preview[bot]
fdec1a51ce
build(deps-dev): bump webpack from 5.12.1 to 5.12.2 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.12.1...v5.12.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-09 12:02:59 -08:00
dependabot-preview[bot]
dbb1bfb845
build(deps): bump byteorder from 1.3.4 to 1.4.2
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.4 to 1.4.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.4...1.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 12:09:34 -08:00
dependabot-preview[bot]
3c81c7766f
build(deps-dev): bump webpack from 5.11.1 to 5.12.1 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.11.1 to 5.12.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.11.1...v5.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 12:08:56 -08:00
Toad06
b81fb64be9
web: Prevent "414 URI Too Long" error on Github when reporting bugs
2021-01-07 11:51:00 -08:00
Mike Welsh
01aca9f861
web: Remove upgrade_to_https param from Ruffle::new
...
Grab it from the `config` directly instead of using an extra param.
2021-01-07 11:46:07 -08:00
Mike Welsh
87ae91963b
demo: Enable letterbox for demo
2021-01-07 11:46:07 -08:00
Mike Welsh
8728804f28
web: Add letterbox config option
2021-01-07 11:46:07 -08:00
Mike Welsh
e9da6a13f0
core: Add letterbox setting
...
Player::set_letterbox can be used to control the letterbox behavior.
* Letterbox::Off => no letterbox (flash behavior)
* Letterbox::Fullscreen => letterbox only in fullscreen (web default)
* Letterbox::On => always letterbox (desktop default)
2021-01-07 11:46:07 -08:00
dependabot-preview[bot]
610fd50a4f
build(deps-dev): bump archiver from 5.1.0 to 5.2.0 in /web
...
Bumps [archiver](https://github.com/archiverjs/node-archiver ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/archiverjs/node-archiver/releases )
- [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/archiverjs/node-archiver/compare/5.1.0...5.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-06 20:53:44 -08:00
Adrian Wielgosik
63bd59c5fe
web: Add symbols to optimized wasm files
2021-01-06 12:17:33 -08:00
Toad06
24362d72e3
web: Fix minor issues in `ruffle-player.ts`
2021-01-06 12:04:03 -08:00
dependabot-preview[bot]
b84ed23106
build(deps-dev): bump ts-loader from 8.0.13 to 8.0.14 in /web
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.13 to 8.0.14.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.13...v8.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-05 10:10:32 -08:00