Commit Graph

3462 Commits

Author SHA1 Message Date
David Wendt 4784dc3c03 tests: Add more stringent height/width test that we're only accurate to within 1 twip. 2020-12-09 14:00:06 -08:00
David Wendt abca120628 avm2: Expose `width` to AS3 code. 2020-12-09 14:00:06 -08:00
David Wendt 3225cd40e2 core: Avoid panic when display objects are manipulated in clearly invalid ways. 2020-12-09 14:00:06 -08:00
David Wendt 990401a09c core: Allow percentages (e.g. scalex/y) to be specified, stored, and cached at either [0..1] or [0..100] scale. 2020-12-09 14:00:06 -08:00
David Wendt 6da658a845 avm2: `pushshort` has an undocumented coercion step 2020-12-09 14:00:06 -08:00
David Wendt 90e203b004 avm2: `this.height` ignores negative values 2020-12-09 14:00:06 -08:00
David Wendt bd00bea744 avm2: Expose `alpha`, `height`, `scaleY`, and `scaleX` to script code. 2020-12-09 14:00:06 -08:00
David Wendt 69db45131b tests: Add inactive tests for `alpha`, `height`, `rotation`, `width`, `x`, and `y`. 2020-12-09 14:00:06 -08:00
jmckiern fea724aa2e docs: Add double quotes to RUST_LOG to improve clarity 2020-12-09 12:11:02 -08:00
dependabot-preview[bot] 70e7894a14 build(deps): bump isahc from 0.9.13 to 0.9.14
Bumps [isahc](https://github.com/sagebind/isahc) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/sagebind/isahc/releases)
- [Commits](https://github.com/sagebind/isahc/compare/0.9.13...0.9.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 23:53:57 -08:00
dependabot-preview[bot] d1c79a5dd5 build(deps): bump png from 0.16.7 to 0.16.8
Bumps [png](https://github.com/image-rs/image-png) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/image-rs/image-png/releases)
- [Changelog](https://github.com/image-rs/image-png/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image-png/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 21:13:22 -08:00
Mike Welsh 3bafee63a6 web: Fix spurious keyUp events (fix #1886) 2020-12-08 21:12:59 -08:00
techboyg5 021194875a Open shadow DOM 2020-12-07 17:57:15 -08:00
Toad06 457d707ec2 tests: `polyfills` option is now a boolean, defaulting to true 2020-12-07 15:22:51 -08:00
Toad06 3ca08c881f docs: Update `streamSwfUrl` to `load` 2020-12-07 15:22:51 -08:00
jmckiern 3cab11d18e avm1: Implement TextField.textColor (close #1863) 2020-12-07 15:09:36 -08:00
dependabot-preview[bot] 6b7d4b4635 build(deps): bump embed-resource from 1.3.4 to 1.4.0
Bumps [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v1.3.4...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 14:53:48 -08:00
dependabot-preview[bot] 35235feba1 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.9.0 to 4.9.1.
- [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.9.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 14:08:15 -08:00
dependabot-preview[bot] 7df6e756d1 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.8.2 to 4.9.1.
- [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.9.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 13:48:15 -08:00
dependabot-preview[bot] d058a226ea build(deps-dev): bump copy-webpack-plugin from 6.3.2 to 6.4.0 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.2 to 6.4.0.
- [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.2...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 13:40:02 -08:00
jmckiern 73afae8fa5 Make slider color change if slider is checked 2020-12-07 13:39:46 -08:00
dependabot-preview[bot] 17eb651682 build(deps): bump syn from 1.0.53 to 1.0.54
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.53 to 1.0.54.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.53...1.0.54)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 13:08:20 -08:00
Mike Welsh 9901738249 chore: Appease rustfmt 2020-12-07 10:35:40 -08:00
Mike Welsh 2757bc4dad chore: Appease clippy
Allow suspicious_operation_groupings for Matrix.
2020-12-07 10:14:31 -08:00
relrelb 989bfb8f3e avm1: Improve loops treatment in Sound.start
The second argument of Sound.start, loops, can be greater than
std::u16::MAX, but previously greater values were treated as 1.
Ideally, the solution is to respect those values, but since SoundInfo
holds a u16, a short-term solution is to treat them as std::u16::MAX
instead.
2020-12-06 14:22:38 -08:00
Mike Welsh b76d76d244 web: Properly handle multibyte characters in text input
We were checking for byte length == 1 instead of # of characters
to determine if a keyboard key was a single printable character.
Thanks to @JMcKiern for pointing this out.
2020-12-05 23:19:57 -08:00
dependabot-preview[bot] ed293d071b 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.8.2 to 4.9.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.9.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 23:00:01 -08:00
dependabot-preview[bot] 3069b38087 build(deps-dev): bump eslint-config-prettier in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.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/v6.15.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 21:58:22 -08:00
dependabot-preview[bot] 31cac965c9 build(deps): bump serde from 1.0.117 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 21:57:39 -08:00
dependabot-preview[bot] aac4d9d78b build(deps-dev): bump eslint from 7.14.0 to 7.15.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.14.0 to 7.15.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.14.0...v7.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 21:57:25 -08:00
Mike Welsh 16b9c77d02 core: Remove panic in morph shape lerp 2020-12-05 00:19:30 -08:00
dependabot-preview[bot] 93c72cd81c build(deps-dev): bump chromedriver from 87.0.1 to 87.0.2 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 87.0.1 to 87.0.2.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/87.0.1...87.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 17:54:59 -08:00
dependabot-preview[bot] f45fa80e29 build(deps): bump smallvec from 1.5.0 to 1.5.1
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 17:54:47 -08:00
dependabot-preview[bot] 0d350a0e78 build(deps-dev): bump chromedriver from 86.0.0 to 87.0.1 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 86.0.0 to 87.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/86.0.0...87.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 13:59:16 -08:00
Sam Morrow d5e597052e desktop: Add file dialogs to Ruffle if no FILE argv V2 (close #1774)
Introduce file dialogs if no FILE argv is passed.
Use altered version of due to https://github.com/jdm/tinyfiledialogs-rs/issues/19
2020-12-04 13:04:43 -08:00
dependabot-preview[bot] b8c202a7f7 build(deps-dev): bump webpack from 5.9.0 to 5.10.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.9.0...v5.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 12:41:12 -08:00
dependabot-preview[bot] d01f012abf build(deps-dev): bump source-map-loader from 1.1.2 to 1.1.3 in /web
Bumps [source-map-loader](https://github.com/webpack-contrib/source-map-loader) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/webpack-contrib/source-map-loader/releases)
- [Changelog](https://github.com/webpack-contrib/source-map-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/source-map-loader/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 12:40:55 -08:00
notimre 491ce876aa i18n: Add Hungarian translations 2020-12-03 16:51:45 -08:00
bbb651 92bd0874e1 Fixed "Swap" only working for i32 2020-12-03 15:51:37 -08:00
bbb651 8baf35e7af Added AVM2 op "Swap" 2020-12-03 15:51:37 -08:00
dependabot-preview[bot] 0e39cd07ce build(deps-dev): bump eslint-plugin-prettier from 3.1.4 to 3.2.0 in /web
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.4 to 3.2.0.
- [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.1.4...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-03 11:49:17 -08:00
StevenNL2000 64d8f3a2ce i18n: Add Dutch 2020-12-03 11:44:36 -08:00
Mike Welsh 758a32f5f0 core: Remove unimplemented! in decode_define_bits_lossless 2020-12-02 23:58:03 -08:00
Zeh Fernando c018ac065c tests: Add test for MovieClip._lockroot in avm1 2020-12-02 11:59:01 -08:00
Mike Welsh a0d56aad44 core: Don't panic on DefineFont4 2020-12-01 23:01:35 -08:00
Newbyte 71f5339827 i18n: Add Swedish 2020-12-01 11:55:57 -08:00
Zombie110year 6e8346ab56
i18n: Add Simplified Chinese translation 2020-12-01 10:10:30 -08:00
Mike Welsh 25e7ec99a0 core: Handle serializing arrays in SharedObjects 2020-11-30 22:15:34 -08:00
dependabot-preview[bot] d06bbf23ce build(deps-dev): bump @wdio/cli from 6.10.2 to 6.10.5 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.10.2 to 6.10.5.
- [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.2...v6.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 12:24:07 -08:00
dependabot-preview[bot] 6d87c52276 build(deps-dev): bump @wdio/local-runner from 6.10.2 to 6.10.5 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.10.2 to 6.10.5.
- [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.2...v6.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 12:24:01 -08:00