Commit Graph

3218 Commits

Author SHA1 Message Date
Will Brindle 13626f9578
demo: Fix play button centering (fix #1669) 2020-11-24 12:56:31 -08:00
dependabot-preview[bot] 7f5dc9b258 build(deps-dev): bump @wdio/cli from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.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.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:48:25 -08:00
dependabot-preview[bot] 6f21aeff0e build(deps-dev): bump @wdio/local-runner from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.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.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:48:06 -08:00
dependabot-preview[bot] 05dbb3b91d build(deps-dev): bump @wdio/sync from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.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.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:47:51 -08:00
Mike Welsh 8db4482fcf core: Avoid panic on truncated SWF (fix #1583) 2020-11-24 00:29:28 -08:00
dependabot-preview[bot] 6b60fbe432 build(deps): bump syn from 1.0.50 to 1.0.51
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.50...1.0.51)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 17:21:29 -08:00
Mike Welsh eb0b16790c swf: Allow construct clip events in SWFv6 2020-11-22 19:34:29 -08:00
Mike Welsh d9ac9fa076 avm1: Array.reverse should return itself 2020-11-22 13:50:49 -08:00
Mike Welsh 7ac53be24f avm1: Implement TextField.removeTextField 2020-11-22 01:55:46 -08:00
Mike Welsh 03ab4e28d1 chore: Bump quickxml to 0.20 2020-11-22 01:55:01 -08:00
Mike Welsh a61d2b54ae avm1: Implement TextField.type 2020-11-21 16:58:19 -08:00
Mike Welsh 43e0208842 docs: Update sponsor links 2020-11-21 16:57:56 -08:00
dependabot-preview[bot] 22d695421f build(deps): bump syn from 1.0.48 to 1.0.50
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.48...1.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-21 15:20:54 -08:00
relrelb aa33832936 web: Improve context menu position
The maxX and maxY calculation assumed the player covers the whole
viewport. Now it takes into account rect.width and rect.height.
2020-11-21 12:46:06 -08:00
Mike Welsh 8d78ee5172 avm1: Use f64 when calculating scale/rotation (fix #1622) 2020-11-21 11:39:41 -08:00
MrCheeze 5ea3814097 core: Fix issue where unloaded buttons can still trigger mouse rollout events (close #1603) 2020-11-21 11:36:21 -08:00
dependabot-preview[bot] c60dd208ea build(deps-dev): bump eslint from 7.13.0 to 7.14.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.14.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.13.0...v7.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 16:16:30 -08:00
dependabot-preview[bot] 85810545d7 build(deps-dev): bump @wdio/local-runner from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.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.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:39:08 -08:00
dependabot-preview[bot] 2500a7d7e7 build(deps-dev): bump @wdio/cli from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.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.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:18:36 -08:00
dependabot-preview[bot] 157028be86 build(deps-dev): bump @wdio/sync from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.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.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:17:10 -08:00
dependabot-preview[bot] d7d34c3e97 build(deps-dev): bump archiver from 5.0.2 to 5.1.0 in /web
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 5.0.2 to 5.1.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.0.2...5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:14:50 -08:00
Mike Welsh ad4714f3b3 render: Avoid assert from lyon with small miter limits 2020-11-20 00:29:23 -08:00
David Wendt 5d542680ae avm1: Remove bounds checks from `ActionDefineFunction`, `ActionWith`, `ActionDefineFunction2`, and `ActionTry`. 2020-11-20 00:28:56 -08:00
David Wendt 8ff085b464 avm1: Allow execution of opcodes before the start of an action or function. 2020-11-20 00:28:56 -08:00
Mike Welsh d13a95eafa web: Fail gracefully if LocalStorage is unavailable (fix #1590) 2020-11-19 22:51:02 -08:00
Mike Welsh 2d463629e2 core: Avoid borrow panic when text is removed (fix #1580) 2020-11-19 18:42:31 -08:00
Nathan Adams b492a9c379
Merge pull request #1599 from Dinnerbone/fix/mime
Fixed mime issue detection
2020-11-20 00:31:03 +01:00
Nathan Adams 9015f77bdc web: Fixed mime issue detection 2020-11-20 00:26:47 +01:00
Mike Welsh 99112c7032 ci: Remove unneeded folder from Win release archive (fix #1592) 2020-11-19 11:54:02 -08:00
dependabot-preview[bot] bed38e7762 build(deps-dev): bump copy-webpack-plugin from 6.3.1 to 6.3.2 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 11:25:20 -08:00
dependabot-preview[bot] cf640b3ff5 build(deps): bump instant from 0.1.8 to 0.1.9
Bumps [instant](https://github.com/sebcrozet/instant) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/sebcrozet/instant/releases)
- [Commits](https://github.com/sebcrozet/instant/compare/v0.1.8...v0.1.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 11:24:50 -08:00
dependabot-preview[bot] 11e29df472 build(deps-dev): bump webpack from 5.5.1 to 5.6.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.5.1 to 5.6.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.5.1...v5.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 11:24:31 -08:00
Mike Welsh 8265efd306 ci: Use environment file instead of set-env 2020-11-18 23:31:13 -08:00
Mike Welsh d3265bfd60 avm1: Add allow_empty param to Activation:resolve_target_display_object
In some cases, the empty string path "" should resolve to the
starting clip. In other cases, it should be considered invalid.

Add a parameter to control this behavior, and set this to false
for MovieClip::hit_test to prevent `clip.hitTest("")` from
returning true.
2020-11-18 17:58:42 -08:00
Mike Welsh 4c01022a38 avm1: Allow string paths in hitTest (fix #1559) 2020-11-18 17:58:42 -08:00
relrelb 1674132b36 web: Use fullscreen helper methods
In order to be compatible with browsers that don't support the
standard Fullscreen API.

Co-authored-by: Sean-Thomas <sean-thomas@pocketonion.net>
2020-11-18 17:50:12 -08:00
relrelb d71c886e48 web: Move margin to #nav 2020-11-18 17:50:12 -08:00
relrelb 456ef1963e web: Move border styling to CSS 2020-11-18 17:50:12 -08:00
relrelb 80ab00cdd6 web: Extract max{X,Y}
As a small refactoring to improve readability.
2020-11-18 17:50:12 -08:00
relrelb c8ed1debc6 web: Change margin to margin-top
This makes the demo page fit in a whole page without a scrollbar.
2020-11-18 17:50:12 -08:00
relrelb 9068322d24 web: Retain focus on fullscreen enter/exit
Previously, has_focus has been set to false upon window click, and
to true upon canvas click.
However, the canvas didn't receive click events when the context
menu was clicked, so fullscreen toggle led to focus loss.
Listening to player click events receives both canvas and context
menu clicks.
2020-11-18 17:50:12 -08:00
relrelb 1c0b167e20 Improve web context menu 2020-11-18 17:50:12 -08:00
relrelb b987db010b web: Add fullscreen context menu item
TODO: Retain focus on fullscreen enter/exit.
2020-11-18 17:50:12 -08:00
dependabot-preview[bot] 3cc9ad73a1 build(deps-dev): bump @wdio/spec-reporter from 6.7.0 to 6.8.1 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.8.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.7.0...v6.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:31:37 -08:00
dependabot-preview[bot] 6bfa3144c3 build(deps): bump smallvec from 1.4.2 to 1.5.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.4.2...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:30:15 -08:00
dependabot-preview[bot] 93c401286c build(deps): bump image from 0.23.11 to 0.23.12
Bumps [image](https://github.com/image-rs/image) from 0.23.11 to 0.23.12.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.11...v0.23.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:29:07 -08:00
dependabot-preview[bot] cced66d94b build(deps-dev): bump @wdio/local-runner from 6.8.0 to 6.9.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.8.0 to 6.9.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.8.0...v6.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:28:15 -08:00
dependabot-preview[bot] a56a9db6f7 build(deps-dev): bump @wdio/cli from 6.8.0 to 6.9.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.8.0 to 6.9.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.8.0...v6.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:27:57 -08:00
dependabot-preview[bot] 657f78e8c6 build(deps-dev): bump @wdio/sync from 6.8.0 to 6.9.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.8.0 to 6.9.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.8.0...v6.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:27:36 -08:00
dependabot-preview[bot] 633bddfd72 build(deps): bump env_logger from 0.8.1 to 0.8.2
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:26:21 -08:00