Commit Graph

123 Commits

Author SHA1 Message Date
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