Commit Graph

1338 Commits

Author SHA1 Message Date
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
Adam Hojka
981d02e411 Custom wstring to UTF-8 string conversion function (codecvt may not be included in some toolchains and was deprecated in C++17 anyway). 2022-06-11 18:30:26 +02:00
Adam Hojka
17edd0435c [HXCPP][HL] UNICODE fixes (clipboard, window title, file dialogs, paths, font glyphs, ...) 2022-06-10 23:49:54 +02: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
player-03
439535a9d4 Explain how to build HashLink binaries. 2022-06-08 15:17:01 -04:00
player-03
2286704ed3 Add HashLink to the list of submodules. 2022-06-06 20:51:42 -04:00
Joseph Cloutier
60dd8803c1 Fix Windows header conflict. 2022-06-03 19:38:11 -04:00
Joseph Cloutier
50ff65956f Add legacy Pi driver support.
Co-authored-by: Patrick Gutlich <patrick@gepatto.nl>
2022-06-03 18:39:45 -04:00
Joseph Cloutier
689fed4545 Merge branch 'develop' into submodules 2022-06-03 18:36:03 -04:00
Joseph Cloutier
34817221d8 Adjust RPI build settings.
Co-authored-by: Patrick Gutlich <patrick@gepatto.nl>
2022-06-01 00:27:46 -04:00
Joseph Cloutier
16166e1a0d Fix RPI compile errors (incomplete).
At least, these changes should be a step in the right direction.
2022-05-28 14:55:50 -04:00
Joseph Cloutier
088b43a37a Don't compile joystick HIDAPI code on iOS.
Per README-ios.md and SDL_config_iphoneos.h, it's disabled by default.
2022-05-28 08:34:04 -04:00
Joseph Cloutier
f3aff7f274 Compile PNG's "intrinsics" when targeting arm64.
As noted in pngpriv.h, the alternative (assembly code) doesn't currently
work on arm64.

There's no mention of iOS or tvOS, so maybe we could remove those?
2022-05-27 20:30:07 -04:00
Joseph Cloutier
821638ae34 Work around inconsistent header inclusion.
Overriding headers has always been risky, and finally we see why.

Apparently on iOS, files may be compiled in such a way that the original
SDL_config.h file is included, not Lime's custom one. It's hard to do
anything more than we've already done to manage include order, so we
need to find another option.

One such option is to make the two files as similar as possible, such
that it usually doesn't matter which one ends up being included. Then we
only set `USING_GENERATED_CONFIG_H` when it really matters.
2022-05-27 03:59:43 -04:00
Joseph Cloutier
03f5dcbf82 Don't enable ARC twice.
If `OBJC_ARC` is set, then `-fobjc-arc` was also set already.
2022-05-27 03:29:07 -04:00
Joseph Cloutier
9d56c6df4a Enable ARC when compiling SDL.
SDL_cocoavideo.m now enforces this, as of this commit:
ec8fa57750

That commit also removed the destructors from SDL_render_metal.m, which
implies it's required on iOS too.

And before anyone asks, SDL seems to have no plans to back down on this.
2022-05-26 21:13:49 -04:00
Joseph Cloutier
aa44a540f2 Disable -Wno-enum-conversion on Windows.
Seems this doesn't apply to MVSC.
2022-05-25 20:50:50 -04:00
Joseph Cloutier
45d104d105 Disable HIDAPI on all targets again.
This reverts commit 41d93722f9.
2022-05-25 18:25:47 -04:00
Joseph Cloutier
4b5ffdad62 Always disable enum-conversion warning.
Cairo 1.17.6 does a LOT of enum conversion, and judging from line 63 of
meson.build, their plan is to live with it. Might as well follow suit.
2022-05-25 00:45:01 -04:00
Joseph Cloutier
87e779b971 Rename "overrides" to "custom."
This helps shift the emphasis from "replacing existing files" to "adding
missing files," without ruling either option out.
2022-05-22 23:27:47 -04:00
Joseph Cloutier
55f3e74596 Update libwebm to 1.0.0.28. 2022-05-22 22:28:22 -04:00
Joseph Cloutier
0224d24a74 Update libvpx to 1.11.0. 2022-05-22 22:27:52 -04:00
Joseph Cloutier
4623448e0b Update libpng to 1.6.37. 2022-05-22 22:19:34 -04:00
Joseph Cloutier
8291b812d5 Update Vorbis to 1.3.7. 2022-05-22 22:11:37 -04:00
Joseph Cloutier
13c3b60083 Update Ogg to 1.3.5.
Also, make config_types.h defer to inttypes.h for consistency.
2022-05-22 22:11:13 -04:00
Joseph Cloutier
0997d1443a Update Neko to 2.3.0. 2022-05-22 21:54:13 -04:00
Joseph Cloutier
391d947338 Add CoreHaptics.framework via project.pbxproj.
Returning to the way  88d3fa7184 did this
because the alternative wasn't working.
2022-05-22 14:30:44 -04:00
Joseph Cloutier
b6d0af585d Always include CoreHaptics.framework on iOS. 2022-05-22 13:43:18 -04:00
Joseph Cloutier
7b3b49bea6 Fix cURL linker errors on Windows.
Plus, move Windows-only files into the Windows section.
2022-05-22 12:25:27 -04:00
Joseph Cloutier
1b87e1ca60 Ensure FreeType can find zlib.h. 2022-05-22 11:33:11 -04:00
Joseph Cloutier
2ce060788b Add SystemConfiguration.framework on Mac.
Required for `SCDynamicStoreCopyProxies()`, which is only called when
`CURL_OSX_CALL_COPYPROXIES` is defined, which is only defined on OSX.
2022-05-22 11:27:48 -04:00
Joseph Cloutier
51dfc56efb Use Build.xml to include CoreHaptics.framework.
Much simpler and more maintainable than in
88d3fa7184

(Sorting the flags a bit while I'm at it.)
2022-05-22 11:25:54 -04:00
Joseph Cloutier
cf5b033bbc Remove no-longer-used #defines.
Only removing `#define`s for which there were zero search results.
2022-05-22 00:36:43 -04:00
Joseph Cloutier
869f8fa14e Update Mbed TLS to 3.1.0. 2022-05-22 00:18:45 -04:00
Joseph Cloutier
4e65b9e1cd Clean up unused files in LZMA. 2022-05-21 20:59:23 -04:00
Joseph Cloutier
555df2963b Update libjpeg-turbo to 2.1.3. 2022-05-21 20:50:43 -04:00
Joseph Cloutier
e1c55103a6 Update FreeType to 2.12.1.
Note: cff.c includes all the other cffxyz.c files. They're still there.
2022-05-21 20:28:16 -04:00