paq
c088c18517
chore: Remove Flash's recovery file and add it to .gitignore
2021-01-23 00:29:25 -08:00
dependabot-preview[bot]
c0ac8a4a77
build(deps): bump syn from 1.0.58 to 1.0.59
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.58...1.0.59 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-23 00:29:02 -08:00
CUB3D
0cf3a4abed
core: Invert pixel fill order for BitmapData.noise
2021-01-22 13:16:19 -08:00
CUB3D
d57fd172f9
core: More special casing for noise
2021-01-22 13:16:19 -08:00
CUB3D
00fe7b6468
avm1: Generate correct values for negative seeds for BitmapData.noise()
2021-01-22 13:16:19 -08:00
CUB3D
9ba38784ef
avm1: Properly implement BitmapData.noise() for positive seeds
2021-01-22 13:16:19 -08:00
relrelb
0ea7b857cf
demo: Lint index.js
2021-01-22 09:19:26 -08:00
relrelb
0349d90fcd
demo: Add drag-and-drop functionality
2021-01-22 09:19:26 -08:00
relrelb
3fb58580c5
web: Add stylelint
2021-01-22 09:12:48 -08:00
dependabot-preview[bot]
62d6698056
build(deps-dev): bump webpack from 5.16.0 to 5.17.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.16.0...v5.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 09:10:52 -08:00
Mike Welsh
82fd9dfd4e
chore: Appease clippy
2021-01-21 18:52:43 -08:00
Mike Welsh
78f85d96f0
chore: Remove some debug spew
2021-01-21 18:22:42 -08:00
Maxwell DeKock
b2594b2b6c
web: Fix error in demo when selecting None for sample ( close #2416 )
2021-01-21 18:05:12 -08:00
Aaron Hill
b2f5f807de
avm2: Print full multiname for "Property does not exist" errors ( #2740 )
...
This makes it easy to see when the error is a result of something in the
"flash" package being unimplemented.
2021-01-21 17:52:17 -08:00
relrelb
b05c6540e1
chore: Migrate from enumset to bitflags
2021-01-21 16:35:46 -08:00
Mike Welsh
2254589e71
swf: Don't error on focal gradients in DefineShape tags ( fix #2730 )
2021-01-21 15:47:04 -08:00
relrelb
ab92bc1b98
tests: Add tests for target clip in SWF6
2021-01-21 14:52:52 -08:00
relrelb
286bf7ac3f
tests: Add tests for target clip in SWF5
2021-01-21 14:52:52 -08:00
Toad06
9866a4baef
web: Use enum instead of arbitrary values
2021-01-21 14:52:52 -08:00
Mike Welsh
60a95f3ea0
core: Gracefully handle tag length past EOF
2021-01-21 14:04:46 -08:00
Mike Welsh
34e0763cfe
avm1: Don't unwrap in ColorTransform methods
2021-01-21 11:48:26 -08:00
Mike Welsh
6e7e5395aa
tests: Add test for subclassing a native type
2021-01-21 11:48:26 -08:00
Mike Welsh
5582da9f8a
avm1: create_bare_object should properly wire up proto
...
When a native class was extended, most native types were grabbing
their normal prototype instead of using the user's supplied prototype.
e.g. `class MyColorTransform extends ColorTransform`.
2021-01-21 11:48:26 -08:00
Mike Welsh
a6ea28d9b4
avm1: Create proper underlying type when extending native objects ( fix #2682 )
2021-01-21 11:48:26 -08:00
dependabot-preview[bot]
8bc64be012
build(deps): bump svg from 0.8.1 to 0.8.2
...
Bumps [svg](https://github.com/bodoni/svg ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/bodoni/svg/releases )
- [Commits](https://github.com/bodoni/svg/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21 11:46:46 -08:00
Toad06
dc2b4fcc42
web: Use enum instead of arbitrary values
2021-01-20 15:03:52 -08:00
Toad06
bc47bfb9e9
web: Display appropriate errors when Ruffle fails to initialize
2021-01-20 15:03:52 -08:00
Mike Welsh
e8efe22dee
tests: Add test for SWF5 string encoding
2021-01-20 15:02:31 -08:00
Mike Welsh
66256dd3be
swf: SwfStr no longer contains encoding
...
SwfStr is now an unsized slice analogous to `str` or `bstr`.
The desired encoding must be supplied when converting to String.
2021-01-20 15:02:31 -08:00
Mike Welsh
700c3c1767
chore: Appease clippy
2021-01-20 15:02:31 -08:00
Mike Welsh
303a2620a7
swf: Fix uncompressed length check
2021-01-20 15:02:31 -08:00
Mike Welsh
c063264d1c
swf: Use bitstream_io
2021-01-20 15:02:31 -08:00
Mike Welsh
61628a74fc
swf: Rename and organize some util methods
...
* SwfRead -> SwfReadExt
* SwfWrite -> SwfWriteExt
* read_swf_header -> decompress_swf
* read_swf -> parse_swf
2021-01-20 15:02:31 -08:00
Mike Welsh
1d9c11e145
swf: Add SwfStr type to handle encodings in SWF<6
2021-01-20 15:02:31 -08:00
Mike Welsh
19034b76e4
swf: Return slices in swf::Reader
...
Avoid copies by returning slices of the decompressed input.
2021-01-20 15:02:31 -08:00
Mike Welsh
bf94f5dbaa
swf: Split out bit i/o into SwfBitsReader/Writer types
2021-01-20 15:02:31 -08:00
dependabot-preview[bot]
7decb91918
build(deps-dev): bump @wdio/cli from 6.12.0 to 6.12.1 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.12.0 to 6.12.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.12.0...v6.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 14:34:57 -08:00
dependabot-preview[bot]
0ab35edc06
build(deps-dev): bump @wdio/local-runner from 6.12.0 to 6.12.1 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.12.0 to 6.12.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.12.0...v6.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 14:05:26 -08:00
Adrian Wielgosik
b69e17bf35
web: Allow customizing log level
2021-01-19 18:10:35 -08:00
dependabot-preview[bot]
75967e3775
build(deps-dev): bump webpack from 5.15.0 to 5.16.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.15.0 to 5.16.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 14:03:48 -08:00
dependabot-preview[bot]
a56b1bff5a
build(deps-dev): bump chromedriver from 87.0.5 to 87.0.7 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 87.0.5 to 87.0.7.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/87.0.5...87.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 10:10:16 -08:00
dependabot-preview[bot]
a271e437bc
build(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0 in /web
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 7.1.0 to 7.2.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/v7.1.0...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 10:10:07 -08:00
dependabot-preview[bot]
c12583cebb
build(deps): bump getrandom from 0.2.1 to 0.2.2
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.1...v0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 09:49:08 -08:00
dependabot-preview[bot]
4a27fb9832
build(deps-dev): bump sign-addon from 3.1.0 to 3.2.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/3.1.0...3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 09:47:16 -08:00
dependabot-preview[bot]
7f3d8faeb3
build(deps): bump path-slash from 0.1.3 to 0.1.4
...
Bumps [path-slash](https://github.com/rhysd/path-slash ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/rhysd/path-slash/releases )
- [Changelog](https://github.com/rhysd/path-slash/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rhysd/path-slash/compare/v0.1.3...v0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 22:33:48 -08:00
dependabot-preview[bot]
9a84972a70
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.13.0 to 4.14.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.14.0/packages/eslint-plugin )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 22:33:37 -08:00
klemens
9488a3fb97
spelling fixes
2021-01-18 22:07:39 -08:00
dependabot-preview[bot]
0ae2212adf
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.13.0 to 4.14.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.14.0/packages/parser )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 22:06:55 -08:00
Mike Welsh
da1e2801a2
chore: Appease clippy
2021-01-18 21:23:50 -08:00
Mike Welsh
c2b768c453
web: Fallback to instantiate with improper MIME type
...
Use --target web in wasm-bindgen and file-loader for WASM files,
allowing wasm-bindgen's built-in fallback from
WebAssembly.instantiateStreaming to instantiate.
file-loader spits out the WASM file directly in the output folder,
and imports will resolve to the URL, so that we can load the file
directly, avoiding webpack's built-in wasm loaders.
This allows Ruffle to function on web servers even if they serve
WASM files with the incorrect MIME type, fixing one of our biggest
support requests (#400 , #1458 ). There is some performance impact
on loading with the fallback, but this is preferable to not
working at all.
2021-01-16 15:30:11 -08:00