Chris Thrasher
3ccdaca389
Use char32_t
for UTF-32 characters
...
This is probably an oversight from https://github.com/SFML/SFML/pull/2480
2024-11-24 08:47:51 -07:00
Chris Thrasher
832c608a5b
Provide minimum compiler versions to compile SFML 3
...
These are estimates. We don't necessarily have access to all prior
compiler releases and don't continuously test with these old
compilers so it's possible that we accidentally drop support in a
future v3 release even without raising the minimum C++ requirement.
2024-11-20 16:32:11 -07:00
Lukas Dürrenberger
4d09b8fd61
Revert "Stop uploading code coverage from non-pull request CI runs"
...
This reverts commit 46a1b568a9
as it seems
to cause wrong reporting on pull request coverage info, likely due to
missing baselines from the master branch "push".
2024-11-19 18:42:33 -07:00
Chris Thrasher
6ece7bdc9b
Mention the removal of sf::SoundStream::setProcessingInterval
2024-11-19 17:12:37 -07:00
Lukas Dürrenberger
cbc43da1d7
Merge branch '2.6.x' into master
2024-11-19 22:10:15 +00:00
Chris Thrasher
f648ae8f35
Merge branch '2.6.x' into feature/backmerge
2024-11-19 13:02:44 -07:00
Andrew Mickelson
55ecc6498a
Fix DRM mode setting to use SFML window dimensions
...
- Actually use the dimensions of the SFML window as the DRM mode
dimensions when setting a DRM mode.
- If SFML window dimensions don't match a valid DRM mode, show
the window contents on screen in the current mode instead of
simply failing to show anything.
- With these change the SFML examples are now working for me
2024-11-19 11:05:47 -07:00
Chris Thrasher
9aca44d704
Catch changelog up to the current state of trunk branch
2024-11-17 17:25:56 -07:00
Chris Thrasher
ed24853b90
Update changelog for SFML 3.0.0
2024-11-17 15:24:57 -07:00
Chris Thrasher
d8c66ffc8d
Remove backticks which are not correctly formatted
2024-11-17 12:58:27 -07:00
Chris Thrasher
e21ba4dc95
Add more robust tests for sf::Music::setLoopPoints
2024-11-12 00:43:59 -07:00
Lukas Dürrenberger
5383d2b394
Update SFML version to 2.6.2
2024-11-09 21:00:47 +00:00
Lukas Dürrenberger
39cf24ba36
Update changelog for 2.6.2
2024-11-09 21:00:47 +00:00
Lukas Dürrenberger
58085efb29
Close the open window first
...
This prevents race conditions where for a brief moment two different
window implementations can exist and cause uniqueness issues
2024-11-09 16:40:12 +00:00
acsbendi
15e001608a
Fixed wrong fullscreen resolution
2024-11-09 16:04:54 +00:00
Andrew Mickelson
34b6bda233
[drm] Fix DRM mode setting to use SFML window dimensions
...
- actually use the dimensions of the SFML window as the DRM mode
dimensions when setting a DRM mode.
- If SFML window dimensions don't match a valid DRM mode, show
the window contents on screen in the current mode instead of
simply failing to show anything.
- With these change the SFML examples are now working for me
2024-11-09 15:57:06 +00:00
kimci86
dff83039aa
Do not combine \a with backticks in doxygen comments
...
Using \a command displays the next word in italics ignoring the markdown
format so \a `something` display `something` in italics including
backticks.
Removing \a so that backticks are properly interpreted.
2024-11-08 19:58:22 -07:00
kimci86
799ca304ce
Format index argument as code in shapes getPoint/setPoint documentation
...
We do the same in sf::Text::findCharacterPos documentation already.
2024-11-08 19:58:22 -07:00
kimci86
a8b0f6fb70
Emphasize words in documentation with markdown syntax
2024-11-08 19:58:22 -07:00
kimci86
25fde58395
Fix doxygen brief description of sf::Angle user-defined literals
...
Otherwise the brief description ends at "e.g."
2024-11-08 19:58:22 -07:00
kimci86
6f16e3d701
Do not put backticks after \relates doxygen command
...
to fix unwanted backticks appearing in generated HTML
2024-11-08 19:58:22 -07:00
Chris Thrasher
07875320fe
Add missing backtick
2024-11-08 17:00:25 -07:00
Chris Thrasher
06108ddf18
Add missing backtick
...
https://github.com/SFML/SFML-Website/pull/234#issuecomment-2465666419
Co-authored-by: kimci86 <kimci86@hotmail.fr>
2024-11-08 14:56:31 -07:00
Chris Thrasher
1df88e5664
Update migration guide
2024-11-06 11:11:45 -07:00
Chris Thrasher
8758649b5d
Add tests for sf::Listener
2024-11-01 13:51:06 -06:00
Chris Thrasher
fa28722ff7
Improve const correctness
2024-10-30 16:21:40 -06:00
Michał Zawiślak
aef34af556
Update migration.md
...
Fixing KeyPresssed typo
2024-10-25 17:31:38 +02:00
Chris Thrasher
18eb48b13e
Disallow C-style arrays
2024-10-17 21:40:41 -06:00
Chris Thrasher
c38b98c653
Upgrade to clang-format-17
2024-10-16 16:41:15 -06:00
Nicolas Caramelli
7a8d75b7ac
Add support to test the vulkan example on CPU
2024-10-14 12:13:36 +02:00
Chris Thrasher
cabc36b8a4
Reduce the scope of variables
2024-10-14 12:13:07 +02:00
Chris Thrasher
56f9ee2b40
Remove unnecessary static_cast
s
2024-10-14 12:10:43 +02:00
Chris Thrasher
bf3fb0bc3e
Prefer standard fixed width integers to Miniaudio's integer aliases
2024-10-10 16:26:01 -06:00
Lukas Dürrenberger
758f0804b8
Add GitHub Sponsors and OpenCollective buttons
2024-10-09 17:22:05 +02:00
ZXShady
04b1808522
Use eglCheck
macro as an expression instead of a statement
...
Applies missed changes in pr #3239
2024-10-09 11:46:53 +02:00
Chris Thrasher
da1f652c22
Remove unnecessary semicolons
2024-10-08 10:30:54 +02:00
ZXShady
f8d77ea822
Make true and false keywords lowercase and monospaced in docs
...
Continues the work of pr #3213
2024-10-08 10:26:22 +02:00
Chris Thrasher
46a1b568a9
Stop uploading code coverage from non-pull request CI runs
2024-10-08 08:32:42 +02:00
ZXShady
d9f3634750
Remove unnecessary trailing return types
...
The lamdba can deduce the return type correctly having it deducing it
automaticly makes less rooms for mistakes later when we change the impl.
2024-10-07 23:01:34 -06:00
ZXShady
e8f59f9d4c
Remove empty lamdba parenthesis
2024-10-07 21:01:24 -06:00
ZXShady
eeef7f9e02
Remove unnecessary friend declarations
...
These functions do not access any private functions they do not need to be `friend`ed
2024-10-06 13:08:22 -06:00
ZXShady
26eb6348e5
Remove unneeded function prefix in implementation files
...
I used nested namespaces from C++17 instead, of having to specify the namespace for the function implementation.
2024-10-06 12:57:47 -06:00
ZXShady
5ed16195b3
Use correct iterator comparison
...
Switching the iterator comparison used lowers the requirement for
iterators from *RandomAccessIterators* to *ForwardIterators*, which is a
benefit. It is also more accurate; instead of saying "if `begin` is less
than the end, stop." it states "if `begin` is not equal to end, stop."
Additionally, the old '<' did not protect us from undefined behavior because it is
undefined to compare two iterators relationally that are not:
1. past the end
2. within the array
2024-10-06 11:36:00 -06:00
ZXShady
d4ee28c441
Use initializer list instead of assigning in body
2024-10-05 11:31:21 -06:00
Lukas Dürrenberger
9af5d87ac8
Merge 2.6.x to master
2024-10-05 19:08:50 +02:00
ZXShady
72207a63ef
Use inherited constructors instead of constructor delegation
...
sf::Exception can use the inheriting constructors functionality instead of a constructor delegating to the parent constructor.
I removed Exception.cpp as it is not needed anymore.
2024-10-05 10:22:49 -06:00
ZXShady
9169e11195
Remove unneeded class prefixes
2024-10-05 09:41:45 -06:00
ZXShady
8fd67a0d99
Remove wrong comment
...
There is no explicit scope made specifically for an RAII variable, so I removed the comment
2024-10-05 13:37:06 +01:00
Lukas Dürrenberger
d1e98a9600
Merge branch '2.6.x' into master
2024-10-05 00:02:57 +02:00
ZXShady
cfc43f50a7
Use sf::VertexArray.clear instead of .resize(0)
2024-10-04 10:43:35 -06:00