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
Daniel Jacobs
1cab534246
ci: Don't test on Edge as the latest release is missing for Linux
2024-07-24 10:57:29 -04:00
Daniel Jacobs
a7ee776750
web: Fix globals.d.ts file type declarations
2024-07-23 20:06:15 +02:00
TÖRÖK Attila
9e3035a8bb
chore: Fix new beta lint `clippy::manual_inspect`
2024-07-23 18:54:04 +02:00
Daniel Jacobs
07033d3087
web: Use CSS scale attribute instead of non-existent scale property
2024-07-23 11:14:52 -04:00
dependabot[bot]
9337dfc359
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.49 to 8.0.0-alpha.51.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/HEAD/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-07-23 05:25:58 +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
dependabot[bot]
88b5fafd7d
build(deps): bump the cargo-minor group with 10 updates
...
Bumps the cargo-minor group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [image](https://github.com/image-rs/image ) | `0.25.1` | `0.25.2` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.62` | `1.0.63` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.38.0` | `1.38.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.71` | `2.0.72` |
| [toml_edit](https://github.com/toml-rs/toml ) | `0.22.15` | `0.22.16` |
| [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource ) | `2.4.2` | `2.4.3` |
| [gloo-net](https://github.com/rustwasm/gloo ) | `0.5.0` | `0.6.0` |
| [zip](https://github.com/zip-rs/zip2 ) | `2.1.3` | `2.1.5` |
| [libloading](https://github.com/nagisa/rust_libloading ) | `0.8.4` | `0.8.5` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.14` | `0.8.15` |
Updates `image` from 0.25.1 to 0.25.2
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.1...v0.25.2 )
Updates `thiserror` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
Updates `tokio` from 1.38.0 to 1.38.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1 )
Updates `syn` from 2.0.71 to 2.0.72
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72 )
Updates `toml_edit` from 0.22.15 to 0.22.16
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.15...v0.22.16 )
Updates `embed-resource` from 2.4.2 to 2.4.3
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases )
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v2.4.2...v2.4.3 )
Updates `gloo-net` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Changelog](https://github.com/rustwasm/gloo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/gloo/compare/0.5.0...0.6.0 )
Updates `zip` from 2.1.3 to 2.1.5
- [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.3...v2.1.5 )
Updates `libloading` from 0.8.4 to 0.8.5
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5 )
Updates `toml` from 0.8.14 to 0.8.15
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: thiserror
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-patch
dependency-group: cargo-minor
- dependency-name: syn
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: embed-resource
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: gloo-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: zip
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: libloading
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-22 20:13:02 +02:00
Crowdin Bot
db1e4208e3
chore: Update translations from Crowdin
2024-07-22 19:41:49 +02:00
Kamil Jarosz
92b94d133c
avm2: Stub orientation-related Stage API
2024-07-22 19:41:50 +03:00
Kamil Jarosz
c6fb941da1
avm2: Add flash.display.StageOrientation
2024-07-22 19:41:50 +03:00
Kamil Jarosz
55cf29c864
avm2: Remove unused imports from Stage
2024-07-22 19:41:50 +03:00
dependabot[bot]
eba2466bed
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.44 to 8.0.0-alpha.49.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/HEAD/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-07-22 14:43:08 +02:00
dependabot[bot]
b180a1b81d
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.7.0` | `48.8.3` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) | `5.1.3` | `5.2.1` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh ) | `0.4.8` | `0.4.9` |
| [mocha](https://github.com/mochajs/mocha ) | `10.6.0` | `10.7.0` |
| [stylelint-prettier](https://github.com/prettier/stylelint-prettier ) | `5.0.1` | `5.0.2` |
| [chromedriver](https://github.com/giggio/node-chromedriver ) | `126.0.4` | `126.0.5` |
| [typedoc](https://github.com/TypeStrong/TypeDoc ) | `0.26.4` | `0.26.5` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) | `5.3.3` | `5.3.4` |
Updates `eslint-plugin-jsdoc` from 48.7.0 to 48.8.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.7.0...v48.8.3 )
Updates `eslint-plugin-prettier` from 5.1.3 to 5.2.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.3...v5.2.1 )
Updates `eslint-plugin-react-refresh` from 0.4.8 to 0.4.9
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases )
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.8...v0.4.9 )
Updates `mocha` from 10.6.0 to 10.7.0
- [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.6.0...v10.7.0 )
Updates `stylelint-prettier` from 5.0.1 to 5.0.2
- [Changelog](https://github.com/prettier/stylelint-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/stylelint-prettier/compare/v5.0.1...v5.0.2 )
Updates `chromedriver` from 126.0.4 to 126.0.5
- [Commits](https://github.com/giggio/node-chromedriver/compare/126.0.4...126.0.5 )
Updates `typedoc` from 0.26.4 to 0.26.5
- [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.26.4...v0.26.5 )
Updates `vite` from 5.3.3 to 5.3.4
- [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.3.4/packages/vite )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: eslint-plugin-react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-minor
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor
- dependency-name: stylelint-prettier
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: typedoc
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-07-22 14:31:09 +02:00
Daniel Jacobs
a7674a5cae
Revert "ci: Temporarily pin to Node 22.4"
...
This reverts commit da82b8ff04
.
2024-07-22 07:47:43 -04:00
Paulo Medeiros
ead80a98a3
avm2: Stub flash.display.Stage.setAspectRatio
2024-07-22 11:53:02 +02:00
Paulo Medeiros
f978a0c2e7
avm2: Add flash.display.StageAspectRatio
2024-07-22 11:53:02 +02:00
Daniel Jacobs
281ddbf406
web: Inform screen readers not to mention virtual keyboard input
2024-07-22 11:34:23 +02:00
Kamil Jarosz
43472ed221
frontend-utils: Use a loopback address for tests on Linux
...
Turns out that some hosts will try to connect to the black hole address
instead of failing instantaneously, so this patch replaces that address
with a loopback address with an unlikely to be used port.
2024-07-22 11:19:29 +02:00
Juhan Oskar Hennoste
aa3f046f68
Make swf::error::Error implement Send + Sync
2024-07-21 15:32:00 -04:00
Nathan Adams
1c8e95a061
web: Use nesting in css
2024-07-19 19:00:35 +02:00
Nathan Adams
50de5d09d2
web: Run cssnano over static css
2024-07-19 19:00:35 +02:00
Nathan Adams
7dff027345
chore: 'npm run format'
2024-07-19 19:00:35 +02:00
Nathan Adams
9bfdbf24e6
web: Include static-styles css at build time, from a .css file
2024-07-19 19:00:35 +02:00
Nathan Adams
d204871e22
web: Move shadow-template to internal
2024-07-19 19:00:35 +02:00
Aaron Hill
71c3245d14
avm2: Add static methods to XML in public namespace
...
'My Champion Oliver' relies on being able to call these methods
without the AS3 namespace.
2024-07-19 17:06:41 +03:00
Daniel Jacobs
e25d97195e
chore: Add newlines to ends of files
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e708ec823f
web: Add more type definitions and comment about type checking oddities
2024-07-19 14:53:21 +02:00
Daniel Jacobs
5a788dc51c
web: Split shadow template into components
2024-07-19 14:53:21 +02:00
Daniel Jacobs
aec3348241
web: Remove unused global
2024-07-19 14:53:21 +02:00
Daniel Jacobs
0c878207c6
web: Use namespaces for SVG elements and split elements in template
2024-07-19 14:53:21 +02:00
Daniel Jacobs
78d2a85237
web: Add definitions to let things compile
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e19e088c28
chore: Formatting
2024-07-19 14:53:21 +02:00
Daniel Jacobs
1275656b9e
web: Add changes to make shadow template one tsx element
2024-07-19 14:53:21 +02:00
Daniel Jacobs
f56c43882f
web: Use tsx for shadow template
2024-07-19 14:53:21 +02:00
TÖRÖK Attila
0721ebb699
web: Remove now unused `getAudioOutputTimestamp`
2024-07-19 14:32:21 +02:00
TÖRÖK Attila
c88d363263
web: Remove now unused `copyToAudioBuffer`
2024-07-19 14:32:21 +02:00
Kamil Jarosz
60bbbda990
tests: Add avm2/edittext_always_show_selection test
2024-07-19 14:15:58 +02:00
Kamil Jarosz
a6d321e1de
avm2: Implement `TextField.alwaysShowSelection`
2024-07-19 14:15:58 +02:00
Kamil Jarosz
842f310fe7
core: Add option of rendering gray selection when text field is not focused
2024-07-19 14:15:58 +02:00
Kamil Jarosz
f8577a843d
core: Use non-zero winding rule for fonts
2024-07-19 12:40:12 +02:00
Kamil Jarosz
aab4f7122b
avm2: Support non-zero winding rule when drawing paths
2024-07-19 12:40:12 +02:00
Kamil Jarosz
b160dd6dd9
core: Add support for non-zero winding rule
2024-07-19 12:40:12 +02:00
Kamil Jarosz
3cb798e818
Revert "web: Use browser focus events for focus management"
...
This reverts commit 5441749e3e
.
2024-07-18 23:11:32 +02:00
Daniel Jacobs
da82b8ff04
ci: Temporarily pin to Node 22.4
2024-07-18 15:51:02 -04:00
Daniel Jacobs
ecc3cc4242
extension: Change from switch/toggle to proper boolean for tab reload
2024-07-17 14:54:13 -04:00