Commit Graph

3785 Commits

Author SHA1 Message Date
CUB3D 9d46d67588 core+web+renderer: Add load/attach Bitmap and handling for invalid args with BitmapData 2020-12-15 00:04:51 -08:00
CUB3D 3c12fa6ee5 core: Implement BitmapData.floodFill and correct getPixel for invalid coordinates 2020-12-15 00:04:51 -08:00
CUB3D 3afd20063f core: Implement get/set pixel(32) functions 2020-12-15 00:04:51 -08:00
CUB3D e45e942a1f core: Start implementation for flash.display.BitmapData 2020-12-15 00:04:51 -08:00
dependabot-preview[bot] 843bc74292 build(deps): bump indexmap from 1.6.0 to 1.6.1
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.6.0...1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 17:49:16 -08:00
David Wendt acadcb8fc0 avm2: `Event` is a sealed class. 2020-12-14 16:46:33 -08:00
David Wendt f7f51dcde2 avm2: `EventPhase` and `PropagationMode` should be `Eq` 2020-12-14 16:46:33 -08:00
David Wendt 6caaf0d222 avm2: Implement all of the `Event` class constants.
I'm not writing tests for these, my wrists hurt enough as is.
2020-12-14 16:46:33 -08:00
David Wendt 8a787e6153 avm2: Implement `Event.toString` (which matches it's valueof behavior) 2020-12-14 16:46:33 -08:00
David Wendt dc32d7894c avm2: Remove redundant event phase accessor 2020-12-14 16:46:33 -08:00
David Wendt ec63ff55cb avm2: Implement `Event.stopPropagation` and `Event.stopImmediatePropagation`.
These aren't testable yet.
2020-12-14 16:46:33 -08:00
David Wendt d393a5f4f8 avm2: Implement `Event.preventDefault` and `Event.isDefaultPrevented` 2020-12-14 16:46:33 -08:00
David Wendt 8b9a804ae9 avm2: Implement `Event.formatToString`. 2020-12-14 16:46:33 -08:00
David Wendt 584c6c8b11 avm2: Implement `Event.clone` 2020-12-14 16:46:33 -08:00
David Wendt 3d12929914 avm2: Expose `Event.target`, `currentTarget`, and `eventPhase`.
These have no tests because these properties can only be updated by an event broadcaster.
2020-12-14 16:46:33 -08:00
David Wendt 90da20579c avm2: Implement `Event.bubbles`, `cancelable`, and `type`. 2020-12-14 16:46:33 -08:00
David Wendt 58f4470dc5 avm2: Add `Event` class, object type, and native representation 2020-12-14 16:46:33 -08:00
jmckiern 709561a255 avm1: Use ? on set_text_color so errors are raised 2020-12-14 12:45:45 -08:00
jmckiern ec1ff0be3a avm1: Use ? instead of match Ok()'s so errors are raised 2020-12-14 12:45:45 -08:00
jmckiern a09ac58ebd chore: Remove TODO 2020-12-14 12:45:45 -08:00
jmckiern cfd003de7a avm1: Implement TextField.backgroundColor 2020-12-14 12:45:45 -08:00
jmckiern 61e3214d0a avm1: Implement TextField.borderColor 2020-12-14 12:45:45 -08:00
dependabot-preview[bot] 714a04212b 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.9.1 to 4.10.0.
- [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.10.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 11:47:23 -08:00
dependabot-preview[bot] 17799da2e0 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.1 to 4.10.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.10.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 11:29:48 -08:00
dependabot-preview[bot] 4ee0911e09 build(deps): bump embed-resource from 1.4.0 to 1.4.1
Bumps [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 11:26:15 -08:00
JMcKiern 63be0455a8
web: Add query string to `Report Bug` link
* web: Add query string to the Report Bug link (closes #1753)
2020-12-14 11:25:10 -08:00
Sam Morrow c4d7b24629 web: Fix cors issues with http (close ruffle-rs#1486) 2020-12-14 05:51:28 -08:00
Mike Welsh 8f34023ad2 docs: Add sponsor 2020-12-14 03:12:58 -08:00
dependabot-preview[bot] fb6e2c7ea7 build(deps-dev): bump @wdio/spec-reporter from 6.8.1 to 6.10.6 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.8.1 to 6.10.6.
- [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.1...v6.10.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 02:55:10 -08:00
dependabot-preview[bot] 4e52cf9eb8 build(deps-dev): bump eslint-plugin-prettier from 3.2.0 to 3.3.0 in /web
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.2.0 to 3.3.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.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 18:09:57 -08:00
Toad06 dab96ba01b tests: Don't get fooled by GET parameters that look like a file extension 2020-12-13 15:38:18 -08:00
Toad06 d55f3959b9 web: Detect file extension using the `URL()` constructor 2020-12-13 15:38:18 -08:00
jmckiern 19307129c0 docs: Add `tests` to list of commit prefixes 2020-12-13 15:35:37 -08:00
dependabot-preview[bot] 35ad35939d build(deps-dev): bump chromedriver from 87.0.2 to 87.0.4 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 87.0.2 to 87.0.4.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:35:02 -08:00
Zeh Fernando 8e9de8e16b core: Implement MovieClip._lockroot in avm1
This also enables the (previously ignored) _lockroot tests.
2020-12-13 15:34:42 -08:00
dependabot-preview[bot] 821a294066 build(deps-dev): bump webpack from 5.10.0 to 5.10.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.10.0...v5.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:27:05 -08:00
dependabot-preview[bot] 55fc429d47 build(deps-dev): bump @wdio/local-runner from 6.10.7 to 6.10.10 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.10.7 to 6.10.10.
- [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.7...v6.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:26:33 -08:00
dependabot-preview[bot] 43a08f0ea2 build(deps-dev): bump @wdio/mocha-framework in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.10.6 to 6.10.10.
- [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.6...v6.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:26:21 -08:00
dependabot-preview[bot] c87c0c2a99 build(deps-dev): bump @wdio/sync from 6.10.7 to 6.10.10 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.10.7 to 6.10.10.
- [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.7...v6.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:25:59 -08:00
dependabot-preview[bot] a6ebdc3667 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 6.10.4 to 6.10.10.
- [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.4...v6.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-13 15:25:34 -08:00
dependabot-preview[bot] 4358e52af7 build(deps-dev): bump @wdio/sync from 6.10.4 to 6.10.7 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.10.4 to 6.10.7.
- [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.4...v6.10.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 12:19:48 -08:00
dependabot-preview[bot] d3d2deccf4 build(deps-dev): bump ts-loader from 8.0.11 to 8.0.12 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.11 to 8.0.12.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.11...v8.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 11:38:34 -08:00
dependabot-preview[bot] 78143413d0 build(deps-dev): bump @wdio/local-runner from 6.10.5 to 6.10.7 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.10.5 to 6.10.7.
- [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.5...v6.10.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 11:36:09 -08:00
dependabot-preview[bot] e2212f0104 build(deps-dev): bump @wdio/mocha-framework in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.10.4 to 6.10.6.
- [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.4...v6.10.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 11:35:54 -08:00
relrelb e5ace596ce chore: Update some dependencies
* js-sys and wasm-bindgen are now the currently latest releases.
* wgpu is not updated to the current master because it breaks
things up.
2020-12-11 11:28:33 -08:00
Mike Welsh 7e35d4a4fc web: Ensure parent window/frame gets focus on click (fix #1704)
Call window.focus() on mouse down to ensure the player receives
subsequent key/mouse events when it is inside a frame.
2020-12-10 19:20:00 -08:00
Toad06 5d55a60924
web: Avoid double polyfilling object-inside-object
* web: Avoid double polyfilling object-inside-object
* tests: Add polyfill test for object inside object
2020-12-10 13:36:40 -08:00
dependabot-preview[bot] ffc9f07711 build(deps): [security] bump ini from 1.3.5 to 1.3.7 in /web
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 13:28:29 -08:00
dependabot-preview[bot] f394e4d9ec build(deps): bump winit from 0.23.0 to 0.24.0
Bumps [winit](https://github.com/rust-windowing/winit) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/rust-windowing/winit/releases)
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-windowing/winit/compare/v0.23.0...v0.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 13:24:55 -08:00
dependabot-preview[bot] f82e126c75 build(deps-dev): bump copy-webpack-plugin from 6.4.0 to 7.0.0 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.4.0 to 7.0.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.4.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 12:51:29 -08:00