Skip to content

Commit c3ed9f7

Browse files
authored
Merge branch 'openfl:develop' into cool
2 parents 63a6d9c + 9f2f518 commit c3ed9f7

File tree

3 files changed

+63
-7
lines changed

3 files changed

+63
-7
lines changed

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,55 @@
11
Changelog
22
=========
33

4+
8.2.3 (10/01/2025)
5+
------------------
6+
7+
* Fixed JPEG rendering on 32-bit platforms.
8+
* Fixed application hang in `FileDialog` on Windows by forcing `SINGLE_THREADED` flag.
9+
* Fixed iOS device installation on versions older than iOS 16.
10+
* Fixed how iOS 16 and newer devices are selected for testing to support more available devices.
11+
* Fixed ability to specify the version of a Haxelib when using a local _.haxelib_ repository.
12+
* Fixed exception when initializing vibration on Android and permission was disabled.
13+
* Fixed parent directory incorrectly opened in `FileDialog` if the default path is a directory.
14+
* Fixed Unicode system path conversions on Linux.
15+
* Fixed `password`, `alias`, and `aliasPassword` being assigned incorrectly in Lime tools.
16+
* Fixed crash in `AudioManager` when `alc.openDevice()` returns `null`.
17+
* Fixed references to certain types for stricter rules in Haxe 5.
18+
* Fixed `FFECT_AUTOWAH` typo by adding correct `EFFECT_AUTOWAH` value.
19+
* Fixed exception in `HTML5HTTPRequest` in some environments when `request.upload` is `null`.
20+
* Fixed `EXC_BAD_ACCESS` when decoding PNGs and the bytes are `null` or length is `0`.
21+
* Fixed iOS app sometimes running in iPhone simulator when `<config:ios device="ipad"/>` is specified.
22+
* Fixed iOS app sometimes not starting in simulator by recognizing more valid simulator IDs.
23+
* Fixed incorrect request for confirmation when `-alias` or `-cli` flags are specified.
24+
* Fixed conversions between key codes and scan codes in both directions.
25+
* Fixed memory leak in cURL bindings from header values not getting freed.
26+
* Added `CURLOPT_ACCEPT_ENCODING` option for native HTTP requests.
27+
* Fixed missing macos define when using cpp target on macOS.
28+
* Fixed compatibility with Haxe 3 in `HTML5Thread` and Lime tools.
29+
* Fixed failed static build linking on Windows caused by missing _.lib_ file.
30+
* Fixed failed static builds caused by conflicts between hxcpp's and Lime's mbedtls versions.
31+
* Fixed missing UTF-8 conversion in `hb_buffer_add_utf8`.
32+
* Fixed `Font.getGlyphs()` returning an array of zeroes on HashLink.
33+
* Fixed `Font.getGlyphs()` getting stuck in an infinite loop on encountering an invalid character.
34+
* Fixed `System.getDirectory()` UTF-16 encoding.
35+
* Fixed error not getting displayed when NDK 20 or newer is required for Android.
36+
* Fixed OpenAL Soft build on Android by adding `-std=c++11` option.
37+
* Fixed deprecation warning on Android caused by using deprecated no-arg constructor in `android.os.Handler`.
38+
* Fixed unnecessary `untyped __js__` in `ImageCanvasUtil` because externs are now available.
39+
* Fixed crashes when SDL functions return `NULL` on some targets.
40+
* Fixed `Timer.stop()` performing redundant iterations.
41+
* Added `-cli`, `-alias`, and `-noalias` flags to usage instructions.
42+
* Added instructions to use `lime config remove HL_PATH` to clear a custom HashLink version.
43+
* Changed `non-exempt-encryption` default for iOS from `true` to `false`.
44+
* Removed usage of legacy `MAC_USE_CURRENT_SDK` define in Lime tools when targeting macOS.
45+
* Updated Cairo submodule to version 1.18.2 from a snapshot release.
46+
* Updated HarfBuzz submodule to version 10.2.0.
47+
* Updated cURL submodule to version 7.87.0.
48+
* Updated zlib submodule to version 1.2.13.
49+
* Updated png submodule to version 1.6.46.
50+
* Updated efsw submodule to version 1.4.1.
51+
* Updated tinyfiledialogs submodule to version 3.19.1 and fix compatibility with zenity.
52+
453
8.2.2 (12/19/2024)
554
------------------
655

src/lime/tools/IOSHelper.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,10 @@ class IOSHelper
420420
break;
421421
}
422422
}
423+
if (deviceUUID != null && deviceUUID.length > 0)
424+
{
425+
break;
426+
}
423427
}
424428

425429
if (deviceUUID == null || deviceUUID.length == 0) {

tools/platforms/AndroidPlatform.hx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ class AndroidPlatform extends PlatformTarget
162162
for (architecture in architectures)
163163
{
164164
var minSDKVer = project.config.getInt("android.minimum-sdk-version", 21);
165-
var haxeParams = [hxml, "-D", "android", "-D", 'PLATFORM_NUMBER=$minSDKVer'];
166-
var cppParams = ["-Dandroid", '-DPLATFORM_NUMBER=$minSDKVer'];
165+
//PLATFORM define needed for older ndk and gcc toolchain
166+
var haxeParams = [hxml, "-D", "android", "-D", 'PLATFORM_NUMBER=$minSDKVer', "-D", 'PLATFORM=$minSDKVer'];
167+
var cppParams = ["-Dandroid", '-DPLATFORM_NUMBER=$minSDKVer', '-DPLATFORM=$minSDKVer'];
167168
var path = sourceSet + "/jniLibs/armeabi";
168169
var suffix = ".so";
169170

@@ -374,13 +375,15 @@ class AndroidPlatform extends PlatformTarget
374375

375376
var commands = [];
376377
var minSDKVer = 21;
377-
var platformDefine = '-DPLATFORM_NUMBER=$minSDKVer';
378+
var platformNumberDefine = '-DPLATFORM_NUMBER=$minSDKVer';
379+
// Required for older ndk and gcc toolchain
380+
var platformDefine = '-DPLATFORM=$minSDKVer';
378381

379382
if (armv5) commands.push(["-Dandroid", platformDefine]);
380-
if (armv7) commands.push(["-Dandroid", "-DHXCPP_ARMV7", platformDefine]);
381-
if (arm64) commands.push(["-Dandroid", "-DHXCPP_ARM64", platformDefine]);
382-
if (x86) commands.push(["-Dandroid", "-DHXCPP_X86", platformDefine]);
383-
if (x64) commands.push(["-Dandroid", "-DHXCPP_X86_64", platformDefine]);
383+
if (armv7) commands.push(["-Dandroid", "-DHXCPP_ARMV7", platformDefine, platformNumberDefine]);
384+
if (arm64) commands.push(["-Dandroid", "-DHXCPP_ARM64", platformDefine, platformNumberDefine]);
385+
if (x86) commands.push(["-Dandroid", "-DHXCPP_X86", platformDefine, platformNumberDefine]);
386+
if (x64) commands.push(["-Dandroid", "-DHXCPP_X86_64", platformDefine, platformNumberDefine]);
384387

385388
CPPHelper.rebuild(project, commands);
386389
}

0 commit comments

Comments
 (0)