Adrian Wielgosik
6f56016079
avm2: Support recursive Vector<Vector<T>> lookups
2024-07-30 18:45:45 +02:00
dependabot[bot]
fef1cba495
build(deps): bump the cargo-minor group with 9 updates
...
Bumps the cargo-minor group with 9 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.9` | `4.5.11` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.38.1` | `1.39.2` |
| [quick-xml](https://github.com/tafia/quick-xml ) | `0.36.0` | `0.36.1` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.120` | `1.0.121` |
| [enumset](https://github.com/Lymia/enumset ) | `1.1.4` | `1.1.5` |
| [toml_edit](https://github.com/toml-rs/toml ) | `0.22.16` | `0.22.17` |
| [gilrs](https://gitlab.com/gilrs-project/gilrs ) | `0.10.8` | `0.10.9` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.11.3` | `0.11.5` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.15` | `0.8.16` |
Updates `clap` from 4.5.9 to 4.5.11
- [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.9...clap_complete-v4.5.11 )
Updates `tokio` from 1.38.1 to 1.39.2
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.2 )
Updates `quick-xml` from 0.36.0 to 0.36.1
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.36.0...v0.36.1 )
Updates `serde_json` from 1.0.120 to 1.0.121
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121 )
Updates `enumset` from 1.1.4 to 1.1.5
- [Changelog](https://github.com/Lymia/enumset/blob/main/RELEASES.md )
- [Commits](https://github.com/Lymia/enumset/compare/v1.1.4...v1.1.5 )
Updates `toml_edit` from 0.22.16 to 0.22.17
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.16...v0.22.17 )
Updates `gilrs` from 0.10.8 to 0.10.9
- [Commits](https://gitlab.com/gilrs-project/gilrs/compare/v0.10.8...v0.10.9 )
Updates `env_logger` from 0.11.3 to 0.11.5
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.3...v0.11.5 )
Updates `toml` from 0.8.15 to 0.8.16
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: quick-xml
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: enumset
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: toml_edit
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
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 16:39:55 +02:00
Nathan Adams
3de0279149
avm2: ByteArray should implement IDataInput2 and IDataOutput2. For some reason.
2024-07-29 10:32:45 +02:00
Nathan Adams
892c39f24d
avm2: TouchEvent.getSamples and isToolButtonDown are AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
de8e9b60f6
avm2: IME _private fields should be private
2024-07-29 10:32:45 +02:00
Nathan Adams
bcba6250b9
avm2: NetStream.preloadEmbeddedData and setDRMAuthenticationCredentials are AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
f804cf4689
avm2: FocusEvent.direction is AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
dade26e93f
avm2: Event.SUSPEND is AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
ce9b2337f2
avm2: TextRenderer _private fields should be private
2024-07-29 10:32:45 +02:00
Nathan Adams
0f91196ad0
avm2: FileReference requestPermission and uploadUnencoded are AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
b7e78f4ca6
avm2: MouseCursorData _private fields should be private
2024-07-29 10:32:45 +02:00
Nathan Adams
cc1185182d
avm2: FrameLabel should extend EventDispatcher
2024-07-29 10:32:45 +02:00
Nathan Adams
c2084dfd7a
avm2: Worker should extend EventDispatcher
2024-07-29 10:32:45 +02:00
Nathan Adams
2dec2029e0
avm2: GameInputControl should extend EventDispatcher
2024-07-29 10:32:45 +02:00
Nathan Adams
2e2b7deaa7
avm2: HTTPStatusEvent has AIR-only fields
2024-07-29 10:32:45 +02:00
Nathan Adams
3810ae6a53
avm2: Stage.loaderInfo should not have a setter
2024-07-29 10:32:45 +02:00
Nathan Adams
a5096890e0
avm2: LoaderContext.allowLoadBytesCodeExecution is actually an AIR-only wrapper around allowCodeImport
2024-07-29 10:32:45 +02:00
Nathan Adams
4bcff2655e
avm2: Security.APPLICATION is AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
c152605cad
avm2: TextLine.hasTabs should be a getter, not a function
2024-07-29 10:32:45 +02:00
Nathan Adams
9b01d51b72
avm2: A bunch of Keyboard constants are AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
dcd3949093
avm2: URLRequestDefaults is AIR only
2024-07-29 10:32:45 +02:00
Nathan Adams
f6ca9bcdac
avm2: Also exclude interface based virtual properties from describeTypeJSON
2024-07-28 23:18:52 +02:00
Nathan Adams
4ae2a73b54
avm2: Check API version in describeTypeJSON
2024-07-28 23:18:52 +02:00
Nathan Adams
db0fd879d2
avm2: Don't include interface methods in describeTypeJSON
2024-07-28 23:18:52 +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
53d2d16162
core: Add UiBackend::close_virtual_keyboard
...
This method may be used by backends that require explicit virtual
keyboard closing.
2024-07-27 21:32:35 +02:00
Lord-McSweeney
6f0e641748
core: Link root movie to first invalid character ID registered, instead of always using character ID #0
2024-07-27 16:12:44 +03:00
Tom Schuster
93e86d977c
avm2: Add flash.sensors.Geolocation stub
2024-07-27 14:13:04 +02:00
Tom Schuster
840128d81a
avm2: flash.sensors.Accelerometer extends EventDispatcher
2024-07-27 14:13:04 +02:00
Tom Schuster
1687739093
avm2: Call the Proxy hasProperty override for Object.hasOwnProperty
2024-07-27 12:33:58 +02:00
Lord-McSweeney
a4c6c3592b
avm2: `StyleSheet` should extend `EventDispatcher`
2024-07-25 22:29:56 +03:00
Kamil Jarosz
f8309bc548
avm2: Update focus before dispatching mouse events
...
The order of events seen during testing suggests that the focus
is updated before dispatching any mouse-related events.
2024-07-25 16:38:06 +02:00
Kamil Jarosz
84e291dc37
core: Make AVM2 objects focusable by mouse
...
When clicking a focusable by mouse object in AVM2,
the focus should be updated.
2024-07-25 16:38:06 +02:00
Kamil Jarosz
c30b229408
avm2: Add support for mouseFocusChange/keyFocusChange events
2024-07-25 16:38:06 +02:00
Kamil Jarosz
409f01e42c
avm2: Add support for focusOut events
2024-07-25 16:38:06 +02:00
Kamil Jarosz
f79ab195be
avm2: Add EventObject::focus_event
...
This method allows constructing FocusEvents.
2024-07-25 16:38:06 +02:00
Kamil Jarosz
021de2bf91
core: Fix grammar in docs
2024-07-25 16:38:06 +02:00
Lord-McSweeney
cd9cfa6b26
core: Fix off-by-one in `MovieClip.frame_exists_within_scene`
2024-07-25 15:59:16 +03:00
Crowdin Bot
9065ce3a03
chore: Update translations from Crowdin
2024-07-24 21:57:36 +02:00
Aaron Hill
f6737b68f4
avm2: Add 'avm_caught' trace target to log caught exceptions
...
When the `avm_debug` feature is enabled, we log all caught exceptions
under the `avm_caught` target at INFO level. This is useful for
debugging SWFs that catch and suppress exceptions, which can end up
hiding errors from unimplemented flash APIs.
2024-07-24 21:03:29 +02:00
Moulins
cb10589758
core: Don't make dependant AvmStrings pointing to static buffers
2024-07-24 17:30:04 +02:00
Moulins
aa956a286f
core: Rename `avm_string::Source::Owned` to `Managed`
...
This avoids confusion with the owned/dependant distinction
2024-07-24 17:30:04 +02:00
Kamil Jarosz
fe82a23b61
avm2: Implement TextField.getParagraphLength
2024-07-24 17:12:54 +02:00
Kamil Jarosz
670e5f9ac2
avm2: Implement TextField.getFirstCharInParagraph
2024-07-24 17:12:54 +02:00
Kamil Jarosz
e9b8cfae1a
wstr: Add swf_is_newline util method
2024-07-24 17:12:54 +02:00
Kamil Jarosz
9912141114
core: Use swf_is_whitespace where possible
2024-07-24 17:12:54 +02:00
TÖRÖK Attila
9e3035a8bb
chore: Fix new beta lint `clippy::manual_inspect`
2024-07-23 18:54:04 +02:00
dependabot[bot]
e9c610816b
build(deps): bump enumset from 1.1.3 to 1.1.4 in the cargo-minor group
...
Bumps the cargo-minor group with 1 update: [enumset](https://github.com/Lymia/enumset ).
Updates `enumset` from 1.1.3 to 1.1.4
- [Changelog](https://github.com/Lymia/enumset/blob/main/RELEASES.md )
- [Commits](https://github.com/Lymia/enumset/compare/v1.1.3...v1.1.4 )
---
updated-dependencies:
- dependency-name: enumset
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 23:42:23 +02:00
TÖRÖK Attila
bff15397d3
chore: Switch to the `image::ImageReader` alias from the deprecated `image::io::Reader`
2024-07-22 20:13:02 +02:00