TÖRÖK Attila
799b536766
render: Remove the `render_trace` feature
...
Since wgpu has (temporarily) removed its `trace` feature.
https://github.com/gfx-rs/wgpu/pull/5975
https://github.com/gfx-rs/wgpu/issues/5974
https://github.com/gfx-rs/wgpu/pull/5897
2024-08-06 15:00:38 +02:00
TÖRÖK Attila
07c9901efe
web: Do an `npm update`, remove `chromedriver` dependency
2024-08-06 00:29:56 +02:00
Crowdin Bot
c7ecaf9ae4
chore: Update translations from Crowdin
2024-08-05 23:56:21 +02:00
dependabot[bot]
392e3aeafa
build(deps-dev): bump typescript-eslint
...
Bumps the npm-minor group with 1 update in the /web directory: [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ).
Updates `typescript-eslint` from 8.0.0 to 8.0.1
- [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.0.1/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 23:41:37 +02:00
Daniel Jacobs
57b21cff9d
ci: Update webdriverio and remove driver services
2024-08-05 23:28:15 +02:00
Daniel Jacobs
d716080a40
Revert "ci: Don't test on Edge as the latest release is missing for Linux"
...
This reverts commit 1cab534246
.
2024-08-05 23:28:15 +02:00
dependabot[bot]
a00d0e9499
build(deps): bump ttf-parser in the cargo-minor group
...
Bumps the cargo-minor group with 1 update: [ttf-parser](https://github.com/RazrFalcon/ttf-parser ).
Updates `ttf-parser` from 0.24.0 to 0.24.1
- [Changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/ttf-parser/commits )
---
updated-dependencies:
- dependency-name: ttf-parser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 18:47:28 +02:00
dependabot[bot]
e5f53385c9
build(deps-dev): bump postcss-nesting from 12.1.5 to 13.0.0 in /web
...
Bumps [postcss-nesting](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-nesting ) from 12.1.5 to 13.0.0.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md )
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-nesting )
---
updated-dependencies:
- dependency-name: postcss-nesting
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 18:15:51 +02:00
dependabot[bot]
e618c6862b
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.11` | `4.5.13` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.16.1` | `1.16.3` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.30` | `1.0.31` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.6` | `2.3.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.121` | `1.0.122` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [zip](https://github.com/zip-rs/zip2 ) | `2.1.5` | `2.1.6` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.10.1` | `3.11.0` |
| [lru](https://github.com/jeromefroe/lru-rs ) | `0.12.3` | `0.12.4` |
Updates `clap` from 4.5.11 to 4.5.13
- [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.11...v4.5.13 )
Updates `bytemuck` from 1.16.1 to 1.16.3
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.1...v1.16.3 )
Updates `flate2` from 1.0.30 to 1.0.31
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/commits )
Updates `indexmap` from 2.2.6 to 2.3.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
Updates `serde_json` from 1.0.121 to 1.0.122
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122 )
Updates `regex` from 1.10.5 to 1.10.6
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6 )
Updates `zip` from 2.1.5 to 2.1.6
- [Release notes](https://github.com/zip-rs/zip2/releases )
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zip-rs/zip2/compare/v2.1.5...v2.1.6 )
Updates `tempfile` from 3.10.1 to 3.11.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0 )
Updates `lru` from 0.12.3 to 0.12.4
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.12.3...0.12.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: zip
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
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 17:49:09 +02:00
dependabot[bot]
21d4745e66
build(deps): bump EmbarkStudios/cargo-deny-action from 1 to 2
...
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action ) from 1 to 2.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases )
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 17:32:18 +02:00
dependabot[bot]
2afdeb77a3
build(deps-dev): bump typescript-eslint in /web
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.0.0-alpha.58 to 8.0.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.0.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 17:10:09 +02:00
dependabot[bot]
532f043cd4
build(deps): bump the npm-minor group in /web with 8 updates
...
Bumps the npm-minor group in /web with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `48.9.2` | `48.11.0` |
| [globals](https://github.com/sindresorhus/globals ) | `15.8.0` | `15.9.0` |
| [stylelint](https://github.com/stylelint/stylelint ) | `16.8.0` | `16.8.1` |
| [tsx](https://github.com/privatenumber/tsx ) | `4.16.2` | `4.16.5` |
| [chromedriver](https://github.com/giggio/node-chromedriver ) | `127.0.0` | `127.0.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer ) | `10.4.19` | `10.4.20` |
| [axios](https://github.com/axios/axios ) | `1.7.2` | `1.7.3` |
| [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) | `4.3.16` | `4.3.17` |
Updates `eslint-plugin-jsdoc` from 48.9.2 to 48.11.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/v48.9.2...v48.11.0 )
Updates `globals` from 15.8.0 to 15.9.0
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v15.9.0 )
Updates `stylelint` from 16.8.0 to 16.8.1
- [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.0...16.8.1 )
Updates `tsx` from 4.16.2 to 4.16.5
- [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.2...v4.16.5 )
Updates `chromedriver` from 127.0.0 to 127.0.1
- [Commits](https://github.com/giggio/node-chromedriver/compare/127.0.0...127.0.1 )
Updates `autoprefixer` from 10.4.19 to 10.4.20
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20 )
Updates `axios` from 1.7.2 to 1.7.3
- [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.2...v1.7.3 )
Updates `@types/chai` from 4.3.16 to 4.3.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: globals
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: stylelint
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-patch
dependency-group: npm-minor
- dependency-name: chromedriver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: axios
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 16:58:22 +02:00
Crowdin Bot
3b482b176e
chore: Update translations from Crowdin
2024-08-05 13:37:33 +02:00
Nathan Adams
cc32c33e6e
web: Expose loadedConfig, as readonly
2024-08-05 04:10:43 +02:00
Nathan Adams
fd9e7ff452
web: Rename player elements to *Element
2024-08-05 04:10:43 +02:00
Nathan Adams
c1ed00e6c8
web: Move the players to internal/player
2024-08-05 04:10:43 +02:00
Nathan Adams
29e70e7e58
web: Make external callback a bit more explicit, and define it on RufflePlayer like before
2024-08-05 04:10:43 +02:00
Nathan Adams
cd8125fbf5
web: Extract interfaces for RufflePlayer
2024-08-05 04:10:43 +02:00
Nathan Adams
89d4cf02ff
web: Move some polyfill code out of RufflePlayer
2024-08-05 04:10:43 +02:00
Nathan Adams
2f7db41f9f
web: Move all of the actual player logic out from RufflePlayer and into InnerPlayer
2024-08-05 04:10:43 +02:00
Nathan Adams
3183afbbf7
web: Fix some minor typos
2024-08-05 04:10:43 +02:00
Kamil Jarosz
4d85307c47
desktop: Update screenshot URLs to point to a commit
2024-08-03 18:58:44 +02:00
Kamil Jarosz
efe754cdcc
desktop: Update screenshots
2024-08-03 18:00:57 +02:00
Kamil Jarosz
7ea0502d5c
desktop: Update metadata
2024-08-03 18:00:57 +02:00
doomsdayrs
8f29f03923
Add freedesktop compliant appstream & metainfo
2024-08-03 18:00:57 +02:00
Kamil Jarosz
8b2ca7b9af
desktop: Fix colors in app icon
...
This patch ensures that official Ruffle colors are used in the icon.
2024-08-03 10:49:41 +02:00
Kamil Jarosz
cdc9f10ff2
desktop: Rename logo.svg to icon.svg
2024-08-03 10:49:41 +02:00
Kamil Jarosz
815bc3bcd7
tests: Add visual/edittext/edittext_caret_empty
...
This test verifies how the caret in a text field is rendered when
the text field is empty.
2024-08-02 17:56:45 +02:00
Kamil Jarosz
85c7370577
text: Fix laying out empty text boxes
...
This patch fixes how empty text boxes are laid out.
The empty boxes are now added during line fixup, and not after,
which ensures they are subjected to alignment and other adjustments.
2024-08-02 17:56:45 +02:00
Kamil Jarosz
8722642ed7
text: Reset max font size on newline
...
Before this patch, max font size (which claimed to be the highest font
size observed within the current line) was calculated for each span,
regardless of newlines.
2024-08-02 17:56:45 +02:00
Kamil Jarosz
fcbeb92406
text: Assume there's at least one layout box
...
That condition related to drawing a cursor when there are no boxes is
outdated, as currently it's guaranteed that there's at least one box.
FormatSpans.normalize() ensures that there's at least one span, and
LayoutContext.fixup_line() ensures that each line has at least one box.
2024-08-02 17:56:45 +02:00
Kamil Jarosz
a9d95e4cb3
tests: Fix avm1/edittext_scroll
...
This test used device fonts, this patch embeds Noto Sans
and uses it instead.
2024-08-02 17:56:45 +02:00
Kamil Jarosz
2de9fb83b4
text: Ignore non-text boxes when calculating line bounds
2024-08-02 17:07:02 +02:00
Lord-McSweeney
6c233ed859
avm2: Annotate all object *Data structs with `#[repr(C)]`
...
This ensures that the ScriptObjectData common to every *Data is always at the same offset, which results in better codegen for TObject methods
2024-08-01 09:09:29 -07:00
Lord-McSweeney
c54de07382
avm2: Resolve review comments and use `activation.gc()` in some places
2024-08-01 09:09:29 -07:00
Lord-McSweeney
8f6736da74
avm2: Store a `DisplayObject` instead of `Option<DisplayObject>` in `StageObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
3ae53a6ef2
avm2: Use `Gc` instead of `GcCell` in `ScriptObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
c80bd7a55e
avm2: Use `Gc` instead of `GcCell` in `FunctionObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
336e10a535
avm2: Use `Gc` instead of `GcCell` in `XmlListObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
2ff8238bf0
avm2: Remove now-unnecessary `Mutation` argument in some LoaderInfo methods
2024-08-01 09:09:29 -07:00
Lord-McSweeney
49188bd5d7
avm2: Use `Gc` instead of `GcCell` in `LoaderInfoObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
fa759a06a4
avm2: Use `Gc` instead of `GcCell` in `EventObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
5ea9b5d80b
avm2: Use `Gc` instead of `GcCell` in `SoundChannelObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
458264a76a
avm2: Use `Gc` instead of `GcCell` in `SoundObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
4773591c42
avm2: Use `Gc` instead of `GcCell` in `ClassObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
42e0380e2e
avm2: Use `Gc` instead of `GcCell` in `DispatchObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
c551a365a3
avm2: Use `Gc` instead of `GcCell` in `PrimitiveObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
64261c8f06
avm2: Use `Gc` instead of `GcCell` in `RegExpObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
562be06fb1
avm2: Use `Gc` instead of `GcCell` in `VectorObject`
2024-08-01 09:09:29 -07:00
Lord-McSweeney
b1acb17806
avm2: Use `Gc` instead of `GcCell` in `ArrayObject`
2024-08-01 09:09:29 -07:00