Commit Graph

5504 Commits

Author SHA1 Message Date
Josh Tynjala
6bbb2e9f16 actions: hlc samples 2023-11-22 12:22:39 -08:00
Josh Tynjala
f038d8dfde CommandLineTools: help for hlc/-hlc 2023-11-22 11:47:54 -08:00
Josh Tynjala
6dc0c4c785 tools: allow -hlc on windows/mac/linux without -hl 2023-11-22 11:46:33 -08:00
Josh Tynjala
1d7397f808 CommandLineTools: hlc target as shorthand for hl -hlc 2023-11-22 11:33:43 -08:00
Josh Tynjala
5ce9c5c218 WindowsPlatform: set up Visual Studio environment before running cl.exe for HashLink/C 2023-11-18 14:57:58 -08:00
Josh Tynjala
0a83f5c61f WindowsPlatform: Visual Studio HashLink/C build
Currently required to run in Visual Studio Developer command prompt
2023-11-17 15:15:21 -08:00
Josh Tynjala
d05f10b15f prepare for Lime 8.1.1 8.1.1 2023-11-08 09:26:20 -08:00
Josh Tynjala
c81591c887 Windows: .lib files are needed to compile HL/C for Windows with Visual Studio 2023-11-03 15:08:01 -07:00
Josh Tynjala
fd1500ea82 LinuxPlatform: can specify -clang with -hlc to use clang instead of gcc 2023-11-03 12:20:32 -07:00
Josh Tynjala
10635d6231 MacPlatform: can specify -clang with -hlc to use clang instead of gcc 2023-11-03 12:11:23 -07:00
Josh Tynjala
6e19e26f45 HL/C on Linux 2023-11-03 09:38:42 -07:00
Josh Tynjala
6e17c056dd WindowsPlatform: hl mingw sets windows subsystem so that console is not displayed 2023-11-02 14:48:56 -07:00
Josh Tynjala
beb8948983 HL/C on Windows with mingw 2023-11-02 14:17:35 -07:00
player-03
a6aad10e92 Merge pull request #1721 from player-03/escaped-characters
Only escape backslashes in Android SDK/NDK paths. The others don't need to be escaped in .properties files, and shouldn't be escaped in .gradle files.
2023-10-25 19:08:19 -04:00
Joseph Cloutier
d931869dcf Only escape backslashes in Android paths.
Neither .properties nor .gradle files require anything else to be escaped. And at least in .gradle files, escaping anything else is incorrect.
2023-10-24 01:13:32 -04:00
player-03
1a3a9bd5c5 Avoid integer overflow for long sounds.
Multiplying `dataLength * 8` produces a high number, which in the case of very long audio files can exceed the integer limit. Multiplying by 8.0 coerces to float, allowing much higher values.

An alternate solution is to divide first and multiply by 8 second, thus keeping the number from getting too large at any point. However, the purpose of the 8 is to convert `dataLength` from bytes to bits, so it's clearer if those two are close together.
2023-10-19 22:57:43 -04:00
Josh Tynjala
f0ecccf5eb HL/C on macOS 2023-10-19 15:00:27 -07:00
Josh Tynjala
75bc87102b prepare for HL/C 2023-10-19 15:00:08 -07:00
Josh Tynjala
21e8e619c3 HashLink: when building hdlls, use -install_name on macOS
This more closely matches official HashLink binaries, and ensures that the hdlls can be found next to a HL/C executable
2023-10-18 15:33:32 -07:00
Josh Tynjala
51273fb258 FUNDING: add joshtynjala 2023-10-18 10:24:56 -07:00
Josh Tynjala
0528e3996f Assets: add removeLibrary() where unloading is optional (references #1718)
unloadLibrary() now calls removeLibrary() with true for unload to prevent code duplication
2023-10-18 09:19:25 -07:00
Josh Tynjala
6d36d6f874 CHANGELOG and releasenote 8.1.0 2023-10-16 11:01:46 -07:00
Josh Tynjala
2b50fe5273 actions: move some jobs from macos to ubuntu 2023-09-29 11:13:05 -07:00
Josh Tynjala
667567f7bd WebAudioContext: add missing resume() field for non-html5 platforms to fix doc gen 2023-09-29 09:31:08 -07:00
Josh Tynjala
27c528ffbb air externs: don't use openfl APIs in lime 2023-09-12 08:47:23 -07:00
Josh Tynjala
7979a99c7b fill in more of sys file externs for AIR 2023-09-12 08:02:40 -07:00
Josh Tynjala
0b87e1aa63 fix invalid air extern 2023-09-12 07:46:08 -07:00
player-03
d4a04c80df Merge pull request #1709 from UncertainProd/remove-hello
Removed unused field `hello` in Float32Array.hx
2023-08-19 12:39:16 -04:00
UncertainProd
843e7fc873 Removed unused field hello in Float32Array.hx 2023-08-19 22:02:19 +05:30
player-03
b284e56d4e Clarify changelog and remove reference to private feature.
The click count feature is only meant to be used internally until 9.0.0, so shouldn't be advertised.
2023-08-18 17:28:07 -04:00
player-03
3c245b5287 Make replaceVariable() account for properties.
Some useful information is only available as a property, not a field.
2023-08-18 16:20:01 -04:00
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Josh Tynjala
2a570037a2 CHANGELOG for 8.1.0-Dev 2023-08-15 08:00:34 -07:00
Josh Tynjala
987e3dd425 Merge branch 'develop' into 8.1.0-Dev 2023-08-14 15:53:18 -07:00
Josh Tynjala
39c77cfe46 CHANGELOG for develop branch before merge 2023-08-14 15:53:01 -07:00
Josh Tynjala
42ae523188 AIR externs: Haxe 3 compatibility on :extern :enum abstracts 2023-08-14 13:24:05 -07:00
Josh Tynjala
b6cfc7d812 HTTPRequest: fix missing response data for HTTP status codes (closes #1699)
Backends now return error and response data, but public API has not changed.

This allows OpenFL to expose URLLoader.data on IOErrorEvent.IO_ERROR to match the behavior of Flash
2023-08-11 13:43:16 -07:00
Joseph Cloutier
7348f62410 Work around fullPath() error/edge case.
Neko claims that the file passed to `fullPath()` must exist. Usually this isn't enforced, but apparently there are circumstances where it is.

c852db0004/libs/std/sys.c (L571)

I didn't take the time to pin down what those circumstances are. Instead I figured it was easiest to just rearrange some code to follow the rule.
2023-08-08 12:52:12 -04:00
player-03
51c9f861b3 Use enum abstract in Haxe 4.
Most of these warnings were fixed by merging the develop branch, but WorkOutput.hx is new in 8.2.0.
2023-08-01 13:44:18 -04:00
player-03
c1cf271e71 Link to HashLink's documentation.
I'd forgotten that they have their own list of dependencies. And sure, we could copy their list, but I worry that we'd forget to update it. This way is easier and takes less space.
2023-08-01 13:05:17 -04:00
Joseph Cloutier
34a6b10064 Merge branch 'develop' into 8.2.0-Dev 2023-08-01 12:16:52 -04:00
Josh Tynjala
6cff64018a Add -npx flag for lime test electron to run the npx electron command instead of just electron.
This will prompt the user to install electron, if required. Saves a separate `npm install -g electron` command before testing.
2023-07-25 08:43:39 -07:00
EliteMasterEric
3c431559df Always use getPath instead of paths.get() directly. 2023-07-17 14:49:45 -04:00
player-03
c16f27818d Merge pull request #1695 from Apprentice-Alchemist/patch-1
Fix string conversion in hl_window_alert.
2023-07-04 20:36:31 -04:00
player-03
828864063f Merge pull request #1694 from loudoweb/dev-fix-library-unload
clear cached files on library unload
2023-07-04 20:31:03 -04:00
player-03
8b27623afb Follow formatting conventions. 2023-07-04 20:30:33 -04:00
player-03
914009ddb3 Merge pull request #1680 from player-03/auto_formatting_error
Fix `WebGL2RenderContext` formatting.
2023-07-04 20:23:40 -04:00
player-03
a917b5ea51 Don't check out submodules during docs action.
The docs action only needs to look at Haxe code, so downloading the submodules just wastes 30-50 seconds. That's a lot of time for an action that clocks in at about 2 minutes.
2023-07-04 20:14:39 -04:00
Josh Tynjala
ef37cd9afb AIRHelper: needs .app file extension on macOS if AIR target is bundle 2023-06-29 10:25:38 -07:00
Josh Tynjala
b6ebe15d15 Replace Adobe AIR debug certificate because it expired 2023-06-29 10:23:03 -07:00