Mike Welsh
|
9a08b9ae4f
|
avm2: flash.display.Graphics is final
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
df466dfba1
|
core: Start with an empty drawing when a `Shape` is converted into a `Drawing`.
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
b739b8d786
|
core: Retain the original `swf::Shape` until dynamic behavior is needed, upon which we switch to using a `Drawing`.
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
ff028de8de
|
core: `Drawing` should accept a SWF movie to pull bitmaps from
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
4238d8bd2a
|
tests: Add another test for drawing on `MovieClip`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
1d57eee369
|
tests: Add a test for shape drawing
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
1d64f38bb7
|
avm2: Impl `drawRect`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
60f4f2c534
|
core: `Graphic` should expose it's `Drawing` for external access
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
85ee005c0f
|
core: `Graphic` should always use it's stored `Drawing`'s bounds
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
e3f2d0f213
|
avm2: Allow constructing new `Shape`s.
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
62a779444d
|
avm2: `graphics` is a `Sprite` property, not a `MovieClip` property
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
5e7327d041
|
avm2: Allow drawing on `Shape`s.
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
e8b6d1a52a
|
core: Migrate clip drawing commands to exposing the internal `Drawing` to mutation
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
1a6f401f1f
|
avm2: Implement `Graphics.moveTo`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
15d3a1e99d
|
avm2: Implement `Graphics.lineTo`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
9464a8800a
|
avm2: Implement `CapsStyle`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
f7f98cc69e
|
avm2: Implement `LineScaleMode`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
582d2447cd
|
avm2: Implement `JointStyle`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
6396b90890
|
avm2: Implement `Graphics.lineStyle`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
41ad756792
|
avm2: Implement `Graphics.endFill`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
3dfeeacfcc
|
avm2: Implement `Graphics.curveTo`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
71b6bca100
|
avm2: Implement `Graphics.clear`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
f1febe33b9
|
avm2: Implement `Graphics.beginFill`
|
2021-03-24 13:18:06 -07:00 |
David Wendt
|
124e144d02
|
avm2: Add a class for `graphics`
|
2021-03-24 13:18:06 -07:00 |
dependabot-preview[bot]
|
20b2e55171
|
build(deps): bump gif from 0.11.1 to 0.11.2
Bumps [gif](https://github.com/image-rs/image-gif) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/image-rs/image-gif/releases)
- [Changelog](https://github.com/image-rs/image-gif/blob/master/Changes.md)
- [Commits](https://github.com/image-rs/image-gif/compare/v0.11.1...v0.11.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-23 10:03:59 -07:00 |
dependabot-preview[bot]
|
19d57941ee
|
build(deps): bump serde from 1.0.124 to 1.0.125
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-23 10:03:17 -07:00 |
Adrian Wielgosik
|
c084d575f4
|
tests: Speed up builds of regression tests
|
2021-03-20 14:50:57 -07:00 |
Adrian Wielgosik
|
2d1c60e02e
|
avm1: Fix binary operators not returning signed values
Also enabled AVM2 test that was forgotten before.
|
2021-03-20 14:49:55 -07:00 |
EmperorBale
|
ac9d27b2fd
|
avm1: Avoid panic when setMask called with no arguments (fix #3298)
|
2021-03-19 17:25:58 -07:00 |
Chris Midgley
|
aa94f6570e
|
avm1: fix String.substr behaviour for negative lengths (fix #3626)
|
2021-03-19 14:32:04 -07:00 |
David Wendt
|
05dc538a25
|
avm2: Use the actual `FromIterator` trait
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
1baadb93c2
|
chore: cargo fmt is fickle
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
a40755154d
|
avm2: `TextField` and `TextFormat` are sealed (non-dynamic) classes
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
6deebf0733
|
tests: approx the `leading` and `font_size` tests, and increase the epsilon on `autosize` by 1px.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
a05423d48c
|
avm2: Setting a given text property also sets or resets the `html` mode (since it's not a separate property like in AS2)
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
f5268198b0
|
avm2: Don't round text metrics (`textWidth` and `textHeight`)
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
f908eb65fc
|
tests: Port AS2 edittext tests to AS3.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
f188306f4f
|
avm2: `setTextFormat` is range-checked
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
78c519cce0
|
avm2: Don't except when creating a dynamic TextField.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
4ef01000a8
|
avm2: Impl `TextField.setTextFormat`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
a115db49ba
|
avm2: Impl `TextField.setSelection`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
7902914aa4
|
avm2: Impl `TextField.replaceText`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
c22f30fdf0
|
avm2: Impl `TextField.replaceSelectedText`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
b4d97ca183
|
avm2: Impl `TextField.getTextFormat`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
f45c9d1889
|
avm2: Impl `TextField.appendText`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
42f717deb8
|
avm2: Impl `TextField.wordWrap`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
4bfc3cfda4
|
avm2: Impl `TextField.type`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
1c2ef3154a
|
avm2: Impl `TextFieldType`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
da563266d5
|
avm2: Impl `TextField.textHeight` and `TextField.textWidth`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
8165aa5c4a
|
avm2: Impl `TextField.textColor`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
c0a2547be3
|
avm2: Impl `TextField.text`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
dee937ac3a
|
avm2: Impl `TextField.selectable`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
b6a1bf80c1
|
avm2: Impl `TextField.multiline`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
053b6bd4cc
|
avm2: Impl `TextField.length`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
1ce868c51e
|
avm2: Impl `TextField.htmlText`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
89c131bf52
|
avm2: Impl `TextField.embedFonts`
This assumes `embedFonts` is the opposite of device fonts, which sounds reasonable.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
62ec106afb
|
avm2: Impl `TextField.displayAsPassword`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
fa5145b884
|
avm2: Impl `TextField.defaultTextFormat`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
3d8bf90794
|
core: Also allow converting `TextFormat` back into an AVM2 object.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
3d2d2072af
|
avm2: Impl `TextFormatAlign`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
e10726ef1c
|
core: Add utilities for converting an AVM2 object into a `TextFormat`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
50f992b9e6
|
avm2: Implement `TextField.borderColor`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
8913297514
|
avm2: Fix type of `TextField.backgroundColor`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
8d1e0992b5
|
avm2: Impl `TextField.border`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
436b3b2ed3
|
avm2: Impl `TextField.backgroundColor`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
a84acd55c3
|
avm2: Impl `TextFieldAutoSize`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
e35f66fafe
|
avm2: Impl `TextField.autoSize`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
b6adc18c9c
|
avm2: Impl `flash.text.TextFormat`
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
f44e54246d
|
avm2: Text fields on AVM2 movies should have AVM2 objects.
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
9e739f8ceb
|
avm2: Ensure constructed text fields have a DisplayObject side
|
2021-03-19 12:39:57 -07:00 |
David Wendt
|
b71286f1c4
|
avm2: Stub `flash.text.TextField`
|
2021-03-19 12:39:57 -07:00 |
relrelb
|
cdb2c279c0
|
avm2: Implement Nop
|
2021-03-19 12:39:23 -07:00 |
relrelb
|
72626825d3
|
tests: Expand bitmap_data
|
2021-03-18 22:04:39 -07:00 |
relrelb
|
3b6f0f0ced
|
avm1: Fix color_bounds_rect
|
2021-03-18 22:04:39 -07:00 |
Aaron Hill
|
d3744d28df
|
Derive `Collect` for `ActionQueue`
|
2021-03-18 21:56:04 -07:00 |
dependabot-preview[bot]
|
069096e3e7
|
build(deps): bump syn from 1.0.63 to 1.0.64
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.63...1.0.64)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-18 18:33:14 -07:00 |
Callum Thomson
|
a570d96433
|
avm2: Implement flash.geom.Point (#3681)
|
2021-03-18 12:03:04 -07:00 |
Adrian Wielgosik
|
1aa77b04fe
|
avm1: Reduce frequency of timeout checks by 10+ times
|
2021-03-13 01:19:58 -08:00 |
relrelb
|
d16d142c60
|
chore: Appease clippy
|
2021-03-13 00:56:04 -08:00 |
relrelb
|
e594f602b6
|
chore: Twips::new(0) -> Twips::zero()
|
2021-03-13 00:56:04 -08:00 |
dependabot-preview[bot]
|
934f95cd52
|
build(deps): bump syn from 1.0.62 to 1.0.63
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.62...1.0.63)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-09 12:25:56 -08:00 |
dependabot-preview[bot]
|
8bd13203a1
|
build(deps): bump pretty_assertions from 0.6.1 to 0.7.1
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-09 12:25:47 -08:00 |
relrelb
|
866e143073
|
chore: Cleanup bounds related code
|
2021-03-08 14:34:26 -08:00 |
EmperorBale
|
4d7b2fa1b9
|
avm1: Fix #3446
Thanks!
|
2021-03-08 00:52:35 -08:00 |
TÖRÖK Attila
|
339d0330a2
|
avm1: Fix seeking
The problem was most likely with negative relative offsets
|
2021-03-08 00:49:16 -08:00 |
relrelb
|
8f21c17683
|
chore: Rename MutationContext parameters to gc_context
|
2021-03-06 23:30:06 -08:00 |
relrelb
|
8318d4d0ed
|
chore: Remove unnecessary context parameters
|
2021-03-06 23:30:06 -08:00 |
relrelb
|
fff6eb2ffd
|
chore: Use bitflags set method
|
2021-03-06 23:30:06 -08:00 |
dependabot-preview[bot]
|
d8c140fce1
|
build(deps): bump syn from 1.0.61 to 1.0.62
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.61...1.0.62)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-06 23:28:38 -08:00 |
dependabot-preview[bot]
|
c4af8114d0
|
build(deps): bump serde from 1.0.123 to 1.0.124
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-05 22:29:54 -08:00 |
EmperorBale
|
b68eeeae26
|
avm2: Implement ByteArray
|
2021-03-05 15:01:02 -08:00 |
desuwa
|
0d98fe8b7c
|
core: Clear masker/maskee properties when unloading objects
|
2021-03-05 14:15:25 -08:00 |
dependabot-preview[bot]
|
b586c7f74e
|
build(deps): bump indexmap from 1.6.1 to 1.6.2
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.6.1...1.6.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-05 14:10:36 -08:00 |
dependabot-preview[bot]
|
b6559214b8
|
build(deps): bump syn from 1.0.60 to 1.0.61
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.60...1.0.61)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-03-05 10:31:55 -08:00 |
TÖRÖK Attila
|
873736950e
|
core/avm1: Implement BitmapData.paletteMap()
|
2021-03-03 05:26:24 -08:00 |
paq
|
922998b4a2
|
tests: Add test for RegExp's exec
|
2021-03-03 03:37:34 -08:00 |
paq
|
71588b32f1
|
tests: Add test for RegExp's test
|
2021-03-03 03:37:34 -08:00 |
paq
|
ae2de6315d
|
tests: AVM2 RegExp constructor and flags
|
2021-03-03 03:37:34 -08:00 |
paq
|
d866f73c5e
|
avm2: Implement RegExp
|
2021-03-03 03:37:34 -08:00 |
paq
|
b8c1f1627a
|
chore: Add `regress` crate for implementing RegExp class.
|
2021-03-03 03:37:34 -08:00 |