Commit Graph

3218 Commits

Author SHA1 Message Date
Nathan Adams f285c990c0 avm1: _root should be allowed in text variable bindings 2020-11-02 11:43:10 -08:00
Nathan Adams 51f986e274 core: Propagate text variable bindings when text is typed 2020-11-02 11:43:10 -08:00
Nathan Adams 3b15babec6 core: Show caret on empty edit boxes 2020-11-02 11:43:10 -08:00
Nathan Adams 32b57f15bc web: Fixed backspace and delete keys not registering in input fields 2020-11-02 11:43:10 -08:00
Nathan Adams a067170afd core: Rename EditText::get_selection to ::selection 2020-11-02 11:43:10 -08:00
Nathan Adams c520ff1f50 core: Only show carets for editable text 2020-11-02 11:43:10 -08:00
Nathan Adams e6d39658b9 core: Change text input to be a match statement 2020-11-02 11:43:10 -08:00
Nathan Adams 8abf5a5be8 core: Limit text input to only editable text 2020-11-02 11:43:10 -08:00
Nathan Adams e856968f75 core: Allow arrow keys in edit boxes 2020-11-02 11:43:10 -08:00
Nathan Adams 5592a6ca9d core: Perform delete & backspace in edit boxes 2020-11-02 11:43:10 -08:00
Nathan Adams cefa42fae0 tests: Add an avm1 test for Selection 2020-11-02 11:43:10 -08:00
Nathan Adams c910824de8 core: Fix caret position in multi layout text 2020-11-02 11:43:10 -08:00
Nathan Adams 9893972710 core: Allow typing of text in edit boxes 2020-11-02 11:43:10 -08:00
Nathan Adams 881bf3789e core: Clicking on text will place the caret at the position clicked 2020-11-02 11:43:10 -08:00
Nathan Adams 8a43eb9972 core: Display a caret when the text selection isn't a highlight 2020-11-02 11:43:10 -08:00
Nathan Adams 01c34b97f3 core: Show highlighted text in a slightly different colour (todo: background) 2020-11-02 11:43:10 -08:00
Nathan Adams 163e9fd21b core: Clicking on (selectable) texts will make that text focused 2020-11-02 11:43:10 -08:00
Nathan Adams 1a230bda09 core: Remove focus when the focused object is removed 2020-11-02 11:43:10 -08:00
Nathan Adams a4a2cd00b2 avm1: Implement Selection index getters & setSelection - #271 2020-11-02 11:43:10 -08:00
Nathan Adams 3f2057b53e core: Edit boxes are always focusable, regardless of settings 2020-11-02 11:43:10 -08:00
Nathan Adams 171e23e9e1 avm1: Implement Selection.getFocus and setFocus - #271 2020-11-02 11:43:10 -08:00
Nathan Adams efbab816e7 avm1: Implement MovieClip.focusEnabled - #263 2020-11-02 11:43:10 -08:00
Nathan Adams b61a72166f avm1: Stubbed out Selection - #271 2020-11-02 11:43:10 -08:00
Nathan Adams 93acb07374 core: Introduce a focus tracker, to keep track of one (and only one) focused object 2020-11-02 11:43:10 -08:00
Nathan Adams f72310be43 core: Change the cursor to an IBeam on selectable text 2020-11-02 11:43:10 -08:00
Nathan Adams f6b46cb615 core: Implement EditBox.selectable - #280 2020-11-02 11:43:10 -08:00
dependabot-preview[bot] c1b9820403 build(deps): bump embed-resource from 1.3.3 to 1.3.4
Bumps [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v1.3.3...v1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:52:25 -08:00
dependabot-preview[bot] f04f4ef961 build(deps): bump flate2 from 1.0.18 to 1.0.19
Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.18...1.0.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:52:04 -08:00
dependabot-preview[bot] 9f7158d20e build(deps-dev): bump @wdio/cli from 6.7.1 to 6.7.2 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.1 to 6.7.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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:51:43 -08:00
dependabot-preview[bot] 4c5aa9b5f3 build(deps-dev): bump @wdio/local-runner from 6.7.1 to 6.7.2 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.7.1 to 6.7.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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:50:32 -08:00
dependabot-preview[bot] ca076ca891 build(deps-dev): bump @wdio/sync from 6.7.1 to 6.7.2 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.7.1 to 6.7.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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:50:19 -08:00
Nathan Adams 2b3f787547 web: Fix build of extension, failing since partial update to webpack 5 2020-11-01 05:52:40 -08:00
Nathan Adams ffb988026c web: Fix positioning of right click menu 2020-11-01 05:52:40 -08:00
Mike Welsh 93e7f657f1 tests: Update Array.concat test to print out entire array 2020-10-31 02:42:34 -07:00
Mike Welsh ff74f67db8 avm1: Fix Array.concat incorrectly creating arrays 2020-10-31 02:42:34 -07:00
dependabot-preview[bot] 1d56d649fd build(deps-dev): bump @wdio/local-runner from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.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.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:43 -07:00
dependabot-preview[bot] 36829dc252 build(deps-dev): bump @wdio/cli from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.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.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:33 -07:00
dependabot-preview[bot] 4fce27e564 build(deps-dev): bump @wdio/sync from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.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.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:23 -07:00
relrelb e74e115cd0 core: Fix bug in PcmDecoder::next
It looks like the mono and stereo cases were mistakenly swapped
for 8-bit sounds. This commit simply swaps them to the correct
order.
2020-10-30 12:39:57 -07:00
dependabot-preview[bot] 6d38eacf09 build(deps): bump num-derive from 0.3.2 to 0.3.3
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/rust-num/num-derive/releases)
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.2...num-derive-0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:10:05 -07:00
dependabot-preview[bot] 741aadce22 build(deps): bump num-traits from 0.2.12 to 0.2.14
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.12 to 0.2.14.
- [Release notes](https://github.com/rust-num/num-traits/releases)
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.12...num-traits-0.2.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:09:52 -07:00
dependabot-preview[bot] ca6d648d13 build(deps-dev): bump webpack from 5.3.1 to 5.3.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.3.1...v5.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:09:31 -07:00
Mike Welsh 81da730eb4 wgpu: Resolve MSAA once at frame end (fix #1427) 2020-10-29 13:27:47 -07:00
Nathan Adams 66eb645b68 web: Add basic right click menu, only has About Ruffle link so far 2020-10-29 13:27:28 -07:00
dependabot-preview[bot] ea0b6940a3 build(deps-dev): bump webpack from 5.3.0 to 5.3.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.3.0...v5.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 13:06:09 -07:00
dependabot-preview[bot] 02c88f2bcc build(deps-dev): bump webpack from 5.2.0 to 5.3.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.2.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 11:35:44 -07:00
dependabot-preview[bot] b3ca827ef2 build(deps-dev): bump eslint-config-prettier in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v6.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 11:35:21 -07:00
dependabot-preview[bot] 6b7c3f2214 build(deps-dev): bump eslint from 7.12.0 to 7.12.1 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.0 to 7.12.1.
- [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.0...v7.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 19:54:56 -07:00
Mike Welsh ef4d75e7d9 web: Fix incorrect handle used in audio ended handler (fix #1405) 2020-10-27 19:54:46 -07:00
dependabot-preview[bot] 57f5831522 build(deps-dev): bump @wdio/spec-reporter from 6.6.8 to 6.7.0 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.6.8 to 6.7.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.6.8...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:03:31 -07:00