Commit Graph

1148 Commits

Author SHA1 Message Date
Josh Tynjala
8e3aa8afff FileDialog: fix case where no file extension filters are specified 2022-12-16 14:50:29 -08:00
Josh Tynjala
52b7b4d574 FileDialog: use delete[] to match new[] 2022-12-16 14:50:11 -08:00
Josh Tynjala
8d6a496625 FileDialog: non-Windows support for multiple file extension filters in OpenFile/OpenFiles (closes #2600) 2022-12-16 14:50:11 -08:00
Josh Tynjala
41064e57b4 FileDialog: Windows support for multiple file extension filters in OpenFile/OpenFiles (references #2600) 2022-12-16 14:50:11 -08:00
player-03
63d2f896fb Merge pull request #1597 from player-03/remove_kha
Remove the defunct Kha backend.
2022-11-18 14:07:20 -05:00
Josh Tynjala
4c821525b4 CURLBindings: fix "Send failed since rewinding of the data stream failed" error with 302 redirect
When CURLOPT_READDATA is specified, not only must we set CURLOPT_READFUNCTION, but we must also set CURLOPT_SEEKFUNCTION to ensure that the data can be resent if there's a redirect.
2022-10-13 11:56:53 -07:00
player-03
fe6f1db7fd Merge pull request #1579 from ShaharMS/develop
Implement `clickCount` on HTML5 and Native.
2022-10-10 13:32:34 -04:00
player-03
9ac49f148c Fix spacing. 2022-10-01 13:24:15 -04:00
Shahar Marcus
716c90eef1 fixed signature mismatch 2022-09-13 20:51:27 +03:00
Shahar Marcus
1e45cbea7a another attempt to fix the signature error 2022-09-13 20:16:55 +03:00
Shahar Marcus
5bcea64afb quick fixes, should fix signature error
when compiling, i get this error:

FATAL ERROR : Invalid signature for function lime@hl_mouse_event_manager_register : PP_vOiiddiidd__v required but PP_vOiddiidd__v found in hdll

This should fix it
2022-09-13 17:44:35 +03:00
ShaharMS
5a18ed4f1a implementation in SDLApplication, fix in MouseEvent.cpp 2022-09-13 13:05:25 +03:00
ShaharMS
17e8b1c065 added clickCount to MouseEvent files 2022-09-13 12:52:40 +03:00
player-03
f69c5a5d5c Sort function declarations. 2022-08-12 12:17:30 -04:00
player-03
42e3450614 Sort functions and standardize formatting.
The new version no longer checks the return code of `SDL_GetWindowOpacity`, for consistency with the other getters. In theory this should be fine, because the only documented error condition is if the window is invalid, at which point none of the getters matter. If the platform doesn't support transparency, "opacity will be reported as 1.0f without error."
2022-08-12 12:16:26 -04:00
player-03
af05054ce5 Sort function definitions. 2022-08-12 11:59:28 -04:00
player-03
a3f54aa1d5 Sort function declarations. 2022-08-12 11:57:07 -04:00
player-03
efcbc622bd Change spaces to tabs
Missed this one the first time.
2022-08-12 11:55:19 -04:00
player-03
2e92df9b89 Standardize formatting 2022-08-12 11:53:59 -04:00
Apprentice-Alchemist
86a7b4e136 C++ is strange. 2022-08-05 13:29:34 +02:00
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
Apprentice-Alchemist
1c35f44634 Fix building lime.hdll. 2022-05-19 21:08:56 +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
Apprentice-Alchemist
b2546aac9f Try fixing macOS and support no_console Windows subsystem. 2022-05-18 08:11:44 +02:00
Apprentice-Alchemist
0238825884 Update hashlink to 1.12. 2022-04-28 19:45:59 +02:00
Apprentice-Alchemist
3a55a30fad Add some include paths, to try and make mac work. 2022-04-28 19:42:51 +02: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
442c219fb5 Add more libs for libuv. 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
0f8c5a69f2 Fix typo. 2022-04-28 19:42:49 +02:00
Apprentice-Alchemist
abdf1450fd Why the hell are we still doing 32 bit. 2022-04-28 19:42:48 +02:00
Apprentice-Alchemist
c2595b908d Fixup CI, and some includes. 2022-04-28 19:42:48 +02:00
Apprentice-Alchemist
4c001e1169 Also build fmt, ui and uv libraries. 2022-04-28 19:42:47 +02:00
Apprentice-Alchemist
d6b3e826d4 Update hashlink. 2022-04-28 19:42:47 +02:00
Apprentice-Alchemist
f544134144 Fix libpaths. 2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
a44fe3669a Put hashlink binaries in templates/bin again.
Add setup script for macOS codesigning.
2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
5c2e5577ab Set android platform to 21 in BuildHashlink.xml. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
aa62d786b3 Add some more -pthread. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
054c20171d Try fixing mac and linux some more. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
2d2e6458f7 Fix macOS and Linux CI. 2022-04-28 19:42:43 +02:00
Apprentice-Alchemist
b72f45ed16 Only copy libhl.lib on Windows. 2022-04-28 19:42:43 +02:00
Apprentice-Alchemist
97f718b291 Link with libpthread. 2022-04-28 19:42:42 +02:00
Apprentice-Alchemist
e4793346cc Make windows work, install required packages on macOS. 2022-04-28 19:42:42 +02:00
Apprentice-Alchemist
9ced08920a Update hashlink. 2022-04-28 19:42:41 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +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
a3b3d8593f Update hashlink. 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