Josh Tynjala
72db242720
IOSPlatform: be explicit about armv6, just in case the default architecture used by hxcpp changes in the future
...
The default changed recently for the x86 simulator, so best to be safe
2023-04-10 15:03:45 -07:00
Josh Tynjala
1e6d883baf
IOSPlatform: when building liblime.iphonesim.a, explicitly add -DHXCPP_M32
...
It looks like the new hxcpp update defaults to 64-bit now, so we need to be explicit
2023-04-10 14:58:24 -07:00
player-03
dc1a11bdac
Use version 2 of actions/setup-java
...
GitHub is deprecating Node 12, forcing us to update any actions that rely on it. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
actions/setup-java@v2 now requires us to specify a distribution. v1 used Zulu, so we'll just stick with that for now.
2023-04-10 17:26:00 -04:00
Josh Tynjala
f43173b942
Application: call __unregisterLimeModule on exit, similar to match the call to __registerLimeModule in the constructor
...
For some reason, this method was never called.
2023-04-10 13:41:14 -07:00
Josh Tynjala
ea8ed5bbe4
HTML5Window: clean up canvas/div and event listeners on window close()
2023-04-10 13:36:52 -07:00
Josh Tynjala
e9a085311e
AIRApplication: check for null with Application.current
2023-04-10 13:31:40 -07:00
Josh Tynjala
906492a5b1
Application: fix handling of canceled when onExit is dispatched
2023-04-10 13:31:02 -07:00
Josh Tynjala
82ec709831
Application: on exit, clear Application.current if it is equal to this
...
This matches setting Application.current in the constructor, and helps avoid memory leaks
2023-04-10 12:54:48 -07:00
Josh Tynjala
23bafb2035
System: exit() on html5 "closes" the main application window
2023-04-10 12:54:37 -07:00
Josh Tynjala
48dc64373b
Application: let AIR handle checking for all windows closed with its own autoExit behavior
2023-04-10 10:40:25 -07:00
player-03
780ec7e837
Merge pull request #1615 from player-03/eval_tools
...
Add the `-eval` flag to run Lime tools using Eval.
2023-04-06 19:34:24 -04:00
player-03
adda161ec6
Use "password" text input only on Android.
...
Using `userAgent` to tell whether the app is running on Android. This isn't foolproof, but will work more often than the previous approach (where you chose at compile time and your choice applied to all devices). Resolves #1655 .
2023-04-05 16:36:36 -04:00
Josh Tynjala
0f694662f9
HTML5HTTPRequst: status 400 should be considered an error
2023-04-04 09:00:28 -07:00
player-03
4d3ae39d50
Use forward slashes to load lime.ndll.
...
`substr(7)` returns the substring _starting_ at character 7, which will never be "windows". The author meant to type `substr(0, 7)` instead, to get the substring ending at 7.
We could easily make this change, but given that the code has been successfully using forward slashes for several years, I prefer to simplify.
2023-04-01 11:56:41 -04:00
player-03
2026f404ff
Initialize variable.
2023-04-01 11:33:20 -04:00
player-03
776db44e37
Add missing type declaration.
...
Nowadays you're supposed to omit this type declaration, but what I didn't realize is that that feature was added in Haxe 4.1. Since Lime still needs to support earlier versions, we'll just have to do it the old way.
2023-04-01 11:29:35 -04:00
player-03
77f3d4bacf
Improve "Could not find NekoAPI interface" message.
...
This message comes up relatively often when a new user tries to set up Lime, but fails to give any instructions a new user could use.
This commit adds a new message explaining the most common issue and how to solve it. It also provides file paths, which may help with more in-depth debugging.
2023-04-01 11:20:05 -04:00
Josh Tynjala
a68e9c4b8e
ExternalInterface: fix error from missing header on Linux in commit 95411acb8c
2023-03-28 13:00:23 -07:00
Josh Tynjala
95411acb8c
ExternalInterface: fix conversion of std::wstring to std:string on non-Windows systems for file dialog functions ( closes #1622 )
2023-03-28 12:06:41 -07:00
jf
aefce3c4ae
change hl_al_filteri argument type
2023-03-17 18:14:42 +00:00
Josh Tynjala
33c8a79ddd
ExternalInterface: fix lime_window_set_visible on HL (wrong signature)
2023-03-16 09:36:08 -07:00
Josh Tynjala
0160c12311
Window: visible property to show and hide window
2023-03-16 08:41:56 -07:00
Josh Tynjala
4105b97fc8
Window: save the initial title from WindowAttributes
...
If not saved, the title getter will return the wrong value
2023-03-15 15:03:29 -07:00
Josh Tynjala
589712e29f
ApplicationMain: ensure that AIR window initial title is populated
...
Was incorrectly being set to Lime Application instead
2023-03-15 14:50:47 -07:00
Joseph Cloutier
22032ef6b5
Allow eval for HXP projects.
...
Plus, do some cleanup. For instance, `nekoOutput` is only used in one
spot, so might as well declare it there.
Aside: I doubt `fullPath()` is needed, but I don't care to test it.
2023-03-13 18:26:44 -04:00
Chris Speciale
3b5588267b
tools.hxml: Remove -D no-inline
...
The no-inline macro was added previously to fix a compatibility issue with an older version of Haxe. It remains to be seen whether or not it is necessary as it seems to create conflicts with intermittent versions of Haxe. For this purpose we will remove it, unless it is deemed necessary again in the future. See: https://github.com/openfl/lime/discussions/1645 for more info.
2023-03-07 12:03:27 -05:00
Josh Tynjala
cebe8dff82
Merge branch 'develop' into 8.1.0-Dev
2023-02-22 08:52:43 -08:00
Josh Tynjala
fa49cf1a2a
haxelib.json: release note
8.0.1
2023-02-21 10:42:59 -08:00
player-03
bca5a33ac2
Use Ubuntu 20 for testing.
...
GitHub has officially begun to drop Ubuntu 18.04 support, causing workflows to fail.
2023-02-21 06:29:59 -10:00
player-03
4232a9fa52
Use v3 of checkout and upload-artifact.
...
Version 2 of these actions seems to rely on deprecated features.
We might be able to leave `download-artifact`, but it seems best to keep it in sync.
2023-02-21 06:23:53 -10:00
player-03
bb3d2fefa6
Update changelog for 8.0.1 ( #1621 )
...
* Apply markdownlint's recommendations.
It's not a fan of double blank lines.
* Fix accidental HTML tag.
The tag doesn't get rendered, and it looks like the line says "Fixed
merging of multiple tags in project files." Which makes perfect sense at
a glance, so it isn't surprising this wasn't noticed.
Thanks to markdownlint for catching this. Now that all its minor
warnings are gone, important ones will stand out.
* Write first pass of 8.0.1 changelog.
Includes commits up to Jan 11, 2023.
* Escape underscores.
* Add release date
---------
Co-authored-by: Josh Tynjala <joshtynjala@bowlerhat.dev >
2023-02-21 08:18:56 -08:00
Dimitri Pomier
db0a8e95fa
Allow Assets.registerLibrary() for default library
2023-02-06 13:27:13 +01:00
Joshua Granick
afadf5fec2
Update LICENSE.md
2023-01-31 08:26:51 -08:00
Joshua Granick
74f6cf6c74
Update NOTICE.md
2023-01-31 08:26:38 -08:00
player-03
434956753a
Merge pull request #1619 from player-03/programPath
...
Use `applicationDirectory` to locate assets on Mac.
2023-01-17 12:17:29 -05:00
Joseph Cloutier
c44e292a06
Use applicationDirectory to locate assets.
...
`programPath()` returns the directory of the executable, but that isn't
always the asset root. (Notably, in the case of Mac apps.)
2023-01-13 21:19:52 -05:00
Josh Tynjala
d75b9f9cfa
HTML5Window: add lime_enable_html5_ime define (references openfl/openfl#2564 )
2023-01-11 16:00:57 -08:00
Josh Tynjala
e03cc18d31
HTML5Window: use HTMLInputElement password instead of text to avoid IME issues on Android ( closes openfl/openfl#2564 )
2023-01-11 15:59:49 -08:00
Josh Tynjala
0a0a6f17a6
HTML5Window: rename inputing to imeCompositionActive
2023-01-11 12:51:15 -08:00
Josh Tynjala
26c6930c41
HTML5Window: call blur() before removing the compositionend listener (references openfl/openfl#2564 )
...
This ensures that incomplete IME input gets committed
2023-01-11 12:49:52 -08:00
player-03
4c81de5383
Merge pull request #1617 from ecanela/patch-1
...
fix a typo in merge function comment
2023-01-06 13:41:42 -05:00
player-03
908905b887
Change "A" to "An."
2023-01-06 13:40:58 -05:00
ecanela
da40e9ea27
fix my mystake typo..
...
sorry for the previous mistake,
2023-01-06 12:39:16 -06:00
player-03
759c026316
Merge pull request #1616 from player-03/brew-workaround
...
Remove conflicting files that caused CI to fail.
2023-01-05 18:53:45 -05:00
ecanela
fb596e9d8b
fix a typo in merge function comment
2023-01-05 17:10:42 -06:00
player-03
255b5cba9e
Return to the original approach, again.
...
At least this time it printed a full list of conflicts. With any luck, this will do it.
2023-01-05 16:22:18 -05:00
player-03
092bee0680
Manually install the problem versions of python.
...
This way, we get to add the `--overwrite` flag.
2023-01-05 16:01:43 -05:00
player-03
04412da008
Return to the original approach.
...
We'll just enumerate all the files that produce errors. This time: pydoc3.
2023-01-05 15:40:10 -05:00
player-03
ffbe4154cb
Quote spaces.
2023-01-05 15:23:52 -05:00
player-03
3f630e169c
Try more ways to skip python.
...
Varying which versions get skipped to help figure out which worked.
2023-01-05 15:06:28 -05:00