Lukas Dürrenberger
b158bc1f94
Add a VS 2022 with Clang build
2022-06-12 17:40:01 +02:00
DanielRabl
97a1bf2f5d
Use wide-string character consistently
...
Comparing '\r' against 8bit character instead of 16bit wide character.
2022-06-02 16:09:33 +02:00
Andrew King
3e424550d8
Added comment for GCC 12.1 false-positive (issue #2100 )
2022-05-26 00:03:07 +02:00
Andrew King
6ff85eebe5
bugfix for #2100 : null-dereference in GCC 12.1.0
2022-05-26 00:03:07 +02:00
kimci86
9842c8fdf8
Fix incorrect cast when loading 16-bit samples from WAV file
2022-05-06 21:07:42 +02:00
Coder-Rahul-Y
33cb8f4391
Corrected/clarified the setLoopPoints() documentation
...
The previous documentation talks about 'end points' but the current code does not take end point as an argument and hence does not allow specifying the end point of the loop. (Instead the functions allows specifying the beginning offset and the length of the loop.)
2022-04-28 20:12:29 +02:00
Radek Dutkiewicz
b6ca47e128
DRM Implementation
...
Ported sfml-pi DRM/KMS backend written by @mickelson
Port co-authored by @substring
Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com>
Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
2022-04-26 07:44:14 +02:00
kimci86
f7c88ee7ef
Fix font pages not being created with the desired smoothness
2022-04-21 08:24:40 +02:00
Peter Chapman
470822cfe4
Fixed incorrect value for fully transparent pixels
2022-04-21 08:23:10 +02:00
kimci86
28279c0686
Fix incorrect cast in Cursor::loadFromPixels Unix implementation
2022-04-13 08:49:20 +02:00
Lukas Dürrenberger
2837b3623b
Remove VS 2017 as GitHub Actions compiler
...
VS 2017 doesn't fully support C++17
2022-04-05 09:35:29 +02:00
Lukas Dürrenberger
fe3a7fc21e
Add support for VS 2022 to the GitHub Actions workflow
2022-04-05 09:35:29 +02:00
Vittorio Romeo
8838030d67
Fix -Wmissing-braces
warning under clang
2022-03-18 08:34:41 +01:00
binary1248
3315456dc3
Replaced select with poll in JoystickImpl to function even when a large number of file descriptors are open.
2022-03-12 13:09:11 +01:00
Jan Haller
9d28bf7eb2
Update year to 2022 (amended)
2022-02-12 19:29:09 +01:00
Vittorio Romeo
d5604b91c6
Add '.gitignore' file
2022-01-10 10:34:55 +01:00
Chris Thrasher
70e0ad28d4
Only build Cocoa example when using Xcode
2022-01-08 19:46:19 +01:00
Jan Haller
2ea46c8702
Fix WindowImplX11 initialization
2022-01-04 19:21:32 +01:00
Jan Haller
3b06972602
Update year to 2022
2022-01-02 23:06:31 +01:00
Vittorio Romeo
46639ed277
Manipulate library names on Windows + Clang
2021-12-22 08:53:03 +01:00
Pawel Paruzel
c824d3d57a
Fix all macOS clang warnings
...
Co-authored-by: binary1248 <binary1248@hotmail.com>
2021-12-20 00:10:55 +01:00
Pawel Paruzel
4df16d19e5
Fix Clang warnings on Android
2021-12-20 00:10:55 +01:00
Pawel Paruzel
aae00e9002
Fix cmake -DWARNINGS_AS_ERRORS=1 for clang
2021-12-20 00:10:55 +01:00
kimci86
fbc866c5c9
Fix regression in shader example
2021-12-15 15:27:37 +01:00
2567551469
X11: fix XIM input method support
2021-12-09 09:04:59 +01:00
lieff
e458f4651e
Add MP3 decoding support using 'minimp3'
...
Co-authored-by: Lukas Dürrenberger <eXpl0it3r@my-gate.net>
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
2021-12-08 08:19:08 +01:00
Pawel Paruzel
d0ebdc8607
Let CMake autodetect Apple arch on M1 processor
2021-12-06 15:43:58 +01:00
Lukas Dürrenberger
e53d9e88a9
Fix regression in copyToImage
...
When the source image is flipped, we want to read the source data
backwards and thus need to keep subtracting the "iterator" on the source
data.
2021-12-06 08:08:50 +01:00
Pawel Paruzel
11020363b1
Fix wrong cast in sf::Packet
...
Add unit tests
2021-12-06 08:06:20 +01:00
Vittorio Romeo
6cf124db66
Fix remaining warnings
...
- Fixes in examples
- Fixes across all the modules
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
c74694c3b2
Fix conversion warnings for the Audio module
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
01836ccea4
Fix conversion warnings for the Graphics module
...
- Fix conversion and shadowing warnings
- Add SYSTEM indicator for stb_*, FreeType and other headers
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
0468612ac0
Fix conversion warnings for the Network module
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
e0f2356102
Fix conversion warnings for Unix
...
- Fix conversion & shadowing warnings
- For the System & Window module
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
bc628c6b28
Fix warnings in examples
...
- Convert where necessary
- Adjust type where reasonable
- Use SYSTEM headers for gl.h, stb* and vulkan
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
92bc513d9f
Fix variable name shadowing warning
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
e01aa152c1
Fix type conversion warnings
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
9052ccf218
Fix integer conversion warnings
2021-11-30 11:25:58 +01:00
Jan Haller
5bed29dd19
Fix conversion and other warnings, mainly on Windows
2021-11-30 11:25:58 +01:00
Jan Haller
761d9d81d0
Fix several unused warnings
2021-11-30 11:25:58 +01:00
binary1248
a759ccd5db
Enable compiler warnings.
2021-11-30 11:25:58 +01:00
Anton Vasiliev
7fc026e3ec
Add missing comment
...
Added missing comment to WM_DEVICECHANGE event in Window
implementation for Win32.
2021-11-30 09:52:35 +01:00
Vittorio Romeo
ef8fee5356
Simplify management of ActivityStates
2021-11-24 00:34:03 +01:00
Vittorio Romeo
dc88cbd81e
Remove include directives for unused headers
2021-11-22 00:47:11 +01:00
Vittorio Romeo
c21e842007
Fix useless temporary sf::Lock
2021-11-19 23:17:14 +01:00
jqdg
2888d9c56e
Improve high DPI handling on macOS
2021-11-18 21:34:07 +01:00
Lukas Dürrenberger
600d0f3baf
Use correct rpath value for dependencies
...
FLAC as well as the vorbis libraries weren't correctly pointing to the ogg dependency via rpath, but instead used an absolute path of the build system
2021-11-14 18:31:27 +01:00
Corentin Schreiber
912422f486
Partial revert from 40a0584636dab89f3fa1747e63f26fa895036ce1
...
This reverts the change to addLine(), which no longer had its
outline drawn after the offending commit.
2021-10-25 22:47:32 +02:00
Corentin Schreiber
d950c9387a
Simplify glyph advance calculation
...
Since auto-hinting is enabled, the advance will always be an integer
number of pixels. The actual fractional advance is handled by bearings.
https://github.com/SFML/SFML/pull/1827#issuecomment-939531582
2021-10-18 09:46:35 +02:00
Corentin Schreiber
4d2e5b18e2
Fix incorrect glyph rect for text outline
2021-10-18 09:46:35 +02:00