Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
7cad516
Improve Timers
NeeEoo Sep 6, 2024
3554bfe
Simplify timer logic.
player-03 Sep 6, 2024
190d1d3
Memory leak fix in curl bindings
trnzk Nov 2, 2024
434205e
Change spaces to tabs.
player-03 Nov 2, 2024
6552070
Fixed memory leak in flush functions.
trnzk Nov 15, 2024
39af23f
Update LICENSE.md
jgranick Jan 2, 2025
69086df
Update NOTICE.md
jgranick Jan 2, 2025
37e7580
Fix module paths for haxe 5
tobil4sk Dec 23, 2024
57cf88b
CommandLineTools: set macos define when using cpp target on macOS (cl…
joshtynjala Jan 6, 2025
44dd331
libjpeg: fix rendering on 32-bit platforms
joshtynjala Jan 7, 2025
951d551
GameActivity: check for VIBRATE permission on Android
joshtynjala Jan 7, 2025
6a5908b
Just fixing some typo
pozirk Jan 8, 2025
c2c9d0e
Setting ios.non-exempt-encryption to false by default.
pozirk Jan 8, 2025
f604ae3
tools: fix haxe 4 function syntax for haxe 3 backcompat
joshtynjala Jan 17, 2025
2d22455
HTML5Thread: Haxe 3 compatibility fixes
joshtynjala Jan 17, 2025
5ed71b1
actions: html5-samples job should have a Haxe version matrix
joshtynjala Jan 17, 2025
f08cebf
actions: bump haxe 4.3 references to haxe 4.3.6
joshtynjala Jan 17, 2025
2fdbcd1
actions: make html5-samples depend on package-haxelib because -eval f…
joshtynjala Jan 17, 2025
5472974
actions: skip html5-samples variables on Haxe 3
joshtynjala Jan 17, 2025
abb92a2
actions: does Haxe 4.3.3 work better on this job than 4.3.6?
joshtynjala Jan 17, 2025
e0c734d
Remove MAC_USE_CURRENT_SDK from lime setup
tobil4sk Jan 22, 2025
7255873
AudioManager: if alc.openDevice() returns null, don't call alc.create…
joshtynjala Jan 24, 2025
9bda9ec
Update cairo to 1.18.2
tobil4sk Jan 27, 2025
65e2c6b
Add missing files to freetype build
tobil4sk Jan 27, 2025
8af219f
Merge pull request #1899 from tobil4sk/fix/update-cairo
dimensionscape Jan 28, 2025
077ba7e
Update harfbuzz to 10.2.0
tobil4sk Jan 28, 2025
a9347de
Update hb-coretext to hb-coretext-shape
tobil4sk Jan 28, 2025
5fd2b56
Add missing harfbuzz hb-face-builder file
tobil4sk Jan 29, 2025
8031ed2
System: fix typo in openFile() docs
joshtynjala Jan 29, 2025
e56c7cd
docs: some missing classes in ImportAll
joshtynjala Jan 30, 2025
112f3f5
actions: missed hashlinkc-samples as a dependency of notify
joshtynjala Jan 31, 2025
dd9f9d4
Add -cli, -alias, and -noalias setup flags to help
tobil4sk Jan 22, 2025
69bbcae
Skip confirmation for alias with -alias/-cli flag
tobil4sk Jan 22, 2025
f5ccc3d
Add missing crypt32.lib for static windows build
tobil4sk Feb 10, 2025
d1db9e8
Fix static debug windows build
tobil4sk Feb 10, 2025
22fb016
Link against hxcpp's mbedtls in static builds
tobil4sk Jul 11, 2024
7df96b5
Support hxcpp older than 4.3.0 for mbedtls linking
tobil4sk Jul 12, 2024
c9ad850
Update curl submodule
tobil4sk Jul 12, 2024
d375d74
Make minor ios/tvos makefile adjustments
tobil4sk Jan 22, 2025
d87a849
Use generic make rule for ios/tvos build targets
tobil4sk Jan 22, 2025
3208c87
Use hxcpp -Ddestination flag to copy ios/tvos lib
tobil4sk Jan 22, 2025
1b5958f
Remove CPP_LIBPREFIX from ios/tvos template
tobil4sk Jan 23, 2025
6bfbe12
Link static hxcpp_mbedtls library for ios/tvos
tobil4sk Jan 22, 2025
00edf47
Add support for linking mbedtls on latest hxcpp
tobil4sk Jul 11, 2024
ade8ca7
Fix options path for BuildHxcppMbedtls.xml
tobil4sk Jan 22, 2025
99ca58d
Add workaround for hxcpp compiler cache bug
tobil4sk Jan 23, 2025
c975a31
README: community links
joshtynjala Feb 11, 2025
b8435aa
PlatformSetup: Further refine HL setup to explain how to remove a cus…
joshtynjala Feb 20, 2025
be46175
Fix typo on EFFECT_AUTOWAH
Raltyro Jul 21, 2024
ebab7dd
AL: keep old constant to avoid breaking user code
joshtynjala Feb 24, 2025
3aa32e2
Image: __fromBytes() null and length check to avoid EXC_BAD_ACCESS li…
joshtynjala Mar 3, 2025
504df5e
Add missing utf8 conversion for hb_buffer_add_utf8
tobil4sk Mar 10, 2025
0ca7c39
Fix length for hl_hb_buffer_add_utf8
tobil4sk Mar 10, 2025
4104e9f
Merge pull request #1916 from tobil4sk/fix/hb-add-utf8
dimensionscape Mar 10, 2025
99209da
IOSHelper: if `xcrun devicectl list devices` fails, try to fall back …
joshtynjala Mar 10, 2025
6f2f88c
IOSHelper: if no iOS device is connected, look for one that is availa…
joshtynjala Mar 10, 2025
70e55b1
Fix rebuild warning about unknown option on msvc
tobil4sk Mar 10, 2025
5488eee
IOSHelper: comment about how the Platform == 'iOS' filter used by xcr…
joshtynjala Mar 10, 2025
6283017
Fix GetGlyphIndices returning array of 0 on hl
tobil4sk Mar 11, 2025
f495b77
Remove old comment for hl GetGlyphIndices
tobil4sk Mar 11, 2025
23b90df
Fix loop in GetGlyphIndices with invalid input
tobil4sk Mar 11, 2025
63b9a88
Merge pull request #1921 from tobil4sk/fix/get_glyphs_infinite_loop
dimensionscape Mar 11, 2025
b709a5b
Fix old android ndk error not showing
tobil4sk Mar 14, 2025
20c9bec
Update Build.xml
dimensionscape Mar 14, 2025
52072d1
Apply -std=c++11 to openal-soft build on android
tobil4sk Mar 14, 2025
49a08c6
Merge pull request #1927 from tobil4sk/android-openal-c++11
dimensionscape Mar 14, 2025
6e86917
IOSHelper: use xcrun simctl boot deviceID to ensure that correct devi…
joshtynjala Mar 18, 2025
9d10e10
XCodeHelper: improve selection of default iPhone and iPad simulator
joshtynjala Mar 18, 2025
a9f72d6
XCodeHelper: if project.xml contains <config:ios device="ipad"/>, def…
joshtynjala Mar 18, 2025
12d3ee5
curl encoding support added
barisyild Jan 25, 2025
b10d845
Create MAINTAINERS.md
dimensionscape Apr 2, 2025
236e143
[fix] Extract values before locking to avoid deadlock with GC
dimensionscape Apr 10, 2025
aadf078
[ci] use the latest haxelib version
dimensionscape Apr 10, 2025
241edd9
efsw 1.4.1
joshtynjala Apr 14, 2025
97466c6
png 1.6.46
joshtynjala Apr 14, 2025
bc8f9df
zlib 1.2.13
joshtynjala Apr 14, 2025
09b6d15
FileDialog: uses SINGLE_THREADED ThreadPool on all Windows targets to…
joshtynjala May 5, 2025
c1f79fb
actions: use ubuntu-22.04 because GitHub removed ubuntu-20.04
joshtynjala May 5, 2025
95e6339
CommandLineTools: fix ability to specify <haxelib version/> in projec…
joshtynjala Jun 5, 2025
0f6f012
actions: add pip3 to python3 execs that need to be removed
joshtynjala Jun 9, 2025
4be7cc9
FileDialog: if the defaultPath passed to browse() is a directory, fix…
joshtynjala Jun 20, 2025
112664a
Fix deprecation warning.
player-03 Jul 13, 2025
3c86d2c
Simplify logic in `createCanvas()`.
player-03 Jul 14, 2025
b9fecd2
IOSHelper: more refinements to selecting a physical device for lime t…
joshtynjala Jul 23, 2025
1e47c4d
Fix tinyfiledialogs compatibility with zenity.
player-03 Jul 24, 2025
a999a7b
Assets: document getImage() result behavior
joshtynjala Aug 11, 2025
52ad5b1
Fix GetDirectory UTF16 encoding issue
tomcashman Feb 14, 2025
99e986c
Fix typos in mbedtls xml includes
tobil4sk Aug 15, 2025
cbcb5f0
Fix crash on null returns from sdl path functions
tobil4sk Aug 17, 2025
c81d70c
Fix NULL handling in `GetDirectory(DESKTOP)`
tobil4sk Aug 17, 2025
985e099
Fix unicode system path conversions on linux
tobil4sk Aug 16, 2025
d1369f1
Fix merge error from 985e0994d906e6cad669d1897be61069ff34364d
tobil4sk Aug 18, 2025
945a2ec
Perform null check for XMLHttpRequest.upload
rainyt Aug 14, 2025
2b1a627
Clarify versioning and branching guidelines
dimensionscape Aug 31, 2025
0b1ab0a
Update tinyfiledialogs to fix compatibility with zenity. (#1964)
player-03 Aug 31, 2025
2bdd41e
Memory leak fix in curl bindings (#1856)
player-03 Sep 1, 2025
06c4934
Fix old android ndk error not showing (#1926)
player-03 Sep 1, 2025
86283df
Simplify Timer.stop() (#1839)
player-03 Sep 1, 2025
afbac6d
some more API docs
joshtynjala Sep 12, 2025
05591eb
NativeCFFI: fix key_code_to_scan_code and key_code_from_scan_code
joshtynjala Sep 12, 2025
68107ee
IOSHelper: fix missing break from outer loop when device UUID is found
joshtynjala Sep 18, 2025
a877d3f
Merge remote-tracking branch 'upstream/develop' into merge-from-dev
AbnormalPoof Oct 1, 2025
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
886 changes: 886 additions & 0 deletions .github/workflows/main.yml

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,24 @@ You may consider creating a branch specific to the fix or improvement you wish t

It is our goal to help Lime evolve as a clean, easy-to-use (but powerful) layer for cross-platform development. Thanks for being a part of making this possible!

## Versioning and Branching Guidelines

We follow Semantic Versioning (semver): MAJOR.MINOR.PATCH.

### Patch Updates (x.x.x)

All bug fixes should be submitted to the current stable development branch (e.g., develop).

These changes are released as patch versions (e.g., 8.2.3 → 8.2.4).

### Minor Updates (x.x.0)

All new features (non-breaking) should be submitted to the next minor development branch, named x.x.x-dev.

For example, if the current version is 8.2.2, features targeting 8.3.0 should go into 8.3.0-dev.

### Major Updates (x.0.0)

Any breaking changes or major version updates must be submitted to the next major development branch, named x.0.0-dev.

For example, breaking changes intended for 9.0.0 go into 9.0.0-dev.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MIT License
===========

Copyright (c) 2013-2024 Joshua Granick and other Lime contributors
Copyright (c) 2013-2025 Joshua Granick and other Lime contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 27 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Maintainer Collaboration Guidelines

## Ownership Boundaries
Core ownership includes final authority on major project direction, branding, external representation (e.g., website, GitHub org settings), and financial decisions. Project leadership roles should support this structure, not compete with it.
Joshua Granick remains the primary owner of OpenFL and related projects under its umbrella, including all copyrights, branding, and rights to external representations.

## Commit Transparency
All commits — especially those involving the website or project structure — should be clearly described. Avoid vague or misleading commit messages.

## No Unilateral Decisions
Significant changes to the public-facing site, GitHub structure, or future policies (including donation links) must be discussed with the core team before being merged.
High contribution volume does not entitle anyone to override team consensus or operate outside the established process. We value impact, but we expect humility and collaboration in return.

## Respect Other Maintainers’ Work
Reverting, overwriting, or contradicting another maintainer’s contribution must go through discussion first — ideally via PR, not direct commit.

## Escalation Policy
If collaboration issues persist after a discussion, core owners may revoke elevated roles or privileges to protect the health of the project. This isn’t personal — it’s structural.

## Donations & Monetization
Any personal monetization links (Patreon, Ko-fi, etc.) require approval by the core **owners**. We want to keep funding equitable and transparent.

## Communication First
If you disagree with a decision or direction, bring it up in team chat or discussion threads — not by taking action in silence.

## We Are a Team
Leadership means contributing to both the codebase and the culture. If you’re not supporting both, you’re not fulfilling the role.
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Notices
=======

### Lime
Copyright (c) 2013-2024 Joshua Granick and other Lime contributors
Copyright (c) 2013-2025 Joshua Granick and other Lime contributors

This product bundles cairo 1.15.2, which is available under an
"MPL 1.1" license. For details, see [project/lib/cairo/](project/lib).
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,12 @@ Lime currently supports the following targets:
lime test hl

Desktop builds are currently designed to be built on the same host OS


Join the Community
==================

Have a question? Want a new place to hang out?

* [Forums](https://community.openfl.org/c/lime/19)
* [Discord](https://discordapp.com/invite/tDgq8EE)
3 changes: 3 additions & 0 deletions docs/ImportAll.hx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ import lime.net.HTTPRequest;
import lime.net.HTTPRequestHeader;
import lime.net.HTTPRequestMethod;
import lime.net.URIParser;
import lime.system.BackgroundWorker;
import lime.system.CFFI;
import lime.system.CFFIPointer;
import lime.system.Clipboard;
Expand All @@ -125,6 +126,7 @@ import lime.system.Sensor;
import lime.system.SensorType;
import lime.system.System;
import lime.system.ThreadPool;
import lime.system.WorkOutput;
import lime.text.harfbuzz.HB;
import lime.text.harfbuzz.HBBlob;
import lime.text.harfbuzz.HBBuffer;
Expand Down Expand Up @@ -169,6 +171,7 @@ import lime.ui.Window;
import lime.ui.WindowAttributes;
import lime.utils.ArrayBuffer;
import lime.utils.ArrayBufferView;
import lime.utils.AssetBundle;
import lime.utils.AssetCache;
import lime.utils.AssetLibrary;
import lime.utils.AssetManifest;
Expand Down
2 changes: 1 addition & 1 deletion project/Build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
<files id="native-toolkit-harfbuzz" if="LIME_HARFBUZZ" />
<files id="native-toolkit-jpeg" if="LIME_JPEG" />
<files id="native-toolkit-lzma" if="LIME_LZMA" />
<files id="native-toolkit-mbedtls" if="LIME_MBEDTLS" />
<files id="native-toolkit-mbedtls" if="LIME_MBEDTLS" unless="static_link" />
<files id="native-toolkit-mojoal" if="LIME_MOJOAL" />
<files id="native-toolkit-neko" if="LIME_NEKO" />
<files id="native-toolkit-ogg" if="LIME_OGG" />
Expand Down
2 changes: 1 addition & 1 deletion project/lib/cairo
Submodule cairo updated from b43e7c to 200441
2 changes: 1 addition & 1 deletion project/lib/curl
Submodule curl updated 2226 files
28 changes: 24 additions & 4 deletions project/lib/curl-files.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<xml>
<include name="${HXCPP}/project/thirdparty/mbedtls-files.xml" noerror="true" if="static_link" />
<set name="HAS_HXCPP_MBEDTLS_FLAGS" value="1" if="MBEDTLS_DIR" />
<include name="${HXCPP}/src/hx/libs/ssl/Build.xml" unless="MBEDTLS_DIR"/>

<files id="native-toolkit-curl-depends" >
<depend name="${NATIVE_TOOLKIT_PATH}/curl/include/curl/curl.h" />
Expand All @@ -23,7 +26,22 @@
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/zlib/" />

<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/axtls" if="NATIVE_TOOLKIT_HAVE_AXTLS" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/mbedtls/include" if="NATIVE_TOOLKIT_HAVE_MBEDTLS" />

<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/mbedtls/include" if="NATIVE_TOOLKIT_HAVE_MBEDTLS" unless="static_link"/>
<section if="static_link">

<include name="${HXCPP}/project/thirdparty/mbedtls-flags.xml" if="HAS_HXCPP_MBEDTLS_FLAGS" />

<section unless="HAS_HXCPP_MBEDTLS_FLAGS">

<compilerflag value="-I${MBEDTLS_DIR}/include" />
<compilerflag value="-I${HXCPP}/src/hx/libs/ssl" />
<compilerflag value="-I${this_dir}/custom/mbedtls_hxcpp" />
<compilerflag value="-DMBEDTLS_USER_CONFIG_FILE=&lt;mbedtls_config.h&gt;" />

</section>

</section>

<compilerflag value="-DBUILDING_LIBCURL" />
<compilerflag value="-DCURL_STATICLIB" />
Expand All @@ -41,7 +59,6 @@

<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/asyn-ares.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_multibyte.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/idn_win32.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/inet_ntop.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/inet_pton.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/krb5.c" />
Expand All @@ -58,12 +75,12 @@
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/asyn-thread.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/base64.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/bufref.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/cfilters.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/conncache.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/connect.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/content_encoding.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/cookie.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_addrinfo.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_ctype.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_des.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_endian.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_fnmatch.c" />
Expand All @@ -76,19 +93,20 @@
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/curl_threads.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/dict.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/doh.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/dotdot.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/dynbuf.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/easy.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/escape.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/file.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/fileinfo.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/fopen.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/formdata.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/ftp.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/ftplistparser.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/getenv.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/getinfo.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/gopher.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/hash.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/headers.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/hmac.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/hostasyn.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/hostip.c" />
Expand All @@ -103,6 +121,7 @@
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/http_proxy.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/http.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/if2ip.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/idn.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/imap.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/llist.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/md4.c" />
Expand All @@ -113,6 +132,7 @@
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/multi.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/netrc.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/nonblock.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/noproxy.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/parsedate.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/pingpong.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/lib/pop3.c" />
Expand Down
6 changes: 3 additions & 3 deletions project/lib/custom/jpeg/jconfigint.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#define VERSION "2.0.7"

/* The size of `size_t', as computed by sizeof. */
#if defined(RASPBERRYPI)
#define SIZEOF_SIZE_T 4
#else
#if (__WORDSIZE == 64) || defined(_WIN64)
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_SIZE_T 4
#endif

/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion project/lib/efsw
Submodule efsw updated 88 files
+18 −0 .clang-format
+238 −0 .ecode/project_build.json
+10 −12 .github/workflows/main.yml
+11 −0 .gitignore
+98 −61 CMakeLists.txt
+42 −33 README.md
+16 −0 compile_flags.txt
+3 −0 efswConfig.cmake.in
+33 −4 include/efsw/efsw.h
+170 −123 include/efsw/efsw.hpp
+2 −6 premake4.lua
+8 −6 premake5.lua
+1 −1 project/qtcreator-linux/efsw.cflags
+32 −104 project/qtcreator-linux/efsw.creator.user
+1 −1 project/qtcreator-linux/efsw.cxxflags
+69 −161 project/qtcreator-osx/efsw.creator.user
+1 −0 project/qtcreator-win/efsw.files
+18 −40 src/efsw/Atomic.hpp
+43 −47 src/efsw/Debug.cpp
+31 −19 src/efsw/Debug.hpp
+127 −190 src/efsw/DirWatcherGeneric.cpp
+30 −28 src/efsw/DirWatcherGeneric.hpp
+53 −104 src/efsw/DirectorySnapshot.cpp
+21 −22 src/efsw/DirectorySnapshot.hpp
+6 −13 src/efsw/DirectorySnapshotDiff.cpp
+22 −22 src/efsw/DirectorySnapshotDiff.hpp
+100 −139 src/efsw/FileInfo.cpp
+33 −35 src/efsw/FileInfo.hpp
+73 −46 src/efsw/FileSystem.cpp
+20 −19 src/efsw/FileSystem.hpp
+47 −72 src/efsw/FileWatcher.cpp
+66 −66 src/efsw/FileWatcherCWrapper.cpp
+116 −147 src/efsw/FileWatcherFSEvents.cpp
+62 −65 src/efsw/FileWatcherFSEvents.hpp
+48 −79 src/efsw/FileWatcherGeneric.cpp
+36 −34 src/efsw/FileWatcherGeneric.hpp
+19 −14 src/efsw/FileWatcherImpl.cpp
+41 −32 src/efsw/FileWatcherImpl.hpp
+220 −337 src/efsw/FileWatcherInotify.cpp
+49 −42 src/efsw/FileWatcherInotify.hpp
+74 −111 src/efsw/FileWatcherKqueue.cpp
+43 −40 src/efsw/FileWatcherKqueue.hpp
+128 −160 src/efsw/FileWatcherWin32.cpp
+39 −37 src/efsw/FileWatcherWin32.hpp
+7 −13 src/efsw/Lock.hpp
+35 −13 src/efsw/Log.cpp
+5 −11 src/efsw/Mutex.cpp
+14 −11 src/efsw/Mutex.hpp
+179 −323 src/efsw/String.cpp
+138 −137 src/efsw/String.hpp
+5 −9 src/efsw/System.cpp
+12 −13 src/efsw/System.hpp
+11 −21 src/efsw/Thread.cpp
+49 −60 src/efsw/Thread.hpp
+639 −666 src/efsw/Utf.hpp
+451 −546 src/efsw/Utf.inl
+4 −15 src/efsw/Watcher.cpp
+12 −13 src/efsw/Watcher.hpp
+100 −154 src/efsw/WatcherFSEvents.cpp
+31 −36 src/efsw/WatcherFSEvents.hpp
+11 −18 src/efsw/WatcherGeneric.cpp
+12 −13 src/efsw/WatcherGeneric.hpp
+7 −21 src/efsw/WatcherInotify.cpp
+10 −12 src/efsw/WatcherInotify.hpp
+181 −282 src/efsw/WatcherKqueue.cpp
+51 −48 src/efsw/WatcherKqueue.hpp
+211 −79 src/efsw/WatcherWin32.cpp
+45 −41 src/efsw/WatcherWin32.hpp
+105 −91 src/efsw/base.hpp
+9 −9 src/efsw/platform/platformimpl.hpp
+63 −80 src/efsw/platform/posix/FileSystemImpl.cpp
+10 −11 src/efsw/platform/posix/FileSystemImpl.hpp
+11 −15 src/efsw/platform/posix/MutexImpl.cpp
+10 −11 src/efsw/platform/posix/MutexImpl.hpp
+41 −53 src/efsw/platform/posix/SystemImpl.cpp
+7 −8 src/efsw/platform/posix/SystemImpl.hpp
+26 −32 src/efsw/platform/posix/ThreadImpl.cpp
+18 −14 src/efsw/platform/posix/ThreadImpl.hpp
+29 −43 src/efsw/platform/win/FileSystemImpl.cpp
+11 −12 src/efsw/platform/win/FileSystemImpl.hpp
+9 −13 src/efsw/platform/win/MutexImpl.cpp
+11 −12 src/efsw/platform/win/MutexImpl.hpp
+15 −19 src/efsw/platform/win/SystemImpl.cpp
+7 −8 src/efsw/platform/win/SystemImpl.hpp
+16 −24 src/efsw/platform/win/ThreadImpl.cpp
+19 −18 src/efsw/platform/win/ThreadImpl.hpp
+164 −0 src/test/efsw-test.c
+57 −69 src/test/efsw-test.cpp
2 changes: 2 additions & 0 deletions project/lib/freetype-files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/ftcache.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/ftchapters.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/ftcid.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/ftcolor.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/ftdriver.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/fterrdef.h" />
<depend name="${NATIVE_TOOLKIT_PATH}/freetype/include/freetype/fterrors.h" />
Expand Down Expand Up @@ -79,6 +80,7 @@
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftbitmap.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftcalc.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftcid.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftcolor.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftdbgmem.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftdebug.c" />
<file name="${NATIVE_TOOLKIT_PATH}/freetype/src/base/ftfntfmt.c" />
Expand Down
2 changes: 1 addition & 1 deletion project/lib/harfbuzz
Submodule harfbuzz updated 1839 files
8 changes: 7 additions & 1 deletion project/lib/harfbuzz-files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-buffer-verify.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-buffer.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-common.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-coretext.cc" if="mac || ios" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-coretext-shape.cc" if="mac || ios" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-directwrite.cc" if="windows HXCPP_M64" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-draw.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-face.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-face-builder.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-fallback-shape.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-font.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ft.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-number.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-cff1-table.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-cff2-table.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-color.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-face.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-font.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-layout.cc" />
Expand All @@ -64,6 +67,9 @@
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shape.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-tag.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-var.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-outline.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-paint.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-paint-extents.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-set.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-shape-plan.cc" />
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-shape.cc" />
Expand Down
2 changes: 1 addition & 1 deletion project/lib/mbedtls-files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<files id="native-toolkit-mbedtls">

<compilerflag value="-std=c11" />
<compilerflag value="-std=c11" unless="isMsvc" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/mbedtls/include/" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/zlib/" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/aes.c" />
Expand Down
7 changes: 6 additions & 1 deletion project/lib/openal-files.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<xml>

<section if="android LIME_OPENALSOFT">
<error value="NDK version 20 or higher is required." unless="NDKV20+" />
</section>

<files id="native-toolkit-openal">

<compilerflag value="-std=c++11" if="android" />

<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/openal/" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/custom/openal/alc/" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/openal/alc/" />
Expand Down Expand Up @@ -155,7 +161,6 @@

<section if="android">

<error value="NDK version 20 or higher is required." unless="NDKV20+" />
<compilerflag value="-fsigned-char" />

<file name="${NATIVE_TOOLKIT_PATH}/openal/alc/backends/opensl.cpp" />
Expand Down
2 changes: 1 addition & 1 deletion project/lib/png
Submodule png updated from a40189 to 0024ab
2 changes: 1 addition & 1 deletion project/lib/tinyfiledialogs
Submodule tinyfiledialogs updated 40 files
+4 −0 .gitattributes
+87 −34 README.txt
+7 −5 dll_cs_lua_R_fortran_pascal/LUA_plugin.tinyfiledialogs.cpp
+56 −0 dll_cs_lua_R_fortran_pascal/PascalABC/tinyfd.pas
+185 −0 dll_cs_lua_R_fortran_pascal/fortran/tinyfd_main.f90
+101 −0 dll_cs_lua_R_fortran_pascal/fortran/tinyfd_module.f90
+91 −0 dll_cs_lua_R_fortran_pascal/freepascal/hello.pas
+138 −0 dll_cs_lua_R_fortran_pascal/freepascal/tinyfd.pp
+157 −0 dll_cs_lua_R_fortran_pascal/tinyfiledialogs.r
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogs32.dll
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogs32.lib
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogs64.dll
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogs64.lib
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogsAppleSilicon.dylib
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogsIntel.dylib
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogsLinux64.so
+ dll_cs_lua_R_fortran_pascal/tinyfiledialogsLinux86.so
+23 −10 dll_cs_lua_R_fortran_pascal/tinyfiledialogsTest.cs
+1 −1 dll_cs_lua_R_fortran_pascal/tinyfiledialogs_dll_mingw-32.bat
+29 −0 dll_cs_lua_R_fortran_pascal/tinyfiledialogs_dll_mingw-w64.bat
+18 −0 dll_cs_lua_R_fortran_pascal/tinyfiledialogs_dylib.sh
+20 −0 dll_cs_lua_R_fortran_pascal/tinyfiledialogs_so.sh
+0 −33 extras_dll_cs_lua_fortran/fortran/compile_and_link.txt
+0 −77 extras_dll_cs_lua_fortran/fortran/ftinyopen.F90
+0 −49 extras_dll_cs_lua_fortran/fortran/main2.F90
+0 −129 extras_dll_cs_lua_fortran/fortran/tinyopen.c
+0 −32 extras_dll_cs_lua_fortran/tinyfd.cbp
+ extras_dll_cs_lua_fortran/tinyfiledialogs.dylib
+ extras_dll_cs_lua_fortran/tinyfiledialogs32.dll
+ extras_dll_cs_lua_fortran/tinyfiledialogs64.dll
+0 −29 extras_dll_cs_lua_fortran/tinyfiledialogs_dll_mingw-w64-720.bat
+0 −29 extras_dll_cs_lua_fortran/tinyfiledialogs_dll_mingw-w64-810.bat
+0 −4 extras_dll_cs_lua_fortran/tinyfiledialogs_dylib.txt
+0 −5 extras_dll_cs_lua_fortran/tinyfiledialogs_so.txt
+307 −287 hello.c
+241 −224 hello_wchar_t.c
+7 −5 more_dialogs/tinyfd_moredialogs.c
+6 −4 more_dialogs/tinyfd_moredialogs.h
+8,198 −7,737 tinyfiledialogs.c
+314 −303 tinyfiledialogs.h
2 changes: 1 addition & 1 deletion project/lib/zlib
Submodule zlib updated 146 files
12 changes: 6 additions & 6 deletions project/src/ExternalInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2426,28 +2426,28 @@ namespace lime {
}


float lime_key_code_from_scan_code (float scanCode) {
int lime_key_code_from_scan_code (int scanCode) {

return KeyCode::FromScanCode (scanCode);

}


HL_PRIM float HL_NAME(hl_key_code_from_scan_code) (float scanCode) {
HL_PRIM int HL_NAME(hl_key_code_from_scan_code) (int scanCode) {

return KeyCode::FromScanCode (scanCode);

}


float lime_key_code_to_scan_code (float keyCode) {
int lime_key_code_to_scan_code (int keyCode) {

return KeyCode::ToScanCode (keyCode);

}


HL_PRIM float HL_NAME(hl_key_code_to_scan_code) (float keyCode) {
HL_PRIM int HL_NAME(hl_key_code_to_scan_code) (int keyCode) {

return KeyCode::ToScanCode (keyCode);

Expand Down Expand Up @@ -4276,8 +4276,8 @@ namespace lime {
DEFINE_HL_PRIM (_I32, hl_joystick_get_num_hats, _I32);
DEFINE_HL_PRIM (_TIMAGEBUFFER, hl_jpeg_decode_bytes, _TBYTES _BOOL _TIMAGEBUFFER);
DEFINE_HL_PRIM (_TIMAGEBUFFER, hl_jpeg_decode_file, _STRING _BOOL _TIMAGEBUFFER);
DEFINE_HL_PRIM (_F32, hl_key_code_from_scan_code, _F32);
DEFINE_HL_PRIM (_F32, hl_key_code_to_scan_code, _F32);
DEFINE_HL_PRIM (_I32, hl_key_code_from_scan_code, _I32);
DEFINE_HL_PRIM (_I32, hl_key_code_to_scan_code, _I32);
DEFINE_HL_PRIM (_VOID, hl_key_event_manager_register, _FUN (_VOID, _NO_ARG) _TKEY_EVENT);
DEFINE_HL_PRIM (_BYTES, hl_locale_get_system_locale, _NO_ARG);
DEFINE_HL_PRIM (_TBYTES, hl_lzma_compress, _TBYTES _TBYTES);
Expand Down
Loading
Loading