Commit Graph

3795 Commits

Author SHA1 Message Date
dependabot-preview[bot] 72e8e12c20 build(deps): bump log from 0.4.12 to 0.4.13
Bumps [log](https://github.com/rust-lang/log) from 0.4.12 to 0.4.13.
- [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.12...0.4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 12:04:00 -08:00
dependabot-preview[bot] 7c1b5c4e68 build(deps): bump isahc from 1.0.2 to 1.0.3
Bumps [isahc](https://github.com/sagebind/isahc) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/sagebind/isahc/releases)
- [Commits](https://github.com/sagebind/isahc/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-10 17:18:55 -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
MrCheeze c2470d39fc desktop: Increase window maximum size to 32767x32767
By default, winit limits the window size to the screen resolution.
Since some flashes are larger than this, increase the limit to an
arbitrarily-chosen larger constant.
2021-01-10 15:11:34 -08:00
MrCheeze c4f5b7aba0 chore: Bump wgpu-rs version to prevent dx11 resize crash 2021-01-10 15:11:34 -08:00
MrCheeze 054db37ba0 desktop: Fix rendering when window is has unexpected size (close #1631)
Winit's WindowBuilder will sometimes create a window whose size is
smaller than requested. Therefore, instead of assuming the actual
window size is requested size * scaling, just check what the true
size is. (window.inner_size() also takes scaling into account.)

This fixes at least one issue where rendering would fail on Windows
with the Vulkan backend due to the incorrect size being used.
2021-01-10 15:11:34 -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
dependabot-preview[bot] 5606c02efd build(deps): bump svg from 0.8.0 to 0.8.1
Bumps [svg](https://github.com/bodoni/svg) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/bodoni/svg/releases)
- [Commits](https://github.com/bodoni/svg/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-10 13:00:07 -08:00
relrelb 828d8b7339
demo: General refactor
General cleanup and refactoring of the web demo
2021-01-09 19:36:05 -08:00
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