Commit Graph

842 Commits

Author SHA1 Message Date
Apprentice-Alchemist
ad70700a14 Try to fix Windows mess a bit.
Default to 64 bit on windows too.
2022-05-19 20:46:08 +02:00
player-03
e6674ba179 Merge pull request #1510 from ninjamuffin99/pitch
Audio pitch change implementation
2022-05-12 12:25:01 -04:00
Josh Tynjala
b091ba88bb AIRHelper: can specify -appstore and -adhoc for AIR ios builds, similar to cpp ios builds
Uses ipa-app-store or ipa-ad-hoc, instead of ipa-test
2022-05-11 14:15:09 -07:00
Zeta
362ab26d18 Merge branch 'develop' into feature/update-hashlink 2022-05-08 16:47:46 +02:00
Josh Tynjala
4ea5807853 Merge pull request #1527 from junsred/prevent-clipboard-being-set-as-null
prevent clipboard being set as null
2022-04-29 09:17:23 -07:00
Junsred
4ce66f8d94 rename and check focus pending 2022-04-29 05:03:07 +03:00
Junsred
b3af18c352 avoid duplicate code 2022-04-29 00:27:16 +03:00
Junsred
0c077da2bb better readability 2022-04-29 00:17:16 +03:00
Apprentice-Alchemist
7dbc4e9c71 More haxe 3 fixes. 2022-04-28 19:56:30 +02:00
Apprentice-Alchemist
6f196008c2 Fix Haxe 3 compat. 2022-04-28 19:53:31 +02:00
Apprentice-Alchemist
668b3f7ba7 Fix the HashlinkHelper 2022-04-28 19:42:51 +02:00
Apprentice-Alchemist
cb3b0240de Implement lime setup hl in a hopefully better way. 2022-04-28 19:42:46 +02:00
Apprentice-Alchemist
18f680e247 Fix haxelime/lime#1516 again. 2022-04-28 19:42:46 +02:00
Apprentice-Alchemist
c394aea8f1 Rename a few functions.
Currently there's conflicts between the names in the C code, and the names the haxe compiler would expect for HL/C.
This commit fixes those conflicts.
2022-04-28 19:42:40 +02:00
Junsred
c845859bc0 focus back to textInput after setting clipBoard 2022-04-28 15:40:36 +03:00
Junsred
c0a77a01fb prevent clipboard being set as null 2022-04-28 15:27:24 +03:00
Joseph Cloutier
50488aee53 Clarify purpose of data validation variables.
This value doesn't actually contain default values, but instead helps
verify that the correct fields are present and have the correct types.
It also doesn't need to show up in code completion.
2022-04-27 11:51:39 -04:00
Joseph Cloutier
3bbbb189c2 Reduce clutter by merging related files.
There's no need to have three separate files containing a single static
variable each. Ideally, the `Data` types should include the variable,
which can be accomplished using abstracts.

`from Dynamic` is required in Haxe 3 and simplifies things in Haxe 4.
2022-04-27 01:28:56 -04:00
Josh Tynjala
1f954d268f Better naming/organization for application/metadata/window validation types 2022-04-26 14:21:07 -07:00
Josh Tynjala
ee39b85a9e Fix compatibility with older Haxe 2022-04-26 13:20:43 -07:00
Joseph Cloutier
29a2d35544 Improve wording. 2022-03-30 13:42:36 -04:00
Joseph Cloutier
00c2051119 Clean up. 2022-03-29 14:05:58 -04:00
Joseph Cloutier
45bc8c4aef Make concurrency classes support Haxe 3. 2022-03-29 13:55:37 -04:00
Joseph Cloutier
22fbffca76 Use an integer map key. 2022-03-29 13:49:03 -04:00
Joseph Cloutier
17b69fbb49 Add thread safety instructions. 2022-03-29 11:44:06 -04:00
Joseph Cloutier
b38220b616 Fix single-threaded jobs. 2022-03-28 20:49:17 -04:00
Joseph Cloutier
a2e67cdba8 Provide more ways to cancel jobs. 2022-03-28 18:24:11 -04:00
Joseph Cloutier
d4588434b9 Remove references to BackgroundWorker. 2022-03-28 15:01:17 -04:00
Joseph Cloutier
f31adb845f Partially fix HTML5Thread.readMessage(false).
It now works correctly, but it's much slower.
2022-03-27 13:40:08 -04:00
Joseph Cloutier
e487de6153 Document an edge case. 2022-03-27 00:17:17 -04:00
Joseph Cloutier
6655ee10bb Fix equality testing in HTML5. 2022-03-26 23:55:35 -04:00
Joseph Cloutier
08336ea9b2 Improve Future's backwards compatibility. 2022-03-26 23:36:16 -04:00
Joseph Cloutier
a95f398ef4 Convert BackgroundWorker to a typedef.
Over the course of recent commits, `BackgroundWorker` and `ThreadPool`
have become more and more similar, and it got to the point where the
only difference was that `ThreadPool` was deliberately less convenient.

There's no good reason for `ThreadPool` to be this way, so this commit
removes the final difference.
2022-03-26 20:44:05 -04:00
Joseph Cloutier
01ed2c8c58 Improve clarity. 2022-03-25 18:14:08 -04:00
Joseph Cloutier
05322f0dfa Fix duration in multi-threaded mode. 2022-03-25 17:24:43 -04:00
Joseph Cloutier
f5676afa58 Fix errors with Future in HTML5.
This `Map` isn't needed on other targets, but the performance impact is
miniscule, so I opted for simplicity.
2022-03-25 14:48:39 -04:00
Joseph Cloutier
4589773cec Implement Future.withEventualValue().
And use this function to simplify two other classes.

Plus, add some documentation to explain why `MULTI_THREADED` isn't the
default in HTML5.
2022-03-24 23:36:50 -04:00
Joshua Granick
1c92c707cc Run Haxe formatter 2022-03-23 14:02:39 -07:00
Joshua Granick
362be074f4 Merge HXProject defaults and exclude architectures at end 2022-03-23 14:00:32 -07:00
Joseph Cloutier
3eae01e7c6 Revert variable type.
We need to store an `ActiveJob`, not a `State`.
2022-03-23 16:17:08 -04:00
Joseph Cloutier
ecddb1ec5a Fix useThreads caveat.
Now the argument actually works, instead of only working the first time.
2022-03-21 20:54:34 -04:00
Joseph Cloutier
6b50a9fb8b Implement EventData.duration. 2022-03-21 20:46:24 -04:00
Joshua Granick
54338c082a Default to high DPI on HTML5 2022-03-21 16:53:05 -07:00
Joshua Granick
92b213b56b Revert "Set window.scale on DOM mode"
This reverts commit 5189413361.
2022-03-21 08:40:08 -07:00
Joshua Granick
5189413361 Set window.scale on DOM mode 2022-03-21 08:30:02 -07:00
Joshua Granick
6917d04090 Fix preloader for processed libraries (IE: NyanCat) 2022-03-19 12:01:55 -07:00
Joshua Granick
f34c274bb1 Silence deprecated motionevent warnings on Firefox 2022-03-19 11:29:01 -07:00
Josh Tynjala
dbecf2276c HTTPRequest: withCredentials in XMLHttpRequest and manageCookies in AIR's URLLoader are not the same
HTML5 doesn't have the ability to disable cookies, as far as I can tell, but we can disable them on native targets.
2022-03-18 15:14:46 -07:00
Joseph Cloutier
01a213b5fa Use WorkFunction in Future. 2022-03-14 18:34:48 -04:00
Joseph Cloutier
bcc1c854e7 Update documentation. 2022-03-14 18:34:02 -04:00