Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge develop into feature branch #1842

Merged
merged 62 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
17edd04
[HXCPP][HL] UNICODE fixes (clipboard, window title, file dialogs, pat…
nixbody Jun 9, 2022
981d02e
Custom wstring to UTF-8 string conversion function (codecvt may not b…
nixbody Jun 11, 2022
97481ee
Merge branch 'develop' into cffi-unicode-fixes
player-03 Jan 24, 2023
79c4b05
Merge branch 'develop' into cffi-unicode-fixes
player-03 Jan 5, 2024
1517bb3
Clean up
tobil4sk Jan 5, 2024
bed2f7c
Merge branch 'develop' into cffi-unicode-fixes
player-03 Jan 28, 2024
590be2b
Remove unnecessary string copy.
player-03 Jan 31, 2024
7c50f6e
Remove another unnecessary buffer copy.
player-03 Jan 31, 2024
7a25f65
Ignore system environment variables with the same name as common targ…
player-03 Jun 5, 2024
3f5d797
Update GameActivity.java
MAJigsaw77 Jun 16, 2024
bd3bbc5
Maintain style
MAJigsaw77 Jun 16, 2024
3d8ad8a
Cancel the vibration when the app pauses or when is being destroyed.
MAJigsaw77 Jun 17, 2024
165d478
Oops
MAJigsaw77 Jun 17, 2024
b7d4434
Oops
MAJigsaw77 Jun 17, 2024
b99eff8
Merge pull request #1794 from player-03/environment-variable-conflicts
player-03 Jul 2, 2024
5eafeb0
[tools] Support cross compiling arm64 ndll on mac
tobil4sk Jul 6, 2024
da9be4a
[ci] Build and include arm64 mac ndll
tobil4sk Jul 6, 2024
d5b3294
[ci] Use updated hxcpp to build mac arm64 ndll
tobil4sk Jul 6, 2024
3a61390
Merge pull request #1811 from tobil4sk/ci-mac-arm64-ndll
player-03 Jul 7, 2024
24ac93a
Alright
MAJigsaw77 Jul 7, 2024
99ff0af
Reduce duplicate logic.
player-03 Jul 7, 2024
1e6fdee
Simplify and document vibration pattern logic.
player-03 Jul 7, 2024
f0ae60d
Remove log message.
player-03 Jul 7, 2024
c85c50c
Remove delay before vibration begins.
player-03 Jul 7, 2024
e295c8e
Merge pull request #1804 from MAJigsaw77/vibration-deprecation-fix
player-03 Jul 7, 2024
0ef949f
Merge pull request #1472 from nixbody/cffi-unicode-fixes
tobil4sk Jul 7, 2024
84d7f39
Revert "MacPlatform: use install_name_tool to add /usr/local/lib and …
joshtynjala Jul 8, 2024
8f3ea8d
Merge branch 'develop' into 8.2.0-Dev
joshtynjala Jul 8, 2024
88e21e6
Fix JS, minor improvements to readability after generate
jgranick Jul 9, 2024
656c761
Fix broken JPEG decoding (tested on Windows)
jgranick Jul 9, 2024
a5844a4
Fix curl static linking on mac
tobil4sk Jul 12, 2024
ca52db8
Merge pull request #1817 from tobil4sk/fix/mac-curl-static-link
dimensionscape Jul 12, 2024
4fa31a0
[tools] Cross compile to x86 from arm64 on mac (#1813)
tobil4sk Jul 14, 2024
b95dac4
MacPlatform: always build HashLink for Intel on macOS for now
joshtynjala Jul 18, 2024
745c178
MacPlatform: find lime.hdll in Mac64 on ARM64 Mac because HashLink do…
joshtynjala Jul 18, 2024
f4ce198
prepare for Lime 8.1.3
joshtynjala Jul 19, 2024
b866632
tools: allow -x86_64 and -x86_32 as command line flags to select thos…
joshtynjala Jul 19, 2024
9f369b7
release date
joshtynjala Jul 22, 2024
95baa58
Merge branch 'develop' into 8.2.0-Dev
joshtynjala Jul 22, 2024
dae33c0
Bug fix: new job could be ignored if it arrived with precise timing.
player-03 Aug 9, 2024
bf4711a
Avoid sending `JobData` back to the main thread.
player-03 Aug 9, 2024
0b83b7d
Fix typo.
player-03 Aug 11, 2024
8f631fe
Optimize `ThreadPool` slightly.
player-03 Aug 12, 2024
d0cef42
Revert `BackgroundWorker` to its 8.1.3 version.
player-03 Aug 15, 2024
52931a8
Revert to `Future`'s behavior from 8.1.3.
player-03 Aug 15, 2024
2866d09
Remove external link.
player-03 Aug 15, 2024
6873ae1
`Future.ready()` only works when threads are available.
player-03 Aug 15, 2024
31700a0
Merge pull request #1830 from player-03/old_thread_classes
player-03 Aug 16, 2024
ed05aa2
Fix getContextsDevice on Hashlink
ACrazyTown Aug 16, 2024
9b7c791
Update `ThreadPool` documentation.
player-03 Aug 18, 2024
b3e44ba
Run formatter.
player-03 Aug 18, 2024
b7dd455
Haxe expects documentation above metadata.
player-03 Aug 19, 2024
a774bac
Remove `canceled` and `completed` from `ThreadPool`.
player-03 Aug 19, 2024
d3a39b5
One more documentation pass.
player-03 Aug 22, 2024
2907e42
BackgroundWorker:Docs
dimensionscape Aug 22, 2024
5c8538e
BackgroundWorker: More docs
dimensionscape Aug 22, 2024
4f4f5df
AudioSource: Docs
dimensionscape Aug 22, 2024
0b93684
AudioBuffer: docs
dimensionscape Aug 22, 2024
96c5c1c
Simplify `ThreadPool.cancelJob()`.
player-03 Aug 24, 2024
6ab5246
actions: update dependencies
joshtynjala Sep 3, 2024
c4a9bb8
Socket: flash extern used wrong type for objectEncoding property
joshtynjala Sep 4, 2024
dd79e58
LZMA: fix is check missing parentheses
joshtynjala Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 54 additions & 39 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -49,23 +49,23 @@ jobs:
lime rebuild linux -64 -release -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Linux-NDLL
path: |
ndll/Linux/
!**/.gitignore
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Linux64-NDLL
path: |
ndll/Linux64/
!**/.gitignore
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Linux64-Hashlink
path: |
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
runs-on: macos-12
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -120,7 +120,8 @@ jobs:

- name: Install Haxe dependencies
run: |
haxelib install hxcpp 4.2.1 --quiet
curl -LO https://github.com/HaxeFoundation/hxcpp/releases/download/v4.3.45/hxcpp-4.3.45.zip
haxelib install ./hxcpp-4.3.45.zip --quiet
haxelib install format --quiet
haxelib install hxp --quiet

Expand All @@ -137,17 +138,26 @@ jobs:
- name: Rebuild Lime (macOS)
run: |
lime rebuild macos -clean -release -64 -nocolor -verbose -nocffi
lime rebuild macos -clean -release -arm64 -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Mac64-NDLL
path: |
ndll/Mac64/
!**/.gitignore
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: MacArm64-NDLL
path: |
ndll/MacArm64/
!**/.gitignore
if-no-files-found: error

- uses: actions/upload-artifact@v4
with:
name: Mac64-Hashlink
path: |
Expand Down Expand Up @@ -177,7 +187,7 @@ jobs:
runs-on: windows-latest
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -211,29 +221,29 @@ jobs:
lime rebuild windows -64 -release -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Windows-NDLL
path: |
ndll/Windows/
!**/.gitignore
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Windows64-NDLL
path: |
ndll/Windows64/
!**/.gitignore
if-no-files-found: error

# - uses: actions/upload-artifact@v3
# - uses: actions/upload-artifact@v4
# with:
# name: Windows-Hashlink
# path: |
# templates/bin/hl/Windows
# if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Windows64-Hashlink
path: |
Expand Down Expand Up @@ -263,7 +273,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -273,7 +283,7 @@ jobs:
with:
ndk-version: r21e

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 11
Expand Down Expand Up @@ -313,7 +323,7 @@ jobs:
run: |
lime rebuild android -release -nocolor -verbose -nocffi -eval

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Android-NDLL
path: |
Expand Down Expand Up @@ -343,7 +353,7 @@ jobs:
runs-on: macos-12
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -374,7 +384,7 @@ jobs:
run: |
lime rebuild ios -clean -release -verbose -nocolor -eval

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: iPhone-NDLL
path: |
Expand Down Expand Up @@ -406,7 +416,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -441,57 +451,62 @@ jobs:
cp project/lib/hashlink/src/hl.h templates/bin/hl/include/hl.h
cp project/lib/hashlink/src/hlc_main.c templates/bin/hl/include/hlc_main.c

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Android-NDLL
path: ndll/Android/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: iPhone-NDLL
path: ndll/iPhone/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Linux-NDLL
path: ndll/Linux/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Linux64-NDLL
path: ndll/Linux64/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Mac64-NDLL
path: ndll/Mac64/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: MacArm64-NDLL
path: ndll/MacArm64/

- uses: actions/download-artifact@v4
with:
name: Windows-NDLL
path: ndll/Windows/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Windows64-NDLL
path: ndll/Windows64/

# - uses: actions/download-artifact@v3
# - uses: actions/download-artifact@v4
# with:
# name: Windows-Hashlink
# path: templates/bin/hl/Windows

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Windows64-Hashlink
path: templates/bin/hl/Windows64

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Mac64-Hashlink
path: templates/bin/hl/Mac64

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64
Expand All @@ -501,7 +516,7 @@ jobs:
run: |
haxe svg.hxml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: lime-haxelib
path: |
Expand All @@ -516,7 +531,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: krdlab/setup-haxe@v1
with:
Expand All @@ -536,7 +551,7 @@ jobs:
run: |
haxe build.hxml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: lime-docs
path: docs/pages
Expand All @@ -546,7 +561,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: krdlab/setup-haxe@v1
with:
Expand Down Expand Up @@ -589,7 +604,7 @@ jobs:
haxe-version: [4.0.5, 4.1.5, 4.2.5, 4.3.1]
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -659,7 +674,7 @@ jobs:
run: |
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: lime-haxelib
path: lime-haxelib
Expand Down Expand Up @@ -709,7 +724,7 @@ jobs:
run: |
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: lime-haxelib
path: lime-haxelib
Expand Down Expand Up @@ -738,7 +753,7 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: krdlab/setup-haxe@v1
with:
Expand Down Expand Up @@ -816,7 +831,7 @@ jobs:
run: |
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: lime-haxelib
path: lime-haxelib
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
Changelog
=========

8.1.3 (07/22/2024)
------------------

* Fixed Unicode conversion issues with various APIs, including as clipboard, window text, file dialogs, and fonts.
* Fixed Android builds with the `-emulator` flag that broke when using newer Android SDKs.
* Fixed "Could not link to neko" error message on macOS when lime.ndll is built with Xcode 15.
* Fixed system environment variables with the same name as common targets conflicting with other targets.
* Fixed `<echo/>` and `<log/>` output confusing Haxe's completion server. Now skipped when `display` is defined.
* Fixed `Clipboard.text` incorrectly getting cleared to null when targeting HTML5.
* Fixed integer value parsing in _project.xml_, including immediately reporting errors for invalid values.
* Fixed incorrect path discovery for NDLL files that found source directory instead.
* Fixed missing error message if HXP project class name does not match file name.
* Fixed unspecified behavior from `null` keys in `ObjectPool`.
* Fixed some issues when running Haxe built natively for Apple Silicon.
* Fixed missing cancellation of vibration on Android when app is paused or destroyed.
* Fixed static linking of native curl library on macOS.
* Fixed deprecation warnings in Android Gradle builds.

8.1.2 (03/13/2024)
------------------

Expand Down
8 changes: 4 additions & 4 deletions externs/air/flash/net/Socket.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extern class Socket extends flash.events.EventDispatcher implements flash.utils.
@:require(flash11) var bytesPending(default, never):UInt;
var connected(default, never):Bool;
var endian:flash.utils.Endian;
var objectEncoding:UInt;
var objectEncoding:#if openfl openfl.net.ObjectEncoding #else UInt #end;
@:require(flash10) var timeout:UInt;
#if air
var localAddress(default, never):String;
Expand All @@ -20,7 +20,7 @@ extern class Socket extends flash.events.EventDispatcher implements flash.utils.
@:flash.property @:require(flash11) var bytesPending(get, never):UInt;
@:flash.property var connected(get, never):Bool;
@:flash.property var endian(get, set):flash.utils.Endian;
@:flash.property var objectEncoding(get, set):UInt;
@:flash.property var objectEncoding(get, set):#if openfl openfl.net.ObjectEncoding #else UInt #end;
@:flash.property @:require(flash10) var timeout(get, set):UInt;
#if air
@:flash.property var localAddress(get, never):String;
Expand Down Expand Up @@ -65,7 +65,7 @@ extern class Socket extends flash.events.EventDispatcher implements flash.utils.
private function get_bytesPending():UInt;
private function get_connected():Bool;
private function get_endian():flash.utils.Endian;
private function get_objectEncoding():UInt;
private function get_objectEncoding():#if openfl openfl.net.ObjectEncoding #else UInt #end;
private function get_timeout():UInt;
#if air
private function get_localAddress():String;
Expand All @@ -74,7 +74,7 @@ extern class Socket extends flash.events.EventDispatcher implements flash.utils.
private function get_remotePort():Int;
#end
private function set_endian(value:flash.utils.Endian):flash.utils.Endian;
private function set_objectEncoding(value:UInt):UInt;
private function set_objectEncoding(value:#if openfl openfl.net.ObjectEncoding #else UInt #end):#if openfl openfl.net.ObjectEncoding #else UInt #end;
private function set_timeout(value:UInt):UInt;
#end
}
Loading
Loading