Nathan Adams
e114282a4e
web: Implement Show Error Details for panics
2020-09-13 15:20:44 -07:00
Nathan Adams
69d1e903fb
web: Destroy shouldn't be able to throw exceptions
2020-09-13 15:20:44 -07:00
Nathan Adams
f05fba069d
web: Add basic panic screen
2020-09-13 15:20:44 -07:00
Nathan Adams
95275898c7
web: If ruffle panics, inform all instances (if possible) and poison future instances
2020-09-13 15:20:44 -07:00
Nathan Adams
4c6c8ee1f2
web: Add trace_observer to web api, which lets you capture trace output from a specific movie
2020-09-13 13:51:39 -07:00
Nathan Adams
4de2b7f3a0
web: Ensure exposed callbacks are on the <ruffle-player>
2020-09-03 18:17:44 -07:00
Nathan Adams
91cb597a79
web: Expose ExternalInterface callbacks on the player object, not the canvas
2020-09-03 18:17:44 -07:00
Nathan Adams
5880db43cd
web: Respect allowScriptAccess, which defaults to false for streaming or 'sameDomain' for objects
2020-09-03 18:17:44 -07:00
Nathan Adams
b5531a48d0
web: Allow reentrant ExternalInterface callbacks
2020-09-03 18:17:44 -07:00
Nathan Adams
a49e8d8587
web: Implement two-way communication with ExternalInterface
2020-09-03 18:17:44 -07:00
Mike Welsh
4f6af6428e
web: Prevent mouse/tap highlighting on player ( fix #861 )
2020-08-24 11:17:50 -07:00
JustinCB
3f1546ffc3
web: Add spl to flash filename check
2020-08-20 05:30:28 -07:00
JustinCB
a2968d6fd0
web: Change polyfills to single true/false setting
2020-08-13 00:46:58 -07:00
JustinCB
6535967b74
Fix files in wrong places & eslint errors
2020-07-29 17:06:51 -07:00
David Wendt
f56d16a68d
Separate player creation from root movie setup, and allow users of Ruffle to load in movies synchronously or asynchronously.
...
During the small period of time when a player is created but has no root movie, a temporary empty movie is installed with an assumed stage size and framerate of 550x400@12fps. This is Flash default for new projects, so it seemed appropriate. User ActionScript cannot see these values, and I'm not even sure JavaScript can, either.
2020-07-23 23:02:51 -04:00
Nathan Adams
2df3b81f92
web: Allow avm_debug in web
2020-07-23 11:25:59 -07:00
JustinCB
8495e89a8b
web: Match case-insensitively in embeds
2020-07-14 09:12:36 -07:00
JustinCB
64c7d6e393
web: Polyfill if data attribute or movie param is a swf filename
2020-07-14 09:12:36 -07:00
JustinCB
ffba4c5a97
web: Match MIME type & clsid case-insensitively
2020-07-14 09:12:36 -07:00
Nathan Adams
c07dbbb748
web: Remove & disable package-lock for subpackages, only root should have it
2020-06-13 12:35:14 -07:00
Nathan Adams
d7092d0f30
web: Hoist common dev dependencies up to the top (except CLI) and hopefully improve how we bootstrap
2020-06-13 12:35:14 -07:00
dependabot-preview[bot]
94ad4a82c4
build(deps-dev): bump mocha from 7.2.0 to 8.0.1 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 10:04:46 -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
4828945666
web: Fix frame polyfill
2020-05-26 23:56:36 -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]
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
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
Nathan Adams
6b464bf80f
web: Build core on preparation of the core package
2020-05-19 11:42:57 +02:00
Nathan Adams
d1bb3c4e28
web: Array.flat doesn't exist in node10
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
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
e9a394ac27
web: Only core will build ruffle, the other packages will use that
2020-05-19 11:42:54 +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