Commit Graph

2957 Commits

Author SHA1 Message Date
Chris Thrasher
bc5ddb3495 Don't automatically build docs
This means you can leave the docs enabled in the build without being
constantly spammed by all the console output that entails.

https://salsa.debian.org/games-team/libsfml/-/blob/master/debian/patches/02_build-doc-once.patch
2023-03-23 09:57:16 -06:00
Chris Thrasher
2df79840c4 Remove commented out CSS tag
https://salsa.debian.org/games-team/libsfml/-/blob/master/debian/patches/01_remove-googleapi-css.patch
2023-03-23 09:57:16 -06:00
Chris Thrasher
10584485a3 Export symbol required to use sfml-activity 2023-03-22 21:18:02 -06:00
binary1248
6ca627ee9d Manually upload coverage report instead of using codecov-action. 2023-03-19 16:21:55 -06:00
Vittorio Romeo
641cf54cc3 Use 'std::optional' in 'transientContext' 2023-03-14 22:24:58 -06:00
Vittorio Romeo
33e96657b7 Remove redundant 'reset' calls in 'TransientContext` destructor 2023-03-14 20:26:11 -06:00
Chris Thrasher
0b62543942 Don't automatically run tests after build
The runtests target must be used on Windows for the sake of code
coverage. However we can't use that target on all other platforms
because on some non-Windows platforms like Android, the tests don't
even get configured. If you try to build a target that doesn't exist
you get a hard failure. Using CTest is better because it will still
return zero even if no tests are found as is the case on Android.
2023-03-14 20:23:17 -06:00
Chris Thrasher
b6c54ac589 Use unity builds to speed up clang-tidy runtime 2023-03-14 10:08:23 -06:00
Lukas Dürrenberger
90f05ac4e8 Switch to using Documentation IP ranges in tests
Documentation IP ranges are define in RFC 5737 and are 'safe' address
for documentation purposes
2023-03-09 16:40:01 -07:00
binary1248
f4e0c4b4c0 Make moving Shapes, swapping Textures and swapping VertexBuffers noexcept. 2023-03-07 16:32:35 -07:00
Chris Thrasher
66bec29aff Remove unreachable code 2023-03-07 16:07:02 -07:00
Chris Thrasher
a100f847d5 Replace std::rand with <random> 2023-03-07 13:23:12 -07:00
binary1248
42a53cfb1d Make use of CODECOV_TOKEN in ci.yml in order to work around Github Actions API errors that occur. 2023-03-07 10:03:34 +01:00
metaquarx
474de4d16e Allow setting window icon with sf::Image 2023-02-21 15:48:33 -07:00
Vittorio Romeo
698b7ee49f Remove unused headers and reduce physical dependencies 2023-02-20 23:30:25 +01:00
Chris Thrasher
5bd3722598 Fix sf::Rect docs 2023-02-19 17:40:03 -07:00
Chris Thrasher
0e1d33f910 Test install interface with frameworks 2023-02-17 00:28:58 -07:00
Chris Thrasher
41aa062272 Add modernize-use-auto clang-tidy check 2023-02-15 09:42:50 -07:00
Chris Thrasher
2a2ddee221 Disable unreliable tests 2023-02-15 09:39:11 -07:00
Chris Thrasher
9d0b2ba592 Add tests for sf::Cursor 2023-02-14 07:34:07 -07:00
Chris Thrasher
cdf8ab38fb Add tests for sf::VertexBuffer 2023-02-13 11:47:53 -07:00
Chris Thrasher
0a08e903dc Assert extension string is not null 2023-02-12 14:03:31 -07:00
Chris Thrasher
949d9f44e1
Simplify implementation of sf::Clock 2023-02-11 14:02:22 -07:00
Lukas Dürrenberger
6dd5f69d16
Merge 2.6.x to master 2023-02-10 09:33:03 +01:00
Chris Thrasher
7c825b182f
Test install interface for Static DRM builds 2023-02-09 20:24:58 -07:00
Chris Thrasher
5e75336753
Merge remote-tracking branch 'origin/2.6.x' into feature/backmerge 2023-02-09 20:22:56 -07:00
Chris Thrasher
6aaf132d41 Add support for installing with static libs when using DRM 2023-02-09 20:12:43 -07:00
Chris Thrasher
04483c58d9 Build sfml-main with position-independent code 2023-02-08 14:37:17 -07:00
Chris Thrasher
2af65286b7 Add tests for sf::WindowBase 2023-02-08 00:22:42 -07:00
Chris Thrasher
347b306d21 Don't terminate DRM display if it's null 2023-02-08 00:22:42 -07:00
Chris Thrasher
ef20b58895 Enable display tests for non-DRM Linux builds
I think this was an oversight. These jobs already run with xvfb-run
so we ought to be including the display-dependent tests.
2023-02-08 00:22:42 -07:00
kimci86
205794eb3f Explicitly specify required X11 components 2023-02-07 17:21:34 -07:00
Chris Thrasher
eb162df723 Use X11's find module
Added in CMake 3.14 so this wasn't accessible in prior versions of
SFML
2023-02-06 15:12:58 -07:00
Chris Thrasher
938e90b7d2 Use std::string_view for parameter type 2023-01-31 17:02:13 -07:00
Chris Thrasher
218fccd926 Don't install CMake on Android 2023-01-30 17:27:45 -07:00
OURABIG
7a50075a8b changes this UPPER_CASE CMake function names to lower_case. CONFIGURE_FILE becomes configure_file and INSTALL becomes install. 2023-01-30 16:42:16 -07:00
Thibaut PONCHON
642d981acf Replace std::strcmp by std::string_view::operator==
clang-format validation pass

Remove unecessary cstring include
2023-01-29 12:10:34 -07:00
Chris Thrasher
401615f5e6 Use Ninja in CI 2023-01-29 11:14:10 -07:00
Chris Thrasher
0f2671a25c Add more clang-tidy checks 2023-01-25 14:53:33 -07:00
tverrbjelke
7074849814 Fixes Typo in documentation of WindowBase
modified:   include/SFML/Window/WindowBase.hpp
2023-01-25 10:07:16 -07:00
Andreas Hüwel
8737bbe970 Fixses mostly unimportant typo in documentation of WindowBase
modified:   include/SFML/Window/WindowBase.hpp
2023-01-25 10:07:16 -07:00
Chris Thrasher
0c418dce4d Use std::unordered_map 2023-01-25 10:06:03 -07:00
Chris Thrasher
9f08d67dcc Convert scancodes into a scoped enumeration 2023-01-25 10:06:03 -07:00
Chris Thrasher
17a8e9e2c2 Tweak formatting 2023-01-25 10:06:03 -07:00
Chris Thrasher
5ce82f3ef4 Fix copyright years 2023-01-25 10:06:03 -07:00
Chris Thrasher
77e429e6d7 Use std::map::emplace 2023-01-25 10:06:03 -07:00
Chris Thrasher
31d946baa0 Convert empty struct to namespace 2023-01-25 10:06:03 -07:00
Chris Thrasher
72cd8781bb Remove deprecated keycodes 2023-01-25 10:06:03 -07:00
Jim-Marsden
976bbda911 Drawable Test 2023-01-24 16:27:11 -07:00
Norm Evangelista
4c8b770992 Replaced anonymous enums with constexpr per #2328
Addressed review comments


Addressed review comments


Changed NOLINTBEGIN/END to NOLINTNEXTLINE


Addressed CI complaint


Fixed BSD CI issues
2023-01-24 16:15:16 -07:00