Commit Graph

3736 Commits

Author SHA1 Message Date
Mike Welsh 484ac03ca8 tests: Test removeMovieClip on non-movieclips 2021-01-09 18:31:04 -08:00
Mike Welsh bab88ede8c fix 2021-01-09 18:31:04 -08:00
MrCheeze ff15b67192 avm1: Allow RemoveSprite/removeMovieClip on any display object 2021-01-09 18:31:04 -08:00
Mike Welsh 6638aebde8 tests: Add test verifying proper getBytesTotal value 2021-01-09 14:29:19 -08:00
MrCheeze 5915f2a841 core: Return uncompressed length for getBytesLoaded/Total 2021-01-09 14:29:19 -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
Adrian Wielgosik 828dbcb00c Don't panic on invalid JPEG sizes in DefineBitsJpeg* 2021-01-08 13:38:41 -08:00
dependabot-preview[bot] f80d74a3d7 build(deps): bump smallvec from 1.6.0 to 1.6.1
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 12:09:49 -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
dependabot-preview[bot] ea9576f9d4 build(deps): bump futures from 0.3.8 to 0.3.9
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.8...0.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 12:08:30 -08:00
relrelb 55f348f014 desktop: Prevent entering/exiting fullscreen repeatedly 2021-01-08 11:59:08 -08:00
relrelb b2867aa3b9 desktop: Add fullscreen exit keyboard shortcut
Flash Player also exits fullscreen when escape is pressed.
2021-01-08 11:59:08 -08:00
relrelb 030ff398ef desktop: Handle fullscreen keyboard shortcut in its own case 2021-01-08 11:59:08 -08:00
dependabot-preview[bot] 61bc46203b build(deps): bump log from 0.4.11 to 0.4.12
Bumps [log](https://github.com/rust-lang/log) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.11...0.4.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-07 17:53:23 -08:00
Mike Welsh cb9bdcdfdb desktop: Hook up DesktopUiBackend::is_fullscreen 2021-01-07 12:49:36 -08:00
relrelb 6270156c74 desktop: Change fullscreen shortcut to Alt+Enter
And also remove the Escape shortcut because it might interfere with
games.
2021-01-07 12:49:36 -08:00
relrelb abe608fd4d desktop: Add fullscreen keyboard shortcut 2021-01-07 12:49:36 -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 44e9185a5f core: Adjust culling area based on letterbox setting 2021-01-07 11:46:07 -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 bacb66b97b core: Move Letterbox to config module 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
Mike Welsh 03b5edd4d1 render: Remove RenderBackend::draw_letterbox
Move letterbox draw logic to `Player`, using renderer.draw_rect
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
CUB3D 063c8a1234 chore: Fix formatting 2021-01-06 18:06:30 -08:00
CUB3D 01557fba5a core: Add flash.filters.GradientGlowFilter 2021-01-06 18:06:30 -08:00
CUB3D 0cab167e4c core: Add flash.filters.GradientBevelFilter + refactor existing filters 2021-01-06 18:06:30 -08:00
Moulins 02c591958e core/avm1: don't run onLoadInit handler if movie loading failed
Replace Loader::Movie::loader_complete flag by an enum to distinguish
between success and failure.

Fixes #2123
2021-01-06 16:00:58 -08:00
relrelb 468b2ca487
core: Ignore SetBackgroundColor in child movie clips 2021-01-06 16:00:11 -08:00
Mike Welsh 8d1d2efea4 webgl: Request OES_element_index_uint extension on WebGL1
Needed to support u32 index buffers.
2021-01-06 13:24:10 -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
dependabot-preview[bot] ddbc966b5a build(deps-dev): bump @wdio/local-runner from 6.11.0 to 6.11.3 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.11.0 to 6.11.3.
- [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.0...v6.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-05 09:37:21 -08:00
dependabot-preview[bot] a59e307964 build(deps-dev): bump @wdio/cli from 6.11.1 to 6.11.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.11.1 to 6.11.3.
- [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.1...v6.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-05 09:37:06 -08:00
Callum Thomson 75081c8149
avm1: Implement flash.filters.ConvolutionFilter avm1 built-in 2021-01-04 18:26:11 -08:00
dependabot-preview[bot] 4afeab6a69 build(deps-dev): bump @wdio/local-runner from 6.10.13 to 6.11.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.10.13 to 6.11.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.10.13...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:24:08 -08:00
dependabot-preview[bot] a8420ba608 build(deps-dev): bump @wdio/spec-reporter from 6.10.6 to 6.11.0 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.10.6 to 6.11.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.10.6...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:23:47 -08:00
dependabot-preview[bot] 98fd7650bd build(deps-dev): bump @wdio/mocha-framework in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.10.11 to 6.11.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.10.11...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:23:30 -08:00
dependabot-preview[bot] 774d29fb27 build(deps-dev): bump @wdio/cli from 6.10.11 to 6.11.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.10.11 to 6.11.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.10.11...v6.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:21:11 -08:00
dependabot-preview[bot] 6bbc0bc7fc build(deps-dev): bump @wdio/sync from 6.10.11 to 6.11.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.10.11 to 6.11.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.10.11...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:19:24 -08:00
dependabot-preview[bot] 55af8dfb69 build(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1 in /web
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:19:03 -08:00
dependabot-preview[bot] 2e649ad5fd 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.11.1 to 4.12.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.12.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:18:37 -08:00
dependabot-preview[bot] 72876b187b 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.11.1 to 4.12.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.12.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:14:15 -08:00
dependabot-preview[bot] aaf33c0d6d build(deps): bump getrandom from 0.2.0 to 0.2.1
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 18:13:56 -08:00
Mike Welsh 0754f0a3b3 render: Use u32 indices 2021-01-04 18:08:14 -08:00
relrelb 9a8edda8a6 chore: Update lyon to 0.17.1 2021-01-04 18:08:14 -08:00