Commit Graph

2488 Commits

Author SHA1 Message Date
Andrew Mickelson
34b6bda233 [drm] Fix DRM mode setting to use SFML window dimensions
- actually use the dimensions of the SFML window as the DRM mode
      dimensions when setting a DRM mode.
    - If SFML window dimensions don't match a valid DRM mode, show
      the window contents on screen in the current mode instead of
      simply failing to show anything.
    - With these change the SFML examples are now working for me
2024-11-09 15:57:06 +00:00
Zombieschannel
40fc524b8d InputImpl.hpp now has Android implementation 2024-09-25 17:15:16 -06:00
Lukas Dürrenberger
02fe28f35b Fix regex for SFML_USE_STATIC_STD_LIBS 2024-09-19 21:21:33 +02:00
Lorenzooone
5545df7290 Use lazy loading for keyboard scancodes on macos (backport) 2024-09-16 17:41:41 -04:00
Chris Thrasher
54c7edb2a0 Update v2.6.2 changelog 2024-09-10 11:27:31 -06:00
Lorenzooone
e16f895057 Add missing openal name 2024-09-01 22:58:41 -06:00
Jonny
b60b7b4fcb
Use imported target for openal to simplify copying dll's 2024-08-21 16:22:52 -06:00
Chris Thrasher
c6e0f1ad2b Fix how macOS fullscreen video modes are detected
Co-authored-by: Lorenzooone <lollo.lollo.rbiz@gmail.com>
2024-08-21 11:40:40 -06:00
Jonny Paton
50ced215d0 gitignore vs folder 2024-08-20 15:50:14 +01:00
Chris Thrasher
a71b3a497b Remove use of deprecated ALooper_pollAll 2024-08-08 14:14:14 -06:00
Chris Thrasher
2a4ca6e053 Prevent crash when setting empty uniform array
The root of the problem is accessing the first element of an empty
array which reads out-of-bounds memory.
2024-08-01 14:03:58 -06:00
Chris Thrasher
779b963530 Stop using macOS 11 images 2024-07-29 07:21:08 +02:00
Lorenzooone
03179abbf6 Fix issue with openal arm requiring vc_redist 2024-07-29 00:11:07 +02:00
Zombieschannel
98493bdf51 ARM64 support for SFML
Added dlls, libs and changed CMake files.
2024-06-25 23:17:36 +02:00
vittorioromeo
af4e2d6726 Add support for UCRT64 MinGW environment 2024-06-25 21:49:44 +02:00
Jonny Paton
c7f6ad6127 Fix SFML_USE_STATIC_STD_LIBS behaviour with newer cmake. As the flags aren't always included in the defaults instead of replacing we must strip existing (if present) then add the correct flag 2024-06-25 11:12:16 -06:00
Lukas Dürrenberger
0a6d44fff1 Use built-in CMake support for iOS
* Use built-in iOS support for cmake and expand tests to cover more configurations
* Adjust CI builds
2024-06-22 21:51:37 +02:00
Lukas Dürrenberger
59c4eba0e5 Update checkout action to the latest version 2024-06-22 21:51:37 +02:00
Lukas Dürrenberger
32bfb30293 Update macOS GitHub Actions images 2024-06-22 21:51:37 +02:00
Lukas Dürrenberger
e39f48742b Retrieve Windows error message on clipboard failures 2024-05-24 21:23:58 -06:00
Lukas Dürrenberger
658176879a Use sf::err() for error logging 2024-05-24 21:23:58 -06:00
Lukas Dürrenberger
06946793b4 Close the clipboard if we fail to empty it 2024-05-24 21:23:58 -06:00
Lukas Dürrenberger
1a4003fcc0 Add clarification about the RenderTexture state after creation 2024-05-12 19:35:14 -05:00
kimci86
b7e1a259f0 Update icons urls and color 2024-05-09 09:41:07 +02:00
kimci86
0d6a5f7fbe Make the new doxygen clipboard feature work and look good
CSS rules copied from doxygen default stylesheet generated with:
    doxygen -w html new_header.html new_footer.html new_stylesheet.css
2024-05-09 09:41:07 +02:00
kimci86
7f27cad9ae Fix search.js "Uncaught ReferenceError: Cookie is not defined" 2024-05-09 09:41:07 +02:00
Lukas Dürrenberger
66c5fae7c1 Fix XHTML Doxygen docs inconsistencies 2024-05-09 09:41:07 +02:00
Lukas Dürrenberger
891e567346 Fix missing namespace and file references 2024-05-09 09:41:07 +02:00
Lukas Dürrenberger
8d88e633e5 Update doxygen input file for doxygen 1.10.0 2024-05-09 09:41:07 +02:00
Lukas Dürrenberger
d95f99acf1 Fix configuration conflict in doxygen 1.10.0 2024-05-09 09:41:07 +02:00
Lorenzooone
174448f5fa Fix joystickButton being used for Joystick(Dis)Connected event 2024-04-26 15:13:29 +02:00
Chris Thrasher
b0e25088a2 Initialize all sf::Glyph members
This silences an MSVC warning about lsbDelta and rsbDelta not being
initialized. Whether or not this fixes any bugs, it provides a
better user experience if nobody sees those warnings.
2024-04-07 12:34:37 -06:00
Bruno Van de Velde
5a74cf33e9 Replaced deprecated exec_program function in CMake scripts with execute_process, as this was causing iOS build to fail with CMake 3.28 2024-01-23 13:09:04 -07:00
Bruno Van de Velde
67feaa0bd3 Update location of sdkmanager in Android CI jobs 2024-01-23 11:05:54 -07:00
Chris Thrasher
5e18e5403b Fix Nix pkg-config support
CMAKE_INSTALL_LIBDIR is an absolute path on Nix (which is a valid
thing to do). In such a case two absolute paths would get appended
resulting in a nonsense path that broke pkg-config support.
2023-12-15 09:42:56 -07:00
Chris Thrasher
9cea872dbc Update changelog for #2821 2023-12-15 09:42:56 -07:00
Lukas Dürrenberger
c9d065a054 Issue an error when using a MinGW UCRT version 2023-12-11 00:57:08 +01:00
Lukas Dürrenberger
c1c65b53ec Update changelog for SFML 2.6.x 2023-11-16 22:34:48 +01:00
Lukas Dürrenberger
c7d1112234 Abort looping in SoundStream::streamData if an OpenAL error occurs that would have caused it to never terminate.
Backports #2026 and fixes #1831 for SFML 2
2023-11-15 10:55:02 -07:00
Chris Thrasher
1f345d7d25 Fix incorrect variable expansion 2023-11-15 10:54:26 +01:00
Chris Thrasher
c20ab7d6d8 Ensure GNUInstallDirs cache vars are included before first used 2023-11-14 07:46:41 -07:00
Chris Thrasher
69ea0cd863 Update changelog 2023-10-29 18:03:26 -06:00
Chris Thrasher
7f57bb4fe6 Update version to 2.6.1 2023-10-29 18:03:26 -06:00
Chris Thrasher
e2e0f36d98 Fix warnings in Linux OpenGL ES codepaths
Because CI didn't cover this code we didn't know there were
warnings in these codepaths to address.

Not sure why GCC's -Wduplicated-branches is being emitted or how
exactly to fix it. It's easier to simply ignore it in this one
particular file.
2023-10-24 08:44:42 -05:00
Bruno Van de Velde
13c8a1de4e Fixed texture being upside down on Android when copying the texture of a RenderTexture 2023-10-12 15:22:37 -05:00
Chris Thrasher
7cd1ce1385 Add changelog for 2.6.1 2023-09-07 16:13:04 -06:00
Chris Thrasher
2d2e7fa5f4 Disable warnings as errors by default 2023-09-07 15:21:15 -06:00
kimci86
66a5f3c42c Skip ClientMessage events with other window ID unless it is for IM 2023-08-16 19:52:56 -06:00
Shane Whitmire
86285c5378 Fix macOS resize bug
There is a commit up for the macOS resize bug where we get rid of a
previous fix entiry and just resize, but kimci86 stated that he found
better behavior with this solution. I'm going to put up this for code
review and we can compare it to https://github.com/SFML/SFML/pull/2538
and see which we like best
2023-07-30 14:56:03 -06:00
Chris Thrasher
429bde6648 Don't specify standard library on macOS
libc++ is already the default and GCC can't even be used so there's
no circumstance where we'd need to explicitly tell Clang to use
libc++. I confirmed that even with this removed, libc++ headers are
still being used and found.
2023-07-22 20:57:55 -06:00