Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/openfl/openfl

The Open Flash Library for creative expression on the web, desktop, mobile and consoles.
https://github.com/openfl/openfl

CHANGELOG

3e459867da43cedefcff220645ac7a142aebe62b authored 10 months ago by Josh Tynjala <[email protected]>
Work around text highlighting crash (#2602).

The wrong characters are still highlighted, but it no longer crashes, which is more important fo...

5cf5be1b408244703f8f9526be2f820dde13d6f6 authored 10 months ago by Joseph Cloutier <[email protected]>
prepare for 9.3.3

aa0d1b4d41c8106a21d659e9d76106eed80950c0 authored 10 months ago by Josh Tynjala <[email protected]>
Make `ByteArray` compatible with Haxe's `Bytes` class. (#2692)

* Remove references to `lime_bytes_length_getter`.

With one exception for the time being.

...

2f51090f51d1b4bd25fc7576c82ba585524ec38f authored 10 months ago by player-03 <[email protected]>
Some improvements describing supported OpenFL targets for certain APIs

c114edd36b6e8118533b664001d68b89eda3833b authored 10 months ago by Josh Tynjala <[email protected]>
FileReference: fix compilation error for sys.io.File on non-sys desktop targets

8aea40dbe0cf6b12af40d43602520b9658e2da0f authored 10 months ago by Josh Tynjala <[email protected]>
Use conditional compilation to hide a number of internal classes from the flash target

This makes it possible to use --macro include('openfl') when targeting flash or air

6b078309358e0f1adb890beb5b3252fce3da11f9 authored 11 months ago by Josh Tynjala <[email protected]>
Some classes should be air-only when targeting flash

613d3179e82adaab99a2a42170ece733830e1dc4 authored 11 months ago by Josh Tynjala <[email protected]>
File: fix missing separator between directory and file in result of getDirectoryListingAsync()

6c106bc8463edb1ee71491d1e4f2b7e1dbf15f7f authored 11 months ago by Josh Tynjala <[email protected]>
fix some as3 example code that should have been haxe

7c1be30ec8532eae0d6add011c5215e234c2ff0e authored 11 months ago by Josh Tynjala <[email protected]>
File: fix typo in docs

369512bba124b0eb7eebefcff2d65f9addbc5a30 authored 11 months ago by Josh Tynjala <[email protected]>
docs: fix some bad character encoding conversions

2630dc5c08a5dd26c90f62c31c1681580dc66dc0 authored 11 months ago by Josh Tynjala <[email protected]>
EventDispatcher: can't allow useWeakReference on cpp target

The way that hxcpp passes methods by reference to addEventListener() appears to inolve creating ...

42006080a39b084a2abdee45f5cceee6f724b4a5 authored 11 months ago by Josh Tynjala <[email protected]>
CairoTilemap: similar to CanvasTilemap, skip rendering tile if bitmapData.image is null (references #2678)

f3c68f1ca8cc44b1147539d427730e41a9d860db authored 11 months ago by Josh Tynjala <[email protected]>
URLVariables: fix possible non-string value passed to urlEncode()

7b9eae0f05f8ef4c422c32729fbb129fb81849b6 authored 11 months ago by Josh Tynjala <[email protected]>
CanvasTilemap compressed texture crash fixed

6583ae6bdd992c1bb3f1c7e7f1a0b52f62e3d236 authored 11 months ago by Barış Yıldırım <[email protected]>
tests: fix CI

719823b9361cde0fdfe64c9de34eb67f6172bb13 authored 12 months ago by Josh Tynjala <[email protected]>
tests: new tests for Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE

c6451af266f630672e89fa342fd950e3e2555f3f authored 12 months ago by Josh Tynjala <[email protected]>
DeviceRotation, Geolocation: fix wrong package for flash/air

737adaba111174c4a318506394f6bad668b17b77 authored 12 months ago by Josh Tynjala <[email protected]>
actions: use github.workspace instead of platform specific environment variables syntax

1341d60757245a2fd22fd07624b4e052b557416d authored 12 months ago by Josh Tynjala <[email protected]>
BitmapData: update docs to make clear that fromBytes() and fromBase64() accept only supported bitmap file formats, and setPixels() or setVector() is meant for raw uncompressed ARGB values

3c0df3d6d1f7e880b473995e5c3ef3858d2b5969 authored about 1 year ago by Josh Tynjala <[email protected]>
Socket: fix edge case where connect timeout could be ignored

In some cases, __socket.peer() could return null or throw, even after SysSocket.select() indicat...

acc1befac3433b11cdc867f3ce58eeaa0fd4d098 authored about 1 year ago by Josh Tynjala <[email protected]>
DisplayObjectRenderer: add openfl_force_gl_cacheasbitmap_for_scale9grid define to allow fake scale9Grid with cacheAsBitmap to be enabled

Followup to revert b630fb80ae5e2ca7b2bba7f9ad6139cc82bf0264

4afde8971f8601964de7601a08de8df8eb7dd03e authored about 1 year ago by Josh Tynjala <[email protected]>
Revert "Force GL cacheAsBitmap for scale9 (until implemented in Context3DShape)"

This reverts commit 1d97e672fca1e17e4ad39119c532f84821cf862e.

It was causing issues for some SW...

b630fb80ae5e2ca7b2bba7f9ad6139cc82bf0264 authored about 1 year ago by Josh Tynjala <[email protected]>
tests: scrollH and scrollV minimum and maximum tests (references #2674)

6a4f3672b70d68b4012ffe9664363767a3a8a15e authored about 1 year ago by Josh Tynjala <[email protected]>
TextField: enforce scrollV minimum

2fac7d0326c36ee53e7efe88f8d5a3bae377288b authored about 1 year ago by Josh Tynjala <[email protected]>
fix scrollV

2f0886958557b9b76c81e1837acbf11361bef1c4 authored about 1 year ago by win11 <[email protected]>
Prepare for 9.3.2

fa58a56119415e180e5f9c5e3ab05bfc355d11d5 authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: minor refactor

86ee38f28387953feb6e8959dc49a2278b1801d2 authored about 1 year ago by Josh Tynjala <[email protected]>
SoundChannel: ensure that Event.SOUND_COMPLETE is dispatched if sampleData never returns any samplees

0f01c482aab040e30fcb0b21af79c81e2eebe0b0 authored about 1 year ago by Josh Tynjala <[email protected]>
SoundChannel: when sampleData listeners no longer populate samples, dispatch Event.SOUND_COMPLETE

It was previously stopping playback, but didn't dispatch the event yet

a7b51a90b0dbd020bc306effed2a1388fd5c05b5 authored about 1 year ago by Josh Tynjala <[email protected]>
SoundChannel: fix stop() for sampleData event

0bafacb27dd5d9e7bba87ad22e48b220d6df2d36 authored about 1 year ago by Josh Tynjala <[email protected]>
Refactor: Move sampleData event implementation from Sound to SoundChannel

This will allow a future commit to make stop() work

811227413969dd80c2c48f3994d2991e62a32c8c authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: refactor imports

a838795a7f2a595d19b8d5b9f4ca966332b63a5f authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: instead of checking if the sampleData event listener is removed, check if the length of the new data is greater than 0 before automatically stopping

Flash will automatically stop if a listener is still added, but provides data of length 0

85f579a499b3cd1dee52753a8530ae8279bb3ef5 authored about 1 year ago by Josh Tynjala <[email protected]>
Sound, SoundChannel: refactoring the names of internal variables and removing :privateAccess meta

eec48a6f15289fa1130356e743730a701c9b3e7f authored about 1 year ago by Josh Tynjala <[email protected]>
FileReferenceList: dispatch Event.CANCEL if files.length == 0 on html5 (closes #2672)

Same as FileReference. This catches a specific case where no files are selected, but it there ar...

08693a78f5c6b01650ff9fb11c0445f2537acc25 authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: if the initial result of the sampleData event is empty, don't ask for more data

Matches Flash's behavior

The SoundChannel should probably also dispatch soundComplete too, but ...

dfcb9b4152f6525e597987faa60ae9f82061652d authored about 1 year ago by Josh Tynjala <[email protected]>
SampleDataEvent: don't throw error if number of samples is 0 on native targets

This check already existed for html5, and it must have been overlooked for native

dc1692929031c35e991c46afa27c984e645d065a authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: fix no playback if play() is called after load() but before Event.COMPLETE

In Flash, you can call play() immediately after load, and it will play once it has enough data t...

73f3cc1e05d2ec1c8c1d08a8cdbfa69b69d16ab5 authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: if a URL is currently loading, don't try to generate sound with sampleData events if play() is called

Flash doesn't do that. Instead it starts playing after the sound is loaded. OpenFL will need to ...

5ae332c14006099b595ed56755490672c58e11aa authored about 1 year ago by Josh Tynjala <[email protected]>
Sound: throw error from Sound.fromFile() if AudioBuffer.fromFile() returns null

Otherwise, the sound will have a null buffer, which will make it think that it is meant to dispa...

b882e629a1f5569b6983b39da25e788f624394b0 authored about 1 year ago by Josh Tynjala <[email protected]>
BitmapData: in draw(), set __pixelRatio on OpenGLRenderer (closes #2671)

Ensures that it draws at the correct scale

5aa54827514dce80d93f532af7dc8a5ccf3e4b41 authored about 1 year ago by Josh Tynjala <[email protected]>
OpenGLRenderer: use __pixelRatio instead of __stage.window.scale (references #2671)

because __stage might be null

323939b5fd35fdb751998f7f98acf56614529d5f authored about 1 year ago by Josh Tynjala <[email protected]>
Avoid integer overflow when calculating sound length.

Multiplying `data.length * 8` produces a high number, which in the case of very long audio files...

7a2f32813722424409aa8324af1ef34711acaf93 authored about 1 year ago by player-03 <[email protected]>
FUNDING: add joshtynjala

9bb3fe4c2389a15a84807630840ed2b3f60f519b authored about 1 year ago by Josh Tynjala <[email protected]>
Assets: fix loadLibrary() (closes openfl/lime#1718)

Fixes [lime.utils.Assets] ERROR: <asset_type> asset "<library>:<asset_id>" exists, but only asyn...

09057af4a91c0a9e641f0750f99041392d594f8a authored about 1 year ago by Josh Tynjala <[email protected]>
CHANGELOG and haxelib.json

b93ed01c6efa927b4aecea3142de91fe469b52fa authored about 1 year ago by Josh Tynjala <[email protected]>
EventDispatcher: Haxe 4.0.x compat

This version of Haxe adds parentheses around js.Syntax.code() output, but 3.4.7 and newer 4.x ve...

47a7c8f11a68b223d4b6b5e9c0437117c5135546 authored about 1 year ago by Josh Tynjala <[email protected]>
EventDispatcher: Haxe 3 compat

9d2a16b66ea2ccfe5632a4361df031d1a732a8db authored about 1 year ago by Josh Tynjala <[email protected]>
DateTimeFormatter: Haxe 3 compat

c2dcd3ac8e2ef37a83bac51a6df62e68e0880108 authored about 1 year ago by Josh Tynjala <[email protected]>
FileReferenceList: Haxe 3 compat

4b98c46d6bff41e96f161e01c07ed4093376a0a3 authored about 1 year ago by Josh Tynjala <[email protected]>
SampleDataEvent: Haxe 3 compatibility

6033af07ed6cfa99de6759cc9d39099f26a4cf66 authored about 1 year ago by Josh Tynjala <[email protected]>
CHANGELOG and releasenote

4a4069c7366186039a5aeabd99bbe068befd563e authored about 1 year ago by Josh Tynjala <[email protected]>
SampleDataEvent: clone() should include data and position properties

71f94efb7b891883ea7645b5d114ceb854d90870 authored about 1 year ago by Josh Tynjala <[email protected]>
SampleDataEvent: needs :keep on public vars that are set in constructor

aacb50c2bb00c5155377502dea74e344a62627ef authored about 1 year ago by Josh Tynjala <[email protected]>
updated CHANGELOG

1392df3f2df02568dc8a9197a9ace8f8c2c23c6a authored about 1 year ago by Josh Tynjala <[email protected]>
Socket: restore use of SysSocket.select()

The Select error 22 issue seems to be related to unix ulimit and the workaround didn't actually ...

31dea89d21c1cd5b708f10ae4f92f9ab554a8900 authored about 1 year ago by Josh Tynjala <[email protected]>
DatagramSocketDataEvent, ServerSocketConnectEvent: needs alias for flash/air

872d33312ae632ec0bbe6253ccd26d38c9e05214 authored about 1 year ago by Josh Tynjala <[email protected]>
DatagramSocketEvent, ServerSocketConnectEvent: use EventType for event type constants

decf54f5224cded256b29d307cb4d50b20c3a009 authored about 1 year ago by Josh Tynjala <[email protected]>
TextEngine: skip_measurement_cache => openfl_disable_text_measurement_cache

Better match for naming convention of other defines.

Also, wrapped any usage of __shapeCache fo...

7ca94f6b48687cf9ecf7221e37eb7dfb4f599141 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: wrong env on windows again

1318b0c53e587e89f7540912b1bb7a070b2c278d authored about 1 year ago by Josh Tynjala <[email protected]>
actions: html5-samples on windows

5f3697245a296390ece4694a600f9744ef4a4d72 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: HashLink tests must run on macOS

AL init fails both both Windows and Ubuntu

e587595704bfaac729f093073f03f6c2b96475c0 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: try to run HashLink tests on ubuntu instead of windows

15c5545fdd49030ffeef270430f323b8d72dd8e3 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: fix another windows env issue

67c9ff248b5f718c698074829b99ed71b13ed1e2 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: fix windows compat and more non-mac jobs

b7747fd36743f41ea2f2f0780a1cc2a6952f7444 authored about 1 year ago by Josh Tynjala <[email protected]>
actions: switch some jobs away from macos to ubuntu or windows

f1c0f33992227949225930785f09c6c4b0e9d539 authored about 1 year ago by Josh Tynjala <[email protected]>
docs don't need cffi

0938f7a30da837528b0b94323098dac81f20aaf8 authored about 1 year ago by Josh Tynjala <[email protected]>
Revert "doc_gen fixes"

This reverts commit 9f07f5e23dd9435e0537ad2b1d23fad8675b29b0.

ee6fa5dbaba2f834fa0793a54f88dbab543c8936 authored about 1 year ago by Josh Tynjala <[email protected]>
doc_gen fixes

9f07f5e23dd9435e0537ad2b1d23fad8675b29b0 authored about 1 year ago by Josh Tynjala <[email protected]>
docs build no longer requires ImportAll

dc4dc986c13f35a8c7151664e924f1c2e4d9681b authored about 1 year ago by Josh Tynjala <[email protected]>
TextEngine: Remove extra return

Woops

bc334e20dc87def193fa52b22acca265d5e749b5 authored about 1 year ago by Chris Speciale <[email protected]>
Incl option to skip text cache

Since the measurement cache can be problematic in some use cases, I decided to include the `skip...

b81102f50b15ba3c2141b9500cd090abd1cad42d authored about 1 year ago by Chris Speciale <[email protected]>
Graphics: fix readGraphicsData() returning incorrect caps/joints in line style (closes #2659)

The null default values from the lineStyle() function signature were propagating and being conve...

78f660e13f7b900514a54552c1cd3556fe75f834 authored over 1 year ago by Josh Tynjala <[email protected]>
Run formatter

fac1ae775f830bd6ee67e6e0f390269ac0e3ff39 authored over 1 year ago by jgranick <[email protected]>
Flash Vector.ofArray type fix

b1f35b739d47f5865e6c30b6ecc62d1bfd951f34 authored over 1 year ago by jgranick <[email protected]>
Sound: check if AudioManager.context is null (references #2515)

Usually, this won't be the case, but some of our unit tests run with more limited Lime bootstrap...

72c3ac65942c74759615c8868e846e3664533862 authored over 1 year ago by Josh Tynjala <[email protected]>
Sound: workaround for __audioContext.resume() not being available before Haxe 4.2 (references #2515)

047575e88367ecf6c5649ca2dba2aee6e031a7c5 authored over 1 year ago by Josh Tynjala <[email protected]>
9.3.0 preliminary CHANGELOG

c20a25bc3c019ff259017b5d8e07efaea1a24e11 authored over 1 year ago by Josh Tynjala <[email protected]>
Merge branch 'develop' into 9.3.0-Dev

fc444fef4ba2f85ee0ab3d88f11ba61778a9eccb authored over 1 year ago by Josh Tynjala <[email protected]>
CHANGELOG: develop branch changes for next release

ee4b10d88044085b30a69462f9e706598334ea46 authored over 1 year ago by Josh Tynjala <[email protected]>
SampleDataEvent (closes #2515) (closes #1723)

Implemented using WebAudio API targeting HTML5 and OpenAL targeting native

Co-authored-by: scan...

e379366ed3cffd60f7890c67a08f7e5ceac54dd4 authored over 1 year ago by Josh Tynjala <[email protected]>
URLLoader: fix docs build

Followup to 01b39cb3b4f250aebd917f15f741d4badbee6a45

4148194caacc9b6690fa887f3b6b10289a3c8f96 authored over 1 year ago by Josh Tynjala <[email protected]>
URLLoader: fix getting responseData from HTTPRequest on some targets

Casting didn't always work with HTTPRequest<Dynamic> so checked for _HTTPRequest_Bytes and _HTTP...

01b39cb3b4f250aebd917f15f741d4badbee6a45 authored over 1 year ago by Josh Tynjala <[email protected]>
URLLoader: fix empty/incorrect data property on HTTPRequest error

Servers can still send data when the http status is an error. In Flash, the data property is pop...

87dacb3c028a079c3d4293aa7784678ec44aff84 authored over 1 year ago by Josh Tynjala <[email protected]>
openfl.Vector.ofArray() should use new VectorData<T> instead of new Vector<T>

Followup to commit ec2a78325749fb5e2beea344898e91b6f3d2eca6

Unit tests were failing on Haxe 4.0...

e8375bd7433f73ead6f49a1b11140e1411d737b4 authored over 1 year ago by Josh Tynjala <[email protected]>
Fix Flash Vector.ofArray

ec2a78325749fb5e2beea344898e91b6f3d2eca6 authored over 1 year ago by jgranick <[email protected]>
Add hack to resolve bug/regression in Chrome that garbles text randomly

37c7ed67937767c705a6f0359e78e90732d749e5 authored over 1 year ago by jgranick <[email protected]>
File/FileReference: size property should be Float instead of Int to match Flash and because Int doesn't allow files larger than 4GB on some platforms

This change may require users to add a Std.int() call for certain related operations that requir...

3561b91451810d488f9f29d03662e23139899b4e authored over 1 year ago by Josh Tynjala <[email protected]>
TextField: Use getBounds() to determine scroll threshold when updating ScrollH

This change corrects an erroneous threshold for scrolling text when scrollH is updated.

aa2e9beff496fbce2d4e0a31f8b3189bceac9016 authored over 1 year ago by Chris Speciale <[email protected]>
TextField: Use getBounds to determine scroll threshold for mouse dragging when scaled

This fixes an issue where the threshold for scrolling right or down would be erroneous when the ...

1c2b840b5127b10c27e5e62b9a16389ab56f2c35 authored over 1 year ago by Chris Speciale <[email protected]>
Merge branch 'develop' into 9.3.0-Dev

573391ff6054675579b0582e561a6f7cd9e35044 authored over 1 year ago by Josh Tynjala <[email protected]>
TextField: fixed cut and copy keyboard shortcuts when displayAsPassword is true

They should be ignored in this case

53c2d5d5243131dfa6c1325976fa7289ff359809 authored over 1 year ago by Josh Tynjala <[email protected]>
Include Moonshine IDE under Code Editors (#2650)

* Include Moonshine IDE under Code Editors

* Resolve conflicts

* Re-add Moonshine IDE link...

a396832bdba7c709cc79f494ef74850ac9ac32fa authored over 1 year ago by David Armstrong <[email protected]>
Update Code Editor links

Updated links to https.
Updated URLs where they'd changed.
Replaced stale haxedevelop.org with...

1b3c30cacd87677c5e0c972800991f61e76b2e0f authored over 1 year ago by David Armstrong <[email protected]>
TouchEvent: tweak docs because openfl_always_dispatch_mouse_events is not required, like it is for MouseEvent

5388c6337cae086860e208264bb77816d0651032 authored over 1 year ago by Josh Tynjala <[email protected]>
Merge branch 'develop' into 9.3.0-Dev

a985433e4948ad5975b59378892abc48f98b7ce0 authored over 1 year ago by Josh Tynjala <[email protected]>
File: fix issue where events from async actions were dispatched from the wrong thread

If listeners aren't called from the main thread, things that are not thread safe will break

ec633950121afdb22100773e61f0e3e905580d6d authored over 1 year ago by Josh Tynjala <[email protected]>
FileListEvent: use EventType for constants instead of String to allow listener type inference

54ee54c81a735896778d76a7412711462f1bb41e authored over 1 year ago by Josh Tynjala <[email protected]>