abd-ennour
7af8719a49
Add missing "#pragma once" directive to src/SFML/Network/SocketImpl.hpp.
2023-06-03 15:28:38 -06:00
MetGang
8835f42589
Make sf::Clock
pausable
2023-06-02 11:32:04 -06:00
binary1248
b39be46db0
Moved most variables in sfml-graphics, GlResource and GlContext out of namespace scope.
2023-06-02 10:22:48 -06:00
abd-ennour
6a3e44bc4d
Added missing doxygen tag \return in a function "[[nodiscard]] bool open(sf::InputStream& stream, Info& info) override;" and missing comments "// namespace <namespace>" in Window/WindowBase.cpp and ALCheck.cpp.
2023-06-02 16:45:46 +02:00
Chris Thrasher
da8614cb2f
Test MinGW build in CI
2023-05-31 10:26:50 -06:00
Chris Thrasher
53e2fab582
Prefer named colors
2023-05-25 17:08:42 -06:00
Chris Thrasher
865a50899c
Test for correct network ordering of packets
2023-05-22 08:51:37 -06:00
Chris Thrasher
e5b85fc9b7
Remove workaround for supporting old versions of Visual Studio
2023-05-22 08:50:28 -06:00
Chris Thrasher
d131beb0fd
Fix misspellings
...
I used the Python tool codespell to find these
2023-05-21 14:37:46 -06:00
Chris Thrasher
fe2ca0b82e
Fix clang-tidy-16 failures
2023-05-21 11:59:52 -06:00
Chris Thrasher
33030e94d9
Use std::byte
2023-05-21 02:21:44 -06:00
Chris Thrasher
48a37230d4
Fix typo in log message
2023-05-20 18:32:14 -06:00
Chris Thrasher
e6cc75f8a6
Fix how we specify CATCH_CONFIG_FAST_COMPILE
...
Fixes a warning that was emitted about how we were doing this wrong
after CMake policy 0077 was added.
2023-05-18 10:43:58 -06: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
Ted Lyngmo
9855552f64
Add sf::Shape::getGeometricCenter()
...
This adds
virtual Vector2f getGeometricCenter() const = 0;
Signed-off-by: Ted Lyngmo <ted@lyncon.se>
2023-05-15 16:13:39 -06:00
Ted Lyngmo
f95d159711
Fix build failure when using g++ (GCC) 13.1.1
...
This fixes #2550
Signed-off-by: Ted Lyngmo <ted@lyncon.se>
2023-05-15 10:34:34 -06:00
Chris Thrasher
e4db2b4de6
Manage AAsett*
with std::unique_ptr
2023-05-14 14:35:49 -06:00
Chris Thrasher
1e9161b57e
Use C++ headers
2023-05-13 18:55:51 -06:00
Chris Thrasher
a5135271cb
Remove reference to deleted file
2023-05-13 18:08:54 -06:00
Chris Thrasher
f6dfc04938
Switch to Catch2
2023-05-13 12:38:11 -06:00
Chris Thrasher
b14d0b47e6
Fix broken sf::swap
overloads
2023-05-13 12:20:44 -06:00
Chris Thrasher
98a59d62c7
Upgrade to CMake 3.22
2023-05-13 12:09:09 -06:00
Chris Thrasher
27249d42ed
Add sf::WindowBase::set{Min|Max}imumSize()
...
Co-authored-by: Shane Whitmire <dogunbound5@gmail.com>
Co-authored-by: michael.david.howard@outlook.com <michael.david.howard@outlook.com>
2023-05-12 14:36:06 -06:00
JS Fauteux
c45f6378d6
Remove Codecov binary GPG check
...
This started randomly failing on macOS one day. We're not sure why
it started failing but we think it's relatively unimportant so we
can get rid of it.
2023-05-11 17:29:31 -06:00
Chris Thrasher
fb1cfdc48d
Add misc-const-correctness
clang-tidy check
2023-05-04 16:22:03 -06:00
Chris Thrasher
29863b14a5
Remove default sf::Sprite
constructor
2023-05-03 13:33:42 -06:00
Chris Thrasher
839ad6cf70
Emit resize event any time size changes
...
Fixes bug where resize events only got triggered upon manual window
resizing OR if one called setSize with a height that was too large.
2023-04-30 17:52:27 -06:00
BlackyDrum
c2e065b9bc
Fix typo in 'Http.hpp'
2023-04-29 16:34:24 -06:00
Chris Thrasher
92dbac623b
Document precision limitation of sf::sleep
2023-04-28 15:01:11 -06:00
Chris Thrasher
1c5c8ad700
Add tests for sf::sleep
2023-04-28 15:01:11 -06:00
vittorioromeo
cbfa9cbb65
Reorder includes hierarchically
2023-04-25 17:25:33 +02:00
Chris Thrasher
97c00d42ad
Enable clang-tidy modernize-pass-by-value
check
2023-04-24 15:12:53 +02:00
Vittorio Romeo
1dbffc6626
Fix typo in 'Font.cpp'
2023-04-24 12:43:08 +02:00
vittorioromeo
973055c1f5
Implement 'getFullscreenModes' more concisely
2023-04-24 11:40:46 +01:00
vittorioromeo
2af0ba66f1
Fix errors and warnings in templates
2023-04-24 11:40:38 +01:00
alireza
5480bf8a93
Fixed move semantics for sf::Cursor and added test for it
2023-04-22 18:29:05 +02:00
Jan Wojciechowski
692fe84331
Fix condition for trailing bytes count in UTF-8 decoder. Test added to check if a replacement characters is added to output.
2023-04-19 23:52:38 +02:00
vittorioromeo
230c6a4d57
Simplify 'FontHandles' management
2023-04-19 16:32:49 +01:00
Chris Thrasher
31c4b9472a
Add clang-tidy bugprone-incorrect-roundings
check
2023-04-16 10:47:47 -06:00
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
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
Chris Thrasher
2d6d4a4e31
Allow for manually triggering CI
2023-04-10 17:48:15 -06:00