Lord-McSweeney
e05f405888
avm2: Remove unneeded zero code length check in `run_actions`
2024-04-14 22:10:37 -07:00
Lord-McSweeney
9dcf0a7d70
avm2: Resolve function argument types once when calling function for the first time
2024-04-14 22:10:37 -07:00
Lord-McSweeney
9870754b5e
avm2: Support optimization of `CallPropVoid` and virtual setters
...
This requires adding a custom field to the `CallMethod` op
2024-04-14 22:10:37 -07:00
Crowdin Bot
fd1b6f59f2
chore: Update translations from Crowdin
2024-04-14 15:01:30 +02:00
Adrian Wielgosik
9d2664f752
wstr: Fix parsing of '+'
2024-04-14 13:24:42 +02:00
Daniel Jacobs
f392699f73
extension: Remove Ruffle's own script tag onload
2024-04-14 11:53:28 +02:00
Daniel Jacobs
b3c2ef5f42
extension: Cleanup plugin-polyfill inline script on Firefox
2024-04-14 11:47:00 +02:00
Crowdin Bot
e687d16ecb
chore: Update translations from Crowdin
2024-04-13 00:08:53 +02:00
Nathan Adams
2f678bfd39
desktop: Remove --timedemo support. As far as we know, nobody's used it since it was added, and we have better ways of profiling these days.
2024-04-12 23:44:42 +02:00
Nathan Adams
1bcc4d530a
frontend-utils: Remove outdated comments
2024-04-11 23:14:44 +02:00
Nathan Adams
dd187b0906
desktop: Removed now-unused dependencies
2024-04-11 23:14:44 +02:00
Nathan Adams
f937945233
frontend-utils: Move ExternalNavigator from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
da595b0469
desktop: Make ExternalNavigatorBackend not depend on rfd
2024-04-11 23:14:44 +02:00
Nathan Adams
a3d468a568
frontend-utils: Move PlayingContent from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
47654444b5
desktop: Make PlayingContent not rely on rfd
2024-04-11 23:14:44 +02:00
Nathan Adams
df2a7285db
frontend-utils: Rename WinitAsyncExecutor to just AsyncExecutor
2024-04-11 23:14:44 +02:00
Nathan Adams
29e515c672
frontend-utils: Move WinitAsyncExecutor from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
3529a2d12d
desktop: Made WinitAsyncExecutor not depend on winit
2024-04-11 23:14:44 +02:00
Nathan Adams
a188962306
frontend-utils: Move DiskStorageBackend from desktop
2024-04-11 23:14:44 +02:00
Daniel Jacobs
0f1cdf491d
frontend-utils: Fix typo in README
2024-04-09 14:41:03 -04:00
Nick
752ced391c
avm1: use correct coordinates for hitTest ( #15894 )
2024-04-09 17:11:21 +00:00
sleepycatcoding
2cd915046e
frontend-utils: Move bookmark writer from desktop
2024-04-09 18:54:11 +02:00
sleepycatcoding
54dcec7c60
frontend-utils: Move bookmark reader from desktop
2024-04-09 18:54:11 +02:00
sleepycatcoding
7c7f383595
frontend-utils: Move url_to_readable_name from desktop
2024-04-09 18:54:11 +02:00
Nathan Adams
f737739c15
frontend-utils: Fix link in readme
2024-04-09 00:01:59 +02:00
Nathan Adams
57381f42b2
desktop: Fix opening faux-file URLs on windows
2024-04-09 00:01:59 +02:00
Nathan Adams
8597688ebb
chore: Fix weird formatting that rustfmt isn't catching
2024-04-09 00:01:59 +02:00
Nathan Adams
62867729de
core: Removed now-unused Player::swf() method
2024-04-09 00:01:59 +02:00
Nathan Adams
023ae5d14a
frontend-utils: Fixed tests
2024-04-09 00:01:59 +02:00
Nathan Adams
e5fc56429e
desktop: Add Bookmark dialog should use the opened url, not a movies internal url
2024-04-09 00:01:59 +02:00
Nathan Adams
bf7a88d63f
frontend-utils: Support .ruf files
2024-04-09 00:01:59 +02:00
Nathan Adams
4632a14376
desktop: Allow opening folder based bundles
2024-04-09 00:01:59 +02:00
Nathan Adams
961bc0a7c5
frontend-utils: Add initial bundle infrastructure
2024-04-09 00:01:59 +02:00
Nathan Adams
906837c6a1
frontend-utils: Rename ParseResult to ParseDetails
2024-04-09 00:01:59 +02:00
dependabot[bot]
ae10b76431
build(deps): bump the cargo-minor group with 6 updates
...
Bumps the cargo-minor group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [image](https://github.com/image-rs/image ) | `0.25.0` | `0.25.1` |
| [downcast-rs](https://github.com/marcianx/downcast-rs ) | `1.2.0` | `1.2.1` |
| [regress](https://github.com/ridiculousfish/regress ) | `0.9.0` | `0.9.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.55` | `2.0.58` |
| [webbrowser](https://github.com/amodm/webbrowser-rs ) | `0.8.13` | `0.8.14` |
| [getrandom](https://github.com/rust-random/getrandom ) | `0.2.12` | `0.2.14` |
Updates `image` from 0.25.0 to 0.25.1
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.0...v0.25.1 )
Updates `downcast-rs` from 1.2.0 to 1.2.1
- [Changelog](https://github.com/marcianx/downcast-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/marcianx/downcast-rs/compare/v1.2.0...v1.2.1 )
Updates `regress` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/ridiculousfish/regress/releases )
- [Commits](https://github.com/ridiculousfish/regress/compare/v0.9.0...v0.9.1 )
Updates `syn` from 2.0.55 to 2.0.58
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.55...2.0.58 )
Updates `webbrowser` from 0.8.13 to 0.8.14
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.13...v0.8.14 )
Updates `getrandom` from 0.2.12 to 0.2.14
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.14 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: downcast-rs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: regress
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: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 23:44:16 +02:00
TÖRÖK Attila
bffa2e8efd
web: Port the selfhosted package to modules
2024-04-08 23:26:04 +02:00
dependabot[bot]
b2cabdff30
build(deps-dev): bump chai from 4.4.1 to 5.1.0 in /web
...
Bumps [chai](https://github.com/chaijs/chai ) from 4.4.1 to 5.1.0.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v4.4.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: chai
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 23:26:04 +02:00
Kamil Jarosz
741c53994c
core: Add focus tracker to debug UI
2024-04-08 23:19:29 +02:00
Kamil Jarosz
497eaba6c5
core: Add DisplayObject.is_highlightable method
...
This is added for convenience so that it's not required
to cast an object to InteractiveObject when checking for a highlight.
This also gets rid of InteractiveObject.focus_rect_supported,
as `is_highlightable` may be now overridden.
2024-04-08 23:19:29 +02:00
dependabot[bot]
78e8669580
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 |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `7.5.0` | `7.6.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `7.5.0` | `7.6.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `48.2.2` | `48.2.3` |
| [typedoc](https://github.com/TypeStrong/TypeDoc ) | `0.25.12` | `0.25.13` |
| [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) | `0.0.263` | `0.0.266` |
Updates `@typescript-eslint/eslint-plugin` from 7.5.0 to 7.6.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/v7.6.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 7.5.0 to 7.6.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/v7.6.0/packages/parser )
Updates `eslint-plugin-jsdoc` from 48.2.2 to 48.2.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.2.2...v48.2.3 )
Updates `typedoc` from 0.25.12 to 0.25.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.25.12...v0.25.13 )
Updates `@types/chrome` from 0.0.263 to 0.0.266
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: "@typescript-eslint/parser"
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-patch
dependency-group: npm-minor
- dependency-name: typedoc
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-04-08 22:59:13 +02:00
Kamil Jarosz
fc37555f66
tests: Add button_key_events test
...
This test verifies that all key-related events are properly firing
when a key is pressed and a button is focused.
2024-04-08 22:16:50 +02:00
Kamil Jarosz
43266f2d5d
avm1: Fix onKeyUp and onKeyDown events for Button
...
These two events were not firing properly when a key was pressed
and the button had focus.
2024-04-08 22:16:50 +02:00
Kamil Jarosz
997927530e
web: Add support for NumLock
2024-04-08 20:14:07 +02:00
Kamil Jarosz
d110313b1d
desktop: Add support for NumLock
2024-04-08 20:14:07 +02:00
Kamil Jarosz
e57b371a3d
core: Add support for NumLock
...
This patch adds support for NumLock, which was missing.
Now NumLock (144) may be used as a parameter in methods
from the Key class.
2024-04-08 20:14:07 +02:00
Crowdin Bot
4c8d0704db
chore: Update translations from Crowdin
2024-04-06 00:50:33 +02:00
Lord-McSweeney
acd2d36790
tests: Add a test for a lookupswitch edge case
2024-04-05 00:34:50 +02:00
Lord-McSweeney
c1b6aa48a2
avm2: Fix unknown jump sources mixing with known jump sources
2024-04-05 00:34:50 +02:00
Lord-McSweeney
41100a9111
avm2: Add test for checking that exception targets are considered
2024-04-05 00:34:50 +02:00
Lord-McSweeney
1727b946c4
avm2: Ensure exception targets are noted as possible jump targets
2024-04-05 00:34:50 +02:00