Commit Graph

2474 Commits

Author SHA1 Message Date
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
Chris Thrasher
932309f238 Upgrade Checkout action
Fixes some deprecation warnings
2023-07-22 11:28:29 -06:00
Lukas Dürrenberger
25920bb6d7 Ensure that the OpenGL extensions have been loaded 2023-07-04 23:53:26 +02:00
Chris Thrasher
a19f996a11 Remove C++11 header 2023-06-27 09:54:43 -06:00
Chris Thrasher
1f23f7818e Don't override CMAKE_MODULE_PATH
The Conan package for SFML has to fix this so apparently it's a
real world problem.
2023-06-23 10:14:21 -06:00
Chris Thrasher
e9e25d52bc Loosen restrictions on unrecognized compilers
A core tenet of CMake is the idea that you can use any valid C++
compiler. By enumerating all supported compilers and emitting and
hard error when an unrecognized compiler is detected, we are violating
that tenet.

Relaxing this message from a fatal error to merely a warning continues
to communicate to users that their build may not succeed but it leaves
the door open for the build to potential succeed if the compiler meets
all of our requirements.
2023-06-22 16:26:26 -06:00
Lukas Dürrenberger
11b73743c4 Update changelog with all changes for 2.6.0
Highlights:
- Support for Scancode
- Create windows without OpenGL context
- Create windows with a Vulkan context
- SFML supports macOS arm64 also known as M1 chipset
- Unit testing foundation
2023-06-20 23:44:57 +02:00
Lukas Dürrenberger
f47403ab4d Update version number to 2.6.0 2023-06-20 23:44:57 +02:00
Lukas Dürrenberger
8a8348ebeb Replace C++11 with SFML int types 2023-06-20 07:38:54 +02:00
Shane Whitmire
a08cdadcb1 Fix 2.6.x failing to compile on gcc 13.1.1 because of missing headers
I was getting this error until I added this header:
/home/dogunbound/SFML/SFML/src/SFML/Audio/SoundFileReaderMp3.cpp:68:23:
error: ‘uint64_t’ is not a member of ‘std’;

This is a fix
2023-05-15 20:41:01 -06:00
kimci86
a21c3c101c Configure doxygen STRIP_FROM_INC_PATH option
so that include directives are correct in the generated documentation.
2023-04-11 22:33:57 +02:00
binary1248
541e83ed12 Disable stringop-overflow warning when including minimp3 since it produces false positives. 2023-04-01 23:21:38 +02:00
Lukas Dürrenberger
2151ea5c1d Align search box styling with the doc style
- Update doxyfile.in file to v1.9.6
- Add additional search box CSS overrides
2023-03-28 22:46:04 +02:00
Chris Thrasher
1bb494f4c0 Upgrade to stb_image 2.28 2023-03-23 19:11:24 -06:00
Chris Thrasher
6aaf132d41 Add support for installing with static libs when using DRM 2023-02-09 20:12:43 -07:00