Joseph Cloutier
c48f1fb44a
Try a different approach to haxe_ver.
2022-05-31 03:00:17 -04:00
Joseph Cloutier
8015148ee0
Fix conditional compilation.
...
For real this time, definitely, hopefully, maybe.
2022-05-31 02:37:52 -04:00
Joseph Cloutier
894445687e
Remove nonexistent function calls.
...
Earlier Haxe versions just used `EntryPoint`.
2022-05-31 02:31:59 -04:00
Joseph Cloutier
312dd70d72
Never inline ForegroundWorker functions.
...
The early `return` is incompatible with it.
2022-05-31 02:06:34 -04:00
Joseph Cloutier
6e86e45851
Implement ForegroundWorker.
2022-05-31 01:06:56 -04:00
Joseph Cloutier
7890951d12
Add MainLoop support.
...
Pros: It's a standard Haxe feature that other Haxelibs may rely on. Plus
it offers built-in thread safety, unlike `onUpdate`.
Cons: It incurs two `mutex.acquire()` calls per frame.
2022-05-30 16:37:43 -04:00
Chris Speciale
02617a854d
NativeHTTPRequest: Improve buffer management for O(1) performance
...
Fixes debilitating issue on Native where buffer creation created an O(n) slowdown
2022-05-27 23:03:14 -04:00
Apprentice-Alchemist
46ad92f11e
Why are we still supporting haxe 3?
2022-05-20 08:11:02 +02:00
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
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
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
Zeta
68135c0d33
Remove custom zip reader.
...
This file was added 8 years ago, and currently breaks `haxe.zip.Reader` usage on all targets but Neko.
I don't see a reason why it should be kept around, so let's delete it.
Closes #1400 .
2022-03-13 21:35:04 +01:00
Josh Tynjala
fbefc24a22
Fix PP_vOdiii__v required but PP_vOiiii__v found in hdll error (references #1521 )
...
Includes tweaks to commit 45955412eb to allow the code to continue working in HashLink
Co-authored-by: ShaharMS <88977041+ShaharMS@users.noreply.github.com >
2022-03-10 14:52:16 -08:00
Josh Tynjala
2e31ae9fd0
NativeHTTPRequest: manage cookies for the current session if withCredentials is true
2022-03-09 15:51:39 -08:00
Josh Tynjala
925e2b67e7
Image: compatibility fix to allow use of genes library to compile as ES modules
2022-02-11 10:32:47 -08:00
player-03
cda9d3a4bb
Add missing feature warning to FlashAudioSource.
2022-01-26 12:20:10 -05:00
player-03
878982e3e2
Never skip setCurrentTime().
2022-01-26 12:14:20 -05:00
Joshua Granick
45955412eb
Resolve KeyCode data type issue on Neko
2022-01-13 15:11:25 -08:00
player-03
07e65257c4
Add missing #if tag.
2022-01-10 07:46:04 -05:00
player-03
8e46831823
Remove redundant code.
2022-01-08 12:01:23 -05:00
player-03
c328d0c85c
Make sure NativeAudioSource.handle is non-null.
...
Using `getGain()` and `setGain()` as a template. Like gain, you won't be able to set pitch before calling `init()`.
2022-01-07 20:44:28 -05:00
player-03
f46ed3dc7e
Standardize setters in NativeAudioSource.
...
These setters now: (1) start by checking if anything changed, (2) use the new value in calculations, and (3) perform the assignment only at the end.
2022-01-07 19:02:43 -05:00
player-03
809ba2fd0c
Add pitch functions to FlashAudioSource
...
Just placeholders, for now.
2021-12-29 18:36:20 -05:00
player-03
f65eedf28e
Calculate time remaining based on pitch
2021-12-29 18:33:07 -05:00
player-03
2f35e0b24c
Merge pull request #1498 from player-03/loadAudioBuffer
...
Fix error when loading embedded audio.
2021-12-20 10:05:16 -05:00