Commit Graph

2696 Commits

Author SHA1 Message Date
Mario Liebisch
d313636448
Fixed one more GCC complaint 2022-10-28 22:46:57 +02:00
Mario Liebisch
174a7f9391
Updated the Tennis example to properly support touch input outside iOS/fullscreen 2022-10-28 22:31:52 +02:00
Mario Liebisch
d8dd4b9bf9
Simplified the Windows touch implementation 2022-10-28 22:31:34 +02:00
Mario Liebisch
3e1031e3d4
Pushed minimum Windows version to Windows 7 2022-10-28 22:31:33 +02:00
Mario Liebisch
d5ac834bae
Added multi-touch support for Windows 2022-10-28 22:31:27 +02:00
Jan Haller
0e16627677 Turn off Codecov annotations
Those annotations create enormous clutter in diff views on GitHub, making PR reviews complicated.
Since we are currently not headed toward 100% coverage, they provide little benefit.
2022-10-28 16:36:50 +02:00
Lukas Dürrenberger
6bd362ea7e
Merge pull request #2262 from 2.6.x
Back merge latest 2.6.x changes
2022-10-25 20:10:51 +02:00
Lukas Dürrenberger
d4d518e1be Merge branch '2.6.x' into master 2022-10-25 19:17:35 +02:00
Chris Thrasher
c1064bae92 Lock 2.6.x branch to macOS 11 images
The macos-latest image recently upgraded to macOS 12. This includes
the iOS 16 SDK which deprecates some features which we're using. The
short term fix is to just keep using macOS 11 for 2.6.x.
2022-10-25 18:18:46 +02:00
kimci86
f796205a21 Process events in order to avoid X11 input method being confused 2022-10-24 23:14:48 +02:00
kimci86
b11328f386 Fix duplicated KeyPressed events with X11
Co-authored-by: Edgaru089 <sjs333@outlook.com>
2022-10-24 23:14:48 +02:00
Chris Thrasher
cd985e37d2 Enforce parameter case 2022-10-24 12:53:29 +02:00
Subs
65ef0619c8 [DRM] Use the current resolution
In order to prevent an unnecessary modeswitch and use the current TTY resolution, don't use the preferred mode reported by DRM. This is useful for people who set a custom resolution at boot and are forced into the monitor's preferred resolution when a SFML DRM app starts
2022-10-24 00:16:32 +02:00
Chris Thrasher
33e82e1262 Start enforcing naming style 2022-10-23 17:32:13 +02:00
Jonny Paton
e4bffe5b84 Rename test files to be unique 2022-10-23 16:39:12 +02:00
Subs
1d12c56332 [DRM] Use a GFX card with connected monitors 2022-10-20 00:19:30 +02:00
Lukas Dürrenberger
3af9168d03 Add 32-bits Visual Studio builds to the CI 2022-10-19 14:38:42 +02:00
Chris Thrasher
80b45d4725 Add custom target for running clang-tidy 2022-10-17 18:29:56 -06:00
Chris Thrasher
3d02d490bd Hide doctest sources from compile commands database
This ensure that tools like run-clang-tidy don't try to analyze them
and better mimmicks how Doctest would behave if we were depending on
Doctest via find_package instead.
2022-10-17 18:29:56 -06:00
Chris Thrasher
fc61f2469d Update code coverage action 2022-10-16 16:14:03 -06:00
Chris Thrasher
e0b6053b15 Update checkout action 2022-10-16 16:14:03 -06:00
Chris Thrasher
229e3f61f4 Use doctest-provided main implementation 2022-10-16 14:55:33 -06:00
Chris Thrasher
e4f81af337 Test install interface
Skip Android, iOS, and Framework builds simply because I can't get
them to work and don't want that holding up getting the rest of the
install tests merged.

Skip the Static DRM install test because there's a bug in the install
that needs to be fixed.
2022-10-15 09:07:49 +02:00
Lukas Dürrenberger
8f54a3e97c
Merge pull request #2244 from SFML/2.6.x
Backmerge 2.6.x to master
2022-10-14 16:53:16 +02:00
Chris Thrasher
a5dbe59f07
Merge branch '2.6.x' 2022-10-13 14:33:11 -06:00
Chris Thrasher
5cd8a164dd Use list(APPEND more 2022-10-12 00:23:35 +02:00
Chris Thrasher
46b9c79b77 Link to latest CMake docs 2022-10-12 00:23:35 +02:00
Chris Thrasher
ff685de1bf Ensure add_custom_command uses VERBATIM
https://cmake.org/cmake/help/latest/command/add_custom_command.html

"Use of VERBATIM is recommended as it enables correct behavior."

The docs basically say that this is required.
2022-10-12 00:23:35 +02:00
Chris Thrasher
88f9a33479 Use PROJECT_ variables 2022-10-12 00:23:35 +02:00
Chris Thrasher
b848a7b29a Only reference the project's directories, not parent directories 2022-10-12 00:23:35 +02:00
Chris Thrasher
5e880a2511 Fix directory install rules
-- Installing: /Users/runner/work/SFML/SFML/install/./include
-- Installing: /Users/runner/work/SFML/SFML/install/./include/SFML

becomes

-- Installing: /Users/runner/work/SFML/SFML/install/include
-- Installing: /Users/runner/work/SFML/SFML/install/include/SFML

Likewise for installing lib/
2022-10-12 00:23:35 +02:00
Chris Thrasher
fc0bd0bfc8 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.
2022-10-12 00:23:35 +02:00
Chris Thrasher
f5a3442ba6 Remove macOS architecture checks
You cannot buy anything but a 64 bit x86 or ARM Mac today so there
is no need to ensure that one of these two architectures is being
used. It's definitely one of the two.
2022-10-12 00:23:35 +02:00
Radek Dutkiewicz
2503b00299 Fix compile on linux with gcc 12.2.0
Undefined NUL
2022-10-11 15:30:23 +02:00
Chris Thrasher
9feef3708d Test existence of copy and move semantics 2022-10-10 11:46:55 -06:00
Vittorio Romeo
fd5c358c98 Add PCH builds via 'SFML_ENABLE_PCH' CMake option 2022-10-09 14:21:11 +02:00
Chris Thrasher
7a5b862fd0 Consolidate redundant gl.h headers 2022-10-09 13:04:24 +02:00
Vittorio Romeo
58b4346895 Add '[[nodiscard]]' to 'IpAddress::resolve' 2022-10-07 14:37:53 +02:00
Vittorio Romeo
753644a5bd Fix CMake formatting inconsistencies 2022-10-06 20:33:40 +02:00
Vittorio Romeo
e948a5f41e Improve static initialization of vectors 2022-10-06 19:58:10 +02:00
Chris Thrasher
0e475f3f50 Test reinterpreting an sf::Color as a std::uint8_t* 2022-10-05 20:26:25 +02:00
Chris Thrasher
939ec267df Improve const correctness 2022-10-01 23:19:52 +02:00
Chris Thrasher
e44a4b305d Simplify operator<< implementations 2022-10-01 23:19:52 +02:00
Chris Thrasher
25fa30afc6 Make test case names more readable
Test output now shows the module name left-aligned so you can easily
browse to see what modules have what tests and know what module a
failing test is coming from.
2022-10-01 23:19:52 +02:00
Chris Thrasher
acabaadc0b Remove unnecessary sf:: usage 2022-10-01 23:19:52 +02:00
Chris Thrasher
28a4a88832 Add more tests for sf::Packet 2022-10-01 12:35:29 -06:00
Chris Thrasher
12aaa4d08a Use macros for test abstractions to preserve line number information 2022-10-01 12:35:29 -06:00
Chris Thrasher
abc8d858c3 Only include header under test 2022-10-01 12:35:29 -06:00
kimci86
d0cf86d516 Fix minor inconsistency in type cast in voip example
because m_samples is a vector of Int16 values.
2022-10-01 19:51:48 +02:00
kimci86
01fc55ba37 Include InputStream.hpp directly in SoundFileReaderMp3.cpp
instead of indirect inclusion through MemoryInputStream.hpp
2022-10-01 19:50:57 +02:00