Commit Graph

762 Commits

Author SHA1 Message Date
Nathan Adams 37ef9c15b4 web: Rename RufflePlayer.play_button_clicked to
RufflePlayer.playButtonClicked
2020-11-24 16:36:33 -08:00
Nathan Adams 4f297948d0 web: Rename RufflePlayer.stream_swf_url to RufflePlayer.streamSwfUrl 2020-11-24 16:36:33 -08:00
Nathan Adams f692ee36a5 web: Rename RufflePlayer.ensure_fresh_instance to
RufflePlayer.ensureFreshInstance
2020-11-24 16:36:33 -08:00
Nathan Adams 4540b73d68 web: Rename RufflePlayer.is_unused_fallback_object to
RufflePlayer.isUnusedFallbackObject
2020-11-24 16:36:33 -08:00
Nathan Adams d0030e6ea7 web: Rename RufflePlayer.update_styles to RufflePlayer.updateStyles 2020-11-24 16:36:33 -08:00
Nathan Adams a25a298277 web: Fixed up documentation and return types inside RufflePlayer 2020-11-24 16:36:33 -08:00
Nathan Adams 96acde5445 web: Rename ShadowTemplate.ruffle_shadow_template to
ShadowTemplate.ruffleShadowTemplate
2020-11-24 16:36:33 -08:00
Nathan Adams f869812464 web: Fixed up documentation and return types inside SourceAPI 2020-11-24 16:36:33 -08:00
Nathan Adams bc3b6ade4e web: Rename SourceAPI.create_player to SourceAPI.createPlayer 2020-11-24 16:36:33 -08:00
Nathan Adams d6478c7d6a web: Rename SourceAPI.plugin_polyfill to SourceAPI.pluginPolyfill 2020-11-24 16:36:33 -08:00
Nathan Adams 3a470b02cc web: Fixed up documentation and return types inside SourceAPI 2020-11-24 16:36:33 -08:00
Nathan Adams 442e3f4f51 web: Renamed local variables inside VersionRange to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 8fab9e25b1 web: Rename VersionRange.from_requirement_string to
VersionRange.fromRequirementString
2020-11-24 16:36:33 -08:00
Nathan Adams 376aeef1af web: Rename VersionRange.satisfied_by to VersionRange.satisfiedBy 2020-11-24 16:36:33 -08:00
Nathan Adams 77f7518cda web: Fixed up documentation and return types inside VersionRange 2020-11-24 16:36:33 -08:00
Nathan Adams cf8686a0b5 web: Renamed local variables inside Version to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams a0817e48b0 web: Rename Version.is_stable_or_compatible_prerelease to
Version.isStableOrCompatiblePrerelease
2020-11-24 16:36:33 -08:00
Nathan Adams 6952197004 web: Rename Version.is_equal to Version.isEqual 2020-11-24 16:36:33 -08:00
Nathan Adams f3efc5c80a web: Rename Version.has_precedence_over to Version.hasPrecedenceOver 2020-11-24 16:36:33 -08:00
Nathan Adams ce6288fda8 web: Rename Version.is_compatible_with to Version.isCompatibleWith 2020-11-24 16:36:33 -08:00
Nathan Adams d2e6ae50a9 web: Rename Version.from_semver to Version.fromSemver 2020-11-24 16:36:33 -08:00
Nathan Adams 548fe6d172 web: Rename Version.build_ident to Version.buildIdent 2020-11-24 16:36:33 -08:00
Nathan Adams e5cd299009 web: Rename Version.pr_ident to Version.prIdent 2020-11-24 16:36:33 -08:00
Nathan Adams 022881f9c6 web: Fix up documentation in Version, resolved warnings 2020-11-24 16:36:33 -08:00
Nathan Adams c56d707045 web: Make demo depend directly on ruffle-core 2020-11-24 16:36:33 -08:00
Nathan Adams 8abb8df299 web: core no longer uses webpack, but selfhosted still does 2020-11-24 16:36:33 -08:00
Nathan Adams 7701ef9c26 web: Make tests in core use typescript 2020-11-24 16:36:33 -08:00
Nathan Adams 5ff7168fe9 web: Switched core package from javascript to typescript 2020-11-24 16:36:33 -08:00
Will Brindle 13626f9578
demo: Fix play button centering (fix #1669) 2020-11-24 12:56:31 -08:00
dependabot-preview[bot] 7f5dc9b258 build(deps-dev): bump @wdio/cli from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:48:25 -08:00
dependabot-preview[bot] 6f21aeff0e build(deps-dev): bump @wdio/local-runner from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:48:06 -08:00
dependabot-preview[bot] 05dbb3b91d build(deps-dev): bump @wdio/sync from 6.9.1 to 6.10.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.1...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 11:47:51 -08:00
relrelb aa33832936 web: Improve context menu position
The maxX and maxY calculation assumed the player covers the whole
viewport. Now it takes into account rect.width and rect.height.
2020-11-21 12:46:06 -08:00
dependabot-preview[bot] c60dd208ea build(deps-dev): bump eslint from 7.13.0 to 7.14.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.14.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.13.0...v7.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 16:16:30 -08:00
dependabot-preview[bot] 85810545d7 build(deps-dev): bump @wdio/local-runner from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:39:08 -08:00
dependabot-preview[bot] 2500a7d7e7 build(deps-dev): bump @wdio/cli from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:18:36 -08:00
dependabot-preview[bot] 157028be86 build(deps-dev): bump @wdio/sync from 6.9.0 to 6.9.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.9.0 to 6.9.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.9.0...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:17:10 -08:00
dependabot-preview[bot] d7d34c3e97 build(deps-dev): bump archiver from 5.0.2 to 5.1.0 in /web
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/archiverjs/node-archiver/releases)
- [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/archiverjs/node-archiver/compare/5.0.2...5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:14:50 -08:00
Mike Welsh d13a95eafa web: Fail gracefully if LocalStorage is unavailable (fix #1590) 2020-11-19 22:51:02 -08:00
Nathan Adams 9015f77bdc web: Fixed mime issue detection 2020-11-20 00:26:47 +01:00
dependabot-preview[bot] bed38e7762 build(deps-dev): bump copy-webpack-plugin from 6.3.1 to 6.3.2 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 11:25:20 -08:00
dependabot-preview[bot] 11e29df472 build(deps-dev): bump webpack from 5.5.1 to 5.6.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.5.1 to 5.6.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.5.1...v5.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 11:24:31 -08:00
relrelb 1674132b36 web: Use fullscreen helper methods
In order to be compatible with browsers that don't support the
standard Fullscreen API.

Co-authored-by: Sean-Thomas <sean-thomas@pocketonion.net>
2020-11-18 17:50:12 -08:00
relrelb d71c886e48 web: Move margin to #nav 2020-11-18 17:50:12 -08:00
relrelb 456ef1963e web: Move border styling to CSS 2020-11-18 17:50:12 -08:00
relrelb 80ab00cdd6 web: Extract max{X,Y}
As a small refactoring to improve readability.
2020-11-18 17:50:12 -08:00
relrelb c8ed1debc6 web: Change margin to margin-top
This makes the demo page fit in a whole page without a scrollbar.
2020-11-18 17:50:12 -08:00
relrelb 9068322d24 web: Retain focus on fullscreen enter/exit
Previously, has_focus has been set to false upon window click, and
to true upon canvas click.
However, the canvas didn't receive click events when the context
menu was clicked, so fullscreen toggle led to focus loss.
Listening to player click events receives both canvas and context
menu clicks.
2020-11-18 17:50:12 -08:00
relrelb 1c0b167e20 Improve web context menu 2020-11-18 17:50:12 -08:00
relrelb b987db010b web: Add fullscreen context menu item
TODO: Retain focus on fullscreen enter/exit.
2020-11-18 17:50:12 -08:00