Commit Graph

1421 Commits

Author SHA1 Message Date
Crowdin Bot e1c05da618 chore: Update translations from Crowdin 2024-08-18 00:27:46 +02:00
Crowdin Bot d885697d9b chore: Update translations from Crowdin 2024-08-16 23:30:18 +02:00
dependabot[bot] 54696912d2 build(deps-dev): bump the npm-minor group in /web with 3 updates
Bumps the npm-minor group in /web with 3 updates: [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc), [stylelint](https://github.com/stylelint/stylelint) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `eslint-plugin-jsdoc` from 50.2.0 to 50.2.2
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.2.0...v50.2.2)

Updates `stylelint` from 16.8.1 to 16.8.2
- [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/16.8.1...16.8.2)

Updates `vite` from 5.4.0 to 5.4.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 17:14:08 +02:00
Nathan Adams b33423c27f web: Allow redefining of EI properties, silencing an error when it happens
(realistically the method we replace it with is still the same one, but...)
2024-08-15 12:19:15 +02:00
Nathan Adams 3918d4b036 web: Add test to ensure redefining an EI method works 2024-08-15 12:19:15 +02:00
riku_42 0bd16b202c nit: group wildcard rules together 2024-08-14 14:48:40 +02:00
riku-42 7a689f1c45 feat: add more matched 4399 sites for content scripting 2024-08-14 14:48:40 +02:00
dependabot[bot] 11e15d1acc build(deps-dev): bump the npm-minor group in /web with 2 updates
Bumps the npm-minor group in /web with 2 updates: [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) and [axios](https://github.com/axios/axios).


Updates `eslint-plugin-jsdoc` from 50.0.1 to 50.2.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.0.1...v50.2.0)

Updates `axios` from 1.7.3 to 1.7.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 21:51:49 +02:00
Crowdin Bot fea16a0893 chore: Update translations from Crowdin 2024-08-12 23:32:47 +02:00
dependabot[bot] 5610dfc743 build(deps-dev): bump the npm-minor group in /web with 2 updates
Bumps the npm-minor group in /web with 2 updates: [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) and [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome).


Updates `typescript-eslint` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/typescript-eslint)

Updates `@types/chrome` from 0.0.269 to 0.0.270
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 22:49:13 +02:00
Daniel Jacobs 6d390f44f3 web: Remove redundant check in pluginPolyfill 2024-08-12 21:02:53 +02:00
Daniel Jacobs 1d764ab85e web: Don't install Flash plugin if it already exists 2024-08-12 21:02:53 +02:00
dependabot[bot] 995e84c125 build(deps-dev): bump the npm-minor group in /web with 13 updates
Bumps the npm-minor group in /web with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.8.0` | `9.9.0` |
| [@wdio/browserstack-service](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-browserstack-service) | `8.40.0` | `8.40.2` |
| [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli) | `8.40.0` | `8.40.2` |
| [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner) | `8.40.0` | `8.40.2` |
| [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework) | `8.40.0` | `8.40.2` |
| [eslint](https://github.com/eslint/eslint) | `9.8.0` | `9.9.0` |
| [mocha](https://github.com/mochajs/mocha) | `10.7.0` | `10.7.3` |
| [tsx](https://github.com/privatenumber/tsx) | `4.16.5` | `4.17.0` |
| [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) | `8.40.0` | `8.40.2` |
| [cssnano](https://github.com/cssnano/cssnano) | `7.0.4` | `7.0.5` |
| [cssnano-preset-advanced](https://github.com/cssnano/cssnano) | `7.0.4` | `7.0.5` |
| [postcss](https://github.com/postcss/postcss) | `8.4.40` | `8.4.41` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.5` | `5.4.0` |


Updates `@eslint/js` from 9.8.0 to 9.9.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/commits/v9.9.0/packages/js)

Updates `@wdio/browserstack-service` from 8.40.0 to 8.40.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.40.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.40.2/packages/wdio-browserstack-service)

Updates `@wdio/cli` from 8.40.0 to 8.40.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.40.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.40.2/packages/wdio-cli)

Updates `@wdio/local-runner` from 8.40.0 to 8.40.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.40.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.40.2/packages/wdio-local-runner)

Updates `@wdio/mocha-framework` from 8.40.0 to 8.40.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.40.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.40.2/packages/wdio-mocha-framework)

Updates `eslint` from 9.8.0 to 9.9.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/v9.8.0...v9.9.0)

Updates `mocha` from 10.7.0 to 10.7.3
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.7.0...v10.7.3)

Updates `tsx` from 4.16.5 to 4.17.0
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.16.5...v4.17.0)

Updates `webdriverio` from 8.40.0 to 8.40.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.40.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.40.2/packages/webdriverio)

Updates `cssnano` from 7.0.4 to 7.0.5
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@7.0.4...cssnano@7.0.5)

Updates `cssnano-preset-advanced` from 7.0.4 to 7.0.5
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@7.0.4...cssnano-preset-advanced@7.0.5)

Updates `postcss` from 8.4.40 to 8.4.41
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.40...8.4.41)

Updates `vite` from 5.3.5 to 5.4.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@5.4.0/packages/vite)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: "@wdio/browserstack-service"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@wdio/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@wdio/local-runner"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@wdio/mocha-framework"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: webdriverio
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 18:02:48 +02:00
Aaron Hill d483fc876c extension: Register navigator polyfill script with allFrames: true
This causes the browser to inject our polyfill script into iframes
as well as the main document. This ensures that we can always inject
the fake 'Shockwave Flash' plugin before the page's javascript has
a change to check 'navigator.plugins'

This fixes an inconsistent 'Flash Player Missing' error on
7Road Wartune
2024-08-12 11:00:32 -04:00
Crowdin Bot a475845022 chore: Update translations from Crowdin 2024-08-10 02:08:16 +02:00
Daniel Jacobs 688c25e85f extension: Don't put responseHeadersUnsupported in config 2024-08-09 16:36:05 -04:00
Daniel Jacobs 52ef345dae extension: Stop "Reset Settings" removing responseHeadersUnsupported 2024-08-09 16:36:05 -04:00
Crowdin Bot b9054c4f45 chore: Update translations from Crowdin 2024-08-09 00:01:46 +02:00
Daniel Jacobs 8481d9925f extension: Reword SWF takeover option 2024-08-07 19:47:09 -04:00
Daniel Jacobs d723988237 extension: Don't explicitly check swfTakeover option initially 2024-08-07 19:47:09 -04:00
Daniel Jacobs 6096ac2a5f extension: Don't enable SWF takeover if Ruffle is disabled when toggled 2024-08-07 19:47:09 -04:00
Daniel Jacobs aa647317e7 extension: Hide toggle for SWF redirect on browsers without support 2024-08-07 19:47:09 -04:00
Daniel Jacobs 125d0a84e4 extension: Mention switching to the browser namespace as a TODO 2024-08-07 19:47:09 -04:00
Daniel Jacobs b4eb73ba6c extension: Use more accurate regex for SWF/SPL URLs 2024-08-07 19:47:09 -04:00
Daniel Jacobs eb22fe2151 extension: Allow manually enabling or disabling SWF takeover 2024-08-07 19:47:09 -04:00
Daniel Jacobs 38965e65e4 extension: Don't add dynamic rules where responseHeaders rules ignored 2024-08-07 19:47:09 -04:00
Daniel Jacobs 3a47f8a20f extension: Allow this to work on Firefox when its eventually supported 2024-08-07 19:47:09 -04:00
Daniel Jacobs 10edaf2c48 extension: Add ability to download SWF to local player page 2024-08-07 19:47:09 -04:00
Daniel Jacobs 724442997b extension: Re-enable SWF takeover using declarativeNetRequest 2024-08-07 19:47:09 -04:00
Nathan Adams ccbad52a1e web: Allow overriding of methods via ExternalInterface - fixes #13974 2024-08-06 16:29:10 +02:00
Crowdin Bot c7ecaf9ae4 chore: Update translations from Crowdin 2024-08-05 23:56:21 +02:00
Daniel Jacobs 57b21cff9d ci: Update webdriverio and remove driver services 2024-08-05 23:28:15 +02:00
dependabot[bot] e5f53385c9 build(deps-dev): bump postcss-nesting from 12.1.5 to 13.0.0 in /web
Bumps [postcss-nesting](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-nesting) from 12.1.5 to 13.0.0.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-nesting)

---
updated-dependencies:
- dependency-name: postcss-nesting
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 18:15:51 +02:00
dependabot[bot] 532f043cd4 build(deps): bump the npm-minor group in /web with 8 updates
Bumps the npm-minor group in /web with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.9.2` | `48.11.0` |
| [globals](https://github.com/sindresorhus/globals) | `15.8.0` | `15.9.0` |
| [stylelint](https://github.com/stylelint/stylelint) | `16.8.0` | `16.8.1` |
| [tsx](https://github.com/privatenumber/tsx) | `4.16.2` | `4.16.5` |
| [chromedriver](https://github.com/giggio/node-chromedriver) | `127.0.0` | `127.0.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.19` | `10.4.20` |
| [axios](https://github.com/axios/axios) | `1.7.2` | `1.7.3` |
| [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) | `4.3.16` | `4.3.17` |


Updates `eslint-plugin-jsdoc` from 48.9.2 to 48.11.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.9.2...v48.11.0)

Updates `globals` from 15.8.0 to 15.9.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v15.9.0)

Updates `stylelint` from 16.8.0 to 16.8.1
- [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/16.8.0...16.8.1)

Updates `tsx` from 4.16.2 to 4.16.5
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.16.2...v4.16.5)

Updates `chromedriver` from 127.0.0 to 127.0.1
- [Commits](https://github.com/giggio/node-chromedriver/compare/127.0.0...127.0.1)

Updates `autoprefixer` from 10.4.19 to 10.4.20
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20)

Updates `axios` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.3)

Updates `@types/chai` from 4.3.16 to 4.3.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: chromedriver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 16:58:22 +02:00
Crowdin Bot 3b482b176e chore: Update translations from Crowdin 2024-08-05 13:37:33 +02:00
Nathan Adams cc32c33e6e web: Expose loadedConfig, as readonly 2024-08-05 04:10:43 +02:00
Nathan Adams fd9e7ff452 web: Rename player elements to *Element 2024-08-05 04:10:43 +02:00
Nathan Adams c1ed00e6c8 web: Move the players to internal/player 2024-08-05 04:10:43 +02:00
Nathan Adams 29e70e7e58 web: Make external callback a bit more explicit, and define it on RufflePlayer like before 2024-08-05 04:10:43 +02:00
Nathan Adams cd8125fbf5 web: Extract interfaces for RufflePlayer 2024-08-05 04:10:43 +02:00
Nathan Adams 89d4cf02ff web: Move some polyfill code out of RufflePlayer 2024-08-05 04:10:43 +02:00
Nathan Adams 2f7db41f9f web: Move all of the actual player logic out from RufflePlayer and into InnerPlayer 2024-08-05 04:10:43 +02:00
Nathan Adams 3183afbbf7 web: Fix some minor typos 2024-08-05 04:10:43 +02:00
Daniel Jacobs f199a8f740 web: Fix height of Ruffle panic details 2024-07-30 19:37:49 +02:00
dependabot[bot] 3e21740403 build(deps-dev): bump the npm-minor group in /web with 5 updates
Bumps the npm-minor group in /web with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.7.0` | `9.8.0` |
| [eslint](https://github.com/eslint/eslint) | `9.7.0` | `9.8.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.8.3` | `48.9.2` |
| [postcss](https://github.com/postcss/postcss) | `8.4.39` | `8.4.40` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.4` | `5.3.5` |


Updates `@eslint/js` from 9.7.0 to 9.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/commits/v9.8.0/packages/js)

Updates `eslint` from 9.7.0 to 9.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/v9.7.0...v9.8.0)

Updates `eslint-plugin-jsdoc` from 48.8.3 to 48.9.2
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.8.3...v48.9.2)

Updates `postcss` from 8.4.39 to 8.4.40
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.39...8.4.40)

Updates `vite` from 5.3.4 to 5.3.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 15:54:45 +02:00
Crowdin Bot 2ac4e7e62d chore: Update translations from Crowdin 2024-07-28 01:00:18 +02:00
Kamil Jarosz 96173b0501 web: Improve virtual keyboard support
This patch integrates the virtual keyboard with the newly added focus
management and removes Android-specific code, instead using generic
logic which takes advantage of improved focus support in SWFs.
2024-07-27 21:32:35 +02:00
Kamil Jarosz e18ae830c1 web: Use browser focus events for focus management
This patch changes how the player focus is managed.

Before this patch, `instance.has_focus` was unrelated
to the current focus managed by the browser.
When the user clicked anywhere on the window, it was set to `false`,
and when the user clicked on the player, it was set to `true`.
This had two major issues.
1. When the user clicked on the player, `has_focus` was set to `false`,
   and then again to `true`. That was problematic when listening
   to focus change events.
2. Not using browser's focus makes it harder to integrate with Ruffle,
   i.e. tab out of Ruffle.

This patch uses browser's focus management to detect focus
and listen to focus events:
1. on `focusin` – FocusGained event is fired,
2. on `focusout` – FocusLost event is fired, and
3. on `pointerdown` – focus is manually set to the canvas.
The container has `tabindex` set to -1 in order to be focusable.

Virtual keyboard on web is represented as an input inside the container.
In order to preserve player focus when virtual keyboard is open,
this patch ensures that the container is focused and not the canvas.
This way, when the input is focused, the container does not lose its focus.
2024-07-27 21:32:35 +02:00
Crowdin Bot 9065ce3a03 chore: Update translations from Crowdin 2024-07-24 21:57:36 +02:00
dependabot[bot] eb2c98b8e6 build(deps-dev): bump the npm-minor group in /web with 2 updates
Bumps the npm-minor group in /web with 2 updates: [typescript](https://github.com/Microsoft/TypeScript) and [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome).


Updates `typescript` from 5.5.3 to 5.5.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

Updates `@types/chrome` from 0.0.268 to 0.0.269
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 18:50:44 +02:00