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
Mike Welsh
b57d30ec57
extension: Disable minification
...
Extension marketplaces recommend avoiding minifying JS code, as it
does not provide benefit for local files and inhibits the review
process.
2022-12-15 13:13:41 -08:00
nosamu
52d94a4a13
web: Fix strings using buildInfo variables
2022-12-14 10:01:35 +01:00
relrelb
54d59b0ab6
web: Fix TypeScript 4.9 upgrade
...
Per the last paragraph in https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#in-narrowing ,
TypeScript 4.9 checks that the right side of `in` operator is assignable
to `object`.
Since we can't guarantee that in the `Reflect.has()` polyfill, add
a `@ts-expect-error` annotation to avoid build failure.
2022-12-14 07:30:34 +02:00
dependabot[bot]
bbcaa438c0
build(deps-dev): bump typescript from 4.8.2 to 4.9.4 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.2 to 4.9.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.2...v4.9.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 07:30:34 +02:00
aidanbabo
d14ce5243f
web: Add version number requested in #8021
...
Change the compile time "macros" such as `%VERSION_NUMBER%` to be
contained in only one file `build-info.ts`.
Closes #8021
2022-12-13 22:49:20 +01:00
Callum Thomson
20c9a3d765
AVM2: Implement System.setClipboard ( #8751 )
...
* avm2: Implement System.setClipboard
* web: Add comment to set_clipboard_content
2022-12-13 01:05:23 +01:00
dependabot[bot]
d6fd077416
build(deps): bump base64 from 0.13.1 to 0.20.0
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.1 to 0.20.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.1...v0.20.0 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 23:09:05 +01:00
dependabot[bot]
b1c4e6f143
build(deps): bump serde from 1.0.149 to 1.0.150
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.149 to 1.0.150.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150 )
---
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-12 21:21:45 +01:00
p0008874
1d6820c55b
extension: Add unlisted warn_on_unsupported_content translate + Minor fixes.
2022-12-06 20:29:13 +01:00
dependabot[bot]
16198bd2d2
build(deps): bump qs from 6.5.2 to 6.5.3 in /web
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 19:56:33 +01:00
dependabot[bot]
3b285f8cf2
build(deps): bump serde from 1.0.148 to 1.0.149
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.148 to 1.0.149.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149 )
---
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-05 22:35:48 +01:00
p0008874
55c2c5e5c5
extension: add traditional-chinese localization
...
Still not perfect but decent.
2022-12-05 21:04:41 +01:00
David Wendt
b323c086a9
chore: Another empty commit to fix formatting nits
2022-12-02 20:05:13 -05:00
David Wendt
3550ccb6e0
chore: Empty commit that technically changes a file for CI purposes
2022-12-02 19:58:54 -05:00
Marco Grassi
bcf9badc8c
add italian localization to the extension
2022-12-02 10:33:20 +01:00
dependabot[bot]
911427f4c0
build(deps-dev): bump eslint-plugin-jsdoc from 39.3.4 to 39.6.4 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 39.3.4 to 39.6.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.4...v39.6.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 10:01:10 +01:00
dependabot[bot]
1cb797cb88
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.42.0 to 5.45.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.45.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>
2022-12-02 01:09:11 +01:00
dependabot[bot]
3554b041b4
build(deps-dev): bump stylelint-config-prettier in /web
...
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v9.0.3...v9.0.4 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 00:12:02 +01:00
dependabot[bot]
d3a0290bac
build(deps-dev): bump stylelint from 14.14.0 to 14.15.0 in /web
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.14.0 to 14.15.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...14.15.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 23:50:16 +01:00
dependabot[bot]
df55c09ebc
build(deps-dev): bump @types/mocha from 10.0.0 to 10.0.1 in /web
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 23:36:35 +01:00
dependabot[bot]
83487ae5d1
build(deps): bump serde from 1.0.147 to 1.0.148
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 10:04:26 +01:00
Marco Grassi
0c851ecfde
don't include all the features in chrono to avoid including the vulnerable time dependency
2022-11-26 14:04:59 -05:00
Marco Grassi
ad81b3bf14
upgrade lock and toml dependencies
2022-11-26 14:04:59 -05:00
Toad06
1cb2678013
web: Add `has` and `ownKeys` methods to the `Reflect` polyfill
2022-11-14 21:31:08 +02:00
relrelb
2e04ccc8fe
web: Update `package-lock.json`
...
Using `npm audit fix`
2022-11-06 20:36:33 +02:00
relrelb
b52ae03759
extension: Convert tools to ESM
2022-11-06 20:36:33 +02:00
relrelb
6dbf78ae59
web: Fix `temp-dir` upgrade
...
`temp-dir` 3.0.0 is now pure ESM. As such, it no longer can be `require`d.
To workaround this, use `await import` instead.
In the long-term, it might be worth converting the `sign_xpi.js`
script itself to ESM.
2022-11-03 00:37:08 +02:00
dependabot[bot]
807f1f6690
build(deps-dev): bump mocha from 10.0.0 to 10.1.0 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 10.0.0 to 10.1.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.0.0...v10.1.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 15:56:35 +02:00
dependabot[bot]
a9964fa91e
build(deps-dev): bump @wdio/spec-reporter from 7.20.8 to 7.25.4 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 7.20.8 to 7.25.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.25.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.8...v7.25.4 )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:54:17 +02:00
dependabot[bot]
2f195d1ea1
build(deps-dev): bump typedoc from 0.23.15 to 0.23.19 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.23.15 to 0.23.19.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.23.15...v0.23.19 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:19:50 +02:00
dependabot[bot]
66a9f25601
build(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1 in /web
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 4.0.0 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.0.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 13:25:48 +02:00
dependabot[bot]
c20f1abeee
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.32.0 to 5.42.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.42.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>
2022-11-02 13:02:46 +02:00
dependabot[bot]
b339715602
build(deps-dev): bump stylelint from 14.11.0 to 14.14.0 in /web
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.11.0 to 14.14.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.11.0...14.14.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 11:55:53 +02:00
dependabot[bot]
b2cd5d9453
build(deps): bump wasm-feature-detect from 1.2.11 to 1.3.0 in /web
...
Bumps [wasm-feature-detect](https://github.com/GoogleChromeLabs/wasm-feature-detect ) from 1.2.11 to 1.3.0.
- [Release notes](https://github.com/GoogleChromeLabs/wasm-feature-detect/releases )
- [Commits](https://github.com/GoogleChromeLabs/wasm-feature-detect/commits/v1.3.0 )
---
updated-dependencies:
- dependency-name: wasm-feature-detect
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 09:52:51 +02:00
dependabot[bot]
663182cd49
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.25.1 to 7.25.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.25.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.25.1...v7.25.4 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 09:16:05 +02:00
dependabot[bot]
d0989f4261
build(deps-dev): bump @types/chrome from 0.0.197 to 0.0.200 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.197 to 0.0.200.
- [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>
2022-11-02 00:46:45 +02:00
dependabot[bot]
804845b524
build(deps-dev): bump temp-dir from 2.0.0 to 3.0.0 in /web
...
Bumps [temp-dir](https://github.com/sindresorhus/temp-dir ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/sindresorhus/temp-dir/releases )
- [Commits](https://github.com/sindresorhus/temp-dir/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: temp-dir
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 00:16:26 +02:00
relrelb
89f3445d62
swf: Introduce and use `Rectangle::width()` and `Rectangle::height()`
2022-11-01 09:49:04 +02:00
Aaron Hill
68471723b3
core: Fix clippy format string lint
2022-10-27 08:49:39 +03:00
dependabot[bot]
a1ab480a34
build(deps): bump base64 from 0.13.0 to 0.13.1
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 13:09:37 +03:00
dependabot[bot]
d589130634
build(deps): bump serde from 1.0.145 to 1.0.147
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 09:54:26 +03:00
relrelb
c76bc5f61d
web: Update Node.js versions
...
Per https://nodejs.org/en/about/releases/ :
* Node.js 16 became "maintenance" and Node.js 19 became "current" on October 18.
* Node.js 18 will become "active LTS" on October 25.
In order prepare for potentially breaking changes, update the tested Node.js
versions from 16 and 18 to 18 and 19.
2022-10-22 10:26:27 -06:00
relrelb
178bf4fe24
chore: Extract Cargo `edition` to `[workspace.package]`
...
This is possible since Rust 1.64.0: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#cargo-improvements-workspace-inheritance-and-multi-target-builds
2022-10-14 22:13:29 +03:00
relrelb
dbfd28e708
web: Bump `wasm-bindgen` to 0.2.83
...
This restores commit 084b252030
.
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
2022-10-14 21:49:40 +03:00
relrelb
5f1adc2bbf
extension: Avoid some non-null assertions
2022-10-14 11:56:44 +03:00
relrelb
acdb5ccb52
web: Remove `RufflePlayer` element existence-checks
...
They should always be present.
2022-10-14 11:56:44 +03:00
relrelb
29b661b366
web: Avoid deprecated `HTMLDocument` type
...
As suggested, use `Document` instead.
2022-10-14 11:56:44 +03:00
dependabot[bot]
414e926e6a
build(deps-dev): bump chromedriver from 104.0.0 to 106.0.1 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 104.0.0 to 106.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/104.0.0...106.0.1 )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 23:06:52 +03:00
Aaron Hill
dc5cab0d03
web: Add `detect_chromedriver_version` to `web/.npmrc`
...
I've also removed 'web/packages/selfhosted/.npmrc', which
didn't seen to be doing anything on CI.
This should prevent CI failurse when Github updates Chrome on the
runner images.
2022-10-04 14:39:44 -05:00
nosamu
7c3ddf2492
extension: Use split incognito mode in Chrome
2022-10-04 19:26:14 +02:00
dependabot[bot]
ac93f9d295
build(deps): bump serde from 1.0.144 to 1.0.145
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 16:17:36 +03:00
dependabot[bot]
758a46cb2b
build(deps-dev): bump typedoc from 0.23.10 to 0.23.15 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.23.10 to 0.23.15.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.23.10...v0.23.15 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 17:11:12 +02:00
nosamu
d8e8331957
Don't run on Twitch
...
Related to #7146 . Similarly to #2158 , Twitch has added similar page integrity protection, which prevents successful login when Ruffle is enabled.
2022-10-02 15:23:23 +02:00
dependabot[bot]
65153b94dc
build(deps-dev): bump ts-node from 10.7.0 to 10.9.1 in /web
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.7.0 to 10.9.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Changelog](https://github.com/TypeStrong/ts-node/blob/main/development-docs/release-template.md )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.9.1 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 14:52:46 +02:00
dependabot[bot]
52e4e4169e
build(deps-dev): bump @types/mocha from 9.1.1 to 10.0.0 in /web
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 9.1.1 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 14:22:51 +03:00
dependabot[bot]
72aece44c6
build(deps-dev): bump eslint from 8.23.0 to 8.24.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.23.0 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.24.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 13:04:52 +02:00
dependabot[bot]
411136c108
build(deps-dev): bump @wdio/cli from 7.24.0 to 7.25.1 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.24.0 to 7.25.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/compare/v7.24.0...v7.25.1 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 12:45:17 +02:00
dependabot[bot]
52af97a04f
build(deps-dev): bump webpack-dev-server from 4.10.1 to 4.11.1 in /web
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.10.1 to 4.11.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.10.1...v4.11.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 12:01:49 +02:00
dependabot[bot]
efaa85aa4e
build(deps-dev): bump ts-loader from 9.3.0 to 9.4.1 in /web
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.3.0 to 9.4.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.3.0...9.4.1 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 08:59:47 +03:00
dependabot[bot]
4d1a6a8d3f
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.24.0 to 7.25.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/compare/v7.24.0...v7.25.1 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 08:35:53 +03:00
dependabot[bot]
bb7a4af5a9
build(deps-dev): bump @types/chrome from 0.0.196 to 0.0.197 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.196 to 0.0.197.
- [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>
2022-10-02 07:40:08 +03:00
relrelb
a8f869329e
web: Fix config with `serde-wasm-bindgen`
...
Since `serde-wasm-bindgen` doesn't support `#[serde(default)]` (https://github.com/cloudflare/serde-wasm-bindgen/issues/20 ),
we no longer able to deserialize a partial `Config` object. As a solution,
take care to pass a full object from the TypeScript side.
2022-09-26 17:23:32 +03:00
Aaron Hill
192215634d
web: Switch to `serde-wasm-bindgen` over `serde-serialize` feature ( #8080 )
...
The `serde-serialize` feature is deprecated
(https://github.com/rustwasm/wasm-bindgen/pull/3031 ).
This solves a cyclic dependency error with aHash
2022-09-25 01:44:52 +03:00
relrelb
b5084eef25
Revert "web: Bump `wasm-bindgen` to 0.2.83"
...
This reverts commit 1954f6162f
.
2022-09-24 09:52:25 +03:00
relrelb
1954f6162f
web: Bump `wasm-bindgen` to 0.2.83
...
This reverts commit cf721d45f9
and restores
commit 084b252030
, this time without updating
`web-sys`, due to being coupled to `wgpu`.
2022-09-23 17:23:35 +03:00
Daniel Jacobs
cf721d45f9
Revert "web: Bump `wasm-bindgen` to 0.2.83"
...
This reverts commit 084b252030
.
2022-09-15 22:33:07 +02:00
relrelb
084b252030
web: Bump `wasm-bindgen` to 0.2.83
...
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
Due to https://github.com/rustwasm/wasm-bindgen/pull/3031 , use the
`serde-wasm-bindgen` crate as a replacement to the deprecated
`JsValue::from_serde` function.
2022-09-14 09:03:31 +03:00
dependabot[bot]
cf26158030
build(deps): bump url from 2.2.2 to 2.3.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.2 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.1 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 09:42:27 +03:00
Nathan Adams
c7f420dde5
wgpu: Moved WgpuRenderBackend into backend.rs
2022-09-11 09:07:53 +02:00
Nathan Adams
97110cbecd
web: Add renderer type to player debug/panic info
2022-09-04 18:55:13 -07:00
Nathan Adams
03744d46f1
web: Rename wgpu feature to webgpu, add wgpu-webgl feature to use webgl through wgpu
2022-09-04 18:55:13 -07:00
Nathan Adams
0ac2a3f361
wgpu: Try lower limits when full aren't available, and use uniforms for gradients if storage won't work
2022-09-04 18:55:13 -07:00
=
2b3249c9a4
core: Made core no longer depend on software video decoders
2022-09-04 17:46:58 -07:00
=
f0013bdec8
video: Moved individual decoders to software video backend
2022-09-04 17:46:58 -07:00
TÖRÖK Attila
8bb6e77525
web: Also enable the "reference-types" feature in the build with WASM extensions
2022-09-02 13:36:20 -07:00
relrelb
696514862d
extension: Migrate to TypeScript 4.8
...
Per https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to ,
`Object.entries()` no longer accepts nullable objects.
The suggested fix is to add a `T extends {}` constraint, but that's
disallowed by https://typescript-eslint.io/rules/ban-types/ . So instead
change the parameter types from `T` to `NonNull<T>`.
2022-09-02 15:58:28 +03:00
dependabot[bot]
43e4e8fb61
build(deps-dev): bump typescript from 4.7.3 to 4.8.2 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.7.3 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.8.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 15:58:28 +03:00
dependabot[bot]
667b24a7c8
build(deps-dev): bump eslint from 8.21.0 to 8.23.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.21.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.23.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 20:50:44 -07:00
dependabot[bot]
5c27c76cba
build(deps-dev): bump @wdio/cli from 7.20.1 to 7.24.0 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.20.1 to 7.24.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.24.0/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.1...v7.24.0 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 16:55:47 -07:00
dependabot[bot]
596263b4d6
build(deps-dev): bump @types/chrome from 0.0.188 to 0.0.196 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.188 to 0.0.196.
- [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>
2022-09-01 16:33:16 -07:00
dependabot[bot]
31d4a5ff88
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.20.7 to 7.24.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.24.0/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.7...v7.24.0 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 15:49:12 -07:00
dependabot[bot]
599b1ad35e
build(deps-dev): bump webpack-dev-server from 4.9.3 to 4.10.1 in /web
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.9.3 to 4.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.3...v4.10.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 15:35:39 -07:00
dependabot[bot]
a6c27bcefb
build(deps-dev): bump @wdio/local-runner from 7.19.5 to 7.24.0 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.19.5 to 7.24.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.24.0/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.19.5...v7.24.0 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 14:46:09 -07:00
dependabot[bot]
dd96e30666
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.32.0 to 5.36.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 14:21:41 -07:00
dependabot[bot]
b9df9cf04f
build(deps-dev): bump stylelint-config-standard in /web
...
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard ) from 26.0.0 to 28.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/26.0.0...28.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>
2022-09-01 23:12:15 +03:00
Daniel Jacobs
d9da45d0f2
web: Don't show loading bar when wasm Content-Length does not exist
2022-09-01 21:43:53 +03:00
nosamu
c5c619abbd
web: Correct IANA Flash MIME type
2022-08-29 02:49:23 -07:00
nosamu
4dc446825b
extension: Check more thoroughly for SWF filenames and MIME types
2022-08-29 02:49:23 -07:00
nosamu
c83ae114b2
web: Move MIME type check to its own function
2022-08-29 02:49:23 -07:00
=
f180183ec5
core: Add audio feature, made dasp optional
2022-08-28 21:10:05 -07:00
=
c6c22cebc9
core: Make nellymoser optional, enable on desktop and web
2022-08-28 21:10:05 -07:00
Daniel Jacobs
29bdd138d5
web: Don't add debug info to context menu in insecure context
...
It won't work anyway, since the Clipboard API doesn't work in insecure contexts.
2022-08-28 20:18:46 -07:00
EmperorBale
f8289b47d8
avm2: Implement call stack & stack traces ( #7564 )
...
* avm2: Implement call stack
* avm2: Class traits should have a special prefix
* avm2: Stack tracebacks should also contain error message
* avm2: Move method naming to Executable
* avm2: Handle getter and setter methods in tracebacks
* chore: Formatting
* chore: Add comments
* avm2: Make full_name write to a string, instead of creating a new one
* core: Make GcArena publicly accessible
* core: Add Deref impl for Either type
* desktop: Add AVM2 call stack to panic message
* avm2: Prefix native methods with a `/`
* chore: Appease clippy
* avm2: Check if method actually contains bytecode instead of unwrapping
* web: Add AVM2 stack trace to panic message
* chore: Formatting
* chore: Clippy
* avm2: Fix stack traces for free standing functions
* core: Remove global data from context
* core: Rename GcGlobalData to GcCallstack
* core: Introduce StaticCallstack, make GcArena private again
Co-authored-by: Adrian Wielgosik <4729533+adrian17@users.noreply.github.com>
2022-08-28 18:30:20 +02:00
relrelb
e3831d2228
web: Disallow imports not used as values
...
Configure [`importsNotUsedAsValues`](https://www.typescriptlang.org/tsconfig#importsNotUsedAsValues )
to `error`, and switch from `import` to `import type` where needed.
Also remove the `strict` configuration, as it's inherited from
`@tsconfig/recommended`.
2022-08-26 17:27:29 -07:00
Daniel Jacobs
c008cc4dea
web: Add debug info context menu item
2022-08-26 16:13:55 -07:00
=
b7dcd26c38
core: Use Cow<str> for FullscreenError in UI backend, as it can't ever be anything else
2022-08-25 23:43:21 +02:00
=
03eb769a33
render: Made render use a real Error enum and not generic box<error>
2022-08-25 23:43:21 +02:00
=
0084991e58
web: Replaced generic error in audio with JsError, as it's the only one thrown
2022-08-25 23:43:21 +02:00
=
5b5ee7d448
core: Made audio backend use actual real error enums, and not box<error>
2022-08-25 23:43:21 +02:00
dependabot[bot]
25a77869ab
build(deps): bump serde from 1.0.143 to 1.0.144
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 16:51:56 -07:00
Aaron Hill
98c7f443ce
core: Only store viewport dimensions in `RenderBackend`
...
Previously, the viewport height and width were stored in
both `Stage` and the `RenderBackend`. Any changes to the viewport
dimensions (e.g. due to window resizing) needed to be updated in both
places to keep our handling of the viewport consistent.
This PR adds a new `ViewportDimensions` type, which holds the
width, height, and scale factor. It is stored inside the
`RenderBackend` impl, and is retrieved using the newly added
method `RenderBackend.get_viewport_dimensions`. After a `Player`
has been constructed, any code that needes access to the viewport
dimensions will ultimate go through this method.
Unfortunately, `Stage` needs to use the viewport dimensions
in `build_matrices`. Therefore, any code modifying the viewport
dimensions should go through `player.set_viewport_dimensions`,
which ensures that the stage matrices are rebuilt after the render
backend is updated.
2022-08-22 13:44:30 -07:00
Adrian Wielgosik
b18329c8fe
web: Allow modifying player volume via JS
2022-08-20 11:53:42 -07:00
Daniel Jacobs
c2354c1a30
demo: Make open-modal kebab-case
2022-08-19 16:20:06 -07:00
Daniel Jacobs
d8ed2f0d01
demo: Address feedback for metadata color scheme and icon placement
2022-08-19 16:20:06 -07:00
Daniel Jacobs
a2968e6ecb
demo: Use switch statement instead of branches
2022-08-19 16:20:06 -07:00
Daniel Jacobs
7343acf65b
demo: Replace division & Math.round with bitshift (acts like Math.floor)
2022-08-19 16:20:06 -07:00
Daniel Jacobs
86f0813a79
demo: Use Object.entries for simpler code
2022-08-19 16:20:06 -07:00
Daniel Jacobs
9bd1a8c940
demo: Ensure metadata does not overflow 320 x 320 screen
2022-08-19 16:20:06 -07:00
Daniel Jacobs
92a4d7c831
demo: Add uncompressedLength to metadata on demo page
2022-08-19 16:20:06 -07:00
Daniel Jacobs
42cf08d578
demo: Show metadata on information icon click
2022-08-19 16:20:06 -07:00
Daniel Jacobs
75becaf3ba
demo: Add metadata to status bar on the page
2022-08-19 16:20:06 -07:00
Mike Welsh
82cc097084
web: Bump audio buffer size to 4096
...
Avoid stuttering on some browser & hardware configurations.
2022-08-14 20:07:05 -07:00
relrelb
d70697b4f3
web: Refactor `WebNavigatorBackend`
...
Store `base_url` as `Option<Url>` instead of `Option<String>`, so
we don't need to parse it on each URL resolve.
2022-08-14 17:49:05 -07:00
Daniel Jacobs
c5b1cf80d8
chore: Bump chromedriver to 104.0.0
2022-08-09 17:02:56 +03:00
dependabot[bot]
4603e5964e
build(deps): bump serde from 1.0.141 to 1.0.143
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.141 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.143 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 11:54:47 +03:00
relrelb
e42a6b62e6
core: Require `target` in `NavigatorBackend::navigate_to_url`
...
Make the `target` parameter just a `String` instead of an `Option<String>`.
`None` is not needed as it's totally equivalent to an empty string.
2022-08-06 11:20:03 +03:00
Daniel Jacobs
992e34764e
web: Fix metadata test by adding uncompressedLength
2022-08-03 09:17:24 +03:00
Daniel Jacobs
7105c1e803
web: Clarify uncompressed length is in bytes in metadata
2022-08-03 09:17:24 +03:00
Daniel Jacobs
ce95f01de3
web: Include uncompressed length of SWF in metadata
2022-08-03 09:17:24 +03:00
relrelb
7040397c3d
web: Fix `sign-addon` upgrade
...
`sign-addon` 5.0.0 switched to ES Modules. Therefore, it no longer
can be `require`d. As a workaround, use `await import` instead.
In the long-term, it might be worth to convert the `sign_xpi.js`
script itself to ES Modules.
2022-08-03 00:44:03 +03:00
dependabot[bot]
039f33228e
build(deps-dev): bump sign-addon from 4.1.0 to 5.0.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/4.1.0...5.0.0 )
---
updated-dependencies:
- dependency-name: sign-addon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 00:44:03 +03:00
dependabot[bot]
3b7f6976a4
build(deps): bump serde from 1.0.140 to 1.0.141
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 19:34:44 +03:00
dependabot[bot]
9a90466bb2
build(deps-dev): bump @wdio/spec-reporter from 7.19.5 to 7.20.8 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 7.19.5 to 7.20.8.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v7.20.8/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.19.5...v7.20.8 )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 18:54:42 +03:00
dependabot[bot]
0597ee3999
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.30.3 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 17:46:11 +03:00
dependabot[bot]
2a47857c1a
build(deps-dev): bump eslint from 8.18.0 to 8.21.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.18.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.21.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 16:12:30 +03:00
dependabot[bot]
ce932c83a5
build(deps-dev): bump typedoc from 0.23.3 to 0.23.10 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.23.3 to 0.23.10.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.23.3...v0.23.10 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 15:05:09 +03:00
dependabot[bot]
1a5a253be8
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.27.1 to 5.32.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.32.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>
2022-08-02 14:30:09 +03:00
dependabot[bot]
9d7651af28
build(deps-dev): bump eslint-plugin-jsdoc from 39.3.2 to 39.3.4 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 39.3.2 to 39.3.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.2...v39.3.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 12:15:35 +03:00
dependabot[bot]
5279f5f52b
build(deps-dev): bump prettier from 2.6.2 to 2.7.1 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.6.2 to 2.7.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.6.2...2.7.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 09:21:13 +03:00
dependabot[bot]
a71fbc97b3
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.20.3 to 7.20.7.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.3...v7.20.7 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 09:01:01 +03:00
dependabot[bot]
2ba82c92bc
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.20.3 to 7.20.7.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.3...v7.20.7 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 23:17:27 +03:00
Mike Welsh
9e96b075d1
ci: Build web tests with --all-features
2022-07-30 19:07:39 +02:00
Mike Welsh
8c4dcf29ee
web: Rollback to web-sys 0.3.58
2022-07-30 19:07:39 +02:00
relrelb
2827be1f80
web: Remove some unused dependencies
...
Both `byteorder` and `fnv` are no longer used since #4273 .
2022-07-29 09:42:04 -07:00
relrelb
79f36964b4
web: Bump wasm-bindgen to 0.2.82
...
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
2022-07-29 09:40:14 -07:00
Mike Welsh
ffb57467eb
audio: Add `AudioBackend::position_resolution`
...
This returns the approximate interval that the audio backend
updates the sound position information. This is used for syncing
animation to embedded "stream" audio tracks, and fixes some
stuttering in cases where the syncing was being too strict.
2022-07-28 21:25:33 -07:00
Mike Welsh
9fb46c71ad
web: Use `AudioBufferSourceNode` for web audio
...
On web:
* Mix audio on the Rust side, piping to `AudioBufferSourceNode`.
* Decode MP3 using `symphonia`.
2022-07-28 21:25:33 -07:00
relrelb
1accf2d8f9
web: Make `SourceAPI` a singleton
...
As a first step towards a simpler Web API, convert `SourceAPI` from
a class to a constant object, under the assumption that `SourceAPI`
isn't a public Ruffle API and as such is safe to be changed.
As a result the different `ruffle-core` users don't need to construct
a new `SourceAPI` instance before calling `PublicAPI.negotiate()`.
2022-07-23 10:37:33 -07:00
nosamu
01c8c38762
web: Hide loading screen when root movie download fails
2022-07-20 19:55:12 +03:00
dependabot[bot]
7336e7cbf7
build(deps): bump terser from 5.10.0 to 5.14.2 in /web
...
Bumps [terser](https://github.com/terser/terser ) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 20:06:20 -07:00
Daniel Jacobs
56adcc5665
web: Add a loading screen ( #7396 )
...
* web: Add a loading screen
* web: Workaround sometimes overwitten remove method
* web: Completely remove exact px values from preloader
* web: Add meaningless loading animation to preloader
* web: Make preloader position relative
* web: Minor preloader CSS changes
* web: Don't change autoplay/unmuteOverlay showing logic
* demo: Use preloader-background for demo
* web: Don't fully remove preloader
* web: Hide preloader loading bar if there's no content-length
* web: Fix typo in load-ruffle
* web: Show/hide playButton and unmuteOverlay based on preloader state
* web: Address preloader feedback
* web: Revert ESLint change
* web: Remove unneeded optional chaining
* web: Change load option from hasPreloader to preloader
* web: Address some preloader feedback
* web: Change margin-bottom for preloader loading anim
* web: Simplify preloader conditional
* web: Show/hide full container when hiding/showing preloader
* web: Make preloader full-size
2022-07-19 22:20:53 +03:00
nosamu
245b55a832
chore: Fix lint
2022-07-13 20:36:52 -07:00
nosamu
7c55a14c36
demo: Update swfs.json example
2022-07-13 20:36:52 -07:00
nosamu
320f84dc88
demo: Improve Sample SWF dropdown
2022-07-13 20:36:52 -07:00
dependabot[bot]
90ecdfaff5
build(deps): bump serde from 1.0.138 to 1.0.139
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 23:35:30 +03:00
nosamu
a31dd2e101
Revert "web: Add a loading screen"
...
This reverts commit bec0710175
.
2022-07-11 19:05:52 +02:00
nosamu
47d9c5220a
Revert "web: Workaround sometimes overwitten remove method"
...
This reverts commit ed4f0b98b2
.
2022-07-11 19:05:52 +02:00
nosamu
478c69f846
Revert "web: Completely remove exact px values from preloader"
...
This reverts commit 2c067fe5dd
.
2022-07-11 19:05:52 +02:00
nosamu
d79e45e49e
Revert "web: Add meaningless loading animation to preloader"
...
This reverts commit c48ca2874b
.
2022-07-11 19:05:52 +02:00
nosamu
7c522f2d66
Revert "web: Make preloader position relative"
...
This reverts commit ded77ab46a
.
2022-07-11 19:05:52 +02:00
Daniel Jacobs
ded77ab46a
web: Make preloader position relative
2022-07-10 13:30:42 -07:00
Daniel Jacobs
c48ca2874b
web: Add meaningless loading animation to preloader
2022-07-10 13:30:42 -07:00
Daniel Jacobs
2c067fe5dd
web: Completely remove exact px values from preloader
2022-07-10 13:30:42 -07:00
Daniel Jacobs
ed4f0b98b2
web: Workaround sometimes overwitten remove method
2022-07-10 13:30:42 -07:00
Daniel Jacobs
bec0710175
web: Add a loading screen
2022-07-10 13:30:42 -07:00
relrelb
f643048c1c
core: Introduce `Request`
...
Which holds both a URL and what was `RequestOptions` formerly.
2022-07-09 09:43:42 +03:00
nosamu
7fa35f2a82
web: Construct relative SWF URLs using document base
2022-07-07 08:58:04 +03:00
dependabot[bot]
55e985da8c
build(deps): bump serde from 1.0.137 to 1.0.138
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 08:43:27 +03:00
relrelb
65be2adc63
wgpu: Bump to `0.13.0`
...
Based on the work in #6717 , plus additional adaptions mentioned in
https://github.com/gfx-rs/wgpu/blob/master/CHANGELOG.md#wgpu-013-2022-06-30 ,
and more not-mentioned but required changes.
Also bump `wasm-bindgen` to `0.2.81` (along with its helper crates), as
required by the new `wgpu` version.
Note that I don't fully understand some of the required changes, notably:
* `wgpu::PresentMode::Mailbox` no longer works on my machine (Windows 11) -
The `wgpu` documentation says that `wgpu::PresentMode::Fifo` is the
only guaranteed to be supported, so I switched over to it instead.
* `self.staging_belt.recall()` doesn't return a `Future` anymore -
I assume it became synchronous so I simply removed the `executor`
from there.
2022-07-02 16:44:37 -07:00
relrelb
9b9301fbaf
chore: Appease clippy
2022-07-02 09:22:18 -07:00
dependabot[bot]
79a341d106
build(deps-dev): bump typedoc from 0.22.17 to 0.23.3 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.22.17 to 0.23.3.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.17...v0.23.3 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 01:25:17 +03:00
dependabot[bot]
99db3e5f6e
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.20.0 to 7.20.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.20.0...v7.20.3 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 00:46:55 +03:00
dependabot[bot]
1cc3660924
build(deps-dev): bump eslint from 8.17.0 to 8.18.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.17.0 to 8.18.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.18.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 00:46:40 +03:00
dependabot[bot]
94bf3bdbce
build(deps-dev): bump webpack-cli from 4.9.2 to 4.10.0 in /web
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.9.2 to 4.10.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/webpack-cli@4.9.2...webpack-cli@4.10.0 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 00:46:28 +03:00
dependabot[bot]
fa4b556e03
build(deps-dev): bump stylelint-config-standard in /web
...
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard ) from 25.0.0 to 26.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/25.0.0...26.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>
2022-07-01 23:39:13 +03:00
dependabot[bot]
31029f7414
build(deps-dev): bump chai-html from 2.0.1 to 2.1.0 in /web
...
Bumps [chai-html](https://github.com/i-like-robots/chai-html ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/i-like-robots/chai-html/releases )
- [Changelog](https://github.com/i-like-robots/chai-html/blob/main/changelog.md )
- [Commits](https://github.com/i-like-robots/chai-html/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: chai-html
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 23:33:21 +03:00
dependabot[bot]
3cc38eec1e
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.27.0 to 5.30.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.30.3/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 23:33:11 +03:00
dependabot[bot]
09621e641a
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.19.5 to 7.20.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.19.5...v7.20.3 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 23:33:01 +03:00
dependabot[bot]
ffee0deeac
build(deps-dev): bump webpack-dev-server from 4.9.1 to 4.9.3 in /web
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.9.1 to 4.9.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.1...v4.9.3 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 23:32:49 +03:00
dependabot[bot]
4872d11cf3
build(deps): bump got from 11.8.3 to 11.8.5 in /web
...
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 12:01:14 +03:00
nosamu
680ffc3bbd
docs: Minor updates ( #7264 )
...
* docs: Minor updates to README.md
Extension builds are now output to a `dist` folder, just like all other web packages.
* docs: Minor updates to extension README
The Firefox instructions only work in Firefox Developer Edition or Nightly
* docs: Minor fixes for CONTRIBUTING.md
Omit the quotes in the RUST_LOG value, since they cause an error on Windows and are unnecessary on other platforms.
Also clarify which debugging features are activated by RUST_LOG and which are activated only when building Ruffle with `avm_debug`.
* docs: Add detail to build instructions
Add more detailed instructions for building the desktop app, as suggested by @coreybruce in #7251
2022-06-22 08:45:22 +03:00
relrelb
036276dece
web: Run tests on Node.js 18
...
Which is the "current" release per https://nodejs.org/en/about/releases/ .
This is in order to be prepared for potentially incoming breaking changes.
2022-06-15 22:02:25 +03:00
dependabot[bot]
b543e07df4
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.11.0 to 5.27.1.
- [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.27.1/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>
2022-06-06 22:43:45 +03:00
dependabot[bot]
0a88969e58
build(deps-dev): bump webpack from 5.72.1 to 5.73.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 22:43:34 +03:00
dependabot[bot]
662df2a93e
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.19.5 to 7.20.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/compare/v7.19.5...v7.20.0 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:50:23 +03:00
dependabot[bot]
82d6f63114
build(deps-dev): bump eslint from 8.12.0 to 8.17.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.12.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.12.0...v8.17.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:41:11 +03:00
dependabot[bot]
22c2551e6d
build(deps-dev): bump stylelint from 14.5.0 to 14.8.5 in /web
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.5.0 to 14.8.5.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.5.0...14.8.5 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:40:56 +03:00
dependabot[bot]
17d574bdaa
build(deps-dev): bump replace-in-file from 6.3.2 to 6.3.5 in /web
...
Bumps [replace-in-file](https://github.com/adamreisnz/replace-in-file ) from 6.3.2 to 6.3.5.
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases )
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/main/CHANGELOG.md )
- [Commits](https://github.com/adamreisnz/replace-in-file/compare/v6.3.2...v6.3.5 )
---
updated-dependencies:
- dependency-name: replace-in-file
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:26:02 +03:00
dependabot[bot]
b33441c468
build(deps-dev): bump @wdio/cli from 7.19.7 to 7.20.1 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.19.7 to 7.20.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/compare/v7.19.7...v7.20.1 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:25:50 +03:00
dependabot[bot]
265c67b316
build(deps-dev): bump @types/chrome from 0.0.179 to 0.0.188 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.179 to 0.0.188.
- [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>
2022-06-06 20:25:01 +03:00
dependabot[bot]
b1151816a8
build(deps-dev): bump typescript from 4.6.4 to 4.7.3 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.4 to 4.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:24:48 +03:00
dependabot[bot]
ac4b741c92
build(deps-dev): bump chromedriver from 100.0.0 to 102.0.0 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 100.0.0 to 102.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/100.0.0...102.0.0 )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:23:31 +03:00
WhosyVox
39afc7eda0
Add exclusions for sites broken by extension
2022-06-06 07:05:02 +03:00
dependabot[bot]
683f1a528f
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.13.0 to 5.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.27.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 09:07:05 +03:00
dependabot[bot]
474860dab1
build(deps-dev): bump webpack from 5.71.0 to 5.72.1 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.71.0 to 5.72.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.71.0...v5.72.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 08:45:48 +03:00
dependabot[bot]
9f78604548
build(deps-dev): bump copy-webpack-plugin from 10.2.4 to 11.0.0 in /web
...
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin ) from 10.2.4 to 11.0.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v10.2.4...v11.0.0 )
---
updated-dependencies:
- dependency-name: copy-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 00:29:11 +03:00
dependabot[bot]
bdea8f0f94
build(deps-dev): bump @wdio/cli from 7.16.13 to 7.19.7 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.16.13 to 7.19.7.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.13...v7.19.7 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 00:02:11 +03:00
dependabot[bot]
75b7ce9f7e
build(deps-dev): bump sign-addon from 4.0.1 to 4.1.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/4.0.1...4.1.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>
2022-06-01 23:50:11 +03:00
dependabot[bot]
18ca791ae2
build(deps-dev): bump archiver from 5.3.0 to 5.3.1 in /web
...
Bumps [archiver](https://github.com/archiverjs/node-archiver ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/archiverjs/node-archiver/releases )
- [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/archiverjs/node-archiver/compare/5.3.0...5.3.1 )
---
updated-dependencies:
- dependency-name: archiver
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 23:48:39 +03:00
dependabot[bot]
ba719b1c4c
build(deps-dev): bump webpack-dev-server from 4.7.3 to 4.9.1 in /web
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.7.3 to 4.9.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.7.3...v4.9.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 23:48:24 +03:00
dependabot[bot]
3cbe8f005c
build(deps-dev): bump eslint-plugin-jsdoc from 39.2.9 to 39.3.2 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 39.2.9 to 39.3.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.2.9...v39.3.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 23:48:12 +03:00
dependabot[bot]
2313452214
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.16.14 to 7.19.5.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.14...v7.19.5 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 23:47:59 +03:00
dependabot[bot]
abe77636bf
build(deps-dev): bump typedoc from 0.22.13 to 0.22.17 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.22.13 to 0.22.17.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.13...v0.22.17 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 23:27:46 +03:00
Toad06
d53af46c76
web: Disable "Report bug" link if build is outdated
2022-05-30 20:50:15 +03:00
Robert Setter
6114f14fe0
Updating the verbiage for the AS3 warnings to try and reduce the number of support questions about it. ( #7106 )
...
* Updating AS3 warning verbiage.
* Updating AS3 verbiage
* Increase root font size
* Refining font size.
* correcting font size in .message
2022-05-29 15:08:46 +03:00
TÖRÖK Attila
71f7f28fb0
chore: Allow unknown_lints in both WASM modules
2022-05-17 13:07:40 -07:00
Mike Welsh
62d62d9667
chore: Allow unknown_lints in web build
...
The web build script in `core\package.json` sets the `RUSTFLAGS`
env var, which overrides any settings in `.cargo/config.toml`.
Add `-Aunknown_lints` to these `RUSTFLAGs` to squelch a stray
`unused_macro_rules` warning.
2022-05-17 08:36:41 -07:00
relrelb
4f05d1852d
web: Prefer using `Element` over `HTMLElement`
...
`Element` is a slightly more general type, which is more common than
`HTMLElement`, and it satisfies our needs in most cases.
2022-05-09 15:00:14 -07:00
Daniel Jacobs
254a4a9175
demo: Fix styling on mobile devices
2022-05-09 10:07:16 -07:00
relrelb
87ce0f56b7
core: Remove `NavigatorBackend::resolve_relative_url`
...
The resolved URL only used by `NavigatorBackend::fetch`. So simply
inline `NavigatorBackend::resolve_relative_url` into `NavigatorBackend::fetch`,
per implementation.
2022-05-07 09:06:53 -07:00
relrelb
ea665d91f2
core: Introduce and use `Response::url`
2022-05-07 09:06:53 -07:00
relrelb
2517d8de4b
core: Introduce struct `Response`
...
Currently it's a trivial wrapper around `Vec<u8>`, but more fields
will be added in the future (e.g. response URL, HTTP status code).
2022-05-07 09:06:53 -07:00
Daniel Jacobs
57659a1f44
demo: Add an area to say the file name
2022-05-06 10:43:20 -07:00
Daniel Jacobs
f94a76a248
demo: Style the local file selector and sample file select
2022-05-06 10:43:20 -07:00
relrelb
4ae5e89ea7
web: Enforce ESLint's `eqeqeq` rule
2022-05-06 10:40:58 -07:00
relrelb
f6153ff7c1
chore: Appease clippy
2022-05-06 10:36:38 -07:00
dependabot[bot]
86e3f6c82a
build(deps): bump serde from 1.0.136 to 1.0.137
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:41:28 -07:00
dependabot[bot]
6c5a35d1bc
build(deps-dev): bump mocha from 9.2.1 to 10.0.0 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.2.1 to 10.0.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/v9.2.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 16:16:53 -07:00
dependabot[bot]
03618554fd
build(deps): bump async from 2.6.3 to 2.6.4 in /web
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 15:30:55 -07:00
dependabot[bot]
eec37d4510
build(deps-dev): bump @wdio/spec-reporter from 7.19.1 to 7.19.5 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 7.19.1 to 7.19.5.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.19.1...v7.19.5 )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 15:08:48 -07:00
dependabot[bot]
407715b2cb
build(deps-dev): bump prettier from 2.5.1 to 2.6.2 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.1 to 2.6.2.
- [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.5.1...2.6.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 14:42:07 -07:00
dependabot[bot]
e4088a28d7
build(deps-dev): bump ts-loader from 9.2.6 to 9.3.0 in /web
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.6 to 9.3.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.6...v9.3.0 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 14:41:56 -07:00
dependabot[bot]
75a9313864
build(deps): bump ejs from 3.1.6 to 3.1.7 in /web
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 14:26:49 -07:00
dependabot[bot]
0d85a7e40f
build(deps-dev): bump @wdio/local-runner from 7.19.3 to 7.19.5 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.19.3 to 7.19.5.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.19.3...v7.19.5 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 14:26:40 -07:00
dependabot[bot]
f389b08c5a
build(deps-dev): bump @types/mocha from 9.1.0 to 9.1.1 in /web
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 14:26:32 -07:00
dependabot[bot]
53b828df23
build(deps-dev): bump css-loader from 6.5.1 to 6.7.1 in /web
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.5.1 to 6.7.1.
- [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.5.1...v6.7.1 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 13:48:03 -07:00
dependabot[bot]
9c13cc7595
build(deps-dev): bump sign-addon from 3.11.0 to 4.0.1 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 3.11.0 to 4.0.1.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/3.11.0...4.0.1 )
---
updated-dependencies:
- dependency-name: sign-addon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 13:46:23 -07:00
dependabot[bot]
1e5c6709df
build(deps-dev): bump eslint-plugin-jsdoc from 37.6.1 to 39.2.9 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 37.6.1 to 39.2.9.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.6.1...v39.2.9 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 13:46:12 -07:00
dependabot[bot]
fca595f9a5
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.16.14 to 7.19.5.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.14...v7.19.5 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 13:46:00 -07:00
GhostlyDark
27c9637ed8
web: Don't use inline CSS attributes
2022-05-01 13:08:58 -07:00
Mike Welsh
1eb06908c8
core: Make PlayerBuilder::build infallible
2022-04-29 09:14:32 -07:00
Mike Welsh
f48182ef3d
core: Add various settings to PlayerBuilder
2022-04-29 09:14:32 -07:00
Mike Welsh
e1e2b1008a
core: Add PlayerBuilder
2022-04-29 09:14:32 -07:00
Mike Welsh
d3becd9d2c
demo: Add Ruffle splash anim as initial animation
2022-04-27 22:39:14 -07:00
Mike Welsh
225c4a80ca
ci: Bump mocha timeout length
...
Bump mocha's timeout from 60 secs to 120 secs to attempt to improve
the reliability of our Windows node tests.
2022-04-25 16:55:16 -07:00
nosamu
e8d5274a18
web: Fix compatibility with Rocket Loader
...
Cloudflare's Rocket Loader script [prevents the DOMContentLoaded event from firing](https://dev.to/hollowman6/solution-to-missing-domcontentloaded-event-when-enabling-both-html-auto-minify-and-rocket-loader-in-cloudflare-5ch8 ), which was preventing Ruffle's public API from initializing. Work around this by also listening for the `load` event.
Fixes #2254 and #6583 .
2022-04-23 19:46:32 -07:00
Mike Welsh
91c1a408fb
web: Don't set container bgcolor in transparent wmode
...
If a Flash embed set both the `bgcolor` param and transparent
`wmode`, the Ruffle polyfill would incorrectly set the container
to use the background color. Keep the background transparent instead.
2022-04-19 01:57:15 -07:00
nosamu
20d4149fe4
extension: Check for all octet-stream MIME types
...
When a server returns a `.swf` file with an octet-stream MIME type, Ruffle should treat it as an SWF. Right now the extension checks specifically for the `application/octet-stream` MIME type, which leaves out servers like [MaxGames](https://farm.maxgames.com/soldier-diary-13469MTU5MA==.swf ) that use the `binary/octet-stream` type instead. Check if the MIME type ends with `octet-stream` to handle both cases.
2022-04-18 09:01:10 -07:00
Mike Welsh
3305ac69c4
web: Support wmode parameter
2022-04-17 08:33:51 -07:00
Mike Welsh
8131a4f3cc
web: Allow transparent stage
2022-04-17 08:33:51 -07:00
David Wendt
036aa2b369
chore: Prevent language servers from scanning the Safari stub binary on Windows
2022-04-12 22:14:22 -07:00
David Wendt
7418c4e788
chore: Prevent any compiler access to the Safari stub binary outside of macOS
2022-04-12 22:14:22 -07:00
David Wendt
b825bf6e34
chore: cargo fmt on the stub binary
2022-04-12 22:14:22 -07:00
David Wendt
79ebcc6dd3
web: Add a crate for a stub binary that builds a Safari Web Extension
2022-04-12 22:14:22 -07:00
David Wendt
58ce66e1a3
web: Package the extension as a Safari Web Extension in the desktop build.
2022-04-12 22:14:22 -07:00
Mike Welsh
78e8578414
chore: Avoid error when using wgpu feature on web
...
Avoid compilation error when running clippy on the web package
without a `wasm32` arch.
2022-04-11 20:15:13 -07:00
Daniel Jacobs
d3118b5e23
web: Youtube objects on Firefox without data attribute don't work with the rewrite by default
2022-04-10 19:25:26 -07:00
Daniel Jacobs
1d4a2fd5c6
web: Make notreallyyoutube.com use Ruffle
2022-04-10 19:25:26 -07:00
Daniel Jacobs
7cae84b354
tests: Add YouTube Flash embed/object tests
2022-04-10 19:25:26 -07:00
Daniel Jacobs
958b4e7291
web: Workaround mixed-content issues for YouTube Flash embeds
2022-04-10 19:25:26 -07:00
Daniel Jacobs
907b59222a
web: Don't polyfill YouTube Flash embeds
2022-04-10 19:25:26 -07:00
relrelb
7497fb7008
core: Change `Player::set_root_movie` to accept a `SwfMovie`
...
Move the `Arc::new` to within the function.
2022-04-08 15:16:25 -07:00
relrelb
6d7edd1854
web: Use `Uint8Array::to_vec()` over `Uint8Array::copy_to()`
...
It's shorter and should be more efficient (allocates an uninitialized
buffer instead of a zeroed one).
2022-04-09 00:27:16 +03:00
relrelb
eeb5eb18f6
web: Bump wasm-bindgen to 0.2.80
...
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
2022-04-08 09:56:23 -07:00
dependabot[bot]
b442fd040f
build(deps-dev): bump chromedriver from 98.0.0 to 100.0.0 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 98.0.0 to 100.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/98.0.0...100.0.0 )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 22:08:08 +03:00
Mike Welsh
0e26fa1191
extension: Allow loading SWFs in frames ( fix #6582 )
...
If a frame directly loaded an SWF, it would not display in Ruffle.
Add `subframe` to the types intercepted by the `onHeaderReceived`
event in the background script so that Ruffle will display the SWF
in the frame.
Fixes #6582 .
2022-04-03 15:17:41 -07:00
Toad06
badb91c1db
web: Add `object_double_object_classid` test
2022-04-03 10:15:19 -07:00
Toad06
fdc87267cd
web: Update `object_double_object` test
2022-04-03 10:15:19 -07:00
Toad06
2c79a5e3d8
web: Only polyfill `<object>` with `classid` when it doesn't contain another polyfillable `<object>` tag
2022-04-03 10:15:19 -07:00
dependabot[bot]
ef1ce9461d
build(deps-dev): bump ts-node from 10.6.0 to 10.7.0 in /web
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.6.0 to 10.7.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.6.0...v10.7.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 01:02:13 +03:00
dependabot[bot]
0be75d25f8
build(deps-dev): bump eslint from 8.10.0 to 8.12.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.10.0 to 8.12.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.12.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 01:02:03 +03:00
dependabot[bot]
133aa8aa5e
build(deps-dev): bump json5 from 2.2.0 to 2.2.1 in /web
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/master/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 01:01:44 +03:00
dependabot[bot]
14fa47d89b
build(deps-dev): bump wdio-chromedriver-service in /web
...
Bumps [wdio-chromedriver-service](https://github.com/webdriverio-community/wdio-chromedriver-service ) from 7.2.8 to 7.3.2.
- [Release notes](https://github.com/webdriverio-community/wdio-chromedriver-service/releases )
- [Commits](https://github.com/webdriverio-community/wdio-chromedriver-service/compare/v7.2.8...v7.3.2 )
---
updated-dependencies:
- dependency-name: wdio-chromedriver-service
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 01:01:35 +03:00
dependabot[bot]
874337bf10
build(deps-dev): bump @wdio/spec-reporter from 7.16.13 to 7.19.1 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 7.16.13 to 7.19.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/compare/v7.16.13...v7.19.1 )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:58:42 +03:00
dependabot[bot]
ae19a7d2c9
build(deps-dev): bump webpack from 5.69.1 to 5.71.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.69.1 to 5.71.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.69.1...v5.71.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:58:12 +03:00
dependabot[bot]
08b8b5cfe6
build(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.5.0 in /web
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.3.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.5.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:57:58 +03:00
dependabot[bot]
4a5d570f5e
build(deps-dev): bump @wdio/local-runner from 7.16.16 to 7.19.3 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.16.16 to 7.19.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.16...v7.19.3 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:57:48 +03:00
dependabot[bot]
05b91e09fc
build(deps-dev): bump typedoc from 0.22.12 to 0.22.13 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.22.12 to 0.22.13.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.12...v0.22.13 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:57:31 +03:00
Mike Welsh
755676c64e
chore: Remove doc comments from extern blocks
...
Doc comments are ignored here and can generate warnings, so change
to regular comments.
2022-03-27 18:56:13 -07:00
Mike Welsh
ac765bd187
chore: Update copyright
...
I (Michael R. Welsh) assign to Ruffle LLC all rights, title, and
interest to copyrights of my personal contributions to Ruffle,
effective March 26, 2022.
2022-03-26 18:13:14 -07:00
dependabot[bot]
cb24202d35
build(deps): bump minimist from 1.2.5 to 1.2.6 in /web
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 02:27:07 +03:00
dependabot[bot]
91b8e90941
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /web
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 02:26:57 +03:00
relrelb
fa1dc8af4a
demo: Rename `serve` command to `start`
...
`npm start` is a common convention for launching a web server.
Also use the `npm start` and `npm test` shorthands instead of
`npm run start` and `npm run test`.
2022-03-26 01:43:24 +03:00
relrelb
295ca0d836
demo: Copy `swfs.json` to `dist` directory
...
Otherwise it's not served when running `npm run demo`.
2022-03-26 01:43:24 +03:00
Mike Welsh
dd45dc81a0
web: Fix hangs on Safari by avoiding getOutputTimestamp
...
`AudioContext.getOutputTimestamp` returns incorrect values in
Safari 15.1+, and this would cause movies with 'stream' sounds to
soft-lock because the calculated audio position would barely
progress.
See:
https://developer.apple.com/forums/thread/696356
Change the output timestamp calculation to use
`AudioContext.currentTime` instead.
2022-03-19 15:13:49 -07:00
relrelb
ad944800be
core: Perfer `Loader`'s `FetchError`
...
`NetworkError` and `NetworkUnavailable` were rarely used, and they
were very similar to `FetchError`.
2022-03-17 20:31:59 -07:00
relrelb
7e3c85b0c1
web: Cleanup `web-sys` features
...
Remove unused ones, sort them alphabetically and wrap to 120 columns
per line.
2022-03-18 03:57:20 +02:00
relrelb
8a17d88c77
core: Remove `NavigatorBackend::time_since_launch`
...
`core` already depends on the `instant` crate which abstracts
`std::instant::Instant` and polyfills it on Web. Use it to replace
`NavigatorBackend::time_since_launch` in order to make `NavigatorBackend`
a little smaller and more simple.
2022-03-17 00:08:44 +02:00
relrelb
031126a1b8
core: Remove `LocaleBackend`
...
Previously there were 3 implementations of `LocaleBackend`:
`DesktopLocaleBackend`, `WebLocaleBackend` and `NullLocaleBackend`.
While `DesktopLocaleBackend`, `WebLocaleBackend` were identical,
`NullLocaleBackend` always returned a fixed date/time for tests
determinism.
Unify them in a single file, and use `cfg!(test)` and a new dedicated
`deterministic` feature to decide whether to mock date/time or not.
This should not cause any behavioral changes.
2022-03-16 19:57:53 +02:00
elliot
355bd35935
web: Add specific error message for disabled WASM on Microsoft Edge ( #6423 )
...
* web: Add specific error message for disabled WASM on Microsoft Edge
Related to #6395
* web: Update Microsoft Edge WASM error message conditional
Co-Authored-By: Daniel Jacobs <danielhunterjacobs@gmail.com>
* web: Update "More Information" link for Microsoft Edge WASM error
Co-authored-by: Daniel Jacobs <danielhunterjacobs@gmail.com>
2022-03-09 23:12:21 +02:00
dependabot[bot]
e12b540f00
build(deps-dev): bump webpack from 5.68.0 to 5.69.1 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.68.0 to 5.69.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.68.0...v5.69.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 08:55:02 +02:00
dependabot[bot]
aaccc86a12
build(deps-dev): bump eslint from 8.8.0 to 8.10.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.8.0 to 8.10.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.8.0...v8.10.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 08:54:52 +02:00
dependabot[bot]
6018e5999a
build(deps-dev): bump ts-node from 10.5.0 to 10.6.0 in /web
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.5.0...v10.6.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 08:54:42 +02:00
dependabot[bot]
cbbdb7baa9
build(deps-dev): bump mocha from 9.2.0 to 9.2.1 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.2.0 to 9.2.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/v9.2.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:41:29 +02:00
dependabot[bot]
ed9972122e
build(deps-dev): bump @types/chrome from 0.0.178 to 0.0.179 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.178 to 0.0.179.
- [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>
2022-03-01 22:41:18 +02:00
dependabot[bot]
031f9abd91
build(deps-dev): bump typedoc from 0.22.10 to 0.22.12 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.22.10 to 0.22.12.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.10...v0.22.12 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:41:09 +02:00
dependabot[bot]
6ea5fd0f39
build(deps-dev): bump wdio-chromedriver-service in /web
...
Bumps [wdio-chromedriver-service](https://github.com/webdriverio-community/wdio-chromedriver-service ) from 7.2.6 to 7.2.8.
- [Release notes](https://github.com/webdriverio-community/wdio-chromedriver-service/releases )
- [Commits](https://github.com/webdriverio-community/wdio-chromedriver-service/compare/v7.2.6...v7.2.8 )
---
updated-dependencies:
- dependency-name: wdio-chromedriver-service
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:40:58 +02:00
dependabot[bot]
2ea482f955
build(deps-dev): bump copy-webpack-plugin from 10.2.0 to 10.2.4 in /web
...
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin ) from 10.2.0 to 10.2.4.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v10.2.0...v10.2.4 )
---
updated-dependencies:
- dependency-name: copy-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:40:48 +02:00
dependabot[bot]
69e92f2664
build(deps-dev): bump @wdio/local-runner from 7.16.14 to 7.16.16 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.16.14 to 7.16.16.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.14...v7.16.16 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:40:39 +02:00
dependabot[bot]
093e68d967
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.9.1 to 5.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.13.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:40:26 +02:00
Chris Midgley
cf7b6b2515
web: Don't include query parameters in downloaded SWF name ( #6368 )
...
* fix: don't include query parameters in downloaded SWF name
* refactor: store swfUrl as URL
2022-02-28 22:27:56 +02:00
elliot
2b162e8532
web: Add `isPlaying` property to `RufflePlayer` ( #6294 )
2022-02-28 21:28:19 +02:00
relrelb
fa459f7547
core: Require `serde` feature
...
Enable it unconditionally as a preparation for depending on `serde_json`,
which will need `serde::Serialize`.
2022-02-27 23:19:46 +02:00
Chris Midgley
453b0f1fe3
desktop: swap out tinyfiledialogs for rfd
2022-02-23 22:45:26 +02:00
relrelb
2ca62ecf4b
web: Remove tests on Node.js 14
...
There seems to be no good reason for testing on Node.js other than
the current LTS. Moreover, npm@6 has a wontfix issue when upgrading
to 8.4 on Windows, which requires a complex workaround: https://github.com/npm/cli/issues/4341#issuecomment-1040608101 .
So avoid it by simply not supporting it.
2022-02-18 17:01:09 +02:00
dependabot[bot]
a3288fa20c
build(deps): bump serde from 1.0.133 to 1.0.136
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.133 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.136 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 18:10:43 +02:00
dependabot[bot]
e2778add2c
build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /web
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 16:56:15 +01:00
dependabot[bot]
bd9dbf84da
build(deps-dev): bump @types/chrome from 0.0.177 to 0.0.178 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.177 to 0.0.178.
- [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>
2022-02-11 11:09:30 +02:00
dependabot[bot]
9c6ac9ccee
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.16.13 to 7.16.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.13...v7.16.14 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 10:35:22 +02:00
dependabot[bot]
1b17d36204
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.9.1 to 5.11.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.11.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>
2022-02-11 10:35:09 +02:00
dependabot[bot]
a23836b782
build(deps-dev): bump sign-addon from 3.10.0 to 3.11.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/3.10.0...3.11.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>
2022-02-11 01:02:08 +02:00
dependabot[bot]
cb4f7fc634
build(deps-dev): bump webpack-cli from 4.9.1 to 4.9.2 in /web
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.9.1 to 4.9.2.
- [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.9.1...webpack-cli@4.9.2 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:01:28 +02:00
dependabot[bot]
9da9669a49
build(deps-dev): bump ts-node from 10.4.0 to 10.5.0 in /web
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.4.0...v10.5.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:01:18 +02:00
dependabot[bot]
6f2b2433cc
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.16.13 to 7.16.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.13...v7.16.14 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:01:06 +02:00
dependabot[bot]
02000f8e92
build(deps-dev): bump eslint from 8.6.0 to 8.8.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.6.0 to 8.8.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.6.0...v8.8.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:00:52 +02:00
dependabot[bot]
6cd3055a1f
build(deps-dev): bump stylelint-config-standard in /web
...
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard ) from 24.0.0 to 25.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/24.0.0...25.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>
2022-02-11 01:00:32 +02:00
dependabot[bot]
af59af115f
build(deps-dev): bump chromedriver from 96.0.0 to 98.0.0 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 96.0.0 to 98.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/96.0.0...98.0.0 )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 22:17:01 +02:00
dependabot[bot]
0152a6aa34
build(deps-dev): bump typescript from 4.5.4 to 4.5.5 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 09:01:19 +02:00
dependabot[bot]
85ce9ebdcb
build(deps-dev): bump mocha from 9.1.3 to 9.2.0 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.1.3 to 9.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/v9.1.3...v9.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>
2022-02-02 00:08:58 +02:00
dependabot[bot]
390d69e1f7
build(deps-dev): bump webpack from 5.65.0 to 5.68.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.65.0 to 5.68.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.65.0...v5.68.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:05:16 +02:00
dependabot[bot]
0c715c369f
build(deps-dev): bump sign-addon from 3.9.0 to 3.10.0 in /web
...
Bumps [sign-addon](https://github.com/mozilla/sign-addon ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases )
- [Commits](https://github.com/mozilla/sign-addon/compare/3.9.0...3.10.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>
2022-02-01 23:05:01 +02:00
dependabot[bot]
e77a57d190
build(deps-dev): bump @wdio/local-runner from 7.16.13 to 7.16.14 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.16.13 to 7.16.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.13...v7.16.14 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:04:33 +02:00
dependabot[bot]
15ef91f905
build(deps-dev): bump webpack-dev-server from 4.7.2 to 4.7.3 in /web
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.7.2...v4.7.3 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:04:11 +02:00
dependabot[bot]
3c0f08fb7d
build(deps-dev): bump @types/mocha from 9.0.0 to 9.1.0 in /web
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:03:57 +02:00
dependabot[bot]
33ac55402a
build(deps-dev): bump @types/chrome from 0.0.174 to 0.0.177 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.174 to 0.0.177.
- [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>
2022-02-01 23:03:41 +02:00
dependabot[bot]
3531abb293
build(deps-dev): bump stylelint from 14.2.0 to 14.3.0 in /web
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.2.0 to 14.3.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.2.0...14.3.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:03:25 +02:00
dependabot[bot]
f5e1a197d1
build(deps-dev): bump chai from 4.3.4 to 4.3.6 in /web
...
Bumps [chai](https://github.com/chaijs/chai ) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v4.3.4...v4.3.6 )
---
updated-dependencies:
- dependency-name: chai
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 23:03:08 +02:00
Mike Welsh
55da3cd7d0
chore: Add .cargo/config.toml for workspace-level lint config
...
Currently it is not directly possible to configure lints for the
entire workspace via TOML, which forced us to repeat `#![allow]`
blocks in each crate.
embark pointed out this workaround to configure lints at the
workspace level via RUSTFLAGS:
https://github.com/EmbarkStudios/rust-ecosystem/issues/22#issuecomment-947011395
Remove the common `#![allow]` blocks and switch to this method for
global lint config.
Temporarily allow `needless_borrow` lint, buggy pending this fix:
https://github.com/rust-lang/rust-clippy/pull/8355
2022-01-29 14:22:44 -08:00
Toad06
c14569e3d4
web: Add `refresh` method to `navigator.plugins`
2022-01-26 18:53:33 -08:00
Daniel Jacobs
c0880225ff
selfhosted: Use absolute URLs for links in README
2022-01-26 18:51:06 -08:00
nosamu
f23c03129a
extension: URL-encode the SWF URL for the player page
...
When the user clicks the "Open in a new tab" button, the extension's internal `player.html` page opens, with a URL parameter `?url=[the SWF URL]`. Right now, this URL parameter is not properly encoded. This causes a problem when we get to https://github.com/ruffle-rs/ruffle/blob/master/web/packages/extension/src/player.ts#L14 :
> `const swfUrl = url.searchParams.get("url");`
Because the value "url" parameter was not properly encoded, any `&` character in the SWF URL would be interpreted as the start of a *new* parameter, instead of being part of the actual SWF URL. So anything after the first `&` symbol in the SWF URL would be chopped off.
On Itch.io Flash pages such as https://rarykos.itch.io/hug-me-im-cold , the SWF URL contains several important parameters - if they are not included, the server returns 403 Forbidden (it's a type of hotlinking protection). So when the user clicked the "Open in a new tab" button on Itch.io pages, the SWF would refuse to load in the player.
This PR fixes the problem - Itch.io SWFs load when opened in a new tab after my change is applied.
2022-01-24 19:01:11 -08:00
relrelb
809e91d029
demo: Serve on default port
...
The switch to 8081 seems like a leftover from #5250 .
Return to the default 8080.
2022-01-24 13:29:42 -08:00
relrelb
059c1a3417
web: Add a comment about `ignorePatterns`
2022-01-16 11:07:00 -08:00
relrelb
2f1cb9f655
web: Disallow non-const TypeScript enums
...
They generate unnecessary code.
2022-01-16 11:07:00 -08:00
relrelb
479719f425
web: De-duplicate TypeScript ESLint rules
...
Pull them to the root config, using the `overrides` feature:
https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-based-on-glob-patterns
2022-01-16 11:07:00 -08:00
relrelb
5bf8b46ab5
web: Integrate Prettier into Stylelint
2022-01-16 11:07:00 -08:00
relrelb
94d82aa060
web: Convert more files from JSON to YAML
2022-01-16 11:07:00 -08:00
relrelb
d0eb6adbc0
web: Fix `publicPath` when loaded from a CDN
...
CDNs allow omitting the filename:
* https://unpkg.com/@ruffle-rs/ruffle
* https://cdn.jsdelivr.net/npm/@ruffle-rs/ruffle
That caused `currentScriptURL` to be determined incorrectly:
```js
new URL(".", "https://unpkg.com/@ruffle-rs/ruffle ").href
// "https://unpkg.com/@ruffle-rs/ "
```
If the filename is omitted, append a slash to prevent the last
component from being dropped:
```js
new URL(".", "https://unpkg.com/@ruffle-rs/ruffle/ ").href
// "https://unpkg.com/@ruffle-rs/ruffle/ "
```
2022-01-15 14:49:19 -08:00
TÖRÖK Attila
483028707f
web: Add custom profiles to separate the build cache for the two wasm modules
2022-01-13 12:28:00 -08:00
relrelb
5f033743f0
web: Mark packages as private
...
This prevents accidental publication of packages that shouldn't
be published. Some packages were already marked as such, so it's a
bit more consistent.
2022-01-12 21:24:19 -08:00
relrelb
7cffddca97
extension: Fix typo
...
We actually append the build number (the `BUILD_ID` environment variable,
which originates from `github.run_number` in the CI), not the build date.
2022-01-12 21:24:19 -08:00
relrelb
38549fdbdf
web: Publish NPM package
...
Publish nightly releases as part of the CI, so Ruffle can be easily
integrated into a website using a CDN (such as jsDelivr). It would
also be easier for websites to keep up-to-date, as NPM auto-updates
the `latest` tag to refer to the latest release.
A dedicated `package.json` is used for the published NPM package,
because `ruffle-selfhosted` depends on the private `ruffle-core`
package, which shouldn't be published.
Also, the `version` field must monotonically increase. So Webpack
auto-fills it to be `0.1.0-nightly.YYYY.MM.DD`. This format satisfies
a couple of needs:
* Newer nightly releases should take precedence over older ones.
* Stable releases (e.g. `1.0.0`) should take precedence over nightly
ones.
2022-01-12 21:24:19 -08:00
relrelb
3f8f117fd3
web: Convert .eslintrc files from JSON to YAML
...
YAML is shorter, more modern, readable, and flexible than JSON.
In other words, YAML >>> JSON.
Auto-converted using [`yq`](https://github.com/kislyuk/yq ).
2022-01-12 20:10:00 -08:00
Mike Welsh
70bb5fa3f2
extension: Change unsafe-eval to wasm-eval in CSP
...
`unsafe-eval` was needed in the extension Content Security
Policy to Wasm compilation in Chrome.
This CSP setting causes the extension to get flagged in the
Mozilla Add-On Marketplace, which discourages the use of
`unsafe-eval`.
However, Chrome has a `wasm-eval` CSP setting which also allows
extensions to compile Wasm without requiring `unsafe-eval`.
Inject this into the extension manifest when building the Chrome
extension.
Eventually this may change to `wasm-unsafe-eval` as drafted by
the CSP spec and be required by all browsers.
2022-01-12 11:29:36 -08:00
TÖRÖK Attila
db6731be2c
web: Detect and log whether WebAssembly extensions are actually used
2022-01-12 11:29:16 -08:00
TÖRÖK Attila
44e59a0012
web,ci: Only build the vanilla module by default, use it as stand-in for the other
...
And enable the module that really uses WebAssembly extensions for the
releases by running the new "npm run build:dual-wasm" command, which
sets the ENABLE_WASM_EXTENSIONS=true environment variable.
2022-01-12 11:29:16 -08:00
TÖRÖK Attila
ab69c12649
web: Build two WASM modules, with/without extensions, load the appropriate one
2022-01-12 11:29:16 -08:00
relrelb
7f4f40621b
web: Migrate to npm workspaces
...
`lerna` is a bit stale, and as such it currently has some outdated
dependencies which Dependabot warns on.
Fortunately, npm 7 supports monorepos natively, via "workspaces". So
simply replace `lerna` with this feature. The migration is pretty
neat and requires a very little invervention.
Because Node.js 14 comes with npm 6 by default, upgrade it manually
as shown in https://github.com/bahmutov/npm-install/issues/103#issuecomment-931226602 .
2022-01-11 13:17:48 -08:00
relrelb
82b4c6ef27
core: Support mouse buttons in `KeyCode`
...
Add `MouseLeft`, `MouseRight` and `MouseMiddle` to `KeyCode` for
AVM1's `Key.isDown()` function.
2022-01-10 01:18:49 -08:00
Mike Welsh
bb3ef68499
web: Handle gaps in MP3 SoundStreamBlock tags
2022-01-07 13:23:53 -08:00
dependabot[bot]
a9e86a73cf
build(deps): bump serde from 1.0.132 to 1.0.133
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 23:28:57 +02:00
Mike Welsh
3010c505aa
chore: Add error-report issue template
...
The `error-report` label was not being added to error reports
submitted by panics in the web player, despite the `labels` query
parameter in the URL. Users do not have triage/write access to the
repo, which is required by GitHub to add a label to an issue.
Add an issue template for error reports with the `error-report`
label. This template is now added to the issue URL, which
automatically adds the tag regardless of access level.
2022-01-02 13:59:54 -08:00
dependabot[bot]
a55330a361
Merge pull request #5969 from ruffle-rs/dependabot/npm_and_yarn/web/wdio/cli-7.16.12
2022-01-02 00:34:05 +00:00
dependabot[bot]
200cdfafed
Merge pull request #5970 from ruffle-rs/dependabot/npm_and_yarn/web/typescript-eslint/eslint-plugin-5.8.1
2022-01-02 00:33:12 +00:00
dependabot[bot]
ef06f92a92
build(deps-dev): bump @wdio/cli from 7.16.10 to 7.16.12 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.16.10 to 7.16.12.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.10...v7.16.12 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 23:29:27 +00:00
dependabot[bot]
a9fe0846b9
Merge pull request #5971 from ruffle-rs/dependabot/npm_and_yarn/web/wdio/mocha-framework-7.16.11
2022-01-01 23:27:45 +00:00
dependabot[bot]
7b883bd400
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.5.0 to 5.8.1.
- [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.8.1/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>
2022-01-01 23:23:26 +00:00
dependabot[bot]
d85653e268
Merge pull request #5972 from ruffle-rs/dependabot/npm_and_yarn/web/eslint-8.6.0
2022-01-01 23:22:18 +00:00
dependabot[bot]
63bd17bc13
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.16.6 to 7.16.11.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.6...v7.16.11 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 21:48:47 +00:00
dependabot[bot]
8d3d61ace5
build(deps-dev): bump @wdio/spec-reporter from 7.16.9 to 7.16.11 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio ) from 7.16.9 to 7.16.11.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.9...v7.16.11 )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 23:47:54 +02:00
dependabot[bot]
83dd88e3f6
build(deps-dev): bump eslint from 8.4.0 to 8.6.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.4.0 to 8.6.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.4.0...v8.6.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 20:54:47 +00:00
dependabot[bot]
08707f0258
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.5.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 22:53:33 +02:00
dependabot[bot]
f52ea138fc
build(deps-dev): bump webpack from 5.64.4 to 5.65.0 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.64.4 to 5.65.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.64.4...v5.65.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 22:53:12 +02:00
dependabot[bot]
1fd6fdca60
build(deps-dev): bump @types/chrome from 0.0.166 to 0.0.174 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.166 to 0.0.174.
- [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>
2022-01-01 22:52:56 +02:00
dependabot[bot]
c6e5946ba1
build(deps-dev): update webpack-dev-server requirement in /web
...
Updates the requirements on [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) to permit the latest version.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.6.0...v4.7.2 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 22:52:28 +02:00
dependabot[bot]
afd8568052
build(deps-dev): bump @wdio/static-server-service in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.16.6 to 7.16.11.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.16.6...v7.16.11 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 22:51:44 +02:00
dependabot[bot]
fd816f3a0a
build(deps): bump serde from 1.0.131 to 1.0.132
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 08:35:54 +02:00
relrelb
a25a25adbc
web: Check `$CI` environment variable
2021-12-17 16:48:00 +02:00
relrelb
07c5330456
core: Introduce `InputManager`
...
`InputManager` encapsulates the common logic that previously the
`UiBackend`s used to implement.
2021-12-15 14:20:30 -08:00
Daniel Jacobs
5127e131bd
extension: Fix base for direct swf links
2021-12-15 14:00:02 -08:00
TÖRÖK Attila
95665bdc47
video: Extract software decoders (or glue) into their own modules, add screenvideo feature
2021-12-14 19:41:17 -07:00
dependabot[bot]
c6dfcb4e37
build(deps): bump serde from 1.0.130 to 1.0.131
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 23:23:13 +02:00
TÖRÖK Attila
cc4853236e
web/extension: Allow 'data:' URLs as image src - needed by the canvas backend
2021-12-12 20:43:21 +01:00
relrelb
e5617de4aa
web: Suppress Webpack's size limit for .wasm files
...
Webpack warns on assets larger than 250KB by default. Our WebAssembly
module exceeds this limit by far (it's a few MBs).
2021-12-10 22:50:45 +02:00
Chris Midgley
f0b29cc5d0
web: allow entering fullscreen after using escape to exit ( #5714 )
...
* web: allow entering fullscreen after using escape to exit
* chore: fmt
* web: fix fullscreen for Safari too
* web: dedupe methods and always set fullscreen
* chore: fmt
* web: use isFullscreen method
2021-12-10 19:54:22 +02:00
dependabot[bot]
750e266194
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.0 to 2.5.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.5.0...2.5.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 17:43:30 +02:00
dependabot[bot]
a72ebd9ba3
build(deps-dev): bump @types/chrome from 0.0.165 to 0.0.166 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.165 to 0.0.166.
- [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>
2021-12-04 17:12:12 +02:00
dependabot[bot]
d825c9d9cf
build(deps-dev): bump eslint from 8.3.0 to 8.4.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.3.0...v8.4.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 16:50:30 +02:00
dependabot[bot]
1ffcfae78a
build(deps-dev): bump @types/chrome from 0.0.164 to 0.0.165 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.164 to 0.0.165.
- [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>
2021-12-02 07:11:56 +02:00
dependabot[bot]
5db476657c
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.5.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 07:11:44 +02:00
dependabot[bot]
e3dfeb5a44
build(deps-dev): update webpack-dev-server requirement in /web
...
Updates the requirements on [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) to permit the latest version.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 22:38:37 +02:00
dependabot[bot]
7b54e28545
build(deps-dev): update eslint-plugin-jsdoc requirement in /web
...
Updates the requirements on [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) to permit the latest version.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.0.3...v37.1.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 22:34:53 +02:00
dependabot[bot]
83a82628b6
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.4.0 to 5.5.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.5.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>
2021-12-01 22:34:33 +02:00
Chris Midgley
8ac19e9807
web: update everything ( #5731 )
...
* web: update everything
* chore: apply new lint corrections
2021-11-25 23:21:43 +02:00
relrelb
a4b2e38f4d
web: Track `keys_down` by `KeyCode`
...
This makes `WebUiBackend::is_key_down` a simple one-line check.
2021-11-25 07:35:33 +02:00
Chris Midgley
cf1d0e7624
web: remove firefox extension version restriction
2021-11-22 21:47:37 +02:00
Daniel Jacobs
d86bf69a04
i18n: Add spanish tranlation for swf download option
2021-11-15 23:12:27 +02:00
Daniel Jacobs
d3a5561e8f
web: Give toggleable option to download swfs in extension/selfhosted
2021-11-15 23:12:27 +02:00
Tal Hayon
7ed38850fd
core: implement displayState for Stage in avm1/2
2021-11-11 16:20:05 -07:00
dependabot[bot]
867ad14302
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.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>
2021-11-02 09:10:08 +02:00
dependabot[bot]
1f73314e44
build(deps-dev): update ts-node requirement in /web
...
Updates the requirements on [ts-node](https://github.com/TypeStrong/ts-node ) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.4.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 09:09:53 +02:00
dependabot[bot]
6927ed8064
build(deps-dev): update style-loader requirement in /web
...
Updates the requirements on [style-loader](https://github.com/webpack-contrib/style-loader ) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: style-loader
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 09:09:39 +02:00
dependabot[bot]
b902d42529
build(deps-dev): bump @wdio/mocha-framework in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio ) from 7.13.2 to 7.16.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.13.2...v7.16.3 )
---
updated-dependencies:
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:58:12 +02:00
dependabot[bot]
50d6e34933
build(deps-dev): bump eslint-plugin-jsdoc from 36.1.1 to 37.0.3 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 36.1.1 to 37.0.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v36.1.1...v37.0.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:02:19 +02:00
dependabot[bot]
9d8c7ab91c
build(deps-dev): bump @types/firefox-webext-browser in /web
...
Bumps [@types/firefox-webext-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/firefox-webext-browser ) from 82.0.1 to 94.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/firefox-webext-browser )
---
updated-dependencies:
- dependency-name: "@types/firefox-webext-browser"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:01:02 +02:00
dependabot[bot]
0e947bb368
build(deps-dev): update css-loader requirement in /web
...
Updates the requirements on [css-loader](https://github.com/webpack-contrib/css-loader ) to permit the latest version.
- [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.3.0...v6.5.0 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:00:47 +02:00
dependabot[bot]
0948753e89
build(deps-dev): update typedoc requirement in /web
...
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc ) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.4...v0.22.7 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:00:28 +02:00
dependabot[bot]
195b0118c2
build(deps-dev): update webpack-dev-server requirement in /web
...
Updates the requirements on [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) to permit the latest version.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.3.0...v4.4.0 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 06:59:47 +02:00
dependabot[bot]
b3839f2199
build(deps-dev): bump @wdio/local-runner from 7.13.2 to 7.16.3 in /web
...
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio ) from 7.13.2 to 7.16.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.13.2...v7.16.3 )
---
updated-dependencies:
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 06:59:18 +02:00
Toad06
a24d469f27
web: Unmute audio on iOS when silent mode is enabled
...
Co-Authored-By: Christoph Guttandin <158417+chrisguttandin@users.noreply.github.com>
2021-10-28 08:48:22 -07:00
Chris Midgley
781edd0feb
web: preferentially use node 16 to compile
2021-10-26 13:21:55 -07:00
Mike Welsh
16c443165f
web: Add error-report label to bug report link
2021-10-24 17:21:03 -07:00
Mike Welsh
4141909bcb
web: Support wgpu on web
...
Add wgpu feature to web build (disabled by default currently).
2021-10-24 17:20:19 -07:00
Mike Welsh
df270c55af
wgpu: Make WgpuRenderBackend::build_descriptors async
...
This will be necessary for using wgpu on web, where the whole
renderer creation will need to be async.
2021-10-24 17:20:19 -07:00
Adrian Wielgosik
bc82a4f705
build: Bump Rust edition to 2021
2021-10-21 10:24:05 -07:00
Toad06
5854d4a23f
tests: Don't polyfill files meant to be used as fallback content
2021-10-17 11:44:15 -07:00
Toad06
7f317bca49
web: Don't polyfill files meant to be used as fallback content
2021-10-17 11:44:15 -07:00
Chris Midgley
e0b2288005
dev: Set Firefox min version to try to help with signing
...
* dev: set min Firefox version to 91.1.0
* Revert "dev: don't even try to sign firefox ext"
2021-10-17 11:31:03 -07:00
Mike Welsh
04d84a3386
web: Implement WebAudioBackend::get_sound_position
2021-10-16 22:53:25 -07:00
Mike Welsh
bca31b2c51
audio: Grab Sound.position from audio backend
...
* Change `AudioBackend::get_sound_position` to return `f64` to
match `AudioBackend::get_sound_duration`.
* Wire up `AudioBackend::get_sound_position` to `Sound.position`.
* Remove unimplmeneted warning from `Sound.position`.
2021-10-16 22:53:25 -07:00
Chris Midgley
c5ad8e76ee
audio: Fail to create invalid ADPCM decoder
2021-10-13 23:12:32 -07:00
dependabot[bot]
60ef1ba38b
build(deps): bump console_error_panic_hook from 0.1.6 to 0.1.7
...
Bumps [console_error_panic_hook](https://github.com/rustwasm/console_error_panic_hook ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/rustwasm/console_error_panic_hook/releases )
- [Commits](https://github.com/rustwasm/console_error_panic_hook/commits )
---
updated-dependencies:
- dependency-name: console_error_panic_hook
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 15:31:25 -07:00
Daniel Jacobs
a1fb368401
demo: Show overlay when dragging over file input
2021-10-06 18:17:59 -07:00
TÖRÖK Attila
3869950578
video/vp6: Add VP6[A] video decoding support
...
Gated behind the "vp6" feature, enabled by default.
Utilizing a heavily stripped-down version of the NihAV project,
retaining only the VP6 decoder, relicensed under MIT.
Including VP6WithAlpha decoding, proper FrameDependency reporting,
and cropping the unwanted encoded pixels on the right/bottom manually.
2021-10-04 22:33:06 -07:00
relrelb
f3a482a48f
extension: Prefer functions over methods
...
TypeScript is more strict with functions. Fix 2 instances affected
by this change.
2021-10-02 08:58:31 +03:00
relrelb
b250dd5ff1
extension: Fix popup reload tab button
...
Previously the popup page fetched only the `ruffleEnable` and `ruffleOptout`
options because only those appear in `popup.html`. So the remaining
options were always returned with their default value, making the popup
page think that all tabs need to be reloaded when these options have a
non-default value.
Remove the `keys` parameter of `getOptions`, and instead make it always
return all options. Adapt all usages of `getOptions`, which got simplified
by this change.
2021-10-02 08:58:31 +03:00
relrelb
7bb2b5918f
extension: Simplify `utils.ts`
...
In some cases, extension API abstraction objects can be assigned directly
with the equivalent extension API namespace. This reduces much trivial
code that just duplicates all the needed functions.
Also, extract `promisifyStorageArea` to share duplicate code between
the conversions of `chrome.storage.local` and `chrome.storage.sync`
(though `local` is not currently used).
2021-10-02 08:58:31 +03:00
relrelb
a3acdac0f9
extension: Rename `tabSettings` to `tabOptions`
...
This aligns with the rest of the code that uses the term "options"
rather than "settings".
2021-10-02 08:58:31 +03:00
Chris Midgley
1d34a957c3
dev: update web packages
2021-10-01 22:52:08 +03:00
dependabot[bot]
0ceb03f08d
build(deps-dev): bump typescript from 4.4.2 to 4.4.3 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 07:51:55 +03:00
dependabot[bot]
61e2c8b529
build(deps-dev): bump @typescript-eslint/parser in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.28.5 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 07:07:14 +03:00
dependabot[bot]
72b66944af
build(deps-dev): bump ts-loader from 9.2.4 to 9.2.6 in /web
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.4 to 9.2.6.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.4...v9.2.6 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 07:06:40 +03:00
dependabot[bot]
edabb3c614
build(deps-dev): bump prettier from 2.3.2 to 2.4.1 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.2 to 2.4.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.3.2...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 07:06:25 +03:00
dependabot[bot]
2d306865d6
build(deps-dev): bump typedoc from 0.21.9 to 0.22.4 in /web
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.21.9 to 0.22.4.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.21.9...v0.22.4 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 22:35:19 +03:00
dependabot[bot]
bef03fcf2b
build(deps-dev): bump @wdio/cli from 7.11.1 to 7.14.0 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.11.1 to 7.14.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/compare/v7.11.1...v7.14.0 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 22:35:04 +03:00
dependabot[bot]
4c146bc758
build(deps-dev): bump webpack-cli from 4.7.2 to 4.8.0 in /web
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.7.2 to 4.8.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/webpack-cli@4.7.2...webpack-cli@4.8.0 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 22:34:50 +03:00
dependabot[bot]
73d5212d09
build(deps-dev): bump eslint from 7.29.0 to 7.32.0 in /web
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 22:06:28 +03:00
dependabot[bot]
497188fb45
build(deps-dev): bump @types/chrome from 0.0.154 to 0.0.158 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.154 to 0.0.158.
- [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>
2021-09-30 22:05:47 +03:00
dependabot[bot]
b8efc1cd9b
build(deps-dev): bump chromedriver from 92.0.2 to 94.0.0 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 92.0.2 to 94.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/compare/92.0.2...94.0.0 )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 21:35:02 +03:00
relrelb
d5b223c1b3
extension: Add log level option
2021-09-26 07:57:37 +03:00
relrelb
1d324e81b0
web: Add stylelint to `npm run format`
2021-09-26 07:57:37 +03:00
relrelb
d27e29bd26
web: Mark TypeScript enums as const
...
Unlike regular enums, const enums are completely removed during
compilation, and as such are zero-cost in bundle size terms.
Since it is not possible to query the possible values of a const
enum at runtime, adapt the `autoplay` and `unmuteOverlay` validation
logic.
2021-09-24 20:38:44 +03:00
relrelb
0b4d6e6a1c
extension: Add an option to ignore unsupported content warnings
2021-09-24 18:52:13 +03:00
relrelb
bb029468ef
extension: Listen for `onchange` events
...
For checkboxes, `click`, `onchange`, and `oninput` seem all the same,
but for other input types (e.g. dropdowns, text boxes) this matters.
2021-09-24 17:30:12 +03:00
relrelb
cf3c36f306
extension: Localize label only when a translation exists
...
In order to not have to translate to all languages for each new option.
2021-09-24 17:30:12 +03:00
relrelb
8c19e06e5e
extension: Type `utils.getOptions()` better
...
This disallows passing non-existent options:
```ts
utils.getOptions(["doesNotExist"]); // error
```
And also disallows using options that were not requested:
```ts
const options = utils.getOptions(["ruffleEnable"]);
options.ignoreOptout; // error
```
2021-09-24 17:30:12 +03:00
relrelb
34facdc5c2
extension: Use `Map` instead of `Record` to store option elements
...
This has few advantages:
* `Map` is more performant, and its keys cannot clash with builtin
JavaScript properties (e.g. `toString`).
* TypeScript has better type information about `map.keys()`, whereas
`Object.keys()` always return `string[]`.
Also, move `camelize` inside `getBooleanElements`, as it's only used
there, and unify the 2 `for` loops in `bindBooleanOptions` (iterating
`options` is wrong because it might contain options that doesn't exist
in the page).
2021-09-24 17:30:12 +03:00
relrelb
bb926461a1
extension: Return a `Promise` from `injectScriptURL`
...
This serves 2 goals:
1. Wait for the script to be injected (when the promise is resolved),
so future `sendMessageToPage` won't happen before the script can
respond.
2. Detect errors in the script injection (when the promise is
rejected).
2021-09-24 17:30:12 +03:00
relrelb
4dfbff5f2f
extension: Invert `shouldLoad` condition
...
This is a pure mechanical change, in order to lower the indentation
level.
2021-09-24 17:30:12 +03:00
relrelb
340837649e
extension: Rename message properties
...
Make them short and clear:
* `uniqueMessageSuffix` -> `ID`
* `type` -> `to`
2021-09-24 17:30:12 +03:00
Chris Midgley
f276712c2c
dev: allow for failure of firefox signing in build nightly
2021-09-21 20:10:20 +02:00
relrelb
dd42b563ff
web: Bump wasm-bindgen to 0.2.78
...
As usual, also bump its helper crates (`js-sys`, `wasm-bindgen-futures`)
to the latest versions, except for `web-sys` which is locked by wgpu
to 0.3.50.
2021-09-18 21:35:50 +02:00
Giles Cope
623654cd99
Adding back getrandom
2021-09-18 15:28:24 +02:00
Giles Cope
42c2b40052
unused deps
2021-09-18 15:28:24 +02:00
Chris Midgley
384d04536f
dev: optimize file sizes for pngs and svgs
...
Run pngs through optipng and svgs through svgo.
2021-09-16 02:37:11 -07:00
relrelb
2e8a177bef
web: Indent using spaces in tsconfig.json
2021-09-15 00:42:17 +03:00
Daniel Jacobs
56e8dd1b0e
demo: Add visual indicator to file picker for dragging and dropping
2021-09-15 00:08:16 +03:00
Seedgou
5933107fd7
docs: vectorize logo image
2021-09-14 23:43:45 +03:00
Mike Welsh
a882f85d14
chore: Bump TypeScript config to es2017
2021-09-13 14:54:17 -07:00
Tal Hayon
72a811ae2c
web: support no trailing slash in base parameter
2021-09-12 16:02:29 -07:00
Mike Welsh
d84f65874e
chore: Appease clippy
...
Debug/Clone dervies no longer squelch dead code warnings, see:
See https://github.com/rust-lang/rust/pull/85200
2021-09-11 21:50:52 -07:00
Chris Midgley
2abea5aeba
web: don't panic if failing to create an audio buffer
2021-09-11 15:48:30 -07:00
Daniel Jacobs
2213e7d012
web: Menu embed/object attribute true value is case-insensitive
2021-09-11 14:25:52 -07:00
Mike Welsh
9978eaa954
chore: Bump to wasm-bindgen 0.2.77
2021-09-10 16:32:14 -07:00
Daniel Jacobs
5ac9796ffd
web: Support salign, quality, & scale embed/object attributes (part of #4258 )
2021-09-08 16:25:47 -07:00
relrelb
acd462745d
web: Fix `publicPath()` being called from non-global scope
...
`document.currentScript` works only while the script is initially
being processed. This means that when `publicPath()` was called from
a non-global scope, it failed to detect where ruffle.js is located,
which in turn failed to determine the .wasm location.
2021-09-08 02:25:05 -07:00
relrelb
375269417f
web: Set `__webpack_public_path__` in `load-ruffle.ts`
...
Use wasm-bindgen's built-in loader instead of relying on Webpack.
In order to still respect the `publicPath` config, set
`__webpack_public_path__` just before fetching the WebAssembly module.
This allows to no longer declare `.wasm` files as resource assets in
each `webpack.config.js`.
2021-09-08 02:25:05 -07:00
relrelb
28a155a099
web: Remove `config.publicPaths`
...
This simplifies the `publicPath` function and makes it useable inside
`fetchRuffle`.
Assuming `publicPaths` isn't used anywhere, this shouldn't be harmless.
2021-09-08 02:25:05 -07:00
Tal Hayon
e7bff63149
web: check array_buffer promise for failure
2021-09-07 16:59:01 -07:00
Tal Hayon
4625ca0e0b
web: fix base param
2021-09-07 16:45:35 -07:00
David Wendt
116fb1f323
avm2: Impl `Sound.play`
...
This does not (yet) implement the third `SoundTransform` parameter on `play`.
2021-09-03 16:47:02 -06:00
David Wendt
3b6eea2a1d
core: Report sound duration as `f64` and round down in AS1
2021-09-03 16:47:02 -06:00
David Wendt
89b411593f
avm2: Impl `Sound.bytesTotal`
2021-09-03 16:47:02 -06:00
dependabot[bot]
8b665b590d
chore: Bump typescript from 4.3.4 to 4.4.2 in /web
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.4 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 17:03:19 +03:00
dependabot[bot]
35e32582df
chore: Bump @wdio/cli from 7.9.0 to 7.11.1 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.9.0 to 7.11.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/compare/v7.9.0...v7.11.1 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 13:37:06 +03:00
relrelb
44d1677ed6
web: Allow migration to TypeScript 4.4
...
More info at: https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#use-unknown-catch-variables
2021-09-02 10:09:21 +03:00
dependabot[bot]
0ce601c185
chore: Bump @wdio/static-server-service from 7.7.3 to 7.10.1 in /web
...
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio ) from 7.7.3 to 7.10.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/compare/v7.7.3...v7.10.1 )
---
updated-dependencies:
- dependency-name: "@wdio/static-server-service"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 10:08:27 +03:00
dependabot[bot]
1cc827880d
chore: Bump copy-webpack-plugin from 9.0.0 to 9.0.1 in /web
...
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin ) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v9.0.0...v9.0.1 )
---
updated-dependencies:
- dependency-name: copy-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 10:08:05 +03:00
dependabot[bot]
ec85e18e09
chore: Bump @types/chrome from 0.0.149 to 0.0.154 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.149 to 0.0.154.
- [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>
2021-09-02 00:25:13 +03:00
dependabot[bot]
bf44fd9a85
chore: Update typedoc requirement from ^0.21.2 to ^0.21.9 in /web
...
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc ) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.21.2...v0.21.9 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 00:25:02 +03:00
dependabot[bot]
c36f476ea9
chore: Bump wdio-chromedriver-service from 7.1.1 to 7.2.0 in /web
...
Bumps [wdio-chromedriver-service](https://github.com/webdriverio-community/wdio-chromedriver-service ) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/webdriverio-community/wdio-chromedriver-service/releases )
- [Commits](https://github.com/webdriverio-community/wdio-chromedriver-service/compare/v7.1.1...v7.2.0 )
---
updated-dependencies:
- dependency-name: wdio-chromedriver-service
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 00:17:13 +03:00
dependabot[bot]
6a9fc6fd1c
chore: Update style-loader requirement from ^3.0.0 to ^3.2.1 in /web
...
Updates the requirements on [style-loader](https://github.com/webpack-contrib/style-loader ) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v3.0.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: style-loader
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 23:57:14 +03:00
dependabot[bot]
144fce5969
chore: Bump chromedriver from 91.0.1 to 92.0.2 in /web
...
Bumps [chromedriver](https://github.com/giggio/node-chromedriver ) from 91.0.1 to 92.0.2.
- [Release notes](https://github.com/giggio/node-chromedriver/releases )
- [Commits](https://github.com/giggio/node-chromedriver/commits )
---
updated-dependencies:
- dependency-name: chromedriver
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 23:57:00 +03:00
dependabot[bot]
2f4b98a8d5
chore: Bump prettier from 2.3.1 to 2.3.2 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.1 to 2.3.2.
- [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.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 23:56:40 +03:00
dependabot[bot]
3136331e85
chore: Bump serde from 1.0.128 to 1.0.130
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.128 to 1.0.130.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.128...v1.0.130 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 22:31:27 +02:00
Daniel Jacobs
3982f3af98
web: Support menu embed/object attribute (part of #4258 )
2021-08-28 14:56:35 +02:00
relrelb
74da833c58
extension: Resolve paths relative to the SWF location
...
In direct SWF mode, paths used to be resolved relative to the
extension URL, which is invalid. Change it to be relative to the
SWF location, using the `base` option.
2021-08-26 01:02:45 +03:00
dependabot[bot]
d8457d175b
chore: Bump serde from 1.0.127 to 1.0.128
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.127...v1.0.128 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 23:46:47 +03:00
Mike Welsh
1f951b6b9f
core: Add h263 feature
2021-08-21 14:13:55 -06:00
Chris Midgley
535b614ee4
dev: remove wdio/sync ( #5105 )
...
* dev: remove wdio/sync
* chore: fix eslint errors
2021-08-21 16:34:08 +02:00
relrelb
7be7182eb9
web: Bump wasm-bindgen to 0.2.76
...
As usual, also bump its helper crates (js-sys, wasm-bindgen-futures)
to the latest versions, except for web-sys which is locked by wgpu
to 0.3.50.
2021-08-21 14:59:26 +02:00
Tal Hayon
8cb5cf0252
web: Adds support for base embed/object attribute (Part of #4258 )
2021-08-19 21:22:47 +02:00
Daniel Jacobs
985a97d599
web: Re-enable context menu on mobile, with option to disable ( #5000 )
...
* Re-enable context menu on mobile, with option to disable
* Review refactors
Co-authored-by: Adrian Wielgosik <adrian.wielgosik@gmail.com>
2021-08-19 20:28:40 +02:00
relrelb
ac3c198bda
chore: Appease clippy
2021-08-18 08:01:57 +03:00
relrelb
0fe583e723
extension: Fix warning on Firefox
...
Firefox doesn't know the manifest "version_name" key, so it shows
a warning when loading the extension.
So define "version_name" only for the "generic" variant, along with
a nearby cleanup of using a regular property assignment instead of
`Object.assign`.
2021-08-16 23:03:29 +03:00
Seedgou
7a0a3025ba
extension: vectorize logo image
2021-08-16 18:25:33 +02:00
cyrozap
74d6195725
demo: Fix local file uploads on iOS
...
It seems Mobile Safari on iOS refuses to allow selection of any files
when the "accept" attribute doesn't contain any file types it
recognizes. To fix this, detect when the demo is running on an iOS
device and remove the "accept" attribute from the file input in that
case.
Fixes: 2d0c76c06f
("demo: Only accepts .swf and .spl files")
2021-08-11 19:53:38 +02:00
relrelb
232bb26b7f
web: Bump wasm-bindgen to 0.2.75
...
Also bump its helper crates (js-sys, wasm-bindgen-futures) to the
latest versions, except for web-sys which seems to be locked by wgpu
to 0.3.50.
2021-08-08 16:53:41 +03:00
Daniel Jacobs
88f368ad0a
Link all CompileErrors to wiki without a report bug button
2021-08-08 11:56:20 +02:00