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
Daniel Jacobs
d8da4ffaa5
extension: Don't redefine the window.close() method
2024-07-24 17:49:10 +02:00
Daniel Jacobs
141eab4292
extension: Unregister event listeners before adding new ones
2024-07-24 17:49:10 +02:00
Daniel Jacobs
830b5df3dc
extension: Request permission for SWF origins loaded in player as needed
2024-07-24 17:49:10 +02:00
Daniel Jacobs
a7ee776750
web: Fix globals.d.ts file type declarations
2024-07-23 20:06:15 +02:00
Daniel Jacobs
07033d3087
web: Use CSS scale attribute instead of non-existent scale property
2024-07-23 11:14:52 -04:00
Crowdin Bot
db1e4208e3
chore: Update translations from Crowdin
2024-07-22 19:41:49 +02:00
dependabot[bot]
b180a1b81d
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.7.0` | `48.8.3` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) | `5.1.3` | `5.2.1` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh ) | `0.4.8` | `0.4.9` |
| [mocha](https://github.com/mochajs/mocha ) | `10.6.0` | `10.7.0` |
| [stylelint-prettier](https://github.com/prettier/stylelint-prettier ) | `5.0.1` | `5.0.2` |
| [chromedriver](https://github.com/giggio/node-chromedriver ) | `126.0.4` | `126.0.5` |
| [typedoc](https://github.com/TypeStrong/TypeDoc ) | `0.26.4` | `0.26.5` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) | `5.3.3` | `5.3.4` |
Updates `eslint-plugin-jsdoc` from 48.7.0 to 48.8.3
- [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.7.0...v48.8.3 )
Updates `eslint-plugin-prettier` from 5.1.3 to 5.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/v5.1.3...v5.2.1 )
Updates `eslint-plugin-react-refresh` from 0.4.8 to 0.4.9
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases )
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.8...v0.4.9 )
Updates `mocha` from 10.6.0 to 10.7.0
- [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.6.0...v10.7.0 )
Updates `stylelint-prettier` from 5.0.1 to 5.0.2
- [Changelog](https://github.com/prettier/stylelint-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/stylelint-prettier/compare/v5.0.1...v5.0.2 )
Updates `chromedriver` from 126.0.4 to 126.0.5
- [Commits](https://github.com/giggio/node-chromedriver/compare/126.0.4...126.0.5 )
Updates `typedoc` from 0.26.4 to 0.26.5
- [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.26.4...v0.26.5 )
Updates `vite` from 5.3.3 to 5.3.4
- [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.4/packages/vite )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: eslint-plugin-react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: stylelint-prettier
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: typedoc
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-22 14:31:09 +02:00
Daniel Jacobs
281ddbf406
web: Inform screen readers not to mention virtual keyboard input
2024-07-22 11:34:23 +02:00
Nathan Adams
1c8e95a061
web: Use nesting in css
2024-07-19 19:00:35 +02:00
Nathan Adams
50de5d09d2
web: Run cssnano over static css
2024-07-19 19:00:35 +02:00
Nathan Adams
7dff027345
chore: 'npm run format'
2024-07-19 19:00:35 +02:00
Nathan Adams
9bfdbf24e6
web: Include static-styles css at build time, from a .css file
2024-07-19 19:00:35 +02:00
Nathan Adams
d204871e22
web: Move shadow-template to internal
2024-07-19 19:00:35 +02:00
Daniel Jacobs
e25d97195e
chore: Add newlines to ends of files
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e708ec823f
web: Add more type definitions and comment about type checking oddities
2024-07-19 14:53:21 +02:00
Daniel Jacobs
5a788dc51c
web: Split shadow template into components
2024-07-19 14:53:21 +02:00
Daniel Jacobs
aec3348241
web: Remove unused global
2024-07-19 14:53:21 +02:00
Daniel Jacobs
0c878207c6
web: Use namespaces for SVG elements and split elements in template
2024-07-19 14:53:21 +02:00
Daniel Jacobs
78d2a85237
web: Add definitions to let things compile
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e19e088c28
chore: Formatting
2024-07-19 14:53:21 +02:00
Daniel Jacobs
1275656b9e
web: Add changes to make shadow template one tsx element
2024-07-19 14:53:21 +02:00
Daniel Jacobs
f56c43882f
web: Use tsx for shadow template
2024-07-19 14:53:21 +02:00
TÖRÖK Attila
0721ebb699
web: Remove now unused `getAudioOutputTimestamp`
2024-07-19 14:32:21 +02:00
TÖRÖK Attila
c88d363263
web: Remove now unused `copyToAudioBuffer`
2024-07-19 14:32:21 +02:00
Daniel Jacobs
ecc3cc4242
extension: Change from switch/toggle to proper boolean for tab reload
2024-07-17 14:54:13 -04:00
Daniel Jacobs
95ac802c4d
extension: Don't auto-reload tab when permissions are granted
2024-07-17 14:54:13 -04:00
Daniel Jacobs
579d2ff2b7
web: Check error type instead of error message
2024-07-17 13:49:37 +02:00
Daniel Jacobs
befe226f4a
web: Fix issue with error checking in panic function
2024-07-17 13:49:37 +02:00
Daniel Jacobs
f9312e6cd8
web: On pages with restrictive CSP show open in new tab option for SWF
2024-07-17 13:49:37 +02:00