Commit Graph

274 Commits

Author SHA1 Message Date
Joshua Granick
6d666b0eeb First pass at refactoring native CFFI Bytes 2018-06-21 22:03:12 -07:00
Joshua Granick
9e9ec78a3b HL bindings 2018-06-15 00:22:24 -07:00
Joshua Granick
ba0c91e107 Work on HL bytes, HL blocking fixes, etc 2018-06-13 10:06:47 -07:00
Joshua Granick
55167abadf Update cURL with more work on cURL Multi 2018-06-12 16:51:25 -07:00
Joshua Granick
f6e38208d3 Add enter/exit blocking behavior in system IO and sleep 2018-06-11 14:19:32 -07:00
Joshua Granick
5ef8a23839 Garbage collection and String fixes 2018-06-09 08:28:50 -07:00
Joshua Granick
ebda41a737 Better HL support, HelloWorld running in software 2018-06-09 08:28:49 -07:00
Jens Fischer
ba07fbd715 Guard against getEnv("HOME") returning null on some platforms
Attempting to convert a null pointer to std::string seems to be undefined behavior, see https://stackoverflow.com/questions/5867242/how-to-put-the-contents-of-getenv-into-a-string. In my case it was causing a crash.
2018-06-01 09:55:21 -07:00
Joshua Granick
1119ce1958 Add Window expose event 2018-05-29 13:06:14 -07:00
Joshua Granick
20b80cf9a8 Disable Vsync on native when not requested 2018-04-05 09:33:21 -07:00
Joshua Granick
25e8649c20 Fix minor memory leak in Gamepad 2018-04-03 17:02:26 -07:00
Joshua Granick
d5349aaa60 Emscripten fix 2018-03-23 12:24:31 -07:00
Joshua Granick
84df9e3744 Allow focus mouse click to fire an event 2018-03-21 11:27:54 -07:00
Joshua Granick
43a6f0598c Fix software fallback for GL1 2018-02-19 14:35:27 -08:00
Joshua Granick
38ffa3aa13 Cleanup renderer creation 2018-02-19 11:57:44 -08:00
Joshua Granick
f22fa77431 Improve fallback to GLESv2 on iOS (resolve #1154) 2018-02-14 13:30:58 -08:00
Joshua Granick
918552df9c Revert "Allow older GL context version on iOS"
This reverts commit f22423b0f1.
2018-02-14 12:58:01 -08:00
Joshua Granick
f22423b0f1 Allow older GL context version on iOS 2018-02-14 11:30:40 -08:00
Joshua Granick
00140d88e5 Enable GLESv3 on iOS 2018-02-01 10:01:03 -08:00
Joshua Granick
bf6e835530 Make preparations for GLESv3 support on iOS, allow for GL access without SDL renderer, update for default renderbuffer on iOS (fixes Starling, praise God) 2018-01-31 17:12:59 -08:00
Joshua Granick
18ba87fe25 iPhone simulator fix 2018-01-25 22:57:19 -08:00
Joshua Granick
10c51d2732 Do not force renderer.readPixels to be opaque on native 2017-11-08 14:34:39 -08:00
Joshua Granick
d7987b9bae Always set key modifier, even if only pressing a modifier key, on native (close openfl/openfl#1720) 2017-09-22 10:53:20 -07:00
Joshua Granick
f4e003d799 Improve Clipboard support, add Clipboard.onUpdate (resolve #925) 2017-06-06 19:32:33 -07:00
Joshua Granick
02d4c3a63c Fix Windows64 rebuild, minor 64-bit fix 2017-06-06 08:15:43 -07:00
Joshua Granick
dca3b5926f First pass at Windows64 builds (not enabled by default) (resolve #710) 2017-06-05 13:45:37 -07:00
Joshua Granick
6589b22c6f Add support for GL 32-bit color depth on native (close #698) 2017-06-05 13:29:37 -07:00
Joshua Granick
f4adce91e5 First pass on enabling correct X/Y joystick.onTrackballMove events 2017-05-16 16:15:59 -07:00
Joshua Granick
26c654a0a4 Fix Emscripten build 2017-05-04 17:21:47 -07:00
Joshua Granick
45f923360a Add 'always on top' window support 2017-05-04 14:44:18 -07:00
Joshua Granick
2f5462c3a2 Standardize on uintptr_t (fixes issue on Android) 2017-03-20 16:32:54 -07:00
Joshua Granick
8e92767ba2 Fix ID value for Joystick/Gamepad GUID lookup 2017-03-06 09:51:19 -08:00
Joshua Granick
2afd3a59dc Do not dispatch render when there is no render context, add context lost event for native (close #928) 2017-02-28 16:16:02 -08:00
Joshua Granick
81c4926802 Add window.displayMode for fullscreen display mode switching 2017-02-28 11:32:55 -08:00
Joshua Granick
8d90ae2af6 Fix memory leak in System.applicationDirectory/applicationStorageDirectory 2017-02-11 13:54:49 -08:00
Joshua Granick
9c5a3590bd Improve display.dpi values 2017-01-26 14:36:08 -08:00
Joshua Granick
efa7c0eab6 Fix on explicit window.close (resolve #776) 2017-01-11 15:32:53 -08:00
Joshua Granick
21c52bb29f Make window.close cancelable (resolve #817) 2017-01-11 15:23:50 -08:00
Joshua Granick
286a29355c Add lime.ui.ScanCode (close #882) 2017-01-09 18:01:19 -08:00
Joshua Granick
ad339aa827 Revert Bytes changes, prevents ppremature GC on audio decoding 2016-12-19 19:50:56 -08:00
Joshua Granick
c96cb19ad1 Merge changes 2016-12-07 22:11:02 -08:00
jgranick
c9a6bb0a68 Build fix 2016-12-07 16:30:23 -08:00
Joshua Granick
4456672cfe Fix ACTIVATE on iOS 2016-12-07 12:28:25 -08:00
Joshua Granick
4ce9b9c2dc SDL supports changing window resizable now (resolve openfl/openfl#1373) 2016-12-07 10:42:58 -08:00
Joshua Granick
00fc9cdcb6 Improve behavior for default framebuffer on iOS 2016-12-01 13:08:34 -08:00
kiroukou
9a45e9d3b5 Fix the IOS Accelerometer which wasn't fully linked to lime
The SDL implementation of IOS Accelerometer was correct.  Wrapped around the Joystick API for commodity I guess, but working.
The problem was in fact that LIME didn't linked the joystick itself...
After few long hours, the obvious was found, the define was wrong.   IPHONE instead of IOS did fix the problem.
2016-12-01 13:00:24 +01:00
Joshua Granick
d18397c25c Update SDLApplication.cpp 2016-11-22 16:08:08 -08:00
Joshua Granick
9a91273a9b iOS background fix 2016-11-21 17:14:31 -08:00
Joshua Granick
d9f5900685 Add guard against render event when in the background 2016-11-18 15:22:19 -08:00
Zeng Jie
8218d03b37 Fix SDL renderer scale calculation error 2016-11-14 12:18:05 +08:00