Merge branch 'develop' into 8.1.0-Dev

This commit is contained in:
Josh Tynjala
2023-02-22 08:52:43 -08:00
14 changed files with 144 additions and 232 deletions

View File

@@ -4,13 +4,13 @@ on: [push, pull_request]
jobs:
linux-ndll:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.5]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -49,7 +49,7 @@ jobs:
lime rebuild linux -64 -release -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ matrix.haxe-version == '4.2.5' }} # upload for only one version of Haxe
with:
name: Linux-NDLL
@@ -58,7 +58,7 @@ jobs:
!**/.gitignore
if-no-files-found: error
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ matrix.haxe-version == '4.2.5' }} # upload for only one version of Haxe
with:
name: Linux64-NDLL
@@ -67,7 +67,7 @@ jobs:
!**/.gitignore
if-no-files-found: error
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ matrix.haxe-version == '4.2.5' }} # upload for only one version of Haxe
with:
name: Linux64-Hashlink
@@ -76,10 +76,10 @@ jobs:
if-no-files-found: error
macos-ndll:
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -95,6 +95,10 @@ jobs:
run: |
pushd project/lib/hashlink
brew update
rm /usr/local/bin/2to3*
rm /usr/local/bin/idle3*
rm /usr/local/bin/pydoc3*
rm /usr/local/bin/python3*
brew bundle
popd
haxelib install hxcpp --quiet
@@ -116,7 +120,7 @@ jobs:
lime rebuild macos -clean -release -64 -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Mac64-NDLL
path: |
@@ -124,7 +128,7 @@ jobs:
!**/.gitignore
if-no-files-found: error
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Mac64-Hashlink
path: |
@@ -135,7 +139,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -169,7 +173,7 @@ jobs:
lime rebuild windows -64 -release -nocolor -verbose -nocffi
lime rebuild hl -clean -release -nocolor -verbose -nocffi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Windows-NDLL
path: |
@@ -177,7 +181,7 @@ jobs:
!**/.gitignore
if-no-files-found: error
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Windows64-NDLL
path: |
@@ -185,13 +189,13 @@ jobs:
!**/.gitignore
if-no-files-found: error
# - uses: actions/upload-artifact@v2
# - uses: actions/upload-artifact@v3
# with:
# name: Windows-Hashlink
# path: |
# templates/bin/hl/Windows
# if-no-files-found: error
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Windows64-Hashlink
path: |
@@ -200,10 +204,10 @@ jobs:
android-ndll:
needs: macos-ndll
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -241,7 +245,7 @@ jobs:
haxelib run lime rebuild tools -nocolor -verbose -nocffi
haxelib run lime setup -alias -y -nocffi
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Mac64-NDLL
path: ndll/Mac64/
@@ -258,7 +262,7 @@ jobs:
run: |
lime rebuild android -release -nocolor -verbose -nocffi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Android-NDLL
path: |
@@ -268,10 +272,10 @@ jobs:
ios-ndll:
needs: macos-ndll
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -299,7 +303,7 @@ jobs:
haxelib run lime rebuild tools -nocolor -verbose -nocffi
haxelib run lime setup -alias -y -nocffi
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Mac64-NDLL
path: ndll/Mac64/
@@ -308,7 +312,7 @@ jobs:
run: |
lime rebuild ios -clean -release -verbose -nocolor
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: iPhone-NDLL
path: |
@@ -318,10 +322,10 @@ jobs:
package-haxelib:
needs: [linux-ndll, macos-ndll, windows-ndll, android-ndll, ios-ndll]
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -349,62 +353,62 @@ jobs:
haxelib run lime rebuild tools -nocolor -verbose -nocffi
haxelib run lime setup -alias -y -nocffi
cp project/lib/hashlink/other/osx/entitlements.xml templates/bin/hl/entitlements.xml
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Android-NDLL
path: ndll/Android/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: iPhone-NDLL
path: ndll/iPhone/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Linux-NDLL
path: ndll/Linux/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Linux64-NDLL
path: ndll/Linux64/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Mac64-NDLL
path: ndll/Mac64/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Windows-NDLL
path: ndll/Windows/
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Windows64-NDLL
path: ndll/Windows64/
# - uses: actions/download-artifact@v2
# - uses: actions/download-artifact@v3
# with:
# name: Windows-Hashlink
# path: templates/bin/hl/Windows
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Windows64-Hashlink
path: templates/bin/hl/Windows64
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Mac64-Hashlink
path: templates/bin/hl/Mac64
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: lime-haxelib
path: |
@@ -416,10 +420,10 @@ jobs:
if-no-files-found: error
docs:
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
@@ -441,7 +445,7 @@ jobs:
run: |
haxe build.hxml
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: lime-docs
path: docs/pages
@@ -449,7 +453,7 @@ jobs:
android-samples:
needs: package-haxelib
runs-on: macos-10.15
runs-on: macos-11
steps:
- name: Install Android NDK
@@ -481,7 +485,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -513,7 +517,7 @@ jobs:
flash-samples:
needs: package-haxelib
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: krdlab/setup-haxe@v1
@@ -528,7 +532,7 @@ jobs:
run: |
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -554,7 +558,8 @@ jobs:
needs: package-haxelib
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15, windows-latest]
os: [ubuntu-20.04
, macos-11, windows-latest]
runs-on: ${{ matrix.os }}
steps:
@@ -595,7 +600,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -619,7 +624,7 @@ jobs:
html5-samples:
needs: package-haxelib
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: krdlab/setup-haxe@v1
@@ -634,7 +639,7 @@ jobs:
run: |
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -658,7 +663,7 @@ jobs:
ios-samples:
needs: package-haxelib
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: krdlab/setup-haxe@v1
@@ -680,7 +685,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -704,7 +709,7 @@ jobs:
linux-samples:
needs: package-haxelib
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install system dependencies
@@ -731,7 +736,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -755,7 +760,7 @@ jobs:
macos-samples:
needs: package-haxelib
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: krdlab/setup-haxe@v1
@@ -777,7 +782,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -803,7 +808,7 @@ jobs:
needs: package-haxelib
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15, windows-latest]
os: [ubuntu-20.04, macos-11, windows-latest]
runs-on: ${{ matrix.os }}
steps:
@@ -844,7 +849,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -890,7 +895,7 @@ jobs:
run: |
echo "HXCPP_COMPILE_CACHE=C:\.hxcpp" >> $Env:GITHUB_ENV
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: lime-haxelib
path: lime-haxelib
@@ -913,7 +918,7 @@ jobs:
lime build SimpleAudio windows -release -verbose -nocolor
notify:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [package-haxelib, docs, android-samples, flash-samples, hashlink-samples, html5-samples, ios-samples, linux-samples, macos-samples, neko-samples, windows-samples]
if: ${{ github.repository == 'openfl/lime' && github.event_name != 'pull_request' }}
steps:

View File

@@ -1,3 +1,29 @@
Changelog
=========
8.0.1 (02/21/2023)
------------------
* Fixed error where low-priority SVG icons (such as the Flixel icon) would override normal- or high-priority PNGs
* Fixed `NativeHTTPRequest` buffer management for neko
* Fixed text field losing focus after copying in HTML5
* Fixed extra or missing slashes in certain cases when loading assets
* Fixed `Assets.isLocal(null)` not checking all asset types
* Fixed getting `Clipboard.text` on Linux
* Fixed building `-static -debug` Windows apps
* Fixed sounds playing twice on iOS
* Fixed command line arguments not being passed to HashLink on macOS
* Fixed a null pointer exception when setting sound position in HTML5
* Fixed cURL not resending data if there's a redirect
* Fixed `FileDialog` behavior when filtering by multiple file extensions, or 0 file extensions
* Fixed error when importing `JNI` during a macro while building for Android
* Fixed building `-static` Linux apps
* Fixed crash when compiling iOS apps with no background color
* Fixed `System.openFile()` on Linux
* Fixed requiring a keystore to sign AIR apps
* Fixed requiring a path to create a keystore
* Fixed HTML5 text fields not updating promptly on Android devices
8.0.0 (08/30/2022)
------------------
@@ -51,7 +77,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for IEM input text on HTML5
* Fixed audio stutter on HTML5 when `force-html-audio` is defined
7.8.0 (06/24/2020)
------------------
@@ -67,7 +92,6 @@ _releases are still supported when building Lime from the source._
* Fixed the search string for HaxeObject/JNI to be more precise
* Fixed support for building using `-Djs-es=6`
7.7.0 (01/27/2020)
------------------
@@ -96,7 +120,6 @@ _releases are still supported when building Lime from the source._
* Fixed the default launch screen sizes on the iOS target
* Fixed Gradle paths to jcenter/Google for HTTPS support
7.6.3 (09/11/2019)
------------------
@@ -104,13 +127,11 @@ _releases are still supported when building Lime from the source._
* Fixed support for both 32- and 64-bit Neko on Windows (for Haxe 3 and 4)
* Fixed support for loading `HTTPRequest` data using the HL target
7.6.2 (09/05/2019)
------------------
* Fixed support for 64-bit Neko on Windows (included in Haxe 4 RC 4)
7.6.1 (09/04/2019)
------------------
@@ -118,7 +139,6 @@ _releases are still supported when building Lime from the source._
* Fixed incorrect default root path for asset manifests on some platforms
* Fixed a crash on the HL target when pasting non-text data
7.6.0 (08/20/2019)
------------------
@@ -144,13 +164,11 @@ _releases are still supported when building Lime from the source._
* Fixed the behavior of `image.copyPixels` in a few cases
* Fixed minor issues when using the `-npm` HTML5 template
7.5.0 (05/14/2019)
------------------
* Update version
7.4.0 (05/14/2019)
------------------
@@ -169,7 +187,6 @@ _releases are still supported when building Lime from the source._
* Fixed issues effecting proper `Image` pixel-level APIs when targeting HL
* Fixed a missing button value when dispatching HL mouse events
7.3.0 (04/01/2019)
------------------
@@ -199,7 +216,6 @@ _releases are still supported when building Lime from the source._
* Fixed Java `HaxeObject.create` to return `null` if handle is `null`
* Fixed exposure of generated `__ASSET__` classes to display completion
7.2.1 (01/07/2019)
------------------
@@ -212,7 +228,6 @@ _releases are still supported when building Lime from the source._
* Fixed ability to cancel context menus on HTML5 when they occur on mouse down
* Fixed font support for some video game console targets
7.2.0 (12/04/2018)
------------------
@@ -238,7 +253,6 @@ _releases are still supported when building Lime from the source._
* Fixed native libraries to build with SSE3 support for better performance
* Fixed use of the `-Ddom` define to force HTML5 DOM render mode
7.1.1 (10/02/2018)
------------------
@@ -250,7 +264,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue when using larger than 64-bit background color values on Flash
* Fixed `context.antialiasing` setting on HTML5 `Window`
7.1.0 (09/26/2018)
------------------
@@ -286,7 +299,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue where `Assets` cache breaking was not working properly
* Fixed compilation issues in Haxe 4 development builds
7.0.0 (08/09/2018)
------------------
@@ -338,7 +350,6 @@ _releases are still supported when building Lime from the source._
* Fixed issue with AL.source3i types
* Fixed support for iOS entitlements paths that include spaces
6.4.0 (06/01/2018)
------------------
@@ -359,7 +370,6 @@ _releases are still supported when building Lime from the source._
* Fixed SWF font generation to limit kerning values to the SWF spec maximum
* Fixed some cases where `HOME` environment variable might return `null`
6.3.1 (05/11/2018)
------------------
@@ -367,7 +377,6 @@ _releases are still supported when building Lime from the source._
* Improved the output of `lime help`
* Fixed the behavior of `<define />` to behave like `<haxedef />` + `<set />`
6.3.0 (05/04/2018)
------------------
@@ -415,7 +424,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue using `Image.fromBase64` in ES6/NPM-based builds
* Fixed disabling of vsync on native targets when not desired
6.2.0 (02/16/2018)
------------------
@@ -430,7 +438,6 @@ _releases are still supported when building Lime from the source._
* Fixed letting the user focus outside a Lime embed when text input is enabled
* Fixed `FileDialog.save` to require FileSaver.js when using CommonJS
6.1.0 (02/07/2018)
------------------
@@ -451,13 +458,11 @@ _releases are still supported when building Lime from the source._
* Fixed support for builds on macOS/Linux when `$HOME` variable is not present
* Fixed crash in continuous-testing when no window can be initialized
6.0.1 (01/16/2018)
------------------
* Minor fix for `haxelib run openfl setup` command-line alias installation
6.0.0 (01/15/2018)
------------------
@@ -481,13 +486,11 @@ _releases are still supported when building Lime from the source._
* Fixed a possible range error in `DataPointer`
* Fixed a minor debug message when HXCPP "std" is statically linked
5.9.1 (11/30/2017)
------------------
* Updated howler.js with minor fixes for IE11 and Firefox browsers
5.9.0 (11/29/2017)
------------------
@@ -516,7 +519,6 @@ _releases are still supported when building Lime from the source._
* Fixed setting of "ios" and "android" project values when using AIR iOS/Android
* Fixed handling of Haxe version output with newer Haxe development build
5.8.2 (11/10/2017)
------------------
@@ -527,7 +529,6 @@ _releases are still supported when building Lime from the source._
* Improved `renderer.readPixels` on native platforms to allow transparency
* Fixed the behavior of `<asset path="Assets" library="default" />`
5.8.1 (11/06/2017)
------------------
@@ -539,7 +540,6 @@ _releases are still supported when building Lime from the source._
* Improved tools to print warning for unrecognized `<asset type="" />` values
* Fixed support for Adobe AIR where `nativeWindow` is `null`
5.8.0 (10/24/2017)
------------------
@@ -560,7 +560,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for `ANDROID_GRADLE_TASK` with command-line arguments
* Fixed support for relative provisioning profile paths for AIR target
5.7.1 (10/12/2017)
------------------
@@ -568,7 +567,6 @@ _releases are still supported when building Lime from the source._
* Improved native `HTTPRequest` to complete as error if response status is error
* Fixed `HTTPRequest` to treat HTTP status code 400 as an error
5.7.0 (10/10/2017)
------------------
@@ -591,7 +589,6 @@ _releases are still supported when building Lime from the source._
* Fixed `threadPool.onProgress` to dispatch in the proper foreground thread
* Fixed native `HTTPRequest` to calculate timeout from when requests run
5.6.0 (09/26/2017)
------------------
@@ -613,7 +610,6 @@ _releases are still supported when building Lime from the source._
* Fixed progress event update on HTML5 HTTPRequest uploads
* Fixed `ImageHelper.resizeImage` to properly handle null parameters
5.5.0 (09/12/2017)
------------------
@@ -633,7 +629,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for `<window fullscreen="false" />` on Android
* Fixed minor issues caused by detecting some AWD files as text
5.4.0 (08/25/2017)
------------------
@@ -652,7 +647,6 @@ _releases are still supported when building Lime from the source._
* Fixed UTF-8 `charCodeAt` when index is out of range
* Fixed the `strength` property of `ImageDataUtils.gaussianBlur`
5.3.0 (07/31/2017)
------------------
@@ -668,7 +662,6 @@ _releases are still supported when building Lime from the source._
* Fixed `lime create extension` to preserve `ANDROID_GRADLE_PLUGIN` variable
* Fixed support for preloading fonts on Safari
5.2.1 (06/21/2017)
------------------
@@ -676,7 +669,6 @@ _releases are still supported when building Lime from the source._
* Fixed case where HTML5 could preload sounds twice, unintentionally
* Fixed support for compiling HTML5 -Dmodular builds
5.2.0 (06/20/2017)
------------------
@@ -690,7 +682,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue with Node http-server resolving properly to localhost
* Fixed support for `lime test linux -32` on 64-bit systems
5.1.0 (06/07/2017)
------------------
@@ -716,7 +707,6 @@ _releases are still supported when building Lime from the source._
* Fixed semi-transparent fillRect on canvas-based Image
* Fixed minor issues with cURL
5.0.3 (05/24/2017)
------------------
@@ -727,20 +717,17 @@ _releases are still supported when building Lime from the source._
* Fixed support for uploading larger byte objects using HTTPRequest
* Fixed support for config.rootPath
5.0.2 (05/22/2017)
------------------
* Improved support for finding versioned haxelib path when using haxelib git
5.0.1 (05/22/2017)
------------------
* Fixed an issue with PathHelper.getHaxelib outside of Lime tools
* Fixed regressions in haxelib path resolution
5.0.0 (05/19/2017)
------------------
@@ -764,7 +751,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for >, <, >=, <= and == in XML "unless" attribute
* Fixed complete exit on Android when using the back button
4.1.0 (05/04/2017)
------------------
@@ -795,7 +781,6 @@ _releases are still supported when building Lime from the source._
* Fixed a dead-code-elimination issue in NativeHTTPRequest
* Fixed the Android Gradle Plugin setting in the Lime extension template
4.0.3 (03/28/2017)
------------------
@@ -804,7 +789,6 @@ _releases are still supported when building Lime from the source._
* Improved Image.loadFromBytes when bytes are not a known image type
* Improved the performance of Image.fillRect in some cases
4.0.2 (03/21/2017)
------------------
@@ -819,7 +803,6 @@ _releases are still supported when building Lime from the source._
* Fixed a mismatch between intptr_t and uintptr_t (affecting Android)
* Fixed several Window properties when creating a new window without a config
4.0.1 (03/17/2017)
------------------
@@ -832,7 +815,6 @@ _releases are still supported when building Lime from the source._
* Fixed missing bufferData API in WebGLContext
* Fixed OpenGL bindings to return null OpenGL objects if an ID is zero
4.0.0 (03/15/2017)
------------------
@@ -877,7 +859,6 @@ _releases are still supported when building Lime from the source._
* Fixed double dispatch of preloader complete verbose message
* Fixed path of `-options` parameter when calling HXCPP
3.7.4 (02/15/2017)
------------------
@@ -886,7 +867,6 @@ _releases are still supported when building Lime from the source._
* Added verbose log messages during asset library preload
* Fixed crash on iOS when rewinding or looping sounds
3.7.3 (02/13/2017)
------------------
@@ -902,7 +882,6 @@ _releases are still supported when building Lime from the source._
* Fixed filters and default file name in FileDialog
* Fixed AudioBuffer.loadFromFile on native for remote assets
3.7.2 (01/26/2017)
------------------
@@ -910,7 +889,6 @@ _releases are still supported when building Lime from the source._
* Improved the DPI values returned from display.dpi
* Fixed "Update to Recommended Settings" message on Xcode 8.2
3.7.1 (01/25/2017)
------------------
@@ -918,7 +896,6 @@ _releases are still supported when building Lime from the source._
* Fixed minor issues with Flash Player preload logic
* Fixed use of AudioBuffer in multiple native AudioSource instances
3.7.0 (01/24/2017)
------------------
@@ -939,7 +916,6 @@ _releases are still supported when building Lime from the source._
* Fixed base path for assets loaded from non-default asset libraries
* Fixed scale of mouse events dispatched for high-DPI HTML5 windows
3.6.2 (01/20/2017)
------------------
@@ -948,7 +924,6 @@ _releases are still supported when building Lime from the source._
* Fixed possible font overflow when embedding fonts on Flash target
* Fixed crash on Neko when using AudioSource with no AudioBuffer
3.6.1 (01/18/2017)
------------------
@@ -957,7 +932,6 @@ _releases are still supported when building Lime from the source._
* Fixed a regression in support for static-linking
* Fixed a regression in support for lime.utils.JNI
3.6.0 (01/16/2017)
------------------
@@ -976,14 +950,13 @@ _releases are still supported when building Lime from the source._
* Fixed playback of a single audio buffer multiple times on HTML5
* Fixed initial volume level in AudioSource on HTML5
* Fixed a regression in the default architecture list for iOS
* Fixed merging of multiple <architecture /> tags in project files
* Fixed merging of multiple `<architecture />` tags in project files
* Fixed a possible crash when retrieving OpenGL strings
* Fixed the default template for HTML5 when multiple projects are embedded
* Fixed support for non-preloaded assets on HTML5
* Fixed support for image.copyChannel on HTML5 when using WebGL
* Fixed support for command-line arguments with "lime rebuild"
3.5.2 (12/19/2016)
------------------
@@ -993,7 +966,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue when merging multiple project.config values
* Reverted bytes changes to resolve C++ GC issues
3.5.1 (12/16/2016)
------------------
@@ -1013,7 +985,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for `<haxelib name="" path="" />`
* Fixed a regression with the quality of generated SVG icons
3.5.0 (12/07/2016)
------------------
@@ -1050,14 +1021,12 @@ _releases are still supported when building Lime from the source._
* Fixed the behavior of Event.ACTIVATE when resuming on iOS
* Fixed missing input event initially on HTML5
3.4.1 (11/01/2016)
------------------
* Fixed order of Assets.registerLibrary and app.onPreloaderComplete
* Added a workaround for HAXE_STD_PATH error on -Dmodular
3.4.0 (10/31/2016)
------------------
@@ -1087,7 +1056,6 @@ _releases are still supported when building Lime from the source._
* Fixed initial gain and position when playing HTML5 AudioSource sound
* Fixed compatibility issues with current Haxe development versions
3.3.0 (10/10/2016)
-----------------
@@ -1114,13 +1082,11 @@ _releases are still supported when building Lime from the source._
* Fixed support for `<window allow-high-dpi="true" />`
* Fixed Android compilation using debug
3.2.1 (09/20/2016)
------------------
* Fixed an issue when GC was executed from another thread
3.2.0 (09/19/2016)
------------------
@@ -1142,7 +1108,6 @@ _releases are still supported when building Lime from the source._
* Fixed the Android template for `lime create extension`
* Corrected support for high DPI windows
3.1.0 (08/29/2016)
------------------
@@ -1155,14 +1120,12 @@ _releases are still supported when building Lime from the source._
* Fixed support for System directories on Android
* Fixed null fromBytes/fromImage conversion
3.0.3 (07/27/2016)
------------------
* Improved "lime test flash -web" behavior to use HTTP server
* Fixed an issue with Neko native byte resizing
3.0.2 (07/22/2016)
------------------
@@ -1171,7 +1134,6 @@ _releases are still supported when building Lime from the source._
* Deprecated lime.utils.LZMA
* Fixed issue where assets were not found on Linux
3.0.1 (07/20/2016)
------------------
@@ -1180,7 +1142,6 @@ _releases are still supported when building Lime from the source._
* Fixed the name of generated folder for HTML5 output
* Fixed support for OpenAL getSource3f
3.0.0 (07/08/2016)
------------------
@@ -1206,7 +1167,6 @@ _releases are still supported when building Lime from the source._
* Fixed a crash in ExternalInterface
* Fixed a case where displayInfo.currentMode is not active yet
2.9.1 (03/28/2016)
------------------
@@ -1224,7 +1184,6 @@ _releases are still supported when building Lime from the source._
* Fixed the default company meta to be blank instead of a dummy value
* Fixed the window position and size to update after fullscreen
2.9.0 (01/22/2016)
------------------
@@ -1248,7 +1207,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for window.display on scaled windows
* Fixed a tool crash when using an unrecognized -armvX flag
2.8.3 (01/02/2016)
------------------
@@ -1261,7 +1219,6 @@ _releases are still supported when building Lime from the source._
* Fixed a compile error when using `<source />` and an empty path
* Fixed the -notrace flag (to disable "trace" on "test" commands)
2.8.2 (12/16/2015)
------------------
@@ -1278,7 +1235,6 @@ _releases are still supported when building Lime from the source._
* Updated ANGLE binaries to resolve ALT + Enter fullscreen issue
* Fixed font paths on iOS (legacy)
2.8.1 (12/09/2015)
------------------
@@ -1286,7 +1242,6 @@ _releases are still supported when building Lime from the source._
* Added support for optional haxelib references in XML
* Fixed an issue with incorrect joystick IDs on connect
2.8.0 (12/07/2015)
------------------
@@ -1303,7 +1258,6 @@ _releases are still supported when building Lime from the source._
* Fixed embed of runtime-generate asset files
* Fixed default font paths on new versions of iOS (legacy)
2.7.0 (10/28/2015)
------------------
@@ -1312,7 +1266,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue where Android applications would crash on unfound files
* Updated the Neko template for Lime legacy builds
2.6.9 (10/15/2015)
------------------
@@ -1325,7 +1278,6 @@ _releases are still supported when building Lime from the source._
* Made minor template updates
* Fixed the default virtual keyboard type on BlackBerry (legacy)
2.6.8 (10/05/2015)
------------------
@@ -1335,7 +1287,6 @@ _releases are still supported when building Lime from the source._
* Added JPEG and PNG encode support for HTML5
* Improved tooling support for tvOS builds
2.6.7 (10/02/2015)
------------------
@@ -1346,14 +1297,12 @@ _releases are still supported when building Lime from the source._
* Fixed preload when the same asset is listed twice
* Fixed an issue with importing lime.Assets in legacy builds
2.6.6 (09/24/2015)
------------------
* Patch support for static C++ builds without use of HXCPP dev
* Fixed a crash that could occur in Flixel 3.x
2.6.5 (09/23/2015)
------------------
@@ -1365,7 +1314,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue with Image.fromBitmapData when using OpenFL
* Fixed a minor issue with copyPixels on Firefox
2.6.4 (09/21/2015)
------------------
@@ -1376,7 +1324,6 @@ _releases are still supported when building Lime from the source._
* Reduced "unreachable code" warnings in Firefox
* Fixed iOS multitouch behavior (legacy)
2.6.3 (09/19/2015)
------------------
@@ -1391,7 +1338,6 @@ _releases are still supported when building Lime from the source._
* Added an optimization for repeated Font path lookups
* Improved support for non-US keyboard layouts (legacy)
2.6.2 (09/08/2015)
------------------
@@ -1410,7 +1356,6 @@ _releases are still supported when building Lime from the source._
* Fixed dispatch of mouse events from touch on HTML5
* Added "onBackPressed" to Android extensions
2.6.1 (08/26/2015)
------------------
@@ -1427,7 +1372,6 @@ _releases are still supported when building Lime from the source._
* Fixed missing callback in Assets.loadLibrary
* Fixed multi-touch on iOS (legacy)
2.6.0 (08/20/2015)
------------------
@@ -1446,7 +1390,6 @@ _releases are still supported when building Lime from the source._
* Fixed an unused reference in the Android template
* Fixed "std@module_read" errors on Neko
2.5.3 (08/13/2015)
------------------
@@ -1470,7 +1413,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for lime.utils.Log
* Fixed support for event.has
2.5.2 (07/23/2015)
------------------
@@ -1480,7 +1422,6 @@ _releases are still supported when building Lime from the source._
* Improved color conversion support for Flash
* Fixed issue preventing Neko from reading 32-bit integers correctly
2.5.1 (07/21/2015)
------------------
@@ -1490,7 +1431,6 @@ _releases are still supported when building Lime from the source._
* Fixed an issue with Assets.loadImage on HTML5
* Fixed support for OpenAL playback using a starting offset
2.5.0 (07/17/2015)
------------------
@@ -1507,7 +1447,6 @@ _releases are still supported when building Lime from the source._
* Quieted libpng "known incorrect profile" messages
* Added a patch to allow Wii Remote detection (legacy)
2.4.9 (07/13/2015)
------------------
@@ -1527,7 +1466,6 @@ _releases are still supported when building Lime from the source._
* Fixed use of cURL basic types as Int
* Improved support for asynchronous SSL requests (legacy)
2.4.8 (07/09/2015)
------------------
@@ -1539,13 +1477,11 @@ _releases are still supported when building Lime from the source._
* Fixed "lime rebuild ios" with some versions of HXCPP
* Fixed mouse middle/right/wheel events on desktop (legacy)
2.4.7 (07/06/2015)
------------------
* Fixed regression in HTML5 typed array support
2.4.6 (07/06/2015)
------------------
@@ -1560,7 +1496,6 @@ _releases are still supported when building Lime from the source._
* Fixed a crash that could occur using cURL on Mac
* Fixed static builds for the Mac target
2.4.5 (07/02/2015)
------------------
@@ -1586,7 +1521,6 @@ _releases are still supported when building Lime from the source._
* Added screen resolution width/height for BlackBerry (legacy)
* Fixed a possible overflow in the LZMA buffer (legacy)
2.4.4 (06/08/2015)
------------------
@@ -1605,14 +1539,12 @@ _releases are still supported when building Lime from the source._
* Improved WAV format loading (legacy)
* Fixed iswalpha crash on BlackBerry (legacy)
2.4.3 (06/01/2015)
------------------
* Improved support for embedded fonts
* Fixed regression when embedding certain OTF fonts
2.4.2 (05/30/2015)
------------------
@@ -1629,7 +1561,6 @@ _releases are still supported when building Lime from the source._
* Minor fix to rectangle.transform
* Fixed Windows Neko builds when not running on Windows
2.4.1 (05/13/2015)
------------------
@@ -1638,7 +1569,6 @@ _releases are still supported when building Lime from the source._
* Fixed Emscripten rebuild
* Fixed issue on the build server
2.4.0 (05/12/2015)
------------------
@@ -1654,7 +1584,6 @@ _releases are still supported when building Lime from the source._
* Fixed a case where fonts might not be embedded
* Fixed occasional crash with OpenAL on Neko
2.3.3 (04/21/2015)
------------------
@@ -1667,7 +1596,6 @@ _releases are still supported when building Lime from the source._
* Fixed a possible crash in copyPixels
* Improved accuracy of URLLoader progress
2.3.2 (04/15/2015)
------------------
@@ -1681,7 +1609,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for -Doptional-cffi
* Fixed haxe.Timer (legacy)
2.3.1 (04/08/2015)
------------------
@@ -1696,7 +1623,6 @@ _releases are still supported when building Lime from the source._
* Fixed crash when font or JPEG file paths are not found
* Added softKeyboardRect support for iOS (legacy)
2.3.0 (03/26/2015)
------------------
@@ -1715,7 +1641,6 @@ _releases are still supported when building Lime from the source._
* Fixed the ZipHelper for Haxe 3.2
* Fixed the -Dstats define for HTML5 builds
2.2.2 (03/25/2015)
------------------
@@ -1726,7 +1651,6 @@ _releases are still supported when building Lime from the source._
* Improved System.getTimer to work without haxe.Timer
* Fixed a crash when using GL.bufferData with zero-length data
2.2.1 (03/21/2015)
------------------
@@ -1734,7 +1658,6 @@ _releases are still supported when building Lime from the source._
* Fixed ImageBuffer with newer HXCPP
* Compile fix
2.2.0 (03/20/2015)
------------------
@@ -1757,7 +1680,6 @@ _releases are still supported when building Lime from the source._
* Fixed -rebuild when using the Lime 2 desktop NDLL
* Fixed "lime rebuild" when in the Lime directory
2.1.3 (03/02/2015)
------------------
@@ -1778,7 +1700,6 @@ _releases are still supported when building Lime from the source._
* Patched support for Assets.loadSound on Flash target
* Fixed a null check in lime_alc_open_device
2.1.2 (02/20/2015)
------------------
@@ -1800,7 +1721,6 @@ _releases are still supported when building Lime from the source._
* Request focus in resume on Android, in case an extension has focus (legacy)
* Added TILE_BLEND_SUBTRACT (legacy)
2.1.1 (02/13/2015)
------------------
@@ -1808,7 +1728,6 @@ _releases are still supported when building Lime from the source._
* Fixed regression in HTML5 font asset embedding
* Minor improvement to SWF embedding for Flash target
2.1.0 (02/11/2015)
------------------
@@ -1833,7 +1752,6 @@ _releases are still supported when building Lime from the source._
* Fixed textField.setTextFormat with different font (legacy)
* Fixed crash in Capabilities.language on iOS (legacy)
2.0.6 (01/22/2015)
------------------
@@ -1851,7 +1769,6 @@ _releases are still supported when building Lime from the source._
* Fixed crash in BitmapData rendering (legacy)
* Fixed rotation of TextField instances (legacy)
2.0.5 (01/13/2015)
------------------
@@ -1875,7 +1792,6 @@ _releases are still supported when building Lime from the source._
* Fixed a crash in iOS Capabilities.language (legacy)
* Added bitmapData.merge support (legacy)
2.0.4 (12/31/2014)
------------------
@@ -1889,7 +1805,6 @@ _releases are still supported when building Lime from the source._
* Improved default context menu behavior on Flash/OpenFL
* Improved fixed orientation support on iOS (legacy)
2.0.3 (12/27/2014)
------------------
@@ -1898,7 +1813,6 @@ _releases are still supported when building Lime from the source._
* Fixed exit code behavior when calling HXCPP
* Fixed minor issues with "lime rebuild tools"
2.0.2 (12/21/2014)
------------------
@@ -1920,7 +1834,6 @@ _releases are still supported when building Lime from the source._
* Fixed Android x86 builds (legacy)
* Fixed TextField leading (legacy)
2.0.1 (12/04/2014)
------------------
@@ -1930,7 +1843,6 @@ _releases are still supported when building Lime from the source._
* Changed Firefox to type WEB instead of MOBILE
* Fixed HTML5 touch event coordinates
2.0.0 (11/20/2014)
------------------
@@ -1944,7 +1856,6 @@ _releases are still supported when building Lime from the source._
* Made fixes to support the newer Blackberry SDK
* Fixed GraphicsPath on Neko (legacy)
2.0.0-beta (11/13/2014)
-----------------------
@@ -1957,7 +1868,6 @@ _releases are still supported when building Lime from the source._
* Improved $variable handling in project parsing
* Other minor fixes
2.0.0-alpha.8 (11/08/2014)
--------------------------
@@ -1965,7 +1875,6 @@ _releases are still supported when building Lime from the source._
* Fixed discovery of Java install on OS X
* Omitting Android force downgrade on old devices
2.0.0-alpha.7 (11/01/2014)
--------------------------
@@ -1976,7 +1885,6 @@ _releases are still supported when building Lime from the source._
* Fixed and documented the "-args" tool flag
* Added the force downgrade argument when installing on Android
2.0.0-alpha.6 (10/28/2014)
--------------------------
@@ -1986,7 +1894,6 @@ _releases are still supported when building Lime from the source._
* Improved "isText" file detection
* Fixed loading of type BINARY files as TEXT
2.0.0-alpha.5 (10/23/2014)
--------------------------
@@ -1996,7 +1903,6 @@ _releases are still supported when building Lime from the source._
* Improved the handling of font family name detection
* Minor fixes
2.0.0-alpha.4 (10/21/2014)
--------------------------
@@ -2004,7 +1910,6 @@ _releases are still supported when building Lime from the source._
* Improved the `<config />` data system
* Enabled splash screen generation for iOS again
2.0.0-alpha.3 (10/20/2014)
--------------------------
@@ -2018,7 +1923,6 @@ _releases are still supported when building Lime from the source._
* Improvements to `<config />` tag merging
* Added Tilesheet TILE_RECT support (legacy)
2.0.0-alpha.2 (10/16/2014)
--------------------------
@@ -2045,7 +1949,6 @@ _releases are still supported when building Lime from the source._
* Fixed null data in URLLoader on Neko (legacy)
* Added a dead zone filter for joystick events (legacy)
2.0.0-alpha (10/14/2014)
------------------------
@@ -2066,18 +1969,15 @@ _releases are still supported when building Lime from the source._
* Made the asset library system more flexible
* Many other tool improvements
1.0.1 (06/24/2014)
------------------
* Fixed BlackBerry support
* Fixed a memory leak when using LZMA decoding
1.0.0 (05/29/2014)
-----------------
0.9.9 (05/28/2014)
-----------------
@@ -2086,7 +1986,6 @@ _releases are still supported when building Lime from the source._
* Silenced "missing NDLL" warning when not in -verbose mode
* Added "-nocolor" option
0.9.8 (05/27/2014)
------------------
@@ -2099,7 +1998,6 @@ _releases are still supported when building Lime from the source._
* Added support for custom user agents in URL requests
* Other minor fixes
0.9.7 (04/22/2014)
------------------
@@ -2116,7 +2014,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for BWF wave files
* Fixed color order for PNG encoding
0.9.6 (03/18/2014)
------------------
@@ -2129,7 +2026,6 @@ _releases are still supported when building Lime from the source._
* Improved support for looping audio
* Minor fixes
0.9.5 (03/04/2014)
------------------
@@ -2137,7 +2033,7 @@ _releases are still supported when building Lime from the source._
* Fixed cURL to support larger header sizes
* Updated the SDL2 backend to support initialization without AA if not supported
* Added support for Android "immersive mode"
* Improved default _sans, _serif and _typewriter font matching for Mac and iOS
* Improved default \_sans, \_serif and \_typewriter font matching for Mac and iOS
* Multiple improvements to Android JNI support
* Added "count" support for drawTiles rendering
* Optimized renderer to perform more with a single draw array
@@ -2153,8 +2049,7 @@ _releases are still supported when building Lime from the source._
* Keyboard event support on Tizen
* Resolved rare issue when loading BitmapData from bytes
* Minor fixes for Emscripten
* Updated for automated builds: http://openfl.org/builds/lime
* Updated for automated builds: <http://openfl.org/builds/lime>
0.9.4 (01/27/2014)
------------------
@@ -2162,7 +2057,6 @@ _releases are still supported when building Lime from the source._
* Fixed support for 8-bit PNG images with alpha
* Fixed software fallback for certain older cards
0.9.3 (01/22/2014)
------------------
@@ -2171,14 +2065,12 @@ _releases are still supported when building Lime from the source._
* Fixed crash in ColorMatrixFilter
* Fixed GL drawArrays issue on desktop
0.9.2 (12/31/2013)
------------------
* Fixed Tizen storage directory
* Fixed support for Emscripten
0.9.1 (12/18/2013)
------------------
@@ -2186,7 +2078,6 @@ _releases are still supported when building Lime from the source._
* Improved performance when loading OGG samples in memory
* Added support for the Tizen emulator
0.9.0 (12/10/2013)
------------------
@@ -2195,4 +2086,3 @@ _releases are still supported when building Lime from the source._
* Android JNI improvements
* Add OpenGL context lost/restored events
* Fixed support for Android OpenAL audio

View File

@@ -1,7 +1,7 @@
MIT License
===========
Copyright (c) 2013-2020 Joshua Granick and other Lime contributors
Copyright (c) 2013-2023 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

View File

@@ -2,7 +2,7 @@ Notices
=======
### Lime
Copyright (c) 2013-2020 Joshua Granick and other Lime contributors
Copyright (c) 2013-2023 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).

View File

@@ -555,11 +555,13 @@ class HTML5Window
private function handleInputEvent(event:InputEvent):Void
{
if (imeCompositionActive)
{
return;
}
// In order to ensure that the browser will fire clipboard events, we always need to have something selected.
// Therefore, `value` cannot be "".
if (inputing) return;
if (textInput.value != dummyCharacter)
{
var value = StringTools.replace(textInput.value, dummyCharacter, "");
@@ -1124,7 +1126,12 @@ class HTML5Window
if (textInput == null)
{
textInput = cast Browser.document.createElement('input');
#if lime_enable_html5_ime
textInput.type = 'text';
#else
// use password instead of text to avoid IME issues on Android
textInput.type = 'password';
#end
textInput.style.position = 'absolute';
textInput.style.opacity = "0";
textInput.style.color = "transparent";
@@ -1178,6 +1185,10 @@ class HTML5Window
{
if (textInput != null)
{
// call blur() before removing the compositionend listener
// to ensure that incomplete IME input is committed
textInput.blur();
textInput.removeEventListener('input', handleInputEvent, true);
textInput.removeEventListener('blur', handleFocusEvent, true);
textInput.removeEventListener('cut', handleCutOrCopyEvent, true);
@@ -1186,7 +1197,6 @@ class HTML5Window
textInput.removeEventListener('compositionstart', handleCompositionstartEvent, true);
textInput.removeEventListener('compositionend', handleCompositionendEvent, true);
textInput.blur();
}
}
@@ -1198,16 +1208,16 @@ class HTML5Window
return textInputRect = value;
}
private var inputing = false;
private var imeCompositionActive = false;
public function handleCompositionstartEvent(e):Void
{
inputing = true;
imeCompositionActive = true;
}
public function handleCompositionendEvent(e):Void
{
inputing = false;
imeCompositionActive = false;
handleInputEvent(e);
}

View File

@@ -1054,9 +1054,9 @@ class Image
@param sourceRect The source rectangle to use when copying
@param destPoint The destination point in this `Image` to copy into
@param redMultiplier A red multiplier to use when blitting
@param greenMultiplier A red multiplier to use when blitting
@param blueMultiplier A red multiplier to use when blitting
@param alphaMultiplier A red multiplier to use when blitting
@param greenMultiplier A green multiplier to use when blitting
@param blueMultiplier A blue multiplier to use when blitting
@param alphaMultiplier An alpha multiplier to use when blitting
**/
public function merge(sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int,
alphaMultiplier:Int):Void

View File

@@ -127,7 +127,7 @@ class JNI
className = transformClassName(className);
return new JNIMemberField(NativeCFFI.lime_jni_create_field(className, memberName, signature, false));
#else
return null;
return new JNIMemberField(null);
#end
}
@@ -183,7 +183,7 @@ class JNI
className = transformClassName(className);
return new JNIStaticField(NativeCFFI.lime_jni_create_field(className, memberName, signature, true));
#else
return null;
return new JNIStaticField(null);
#end
}
@@ -242,7 +242,7 @@ class JNI
{
initialized = true;
#if android
#if (android && !macro)
var method = System.load("lime", "lime_jni_init_callback", 1);
method(onCallback);
#end

View File

@@ -296,7 +296,7 @@ class System
#elseif mac
Sys.command("/usr/bin/open", [path]);
#elseif linux
Sys.command("/usr/bin/xdg-open", [path, "&"]);
Sys.command("/usr/bin/xdg-open", [path]);
#elseif (js && html5)
Browser.window.open(path, "_blank");
#elseif flash

View File

@@ -93,13 +93,16 @@ class AIRHelper
if (project.keystore != null)
{
var keystore = Path.tryFullPath(project.keystore.path);
var keystoreType = project.keystore.type != null ? project.keystore.type : "pkcs12";
signingOptions.push("-storetype");
signingOptions.push(keystoreType);
if (project.keystore.path != null)
{
var keystore = Path.tryFullPath(project.keystore.path);
signingOptions.push("-keystore");
signingOptions.push(keystore);
}
if (project.keystore.alias != null)
{

View File

@@ -1277,8 +1277,11 @@ class HXProject extends Script
context.PRELOADER_NAME = app.preloader;
if (keystore != null)
{
if (keystore.path != null)
{
context.KEY_STORE = Path.tryFullPath(keystore.path);
}
if (keystore.password != null)
{

View File

@@ -1670,21 +1670,22 @@ class ProjectXMLParser extends HXProject
parseXML(element, "", extensionPath);
case "certificate":
var path = null;
if (element.has.path || element.has.type)
{
keystore = new Keystore();
}
if (keystore != null)
{
if (element.has.path)
{
path = element.att.path;
keystore.path = Path.combine(extensionPath, substitute(element.att.path));
}
else if (element.has.keystore)
{
path = element.att.keystore;
keystore.path = Path.combine(extensionPath, substitute(element.att.keystore));
}
if (path != null)
{
keystore = new Keystore(Path.combine(extensionPath, substitute(element.att.path)));
if (element.has.type)
{
keystore.type = substitute(element.att.type);

View File

@@ -40,7 +40,6 @@
<section if="linux">
<lib name="${HXCPP}/lib/${BINDIR}/liblinuxcompat.a" />
<lib name="-lpthread" />
<lib name="-lrt" />

View File

@@ -734,7 +734,8 @@ class IOSPlatform extends PlatformTarget
#if (lime && lime_cffi && !macro)
Log.info("", " - \x1b[1mGenerating image:\x1b[0m " + imagePath);
var image = new Image(null, 0, 0, size.w, size.h, (0xFF << 24) | (project.window.background & 0xFFFFFF));
var background = project.window.background != null ? project.window.background & 0xFFFFFF : 0x000000;
var image = new Image(null, 0, 0, size.w, size.h, (0xFF << 24) | background);
var bytes = image.encode(PNG);
File.saveBytes(imagePath, bytes);