Nathan Adams
6e74f57318
web: Update to eslint 9
2024-07-08 11:34:35 +02:00
Nathan Adams
53d56573c1
web: Migrate to 'flat config' style for eslint
2024-07-08 11:34:35 +02:00
TÖRÖK Attila
acc84769b6
desktop,chore: Bump `egui` to `v0.28.1`
2024-07-08 01:29:40 +02:00
Nathan Adams
dd7692b211
core: Document audio+DO methods slightly
2024-07-07 23:57:24 +02:00
Nathan Adams
229697fbbd
core: Correctly handle sound events attached to buttons. Fixes #2473
2024-07-07 23:57:24 +02:00
Nathan Adams
1ffb9d2ab9
avm1: Remove sounds when their clip is unloaded, fixes #7447 , #14663
2024-07-07 23:57:24 +02:00
Nathan Adams
84df034f84
core: When stopping sounds associated with movieclips, go by path instead of pointer - fixes #9795
2024-07-07 23:57:24 +02:00
Kamil Jarosz
dda4cbfd62
core: Use existing methods for rounding twips
...
Replace `round_to_pixel_half_even` and `round_down_to_pixel` with
existing methods used for rounding twips to pixels.
2024-07-07 21:45:52 +02:00
Lord-McSweeney
1c1fc099cb
avm2: Add `flash.net.drm::LoadVoucherSetting` class
2024-07-07 16:03:52 +03:00
Lord-McSweeney
2d650faec0
avm2: Implement `flash.events::AVStatusEvent` and `flash.media::AVCaptionStyle`
2024-07-07 16:03:52 +03:00
Aaron Hill
f0d224d88e
avm2: Make 'Loader.unloadAndStop' call 'Loader.unload'
...
We still need to implement the 'stop' behavior, but this should
bring us closer to matching Flash Player.
2024-07-07 08:13:10 -04:00
dependabot[bot]
cb8770663f
build(deps): bump the cargo-minor group with 3 updates
...
Bumps the cargo-minor group with 3 updates: [serde](https://github.com/serde-rs/serde ), [syn](https://github.com/dtolnay/syn ) and [gilrs](https://gitlab.com/gilrs-project/gilrs ).
Updates `serde` from 1.0.203 to 1.0.204
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204 )
Updates `syn` from 2.0.68 to 2.0.69
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.68...2.0.69 )
Updates `gilrs` from 0.10.7 to 0.10.8
- [Commits](https://gitlab.com/gilrs-project/gilrs/compare/v0.10.7...v0.10.8 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: gilrs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 13:10:44 +02:00
dependabot[bot]
6a9b8a5e1b
build(deps-dev): bump the npm-minor group in /web with 8 updates
...
Bumps the npm-minor group in /web with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli ) | `8.39.0` | `8.39.1` |
| [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner ) | `8.39.0` | `8.39.1` |
| [mocha](https://github.com/mochajs/mocha ) | `10.5.2` | `10.6.0` |
| [tsx](https://github.com/privatenumber/tsx ) | `4.16.0` | `4.16.2` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `48.5.0` | `48.5.2` |
| [replace-in-file](https://github.com/adamreisnz/replace-in-file ) | `8.0.2` | `8.1.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) | `5.3.2` | `5.3.3` |
| [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio ) | `8.39.0` | `8.39.1` |
Updates `@wdio/cli` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/wdio-cli )
Updates `@wdio/local-runner` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/wdio-local-runner )
Updates `mocha` from 10.5.2 to 10.6.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.5.2...v10.6.0 )
Updates `tsx` from 4.16.0 to 4.16.2
- [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.0...v4.16.2 )
Updates `eslint-plugin-jsdoc` from 48.5.0 to 48.5.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.5.0...v48.5.2 )
Updates `replace-in-file` from 8.0.2 to 8.1.0
- [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/commits )
Updates `vite` from 5.3.2 to 5.3.3
- [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.3/packages/vite )
Updates `webdriverio` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/webdriverio )
---
updated-dependencies:
- 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: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: replace-in-file
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: webdriverio
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 12:50:16 +02:00
Nathan Adams
04200afa60
chore: Make dependabot increase version requirements for npm dependencies
2024-07-07 12:27:37 +02:00
Lord-McSweeney
62f0e07171
avm2: Implement `flash.media::AVResult`
2024-07-07 13:10:33 +03:00
Adrian Wielgosik
9394f7788c
wgpu: Don't use textures for shader cache keys
2024-07-06 22:44:34 +02:00
Polo
da4eccfc68
avm2: Implement AuthenticationMethod
2024-07-06 22:23:00 +02:00
Polo
e015695f47
avm2: Implement NetStreamAppendBytesAction
2024-07-06 22:23:00 +02:00
Polo
430c799e9d
avm2: API versioning added for NetStreamPlayTransitions
2024-07-06 22:23:00 +02:00
Polo
3f0c693793
avm2: Implement NetStreamPlayTransitions
2024-07-06 22:23:00 +02:00
Kamil Jarosz
9d7629e486
tests: Add avm2/edittext_mouse_selection test
...
This test verifies the behavior of selecting text using mouse.
It takes into account normal, word, and line selection.
Example use cases covered by this test:
1. selecting characters,
2. selecting words by double-clicking,
3. selecting multiple words by double-clicking and dragging,
4. selecting lines by triple-clicking,
5. selecting multiple lines by triple-clicking and dragging,
6. double-clicking at word boundaries,
7. double-clicking between spaces,
8. changing the underlying text while clicking and dragging,
9. trying to select while the text field is not selectable.
2024-07-06 18:32:10 +02:00
Kamil Jarosz
594201adc8
text: Implement double/triple click selection
...
This patch implements selecting words by double-clicking and
selecting lines by triple-clicking.
It also includes support for selecting words and lines while dragging.
2024-07-06 18:32:10 +02:00
Kamil Jarosz
dc4ea60d13
text: Add TODO related to opening links
2024-07-06 18:32:10 +02:00
Kamil Jarosz
d770422724
core: Calculate click index when not supplied
2024-07-06 18:32:10 +02:00
Kamil Jarosz
44f222a611
tests: Add click index to AutomatedEvent::MouseDown
2024-07-06 18:32:10 +02:00
Kamil Jarosz
9f9d462381
core: Add click index to PlayerEvent::MouseDown
2024-07-06 18:32:10 +02:00
Kamil Jarosz
9188005820
core: Add click index to ClipEvent::Press
2024-07-06 18:32:10 +02:00
Daniel Jacobs
a5a9ef9a03
extension: Don't register 4399 content script if Ruffle is disabled
2024-07-06 12:55:37 +02:00
Nathan Adams
f8cba925c3
core: Update flash-lso, removes cookie-factory
2024-07-06 12:27:26 +02:00
TÖRÖK Attila
5fb04101e1
web: Fix all context menu items appearing disabled
2024-07-05 17:10:54 +02:00
TÖRÖK Attila
fd89aa173d
chore: Bump `httparse` to `v1.9.4`
2024-07-05 02:18:15 +02:00
dependabot[bot]
26ee124eb7
build(deps): bump the cargo-minor group across 1 directory with 2 updates
...
Bumps the cargo-minor group with 2 updates in the / directory: [ttf-parser](https://github.com/RazrFalcon/ttf-parser ) and [fontdb](https://github.com/RazrFalcon/fontdb ).
Updates `ttf-parser` from 0.21.1 to 0.24.0
- [Changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/ttf-parser/compare/v0.21.1...v0.24.0 )
Updates `fontdb` from 0.18.0 to 0.20.0
- [Changelog](https://github.com/RazrFalcon/fontdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/fontdb/compare/v0.18.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: ttf-parser
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: fontdb
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 01:41:48 +02:00
Crowdin Bot
23b7810a07
chore: Update translations from Crowdin
2024-07-04 23:11:43 +02:00
Tom Schuster
2dda941ecf
tests: Test AMF serialization of dynamic Proxy
2024-07-04 18:43:01 +02:00
Tom Schuster
7884a35e87
avm2: Properly enumerate Proxy objects for AMF serialization
...
Fixes #16931 :
2024-07-04 18:43:01 +02:00
Nathan Adams
d0a37b3b61
web: More error cleanup, remove the indirection of errors through an enum
2024-07-04 13:39:06 +02:00
Nathan Adams
e67cc08da5
web: Remove ruffleIndexError as a global thing on Error, make our own Error classes
2024-07-04 13:39:06 +02:00
Nathan Adams
a8b146df3e
web: Move PanicError enum to its own file
2024-07-04 13:39:06 +02:00
Nathan Adams
b254b19be2
web: Remove PanicError.JavascriptConfiguration from rust loading - doesn't happen anymore
2024-07-04 13:39:06 +02:00
Nathan Adams
20a8d7be8a
web: Move the actual creation of panic error/actions into panic.tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
5ebf876348
web: Move the creation of the github report url to panic.tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
f96ca66f82
web: Simplify the actual creation of the panic screen
2024-07-04 13:39:06 +02:00
Nathan Adams
1603dfb016
web: Simplify panic action links a bit, use tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
024d056418
web: Move PanicLinkInfo and createErrorFooter to own file
2024-07-04 13:39:06 +02:00
Nathan Adams
ff3d8744f0
web: Use tsx in ruffle-core, convert context menu to use tsx as proof of concept
2024-07-04 13:39:06 +02:00
Nathan Adams
01903f6aee
web: Use 'foo as X' instead of '<X>foo'
2024-07-04 13:39:06 +02:00
TÖRÖK Attila
4dd77f903e
desktop: Update `egui` to `v0.28.0`
2024-07-04 11:32:48 +02:00
Nathan Adams
02ba384245
ci: Make the crowdin PR with the rufflebuild user
2024-07-03 23:57:16 +02:00
Aaron Hill
c65033aa37
avm2: Ignore errors when setting properties in amf deserializer
...
Flash Player *traces* any errors that occur during setting properties
on the newly-constructed object durting AMf deserialization, and
continues deserializing.
2024-07-03 17:42:02 -04:00
Crowdin Bot
e9ec441ef7
chore: Update translations from Crowdin
2024-07-03 23:13:58 +02:00