Apprentice-Alchemist
1c8c6c1a5e
Implement window transparency.
2022-08-04 22:00:49 +02:00
mgambrell
0125e939a9
vorbisfile.cpp - change free(x) to delete x ( fixes #1556 )
2022-07-04 00:00:38 -05:00
Josh Tynjala
81d682d355
Window: add new setTextInputRect() method to optionally specify the location of the input when textInputEnabled is set to true
...
On native, this uses SDL_SetTextInputRect
2022-06-09 14:14:05 -07:00
Joseph Cloutier
689fed4545
Merge branch 'develop' into submodules
2022-06-03 18:36:03 -04:00
Joseph Cloutier
31e9ab663d
Remove unused case.
...
The `HX_WINDOWS` case is handled a bit further down.
2022-05-19 18:23:20 -04:00
Joseph Cloutier
19eab56416
Define HAVE_STDIO_H.
...
SDL can operate without stdio.h, but Lime requires it in most cases.
2022-05-19 18:21:48 -04:00
Joseph Cloutier
d21847e65c
Update SDL to 2.0.22.
...
On Android, `SDL_RWops` no longer stores a plain file descriptor,
so the `AAsset` API must be used instead:
https://developer.android.com/ndk/reference/group/asset
`HAVE_INOTIFY` is required on Linux at the moment, but the bug will be
fixed in the next SDL release.
2022-05-19 17:34:20 -04:00
Apprentice-Alchemist
b2546aac9f
Try fixing macOS and support no_console Windows subsystem.
2022-05-18 08:11:44 +02:00
Joseph Cloutier
f200ecd9ca
Use the official SDL repo as a submodule.
...
Continuing to use version 2.0.12 for now.
Missing changes:
370d05558c
e572215f5a
fa51fcb56b
Notes:
The changes in e572215 will be included when we update SDL.
The files.xml change from fa51fcb is actually included.
https://github.com/kcat/openal-soft/pull/227 is not resolved.
2022-05-12 23:17:16 -04:00
Apprentice-Alchemist
50cc49c66d
Fix filewatcher RemoveDirectory issue.
...
Windows headers define RemoveDirectory as RemoveDirectoryA.
system/FileWatcher.h needs to be included after any headers that might include windows headers.
2022-04-28 19:42:50 +02:00
Apprentice-Alchemist
de24e7bc4b
Fix INT32 redefined error in libjpeg.
2022-04-28 19:42:49 +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
Apprentice-Alchemist
892d4612c4
Close #1516 .
...
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
2022-04-28 19:42:34 +02:00
Josh Tynjala
bd4c10a715
CURLBindings: implement CURLINFO_COOKIELIST
...
Returns an array of strings
2022-03-09 15:35:57 -08:00
Justin Espedal
ed3686661a
Fix GC issues on iOS 15 with iPhone 12
...
https://github.com/HaxeFoundation/hxcpp/issues/969#issuecomment-941127280
2021-11-01 10:10:12 -07:00
Joshua Granick
20baa3ba6e
Make sure strings are null-terminated ( resolve #1441 )
2021-01-04 11:34:54 -08:00
Joshua Granick
aeb6c415c5
Compile fix
2020-12-17 12:37:37 -08:00
Justin Espedal
f75bfa2700
Hashlink vorbis bindings
2020-10-21 10:36:17 -07:00
Josh Tynjala
8701624f0a
Better fix for rebuild iOS and build iOS project
2020-06-15 14:23:26 -07:00
Disconnect3d
d9b35012f4
Fix off by one when finding HaxeObject; JNI string
...
This PR fixes an off by one in `strncmp(src,"org/haxe/lime/HaxeObject;", 24)` call. The string literal `"org/haxe/lime/HaxeObject;"` has a length of 25 and so the current implementation would also match e.g. `"org/haxe/lime/HaxeObjectSOMETHING;"` strings.
2020-04-13 10:20:26 -07:00
Joshua Granick
fcac041024
Revert "Allow sparse rendering while resizing/moving application on Windows"
...
This reverts commit c873ff2f2e .
2020-03-31 14:31:06 -07:00
Joshua Granick
8fc7b43eda
Revert "Send both update and render events on Windows resize/move"
...
This reverts commit a2413c4fad .
2020-03-31 14:30:56 -07:00
Joshua Granick
a2413c4fad
Send both update and render events on Windows resize/move
2020-03-11 11:28:17 -07:00
Joshua Granick
c873ff2f2e
Allow sparse rendering while resizing/moving application on Windows
2020-03-10 13:04:58 -07:00
Joshua Granick
47506b35e4
Patch issue with GLRenderbuffer garbage collection on native
2019-12-14 11:43:43 -08:00
vincent-schirmann
70493d21c2
unable to rebuild ios
2019-11-25 15:58:51 -08:00
Joshua Granick
ff237746f4
Do not return path in FileDialog if empty string
2019-10-21 12:19:12 -07:00
Joshua Granick
90344e0a60
Null Apple locale region fix
2019-10-15 08:21:08 -07:00
Joshua Granick
3000f74f06
Revert unneeded window changes for Android fullscreen
2019-10-09 11:52:41 -07:00
Joshua Granick
bb2af5eed1
Rely on SDL for Android fullscreen window behavior
2019-10-08 13:41:36 -07:00
Joshua Granick
148c8469b7
Fix CURL WRITEFUNCTION callback on HL
2019-09-10 16:12:45 -07:00
Joshua Granick
e9a790a4ea
Update SDL to 2.10
2019-08-20 12:59:31 -07:00
Joshua Granick
b30f4bf39c
Update HL headers for 1.10 ( resolve #1339 )
2019-08-20 08:06:58 -07:00
Joshua Granick
ac44102aaf
Native image.copyPixels + alphaImage fix
2019-07-29 11:38:05 -07:00
Joshua Granick
c8120c20d5
image.copyPixels fixes
2019-07-26 15:39:52 -07:00
Joshua Granick
703a57b6fa
Main loop tweaks
2019-07-10 15:17:54 -07:00
Joshua Granick
dda2edd8e4
Update SDL again
2019-05-08 17:12:51 -07:00
Joshua Granick
dce7099e6e
Add CMYK support to native JPEG decode
2019-04-30 13:58:47 -07:00
Joshua Granick
d01f84ffbf
Fix button on HL mouse event
2019-04-22 13:55:09 -07:00
Joshua Granick
7bb7b5a4fa
Increase zlib compression level
2019-04-18 11:46:48 -07:00
Joshua Granick
40ccd22c79
Fix BitmapData issues for HL
2019-04-10 16:26:03 -07:00
Joshua Granick
6dce7ad79a
Progress on newer NDK support (forces minimum API from 14 to 16)
2019-04-05 18:07:13 -07:00
Joshua Granick
2cb09c55df
Retain SDL joystick IDs
2019-04-04 10:20:35 -07:00
Joshua Granick
a5de7d83c2
String fixes
2019-03-14 16:25:38 -07:00
Joshua Granick
6561eef767
Crash fix
2019-03-14 15:16:08 -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
a445e62030
Allow Android applications to manage back button
2019-02-14 13:28:05 -08:00
Joshua Granick
290c2912a3
Fix incorrect SDL init
2019-02-14 13:24:21 -08:00