Commit Graph

3377 Commits

Author SHA1 Message Date
Nathan Adams ed46170cdb chore: Update cargo dependencies 2020-11-26 11:20:59 -08:00
Nathan Adams d8728bbf25 avm1: Made firstChild and lastChild ignore non-node children 2020-11-26 11:18:00 -08:00
Nathan Adams c8bb54977b core: Fix panic loading 'invalid-ish' html in text fields - fixes #1193 2020-11-26 11:17:00 -08:00
Nathan Adams a4baa4897e chore: Fix nightly builds 2020-11-26 11:14:58 -08:00
dependabot-preview[bot] 88ff89d6b1 build(deps-dev): bump webpack from 5.6.0 to 5.7.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.6.0...v5.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-26 00:16:03 -08:00
Mike Welsh aff34a4233 core: Seed RNG with timestamp 2020-11-26 00:07:59 -08:00
IWumboYouWumbo 9501ff06b0
web: Refinements to meta user interface (attempt 2)
- Fonts are no longer inherited, Arial is used instead
- Play button is smaller and shares same styling as unmute button
- Context menu text is always aligned to the left
- Panic screen text displays in white instead of black (it's much easier to read this way)
- CSS is cleaner and less redundant
I'm iffy on the changes to the play button aesthetic (it ranges from translucent -> opaque instead of opaque -> brighter opaque) so opinions are welcome.
- Fixed context menu hover issue, added drop shadow
- More redundancy fixes
2020-11-25 20:49:38 -08:00
Nathan Adams c13d5e349b web: Move autoplay/unmuteOverlay from Config to BaseLoadOptions - and made config default the load options 2020-11-25 11:33:51 -08:00
Nathan Adams 797dd83766 web: Merge streamSwfUrl and streamSwfData into load 2020-11-25 11:33:51 -08:00
dependabot-preview[bot] 48f8e6579a build(deps-dev): bump prettier from 2.1.2 to 2.2.0 in /web
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 20:55:38 -08:00
dependabot-preview[bot] a7239eba79 build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.7.0 to 4.8.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.8.2/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 19:36:14 -08:00
dependabot-preview[bot] 252186756d build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.7.0 to 4.8.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.8.2/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 19:36:01 -08:00
Mike Welsh 53212f192c chore: Appease clippy, squelch unnecessary_wraps lint 2020-11-24 18:59:42 -08:00
willbrindle 54ac1ea300 docs: Update demo README instructions to be correct 2020-11-24 17:50:30 -08:00
willbrindle c3e64f1b12 demo: Allow specifying file in demo via query params 2020-11-24 17:50:30 -08:00
Nathan Adams a02a81f80f web: Fixed extension & local not detecting eachother correctly 2020-11-24 16:36:33 -08:00
Nathan Adams bcfe59c351 web: Rename Config.public_paths to Config.publicPaths 2020-11-24 16:36:33 -08:00
Nathan Adams 707788218d web: Rename Config.public_path to Config.publicPath 2020-11-24 16:36:33 -08:00
Nathan Adams 103f0d69e8 web: Default autoplay to 'auto' 2020-11-24 16:36:33 -08:00
Nathan Adams 600d267bf3 web: We no longer need git dependency in webpack builds - fixes #1517 2020-11-24 16:36:33 -08:00
Nathan Adams cc81122fd8 web: Make sure player config takes priority over global config 2020-11-24 16:36:33 -08:00
Nathan Adams 799c0955b3 web: Add options for autoplay
This is a rewritten version of PR #1161 by Toad06
2020-11-24 16:36:33 -08:00
Nathan Adams a03b2fdea6 web: Add mute overlay
Original code by Toad06 as part of PR #1161
2020-11-24 16:36:33 -08:00
Mike Welsh e655cf0c08 web: Add Ruffle::audio_context getter 2020-11-24 16:36:33 -08:00
Nathan Adams 3e084963c6 web: Embed build/version info inside the js 2020-11-24 16:36:33 -08:00
Nathan Adams 46db80243e chore: Remove unused deps from web 2020-11-24 16:36:33 -08:00
Nathan Adams b744212a39 chore: Publish js docs nightly 2020-11-24 16:36:33 -08:00
Nathan Adams 7a3273a269 web: Add 'docs' command to generate jsdocs 2020-11-24 16:36:33 -08:00
Nathan Adams f5667fc987 web: Fix up documentation to reflect the new state of core vs selfhosted (basically npm vs manual) 2020-11-24 16:36:33 -08:00
Nathan Adams 40bcd3f835 web: Remove no longer needed webpack config in core 2020-11-24 16:36:33 -08:00
Nathan Adams 10db305988 web: Enforce (sensible) documentation 2020-11-24 16:36:33 -08:00
Nathan Adams eae6742475 web: Make sure extension labels itself in source API 2020-11-24 16:36:33 -08:00
Nathan Adams f1eabe1594 web: Rename install_plugin to installPlugin 2020-11-24 16:36:33 -08:00
Nathan Adams 6a9d0f64e9 web: Rename load_ruffle to loadRuffle 2020-11-24 16:36:33 -08:00
Nathan Adams 8c36e02dc5 web: Rename fetch_ruffle to fetchRuffle 2020-11-24 16:36:33 -08:00
Nathan Adams 41bf30efc8 web: Rename public_path to publicPath 2020-11-24 16:36:33 -08:00
Nathan Adams bccdaf77d4 web: Enforce camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 1519642a9a web: Fix documentation and warnings inside plugin-polyfill 2020-11-24 16:36:33 -08:00
Nathan Adams 48aa26460d web: Rename methods/variables inside polyfills to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 1bf4f5c4e4 web: Rename plugin_polyfill to pluginPolyfill 2020-11-24 16:36:33 -08:00
Nathan Adams dcf2b712b2 web: Fix documentation and warnings in polyfills 2020-11-24 16:36:33 -08:00
Nathan Adams d2d8bc6f01 web: Properly document and define window.RufflePlayer 2020-11-24 16:36:33 -08:00
Nathan Adams 2c952e954d web: Renamed fields and variables inside PublicAPI to camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 950d19d1c5 web: Allow taking in "conflict" APIs 2020-11-24 16:36:33 -08:00
Nathan Adams af01621484 web: Rename PublicAPI.local_compatible to PublicAPI.localCompatible 2020-11-24 16:36:33 -08:00
Nathan Adams 980590cf96 web: Rename PublicAPI.newest_source_name to PublicAPI.newestSourceName 2020-11-24 16:36:33 -08:00
Nathan Adams d6afe2edd3 web: Rename PublicAPI.register_source to PublicAPI.registerSource 2020-11-24 16:36:33 -08:00
Nathan Adams f4a710c806 web: Make PublicAPI use Config 2020-11-24 16:36:33 -08:00
Nathan Adams 96d3c30b5e web: Move Config to its own file 2020-11-24 16:36:33 -08:00
Nathan Adams 456557ec20 web: Fix documentation and warnings in PublicAPI 2020-11-24 16:36:33 -08:00