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
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
94f2154514
chore: Bump copy-webpack-plugin to 6.0.1
2020-05-20 23:34:17 -07: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
dependabot-preview[bot]
6f5f389f7a
build(deps-dev): bump html-webpack-plugin from 3.2.0 to 4.3.0 in /web
...
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin ) from 3.2.0 to 4.3.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases )
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v3.2.0...v4.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 04:10:38 +00:00
Nathan Adams
6b464bf80f
web: Build core on preparation of the core package
2020-05-19 11:42:57 +02:00
Nathan Adams
82c1930c0f
web: web doesn't need install before bootstrap now
2020-05-19 11:42:57 +02:00
Nathan Adams
9f4455f2fb
web: Fixed extra </div> in demo
2020-05-19 11:42:56 +02:00
Nathan Adams
3fcb7f08e2
web: Add 'npm run format' command for ease of use
2020-05-19 11:42:56 +02:00
Nathan Adams
d1bb3c4e28
web: Array.flat doesn't exist in node10
2020-05-19 11:42:56 +02:00
Nathan Adams
2f9846b05c
web: Don't hoist in lerna bootstrap, it seems to cause issues installing CLI dependencies
2020-05-19 11:42:56 +02:00
Nathan Adams
b0b54b59f9
web: Avoid any issues with parseInt("0...")
2020-05-19 11:42:56 +02:00
Nathan Adams
f3690db1bf
web: Fixed bug with broken comparisons in Version#is_compatible_with
2020-05-19 11:42:55 +02:00
Nathan Adams
bd6ed0b234
web: Add initial tests to core package
2020-05-19 11:42:55 +02:00
Nathan Adams
11f68b90f9
web: Switch to using commonjs style require/exports
...
It looks like things still don't play nice with modules yet :(
2020-05-19 11:42:55 +02:00
Nathan Adams
b2cc178d8e
web: We don't need to specify npx here I think
2020-05-19 11:42:54 +02:00
Nathan Adams
b8e63045b2
web: Moved source of core into core/src, to prep for tests
2020-05-19 11:42:54 +02:00
Nathan Adams
55c9672921
web: Simplified export interface of ruffle-core
2020-05-19 11:42:54 +02:00
Nathan Adams
0ab3c9f69b
web: Made demo use ruffle-selfhosted
2020-05-19 11:42:54 +02:00
Nathan Adams
e9a394ac27
web: Only core will build ruffle, the other packages will use that
2020-05-19 11:42:54 +02:00
Nathan Adams
8436c1f9d9
web: Update package-lock
2020-05-19 11:42:53 +02:00
Nathan Adams
7b8a4ffed1
web: Switch to using lerna for package management
2020-05-19 11:42:53 +02:00
Nathan Adams
b6523324ed
web: Move each web package into a packages/ directory
2020-05-19 11:42:53 +02:00
Nathan Adams
df341959b3
web: Convert js-src to its own package that's depended on by selfhosted/extension/demo
2020-05-19 11:42:53 +02:00
Justin-CB
5d56d6b489
extension: Remove unneded code from lv0.js
...
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-19 02:41:44 -07:00
dependabot-preview[bot]
6134ae091f
build(deps): bump generational-arena from 0.2.7 to 0.2.8
...
Bumps [generational-arena](https://github.com/fitzgen/generational-arena ) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/fitzgen/generational-arena/releases )
- [Changelog](https://github.com/fitzgen/generational-arena/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/generational-arena/compare/0.2.7...0.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 23:54:45 -07:00
Nathan Adams
a4b705c731
web: Reformatted all javascript with prettier
2020-05-16 01:58:18 -07:00
Nathan Adams
56e467b557
web: Add prettier, not yet ran on codebase
2020-05-16 01:58:18 -07:00
Nathan Adams
0bb188ad0b
web: Fix bug where we didn't properly catch when custom elements weren't registering
2020-05-16 01:58:18 -07:00
Nathan Adams
6ec77e0ca2
web: Fixed construction of SourceAPI ignoring the provided name
2020-05-16 01:58:18 -07:00
Nathan Adams
077c3ec973
web: Fix broken version comparison logic
2020-05-16 01:58:18 -07:00
Nathan Adams
18d747d5fa
web: Fix eslint: Unexpected duplicate 'super()' (constructor-super)
2020-05-16 01:58:18 -07:00
Nathan Adams
efe33e1631
web: Fix eslint: Don't access Object.prototype method directly (no-prototype-builtins)
2020-05-16 01:58:18 -07:00
Nathan Adams
2c0b12a93f
web: Fix eslint: Variable is defined but not used (no-unused-vars)
2020-05-16 01:58:18 -07:00
Nathan Adams
0b445bee1c
web: Fix eslint: Unnecessary semicolon (no-extra-semi)
2020-05-16 01:58:18 -07:00
Nathan Adams
43ee0e499e
web: Add eslint to web projects, mostly unopinionated
2020-05-16 01:58:18 -07:00
Nathan Adams
1bb7b49411
web: Add root npm project for web
2020-05-16 01:58:18 -07:00
Mike Welsh
d15a4ed994
web: Fallback to canvas render backend in more cases ( fix #545 )
2020-05-14 22:36:19 -07:00
dependabot-preview[bot]
1f0e695465
build(deps): bump fnv from 1.0.6 to 1.0.7
...
Bumps [fnv](https://github.com/servo/rust-fnv ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/servo/rust-fnv/releases )
- [Commits](https://github.com/servo/rust-fnv/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 19:05:48 +00:00
Justin-CB
ee69f77126
web: Don't polyfill elements with no src or data attributes (fix #542 )
...
* Don't polyfill elements with no src or data attributes
* Move elem.src check to ruffle-embed and add param check to ruffle-object
Co-authored-by: Toad06 <toad06@foo.bar>
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-11 23:33:46 -07:00
Mike Welsh
604bcb9285
chore: Formatting
2020-05-10 21:54:21 -07:00
JustinCB
75f398cf16
Added optout
2020-05-10 21:54:21 -07:00
JustinCB
7413732834
Add plugin polyfill code to lv0.js (thanks @Toad06 )
2020-05-10 21:54:21 -07:00
JustinCB
29eacdfd21
Simplify loading code
2020-05-10 21:54:21 -07:00