relrelb
7c992b4664
avm2: Implement `flash.display.GraphicsPathWinding`
2022-06-24 18:28:33 +03:00
relrelb
3655e85f6c
avm2: Implement `flash.display.GraphicsPathCommand`
2022-06-24 18:28:33 +03:00
relrelb
033d4ba6ad
avm2: Stub `int` in ActionScript
2022-06-24 18:28:33 +03:00
relrelb
ad4b06917b
avm2: Port `flash.display.GradientType` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
a119bfa102
avm2: Implement `flash.display.FocusDirection`
2022-06-24 18:28:33 +03:00
relrelb
3165e942d8
avm2: Implement `flash.display.ColorCorrectionSupport`
2022-06-24 18:28:33 +03:00
relrelb
c7a391ec36
avm2: Implement `flash.display.ColorCorrection`
2022-06-24 18:28:33 +03:00
relrelb
1ad020566e
avm2: Port `flash.display.CapsStyle` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
0081b03c6e
avm2: Implement `flash.display.BlendMode`
2022-06-24 18:28:33 +03:00
relrelb
23e5b3f0bb
avm2: Implement `flash.display.BitmapEncodingColorSpace`
2022-06-24 18:28:33 +03:00
relrelb
c7664206b3
avm2: Implement `flash.display.BitmapDataChannel`
2022-06-24 18:28:33 +03:00
relrelb
761d746c38
avm2: Port `flash.display.ActionScriptVersion` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
c6e04dfd2a
avm2: Implement `flash.text.TextLineMetrics`
2022-06-24 18:28:33 +03:00
relrelb
546662a4f7
avm2: Implement `flash.text.TextInteractionMode`
2022-06-24 18:28:33 +03:00
relrelb
d24c03349e
avm2: Port `flash.text.TextFormatAlign` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
6108be135e
avm2: Port `flash.text.TextFieldType` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
976cf2da39
avm2: Port `flash.text.TextFieldAutoSize` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
11f6e4abfb
avm2: Implement `flash.text.TextExtent`
2022-06-24 18:28:33 +03:00
relrelb
dcfe158f6c
avm2: Implement `flash.text.TextDisplayMode`
2022-06-24 18:28:33 +03:00
relrelb
613bd8924a
avm2: Implement `flash.text.TextColorType`
2022-06-24 18:28:33 +03:00
relrelb
8d024f2140
avm2: Implement `flash.text.GridFitType`
2022-06-24 18:28:33 +03:00
relrelb
d1a22cf083
avm2: Implement `flash.text.FontType`
2022-06-24 18:28:33 +03:00
relrelb
45aff8f7ef
avm2: Implement `flash.text.FontStyle`
2022-06-24 18:28:33 +03:00
relrelb
3abfac8ea6
avm2: Port `flash.utils.Endian` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
8228f7af6c
avm2: Port `flash.utils.CompressionAlgorithm` to ActionScript
2022-06-24 18:28:33 +03:00
relrelb
801d95cdfa
avm2: Implement `flash.geom.Orientation3D`
2022-06-24 18:28:33 +03:00
relrelb
b38afb6c75
avm2: Implement `flash.geom.ColorTransform`
2022-06-24 18:28:33 +03:00
relrelb
668a25c404
avm2: Stub `uint` in ActionScript
2022-06-24 18:28:33 +03:00
dependabot[bot]
4872d11cf3
build(deps): bump got from 11.8.3 to 11.8.5 in /web
...
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 12:01:14 +03:00
Aaron Hill
6eb4b485f0
Merge pull request #7095 from adrian17/avm2-fix-bare-function-scope
...
avm2: Pull methods' scopes from vtable, not class
2022-06-23 00:10:17 -05:00
relrelb
dd4b615e82
tests: Expand and format `as3_parse_int`
2022-06-23 01:07:15 +03:00
relrelb
017e35a82f
avm2: Refactor `parseInt` implementation
...
Re-use some helper functions introduced in #7212 , and fix some
minor inaccuracies.
2022-06-23 01:07:15 +03:00
Adrian Wielgosik
97cfaff347
avm2: Refactor a (class,scope,method) tuple to a ClassBoundMethod
2022-06-23 00:03:07 +02:00
relrelb
06752646b8
swf: Extract `Twips` to a separate file
2022-06-22 09:49:32 +03:00
nosamu
680ffc3bbd
docs: Minor updates ( #7264 )
...
* docs: Minor updates to README.md
Extension builds are now output to a `dist` folder, just like all other web packages.
* docs: Minor updates to extension README
The Firefox instructions only work in Firefox Developer Edition or Nightly
* docs: Minor fixes for CONTRIBUTING.md
Omit the quotes in the RUST_LOG value, since they cause an error on Windows and are unnecessary on other platforms.
Also clarify which debugging features are activated by RUST_LOG and which are activated only when building Ruffle with `avm_debug`.
* docs: Add detail to build instructions
Add more detailed instructions for building the desktop app, as suggested by @coreybruce in #7251
2022-06-22 08:45:22 +03:00
Callum Thomson
1310f433f2
avm2: Implement escape() toplevel ( #7281 )
...
* AVM2: Implement escape()
* chore: Fix formatting
* avm2: Escape resolves non strings to null and use push to append
* chore: Fix nits
* avm2: Escape should coerce objects, add early returns
2022-06-22 08:43:22 +03:00
dependabot[bot]
87c3463510
build(deps): bump syn from 1.0.96 to 1.0.98
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.96 to 1.0.98.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.96...1.0.98 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:59:10 +03:00
dependabot[bot]
06d9a96b4a
build(deps): bump clap from 3.2.1 to 3.2.2
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.1 to 3.2.2.
- [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-v3.2.1...v3.2.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:54:39 +03:00
relrelb
335ce09cb1
core: Remove `indexmap` version restriction
...
Seems like the cyclic package dependency has been resolved in `1.9.0`,
so bring it back as usual.
2022-06-21 09:26:10 +03:00
dependabot[bot]
678ff2420d
build(deps): bump indexmap from 1.6.2 to 1.9.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.2 to 1.9.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.2...1.9.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:26:10 +03:00
dependabot[bot]
2d7af88f6b
build(deps): bump getrandom from 0.2.6 to 0.2.7
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.6...v0.2.7 )
---
updated-dependencies:
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:21:25 +03:00
dependabot[bot]
a0823780f6
build(deps): bump crossbeam-channel from 0.5.4 to 0.5.5
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.4...crossbeam-channel-0.5.5 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:08:14 +03:00
dependabot[bot]
65538839f5
build(deps): bump quote from 1.0.18 to 1.0.19
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.18...1.0.19 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 08:54:07 +03:00
dependabot[bot]
c37432fb30
build(deps): bump rfd from 0.8.4 to 0.9.1
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.8.4 to 0.9.1.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.8.4...0.9.1 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 08:53:52 +03:00
dependabot[bot]
4fb6afd993
build(deps): bump enum-map from 2.3.0 to 2.4.0
...
Bumps [enum-map](https://github.com/xfix/enum-map ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/xfix/enum-map/releases )
- [Changelog](https://github.com/xfix/enum-map/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xfix/enum-map/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: enum-map
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 08:53:40 +03:00
relrelb
a3ac9a7064
tests: Have at most one image per test
...
Previously image tests had an image per platform (i.e. Linux, Windows).
However, due to containing the LLVM version in their name, which
constantly updates on CI, and the fact that those images are actually
identical, unify them into a single `expected.png` image.
2022-06-21 08:03:25 +03:00
relrelb
cc542e4aae
tests: Add `as3_parse_float_swf10`
...
To cover the bug compatibility of `parseFloat`.
2022-06-21 08:02:40 +03:00
relrelb
f7a0609b62
tests: Expand `as3_parse_float`
2022-06-21 08:02:40 +03:00
relrelb
0e0045425e
avm2: Re-implement `parseFloat`
...
The AVM2 `parseFloat` implementation used to call into the AVM1 one,
which was not 100% accurate. De-couple it as a new implementation,
based on `MathUtils::convertStringToDouble` in `avmplus`:
https://github.com/adobe/avmplus/blob/master/core/MathUtils.cpp#L1229-L1439
2022-06-21 08:02:40 +03:00
relrelb
f66159a387
wstr: Allow creating `Pattern` from `FnMut`
...
This aligns with Rust's standard `Pattern`:
https://doc.rust-lang.org/std/str/pattern/trait.Pattern.html
Also rename `Predicate::is_match` to `matches` in order to appease
Clippy's `wrong-self-convention` lint, and anyway this is closer to
Rust's `MultiCharEq::matches`.
2022-06-21 08:02:40 +03:00