Commit Graph

3187 Commits

Author SHA1 Message Date
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
dependabot-preview[bot] 78b1975b44 build(deps-dev): bump webpack from 5.4.0 to 5.5.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.4.0...v5.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:26:06 -08:00
dependabot-preview[bot] 9ec146d9f0 build(deps-dev): bump @wdio/sync from 6.7.3 to 6.8.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.7.3 to 6.8.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.7.3...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 12:07:22 -08:00
dependabot-preview[bot] ed4c4d5fdf build(deps-dev): bump @wdio/mocha-framework from 6.7.3 to 6.8.0 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.7.3 to 6.8.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.7.3...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 12:07:10 -08:00
dependabot-preview[bot] 7ea9cb68ed build(deps-dev): bump @wdio/cli from 6.7.4 to 6.8.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.4 to 6.8.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.7.4...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 12:07:01 -08:00
dependabot-preview[bot] 6a3e16d771 build(deps-dev): bump @wdio/local-runner from 6.7.3 to 6.8.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.7.3 to 6.8.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.7.3...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 12:06:51 -08:00
dependabot-preview[bot] 90d1ae53b7 build(deps): bump isahc from 0.9.12 to 0.9.13
Bumps [isahc](https://github.com/sagebind/isahc) from 0.9.12 to 0.9.13.
- [Release notes](https://github.com/sagebind/isahc/releases)
- [Commits](https://github.com/sagebind/isahc/compare/0.9.12...0.9.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 23:33:37 -08:00
dependabot-preview[bot] 12579ee1d1 build(deps-dev): bump copy-webpack-plugin from 6.3.0 to 6.3.1 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.0 to 6.3.1.
- [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.0...v6.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 16:43:54 -08:00
relrelb 2e0509694c docs: Miscellaneous spelling corrections 2020-11-12 13:34:05 -08:00
Mike Welsh 48ee47d88a tests: Add test for AVM2 Math
Also allow specifying relative epsilon for swf_tests_approx.
2020-11-12 04:24:47 -08:00
Mike Welsh 3ce8bc3c4b avm2: Implement Math 2020-11-12 04:24:47 -08:00
dependabot-preview[bot] 1bb10035a9 build(deps): bump isahc from 0.9.11 to 0.9.12
Bumps [isahc](https://github.com/sagebind/isahc) from 0.9.11 to 0.9.12.
- [Release notes](https://github.com/sagebind/isahc/releases)
- [Commits](https://github.com/sagebind/isahc/compare/0.9.11...0.9.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 19:49:07 -08:00
Mike Welsh b927acb2c2 avm2: trace accepts multiple arguments 2020-11-10 17:05:56 -08:00
Mike Welsh 2e73eba6c9 tests: Add test for unload clip event 2020-11-09 17:26:19 -08:00
Mike Welsh 15d0d814a7 avm1: Exclude unload clip event from continue_if_base_clip_exists
Unload event handlers should not halt if their clip is removed
(because it is already removed when an unload handler starts).

This will probably get cleaner if #1535 is fixed (unload clips
stay alive for one frame).

Fixes #447.
2020-11-09 17:26:19 -08:00
dependabot-preview[bot] 60b287016b build(deps): bump futures from 0.3.7 to 0.3.8
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.7 to 0.3.8.
- [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.7...0.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 10:47:25 -08:00
dependabot-preview[bot] ac9cc4012a build(deps-dev): bump @wdio/cli from 6.7.3 to 6.7.4 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.3 to 6.7.4.
- [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.3...v6.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 10:43:38 -08:00
Mike Welsh fe6ff77889 tests: Add test for initialize clip event 2020-11-09 10:43:18 -08:00
Mike Welsh 3905837679 avm1: Fire initialize clip event
This event fires for new clips before any construct clip events.

Split the action queue up into separate priorities, giving
initialize the highest priority.
2020-11-09 10:43:18 -08:00
Mike Welsh 316bc4e920 chore: Appease clippy 2020-11-09 01:52:57 -08:00
dependabot-preview[bot] 60fc503a5b build(deps-dev): bump @wdio/sync from 6.7.2 to 6.7.3 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.7.2 to 6.7.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.7.2...v6.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 16:26:15 -08:00
dependabot-preview[bot] 1f3f5d30a2 build(deps-dev): bump @wdio/local-runner from 6.7.2 to 6.7.3 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.7.2 to 6.7.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.7.2...v6.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 16:26:06 -08:00
dependabot-preview[bot] 14de77c0f0 build(deps-dev): bump @wdio/mocha-framework from 6.7.0 to 6.7.3 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.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.7.0...v6.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 16:25:53 -08:00
dependabot-preview[bot] 3cf8c01510 build(deps-dev): bump @wdio/cli from 6.7.2 to 6.7.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.2 to 6.7.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.7.2...v6.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 16:25:42 -08:00
dependabot-preview[bot] 91a01feecb build(deps-dev): bump chromedriver from 85.0.1 to 86.0.0 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 85.0.1 to 86.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits/86.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 15:08:33 -08:00
dependabot-preview[bot] 9aacb15392 build(deps): bump cpal from 0.13.0 to 0.13.1
Bumps [cpal](https://github.com/rustaudio/cpal) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/rustaudio/cpal/releases)
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rustaudio/cpal/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 13:32:26 -08:00
sousuke0422 75ce1bf4c1
i18n: Add Japanese
* i18n: Add Japanese
* i18n: Fix the "message" field in ja/message.json

Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
2020-11-07 17:22:47 -08:00
Pablo Rodríguez aaa4ce5431
i18n: Improve the Spanish translation and use ellipses character
* replace ... with proper Unicode char "…"
* some improvements to the Spanish translation

Co-authored-by: Pablo Rodríguez <ousia@users.noreply.gitlab.com>
2020-11-07 13:11:03 -08:00
Rult 564a36c049 i18n: Add Russian 2020-11-07 13:06:29 -08:00
relrelb 31a558f5b0
docs: Format CONTRIBUTING.md
* Correct auto-format command in CONTRIBUTING.md

* Format CONTRIBUTING.md

* Convert some inline code snippets to block code snippets.
* Delete trailing spaces.
2020-11-07 13:04:51 -08:00
dependabot-preview[bot] 0dcc7575db build(deps-dev): bump eslint from 7.12.1 to 7.13.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.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.12.1...v7.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 18:57:40 -08:00
relrelb 930d6ebe59 core: Correct MovieClip method names in error messages
They all were MovieClip.attachMovie probably becuase of copy-pasting.
2020-11-06 12:33:05 -08:00