Nathan Adams
855fed503a
chore: Ignore chrome on circleci
2020-05-27 00:11:02 -07:00
Nathan Adams
fc8bf71d26
chore: Update web package lock
2020-05-27 00:11:02 -07:00
Nathan Adams
e466060a50
chore: Copy LICENSE* to relevant places where package managers complain if they don't exist, and make sure they're included in distributions
2020-05-27 00:11:02 -07:00
Nathan Adams
77b0216579
chore: Update package.infos in web
2020-05-27 00:11:02 -07:00
Nathan Adams
d02223c816
chore: Formatted demo index.html
2020-05-27 00:11:02 -07:00
Nathan Adams
75759d9b3b
chore: Document web with readmes
2020-05-27 00:11:02 -07:00
Nathan Adams
df6764a69c
chore: Add license metadata to all packages & crates
2020-05-27 00:11:02 -07:00
JustinCB
e4f7c950bb
chore: Enable fixed tests
2020-05-26 23:56:36 -07:00
JustinCB
4828945666
web: Fix frame polyfill
2020-05-26 23:56:36 -07:00
dependabot-preview[bot]
458ca2a478
build(deps): bump syn from 1.0.24 to 1.0.25
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.24...1.0.25 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 20:36:01 +00:00
CUB3D
590321133f
core: Fix incorrect String.charCodeAt bounds check ( close #633 )
2020-05-25 13:35:41 -07:00
Sean-Thomas
2d557f8fb6
Added Opt-Groups for Web Demo
...
This commit adds HTML Opt-Groups separating Games and Animations on the web demo sample dropdown menu. There are also a few tiny styling changes. Mainly the addition of a transition duration to the logo image, as well as changing "max-device-width" to "max-width" on a media query so that the "mobile" view is shown if you scale down the window on desktop browsers.
2020-05-24 19:09:19 -07:00
dependabot-preview[bot]
35d46daa36
build(deps-dev): bump lerna from 3.21.0 to 3.22.0 in /web
...
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/master/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v3.22.0/core/lerna )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:43:07 +00:00
dependabot-preview[bot]
4712446314
build(deps): bump syn from 1.0.23 to 1.0.24
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.23...1.0.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:42:44 +00:00
Mike Welsh
993421e732
core: Children run an initial frame when changing button states
...
There was a one-frame-off flicker when a button changed states.
Now children will tick a frame so that they are properly created
immediately when the parent button changes state.
2020-05-24 08:57:30 -07:00
Mike Welsh
932ad30570
core: Flatten ClipActions into a single event per action
...
Previously a MovieClip's clip action would have a set of events
that would trigger it. Now we flatten these out into a single
event per action, because this is by far the common case. If an
action does happen to have >1 event, it will be duplicated for each.
2020-05-24 08:57:30 -07:00
Mike Welsh
c427d55dbb
core: Clean up clip event handlers
...
Remove ButtonEvent and subsume it in ClipEvent. Player now tosses
ClipEvents down the display tree, cleaning up some of the event code.
2020-05-24 08:57:30 -07:00
Mike Welsh
6929cea996
core: Implement button event handlers for movie clips
2020-05-24 08:57:30 -07:00
Nathan Adams
d846ed943b
web: Split frame/iframe polyfill tests into provided vs injected, as we see issues with one or the other
2020-05-24 08:57:16 -07:00
Nathan Adams
8a32f0d053
web: Add polyfill test for <iframe>s
2020-05-24 08:57:16 -07:00
Nathan Adams
a7abdba49c
web: Add test for classic <frame>s
2020-05-24 08:57:16 -07:00
Nathan Adams
a0bfe72b19
web: Add polyfill tests
2020-05-24 08:57:16 -07:00
Mike Welsh
028774d6f8
chore: Fix CircleCI nightly web build
2020-05-23 10:50:32 -07:00
Nathan Adams
34927583be
web: Made VersionRange actually work, and add tests for it
2020-05-23 10:35:53 -07:00
dependabot-preview[bot]
daebcbfed5
build(deps-dev): bump eslint from 7.0.0 to 7.1.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.0.0 to 7.1.0.
- [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.0.0...v7.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-23 17:28:44 +00:00
dependabot-preview[bot]
f8062b610f
build(deps-dev): bump mocha from 7.1.2 to 7.2.0 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/v7.2.0/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.2...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-23 17:28:03 +00:00
Mike Welsh
92c764cfab
canvas: Implement gradient spread modes
2020-05-22 11:03:16 -07:00
Mike Welsh
b8b53817c8
canvas: Implement linear RGB gradients
2020-05-22 11:03:16 -07:00
Mike Welsh
103c7a98f0
wgpu: Implement linear RGB gradients
2020-05-22 11:03:16 -07:00
Mike Welsh
09ca11f788
webgl: Implement linear RGB gradients
2020-05-22 11:03:16 -07:00
SimplyMinimal
c30453c144
exporter: Add support to skip ahead n-frames for screen capture ( #614 )
2020-05-22 08:58:51 -07:00
Mike Welsh
97db518fb1
core: First pass of drawing API (merge #611 )
2020-05-22 08:54:55 -07:00
Nathan Adams
596da722b3
chore: Fix failing circleci build script ( fixes #617 )
2020-05-22 07:45:07 -07:00
Nathan Adams
3346accb9c
core: More accurate shape_bounds/edge_bounds in drawing api
2020-05-21 20:34:48 +02:00
Nathan Adams
62a1914c3e
core: BoundingBox::encompass should properly convert invalid BBs to valid BBs.
...
This means that encompassing 100,100 on an invalid BB should create a BB of 100,100-100,100, and not 0,0-100,100
2020-05-21 20:19:26 +02:00
Nathan Adams
279c07d9b8
core: Update drawings on render instead of on tick
2020-05-21 18:38:10 +02:00
Nathan Adams
55215273e8
core: Stretch edge & shape bounds separately and avoid a clone, in rendering api
2020-05-21 18:38:10 +02:00
Nathan Adams
04690581ba
core: Refactor common code in drawing api
2020-05-21 18:38:10 +02:00
Nathan Adams
1f8abc92fd
core: Keep track of cursor position in drawings
2020-05-21 18:38:10 +02:00
Nathan Adams
99574cfa72
core: Move drawing api out from `movie_clip` into `drawing`
2020-05-21 18:38:10 +02:00
Nathan Adams
4f69566f77
tests: Add test coverage for flash.geom.Matrix
2020-05-21 18:38:08 +02:00
Mike Welsh
94f2154514
chore: Bump copy-webpack-plugin to 6.0.1
2020-05-20 23:34:17 -07:00
dependabot-preview[bot]
898232394b
build(deps): bump syn from 1.0.22 to 1.0.23
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.22 to 1.0.23.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.22...1.0.23 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 03:49:03 +00:00
Justin-CB
cbc2f6a03a
web: Avoid TypeError when instantiating polyfill ( fix #607 )
...
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-20 12:42:54 -07:00
Justin-CB
1582584be8
chore: Run npm audit fix
...
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-20 11:30:06 -07:00
Nathan Adams
31b0a5ae76
avm1: Implement gradient matrix types
2020-05-20 14:54:41 +02:00
Nathan Adams
5098eb079d
avm1: Implement most of flash.geom.Matrix ( #303 )
2020-05-20 14:54:41 +02:00
Nathan Adams
14331da71b
avm1: Add flash.geom.Matrix and methods to convert between this and swf::Matrix
2020-05-20 14:54:41 +02:00
Nathan Adams
eda862c719
swf: Merged core::Matrix into swf::Matrix
2020-05-20 14:54:41 +02:00
Nathan Adams
61e464099c
core: Add initial drawing API to MovieClip
2020-05-20 14:54:40 +02:00