Commit Graph

329 Commits

Author SHA1 Message Date
LaszloEr 446725e981
i18n: Fixed grammar mistakes in the German translation 2021-01-01 19:45:28 -08:00
Toad06 2d0c76c06f demo: Only accepts .swf and .spl files 2020-12-30 15:14:28 -08:00
Toad06 3ae9ad57fc web: Prevent crashes when native `Window` is overridden 2020-12-30 13:18:13 -08:00
Mike Welsh 3ea8c2fc7e chore: Fix typedoc config for typedoc 0.20 2020-12-29 17:27:48 -08:00
dependabot-preview[bot] 268ed44d6d build(deps-dev): bump typedoc from 0.19.2 to 0.20.0 in /web
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 12:53:16 -08:00
Sam Morrow 38bdb8b39a web/desktop: Add basic dialog handling (closes #1978) 2020-12-23 19:08:18 -08:00
Toad06 777734f6ba web: Maintain compatibility with prototype.js 2020-12-21 16:26:14 -08:00
Toad06 a6b7474a6b web: Prevent crashes with external libraries 2020-12-20 15:28:52 -08:00
dependabot-preview[bot] 5503399545 build(deps-dev): bump @wdio/cli from 6.10.5 to 6.10.11 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.10.5 to 6.10.11.
- [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.10.5...v6.10.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-19 13:19:11 -08:00
Toad06 25d5f48d18 web: Run eslint 2020-12-17 12:48:32 -08:00
Toad06 b9aed2c7bb web: Rename from snake_case to camelCase 2020-12-17 12:48:32 -08:00
Toad06 d6a857803a web: Fix extension and self-hosted builds conflicting with each other 2020-12-17 12:48:32 -08:00
JMcKiern 63be0455a8
web: Add query string to `Report Bug` link
* web: Add query string to the Report Bug link (closes #1753)
2020-12-14 11:25:10 -08:00
Sam Morrow c4d7b24629 web: Fix cors issues with http (close ruffle-rs#1486) 2020-12-14 05:51:28 -08:00
Toad06 dab96ba01b tests: Don't get fooled by GET parameters that look like a file extension 2020-12-13 15:38:18 -08:00
Toad06 d55f3959b9 web: Detect file extension using the `URL()` constructor 2020-12-13 15:38:18 -08:00
Toad06 5d55a60924
web: Avoid double polyfilling object-inside-object
* web: Avoid double polyfilling object-inside-object
* tests: Add polyfill test for object inside object
2020-12-10 13:36:40 -08:00
Toad06 83fcd7ba40 tests: Checks that iframe correctly fires its onload event 2020-12-09 17:01:20 -08:00
Toad06 07d3e7d81b web: Use nullish coalescing operator 2020-12-09 17:01:20 -08:00
Toad06 4ed2470068 web: Fix possible issue with iframe elements no longer existing in the DOM 2020-12-09 17:01:20 -08:00
Toad06 1e61093e32 web: Fix issues with iframe polyfill 2020-12-09 17:01:20 -08:00
techboyg5 021194875a Open shadow DOM 2020-12-07 17:57:15 -08:00
Toad06 457d707ec2 tests: `polyfills` option is now a boolean, defaulting to true 2020-12-07 15:22:51 -08:00
Toad06 3ca08c881f docs: Update `streamSwfUrl` to `load` 2020-12-07 15:22:51 -08:00
jmckiern 73afae8fa5 Make slider color change if slider is checked 2020-12-07 13:39:46 -08:00
notimre 491ce876aa i18n: Add Hungarian translations 2020-12-03 16:51:45 -08:00
StevenNL2000 64d8f3a2ce i18n: Add Dutch 2020-12-03 11:44:36 -08:00
Newbyte 71f5339827 i18n: Add Swedish 2020-12-01 11:55:57 -08:00
Zombie110year 6e8346ab56
i18n: Add Simplified Chinese translation 2020-12-01 10:10:30 -08:00
IWumboYouWumbo af254c3bc0 web: Revamp settings page 2020-11-28 15:34:58 -08:00
Txori a363d0e392
Create messages.json (#1765)
Here comes the French.
2020-11-28 15:28:40 -08:00
Txori bdc18863c8
i18n: Add missing word in Spanish
The word "loaded" was missing in the sentence.
2020-11-28 15:28:15 -08:00
Toad06 49d4197dbf tests: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
Toad06 fc565e2cd6 web: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
ednt a2888037a3
i18n: Create german version of messages.json 2020-11-28 13:46:51 -08:00
Mike Welsh e84c432b00 tests: Add SWFObject.js polyfill test 2020-11-27 21:11:05 -08:00
IWumboYouWumbo b6c0809224 web: Explicitly define font size of context menu 2020-11-27 15:44:24 -08:00
Mike Welsh 7898776e0c tests: Add polyfill tests for missing movie 2020-11-26 18:19:57 -08:00
Mike Welsh 5d99dce16c tests: Add polyfill test for object+embed with only clsid 2020-11-26 18:19:57 -08:00
Mike Welsh b128c876ea tests: Alter embed-inside-object polyfill tests to expect ruffle-embed 2020-11-26 18:19:57 -08:00
Mike Welsh e66fc6f6a1 web: Avoid double polyfilling embed-inside-object 2020-11-26 18:19:57 -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
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
Nathan Adams 3e084963c6 web: Embed build/version info inside the js 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
Nathan Adams 5f02ee3ab8 web: Fixed documentation and warnings inside public-path 2020-11-24 16:36:33 -08:00
Nathan Adams ca96553cf0 web: Rename register_element to registerElement 2020-11-24 16:36:33 -08:00
Nathan Adams 32abd35642 web: Changed variables inside RuffleEmbled to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 5a1fb5fba1 web: Rename RuffleEmbed.from_native_embed_element to
RuffleEmbed.fromNativeEmbedElement
2020-11-24 16:36:33 -08:00
Nathan Adams f1b05716dd web: Rename RuffleEmbed.is_interdictable to RuffleEmbed.isInterdictable 2020-11-24 16:36:33 -08:00
Nathan Adams 868548ddc6 web: Fixed documentation and warnings inside RuffleEmbed 2020-11-24 16:36:33 -08:00
Nathan Adams 976ef86da7 web: Rename variables in RuffleObject to camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 9f8dd465ae web: Rename RuffleObject.from_native_object_element to
RuffleObject.fromNativeObjectElement
2020-11-24 16:36:33 -08:00
Nathan Adams 9633073c1f web: Rename RuffleObject.is_interdictable to
RuffleObject.isInterdictable
2020-11-24 16:36:33 -08:00
Nathan Adams 879fa53417 web: Ignore ruffle-imports, it's not an API 2020-11-24 16:36:33 -08:00
Nathan Adams 5b5091b4b9 web: Rename copy_to_audio_buffer to copyToAudioBuffer 2020-11-24 16:36:33 -08:00
Nathan Adams 68ffc95348 web: Move RuffleObject.params_of to paramsOf (no longer a static member) 2020-11-24 16:36:33 -08:00
Nathan Adams 3faf09696d web: Move RuffleObject.find_case_insensitive to findCaseInsensitive (no
longer a static member)
2020-11-24 16:36:33 -08:00
Nathan Adams f44f2ea9db web: Fix documentation and warnings in RuffleObject 2020-11-24 16:36:33 -08:00
Nathan Adams 7bd4308c22 web: Renamed variables inside register-element to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams eaa6dc70f4 web: Rename Registration.internal_name to Registration.internalName 2020-11-24 16:36:33 -08:00
Nathan Adams 87d3bf57bd web: Fixed documentation and warnings inside register_element 2020-11-24 16:36:33 -08:00
Nathan Adams 62ddc7c9cd web: Rename lookup_element to lookupElement 2020-11-24 16:36:33 -08:00
Nathan Adams 5c1a8ecd94 web: Rename private_registry to privateRegistry 2020-11-24 16:36:33 -08:00
Nathan Adams f8486f00f3 web: Rename RufflePlayer.sanitize_parameters to
RufflePlayer.sanitizeParameters
2020-11-24 16:36:33 -08:00
Nathan Adams 8b5f1eee2f web: Rename all variables inside RufflePlayer to be camelCase 2020-11-24 16:36:33 -08:00