Lord-McSweeney
dfdd8287fb
avm2: Add a FIXME notice about DO Container methods being called on a TextLine
2023-11-09 13:38:48 +01:00
Lord-McSweeney
f5a16ad46f
chore: appease clippy
2023-11-09 13:38:48 +01:00
Lord-McSweeney
141b50d999
avm2: Implement TextLine.previousLine
2023-11-09 13:38:48 +01:00
Lord-McSweeney
2afb96c41b
avm2: Stub InteractiveObject.accessibilityImplementation
2023-11-09 13:38:48 +01:00
Lord-McSweeney
2f524463d8
avm2: Stub TextBlock.recreateTextLine
2023-11-09 13:38:48 +01:00
Lord-McSweeney
986295394b
avm2: TLF improvements (GroupElement support); TextLines' height depends on their content
2023-11-09 13:38:48 +01:00
Lord-McSweeney
a8294ff39a
avm2: Add some TODO notices
2023-11-09 13:38:48 +01:00
Lord-McSweeney
d48d2b7d4e
avm2: GroupElement stubs
2023-11-09 13:38:48 +01:00
Lord-McSweeney
597e4e8b9b
avm2: Basic TLF rendering support
2023-11-09 13:38:48 +01:00
Nathan Adams
fa7e7cc8c1
tests: Add tests for NetConnection with Flash Remoting, and fix implementation to match
2023-11-09 12:39:22 +01:00
Nathan Adams
e6b5ac9a2b
tests: Allow tests to request http://example.org/foo/bar by loading ./example.org/foo/bar
2023-11-09 12:39:22 +01:00
Nathan Adams
e6c46d22f2
avm2: Implement NetConnection.send and NetConnection.addHeader
2023-11-09 12:39:22 +01:00
Nathan Adams
508a4139ad
avm2: Implement Responder by making a ResponderObject to hold the callbacks
2023-11-09 12:39:22 +01:00
Nathan Adams
6d901a7463
avm2: Implement many NetConnection properties
2023-11-09 12:39:22 +01:00
Nathan Adams
08c707caa6
avm2: Implement NetConnection.close()
2023-11-09 12:39:22 +01:00
Nathan Adams
641a90b0d4
avm2: Implement connecting a NetConnection to flash remoting url
2023-11-09 12:39:22 +01:00
Nathan Adams
c691b32886
core: Introduce a NetConnection struct, backing AVM1/AVM2 NetConnection objects
2023-11-09 12:39:22 +01:00
sleepycatcoding
f334963b47
avm2: Handle single element XMLLists in XML.insertChildBefore/After
2023-11-07 23:23:53 +01:00
sleepycatcoding
cea636da30
avm2: Include CData nodes in XMLList.text output
2023-11-07 23:23:53 +01:00
sleepycatcoding
d5df3e27a2
avm2: Fix pretty printing of CData nodes
2023-11-07 23:23:53 +01:00
sleepycatcoding
fb34aaea40
avm2: Call toXMLString directly in EscXElem op
...
The previous method, which used `coerce_to_string`, calls `toString` on the object,
which has special handling for simple content, which is not used here.
2023-11-07 23:23:53 +01:00
Tom Schuster
e99eaafcd0
avm2: Fix two bugs in XML/XMLList set_property_local
2023-11-07 18:12:59 +01:00
renovate[bot]
acadb2b2d3
fix(deps): update wasm-bindgen
2023-11-07 12:18:50 +01:00
Tom Schuster
fca17a0061
avm2: Add a E4XNode::is_text helper
2023-11-04 21:45:31 +01:00
Tom Schuster
28476d83be
avm2: Add a E4XNode::is_element helper
2023-11-04 21:45:31 +01:00
Tom Schuster
1953ab3cf0
avm2: Add a E4XNode::is_attribute helper
2023-11-04 21:45:31 +01:00
TÖRÖK Attila
2059492d77
avm2: Remove default width and height values from BitmapData ctor
2023-11-03 21:41:39 +01:00
CUB3D
b0d88645bc
avm1: Implement FileReference
2023-11-03 19:32:24 +01:00
Nathan Adams
dad39631cf
avm2: Don't add ClassDefinition to AMF0 objects
2023-11-03 02:17:40 +01:00
Tom Schuster
8138b68919
avm2: Implement XML.setChildren
2023-11-02 13:40:16 +01:00
Tom Schuster
3572367c8e
avm2: Allow assigning XML objects without a name (eg. text)
2023-11-01 18:44:36 +01:00
Aaron Hill
8d75f98214
core: Remove unused exports (fix nightly warnings)
2023-11-01 00:21:59 -04:00
Nathan Adams
432a63250b
core: Update our xmlns/xml namespace detection for new quick-xml 0.31.0
2023-11-01 00:45:43 +01:00
renovate[bot]
1377a5b07b
fix(deps): update rust dependencies
2023-11-01 00:45:43 +01:00
Nathan Adams
36eda35197
avm2: Implement Font.registerFont
2023-10-30 15:49:07 +01:00
Nathan Adams
9ecb7d221f
avm2: Implement Font.enumerateFonts
2023-10-30 15:49:07 +01:00
Nathan Adams
8be05d8673
avm2: Made a FontObject type and switch Font to use that instead of looking up per getter
2023-10-30 15:49:07 +01:00
Tom Schuster
780489903a
amv2: Implement flash.xml.XMLDocument createTextNode
2023-10-30 14:30:59 +01:00
Tom Schuster
72965b3689
amv2: Implement flash.xml.XMLNode removeNode
2023-10-30 14:30:59 +01:00
Tom Schuster
445643fedb
amv2: Implement flash.xml.XMLNode cloneNode
2023-10-30 14:30:59 +01:00
sleepycatcoding
fb3c4cd307
avm2: Fix E4X [[Replace]] implementation bug
...
We were incorrectly returning for XML attributes. Fixes #13780 .
2023-10-30 14:05:23 +01:00
sleepycatcoding
5bebebddbe
avm2: Add SWFv21 and above XML special case
2023-10-29 09:43:14 -07:00
nosamu
6f5eb48ec2
avm2: Fix return value of SharedObject.flush
2023-10-29 16:08:24 +01:00
Nathan Adams
878f1fc64e
swf: Removed ButtonAction::key_code and fixed writing button tags
2023-10-29 14:31:45 +01:00
Lord-McSweeney
911f1c29db
avm2: Correctly set `caller_movie` in `Activation::from_script`
2023-10-28 21:30:40 -04:00
Aaron Hill
cc49aaee58
avm2: Add UTF-16 BOM handling to ByteArray.toString
...
When a UTF-16 BOM is present, ByteArray.toString automatically
strips it out, and treats the remaining data as a UTF-16 string
with the specified endianness.
2023-10-29 01:13:05 +02:00
Tom Schuster
ef627babfd
avm2: Stub undocumented XML notification functions
2023-10-28 14:17:34 -07:00
Aaron Hill
84f788c2d2
avm2: Use RawTable to implement 'public index' iteration ( #12470 )
...
* avm2: Use RawTable to implement 'public index' iteration
This makes our implementation more closely aligned with avmplus.
In particular, it's now possible to delete keys from an object
while iterating without disturbing the iteration order (as long
as those keys were already produced by the iterator).
This is based on @Bale001's work on RawTable-based iteration
A few tests had their output changed (they depend on the exact
object iteration order, and don't neccessarily match Flash Player
exactly).
* Use Cell to store index fields
* Remove outdated comment
2023-10-28 20:44:01 +00:00
Tom Schuster
33dde1eccf
avm2: Ignore a missing [[TargetProperty]] when assigning an XMLList
2023-10-28 08:18:15 -07:00
Tom Schuster
08d6a7b648
avm2: Reimplement XML.appendChild in terms of [[Get]] and [[Put]]
2023-10-28 08:18:15 -07:00