Nathan Adams
ee1e8ec267
web: Extension shouldn't set options that are default
2023-08-06 23:55:39 +02:00
Nathan Adams
4f4dbc7973
web: Fix PublicAPI superseding, it previously always thought 'the latest ran' should replace the older version
2023-08-06 23:55:39 +02:00
SuchAFuriousDeath
11a472d40b
render: fix jpeg cmyk to rgb ( #12592 )
...
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2023-08-06 20:47:07 +03:00
Nathan Adams
c074047551
chore: Add .idea to gitignore
2023-08-06 17:37:41 +02:00
michiel2005
c50a83189c
Exporter: Updated the logic that gives a error message ( #12579 )
2023-08-06 13:19:51 +00:00
Nathan Adams
0381116934
avm2: Don't make the descendants op call a function to get descendants, just get it directly
2023-08-06 10:51:25 +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
Lord-McSweeney
66df964709
desktop: Don't wrap context menu item text; support enabled/disabled ctx menu items
2023-08-05 22:06:10 +02:00
Lord-McSweeney
2c90b1631b
avm2: Implement context menu events
2023-08-05 22:06:10 +02:00
sleepycatcoding
b98b0e88aa
chore: fmt
2023-08-05 14:42:09 +02:00
sleepycatcoding
f6da7258c5
avm1,avm2: Rename some functions to make them consistent between Sockets
2023-08-05 14:42:09 +02:00
sleepycatcoding
2468c71d02
core: Implement suggestion from review
2023-08-05 14:42:09 +02: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
82c57a0d97
avm2: Clear tempBuf when closing connection
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
d3e627fb5f
core: Clear the read buffer when the connection is closed
2023-08-05 14:42:09 +02:00
sleepycatcoding
358d3e8ede
chore: fmt
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
8293a2db75
avm1: Write null byte when sending out a message
2023-08-05 14:42:09 +02:00
sleepycatcoding
e4b7cc2afd
avm1: Replace avm_warn! with tracing::warn!
2023-08-05 14:42:09 +02:00
sleepycatcoding
01801980f4
core: Rename some imports to make code more readable
2023-08-05 14:42:09 +02:00
sleepycatcoding
783527fbad
chore: Fix clippy warning
2023-08-05 14:42:09 +02:00
sleepycatcoding
87b7af4370
avm1: Use movie domain when null is passed as host
2023-08-05 14:42:09 +02:00
sleepycatcoding
25b1ed7e9c
avm1: Implement onData()
2023-08-05 14:42:09 +02:00
sleepycatcoding
2b18a5999b
chore: fmt
2023-08-05 14:42:09 +02:00
sleepycatcoding
705042c1ee
chore: Fix a warning
2023-08-05 14:42:09 +02:00
sleepycatcoding
dccf254281
avm1: Implement some event handlers
2023-08-05 14:42:09 +02:00
sleepycatcoding
78a68f95ea
avm1: Implement send()
2023-08-05 14:42:09 +02:00
sleepycatcoding
b64c45f797
avm1: Implement connect()
2023-08-05 14:42:09 +02:00
sleepycatcoding
931c355779
avm1: Use Gc instead of GcCell
2023-08-05 14:42:09 +02:00
sleepycatcoding
7237295364
chore: fmt
2023-08-05 14:42:09 +02:00
sleepycatcoding
cd92677b2a
core: Add SocketKind and use it to separate XMLSocket and Socket
2023-08-05 14:42:09 +02:00
sleepycatcoding
662c7f986d
avm1: Implement onData
2023-08-05 14:42:09 +02:00
sleepycatcoding
879750d3e1
avm1: Stub rest of XMLSocket methods
2023-08-05 14:42:09 +02:00
sleepycatcoding
13ce61a00a
avm1: Implement close()
2023-08-05 14:42:09 +02:00
sleepycatcoding
9c92cf0c98
avm1: Implement timeout
2023-08-05 14:42:09 +02:00
sleepycatcoding
773168fe10
avm1: Create simple XMLSocket stub
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
c9c4efe574
avm2: Review remarks
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
Lord-McSweeney
76a7c69522
avm2: Use Error #2008 in some places in TextField
2023-08-05 13:42:16 +02:00
Lord-McSweeney
3fbde2076c
avm2: Use Error #2004 for flash.crypto::generateRandomBytes
2023-08-05 13:42:16 +02:00
Lord-McSweeney
fd04463476
avm2: Use make_error_2008 for set objectEncoding on ByteArray
2023-08-05 13:42:16 +02:00
Lord-McSweeney
f753d840b6
avm2: Add errors #2024 , #2150 , and #3738
2023-08-05 13:42:16 +02:00
Lord-McSweeney
855825b6ac
avm2: Create a make_error_1506 function and use it
2023-08-05 13:42:16 +02:00
Lord-McSweeney
c39d006a78
avm2: Use correct error #2025 in various places in DisplayObjectContainer
2023-08-05 13:42:16 +02:00