From 8d81a0fc8ed3a9f558a44507960b2992816475cc Mon Sep 17 00:00:00 2001 From: Apprentice-Alchemist <53486764+Apprentice-Alchemist@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:06:05 +0200 Subject: [PATCH] HashLink 1.14 (closes #1827) (closes #1801) (closes #1967) Co-Authored-By: Josh Tynjala --- project/Build.xml | 2 + project/BuildHashlink.xml | 139 +++++++--------------- project/lib/custom/hl-ssl/threading_alt.h | 6 + project/lib/hashlink | 2 +- project/lib/mbedtls-files.xml | 8 +- src/lime/tools/HashlinkHelper.hx | 2 +- 6 files changed, 58 insertions(+), 101 deletions(-) create mode 100644 project/lib/custom/hl-ssl/threading_alt.h diff --git a/project/Build.xml b/project/Build.xml index 21d590328..6fdad5e64 100755 --- a/project/Build.xml +++ b/project/Build.xml @@ -55,6 +55,8 @@ + + diff --git a/project/BuildHashlink.xml b/project/BuildHashlink.xml index c9e83b019..0ebcaec92 100644 --- a/project/BuildHashlink.xml +++ b/project/BuildHashlink.xml @@ -7,8 +7,11 @@ + + + @@ -24,6 +27,8 @@ + + @@ -56,19 +61,34 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -78,84 +98,15 @@ - - + + + + + + + + - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -371,6 +322,7 @@ + @@ -383,13 +335,6 @@ - - - - - - - diff --git a/project/lib/custom/hl-ssl/threading_alt.h b/project/lib/custom/hl-ssl/threading_alt.h new file mode 100644 index 000000000..8a9f80db0 --- /dev/null +++ b/project/lib/custom/hl-ssl/threading_alt.h @@ -0,0 +1,6 @@ +#include + +typedef struct { + CRITICAL_SECTION cs; + char is_valid; +} mbedtls_threading_mutex_t; diff --git a/project/lib/hashlink b/project/lib/hashlink index 2be3f7a9e..03110f7e1 160000 --- a/project/lib/hashlink +++ b/project/lib/hashlink @@ -1 +1 @@ -Subproject commit 2be3f7a9e633cd8f820a632c8517f72ec6db75e0 +Subproject commit 03110f7e11fb76acf13312864b1d0bb700a6eda4 diff --git a/project/lib/mbedtls-files.xml b/project/lib/mbedtls-files.xml index 3b5c90dcc..72151ad32 100644 --- a/project/lib/mbedtls-files.xml +++ b/project/lib/mbedtls-files.xml @@ -2,9 +2,13 @@ - + + + + + @@ -44,7 +48,7 @@ - + diff --git a/src/lime/tools/HashlinkHelper.hx b/src/lime/tools/HashlinkHelper.hx index ab6a6e94d..759f47149 100644 --- a/src/lime/tools/HashlinkHelper.hx +++ b/src/lime/tools/HashlinkHelper.hx @@ -11,7 +11,7 @@ import hxp.System; class HashlinkHelper { - public static inline var BUNDLED_HL_VER = "1.13.0"; + public static inline var BUNDLED_HL_VER = "1.14.0"; public static function copyHashlink(project:HXProject, targetDirectory:String, applicationDirectory:String, executablePath:String, ?is64 = true) {