Lukas Dürrenberger
121fa9cf74
Revert "Simplify/optimize sf::AudioResource
implementation"
...
This reverts commit cede2def8b
as it's
still possible to force a wrong destruction order.
2024-07-04 22:05:28 +02:00
Chris Thrasher
fbd8407a5f
Enable moving windows
2024-06-30 16:50:32 -06:00
Chris Thrasher
7556d1be78
Move fullscreen window bookkeeping to a lower level
2024-06-30 16:50:32 -06:00
Chris Thrasher
51b8b44e14
Use more [[nodiscard]]
2024-06-27 19:02:46 -06:00
binary1248
742beeabfe
Added assert that a texture is valid when attempting to bind it.
2024-06-27 15:48:45 -06:00
Chris Thrasher
e1469aa8f2
Use [[nodiscard]]
in more places
2024-06-27 15:12:15 -06:00
Chris Thrasher
d7eeaea240
Add clang-tidy readability-else-after-return
check
2024-06-27 12:17:03 -06:00
binary1248
be63ffa8d4
Fixed SoundEffects example allocating effect processor resources based on source channel count instead of engine channel count.
2024-06-27 08:17:23 +02:00
Lukas Dürrenberger
1bf092fe6d
Merge branch '2.6.x' into master
2024-06-26 08:56:03 +02:00
Zombieschannel
98493bdf51
ARM64 support for SFML
...
Added dlls, libs and changed CMake files.
2024-06-25 23:17:36 +02:00
vittorioromeo
6ab03cc3ee
Improve sf::Event
documentation and parameter naming
2024-06-25 14:54:41 -06:00
kimci86
fca4fa1aa2
Rename Font::loadFromFile into Font::openFromFile
...
Similar renaming for Font::loadFromMemory and Font::loadFromStream.
The goal is to better express the need to keep the source available,
similar to Music::openFromFile for example.
2024-06-25 22:53:28 +02:00
vittorioromeo
af4e2d6726
Add support for UCRT64 MinGW environment
2024-06-25 21:49:44 +02:00
Jonny Paton
c7f6ad6127
Fix SFML_USE_STATIC_STD_LIBS behaviour with newer cmake. As the flags aren't always included in the defaults instead of replacing we must strip existing (if present) then add the correct flag
2024-06-25 11:12:16 -06:00
Chris Thrasher
7034e40ccc
Document missing parameter
2024-06-24 14:14:08 -06:00
Chris Thrasher
913021e294
Fix oversights from 2992
2024-06-24 12:51:44 -06:00
Vittorio Romeo
cede2def8b
Simplify/optimize sf::AudioResource
implementation
2024-06-24 15:27:34 +02:00
Chris Thrasher
14cff7406f
Disallow construction from const T&&
2024-06-23 16:55:37 -06:00
vittorioromeo
86c1a71a93
Remove default empty state of sf::Event
2024-06-23 19:11:10 +02:00
vittorioromeo
db245a440f
Enable standard library assertions in CI
2024-06-23 08:37:06 +02:00
Lukas Dürrenberger
0a6d44fff1
Use built-in CMake support for iOS
...
* Use built-in iOS support for cmake and expand tests to cover more configurations
* Adjust CI builds
2024-06-22 21:51:37 +02:00
Lukas Dürrenberger
59c4eba0e5
Update checkout action to the latest version
2024-06-22 21:51:37 +02:00
Lukas Dürrenberger
32bfb30293
Update macOS GitHub Actions images
2024-06-22 21:51:37 +02:00
binary1248
dfd14dbc1b
Fixed cache state not correctly being ignored when switching between RenderTargets within a single context.
2024-06-21 21:39:55 +02:00
Chris Thrasher
f05baef521
Fix oversights from 735f2d9
2024-06-19 17:07:58 -06:00
Chris Thrasher
447e7b3844
Replace static_cast
s with vector operations
2024-06-19 06:24:40 -06:00
Chris Thrasher
6f5711e799
Decrease test precision to reduce flakey failures
...
Sometimes this job fails. Perhaps it needs to be resructured or
removed if we can't figure out how to make it more reliable.
https://github.com/SFML/SFML/actions/runs/9569223439/job/26381302304?pr=3106#step:21:137
2024-06-18 14:02:57 -06:00
Chris Thrasher
735f2d972d
Replace sentinel values with std::optional
2024-06-18 12:35:29 -06:00
Chris Thrasher
8805b93c57
Work around errors with code coverage upload job
2024-06-18 11:04:39 -06:00
kimci86
eb762db342
Fix sf::VideoMode usage example
2024-06-18 06:13:15 -06:00
Chris Thrasher
d99d673330
Use std::
namespace
2024-06-17 16:10:04 -06:00
Chris Thrasher
5580720ae0
Fix inconsistent factory function name
2024-06-17 10:10:00 -06:00
vittorioromeo
16e9ae131d
Fix poor setPlayingOffset
precision (missing float
conversion)
2024-06-16 23:13:26 +02:00
kimci86
66ecf34356
Create a new font page in Font::loadPage only when needed
2024-06-16 20:23:45 +02:00
kimci86
f96bf1f300
Rename Rect comparison operands to avoid confusion
2024-06-16 02:48:53 +02:00
kimci86
58e83056bb
Some simplifications taking advantage of Rect position and size members
2024-06-16 02:48:53 +02:00
kimci86
65c0a8183c
Simplify Rect unit tests
2024-06-16 02:48:53 +02:00
kimci86
1fd510c4bf
Update Rect documentation
2024-06-16 02:48:53 +02:00
kimci86
c371bc6816
Remove Rect getPosition and getSize methods
2024-06-16 02:48:53 +02:00
kimci86
7e5ed78219
Replace Rect members left, top, width, height by position and size
2024-06-16 02:48:53 +02:00
vittorioromeo
e7b23ffcd1
Add timeout
parameter to waitEvent
2024-06-14 15:00:46 +02:00
vittorioromeo
51efe50ec4
Simplify sf::Sprite
implementation and reduce branches
2024-06-13 00:31:49 +02:00
Chris Thrasher
2f54312481
Fix documentation bugs
2024-06-12 14:38:04 -05:00
Lukas Dürrenberger
da17ec4f11
Fix void return value on a void function
2024-06-12 12:44:40 -05:00
Lukas Dürrenberger
8428fcac18
Revert "Disable problematic MSVC mutex flag temporarily"
...
This reverts commit 3263ef8455
.
2024-06-12 12:44:40 -05:00
Lukas Dürrenberger
c71d456550
Revert "Update LLVM on Windows manually"
...
This reverts commit 84a448f495
.
2024-06-12 12:44:40 -05:00
Chris Thrasher
304a7c1d69
Remove default empty state of sf::FileInputStream
2024-06-11 07:31:09 -05:00
copyrat90
37ac80dbe5
Update documentation of creating Music and Cursor
2024-06-11 12:29:31 +02:00
vittorioromeo
571eee359f
Fix speaker name conflicts with miniaudio macros in unity builds
2024-06-11 01:07:31 +02:00
vittorioromeo
eabea655c5
Update self-referential owner ptr when moving SoundStream
2024-06-11 00:36:09 +02:00