Commit Graph

2266 Commits

Author SHA1 Message Date
Nathan Adams 72769eeefa web: Localise text inside shadow template 2023-05-09 00:06:49 +02:00
Nathan Adams a29f1f75dc web: Localise the 'cant embed' message 2023-05-09 00:06:49 +02:00
Nathan Adams 1db72a0ffd web: Localise error messages 2023-05-09 00:06:49 +02:00
Nathan Adams 2430cf192e web: Localise fullscreen toggle 2023-05-09 00:06:49 +02:00
Nathan Adams d70faeec04 web: Localise save manager prompts 2023-05-09 00:06:49 +02:00
Nathan Adams 9be198212b web: Translate various button texts 2023-05-09 00:06:49 +02:00
Nathan Adams b7794749d8 web: Localise the unsupported avm2 message 2023-05-09 00:06:49 +02:00
Nathan Adams 07dea7b164 web: Add localisation to web 2023-05-09 00:06:49 +02:00
Nathan Adams 3402f3f4dc web: Use browsers preferred language 2023-05-09 00:06:49 +02:00
Nathan Adams 229c301e18 core: Add i18n module using Fluent 2023-05-09 00:06:49 +02:00
Daniel Jacobs 01a69b60bc web: Remove ContextMenu.TouchOnly as it is unlikely to be useful 2023-05-08 23:53:31 +03:00
Daniel Jacobs e7877706ef web: Use typeof to simplify check for usage of deprecated contextMenu 2023-05-08 23:53:31 +03:00
Daniel Jacobs 4790ea7304 web: Combine contextMenu with touchContextMenu 2023-05-08 23:53:31 +03:00
Daniel Jacobs 68f493336a web: Configuration to disable context menu on touch 2023-05-08 23:53:31 +03:00
relrelb 97483fed7b web: Fix "Unable to lock Ruffle core" console spam after panic
Upon panic, `Ruffle::destroy()` attempts to mutably borrow the
thread-local `instances`. However, when a panic occurs, `instances`
is already immutably borrowed by `Ruffle::with_core_mut()`. This
causes the cleanup logic in `Ruffle::destroy()` to be skipped
altogether, and as a consequence the animation handler continues
to be fired, ultimately failing to borrow `instances` repeatedly.
Each time a borrow fails, a console error is logged.

Fortunately the fix is extremely easy - `Ruffle::with_core{,_mut}`
used to `drop(instance)` before running any potentially-panicking
logic, exactly for the reason explained above. But those functions
don't `drop(instances)`, which is subject to the same double-borrow
risk. So as a fix simply add `drop(instances)` in both functions.

With this fix, "Unable to lock Ruffle core" is logged on panic only
twice. These logs require further research, and will be avoided in
a future PR.
2023-05-06 10:09:52 +03:00
Toad06 8377fe0233 web: Support copying to clipboard 2023-05-05 21:58:41 +02:00
Toad06 58d786b869 extension: Localize more strings 2023-05-05 00:28:11 +03:00
relrelb 2cb055d5c0 web: Parse `background_color` using a custom deserializer 2023-05-03 21:38:15 +03:00
nosamu 9b2dc262d5 extension: Update and improve messages 2023-05-03 09:44:01 +03:00
nosamu 36710f87d9 extension: Add an Automatic option for preferred renderer 2023-05-03 09:44:01 +03:00
relrelb ed1eaa440e extension: Introduce "Advanced Options"
To avoid visual clutter, move some less handy options under a
collapsible area:

* Log level
* Ignore website compatibility warnings
* Maximum allowed ActionScript execution duration (description was
shortened in this commit)
* Preferred renderer
* Player version number
2023-05-03 09:44:01 +03:00
nosamu 5155085555 web: Tiny refactor of preferred renderer code 2023-05-03 09:10:30 +03:00
iwannabethedev 307f364d6f
web: Log used renderer
Log which renderer-backend was actually used in the
browser console.
2023-05-02 23:59:57 +03:00
Kornelius Rohrschneider fe56f8d212 core: Implement suggested changes in PR to documentation & code
- Documentation has been added, improved and clarified.
- The code of a string concatenation has been improved.
2023-05-02 17:13:42 +02:00
Kornelius Rohrschneider 27738a492e web: Implement suggested changes in PR to navigate_to_url handling
The suggested changes to the navigate_to_url handling in the feedback to
the pull request have been implemented.
Therefore, this commit consists of multiple smaller changes:

1. The allow_javascript_calls variable has been removed (as a CLI
argument and in the navigator). Javascript calls are now always denied
on desktop. This is because setting the argument was useless; no
javascript was executed in any case, at most, just a browser tab opened.
Therefore, it makes no sense to include this option.
2. The NavigateWebsiteHandlingMode default value has been provisionally
changed from Confirm to Allow. In the future (after a GUI toolkit has
been added), the default confirmation windows should include a "Save
this preference" checkbox.
3. The NetworkingRestrictionMode enum has been renamed to
NetworkingAccessMode since the previous naming was counter-intuitive.
4. The NavigateWebsiteHandlingMode enum (and variables related to it)
have been renamed to OpenURLMode to simplify the name.
5. The documentation has been improved.
2023-05-02 17:13:42 +02:00
Kornelius Rohrschneider 809a9f6907 web: Add and partially implement networking API restrictions
The networking API restrictions imposed by the allowNetworking parameter
& attribute have been added and partially implemented.

A new NetworkingRestrictionMode enum has been added to Ruffle (in Rust
and Typescript). It contains the values "All", "Internal" and "None" and
models the possible values of the allowNetworking parameter / attribute.
All means that all networking APIs are permitted in the SWF file,
Internal means that the SWF file may not call browser navigation or
browser interaction APIs and None means the same and that the SWF file
cannot use any SWF-to-SWF communication APIs either.
A respective allowNetworking variable has been added to the JS config.
Its default value is All.
Ruffle now recognises the allowNetworking parameter and attribute in the
SWF HTML object and parses it and sets the config variable
correspondingly if it's recognised.
Only if the variable is set to All, the external interface (responsible
for javascript calls in AS3) is created. Additionally, the variable is
given to the WebNavigatorBackend and saved in it. The navigator denies
all navigate_to_url calls if the variable hasn't been set to All.
Therefore, the API restrictions imposed by setting allowNetworking to
internal or none have been partially implemented.

Formatting has been improved.
2023-05-02 17:13:42 +02:00
Kornelius Rohrschneider 44ef22f646 core: Add navigate_to_url call configuration options
New configuration options (changing the navigate_to_url call handling)
have been added. The default behaviour has been changed as well.

A NavigateWebsiteHandlingMode enum has been added to Ruffle (in Rust and
Typescript). It contains the values "Allow", "Confirm" and "Deny" and
describes how navigate_to_url website calls should be handled. Allow
means that all website calls are allowed, Confirm means that a
confirmation window opens with each website call and Deny means that all
website calls are denied.
A respective navigate_website_handling_mode variable has been added to
the desktop CLI and to the JS config. The default value is "Confirm" in
each. The variable is given to the navigator (ExternalNavigatorBackend
or WebNavigatorBackend, depending on the platform) and is saved in it.
On each navigate_to_url website call, the respective navigator is now
checking navigate_website_handling_mode and acts correspondingly (allows
it, opens a confirmation window or denies it).
This changes the default behaviour of Ruffle from allowing all website
calls to opening a confirmation window with each website call.
On Safari, the confirm window can cause the background music to stop,
but this seems to be an issue with Safari.
Closes #838.

Additionally, an allow_javascript_calls variable (which defaults to
false) has been added to the desktop CLI. The variable is given to the
desktop navigator and is saved in it.
If a navigate_to_url javascript call is executed on desktop, the
navigator is now checking allow_javascript_calls and acts
correspondingly (allows it or denies it).
This changes the default behaviour of Ruffle on desktop to not allowing
javascript calls.
Closes #9316.
2023-05-02 17:13:42 +02:00
divinity76 7bc51ae2cb
web: Make panicText readonly
it's not supposed to be editable. ref https://github.com/ruffle-rs/ruffle/pull/10819#issuecomment-1529977894
2023-05-02 06:53:44 +00:00
Adrian Wielgosik e1d47e3527 web: Avoid array.at() for browser compatibility 2023-05-02 01:00:20 +02:00
nosamu 91bc57c67f web: Fix panic error details display
Fix regression caused by #10819
2023-05-01 08:52:46 +03:00
iwannabethedev 7b10052c26 extension: Add UI presentation for playerVersion default value. 2023-04-30 07:45:19 +03:00
iwannabethedev 1f956ffe55 web: Add extension option for setting 'playerVersion'.
Basic input validation UI and logic is also added and improved.
2023-04-29 01:09:09 +03:00
iwannabethedev e211f57f81 extension: Fix popup setting changed reload detection.
The problem seems to have been the inclusion of setting values
that the previous equality function did not handle correctly.
This function broadens the kinds of setting values that can
be handled correctly.
2023-04-28 11:06:52 +03:00
iwannabethedev b01e797e99
extension: Add option for setting max. exec. time
Add an option to the 'options' menu for the extension
for setting the maximum execution time for Actionscript
code.
2023-04-27 09:47:56 +00:00
iwannabethedev eaee14c7de web: Use default configuration in extension. 2023-04-26 23:24:53 +02:00
Toad06 f3a0652aea extension: Close `popup.html` when opening/reloading a window 2023-04-26 22:08:12 +03:00
Daniel Jacobs 24dfb82d12 web: Address save manager styling review comments 2023-04-26 14:36:49 +02:00
Daniel Jacobs 902911745b web: Use different heights for save manager 2023-04-26 14:36:49 +02:00
Daniel Jacobs 5e31ce992e web: Fix save manager styling 2023-04-26 14:36:49 +02:00
Toad06 526fe98ffb extension: Display favicon 2023-04-26 13:46:12 +02:00
Lord-McSweeney 3bf78d43f9 fmt 2023-04-26 11:20:24 +03:00
Lord-McSweeney f947351f40 Fix #10817
Create a child element instead of setting innerHTML.
2023-04-26 11:20:24 +03:00
iwannabethedev 02b8434648 web: Expand 'max_execution_duration' type in extension.
The option 'max_execution_duration' previously only supported
the type '{secs: number, nanos: number}'. Now it also supports
using floating point numbers (and integers).

Default values have been changed to use floating point numbers.
2023-04-25 23:59:51 +02:00
relrelb 5b31be2c51 web: Use `.take()` instead of setting to `None` 2023-04-25 19:09:05 +02:00
Toad06 45795c9d24 desktop/web: Add a mouse enter event 2023-04-25 18:01:49 +02:00
Toad06 1ca1435dc7 core: Detect when the mouse moves out of the stage 2023-04-25 18:01:49 +02:00
Daniel Jacobs d31828d24d web: Fix #10798 2023-04-25 17:15:41 +02:00
Aaron Hill 3bb8c8fb4f wgpu: Update wgpu to 0.16.0 and naga to 0.12.0 2023-04-25 09:24:53 -05:00
nosamu bce494b86c extension: Rearrange options to emphasize the most commonly used 2023-04-25 09:00:12 +03:00
nosamu 1e3701279c web: Add preferred renderer config 2023-04-25 09:00:12 +03:00
nosamu 569e822044 extension: Reduce code duplication 2023-04-25 08:48:59 +03:00
nosamu 9b87b31657 web: Don't inherit page CSS 2023-04-25 08:31:17 +03:00
relrelb 7af0a17d83 web: Update JSDoc lint rules
* Extend from `plugin:jsdoc/recommended-typescript-error`, which is
more suitable for TypeScript and errors by default.
* Remove default and disabled but passing rules.
* Configure `jsdoc/tag-lines` to match JSDoc style of current codebase.
2023-04-25 08:19:54 +03:00
relrelb 940a8c6658 extension: Make `Options` extend `BaseLoadOptions`
Omit config values from `DEFAULT_OPTIONS`, which are already
part of `DEFAULT_CONFIG` in `ruffle-core`. Also use spread syntax
to avoid naming each config that should pass to `ruffle-core`.
2023-04-24 22:33:59 +03:00
relrelb 957170201a web: Avoid `web_sys::Element::set_attribute`
Use type-specific setters instead.
2023-04-24 22:06:47 +03:00
relrelb cd45e95f17 web: Slightly refactor `WebNavigatorBackend::fetch` 2023-04-24 22:06:47 +03:00
relrelb 44c4737a51 web: Use `NavigationMethod::to_string` 2023-04-24 22:06:47 +03:00
relrelb ff7c458739 core: Accept borrowed strings in `NavigatorBackend::navigate_to_url`
This avoids some unnecessary clones.
2023-04-24 22:06:47 +03:00
nosamu 3cde3482f4 core: Add frame rate config option 2023-04-24 14:01:37 +02:00
nosamu 4bd11c57b3 web/docs: Display enums in source order 2023-04-24 08:49:06 +03:00
Nathan Adams a2ece35c12 chore: Updated translations from Crowdin 2023-04-24 01:42:21 +02:00
Nathan Adams bbdf2bd73e chore: Ran `crowdin pull` 2023-04-24 01:42:21 +02:00
renovate[bot] 3b3c08a354 chore(deps): lock file maintenance rust dependencies 2023-04-24 01:22:07 +02:00
renovate[bot] 30dc715c46 chore(deps): lock file maintenance node.js dependencies 2023-04-24 00:09:04 +03:00
renovate[bot] 424a45bf2b chore(deps): update node.js dependencies 2023-04-23 22:18:42 +02:00
Daniel Jacobs 256c2fe75c web: No context menu on iOS if finger moves too far on long-press
Co-authored-by: n0samu <71368227+n0samu@users.noreply.github.com>
2023-04-22 08:57:47 +02:00
Daniel Jacobs ebb14a7ab6 web: Use div element for save manager to support browsers without dialog 2023-04-21 17:28:07 +02:00
relrelb 58821163b0 web: Update current Node.js version
Per https://nodejs.org/en/about/releases/:

* Node.js 19 became "maintenance" on April 1st.
* Node.js 20 became "current" on April 18th, and will become "active LTS" on October 24th.

In order prepare for potentially breaking changes, update the tested Node.js versions from 18 and
19 to 18 and 20.

By the way, refer to JDK 20 installation, which is the latest release.
2023-04-21 16:00:17 +02:00
yangyangdaji 978650a379
i18n: Update Simplified Chinese translation
Signed-off-by: yangyangdaji <1504305527@qq.com>
Co-authored-by: urain39 <urain39@qq.com>
2023-04-21 13:49:19 +00:00
nosamu 3614437498 web: Don't duplicate context menu separators 2023-04-18 22:01:09 +02:00
nosamu ec452d91bd demo: Use forceScale option 2023-04-18 21:43:38 +02:00
p0008874 e8aa620767 i18n: Update zh-tw 2023-04-16 22:14:37 +02:00
Daniel Jacobs ddb45f2cc2 extension: Add autostart to toggle splashScreen/autoplay/unmuteOverlay 2023-04-14 22:08:23 +02:00
nosamu 76d172b5c5 docs: Fix WindowMode doc comment 2023-04-13 19:54:32 +02:00
relrelb 3ec473d36f extension: Check tools using TypeScript
This would have caught #10351.
2023-04-06 18:41:36 +03:00
yangyangdaji bc1612ae38
extension: Update simplified Chinese translation
Co-authored-by: ForeverInfinity <79129834+ForeverInfinity@users.noreply.github.com>
2023-04-06 12:52:35 +03:00
David Wendt 42a56d88a3 web: Split Firefox extension upload into a separate process that submits whatever the latest extension is 2023-04-04 20:58:28 -07:00
Lord-McSweeney 5af0eda375 web: Avoid triggering cloudflare checks
mimeTypes.item() and plugins.item() should wrap around 2^32.
2023-04-04 20:32:44 -07:00
nosamu e9a030de54 web: Use serde rename_all rule
Cuts down on some needless verbosity.
2023-04-04 16:51:38 -07:00
renovate[bot] cd3ad90d61 chore(deps): lock file maintenance rust dependencies 2023-04-02 22:00:49 -07:00
Toad06 35528913bf core: Make `ExternalInterface` support undefined values 2023-04-02 13:48:14 -07:00
Toad06 5e14aabed6 core: Make `ExternalInterface` support undefined values in browsers 2023-04-02 13:48:14 -07:00
relrelb d9feadce00 web: Run `npm run format`
In order to fix Stylelint's new `media-feature-range-notation` rule:
https://stylelint.io/user-guide/rules/media-feature-range-notation/
2023-04-01 13:11:23 +03:00
relrelb 479926cdba web: Migrate to TypeScript 5.0.0
Work around the newly introduced `--verbatimModuleSyntax` flag:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#verbatimmodulesyntax
2023-04-01 13:11:23 +03:00
renovate[bot] 0e887411cc chore(deps): update node.js dependencies 2023-04-01 13:11:23 +03:00
Daniel Jacobs 4c50e2c271 demo: Add option to reload the current SWF 2023-04-01 01:46:03 -07:00
Daniel Jacobs f02e4a71d6 web: Give proper precedence to extension config when it is used 2023-03-31 03:03:11 -07:00
relrelb 798588dd94 extension: Disallow content script to import `ruffle-core`
Use the `@typescript-eslint/no-restricted-imports` rule in order to
prevent #10422 from regressing. Ideally we wouldn't need to specify
each dependency of `content.ts` (i.e. `utils.ts` and `common.ts`),
but I haven't found any better way.
2023-03-30 01:08:13 +03:00
relrelb b0eb1057f1 web: Run `npm run format` 2023-03-28 23:43:02 +03:00
renovate[bot] a7ffae1453 chore(deps): lock file maintenance node.js dependencies 2023-03-28 23:43:02 +03:00
nosamu e19f63c3c6 web: Small CSS fixups for save manager 2023-03-28 10:37:59 +03:00
Lord-McSweeney eacb4498fb web: Fix XML document detection 2023-03-28 09:13:10 +03:00
Mike Welsh 7d75f9ecf8 chore: Always rebuild TypeScript
Pass `--force` to tsc to always force a recompile of the
TypeScript on build.

`tsc` won't rebuild files if the source hasn't changed, but we
want `build-info.js` to always be updated.
2023-03-26 09:52:37 -07:00
Daniel Jacobs b7c20a6c60 extension: Give precedence to toggles over default options (fixes #5825)
Also fixes #5696
2023-03-25 22:57:57 -07:00
relrelb c68a4b0099 web: Remove deprecated `indentation` Stylelint rule
Stylelint 15.0.0 deprecated `indentation`: https://stylelint.io/migration-guide/to-15
Prettier already enforces indentation, so it can be removed from
`.stylelintrc.yaml`.
2023-03-25 10:16:49 +03:00
relrelb 3c69bb27db web: Enforce ESLint's `spaced-comment` rule 2023-03-25 10:03:55 +03:00
relrelb 39b53c76d6 ci: Deny warnings on Web
As suggested in https://github.com/ruffle-rs/ruffle/pull/6935#pullrequestreview-967181111.
2023-03-24 19:16:32 -07:00
David Wendt 37e1bdb43a chore: `Promise.all` needs an array 2023-03-24 20:03:11 -06:00
Daniel Jacobs 2ced2d2300 web: Don't polyfill with self-hosted Ruffle while extension is loading 2023-03-24 17:58:54 -07:00
Wumbo f6a139235b web: Increase spacing between Ruffle logo and options 2023-03-25 00:27:06 +03:00
Wumbo 8d56c8b7ad web: Change Ruffle logo hover animation 2023-03-25 00:27:06 +03:00
Wumbo 07a09d3204 web: Improve styling of nightly watermark in extension menu 2023-03-25 00:27:06 +03:00
nosamu f97827ef9c web: Display config parse errors 2023-03-22 16:51:55 -07:00
TÖRÖK Attila f8ea7acb14 web/audio: nit: Rename probation_time to probation_elapsed everywhere 2023-03-22 16:14:55 -07:00
renovate[bot] d7c842a139 chore(deps): lock file maintenance rust dependencies 2023-03-21 14:27:27 +01:00
Daniel Jacobs 9832ee5845 web: Remove else from save manager, unneeded with early return 2023-03-21 08:47:16 +01:00
Daniel Jacobs fe17ca8832 web: Don't replace save if user does not confirm needed reload 2023-03-21 08:47:16 +01:00
Daniel Jacobs f123b5e50c web: Don't break Ruffle when localStorage is unavailable 2023-03-21 08:47:16 +01:00
Daniel Jacobs d2e7d8ba7a web: Improve save manager styling 2023-03-21 08:47:16 +01:00
Daniel Jacobs 0cbfaf4a3e Add confirmation for delete and reload content for delete conflict 2023-03-21 08:47:16 +01:00
Daniel Jacobs 92618f6894 web: Alow download sol to work on extension page by avoiding fetch 2023-03-21 08:47:16 +01:00
Daniel Jacobs 9671f7ccac web: Close Save Manager when clicking outside of it 2023-03-21 08:47:16 +01:00
Daniel Jacobs 509d273073 web: Make all save manager functions private 2023-03-21 08:47:16 +01:00
Daniel Jacobs ef3220e77d web: Only accept sol files in save manager 2023-03-21 08:47:16 +01:00
Daniel Jacobs 320edd3c0f web: Allow duplicate key replacement to reload page 2023-03-21 08:47:16 +01:00
Daniel Jacobs 10f35781fc web: Add title text to save table keys in case of name duplicates 2023-03-21 08:47:16 +01:00
Daniel Jacobs f71723c082 web: Only show context menu item for save manager when saves exist 2023-03-21 08:47:16 +01:00
Daniel Jacobs 94ff2891e9 web: Don't allow arbitrary upload of save files for technical reasons 2023-03-21 08:47:16 +01:00
Daniel Jacobs 54ad95beb3 web: Make save manager completely functional 2023-03-21 08:47:16 +01:00
Daniel Jacobs 824cc1689c web: [WIP] Add Save Manager to context menu 2023-03-21 08:47:16 +01:00
renovate[bot] f6f646a756 chore(deps): lock file maintenance rust dependencies 2023-03-19 19:45:30 -07:00
David Wendt 1a266bafeb web: Fix extension source code upload (again) 2023-03-19 14:08:28 -07:00
MrCheeze 9e71ea9124 web: Allow ExternalInterface.call to call methods of primitive types (close #9105) 2023-03-19 07:18:01 +01:00
relrelb 156c76cb94 web: Simplify custom context menu separators logic
Instead deduplicating separators in `RufflePlayer.showContextMenu()`
using DOM attributes, do it right in `RufflePlayer.contextMenuItems()`,
using a simpler approach.
2023-03-18 02:10:08 -07:00
TÖRÖK Attila 63a1689c07 web/audio: Require quick fills for a fixed amount of time before shrinking buffers
Instead of a fixed number of buffer fills, which changes wildly in duration.
2023-03-16 05:28:13 +01:00
TÖRÖK Attila 6f9532e322 web/audio: Introduce a warmup period to not increase buffer size right at startup 2023-03-16 05:28:13 +01:00
Nathan Adams 1bb8515d85 chore: Update avm2 compatibility warning to be less severe 2023-03-15 15:30:25 -07:00
Daniel Jacobs 5a1b43008b web: Remove Config object; it was never a correct type for the config 2023-03-15 11:45:00 +01:00
Oleksandr Kalko 1b3f23a750 chore: Upgrade Node.js dependencies 2023-03-12 23:36:09 +01:00
TÖRÖK Attila 3a8ee003e4 web/audio: Make buffer size adaptive 2023-03-11 22:34:54 +01:00
Oleksandr Kalko e16ff7d677 web: Remove `stylelint-config-prettier` package
From package npm page:

> As of Stylelint v15 all style-related rules have been deprecated. If you are using v15 or higher and are not making use of these deprecated rules, this plugin is no longer necessary.

Stylelint was upgraded to 15.0.0 on 68078dc commit
2023-03-11 13:34:14 +01:00
David Wendt 6fd6279344 web: Fix copy-pasted code that breaks in sign_xpi.js 2023-03-10 18:09:58 -07:00
David Wendt f4354a638e web: Remove the find-the-version-ID extra step and use the version number directly
Mozilla actually added this feature in the middle of me building out this PR. How handy!
2023-03-10 16:38:01 -07:00
David Wendt e276b8cedb web: Since we don't get version IDs for newly-submitted extensions, search the Mozilla API for the given version instead. 2023-03-10 16:38:01 -07:00
David Wendt a39036102d web: First attempt at hacking in source code upload to Mozilla's signing tool.
We're abusing their v4 API implementation to make v5 API requests, which might not work; hopefully the authentication scheme is the same.

Furthermore, I'm assuming that the v4 sign response gives you a version ID that is valid for v5 `/addons/addon` requests.
2023-03-10 16:38:01 -07:00
Oleksandr Kalko aca4b03c0b chore: Run `npm audit fix`
npm update causes dependency conflict
This gets rid of vulnerability warning after `npm install`
2023-03-07 18:25:55 +01:00
renovate[bot] 68078dcccc chore(deps): update node.js dependencies 2023-03-06 21:56:57 +01:00
Nathan Adams 806c0fe052 web: Only report log events to browser timing api if new `profiling` feature is enabled 2023-03-05 10:29:17 +01:00
Nathan Adams 25db37790c web: Also set up logging for Buffer::play() 2023-03-05 10:29:17 +01:00
Nathan Adams b38dbadad6 web: Fixed missing logs when using `log` 2023-03-05 10:29:17 +01:00
Nathan Adams d213bc6f7f web: Make sure we set the log subscriber in futures 2023-03-05 10:29:17 +01:00
Daniel Jacobs 5944bae33b web: Log a message when the preloader configuration option is false 2023-03-02 10:51:36 +02:00
Daniel Jacobs 3051e66960 web: Mark shadow-DOM elements as readonly 2023-03-02 10:51:36 +02:00
Daniel Jacobs a63f520449 web: Change preloader name while keeping old name for compatibility 2023-03-02 10:51:36 +02:00
Nathan Adams b10d4876d3 web: Add compatibilityRules config option to disable all compatibility rules 2023-03-01 21:25:19 +01:00
Nathan Adams ef42a391f5 core: Add default_compatibility_rules as a feature, and document when we add rules 2023-03-01 21:25:19 +01:00
Daniel Jacobs c891a82440 web: Don't focus inside setTimeout on iOS and don't fire unneeded events 2023-03-01 08:15:58 +02:00
Daniel Jacobs 584cb4c1cf web/ui: Open the virtual keyboard when clicking an editable EditText 2023-03-01 08:15:58 +02:00
Daniel Jacobs b9b1fa4f8d web: Add context menu item to show virtual keyboard
Co-authored-by: n42k <pedro@amaro.sh>
2023-03-01 08:15:58 +02:00
relrelb b3fd1a47c6 core: Require `SwfMovie::url` 2023-02-28 19:05:20 +02:00
relrelb e6f09d5adb web: Use `#[wasm_bindgen(raw_module)]`
Since relative paths in `#[wasm_bindgen(module)]` aren't supported.
Also omit the file extension as it's not required.
2023-02-28 18:50:36 +02:00
relrelb 8ff8b32f7b web: Use `js_sys::Error`
Instead of declaring it ourselves.
2023-02-28 18:50:36 +02:00
Toad06 df309ba4cd web: Fix broken extensions 2023-02-27 12:19:13 +02:00
p0008874 23192b4149
i18n: Update zh-tw (#9749) 2023-02-26 23:02:10 +02:00
creeper-0910 7a029af2f4 Added translation of settings screen 2023-02-26 16:08:42 +02:00
creeper-0910 a36ef7fd0c Update Japanese locale files 2023-02-25 17:08:32 +02:00
relrelb 3f412a54b6 web: Wrap "comments" in `package.json` to a maximum of 100 characters per line 2023-02-25 16:18:38 +02:00
relrelb 1592d26afe web: Take advantage of npm pre & post scripts
To logically separate between WebAssembly (pre)build, TypeScript
build, and `set_version.js` postbuild.
More info at: https://docs.npmjs.com/cli/v9/using-npm/scripts#pre--post-scripts
2023-02-25 16:18:38 +02:00
relrelb f181794b46 web: Rename some scripts to improve clarity
* `build:ruffle_web` -> `build:wasm-vanilla`
* `build:ruffle_web-wasm_extensions*` -> `build:wasm-extensions*`
* `build:cargo_bindgen_opt` -> `build:wasm`
2023-02-25 16:18:38 +02:00
relrelb 17ac6c79d3 web: Reduce script duplication
By introducing the `$WASM_BINDGEN_FLAGS` and `$WASM_OPT_FLAGS`
environment variables, similarly to what already done with `$CARGO_FLAGS`.
2023-02-25 16:18:38 +02:00
relrelb 3035dd7161 web: Use `Closure::new()`
`Closure::new()` works on stable Rust since wasm-bindgen 0.2.81.
Use it in place of `Closure::wrap()` for more concise code.
2023-02-25 11:20:10 +02:00
relrelb 79cc42c739 web: Use TypeScript project references
This slightly improves TypeScript build times, and allows LSP to work
across packages without building `ruffle-core`.

Official documentation at:
https://www.typescriptlang.org/docs/handbook/project-references.html
2023-02-25 02:00:23 +02:00
relrelb 9f8419a145 web: Change `ruffle-core` output directory to `dist`
This aligns with the other packages.
2023-02-24 12:43:01 +02:00
Daniel Jacobs bcbf8c9108
web: Allow context menu to work on iOS using PointerEvents (#9598)
Co-authored-by: nosamu <71368227+n0samu@users.noreply.github.com>
2023-02-23 12:47:08 +02:00
relrelb 52e395ecca extension: Use `@tsconfig/strictest` 2023-02-22 21:39:12 +02:00
relrelb 140e1fcfee web: Use `@tsconfig/strictest` 2023-02-22 21:39:12 +02:00
nosamu 70bf0a816a core: Add options to set and force stage scale mode 2023-02-22 12:13:20 +02:00
relrelb 94db943743 web: Enforce ESLint's `prefer-const` rule 2023-02-19 14:09:43 +02:00
relrelb 1581123284 web: Miscellaneous tiny cleanups 2023-02-18 16:35:59 +02:00
relrelb a7f41f4df5 web: Add missing access modifiers 2023-02-18 16:35:59 +02:00
relrelb b36643f52d web: Cleanup some comments 2023-02-18 16:35:59 +02:00
relrelb 903f8bc33a web: Enforce ESLint's `no-constructor-return` rule 2023-02-18 16:35:59 +02:00
relrelb f68542991f web: Enforce ESLint's `curly` rule 2023-02-18 16:35:59 +02:00
relrelb 87ecbcc066 web: Remove `InternalContextMenuItem` type
Simply declare it inline.
2023-02-18 16:35:59 +02:00
David Wendt cc7d160d07 web: Automatically inject plugin-polyfill.ts into content.ts as a string.
The prior version of this code used a hardcoded copy of the script. Not only is this an outdated version of the code, this also caused us to fail our addons.mozilla.org audit.
2023-02-15 21:27:14 -07:00
David Wendt efc6254366 web: Build a separate plugin polyfill target file.
A future commit will add a mechanism to inject this into `content.ts` in lieu of the old copy of this file.
2023-02-15 21:27:14 -07:00
David Wendt 85f544a6cc web: Break out all the Flash identifier strings into a separate module and make `plugin-polyfill.ts` only import that. 2023-02-15 21:27:14 -07:00
David Wendt e6b9eb7df9 web: Extension build needs to seal the Firefox extension ID. 2023-02-14 18:49:58 -07:00
renovate[bot] a27bd66b58 fix(deps): update rust dependency patches 2023-02-13 04:59:31 +01:00
Aaron Hill c597f9f996 core: Fix Clippy lints on nightly 2023-02-13 03:38:54 +01:00
Nathan Adams d6abf24a81 chore: Update docs andf actions to wasm-bindgen-cli 0.2.84 2023-02-13 02:57:52 +01:00
renovate[bot] fed24aa243 fix(deps): update rust dependencies - wasm-bindgen related 2023-02-13 02:57:52 +01:00
Aaron Hill 4e0dce2efa core: Make SandboxType configurable, and set to 'remote' on web
The Newgrounds API checks `Security.sandboxType` to see if it should
run in debug mode or not (which determines whether or not medals
can actually be unlocked).

For now, desktop continues to use `localTrusted` as the default,
while web now uses `remote`. We might want to make this configurable
at some point, but this should be good enough for now (and better
match Flash's behavior).
2023-02-11 14:44:11 -06:00
Nathan Adams 6fbdbd8c72 web: Removed old sample_count default 2023-02-06 16:08:04 +01:00
Nathan Adams a220703618 core: Made PlayerBuilder take quality instead of setting it after the Player was made 2023-02-06 16:08:04 +01:00
Nathan Adams 12bd38b338 core: Changed Player::set_quality to take in a StageQuality directly 2023-02-06 16:08:04 +01:00
renovate[bot] 7c46fb207b chore(deps): update dependency @types/chrome to ^0.0.212 2023-02-04 15:19:58 +01:00
David Wendt d448809f6c web: Docker builds should also use the reproducible pipeline. 2023-02-02 20:00:42 -07:00
hanshenrik 120e80603c install wasm-opt from Conda 2023-02-02 19:34:52 -07:00
divinity76 4fcd6fe47e nitpicking
- setup_lts.x already run `apt-get update` internally so it's a waste of time to run it manually afterwards.
- the wget url wasn't quoted properly. incidentally the url doesn't actually need quoting anyway, which is why it wasn't caught.
- misc
2023-02-02 19:34:52 -07:00
divinity76 4734e542db ugly hack to re-try binaryen download if its 404!?
shouldn't really happen, shouldn't really be required, but..
2023-02-02 19:34:52 -07:00
divinity76 2621044669 manually install binaryen v111
Ubuntu 22.04's default binaryen is too old (105)
2023-02-02 19:34:52 -07:00
divinity76 6ddc19a417 add back git
ref https://github.com/ruffle-rs/ruffle/pull/9121#issuecomment-1384525188
2023-02-02 19:34:52 -07:00
divinity76 cc3ec8a795 derp 2023-02-02 19:34:52 -07:00
divinity76 61ad5307f7 Dockerfile make dual-wasm optimized build
- compiling from Docker is a slow way to compile anyway (because "COPY . ruffle" and "npm install" is un-cached, and virtualization overhead), so people who want minimal compilation time shouldn't use Docker compile anyway. (switching to :dual-wasm increased build time from 8m20s to 11m10s on my ancient 2011 server, 4x xeon E7-4870)
- seems "docker cp" does not actually overwrite the firefox_unsiged.xpi file if it already exists, for reasons unclear to me, so i added "rm -rf" to the sample invocation
- git wasn't actually used in docker build process, removed git from apt-get (rustup use the git protocol internally but doesn't seem to use the actual git executable)
2023-02-02 19:34:52 -07:00
David Wendt 4c8b225ddd web: Version seal needs to run inside `npm` in order to get a version number 2023-01-31 15:57:30 +01:00
David Wendt 6ad6912309 web: Seal version data in the extension manifest, too. 2023-01-30 17:58:57 +01:00
nosamu cfa3363416 web: Construct SwfMovie with spoofed URL when loaded from data 2023-01-29 17:55:55 +01:00
CUB3D 56fd9adbf9 web: Add key code for NumpadEnter 2023-01-24 22:12:32 -06:00
David Wendt d280d44eed chore: JS-side lints 2023-01-23 10:40:26 +01:00
David Wendt 77bfade934 core: Allow storing build info in a JSON file for reproducible builds. 2023-01-23 10:40:26 +01:00
Aaron Hill 8717aff938 web: Split out npm build of 'ruffle-core' from other npm modules
Running 'npm run build --workspaces' will run the 'build' script for all
workspaces, even if one fails. Since all of the other workspaces depend
on 'ruffle-core', running them after a ruffle-core build failure just
produces useless errors in the CI logs.
2023-01-21 16:15:19 -05:00
Nathan Adams 5878bb0c5d web: Enable wgpu-webgl by default 2023-01-16 23:33:49 +01:00
Nathan Adams 4117eece3b web: Indicate when we used cached debug info 2023-01-16 23:18:42 +01:00
Nathan Adams 6f967d4b3c web: Cache the output of render debug info in case of panics 2023-01-16 23:18:42 +01:00
Lord-McSweeney d849e98902 Fix web/src/lib.rs typo (plaver_version) 2023-01-16 17:49:24 +01:00
Lord-McSweeney 8cef9b65a1 Fix playerVerion misspelling
...and also add punctuation to docs.
2023-01-16 17:49:24 +01:00
Lord-McSweeney 4049acee66 Update config.ts 2023-01-16 17:49:24 +01:00
Nathan Adams 42cbd72e3a chore(deps): Update base64 from 0.20.0 to 0.21.0 2023-01-10 16:06:10 +01:00
nosamu 21c65252f5 web: Warn about root movie fetch over file protocol 2023-01-10 13:34:06 +01:00
CUB3D 11982c6d7d web: Allow specifying player version 2023-01-10 13:13:30 +01:00
Nathan Adams 073da83568 web: Disallow unwrap() and unwrap_err() in web crate 2023-01-10 11:10:46 +01:00
Nathan Adams 9d3adfd170 web: Removed unwraps in navigator backend 2023-01-10 11:10:46 +01:00
Nathan Adams 9e16a9f75c web: Removed unwraps in audio backend 2023-01-10 11:10:46 +01:00
Nathan Adams 72a7b2a34d web: Removed unwraps in safari extension 2023-01-10 11:10:46 +01:00
Nathan Adams fe49f7b872 web: Temporarily disable cors test as it's too slow for runners 2023-01-09 20:14:05 +01:00
hanshenrik cbbc789c4e Dockerfile to build web
usage:
run this file from ruffle root dir (not the docker dir) like
docker build --tag ruffle-web-docker -f web/docker/Dockerfile .
docker cp $(docker create ruffle-web-docker:latest):/ruffle/web/packages web/docker/docker_builds/packages
2023-01-08 12:02:38 -05:00
Aaron Hill 1b71e288fd Remove 'gc_context lifetime
The latest `gc-arena` makes this unnecessary - we can just
use our `'a` lifetime for `MutationContext`
2023-01-06 19:20:39 -05:00
Nathan Adams e2b9f6c1c4 web: Switch from console_log to tracing-wasm 2023-01-06 04:25:22 +01:00
Nathan Adams eec68365a6 web: Switch from log to tracing 2023-01-06 04:25:22 +01:00
Nathan Adams a69d30bb67 render: Add debug info method to renderer backends 2023-01-05 05:51:32 +01:00
dependabot[bot] 4919e2a638 build(deps-dev): bump @types/chrome from 0.0.200 to 0.0.206 in /web
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.200 to 0.0.206.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 00:44:35 +02:00
dependabot[bot] 81c2b3bb4a build(deps): bump chromedriver from 106.0.1 to 108.0.0 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 106.0.1 to 108.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/106.0.1...108.0.0)

---
updated-dependencies:
- dependency-name: chromedriver
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 12:21:05 +02:00
dependabot[bot] 1e537bc2ea build(deps-dev): bump stylelint-config-standard in /web
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 28.0.0 to 29.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/28.0.0...29.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 09:58:42 +02:00
Lord-McSweeney 9fecbc391c Fix incorrect line-height being inherited
Sets line-height to default on Ruffle's shadow-root, preventing incorrect line-height inheritance from the document.
2023-01-04 08:43:13 +01:00
relrelb cac287e1b9 web: Bump `wdio` dependencies
The upgraded dependencies require each other, thus they must updated
in a single commit.
2023-01-03 16:39:22 -07:00
dependabot[bot] 1aa5dae6eb build(deps-dev): bump @wdio/local-runner from 7.24.0 to 8.1.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner) from 7.24.0 to 8.1.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.1.0/packages/wdio-local-runner)

---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 16:39:22 -07:00
dependabot[bot] 2a4de9645a build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-static-server-service) from 7.25.4 to 8.1.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.1.0/packages/wdio-static-server-service)

---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 16:39:22 -07:00
dependabot[bot] a8610dc2a1 build(deps-dev): bump @wdio/mocha-framework from 7.20.7 to 8.1.0 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework) from 7.20.7 to 8.1.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.1.0/packages/wdio-mocha-framework)

---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 16:39:22 -07:00
nosamu 0c5ef4133b web: Make ChromeDriver dependency optional 2023-01-03 09:39:06 +01:00
dependabot[bot] 0463eed90a 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 5.45.0 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 09:45:31 +02:00
dependabot[bot] 7f1e07421d build(deps-dev): bump prettier from 2.7.1 to 2.8.1 in /web
Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 09:27:30 +02:00
dependabot[bot] 65c9c61f75 build(deps-dev): bump webpack-cli from 4.10.0 to 5.0.1 in /web
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.1.
- [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/webpack-cli@4.10.0...webpack-cli@5.0.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 09:02:08 +02:00
dependabot[bot] 83847dd843 build(deps-dev): bump sign-addon from 5.0.0 to 5.2.0 in /web
Bumps [sign-addon](https://github.com/mozilla/sign-addon) from 5.0.0 to 5.2.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases)
- [Commits](https://github.com/mozilla/sign-addon/compare/5.0.0...5.2.0)

---
updated-dependencies:
- dependency-name: sign-addon
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 22:43:12 -07:00
dependabot[bot] 99d8dd8707 build(deps-dev): bump mocha from 10.1.0 to 10.2.0 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 10.1.0 to 10.2.0.
- [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/v10.1.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 22:01:15 -07:00
dependabot[bot] 0323e6bf70 build(deps-dev): bump @wdio/cli from 7.25.1 to 7.29.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli) from 7.25.1 to 7.29.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v7.29.1/packages/wdio-cli)

---
updated-dependencies:
- dependency-name: "@wdio/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 21:16:20 -07:00
dependabot[bot] 766c34c215 build(deps-dev): bump css-loader from 6.7.1 to 6.7.3 in /web
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.1 to 6.7.3.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.3)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 20:56:39 -07:00
Nathan Adams af9b1f1dec wgpu: Temporarily disable msaa on phones until wgpu upgrade 2023-01-03 03:39:13 +01:00
Nathan Adams 81f4741300 wgpu: Default msaa on mobiles to 2x, same as webgl backend 2023-01-03 03:39:13 +01:00
dependabot[bot] 0f5c47beb2 build(deps-dev): bump json5 from 2.2.1 to 2.2.2 in /web
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 09:36:23 +02:00
David Wendt efc02bb299 docs: We also support JREs. 2022-12-30 22:14:49 -07:00
David Wendt 76d08d86e2 docs: Document Java in the web version README, too 2022-12-30 22:14:49 -07:00
dependabot[bot] 6f430bb40d build(deps): bump serde from 1.0.151 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 10:55:35 +02:00
dependabot[bot] 9db6ace65f build(deps): bump serde from 1.0.150 to 1.0.151
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.150 to 1.0.151.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 00:48:45 +01:00
Adrian Wielgosik c43427e070 web: Don't unnecessarily borrow-mut instance on mouse-down 2022-12-19 13:48:26 -08:00
nosamu f92be1c798 web: Make RufflePluginArray iterable 2022-12-19 11:56:18 -08:00
nosamu 3a98981030 web: Add CORS panic error message with FAQ link 2022-12-19 11:21:38 -08:00
Mike Welsh db5e8709e9 chore: Add symphonia attribution in LICENSE.md 2022-12-17 22:48:42 -08:00
Mike Welsh c30eb38741 audio: Rename symphonia feature to mp3 2022-12-17 22:48:42 -08:00
Mike Welsh 696c9062d3 chore: Inherit cargo metadata from workspace
Use workspace inheritance added in Rust 1.64 to de-duplicate
various settings across all packages.
2022-12-16 15:53:59 -08:00