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
Nathan Adams
6e191f2893
web: Rename RufflePlayer.allow_script_access to
...
RufflePlayer.allowScriptAccess
2020-11-24 16:36:33 -08:00
Nathan Adams
1371a89d1a
web: Rename RufflePlayer.is_swf_filename to RufflePlayer.isSwfFilename
2020-11-24 16:36:33 -08:00
Nathan Adams
2e83dad798
web: Rename RufflePlayer.debug_player_info to
...
RufflePlayer.debugPlayerInfo
2020-11-24 16:36:33 -08:00
Nathan Adams
d21cb8473b
web: Rename RufflePlayer.trace_observer to RufflePlayer.traceObserver
2020-11-24 16:36:33 -08:00
Nathan Adams
3ad4c0f392
web: Rename RufflePlayer.on_callback_available to
...
RufflePlayer.onCallbackAvailable
2020-11-24 16:36:33 -08:00
Nathan Adams
8c7f728215
web: Rename RufflePlayer.html_dimension_to_css_dimension to
...
RufflePlayer.htmlDimensionToCssDimension
2020-11-24 16:36:33 -08:00
Nathan Adams
95a22c486d
web: Rename RufflePlayer.copy_element to RufflePlayer.copyElement
2020-11-24 16:36:33 -08:00
Nathan Adams
abb311670f
web: Rename RufflePlayer.play_swf_data to RufflePlayer.playSwfData
2020-11-24 16:36:33 -08:00
Nathan Adams
2e8e89c52b
web: Rename RufflePlayer.hide_right_click_menu to
...
RufflePlayer.hideRightClickMenu
2020-11-24 16:36:33 -08:00
Nathan Adams
85735d3a45
web: Rename RufflePlayer.open_right_click_menu to
...
RufflePlayer.openRightClickMenu
2020-11-24 16:36:33 -08:00
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
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
Nathan Adams
9015f77bdc
web: Fixed mime issue detection
2020-11-20 00:26:47 +01: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
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
sousuke0422
75ce1bf4c1
i18n: Add Japanese
...
* i18n: Add Japanese
* i18n: Fix the "message" field in ja/message.json
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
2020-11-07 17:22:47 -08:00
Pablo Rodríguez
aaa4ce5431
i18n: Improve the Spanish translation and use ellipses character
...
* replace ... with proper Unicode char "…"
* some improvements to the Spanish translation
Co-authored-by: Pablo Rodríguez <ousia@users.noreply.gitlab.com>
2020-11-07 13:11:03 -08:00
Rult
564a36c049
i18n: Add Russian
2020-11-07 13:06:29 -08:00
Nathan Adams
dab79107b2
web: Include git details into the build
2020-11-04 16:46:14 -08:00
Nathan Adams
d1c58b143f
web: Fix right click menu when scrolling - fixes #1484
2020-11-04 16:30:49 -08:00
Nathan Adams
a8759f45a1
web: Add specific error for invalid MIME type, with a link back to the wiki
2020-11-02 13:42:36 -08:00
Nathan Adams
2b3f787547
web: Fix build of extension, failing since partial update to webpack 5
2020-11-01 05:52:40 -08:00
Nathan Adams
ffb988026c
web: Fix positioning of right click menu
2020-11-01 05:52:40 -08:00
Nathan Adams
66eb645b68
web: Add basic right click menu, only has About Ruffle link so far
2020-10-29 13:27:28 -07:00
Mike Welsh
cd96df7ee7
web: Disable automatic publicPath in webpack configs
2020-10-21 15:19:36 -07:00
Mike Welsh
8465638939
web: Drop webpack-dev-server and use webpack serve
...
See https://github.com/webpack/webpack-dev-server/issues/2759
2020-10-18 17:36:52 -07:00
dependabot-preview[bot]
a965d2f6ba
build(deps-dev): bump webpack-cli from 3.3.12 to 4.0.0 in /web
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 3.3.12 to 4.0.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.12...webpack-cli@4.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 15:33:13 -07:00
Mike Welsh
990052db77
chore: Bump to webpack 5
2020-10-17 14:07:28 -07:00
Nathan Adams
b7b67cacb2
web: Merge flashvars with swf url query vars
2020-10-12 15:28:16 -07:00
Nathan Adams
30fffa8022
test: Add tests for flashvars on web
2020-10-12 15:28:16 -07:00
Nathan Adams
6b591269e9
web: Parse flashvars from swf urls
2020-10-12 15:28:16 -07:00
Nathan Adams
6d9155477c
core: Add flashvars support - #312
2020-10-12 15:28:16 -07:00
Mike Welsh
212645d9b9
demo: Remove query parameter support ( fix #1255 )
...
The 'file' query parameter is no longer necessary now that the
sample drop-down box was added, populated by swfs.json.
2020-10-10 17:48:39 -07:00
Mike Welsh
3689bb607d
docs: Update demo link in docs
2020-10-10 01:15:48 -07:00
Toad06
904b5c1463
web: Add missing file for the case-insensitive test
2020-10-09 12:25:37 -07:00
Toad06
6589710a61
web: Add tests to check swf extension
2020-10-09 12:25:37 -07:00
Toad06
1643d2335e
web: Correctly detect swf file extension
2020-10-09 12:25:37 -07:00
JustinCB
d4fa329c54
web(test): Add test for fixed issue
2020-10-08 23:35:33 -07:00
JustinCB
ce6b19f1b2
web: Add more try/catch's to stop error spam crashing sites
2020-10-08 23:35:33 -07:00
Sean-Thomas
6b54cc4311
web: Add pause method for web player
...
Adds a suspend_audio method to compliment prime_audio on WebAudioBackend, as well as logic in player.rs on the set_is_playing method to suspend audio when is_playing is set to false. Exposes pause method for the ruffle player in JavaScript with logic to display the play button when paused.
2020-09-29 11:05:23 -07:00
Luca Weiss
d5cb396331
*: fix spelling mistakes
2020-09-19 16:17:58 -07:00
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
085c61b94f
tests: In browser based tests, actually press play and check that the movie spits out some text
2020-09-13 13:51:39 -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
Toad06
048bfaf53d
tests: Add polyfill samples from #457
2020-09-07 13:16:44 -07:00
Nathan Adams
db86cdab79
chore: Workaround for chrome not being found on windows tests
2020-09-04 11:31: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
808b6588ab
web(test): Add test for spl
2020-08-20 05:30:28 -07:00
JustinCB
3f1546ffc3
web: Add spl to flash filename check
2020-08-20 05:30:28 -07:00
Justin-CB
0cdad7520f
web(tests): Enable pdf test, which works now
2020-08-18 11:25:15 -07:00
JustinCB
a2968d6fd0
web: Change polyfills to single true/false setting
2020-08-13 00:46:58 -07:00
JustinCB
f8c40569be
i18n: Add Settings Saved to locales
2020-08-13 00:41:23 -07:00
JustinCB
15fcce4d06
extension: Centralize default settings
...
Use true/false for boolean settings and have get_sync_storage
return the default values if necessary.
2020-07-29 19:03:17 -07:00
JustinCB
07506891c4
extension: Remove debug spew
2020-07-29 19:03:13 -07:00
JustinCB
b0a81ac39f
extension: Move storage functions to util.js
2020-07-29 19:03:13 -07:00
JustinCB
4786de2aa5
Try to fix status flickering
2020-07-29 17:06:51 -07:00
JustinCB
012b36a623
Query tab more often to not incorrectly show reload button
2020-07-29 17:06:51 -07:00
JustinCB
9ea0b2a162
Disable reload button on Protected Pages
2020-07-29 17:06:51 -07:00
JustinCB
77331f4732
Make popup buttons taller(because some languages can have longer text)
2020-07-29 17:06:51 -07:00
JustinCB
88f95b0005
Fix spanish messages.json
2020-07-29 17:06:51 -07:00
JustinCB
e14732be45
Fix settings popup style
2020-07-29 17:06:51 -07:00
JustinCB
2987071bef
Complete internationalization
2020-07-29 17:06:51 -07:00
JustinCB
b3905a6103
Move firefox-specific setting to build_firefox.js
2020-07-29 17:06:51 -07:00
JustinCB
15476618b1
Complete settings localization, localize extension description, & add spanish translation
2020-07-29 17:06:51 -07:00
JustinCB
4ceed0e2eb
Removed spurious manifest.json in extension/build
2020-07-29 17:06:51 -07:00
JustinCB
07d46d1f87
Removed spurious logging functions
2020-07-29 17:06:51 -07:00
JustinCB
f7a1f78fb1
Attempt to make cross-browser
2020-07-29 17:06:51 -07:00
JustinCB
64c96a3151
Make Prettier happy
2020-07-29 17:06:51 -07:00
JustinCB
27fcd8e6ea
Allow opening settings page from settings popup
2020-07-29 17:06:51 -07:00
JustinCB
265aca1409
Update manifest.json
2020-07-29 17:06:51 -07:00
JustinCB
bd98856378
Finish initial settings page
2020-07-29 17:06:51 -07:00
JustinCB
fb436a31da
Make prettier happy
2020-07-29 17:06:51 -07:00
JustinCB
810c717c91
Fix optout tests
2020-07-29 17:06:51 -07:00
JustinCB
a527d7179b
Fix storage api calls
2020-07-29 17:06:51 -07:00
JustinCB
6535967b74
Fix files in wrong places & eslint errors
2020-07-29 17:06:51 -07:00
David Wendt
251d2ac04b
Add button to reload the page whenever the user changes settings
2020-07-29 17:06:51 -07:00
David Wendt
cdd8cd3a5a
Internationalize Ruffle and adjust some of the language we use.
2020-07-29 17:06:51 -07:00
David Wendt
f793110c80
Add "Ignore Opt-Out" option
2020-07-29 17:06:51 -07:00
David Wendt
582834b94a
Allow popups to detect the new opt-out behavior.
2020-07-29 17:06:51 -07:00
David Wendt
87f4527339
Make the enable toggle actually turn Ruffle on or off.
2020-07-29 17:06:51 -07:00
David Wendt
e194710c06
Fix broken settings checkboxes
2020-07-29 17:06:51 -07:00
David Wendt
6efc6ea48e
Add a user-facing indicator of if Ruffle is working or not.
2020-07-29 17:06:51 -07:00
David Wendt
8d6ccf5364
First pass of the UI for an extension popup settings panel
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
4f755eafff
web: Add tests for new behaviour
2020-07-14 09:12:36 -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
9376003459
tests: Increase polyfill timeout to 30 seconds. Fixes #657
2020-06-09 16:47:34 -07:00
dependabot-preview[bot]
ebe1f930f3
build(deps-dev): bump @wdio/local-runner from 6.1.16 to 6.1.17 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.1.16 to 6.1.17.
- [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.1.16...v6.1.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 11:43:45 -07:00
dependabot-preview[bot]
469cea6804
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 6.1.14 to 6.1.17.
- [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.1.14...v6.1.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 10:34:33 -07:00
dependabot-preview[bot]
413d7b83d8
build(deps-dev): bump @wdio/cli from 6.1.16 to 6.1.17 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.1.16 to 6.1.17.
- [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.1.16...v6.1.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 10:33:22 -07:00
Mike Welsh
4671740abe
demo: Fix incorrect sample SWF loading
...
The indexing into the list of sample SWFs could be incorrect
depending on the order of the JSON data. Now we store the SWF info
directly on the option element for easy access, regardless of order.
2020-06-05 16:40:10 -07:00
dependabot-preview[bot]
78e475c89d
build(deps-dev): bump @wdio/local-runner from 6.1.14 to 6.1.16 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.1.14 to 6.1.16.
- [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.1.14...v6.1.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 10:24:56 -07:00
dependabot-preview[bot]
fb5b72ecf1
build(deps-dev): bump @wdio/cli from 6.1.15 to 6.1.16 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.1.15 to 6.1.16.
- [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.1.15...v6.1.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 09:43:51 -07:00
Nathan Adams
cbda2c2fec
web: Fix extension build_all - fixes #659
2020-05-28 12:02:21 -07:00
Nathan Adams
4e01dfd5ef
web: Build firefox extension and sign it when possible
2020-05-28 09:20:10 -07:00
dependabot-preview[bot]
55b229f439
build(deps-dev): bump @wdio/cli from 6.1.14 to 6.1.15 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.1.14 to 6.1.15.
- [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.1.14...v6.1.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 16:08:30 +00:00
dependabot-preview[bot]
f59c8bcfa0
build(deps-dev): bump @wdio/cli from 6.1.12 to 6.1.14 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 6.1.12 to 6.1.14.
- [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.1.12...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 17:04:25 -07:00
dependabot-preview[bot]
a3b66d095f
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 6.0.16 to 6.1.14.
- [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.0.16...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 17:04:11 -07:00
dependabot-preview[bot]
83147b271b
build(deps-dev): bump @wdio/local-runner from 6.1.12 to 6.1.14 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 6.1.12 to 6.1.14.
- [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.1.12...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:02:30 +00:00
dependabot-preview[bot]
ee036a1b3a
build(deps-dev): bump @wdio/mocha-framework from 6.1.8 to 6.1.14 in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 6.1.8 to 6.1.14.
- [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.1.8...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:01:55 +00:00
dependabot-preview[bot]
f2543ea355
build(deps-dev): bump @wdio/spec-reporter from 6.1.12 to 6.1.14 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 6.1.12 to 6.1.14.
- [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.1.12...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:01:13 +00:00
dependabot-preview[bot]
499aa9ac0a
build(deps-dev): bump @wdio/sync from 6.1.8 to 6.1.14 in /web
...
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio ) from 6.1.8 to 6.1.14.
- [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.1.8...v6.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:00:06 +00:00
Nathan Adams
e466060a50
chore: Copy LICENSE* to relevant places where package managers complain if they don't exist, and make sure they're included in distributions
2020-05-27 00:11:02 -07:00
Nathan Adams
77b0216579
chore: Update package.infos in web
2020-05-27 00:11:02 -07:00
Nathan Adams
d02223c816
chore: Formatted demo index.html
2020-05-27 00:11:02 -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
e4f7c950bb
chore: Enable fixed tests
2020-05-26 23:56:36 -07:00
JustinCB
4828945666
web: Fix frame polyfill
2020-05-26 23:56:36 -07:00
Sean-Thomas
2d557f8fb6
Added Opt-Groups for Web Demo
...
This commit adds HTML Opt-Groups separating Games and Animations on the web demo sample dropdown menu. There are also a few tiny styling changes. Mainly the addition of a transition duration to the logo image, as well as changing "max-device-width" to "max-width" on a media query so that the "mobile" view is shown if you scale down the window on desktop browsers.
2020-05-24 19:09:19 -07:00
Nathan Adams
d846ed943b
web: Split frame/iframe polyfill tests into provided vs injected, as we see issues with one or the other
2020-05-24 08:57:16 -07:00
Nathan Adams
8a32f0d053
web: Add polyfill test for <iframe>s
2020-05-24 08:57:16 -07:00
Nathan Adams
a7abdba49c
web: Add test for classic <frame>s
2020-05-24 08:57:16 -07:00
Nathan Adams
a0bfe72b19
web: Add polyfill tests
2020-05-24 08:57:16 -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
Mike Welsh
94f2154514
chore: Bump copy-webpack-plugin to 6.0.1
2020-05-20 23:34:17 -07: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
82c1930c0f
web: web doesn't need install before bootstrap now
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
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
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
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