Commit Graph

3672 Commits

Author SHA1 Message Date
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
dependabot-preview[bot] 6b06c04bfe build(deps-dev): bump @wdio/mocha-framework from 6.8.0 to 6.10.4 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.8.0 to 6.10.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.8.0...v6.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 12:23:52 -08:00
dependabot-preview[bot] 91fdbd2cb5 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 6.10.3 to 6.10.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.10.3...v6.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 12:23:40 -08:00
dependabot-preview[bot] e683434741 build(deps-dev): bump @wdio/sync from 6.10.0 to 6.10.4 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.10.0 to 6.10.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.10.0...v6.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 12:23:17 -08:00
Mike Welsh ad5028817a core: Remove unnecssary parameter from Button::set_state 2020-11-30 01:15:43 -08:00
Mike Welsh 0d79d85d83 avm1: Fix MovieClip properties being attached to Object.prototype 2020-11-30 01:15:43 -08:00
Mike Welsh aedddd29ab avm1: Implement Button.enabled and MovieClip.enabled 2020-11-30 01:15:43 -08:00
dependabot-preview[bot] 827a8ee18d build(deps): bump syn from 1.0.52 to 1.0.53
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.52...1.0.53)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-29 22:46:08 -08:00
Mike Welsh d27b46b3dc webgl: Clamp renderbuffer dimensions to sane values 2020-11-29 15:04:39 -08:00
Mike Welsh ab200b6dc0 avm1: Don't fire button events when invisible (fix #1521) 2020-11-29 12:47:36 -08:00
Mike Welsh b7d28e5e7e chore: Remove unnecessary debug output 2020-11-29 02:33:09 -08:00
Mike Welsh dafe7e5027 avm1: Implement Key.getAscii 2020-11-29 02:31:10 -08:00
IWumboYouWumbo af254c3bc0 web: Revamp settings page 2020-11-28 15:34:58 -08:00
Txori a363d0e392
Create messages.json (#1765)
Here comes the French.
2020-11-28 15:28:40 -08:00
Txori bdc18863c8
i18n: Add missing word in Spanish
The word "loaded" was missing in the sentence.
2020-11-28 15:28:15 -08:00
dependabot-preview[bot] cefad2be75 build(deps-dev): bump webpack from 5.8.0 to 5.9.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.8.0...v5.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-28 15:27:32 -08:00
Toad06 49d4197dbf tests: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
Toad06 fc565e2cd6 web: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
ednt a2888037a3
i18n: Create german version of messages.json 2020-11-28 13:46:51 -08:00
Mike Welsh 18addef831 core: Don't run stream sounds when stopped (fix #1719) 2020-11-27 21:11:15 -08:00
Mike Welsh e84c432b00 tests: Add SWFObject.js polyfill test 2020-11-27 21:11:05 -08:00
dependabot-preview[bot] aff3bc8bcf build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 6.6.0 to 6.10.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.6.0...v6.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 17:28:44 -08:00
dependabot-preview[bot] 99700a0322 build(deps-dev): bump prettier from 2.2.0 to 2.2.1 in /web
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 17:20:09 -08:00
dependabot-preview[bot] 602a343995 build(deps): bump csv from 1.1.4 to 1.1.5
Bumps [csv](https://github.com/BurntSushi/rust-csv) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases)
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.4...1.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 15:48:33 -08:00
dependabot-preview[bot] 3d9ebbde9c build(deps): bump syn from 1.0.51 to 1.0.52
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.51...1.0.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 15:46:54 -08:00
dependabot-preview[bot] 903dab7ea1 build(deps-dev): bump @wdio/local-runner from 6.10.0 to 6.10.2 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.10.0 to 6.10.2.
- [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.0...v6.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 15:45:42 -08:00
IWumboYouWumbo b6c0809224 web: Explicitly define font size of context menu 2020-11-27 15:44:24 -08:00
David Wendt a978b649b9 core: Also gate the `set_parent` change on `remove_range` just in case 2020-11-27 13:23:34 -08:00
David Wendt 0f1d4d5248 core: Always remove children from their old render list positions regardless of what depth list position they had 2020-11-27 13:23:34 -08:00
David Wendt e69e6fcc5e core: Fix regression on Super Mario 63 2020-11-27 13:23:34 -08:00
David Wendt 6e565d4da2 core: Fix compliation error caused by the `TDisplayObjectContainer` refactor 2020-11-27 13:23:34 -08:00
David Wendt 5a2f17a642 core: Consistently refer to render list positions as an `index` for consistency with Rust naming conventions 2020-11-27 13:23:34 -08:00
David Wendt c011c028de avm2: Correctly coerce render list indicies as `i32`, not `u32`. 2020-11-27 13:23:34 -08:00
David Wendt 01539baf5d core: Move `render_children` into `TDisplayObjectContainer`. 2020-11-27 13:23:34 -08:00
David Wendt ba311dd5b4 core: Remove previous changes to make certain `DisplayObject` methods take `&mut self`, which noises up the PR 2020-11-27 13:23:34 -08:00
David Wendt 6d992e239a core: Re-fix #1580 as it's fix didn't make it into the `DisplayObjectContainer` refactor the first time 2020-11-27 13:23:34 -08:00
David Wendt 8764831533 chore: cargo 1.47 changed the formatting algorithm 2020-11-27 13:23:34 -08:00
David Wendt 365601f2d9 core: New-depth children should always be placed before higher children, not after lower ones.
We will call this the "before-above" rule, to contrast with the previous "after-below" behavior. The main difference is how off-depth-list children are handled, which more closely matches AVM2.

The previous implementation of after-below wouldn't work unless we made the fallback case of not having a below child put it to the *end* of the list. This gave us test pass but broke animations. The first one I tried, Cirno's Perfect Math Class, prepends the entire depth list, which with the half-broken after-below behavior wound up appending to the render list.

There isn't an inverse problem with before-below and the end of the list, since we cover that case and we don't have to put weird exceptions.
2020-11-27 13:23:34 -08:00
David Wendt 74b50f2586 core: AVM2-locked children should still be removable from the depth list. 2020-11-27 13:23:34 -08:00
David Wendt 3769d24715 core: Fix incorrect placement of clips where depth placements intended to place objects at the bottom of the list instead placed them at the top. 2020-11-27 13:23:34 -08:00
David Wendt 35bc43cce2 avm2: Swapping children should lock them from depth manipulation. 2020-11-27 13:23:34 -08:00