Commit Graph

1793 Commits

Author SHA1 Message Date
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
Nathan Adams 7ab6703fc9 render: Add RenderBackend::replace_shape method 2020-05-20 14:54:40 +02:00
Nathan Adams 4c80ae150c core: Make DistilledShape use Boundingbox and not Rectangle
Rectangle more represents compressed swf data and isn't suited for performing operations, and the drawing api will be generating these dynamically
2020-05-20 14:54:33 +02: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
Mike Welsh e73eddcebb
web: Restructure packages and introduce tests (merge #601) 2020-05-19 20:38:12 -07:00
Nathan Adams f7b5f14f65 core: Make RenderBack::register_bitmap* methods return a Result (fixes #531) 2020-05-19 07:12:36 -07:00
Nathan Adams 6b464bf80f web: Build core on preparation of the core package 2020-05-19 11:42:57 +02:00
Nathan Adams 82995386e7 chore: Update readme to explain that you need to build demo before running it 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 ec6363813c chore: Split CI into "rust" and "web" tests to speed up time 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 bdbb9ec7f7 chore: Run `npm ci` to make sure we have lerna installed 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 4ab15855ff chore: Check web tests in CI 2020-05-19 11:42:55 +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 cdbad55512 chore: Check all web deps with dependabot 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
dependabot-preview[bot] 41a8b01fe7 build(deps): bump quote from 1.0.5 to 1.0.6
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.5...1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:38:24 +00:00
dependabot-preview[bot] ba43b3d50b build(deps): bump winit from 0.22.1 to 0.22.2
Bumps [winit](https://github.com/rust-windowing/winit) from 0.22.1 to 0.22.2.
- [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.22.1...v0.22.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 08:01:55 +00:00
dependabot-preview[bot] 3b163c2b6e build(deps): bump syn from 1.0.21 to 1.0.22
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.21...1.0.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 09:46:08 +00:00
Nathan Adams b9eee4e5ed chore: Check javascript style on PRs
This fixes #570
2020-05-16 01:58:18 -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 3b550a111f wgpu: Hook up gradient spread mode and focal point 2020-05-15 00:13:36 -07:00
Mike Welsh d15a4ed994 web: Fallback to canvas render backend in more cases (fix #545) 2020-05-14 22:36:19 -07:00