Commit Graph

4971 Commits

Author SHA1 Message Date
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
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
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
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
player-03
83c24935ef Try to skip reinstalling python. 2023-01-05 14:52:59 -05:00
player-03
41a473f3e6 Use brew update --force. 2023-01-05 14:43:49 -05:00
player-03
f02930d8ba Remove idle3 files to prevent conflict.
Now using `*` to remove multiple files at once, because otherwise this may take a lot of space.
2023-01-05 14:29:22 -05:00
player-03
75a3f10a34 Remove conflicting files. 2023-01-05 14:15:32 -05:00
Joseph Cloutier
92e65370ee Allow using Eval to run Lime tools. 2023-01-05 12:38:45 -05:00
player-03
1545179b5b Strip trailing whitespace. 2023-01-03 14:15:23 -05:00
Josh Tynjala
603a3619b6 HXProject: null check for keystore.path 2022-12-30 22:08:14 -08:00
Josh Tynjala
468c193330 ProjectXMLParser: don't require path to be specified in <certificate/> element to create Keystore object (can also be created if type is specified, which allows keystores without paths) 2022-12-30 22:08:14 -08:00
Josh Tynjala
7d7f6fbbd3 AIRHelper: allow Adobe AIR apps to be signed with storetypes that don't have a keystore file
For example, -storetype KeychainStore can be used to sign with an -alias value stored in the macOS Keychain
2022-12-30 22:08:14 -08:00
player-03
43fb0f15c5 Merge pull request #1500 from player-03/DeprecatedGradleFeatures
Fix warnings and errors in the Android build process
2022-12-29 19:26:54 -05:00
Joseph Cloutier
73202191cc Update Gradle. 2022-12-20 14:53:29 -05:00
player-03
e9202b2355 Merge pull request #1589 from Vulpicula/patch-1
Fix openFile not working on Linux.
2022-12-20 14:45:48 -05:00
player-03
b61ba08d64 Merge pull request #1591 from player-03/iOS_window_background
Fix null value in `IOSPlatform`.
2022-12-20 14:06:50 -05:00
player-03
3826b4182c Merge pull request #1601 from player-03/macos-update
Use macOS 11 for testing.
2022-12-20 14:05:19 -05:00
player-03
e0b2c88182 Merge pull request #1605 from arm32x/fix/linux-static-build
Stop linking with liblinuxcompat.a
2022-12-20 14:01:54 -05:00
player-03
351849b0b6 Merge pull request #1603 from player-03/JNI_macro_error
Fix error when using JNI in macro context.
2022-12-20 14:00:14 -05:00
Josh Tynjala
8e3aa8afff FileDialog: fix case where no file extension filters are specified 2022-12-16 14:50:29 -08:00
Josh Tynjala
52b7b4d574 FileDialog: use delete[] to match new[] 2022-12-16 14:50:11 -08:00