Nathan Adams
bf7c17737b
avm2: Trim the start of processing instruction values
2023-08-12 20:15:21 +02:00
Nathan Adams
90b3fa4c63
avm2: Implement to_xml_string_inner for procesing instructions
2023-08-12 20:15:21 +02:00
Nathan Adams
f4216aefc1
avm2: Implement XMLList.comments()
2023-08-12 20:15:21 +02:00
Nathan Adams
d9847d0167
tests: Rename some files because windows is dumb and they're too long I guess
2023-08-12 17:37:17 +02:00
TÖRÖK Attila
0591fd882a
tests: Update displacement_map expected output.
2023-08-12 14:15:40 +02:00
Nathan Adams
adda66723e
core: Use filters to calculate render sizes of objects
2023-08-12 13:00:27 +02:00
Nathan Adams
d35b2b8b84
core: Inform Bitmaps to invalidate, if their backing BitmapDatas change
2023-08-12 11:56:18 +02:00
Nathan Adams
e73cd91283
tests: Fix running tests without img_tests feature
2023-08-11 20:15:24 +02:00
Nathan Adams
1858db65c4
tests: Add known_failure test for CABs containing grown filters
2023-08-11 11:23:03 +02:00
Nathan Adams
f55147d7c3
core: Override render_bounds_with_transform in Avm2Button
2023-08-11 11:23:03 +02:00
Nathan Adams
a9c5bdfbab
core: Better handle scroll_rect and/or masks with cacheAsBitmap
2023-08-11 11:23:03 +02:00
Nathan Adams
b1aeb010a4
tests: Add CAB + Masks test
2023-08-11 11:23:03 +02:00
TÖRÖK Attila
fb01473bb3
tests: Exclude WARP from shumway_acid_tests/acid_image, it was flaky
2023-08-09 21:04:59 +02:00
TÖRÖK Attila
0c4bb22491
chore: Update dependencies of the crates within tests.
2023-08-08 23:19:16 +02:00
MrCheeze
68f8cd6149
avm2: Remove focus from an EditText when it unloads ( close #12092 )
2023-08-07 23:16:06 +02:00
Nathan Adams
bdd2a7ea9e
tests: Allow capturing images on specific frames/ticks
2023-08-07 22:52:10 +02:00
Nathan Adams
ca8fc23a6c
tests: Allow fscommand("captureImage", "IMAGE_NAME")
2023-08-07 22:52:10 +02:00
Nathan Adams
1c8724a458
tests: Turn image_comparison into image_comparisons.NAME, allowing multiple comparisons per test
2023-08-07 22:52:10 +02:00
Nathan Adams
42b4812601
avm2: Throw error when using descendants op (..) on anything that isn't XML, even if it has descendants property
2023-08-06 10:51:25 +02:00
michiel2005
690ce110d8
avm1: reference displayObjects parents if parent is a button ( #12541 )
2023-08-05 20:32:03 +00:00
sleepycatcoding
aac1931569
avm1: Prevent panic when close is called in event handler
...
Also adds a test case for this.
2023-08-05 14:42:09 +02:00
sleepycatcoding
d8ae2ce6b9
avm1: Fix only one message arriving when multiple are sent in the same packet
...
Test case has been improved to cover this.
2023-08-05 14:42:09 +02:00
sleepycatcoding
cec74242cf
core: Socket subsystem fixes
...
Clears the read and write buffer of Socket before returning to ActionScript, this could potentially be problematic
when a SWF reuses the same Socket to connect.
Also remove the handle from Arena when server closes the connection, this fixes
connected still returning true after server disconnection.
2023-08-05 14:42:09 +02:00
sleepycatcoding
0a1f645177
tests: Add onData test for XMLSocket
2023-08-05 14:42:09 +02:00
sleepycatcoding
43e1e72258
tests: Add AVM1 XMLSocket test
2023-08-05 14:42:09 +02:00
sleepycatcoding
1c0426a747
tests: Expand test case as per review
2023-08-05 14:17:02 +02:00
sleepycatcoding
e8bc47a569
avm2: Return correct error if Event.clone() returns null
2023-08-05 14:17:02 +02:00
sleepycatcoding
925ed2e82b
avm2: Clone event if it has been dispatched before
2023-08-05 14:17:02 +02:00
Nathan Adams
fc54c111c3
tests: Port avmplus as3 AMF test
2023-08-04 16:29:27 +02:00
Nathan Adams
5f200dc2a9
avm2: Use correct error in write ops when reading past bounds
2023-08-03 16:28:25 +02:00
Nathan Adams
af46301020
avm2: Use correct error in Li ops when reading past bounds
2023-08-03 16:28:25 +02:00
Nathan Adams
3d76953574
avm2: Use correct error when accessing domain memory out of bounds
2023-08-03 16:28:25 +02:00
Nathan Adams
c3a283e23d
tests: Port avmplus MOPS tests
2023-08-03 16:28:25 +02:00
sleepycatcoding
85db727f17
avm2: Implement XMLSocket
2023-08-02 22:16:16 +02:00
Nathan Adams
3834462abf
avm2: Hook up XMLDocument.ignoreWhite
2023-08-02 15:55:08 +02:00
Nathan Adams
6f2420d983
avm2: Implement ignoreComments/ignoreProcessingInstructions/ignoreWhitespace
2023-08-02 15:55:08 +02:00
Nathan Adams
da7ee01730
avm2: Implement XML.settings/XML.setSettings/XML.defaultSettings, and add appropriate properties to XML class
2023-08-02 15:55:08 +02:00
Nathan Adams
10e59067d0
avm2: Rewrote XMLDocument/XMLNode to be more correct
2023-08-02 15:55:08 +02:00
Lord-McSweeney
84e4215ece
avm2+tests: Various Vector-related fixes; activate now-passing Vector tests
2023-08-02 15:26:53 +02:00
relrelb
006393c581
chore: Appease nightly clippy
2023-08-01 22:44:00 +03:00
TÖRÖK Attila
f036fd7aff
tests/visual: Also test DisplacementMapFilter with componentX or componentY of 0
2023-08-01 12:54:56 +02:00
Adrian Wielgosik
2621dd78ee
avm2: Vector doesn't support propertyIsEnumerable
2023-08-01 00:13:46 +02:00
Adrian Wielgosik
b61e92ee12
avm2: Fix property_is_enumerable on arrays
2023-08-01 00:13:46 +02:00
sleepycatcoding
a40e8d8ac4
tests: Split read/writeObject off into a separate test
2023-07-31 22:32:03 +02:00
sleepycatcoding
cd9ed1a1da
tests: remove unneeded loops
2023-07-31 22:32:03 +02:00
sleepycatcoding
1b765e2a45
tests: Use new socket API
2023-07-31 22:32:03 +02:00
sleepycatcoding
749ba80c8a
tests: Lower socket test task timeout to 1 microsecond
...
This was hiding the fact that the test technically did not run and failed, as it only happened very rarely in some scenarios.
2023-07-31 22:32:03 +02:00
Nathan Adams
91bfbe6ab1
tests: Port avmplus as3 MethodClosures test
2023-07-31 19:52:12 +02:00
Nathan Adams
4de8301f75
tests: Port avmplus as3 RuntimeErrors test
2023-07-31 19:52:12 +02:00
Nathan Adams
27fc81f0f3
tests: Port avmplus as3 Dictionary test
2023-07-31 19:52:12 +02:00
Nathan Adams
9ba9ec17a7
tests: Port avmplus as3 e12_6_3_12 Statement test
2023-07-31 19:52:12 +02:00
Nathan Adams
cc302a56de
tests: Port avmplus as3 for-each-in tests
2023-07-31 19:52:12 +02:00
Nathan Adams
d6f83ce9c3
tests: Port avmplus es3 switch tests
2023-07-31 19:52:12 +02:00
Nathan Adams
98f9316fa7
tests: Port avmplus es3 Int tests
2023-07-31 19:52:12 +02:00
Nathan Adams
b42ae15759
tests: Port avmplus es3 Number tests
2023-07-31 19:52:12 +02:00
Nathan Adams
dab0779493
tests: Port avmplus es3 uint tests
2023-07-31 19:52:12 +02:00
Nathan Adams
01bacb51ba
tests: Port avmplus es3 Type Conversions tests
2023-07-31 19:52:12 +02:00
Nathan Adams
cdc8e65f0c
tests: Port avmplus es3 const tests
2023-07-31 19:52:12 +02:00
Nathan Adams
c903c0081c
tests: Port avmplus es3 ClassDef tests
2023-07-31 19:52:12 +02:00
Abiel Deneke
6552b4e132
avm2: Implement `Matrix3D.prependScale`
2023-07-31 17:00:44 +02:00
TÖRÖK Attila
288ed7e341
tests: Add an avm1 visual test for BitmapData::perlinNoise()
2023-07-31 16:41:01 +02:00
Adrian Wielgosik
399ac2490c
avm2: Remove accidentally duplicated tests
2023-07-30 18:05:24 +02:00
Nathan Adams
647b49ad52
tests: Move from_avmplus up one level
2023-07-30 13:59:33 +02:00
Nathan Adams
c8a86966b0
tests: Port avmplus e4x XMLList tests
2023-07-30 13:59:33 +02:00
Nathan Adams
2e1f848144
tests: Port avmplus e4x XML tests
2023-07-30 13:59:33 +02:00
Nathan Adams
0ac0ea21c5
tests: Port avmplus e4x Types tests
2023-07-30 13:59:33 +02:00
Nathan Adams
f97559066b
tests: Port avmplus e4x TypeConversion tests
2023-07-30 13:59:33 +02:00
Nathan Adams
068a4b38ac
tests: Port avmplus e4x Regress tests
2023-07-30 13:59:33 +02:00
Nathan Adams
8a0e57ca95
tests: Port avmplus e4x Namespace tests
2023-07-30 13:59:33 +02:00
Nathan Adams
6030ed563b
tests: Port avmplus ecma3 Number tests
2023-07-30 13:59:33 +02:00
Nathan Adams
495f19f10d
tests: Port avmplus ecma3 ObjectObjects tests
2023-07-30 13:59:33 +02:00
Nathan Adams
e25c18beed
tests: Port avmplus ecma3 Statements tests
2023-07-30 13:59:33 +02:00
Nathan Adams
04dbff285a
tests: Port avmplus ecma3 String tests
2023-07-30 13:59:33 +02:00
Nathan Adams
b7f6373af3
tests: Port avmplus ecma3 TypeConversion tests
2023-07-30 13:59:33 +02:00
Nathan Adams
e08e9cc14b
tests: Port avmplus ecma3 instanceof tests
2023-07-30 13:59:33 +02:00
Nathan Adams
9c12d3134a
tests: Port avmplus ecma3 ErrorObject tests
2023-07-30 13:59:33 +02:00
Nathan Adams
e707e98487
tests: Port avmplus ecma3 Boolean tests
2023-07-30 13:59:33 +02:00
Tom Schuster
f237aa1da2
avm2: Implement XMLNode.nodeValue
2023-07-30 11:14:00 +02:00
TÖRÖK Attila
acddd6c26d
tests: Add glow_pass_scaling visual test
2023-07-29 22:23:49 +02:00
TÖRÖK Attila
24afc21f87
tests: Remove redundant "test" suffix from the name of blur_pass_scaling_test
2023-07-29 22:23:49 +02:00
Aaron Hill
4406a70fc9
avm2: Enable Vector.<ObjectSubclass> serialization tests
...
This also fixes a minor bug (we should always deserialize
to a `Vector.<Object>`, not a `Vector.<*>`)
2023-07-29 15:30:24 -04:00
Nathan Adams
f9be8be99e
avm2: Make 'new Math()' and 'Math(value)' throw errors
2023-07-29 15:24:30 +02:00
Adrian Wielgosik
456e9d2c05
avm2: Extend vector_concat test
2023-07-28 23:42:04 +02:00
Adrian Wielgosik
22d7ffdefc
avm2: fix Vector null display
2023-07-28 23:42:04 +02:00
Adrian Wielgosik
e1d73f031a
avm2: Activate the Vector/specialized_at_runtime test
2023-07-28 23:42:04 +02:00
Nathan Adams
8be0a36b1a
tests: Port avmplus ecma3 Array tests
2023-07-28 22:22:47 +02:00
Nathan Adams
90b4653eaf
tests: Port avmplus ecma3 Exception tests
2023-07-28 22:22:47 +02:00
Nathan Adams
a52bed18bd
tests: Port avmplus ecma3 FunctionObjects tests
2023-07-28 22:22:47 +02:00
Nathan Adams
684c0ea5e6
tests: Port avmplus ecma3 GlobalObject tests
2023-07-28 22:22:47 +02:00
Nathan Adams
d3606e3c9d
tests: Port avmplus ecma3 Types tests
2023-07-28 22:22:47 +02:00
Nathan Adams
a8410aa34e
tests: Port avmplus ecma3 ExecutionContexts tests
2023-07-28 22:22:47 +02:00
Nathan Adams
1a354d5809
tests: Port avmplus ecma3 Expression tests
2023-07-28 22:22:47 +02:00
Nathan Adams
8ff5ff8176
tests: Port avmplus ecma3 Function tests
2023-07-28 22:22:47 +02:00
Nathan Adams
e1749cd0ad
tests: Port avmplus ecma3 Unicode tests
2023-07-28 22:22:47 +02:00
Lord-McSweeney
cf5c02ca1b
avm2+tests: Fully implement XML.appendChild, add a test
2023-07-28 15:21:38 +02:00
Lord-McSweeney
cf8dde966f
tests: Allow avmplus e4x/Global/e13_1_2_1 to run, since it no longer loops indefinitely
2023-07-28 13:11:15 +02:00
sleepycatcoding
46d6d6724d
tests: Allow some avmplus tests as they now succeed
2023-07-27 23:39:06 +02:00
sleepycatcoding
04aa060c61
tests: Check XML/XMLList.parent() in xml_list_concat
2023-07-27 23:39:06 +02:00
sleepycatcoding
02d815e86b
avm2: Implement XML addition operations
2023-07-27 23:39:06 +02:00
Nathan Adams
70fb674d8b
avm2: Implement correct errors for write_bytes with offset+length > u32::MAX
2023-07-27 19:47:16 +02:00