Chris Thrasher
eeb43e4747
Use sf::Vector3f
to simplify Vulkan example
2024-09-12 15:18:44 -06:00
Chris Thrasher
44b5237148
Fix out of date documentation code
2024-09-12 14:37:07 -06:00
Chris Thrasher
7eab4606e0
Use standard CMake variables for Doxygen paths
2024-09-12 12:21:09 -06:00
Chris Thrasher
acc87dfd32
Simplify how Doxygen CMake variables are set
2024-09-12 12:21:09 -06:00
Vittorio Romeo
9c3fcd72d0
Use gender-neutral language in comments
2024-09-12 17:37:10 +02:00
Lukas Dürrenberger
016e201d17
Use backticks for SFML types in doc comments
2024-09-11 16:02:01 -06:00
Chris Thrasher
5e56f01612
Use macOS to build documentation
2024-09-11 16:02:01 -06:00
Chris Thrasher
ab109cd3cd
Use ON
and OFF
for CMake booleans
...
CMake supports a number of strings for truthy and falsey values.
ON/OFF and TRUE/FALSE are the most popular but 1/0 is also supported.
This is mostly a style choice but I'm inclined to believe that ON/OFF
is the most popular option and I'm generally in favor of style
choices that better align with the community at large.
2024-09-11 14:36:13 -06:00
Chris Thrasher
157d4d9163
Stop using deprecated DOXYGEN_EXECUTABLE
variable
...
This was deprecated in CMake 3.9.
See https://cmake.org/cmake/help/v3.22/module/FindDoxygen.html#variable:DOXYGEN_EXECUTABLE
2024-09-11 13:48:12 -06:00
Chris Thrasher
7fdce1235e
Link to migration guide from changelog
2024-09-10 12:03:01 -06:00
Chris Thrasher
2b4a72ee06
Fix more outdated references to Mac OS X
2024-09-09 23:42:26 -06:00
Lukas Dürrenberger
9f52cfec39
Change spelling of anti-aliasing
2024-09-09 18:37:00 -06:00
Lukas Dürrenberger
265a0cb03f
Rename Vector2 & Vector3 functions to better fit the naming convention
2024-09-08 12:09:32 -06:00
Chris Thrasher
61d78105e3
Assert against C-style string arguments being null
2024-09-05 22:02:55 -06:00
Chris Thrasher
74dfd76b25
Pass sf::Vector2<T>
by value in test code
2024-09-01 17:51:54 +01:00
Chris Thrasher
73e5abe583
Fix typo in migration guide
2024-09-01 08:59:58 -06:00
Chris Thrasher
b55327b5b9
Remove unused header
2024-08-31 16:46:47 -06:00
Chris Thrasher
a7f7026804
Fix Doxygen warning
2024-08-31 12:02:59 -06:00
Chris Thrasher
8ed98e337b
Treat Doxygen warnings as errors
2024-08-31 12:02:59 -06:00
ZXShady
44339c3d67
Fix event handling stack corruption on MSVC
2024-08-30 14:52:48 -06:00
Chris Thrasher
27943ea774
Disallow constructing sf::String
from std::nullptr_t
2024-08-30 09:55:55 -06:00
Chris Thrasher
705aa7e891
Add migration guide
2024-08-30 08:41:24 -06:00
Chris Thrasher
1bc2e81711
Fix incorrect clang-format documentation
2024-08-26 16:04:04 -06:00
Chris Thrasher
4a463ec136
Throw custom sf::Exception
type
2024-08-25 12:17:49 -06:00
Chris Thrasher
6589d5a847
Fix incorrect merge conflict resolution
2024-08-23 07:07:15 +01:00
Lukas Dürrenberger
e192d6e6f8
Merge branch '2.6.x' into master
2024-08-22 09:33:43 +01:00
rini c
d324367603
Warn about the current state of development in the pull request template ( #3199 )
2024-08-22 09:16:40 +01:00
Chris Thrasher
7d1d630457
Reimplement event assertions to loosen constexpr restrictions on event subtypes
...
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
2024-08-21 14:16:09 -06:00
Chris Thrasher
238cd2c56d
Merge remote-tracking branch 'origin/2.6.x' into feature/backmerge
2024-08-21 11:54:43 -06:00
Chris Thrasher
c6e0f1ad2b
Fix how macOS fullscreen video modes are detected
...
Co-authored-by: Lorenzooone <lollo.lollo.rbiz@gmail.com>
2024-08-21 11:40:40 -06:00
Jonny Paton
50ced215d0
gitignore vs folder
2024-08-20 15:50:14 +01:00
CosminPerRam
8f6a8316ad
chore: update stb_image from 2.29 to 2.30
2024-08-15 21:18:58 +01:00
Lukas Dürrenberger
fa9f991686
Mark standard library types as code in doc strings
2024-08-15 13:56:14 +01:00
CosminPerRam
6a94997ac9
chore: update catch2 from 3.6.0 to 3.7.0
2024-08-15 08:54:23 +01:00
Michal Tabaszewski
8096ba24fc
Rename getLoop() to isLooping() and setLoop() to setLooping()
2024-08-08 15:01:28 -06:00
Chris Thrasher
a71b3a497b
Remove use of deprecated ALooper_pollAll
2024-08-08 14:14:14 -06:00
binary1248
e185f6d53e
Replace factory functions with throwing constructors
2024-08-08 09:19:32 -06:00
binary1248
698f265277
(Re-)Introduce default constructors and load/open member functions for resource objects that can be reused.
2024-08-08 09:19:32 -06:00
Chris Thrasher
6b4da70e15
Remove use of deprecated ALooper_pollAll
2024-08-07 17:28:48 -06:00
Chris Thrasher
2a4ca6e053
Prevent crash when setting empty uniform array
...
The root of the problem is accessing the first element of an empty
array which reads out-of-bounds memory.
2024-08-01 14:03:58 -06:00
Chris Thrasher
dffdaa52a7
Pass sf::Color
s by value
2024-07-31 09:25:21 -06:00
Chris Thrasher
779b963530
Stop using macOS 11 images
2024-07-29 07:21:08 +02:00
Lorenzooone
03179abbf6
Fix issue with openal arm requiring vc_redist
2024-07-29 00:11:07 +02:00
Chris Thrasher
b50f62da43
Test constexpr construction of aggregates
2024-07-27 17:27:39 -06:00
ZXShady
8c895fd7e1
Pass sf::IpAddress
by value
...
`sf::IpAddress` is a wrapper around `std::uint32_t` and should be passed by value
2024-07-27 15:53:03 -06:00
ZXShady
d6acbf7efb
Update InputSoundFile.cpp ( #3177 )
2024-07-26 07:15:41 +02:00
ZXShady
a256c5cdcd
Remove useless attributes from implementation files ( #3175 )
2024-07-21 22:50:00 -06:00
Chris Thrasher
b0b4c7ff3d
Fix documentation regarding bit widths
2024-07-21 17:52:58 -06:00
Chris Thrasher
0831f055ce
Require that sf::WindowBase::handleEvents
receives at least one argument
2024-07-21 11:59:05 -06:00
Chris Thrasher
c8c8673259
Pass sf::Vector2<T>
s by value
...
As a rule of thumb, if the type is less than or equal to the CPU
register width times two then you ought to pass it by value. This
will lead to more efficient code generation.
2024-07-19 10:33:00 -06:00