Commit Graph

627 Commits

Author SHA1 Message Date
Lars Doucet
b3164fa161 Update ExternalInterface.cpp
Fix audio crash bug for embedded audio (thanks @mauvecow!)
2016-04-05 15:13:56 -05:00
Lars Doucet
da26e563f7 Update ExternalInterface.cpp
Comment out free() in System.getDocumentDirectory with note about crash
2016-04-05 14:27:17 -05:00
Joshua Granick
9c2b9d2889 Crash fix 2016-04-02 00:56:40 -07:00
Joshua Granick
75bb6905af alloc_string does a copy (need to clean up some memory) 2016-03-14 10:11:37 -07:00
Joshua Granick
0579d97b9e Merge pull request #701 from rocket-games/fix-system-dir-mem-leak
Fix system dir string leak
2016-03-14 09:35:15 -07:00
Jonathan Como
72184c843c Free string after converting to value when getting the SystemDirectory 2016-03-09 16:18:17 -08:00
Joshua Granick
4b2520a13f Add flag for allow high DPI 2016-03-01 11:53:54 -08:00
Joshua Granick
78bf85b766 Move drop file event to Window, handle mouse capture automatically 2016-03-01 10:45:33 -08:00
Yanrishatum
85ec75fd59 Drag&Drop support; SDL_CaptureMode support; Maximize window support; 2016-03-01 09:53:24 -08:00
Joshua Granick
4b5ea217ba Patch issue where Cairo may render at wrong font size (fix openfl/openfl#1023) 2016-01-26 09:36:23 -08:00
Joshua Granick
0f0491ddbe Emscripten fix 2016-01-22 12:13:23 -08:00
Daniel Uranga
119c281d05 Set Renderer.readPixels alpha channel to be non-transparent on native targets 2016-01-21 01:25:20 -03:00
Joshua Granick
b8646f1596 Move get display index to C++ 2016-01-12 11:43:13 -08:00
Joshua Granick
81b87ce76a Simplify display.dpi to diagonal value 2016-01-12 09:39:19 -08:00
Lars Doucet
b240ff08e8 Expose display device DPI 2016-01-12 09:15:28 -06:00
Joshua Granick
f6377c0596 Try and fix the MSVC -19 issue (and keep older HXCPP compatibility) 2016-01-11 10:14:31 -08:00
Joshua Granick
f39f06aadf Update to new Cairo/Pixman lib versions 2016-01-08 18:30:43 -08:00
Joshua Granick
b42c5f78c7 Cleanup 2016-01-08 18:30:34 -08:00
Lars Doucet
dd792c0863 proper HX_WINDOWS guard 2016-01-08 15:14:48 -08:00
Lars A. Doucet
2345beced9 Add linux/mac leads for implementing setting window resizability at runtime. 2016-01-08 15:14:48 -08:00
Lars A. Doucet
e86ac9cc75 added borderless, resizable, and fullscreenBorderless properties to Window.hx.
Caveats: resizable can only be set at runtime for windows right now as SDL does not support it natively and has to be added per platform.
2016-01-08 15:14:47 -08:00
Joshua Granick
dccf208fa5 Integrate directory dialog support 2016-01-08 15:09:38 -08:00
Lars A. Doucet
1ddb43b990 CFFI hookups for nfd "open directory" functionality 2016-01-08 15:05:34 -08:00
Joshua Granick
97fb0dcccc Move threshold logic to CFFI again 2016-01-08 14:51:38 -08:00
Joshua Granick
3e4bd31fc6 Add renderer.readPixels (thank you @larsiusprime, close #666, close openfl/openfl#1003) 2016-01-08 13:15:34 -08:00
Joshua Granick
de7ef6ea80 Update to SDL 2.0.4 2016-01-08 09:30:17 -08:00
Joshua Granick
f5e1d06716 Use bytes.Set instead 2016-01-05 15:33:25 -08:00
Joshua Granick
c912b11cde Workaround for free_root issue 2016-01-05 15:22:55 -08:00
Steven
d05550e0fa Cleaning up leaked references in JNI caused by function arguments and return values. 2016-01-05 09:54:45 -08:00
Joshua Granick
f8adb667ca Android JPEG fix 2016-01-05 09:24:59 -08:00
Joshua Granick
62a7436f3d Compile fix 2016-01-02 08:33:22 -08:00
Joshua Granick
4f5922c731 Ensure that OpenAL is not included on static build 2016-01-01 14:52:31 -08:00
Joshua Granick
590c460dc1 Merge branch 'master' of https://github.com/openfl/lime 2016-01-01 14:40:51 -08:00
Joshua Granick
3fa5e01171 Merge pull request #657 from james4k/pr-console-cffi-static-link
guard CFFI STATIC_LINK anchor funcs for the optional libs
2016-01-01 14:42:18 -08:00
Lars A. Doucet
3644008132 Implementing BitmapData.threshold() natively for massive speedup - 95% reduction in time taken 2016-01-01 14:11:25 -08:00
Joshua Granick
91dd2b13cc Remove debug messages 2016-01-01 14:08:25 -08:00
Joshua Granick
da9600efd5 Fix crash in OGG load on newer Android toolchain 2016-01-01 14:01:31 -08:00
Joshua Granick
a9bed580b3 Use previous buffer structure 2016-01-01 13:12:40 -08:00
Joshua Granick
2b952d2dc3 Bytes fix 2016-01-01 11:17:02 -08:00
Joshua Granick
cd4d4a8f43 Fix race condition in lime_image_load, lime_audio_load 2015-12-31 14:42:20 -08:00
Joshua Granick
4dc0aa3db4 Remove old ByteArray CPP class 2015-12-31 14:41:54 -08:00
James Gray
871e375da3 ensure cairo cffi links with STATIC_LINK 2015-12-29 21:50:13 -06:00
Joshua Granick
bd629f3a45 Update iOS system font path (remove 'Cache' from path) 2015-12-15 15:39:21 -08:00
Joshua Granick
9acf835d55 Build fix 2015-12-14 11:20:58 -08:00
Joshua Granick
9b69214dea Fix decode on Android 2015-12-14 11:11:19 -08:00
Joshua Granick
cbf061d501 Disable ANGLE for now, will need -DLIME_SDL_ANGLE on Lime rebuild and <set name='angle' /> or -Dangle on project builds to enable 2015-12-09 14:54:36 -08:00
Joshua Granick
314d25c4fe Fix joystick connect ID 2015-12-09 10:04:06 -08:00
Joshua Granick
1f5ec4ada2 Quiet ANGLE warning message 2015-12-07 13:13:38 -08:00
Joshua Granick
8698727f6e Merge pull request #603 from vroad/cairo-fix
Fix return value of cairo_pattern_get_color_stop_count
2015-12-01 18:58:05 -08:00
Joshua Granick
8ef9b28939 Enable ANGLE by default (thanks @larsiusprime) 2015-12-01 18:16:35 -08:00