Commit Graph

2901 Commits

Author SHA1 Message Date
binary1248
26b300f923 Fixed $GITHUB_WORKSPACE backslashes being escaped by bash when passed to the sh command. 2023-04-13 17:21:18 +02:00
vittorioromeo
c6226258db Improve test utility header compilation speed 2023-04-13 16:33:49 +02:00
Chris Thrasher
82b9821a8a Add clang-tidy bugprone-* checks 2023-04-12 19:53:36 -06:00
binary1248
9269edcccc Add OpenGL ES jobs to ci.yml. 2023-04-13 00:20:28 +02:00
binary1248
705307f725 Skip OpenGL version printout when test-sfml-window does not exist 2023-04-12 10:19:59 -06:00
binary1248
913d7358ac Don't repeatedly run test setup code 2023-04-12 10:19:59 -06:00
Chris Thrasher
038030aed3 Fix how CTest config is specified 2023-04-12 10:19:59 -06:00
Chris Thrasher
7a8192ada9 Fix bug where CTest failing did not fail CI job 2023-04-12 10:19:59 -06:00
Chris Thrasher
1da3e8015b Disable Xcode code signing via configuration parameter 2023-04-12 09:30:01 +02:00
Chris Thrasher
2d6d4a4e31 Allow for manually triggering CI 2023-04-10 17:48:15 -06:00
Chris Thrasher
6692284597 Force brew install to succeed 2023-04-10 10:08:13 -06:00
Chris Thrasher
cafaa1c153 Add clang-tidy performance-* checks 2023-04-10 10:08:13 -06:00
binary1248
ea4c448a85 Add support for installing and using the Mesa 3D library for OpenGL rendering. 2023-04-06 11:15:56 -06:00
Chris Thrasher
07001196eb
Clean up namespace usage
Always use std:: and always omit sf::
2023-04-06 08:45:46 -06:00
Chris Thrasher
f5e6c67daf Remove unnecessary std::string::c_str() calls 2023-04-06 14:33:49 +02:00
binary1248
61aeff13c9 Fixed wglGetProcAddress not providing OpenGL 1.1 functions when the context is provided by an Nvidia ICD. 2023-04-06 08:41:10 +02:00
Chris Thrasher
485d367a91 Inline sfml_add_external 2023-04-05 16:16:53 -06:00
binary1248
21af6fecf1 Fixed OpenGL entry points being loaded from OpenGL32.dll instead of failing to load if they are not provided by the vendor provided library on Windows. 2023-04-05 18:09:06 +02:00
Chris Thrasher
2c99b3343a Remove default sf::Text constructor 2023-04-05 09:54:56 -06:00
Chris Thrasher
57a40c531f Be explicit about when new keys are added to the map 2023-04-05 09:54:56 -06:00
Chris Thrasher
f3aac01744 Use structured bindings 2023-04-05 09:44:10 -06:00
Chris Thrasher
f371a99b39 Implement sf::String in terms of std::u32string 2023-04-04 15:47:34 -06:00
Chris Thrasher
93a8506498 Let compiler generated special member functions 2023-04-04 15:47:34 -06:00
Vittorio Romeo
988a38e0a9 Improve PCH by adding more commonly used headers 2023-04-04 23:36:24 +02:00
Jonathan De Wachter
6a3feda5ab Make EGL pixel format selection follow the same procedure as the other context types and make OpenGL context version parsing more tolerant of garbage data. Fixes #2395 2023-04-04 14:22:30 -06:00
binary1248
7004db1cd9 Added sf::RenderWindow, sf::Shader and sf::Window tests. 2023-04-04 10:27:21 +02:00
Chris Thrasher
ebe4b3c437 Add tests for sf::String 2023-04-03 21:23:43 -06:00
Chris Thrasher
14dbd3c899 Remove old workaround for MinGW's lack of unicode support
Dates back to 2009 when 78247bd38 was written. I'm going to assume
the situation has improved in the last 14 years. There are SFML
users who weren't even alive in 2009...
2023-04-03 21:23:43 -06:00
Chris Thrasher
06c5c50537 De-constexpr sf::String::InvalidPos
This fails to link on MinGW. Until that can be resolved we can go
back to a normal constant. Because this is just an integer it doesn't
matter all that much whether it's const or constexpr.
2023-04-03 21:23:43 -06:00
Jonny
741fe219da
Use built-in CMake support for iOS
* Use built-in iOS support for cmake and expand tests to cover more configurations
* Adjust CI builds
* Update examples version

---------

Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
2023-04-03 23:36:33 +02:00
Chris Thrasher
92e5a1e4e6 Implement move semantics for sf::Cursor 2023-04-03 01:02:26 -06:00
Lukas Dürrenberger
d500eee682
Merge branch '2.6.x' into master 2023-04-02 00:30:16 +02:00
Chris Thrasher
5ebba36d16
Merge branch '2.6.x' into feature/backmerge 2023-04-01 15:23:48 -06:00
binary1248
541e83ed12 Disable stringop-overflow warning when including minimp3 since it produces false positives. 2023-04-01 23:21:38 +02:00
binary1248
5048c4d801 Added sf::Texture tests. 2023-03-30 22:24:40 +02:00
Jim-Marsden
a8bc8cf889 Added move constructor, and move assignment operator. 2023-03-29 23:48:05 +02:00
Chris Thrasher
2d2f684786 Fix clang-tidy-16 errors 2023-03-28 19:54:06 -06: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
binary1248
25da9833c2 Fixed GlContext not being activated if it shares the same address as a previously destroyed GlContext. 2023-03-27 19:50:18 -06:00
binary1248
acba3e6165 Replaced xvfb-run with manually starting Xvfb and running fluxbox to emulate a window manager and combined test and coverage steps into a single step. 2023-03-27 19:46:07 -06:00
binary1248
ccda8a9db0 Reduce TransientContextLock overhead if there is already a context active on the current thread. 2023-03-24 10:42:02 +01:00
binary1248
05d9f2046a Since the CODECOV_TOKEN secret isn't being made available to every pull request, revert to having the Codecov uploader auto-detect. 2023-03-24 10:37:50 +01:00
Chris Thrasher
1bb494f4c0 Upgrade to stb_image 2.28 2023-03-23 19:11:24 -06:00
binary1248
b510042b0d Fixed Codecov uploader being run with the SHA of the merge commit instead of the HEAD commit when a job is run in a pull request context. 2023-03-23 09:57:58 -06:00
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