Commit Graph

363 Commits

Author SHA1 Message Date
George Corney
376f0ba123 extern @: to @: extern 2019-03-27 13:39:49 -07:00
Joshua Granick
d9f47372b6 Compile fix 2019-03-21 10:05:15 -07:00
Joshua Granick
3f5f14389a Fix Haxe 4 dev warning 2019-03-20 15:35:37 -07:00
Joshua Granick
2e5420f369 Haxe 3.4 compile fix 2019-03-20 12:04:44 -07:00
Joshua Granick
750314fbc8 Compile fix 2019-03-20 11:58:07 -07:00
Joshua Granick
1d93fdd4bf Minor fix 2019-03-20 11:37:54 -07:00
Joshua Granick
4a7a9eae9e Fix Haxe4 dev warnings 2019-03-20 11:28:13 -07:00
Joshua Granick
a5de7d83c2 String fixes 2019-03-14 16:25:38 -07:00
Joshua Granick
ac0f49aeea Fix minThreads on ThreadPool 2019-03-14 15:50:30 -07:00
Joshua Granick
6561eef767 Crash fix 2019-03-14 15:16:08 -07:00
Joshua Granick
d78f3fa430 Remove debug message 2019-03-14 13:34:26 -07:00
Joshua Granick
9803ca9bf6 CFFI string work 2019-03-14 13:27:54 -07:00
Joshua Granick
3b9ca3a770 Fixes for vdynamic return types 2019-03-14 12:34:08 -07:00
Joshua Granick
a482c14d5c GL binding fixes 2019-03-14 10:15:00 -07:00
Joshua Granick
8d72e71357 HL update 2019-03-13 11:13:19 -07:00
Joshua Granick
84694f104c HL string fix 2019-03-12 17:05:19 -07:00
Joshua Granick
1bd480fc29 Delete buffer on native audioSource.dispose() if present 2019-03-12 09:50:24 -07:00
Joshua Granick
b9bdf3479b Flash compile fix, format update 2019-03-11 15:30:36 -07:00
Joshua Granick
44bf137f9b Improve 'lime display' when templates have not been processed 2019-02-26 14:01:45 -08:00
dpomier
2fd940239f Keep smoothing enabled by default 2019-02-21 11:27:16 -08:00
Joshua Granick
dfe3d27f57 Update Haxe formatter, run again 2019-02-14 09:40:22 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
b4afa14a13 Docs fix in Application 2019-02-14 08:30:52 -08:00
Joshua Granick
7140576b83 Update Haptic.hx 2019-02-14 08:22:25 -08:00
miltoncandelero
1e40f17ba0 Haptic support on HTML5
Haptic support for HTML5 via Navigator.vibrate (https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API)

---

**note:**

w3c spec says to vibrate on even elements of the pattern and android waits on even elements.

**w3c**
> If the index of time is even (the first entry has index 0), vibrate the device for time milliseconds.

https://w3c.github.io/vibration/

**android**
> The first value indicates the number of milliseconds to wait before turning the vibrator on. 

https://developer.android.com/reference/android/os/Vibrator.html#vibrate(long[],%20int)


The code has a line that adds a zero to the pattern to make the html5 behavior match the android behavior.
2019-02-14 08:22:25 -08:00
Joshua Granick
cac82509da Add support for embedded JS dependencies (embed Lime dependencies by default) 2019-02-12 13:30:07 -08:00
Joshua Granick
d9dbea7f6b Try a hidden ApplicationMain.hx file instead 2019-02-07 16:43:42 -08:00
Joshua Granick
a6fbbe7257 Add hidden ApplicationMain macro for better code completion on new targets 2019-02-07 12:58:54 -08:00
Joshua Granick
864dcf74cc Set length on cURL write 2019-02-06 11:38:50 -08:00
Skerper
4595ac7d80 Remove offset from alpha image
Offset was causing the alpha image to be misaligned
2019-02-05 20:40:11 -08:00
Jens Fischer
ee0c4a88c9 Hide __ASSET__ classes with @:noCompletion 2019-02-05 20:39:12 -08:00
Joshua Granick
ba6cc18fee Clean up Haxe XML Fast/Access imports 2019-01-22 15:01:09 -08:00
Joshua Granick
820686f110 Compile fix 2019-01-21 13:16:11 -08:00
Joshua Granick
ed7cf4fbb7 Queue the Multi thread again if there's a pending request in the queue (#1276) 2019-01-21 12:32:53 -08:00
Joshua Granick
e582f8f6b4 Use thread to speed up cURL Multi in native HTTPRequest (resolve #1276) 2019-01-18 10:52:55 -08:00
Joshua Granick
ac7b0914b9 Fix types for events in ThreadPool 2019-01-18 10:51:18 -08:00
Joshua Granick
fe6548d791 HL fixes 2019-01-10 11:43:47 -08:00
Joshua Granick
9e078204a7 Add workaroudnd for onDropFile behavior on HTML5 (for now) 2019-01-09 12:05:16 -08:00
Joshua Granick
93a5cea26d Fix possible Vorbis compilation error on Windows 2019-01-08 10:09:32 -08:00
Joshua Granick
464dc88c44 Improve native HTTPRequest performance 2019-01-07 13:32:17 -08:00
Joshua Granick
0557e64a4d Improve assets cache break, allow disabling, or forcing a specific cache version 2019-01-04 14:29:31 -08:00
Joshua Granick
ac84c458f1 Don't dispatch window close on HTML5, since mobile browsers might not have really closed the browser page 2019-01-04 12:56:32 -08:00
Joshua Granick
8883366f10 Bump HTML5 HTTP request limit internally 2018-12-20 16:25:19 -08:00
Joshua Granick
e87d5c0801 Minor fix 2018-12-13 23:03:49 -08:00
Joshua Granick
eb0b2df706 Console font fixes 2018-12-10 21:20:01 -08:00
George FunBook
63cfd23e0b check mousedown cancelled for context menu disabling 2018-12-10 16:09:06 -08:00
Joshua Granick
911e6b9862 CommonJS runtime fix 2018-12-10 16:08:10 -08:00
Joshua Granick
c83a66a703 Improve font embedded metrics/data 2018-12-10 14:04:47 -08:00
Joshua Granick
56a6ec0a08 Minor fix 2018-12-07 14:31:09 -08:00
Joshua Granick
b8aa0df9dc Add cache break string to Assets library.json 2018-12-07 14:16:32 -08:00