MartySVK
f84fd985a8
avm2: Added all missing [API()] to methods from the list
2024-08-18 12:08:17 +02:00
Crowdin Bot
e1c05da618
chore: Update translations from Crowdin
2024-08-18 00:27:46 +02:00
Lord-McSweeney
0d37b3de8c
avm2: Ensure `bound_class` is set in `Activation::init_from_method` and remove special case for static methods in optimizer
2024-08-17 10:18:31 -07:00
Lord-McSweeney
7bea8c90ee
chore: appease clippy
2024-08-17 10:18:31 -07:00
Lord-McSweeney
cb5644bcb4
avm2: Fix some confusing naming of subclass and superclass
2024-08-17 10:18:31 -07:00
Lord-McSweeney
6507722f3e
avm2: Make Class class final
2024-08-17 10:18:31 -07:00
Lord-McSweeney
6450a6a028
tests: Add a test for unusual supercalls
2024-08-17 10:18:31 -07:00
Lord-McSweeney
f68baf0f76
avm2: Fix many issues with supercalling methods
...
Supercalling on the global object now works;
supercalling in the class initializer now works; and
supercalling in static methods now uses the correct superclass.
2024-08-17 10:18:31 -07: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
dependabot[bot]
67d849ef27
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 8.39.0 to 9.0.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/v9.0.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>
2024-08-16 16:29:06 +02:00
dependabot[bot]
dfeb8bdda7
build(deps-dev): bump @wdio/spec-reporter from 8.39.0 to 9.0.0 in /web
...
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-spec-reporter ) from 8.39.0 to 9.0.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/v9.0.0/packages/wdio-spec-reporter )
---
updated-dependencies:
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 16:16:35 +02:00
dependabot[bot]
98ec83ba5d
build(deps-dev): bump @wdio/mocha-framework from 8.40.2 to 9.0.0 in /web
...
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework ) from 8.40.2 to 9.0.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/v9.0.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>
2024-08-16 16:04:30 +02:00
Crowdin Bot
dda4b57109
chore: Update translations from Crowdin
2024-08-15 23:52:34 +02:00
MartySVK
24478ff43f
avm2: Add missing [API()] to flash.geom
2024-08-15 12:47:52 +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
Marco Bartoli
fdd86c1da2
avm2: avoid enqueuing Sound.play an infinite amount of times ( #17425 )
2024-08-13 15:57:22 +00:00
Aaron Hill
3b9d9cf230
avm2: Pass in `Gc<'gc, BytecodeMethod<'gc>>` to `optimize`
...
This allows us to pretty-print a method name from within
`optimize` using `display_function` (which needs to do
`Gc::ptr_eq`)
2024-08-12 21:23:33 -04:00
MartySVK
953c6732cc
Fix extra class flash.display
2024-08-12 18:05:56 -07:00
Aaron Hill
7ed2bdb8b6
avm2: Ignore debug opcodes when checking has_simple_scoping
...
Previously, swfs with debug opcodes would never be able to
use the `has_simple_scoping` optimization, since we would fail
to match the getlocal0/pushscope sequence.
We now allow any number of interleaved debug opcodes when checking
for this pattern.
2024-08-12 20:14:45 -04:00
Aaron Hill
79817f41d8
avm2: Add `[API("674")]` to Rectangle.copyFrom
...
This fixes old classes that extend Rectangle and define `copyFrom`
without marking it as an override
2024-08-12 19:36:47 -04:00
Crowdin Bot
fea16a0893
chore: Update translations from Crowdin
2024-08-12 23:32:47 +02:00
dependabot[bot]
a1b9da40d8
build(deps): bump serde from 1.0.206 to 1.0.207 in the cargo-minor group
...
Bumps the cargo-minor group with 1 update: [serde](https://github.com/serde-rs/serde ).
Updates `serde` from 1.0.206 to 1.0.207
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.207 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 23:14:16 +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
TÖRÖK Attila
9239cb8a5d
chore: A couple typo fixes in comments here and there
2024-08-12 21:36:51 +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
Kamil Jarosz
2428c37a12
video: Update instructions about updating OpenH264
2024-08-12 19:12:04 +02:00
Dexter Gerig
3dd32aba1f
video: Check OpenH264 library downloads with SHA256 instead of MD5
...
KJ:
Cisco distributes the OpenH264 binaries and their MD5 hashes over HTTP.
Knowing that HTTP is insecure, MD5 hashes may easily collide,
and both are served over the same medium, saying that
this method is ridiculous is an understatement.
Take into account that these are binaries we download and execute, and
we for sure do not want to turn Ruffle into a remote code execution framework.
This patch changes MD5 to SHA256 in order to increase security
and protect our users from attacks resulting from this vulnerability.
Co-authored-by: Kamil Jarosz <kjarosh256@gmail.com>
2024-08-12 19:12:04 +02:00
dependabot[bot]
f1c39d13c5
build(deps-dev): bump eslint-plugin-react-hooks in /web
...
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks ) from 5.1.0-rc-fb9a90fa48-20240614 to 5.1.0-rc.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 18:26:29 +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
dependabot[bot]
f51dcf8d55
build(deps): bump the cargo-minor group with 8 updates
...
Bumps the cargo-minor group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.15` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.204` | `1.0.206` |
| [linkme](https://github.com/dtolnay/linkme ) | `0.3.27` | `0.3.28` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.122` | `1.0.124` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.72` | `2.0.74` |
| [fontdb](https://github.com/RazrFalcon/fontdb ) | `0.20.0` | `0.21.0` |
| [async-io](https://github.com/smol-rs/async-io ) | `2.3.3` | `2.3.4` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.11.0` | `3.12.0` |
Updates `clap` from 4.5.13 to 4.5.15
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...v4.5.15 )
Updates `serde` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
Updates `linkme` from 0.3.27 to 0.3.28
- [Release notes](https://github.com/dtolnay/linkme/releases )
- [Commits](https://github.com/dtolnay/linkme/compare/0.3.27...0.3.28 )
Updates `serde_json` from 1.0.122 to 1.0.124
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124 )
Updates `syn` from 2.0.72 to 2.0.74
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...2.0.74 )
Updates `fontdb` from 0.20.0 to 0.21.0
- [Changelog](https://github.com/RazrFalcon/fontdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/fontdb/compare/v0.20.0...v0.21.0 )
Updates `async-io` from 2.3.3 to 2.3.4
- [Release notes](https://github.com/smol-rs/async-io/releases )
- [Changelog](https://github.com/smol-rs/async-io/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-io/compare/v2.3.3...v2.3.4 )
Updates `tempfile` from 3.11.0 to 3.12.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: linkme
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: serde_json
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: fontdb
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: async-io
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 16:45:39 +02:00
dependabot[bot]
7f9bf2488f
build(deps-dev): bump eslint-plugin-jsdoc from 48.11.0 to 50.0.1 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 48.11.0 to 50.0.1.
- [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.11.0...v50.0.1 )
---
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>
2024-08-12 16:27:24 +02:00
TÖRÖK Attila
f98999c2ac
ci: Run nextest with profile "ci", add a test-specific override to allow retries for `avm2/pixelbender_shaderdata`
2024-08-12 04:50:27 +02:00
Crowdin Bot
e8a4f2f21f
chore: Update translations from Crowdin
2024-08-12 04:03:33 +02:00
Aaron Hill
bf55f15913
avm2: Declare 'namespace AS3' and validate bytecode in playerglobals
...
In order for asc.jar to generate efficient bytecode
(a direct 'callproperty' instead of a dynamic namespace and method
lookup), we need to have 'namespace AS3' in each package where we
do a qualified 'obj.AS3::SomeMethod()' call.
I've adjusted `build_playerglobal` to scan all of our playerglobal
method bodies to ensure that we don't have the bad bytecode.
This uncovered several places where we were missing `namespace AS3'
Before this change, we were creating a new bound method within
all of our prototype methods in `XML/XMLList`, since they used
'self.AS3::SomeXmlMethod()' calls to delegate to the AS3 native
method.
This saves several hundred megabytes on
`https://s1106-r2game-sq.7road.net `, since we no longer create
bound `FunctionObject`s for all of the distinct XML/XMLList objects
that the swf creates.
2024-08-11 17:33:46 -04:00
Adrian Wielgosik
3b93ff941e
avm2: Intern XML node name
2024-08-11 09:56:02 +02:00
TÖRÖK Attila
c3529afe11
avm1: Math tests: Substitute some trivial expected values and add TODOs about @epsilon
2024-08-11 02:15:36 +02:00
TÖRÖK Attila
3573322c6d
avm1: Change expected values in `test_exp` math test to the exact ones returned by FP
...
And add some tolerance to make it pass with both current stable/beta and nightly rustc.
Thanks for figuring out the precise values, @kjarosh!
2024-08-11 02:15:36 +02:00
TÖRÖK Attila
056501ee75
avm1: Add a way to specify numeric tolerance `@epsilon` when comparing in `test_method!`
2024-08-11 02:15:36 +02:00
Moulins
47030b4f5b
core: remove UpdateContext's unused lifetime and reborrow method
2024-08-10 22:53:27 +02:00
Moulins
13cffa4c94
core: appease clippy
2024-08-10 22:53:27 +02:00
Moulins
d07437e30e
core: store 'gc borrows in UpdateContext, and `&mut UC` in Activation
...
This leaves the second UpdateContext lifetime unused and the `reborrow`
method useless, but they're kept to avoid an unnecessarily huge diff.
2024-08-10 22:53:27 +02:00
Moulins
d116ef82e9
core: rework the way the garbage-collected arena is entered in `Player`
...
Add `Player::enter_arena(_mut)` methods, giving more ergonomic access to
the GC'd arena by:
- handling the RefCell borrows for you;
- passing an extra `&(mut) Player` parameter into the closure;
- giving all borrows the same `'gc` lifetime (thanks to strategic `unsafe`).
2024-08-10 22:53:27 +02:00
Moulins
0b3395d21f
core: simplify callstack handling in Player
...
Grab the AVM2 callstack handle before constructing the GC root,
so that we can set it directly instead of modify the GC root once
constructed. This means we can remove an extra GcCell.
Also switch the callstack object from GcCell to GcRefLock.
2024-08-10 22:53:27 +02:00