David Wendt
1711400f07
tests: Actually enable all the vector tests I've been running
2021-09-02 17:57:58 -06:00
David Wendt
f6ea1b2bff
tests: Add a test for the `delete` operator
2021-09-02 17:57:58 -06:00
David Wendt
f3cf82ad5a
tests: Add test for sticking ES3 classes in a `Vector.<Object>`
2021-09-02 17:57:58 -06:00
David Wendt
e65958cc22
tests: Add another test for subclass and superclass storage
2021-09-02 17:57:58 -06:00
David Wendt
2af5192893
tests: Add tests for vector holes and set coercion
2021-09-02 17:57:58 -06:00
David Wendt
9a3c4e6adb
tests: Here's a very basic test for int access
2021-09-02 17:57:58 -06:00
David Wendt
4cf407da7e
tests: Add a test for symbol class association on buttons, both for timeline-constructed and AVM-constructed buttons.
2021-08-31 21:21:54 -06:00
David Wendt
587c423027
tests: Remove garbage in `font_embedded` test, too
2021-08-30 17:53:39 -06:00
David Wendt
6c3c930954
tests: Remove garbage character in `font_hasglyphs` test
2021-08-30 17:53:39 -06:00
David Wendt
2d57bed82e
avm2: Impl `Font.hasGlyphs`
2021-08-30 17:53:39 -06:00
David Wendt
37af9be533
avm2: Implement `Font` for embedded fonts.
2021-08-30 17:53:39 -06:00
Adrian Wielgosik
945bce4a85
xml: Use forked quick-xml to support loose entity parsing
2021-08-30 19:08:22 +02:00
EmperorBale
830c2b541f
tests: Add test for getQualifiedSuperclassName
2021-08-29 20:41:20 -06:00
EmperorBale
a2a73c0278
tests: Improve getDefinitionByName test
2021-08-29 20:41:20 -06:00
EmperorBale
34e9443a3b
tests: Add test for getQualifiedClassName
2021-08-29 20:41:20 -06:00
EmperorBale
70ffc8c224
tests: Add test for getDefinitionByName
2021-08-29 20:41:20 -06:00
David Wendt
24086af276
tests: Restore the "original" source code of the AVM1 rectangle test and reapply all modifications made to it to produce the AVM2 test
2021-08-23 16:40:32 -06:00
lukaszN
cf3f02a9ce
avm2: add tests for Rectangle
2021-08-23 15:44:14 -06:00
lukaszN
65eb6f3dfd
avm2: Add flash.geom.Rectangle tests
2021-08-23 15:44:14 -06:00
Tal Hayon
7b9049cedf
core: Add DefineBinaryData and SymbolClass connection (Part of #1368 )
2021-08-21 12:24:46 -06:00
relrelb
9d174825c9
tests: Expand add_property
2021-08-21 17:23:15 +03:00
Chris Midgley
58c907e985
avm2: implement string.split for undefined ( #5064 )
...
* avm2: implement string.split for undefined
* chore: cargo fmt
* dev: avoid explicit ArrayStorage
2021-08-18 18:02:41 +02:00
Adrian Wielgosik
5dee7f163c
Add new tests for avm2 string.split()
2021-08-14 00:52:38 +02:00
relrelb
3641822f7d
tests: Expand object_prototypes
2021-07-30 17:42:42 -07:00
Mike Welsh
8a2298bd8f
chore: Bump mesa-vulkan-drivers version
2021-07-22 00:30:18 -07:00
Aaron Hill
068e06e40f
Add support for image comparison tests
2021-07-21 21:48:24 -07:00
EmperorBale
38ae630aac
tests: Add test for generateRandomBytes
2021-07-21 18:09:21 +02:00
David Wendt
ddd73b3cd6
avm2: Supercalls should fall back to normal receiver access if there is no matching supertrait to use.
2021-07-20 22:12:31 -04:00
David Wendt
b2c1299f79
tests: Add a test for bare calls on the ES4 class object
2021-07-20 22:12:28 -04:00
David Wendt
21a994ee8a
tests: Actually run the `istypelate_coerce` test
2021-07-20 22:05:37 -04:00
David Wendt
e38b1bc281
avm2: Make numbers appear to be of any numeric type that can represent them.
...
This also prevents an exception from being fired when testing `undefined` or `null`, which are valid inputs to `istype`.
2021-07-20 22:05:35 -04:00
David Wendt
974fe152ff
avm2: Include the parameter coercions into `op_coerce`
2021-07-20 22:05:34 -04:00
David Wendt
2d3ef5493b
tests: Add tests for default parameters, type checks, and implicit typecheck coercions
2021-07-20 22:05:33 -04:00
dependabot[bot]
ca2d17ade6
chore: Bump env_logger from 0.8.4 to 0.9.0
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 23:49:40 +03:00
relrelb
3ddd8ff31c
tests: Add as_set_prop_flags
2021-07-18 20:03:52 +03:00
Callum Thomson
939d467897
avm1: Correct ToInteger
...
* Coerce objects as well.
* Wrap numbers around i32.
2021-07-09 03:39:07 +03:00
Chris Midgley
ac0fc40345
avm1: implement scroll, maxscroll and bottomScroll for TextField ( #4698 )
...
* tests: add tests for scroll
* avm1: implement scroll, maxscroll, bottomScroll
* chore: fmt
* docs: note that scroll is 1-based
* fix: non-word wrapped text with manual breaks is scrollable
* chore: move magic number to const
* chore: avoid mut with extra if
* chore: moving clamping behaviour into core
* refactor: eagerly compute line data
* fix: make scroll work when text is aligned right
* chore: clippy
* docs: add more information about line_data
* tests: add more test cases for scroll
2021-07-08 19:23:30 +02:00
EmperorBale
d334e30259
avm1: Fix apply_to_display_object ( #4377 ) ( #4743 )
...
* avm1: Fix apply_to_display_object
2021-07-06 17:32:14 +02:00
relrelb
b44f3f2c15
tests: Turn array_vs_object_length into array_length
2021-06-22 10:43:10 -07:00
relrelb
814ce4c265
tests: Merge array_apply into array_constructor
2021-06-22 10:43:10 -07:00
relrelb
ff7ccfa43e
tests: Enable negative array length in array_constructor
2021-06-22 10:43:10 -07:00
relrelb
c383b70336
avm1: Merge array_function with constructor
2021-06-22 10:43:10 -07:00
Chris Midgley
b7de03b5c8
avm1: implement hscroll and maxhscroll for TextField
2021-06-22 01:43:02 -07:00
EmperorBale
1ee61cca57
avm2: ByteArray updates
2021-06-22 01:26:27 -07:00
Mike Welsh
e0a478163b
tests: Add test for PlaceObjectAction::Replace during goto
2021-06-16 20:57:43 -07:00
Mike Welsh
6146502b1a
tests: Add test for SetTarget on a removed clip
2021-06-14 14:04:28 -07:00
Mike Welsh
76603d5554
tests: Add test for execution order
2021-06-14 14:04:28 -07:00
Mike Welsh
cb136e56bb
tests: Change button_order test to 2 frames
...
In Flash, the trace actually occurs on the 2nd frame. Frame 1 is
when the clips are actually loaded. Previously this inaccurately
happened on frame 1 in Ruffle, but now happens correctly on frame
2.
2021-06-14 14:04:28 -07:00
Mike Welsh
1f96af6b64
core: Add Avm1::exec_list to manage global list of display objects
2021-06-14 14:04:28 -07:00
dependabot[bot]
cf4a1136c5
chore: Bump env_logger from 0.8.3 to 0.8.4
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.8.4 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 00:47:57 -07:00