Kamil Jarosz
208aae78ee
core: Use either crate instead of a custom implementation
2024-03-29 23:20:15 +01:00
TÖRÖK Attila
be5eaaec6e
chore: Run `cargo update`
2024-03-29 14:46:25 +01:00
TÖRÖK Attila
1396d8de5b
chore: Update `insta` to `v1.38.0`
2024-03-29 14:46:25 +01:00
TÖRÖK Attila
a59ec413ad
chore: Update `egui` to `v0.27.1`
2024-03-29 14:46:25 +01:00
TÖRÖK Attila
5b4f808769
chore: Update `egui` to `v0.27.0`
2024-03-29 10:02:52 +01:00
renovate[bot]
9dfc6dc224
fix(deps): update rust dependencies
2024-03-26 13:56:59 +01:00
TÖRÖK Attila
33461c2983
chore: Run cargo update
2024-03-26 10:33:37 +01:00
sleepycatcoding
1b41abf3a3
chore: Remove unused dependencies
2024-03-25 17:45:26 +01:00
renovate[bot]
98cbe9cf31
fix(deps): update rust dependencies
2024-03-25 02:47:32 +01:00
renovate[bot]
d70560cb82
fix(deps): update rust dependencies
2024-03-22 11:10:59 +01:00
TÖRÖK Attila
c941955c22
chore: Bump `h263-rs` git refs
2024-03-22 10:51:11 +01:00
TÖRÖK Attila
d9f17dac44
chore: Bump `image` to `v0.25`, without the `dxt` feature
2024-03-19 00:14:48 +01:00
TÖRÖK Attila
7a269c054d
fix(deps): update rust dependencies
2024-03-18 12:21:47 +01:00
TÖRÖK Attila
f035d0a835
chore: Run `cargo update` (excluding `profiling` and `tracy-client`)
2024-03-14 16:45:29 +01:00
renovate[bot]
3f9f19b7ac
fix(deps): update rust dependencies
2024-03-14 16:45:29 +01:00
Colin Kinloch
f472bbc701
desktop: Use egui-winit clipboard
...
The `egui-winit` clipboard implementation provides a nice interface to
`smithay-clipboard` which correctly implements the core wayland
selection protocol. It uses `arboard` as a fallback for other platforms.
2024-03-13 23:30:15 +01:00
renovate[bot]
8d193f8944
fix(deps): update rust crate winit to 0.29.15
2024-03-13 23:07:24 +01:00
TÖRÖK Attila
aa834e6530
desktop: Turn off default features of `image`
2024-03-12 00:24:59 +01:00
Nathan Adams
6585ffdd28
desktop: Log to ruffle.log in addition to stdout
2024-03-11 21:28:25 +01:00
Daniel Williams
4927baf290
desktop: URL-decode the window title ( fix #15454 )
2024-03-11 16:54:56 +00:00
Tom Schuster
2065661874
chore: Update `gilrs` dependency to `0.10.5` ( #15505 )
...
(Manually reverted a `windows` downgrade)
2024-03-09 22:51:23 +00:00
renovate[bot]
a916369f21
fix(deps): update rust dependencies
2024-03-06 21:58:40 +01:00
renovate[bot]
7201efdec1
fix(deps): update rust crate winit to 0.29.14
2024-03-06 16:55:52 +01:00
Tom Schuster
587fdff1ac
chore: Update `cpal` to `0.15.3`
...
This reduces the number of duplicate `nix` versions by one.
2024-03-05 14:24:29 +01:00
Nathan Adams
baa0c5c7cd
desktop: Use custom (de)serialization for preferences, not serde
2024-03-05 00:02:27 +01:00
Nathan Adams
8df7efb662
desktop: Load graphics preferences from disk
2024-03-05 00:02:27 +01:00
Nathan Adams
acd01e2eb0
desktop: Add GlobalPreferences struct, prep for storing preferences to disk
2024-03-05 00:02:27 +01:00
renovate[bot]
fae1c458ec
fix(deps): update rust dependencies
2024-03-04 22:18:19 +01:00
TÖRÖK Attila
2e52ee9f33
chore: Bump `js-sys` and `web-sys` to `v0.3.69`
2024-03-04 19:01:04 +01:00
TÖRÖK Attila
7f268bf50e
chore: Update `wasm-bindgen` to `v0.2.92`, wasm-bindgen-futures to `v0.4.42`
2024-03-04 19:01:04 +01:00
TÖRÖK Attila
755fa6cded
chore: Switch `fluent-templates` back from `master` to `v0.9.0`
2024-03-04 11:05:08 +01:00
Lv Yitian
556d16302b
avm2: Implement flash.media.ID3Info ( #14916 )
2024-03-02 19:13:31 +00:00
TÖRÖK Attila
5b920b8447
chore: Deduplicate the `fluent-templates` dependency
2024-03-02 19:54:00 +01:00
TÖRÖK Attila
55773f0205
chore: Replace `generational-arena` with `slotmap`
2024-03-02 19:42:11 +01:00
renovate[bot]
90bf13ebd2
fix(deps): update rust crate winit to 0.29.13
2024-03-02 19:17:37 +01:00
renovate[bot]
c2179e88db
fix(deps): update rust dependencies
2024-03-02 10:05:43 +01:00
renovate[bot]
35d72115a4
fix(deps): update wasm-bindgen
2024-03-02 02:42:45 +01:00
renovate[bot]
8b8d028816
chore: Bump wgpu to 0.19.3, naga to 0.19.2
2024-03-01 23:58:50 +01:00
renovate[bot]
6e84b05b66
fix(deps): update rust dependencies
2024-03-01 22:46:32 +01:00
TÖRÖK Attila
10fa4175c4
chore: Bump jpegxr and nellymoser-rs git references
2024-03-01 21:54:18 +01:00
Kamil Jarosz
a0f2941a2e
desktop: Update winit to 0.29.12
...
This fixes critical crashes on X11
2024-03-01 12:10:37 +01:00
Tom Schuster
a03355458f
desktop: Add gamepad support using gilrs
2024-02-28 21:21:09 +01:00
Kamil Jarosz
f6907a5c73
desktop: Add tests for connect_socket
...
Add tests for ExternalNavigatorBackend::connect_socket.
2024-02-28 19:42:54 +01:00
Aaron Hill
3e99dd3999
core: Use latest fluent-templates `master` for reproducible builds
2024-02-27 21:36:28 -05:00
TÖRÖK Attila
e56a4597cc
desktop: chore: Update winit to 0.29.11
2024-02-27 22:43:59 +01:00
renovate[bot]
9cdb2f31cc
fix(deps): update rust dependencies
2024-02-26 08:14:26 +01:00
TÖRÖK Attila
2ffebcfc8a
chore: Run `cargo update`
2024-02-21 00:18:38 +01:00
renovate[bot]
6b89737093
fix(deps): update rust dependencies
2024-02-19 11:32:22 +01:00
Tom Schuster
ba7c9a4e31
avm2: Always serialize as ECMAArray, which produces an AMF0 MixedArray
2024-02-19 10:13:18 +01:00
renovate[bot]
637b277481
web: chore: Bump wasm-bindgen to 0.2.91
2024-02-16 09:48:30 +01:00
renovate[bot]
1651b7a5b0
desktop: chore: Update `egui` to 0.26.2
2024-02-16 01:52:41 +01:00
TÖRÖK Attila
28c380cfac
desktop: Update egui to 0.26.0
2024-02-05 19:05:10 +01:00
renovate[bot]
477440d387
fix(deps): update rust dependencies
2024-02-05 07:56:07 +01:00
renovate[bot]
c044f57bc1
chore(deps): update rust crate naga_oil to 0.13.0
2024-02-04 20:50:19 -05:00
Kamil Jarosz
4154a0945d
text: Implement advanced horizontal text controls for EditText
2024-02-01 20:18:29 +01:00
Aaron Hill
78873e3670
avm2: Add new 'stub-report' binary crate
...
This writes the AVM2 stub report to the specified path.
2024-01-31 20:22:06 -05:00
renovate[bot]
3737725a21
fix(deps): update rust dependencies
2024-01-30 09:23:15 +01:00
Nathan Adams
fcb74d8fbc
wgpu: Deduplicate common gradients from a single Mesh
2024-01-27 21:37:22 +01:00
Nathan Adams
ab404bae2a
wgpu: Remove ouroboros and typed-arena, no longer needed
2024-01-27 21:37:22 +01:00
David Wendt
91dd9563bb
core: Add method to read downloads in chunks instead of all-at-once.
2024-01-25 23:24:09 -07:00
sleepycatcoding
88f8020e54
chore: Run `cargo update` to bump patch versions in `Cargo.lock`
...
Should fix https://github.com/ruffle-rs/ruffle/actions/runs/7611140142/job/20725992433
Changes:
```
Updating git repository `https://github.com/emilk/egui `
Updating crates.io index
Updating git repository `https://github.com/ruffle-rs/rust-flash-lso `
Updating git repository `https://github.com/ruffle-rs/jpegxr `
Updating git repository `https://github.com/ruffle-rs/nellymoser `
Updating git repository `https://github.com/ruffle-rs/h263-rs `
Updating git repository `https://github.com/ruffle-rs/nihav-vp6 `
Updating openssl-sys v0.9.98 -> v0.9.99
Updating rustfft v6.1.0 -> v6.2.0
Updating shlex v1.2.0 -> v1.3.0
Updating weezl v0.1.7 -> v0.1.8
Updating wide v0.7.13 -> v0.7.14
```
2024-01-22 14:25:14 +01:00
renovate[bot]
262dff83a4
fix(deps): update rust dependencies
2024-01-22 03:09:33 +01:00
TÖRÖK Attila
733459a296
chore: Switch to wgpu 0.19.1 from git
2024-01-22 01:51:07 +01:00
Nathan Adams
8c6f8231d6
deps: Use wgpu by commit, for DX12 fix
2024-01-21 19:36:08 +01:00
Nathan Adams
4d16e24889
wgpu: Update wgpu and naga to 0.19
2024-01-21 19:36:08 +01:00
Nathan Adams
d717f92403
tests: Don't set logger in test framework, it's the responsibility of the caller
2024-01-18 16:07:24 +01:00
Nathan Adams
f65060e8c9
desktop: Update winit to 0.29.10 and egui to 0.25.0
2024-01-16 21:10:36 +01:00
zhenghaoz
5169d9db3d
avm2: Fix multiply with overflow in `string_to_f64`
2024-01-15 23:44:14 -05:00
renovate[bot]
3c115238fd
fix(deps): update rust dependencies
2024-01-16 01:13:38 +01:00
renovate[bot]
e0a22b56ce
fix(deps): update wasm-bindgen
2024-01-15 17:24:02 -05:00
Aaron Hill
2557d14678
Bump jpegxr dependency for wasm ABI bugfix
...
This fixes a crash when loading an ATF 'compressed alpha'
texture under wasm. The rust-side jpegxr wrapper was calling
C functions that trigger a WASM ABI bug.
See d49988f40f
for more details
2024-01-14 00:59:19 +01:00
Nathan Adams
7e4ac986f2
core: Add FontFace struct, for loading a Font from a file binary
2024-01-08 23:00:18 +01:00
renovate[bot]
a328deab11
fix(deps): update rust dependencies
2024-01-08 02:59:04 +01:00
TÖRÖK Attila
f0ed5c7211
chore: Upgrade gc-arena to 0.5.0
2024-01-06 09:45:35 +01:00
renovate[bot]
c47962fc71
fix(deps): update rust crate syn to 2.0.44
2024-01-01 04:29:05 +01:00
renovate[bot]
6a0a35c370
fix(deps): update rust dependencies
2024-01-01 02:44:40 +01:00
renovate[bot]
91d0520a43
fix(deps): update rust dependencies
2024-01-01 02:03:54 +01:00
TÖRÖK Attila
061b7f9904
chore: Run `cargo update` to bump patch versions in `Cargo.lock`
...
Changes:
Updating git repository `https://github.com/gfx-rs/wgpu `
Updating crates.io index
Updating git repository `https://github.com/ruffle-rs/rust-flash-lso `
Updating git repository `https://github.com/ruffle-rs/jpegxr `
Updating git repository `https://github.com/ruffle-rs/nellymoser `
Updating git repository `https://github.com/kyren/gc-arena `
Updating git repository `https://github.com/ruffle-rs/h263-rs `
Updating git repository `https://github.com/ruffle-rs/nihav-vp6 `
Updating crossbeam-channel v0.5.9 -> v0.5.10
Updating crossbeam-epoch v0.9.16 -> v0.9.17
Updating crossbeam-utils v0.8.17 -> v0.8.18
Updating event-listener v4.0.0 -> v4.0.1
Updating fdeflate v0.3.1 -> v0.3.2
Updating linkme v0.3.19 -> v0.3.20
Updating linkme-impl v0.3.19 -> v0.3.20
Updating mach2 v0.4.1 -> v0.4.2
Updating memmap2 v0.9.2 -> v0.9.3
Removing memoffset v0.9.0
Updating object v0.32.1 -> v0.32.2
Updating openssl-sys v0.9.97 -> v0.9.98
Updating pkg-config v0.3.27 -> v0.3.28
Updating profiling v1.0.12 -> v1.0.13
Updating profiling-procmacros v1.0.12 -> v1.0.13
Updating self_cell v1.0.2 -> v1.0.3
Updating serde_spanned v0.6.4 -> v0.6.5
Updating thiserror v1.0.51 -> v1.0.52
Updating thiserror-impl v1.0.51 -> v1.0.52
Updating time v0.3.30 -> v0.3.31
Updating time-macros v0.2.15 -> v0.2.16
Updating winnow v0.5.28 -> v0.5.30
Updating zerocopy v0.7.31 -> v0.7.32
Updating zerocopy-derive v0.7.31 -> v0.7.32
2023-12-26 17:47:12 +01:00
renovate[bot]
216a8f3b14
fix(deps): update rust dependencies
2023-12-25 10:09:07 +01:00
TÖRÖK Attila
f5f8962ce1
chore: Update naga to 0.14.2, run `cargo update`
2023-12-18 17:07:16 -05:00
renovate[bot]
0e5ef32654
fix(deps): update rust dependencies
2023-12-18 08:16:28 +01:00
Aaron Hill
287ca8801a
avm2: Implement AIR playerglobal versioning
...
This builds on our existing playerglobal versioning support
to add in AIR versioning. We closely follow the avmplus implementation:
* When an SWF is loaded, we chose either a FlashPlayer or AIR
APIVersion for its SWF version, based on our configured player runtime.
* When loading playerglobals, we look at the player runtime. In AIR
mode, we map FlashPlayer-versioned definitions to the closest AIR
version. This ensures that all runtime APIVersions are in the
same series (either AIR or FlashPlayer). In FlashPlayer mode,
all AIR-versioned definitions get mapped to VM_INTERNAL, hiding
them from user code.
Part of our existing api versioning code was implemented incorrectly.
Within playerglobals, we need to treat all unmarked namespaces as
VM_INTERNAL - this allows things like playerglobal script
initializer "initproperty" opcodes to see any VM_INTERNAL AIR
definitions (when we run under FlashPlayer mode). Previously, we
were using AllVersions, which would result in those VM_INTERNAL
definitions being hidden from other playerglobal code, which is
not correct.
Using this support, I've added a stub for the AIR-only
'flash.net.DatagramSocket'. I've also extended the test framework
with a new 'player_options.runtime' config option, which can be
set to "AIR" or "FlashPlayer" to configure the test runtime mode.
I've also added two new tests:
* 'air_hidden_lookup' runs under the FlashPlayer runtime, and verifies
that a list of classes (currently just "DatagramSocket" are
inacessible).
* 'air_datagram_socket', which uses `player_options.runtime = "AIR"`
to construct an instance of `flash.net.DatagramSocket`. We can
extend this test once we implement more of `DatagramSocket`
With this commit, we have all of the needed infrastructure to start
implementing and testing AIR-only classes and methods.
2023-12-16 19:11:50 -05:00
dependabot[bot]
e39fc86ee5
build(deps): bump zerocopy from 0.7.30 to 0.7.31
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.30 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 07:20:50 +01:00
TÖRÖK Attila
bf9cf92af8
render/wgpu: Update wgpu to 0.18.0, naga to 0.14.1, naga_oil to 0.11.0, egui to 0.24.1
2023-12-14 01:36:42 +01:00
TÖRÖK Attila
430f69de7b
chore: Run `cargo update`
2023-12-13 22:01:02 +01:00
renovate[bot]
3a033f0f28
fix(deps): update rust dependencies
2023-12-11 15:51:12 +01:00
renovate[bot]
e196a544dd
fix(deps): update rust crate bitstream-io to v2
2023-12-11 11:25:12 +01:00
bi4k8
4d07e43bc4
desktop: Add "wayland-data-control" feature for arboard
...
This fixes a crash on start when running under Wayland.
2023-12-11 10:08:15 +00:00
renovate[bot]
40b92e69f7
fix(deps): update rust dependencies
2023-12-05 21:08:16 +01:00
renovate[bot]
a0c33382bf
fix(deps): update wasm-bindgen
2023-12-04 12:08:22 +01:00
TÖRÖK Attila
4c8a5714b8
chore: Bump `tracing-tracy` to 0.10.4 to match `profiling`
...
And avoid "span! without a running Client" errors due to
duplicate `tracy-client` dependency.
2023-11-29 13:11:07 +01:00
TÖRÖK Attila
ca25f82900
chore: Bump wasm-bindgen to 0.2.89 (0.2.88 got yanked)
2023-11-28 21:43:41 -05:00
renovate[bot]
6da223a875
fix(deps): update rust dependencies
2023-11-27 09:44:47 +01:00
renovate[bot]
7757d060ff
fix(deps): update rust dependencies to v2
2023-11-20 09:03:08 +01:00
renovate[bot]
2a83274c7f
fix(deps): update rust dependencies
2023-11-19 21:09:42 -05:00
Nathan Adams
d6f16b0be5
tests: Make tests use a virtual filesystem, which currently maps to the regular physical FS rooted in a test directory
2023-11-13 22:28:10 +01:00
renovate[bot]
32c65e6460
fix(deps): update rust dependencies
2023-11-13 09:10:26 +01:00
Nathan Adams
424821724f
desktop: Show ruffle logo in about dialog
2023-11-12 21:42:02 +01:00
Aaron Hill
f04496d1f3
chore: Update ahash and self_cell
...
Both of these had yanked versions, and self_cell had a security advisory
2023-11-12 00:15:51 +01:00
Aaron Hill
b056e12f4b
avm2: Re-use same AMFValue for the same Object ptr
...
This preserves object identity across a serialization
round-trip. Unfortunately, we don't currently implement this
correctly in flash_lso, so I've added a stub message.
Once flash_lso is fixed, this code will start working. For now,
it just allows us to detect (via the stub) if this is actually
used by an SWF.
2023-11-10 17:52:47 -05:00