relrelb
3700a32a5f
web: Cleanup .prettierignore
2021-02-19 16:28:09 -08:00
relrelb
6b2978eb12
web: Add .stylelintignore
2021-02-19 16:28:09 -08:00
relrelb
8f62236fe1
web: Remove demo/package-lock.json
...
demo is the only package to have its own package-lock.json.
2021-02-19 16:28:09 -08:00
relrelb
d3a006f62a
web: Cleanup JSON files
...
Change indentation to 4 spaces and put newline at EOF.
2021-02-19 16:28:09 -08:00
relrelb
6a710fa1f3
web: Remove stale globals definitions
...
They were removed in 3e084963c6
.
2021-02-19 16:28:09 -08:00
relrelb
fbf33b6647
web: Update package-lock.json
...
Bump its lockfileVersion from 1 to 2, by deleting it and running:
npm install --package-lock-only
2021-02-19 16:28:09 -08:00
relrelb
8b7b5caa95
web: Upgrade all wdio packages
2021-02-19 16:28:09 -08:00
relrelb
524fb30acb
chore: Cleanup .gitignore
...
And split it across multiple files.
2021-02-19 16:28:09 -08:00
relrelb
49ff36d547
chore: Cleanup .gitattributes
2021-02-19 16:28:09 -08:00
Aaron Hill
ff1aff607a
avm1: Explicitly drop `obj` when it is no longer needed
...
Explicitly drop `obj` when it is no longer needed to avoid borrow errors, and add a test case similar to #3169 .
Co-authored-by: Mike Welsh <mwelsh@gmail.com>
2021-02-19 03:30:21 -08:00
Mike Welsh
2c53b4bed2
chore: Appease clippy
2021-02-19 02:47:39 -08:00
dependabot-preview[bot]
bc543796c5
build(deps): bump thiserror from 1.0.23 to 1.0.24
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.23...1.0.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-19 01:42:06 -08:00
dependabot-preview[bot]
75fca8f6b6
build(deps): bump url from 2.2.0 to 2.2.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-18 14:22:06 -08:00
Mike Welsh
836b631237
web: Revert style changes in #3239
2021-02-18 04:11:04 -08:00
Mike Welsh
dc1b697a2b
docs: Add sponsors
2021-02-18 00:37:42 -08:00
dependabot-preview[bot]
b62bf0e936
build(deps): bump bytemuck from 1.5.0 to 1.5.1
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/Lokathor/bytemuck/releases )
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-17 22:38:58 -08:00
Aaron Hill
6050dd8204
Replace most manual `Collect` impls with `#[derive(Collect)]`
...
* Replace most unsafe impls with Collect.
* Switch to local gc-arena fork.
2021-02-17 18:38:55 -08:00
desuwa
809d0a9245
avm1: Implement useHandCursor
2021-02-17 18:29:32 -08:00
dependabot-preview[bot]
0caedb5b9c
build(deps): bump embed-resource from 1.6.0 to 1.6.1
...
Bumps [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases )
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-17 17:55:38 -08:00
Adrian Wielgosik
916bd8a9b8
core: Make EditText.border and EditText.background independent
2021-02-17 17:55:17 -08:00
dependabot-preview[bot]
6cf179fa24
build(deps-dev): bump chromedriver from 87.0.7 to 88.0.0 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 87.0.7 to 88.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/87.0.7...88.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 23:09:28 -08:00
relrelb
1c21856980
web: General refactoring
...
* web: Don't load a random SWF Instead, show a prompt to select or drag an SWF.
* web: Refactor webpack.config.js
* demo: Refactor index.js
* demo: Cleanup CSS
2021-02-16 20:39:46 -08:00
Aaron Hill
f745c39a42
chore: Remove `Collect` impls from `Activation` and `UpdateContext`
...
Neither of these impls are actually used.
As a result of this change, several fields in `avm2::Activation` became
unused. I assumed that these fields will become used as more of avm2 is
implemented, so I suppressed the warnings for now
2021-02-16 20:35:26 -08:00
Aaron Hill
e69503ee67
chore: Derive `Pod` and `Zeroable` traits from `bytemuck`
...
This removes all `unsafe` impls of `bytemuck` traits
2021-02-16 20:34:12 -08:00
Ben Lubar
1c620b2c9b
add TypeScript documentation for maxExecutionDuration
2021-02-16 20:31:40 -08:00
Ben Lubar
ca5cf0553f
web: Add maxExecutionDuration to Config ( close #1773 )
2021-02-16 20:31:40 -08:00
CUB3D
b93e556f89
avm2: Implement Op::Typeof and dummy XML/XMLList
2021-02-16 20:21:40 -08:00
David Wendt
df5e97481c
core: Adjust documentation
2021-02-16 19:03:48 -08:00
David Wendt
5e9d91710d
core: Future-proof the non-keyframe seek for other stream types.
2021-02-16 19:03:48 -08:00
TÖRÖK Attila
b3992dbc1a
core/video: Loop to frame modulo num_frames. Fixes z0r.de/1843
2021-02-16 19:03:48 -08:00
TÖRÖK Attila
2e6d3eae18
core/video: Make seeking to non-keyframes possible.
2021-02-16 19:03:48 -08:00
David Wendt
8709bb2489
chore: Clippy wants this too
2021-02-16 19:03:48 -08:00
David Wendt
0bc101dbde
chore: Spelling matters
2021-02-16 19:03:48 -08:00
David Wendt
5fcdb79528
core: Rename the video dependency enums to better describe their meaning.
2021-02-16 19:03:48 -08:00
David Wendt
4d0b73feeb
core: Seeks before instantiation are valid and should be cached for later execution
2021-02-16 19:03:48 -08:00
David Wendt
4905e9a83d
avm2: `Video` is a sealed class.
2021-02-16 19:03:48 -08:00
David Wendt
d9541e1ea6
core: Fix various documentation errors in video
2021-02-16 19:03:48 -08:00
David Wendt
c5fa9eb4a8
chore: Clippy compliance for stub video backend
2021-02-16 19:03:48 -08:00
David Wendt
964b1c4359
video: Frames with no data associated are treated as empty Pframes.
2021-02-16 19:03:48 -08:00
David Wendt
93ef62bac0
video: Snap seeks to nearest keyframe
2021-02-16 19:03:48 -08:00
David Wendt
02b94649c3
avm2: Stub the `Video` class.
2021-02-16 19:03:48 -08:00
David Wendt
aa98fad126
avm1: Stub impl the `Video` class.
2021-02-16 19:03:48 -08:00
David Wendt
828ff39802
video: Warn if duplicate video frames are encountered
2021-02-16 19:03:48 -08:00
David Wendt
0e2b328073
video: Warn if we are missing a frame to render.
2021-02-16 19:03:48 -08:00
David Wendt
299790b592
video: Enable software video decoding on web and exporter.
2021-02-16 19:03:48 -08:00
David Wendt
c6a9e27916
video: Report what frame gave an error
2021-02-16 19:03:48 -08:00
David Wendt
5b546bf2d8
video: Always decode the first frame
2021-02-16 19:03:48 -08:00
David Wendt
368c1cf3c5
video: Implement a very basic video decoding loop
2021-02-16 19:03:48 -08:00
David Wendt
6dc96f5d58
core: Allow instantiation of videos
2021-02-16 19:03:48 -08:00
David Wendt
50d61b07f2
video: Stub seeking.
...
`PlaceObject`'s `ratio` field is treated as a seek parameter for video streams.
2021-02-16 19:03:48 -08:00