kimci86
37db7a83f3
Update Catch to v1.12.2 with latest bugfixes
...
It solves compilation errors with GCC 11.3 on Ubuntu 22.04
2022-12-22 08:37:50 -07:00
zakinadhif
253a4abad4
Replace c-style casts & fix implicit conversion warnings. SFML/SFML#2297
2022-12-15 13:12:56 -07:00
Chris Thrasher
ed6d944810
Always trigger drmModeSetCrtc
2022-12-13 21:52:42 -07:00
Chris Thrasher
866dbee8cb
Add DRM utilities to sfml-window
2022-12-13 21:52:42 -07:00
Chris Thrasher
07bf6f8c12
Add option for enabling DRM
2022-12-13 21:52:42 -07:00
Chris Thrasher
75b0c3a9a1
Disable warnings as errors for Clang on Windows
2022-12-12 12:09:51 -07:00
Chris Thrasher
fa2e61b9d5
Lock CI jobs to Ubuntu 20
...
Recently GitHub updated the ubuntu-latest images to point at Ubuntu
22 which broke CI for ths 2.6.x branch so let's stick to Ubuntu 20
until we can sort out what was failing.
2022-12-12 12:09:51 -07:00
Bruno Van de Velde
c744369552
Use Per Monitor Aware instead of System Aware for DPI scaling on Windows
2022-11-15 22:38:52 +01:00
kimci86
0310b03aef
Document that checking XButton1 and XButton2 state on X11 is not supported
2022-11-15 22:36:37 +01:00
Chris Thrasher
c1064bae92
Lock 2.6.x branch to macOS 11 images
...
The macos-latest image recently upgraded to macOS 12. This includes
the iOS 16 SDK which deprecates some features which we're using. The
short term fix is to just keep using macOS 11 for 2.6.x.
2022-10-25 18:18:46 +02:00
kimci86
f796205a21
Process events in order to avoid X11 input method being confused
2022-10-24 23:14:48 +02:00
kimci86
b11328f386
Fix duplicated KeyPressed events with X11
...
Co-authored-by: Edgaru089 <sjs333@outlook.com>
2022-10-24 23:14:48 +02:00
Subs
65ef0619c8
[DRM] Use the current resolution
...
In order to prevent an unnecessary modeswitch and use the current TTY resolution, don't use the preferred mode reported by DRM. This is useful for people who set a custom resolution at boot and are forced into the monitor's preferred resolution when a SFML DRM app starts
2022-10-24 00:16:32 +02:00
Subs
1d12c56332
[DRM] Use a GFX card with connected monitors
2022-10-20 00:19:30 +02:00
Radek Dutkiewicz
2503b00299
Fix compile on linux with gcc 12.2.0
...
Undefined NUL
2022-10-11 15:30:23 +02:00
kimci86
d0cf86d516
Fix minor inconsistency in type cast in voip example
...
because m_samples is a vector of Int16 values.
2022-10-01 19:51:48 +02:00
kimci86
01fc55ba37
Include InputStream.hpp directly in SoundFileReaderMp3.cpp
...
instead of indirect inclusion through MemoryInputStream.hpp
2022-10-01 19:50:57 +02:00
kimci86
3acd9620eb
Fix SoundRecorder example code
2022-10-01 11:15:02 -06:00
kimci86
b5be18cd8d
Fix typo in variable name
2022-10-01 11:09:09 -06:00
Radek Dutkiewicz
2db12350e7
Fix corelation between text setOutlineThickness() and getLocalBounds()
...
This fixes text crawling explained in issue #2129
2022-10-01 13:53:43 +02:00
Ralph Dworzanski
2bca810025
Use iterator and correct string insert
2022-09-29 19:42:31 +02:00
kimci86
863fef0246
Fix broken image URLs in doxygen.css
2022-08-03 23:55:43 +02:00
kimci86
6972463848
Enable doxygen search engine
2022-08-03 23:55:43 +02:00
kimci86
2b11d3ee0f
Set mainpage title
...
The default title with doxygen 1.9.4 is "SFML" instead of "SFML
Documentation" as it was before, so we set the title manually.
2022-08-03 23:55:43 +02:00
kimci86
1b71e3d389
Update doxyfile.in for doxygen 1.9.4
...
Steps to update doxyfile.in:
- Run `doxygen -u doxyfile.in`
- Put back comments about SFML specific aliases.
- Add quotes around CMake variables for paths as they may be substituted
with values containing space characters.
2022-08-03 23:55:43 +02:00
kimci86
80ed37ce9d
Fix SoundStream::play to restart the sound if it was played before
2022-08-03 23:36:12 +02:00
Waldegger
308857702e
Add Android dependency binaries for x86_64 and arm64-v8a architectures
...
* Remove unused libFLAC++.a for all Android architectures
* Enhance GitHub Actions builds
Co-authored-by: Waldegger <Stefan.Waldegger@users.noreply.github.com>
2022-07-19 08:03:16 +02:00
kimci86
faaec51666
Fix compilation on Linux with SFML_OPENGL_ES option
2022-06-29 09:02:29 +02:00
kimci86
6d1e428640
Update glad/egl.h
2022-06-27 20:39:30 +02:00
kimci86
ee8f929bd6
Load EGL with glad to fix crash in sf::priv::eglCheckError on DRM
2022-06-27 20:39:30 +02:00
kimci86
5098b6c22b
Fix eglCheck macro usage for assignments
2022-06-24 09:33:48 +02:00
kimci86
618c96339b
Fix incorrect cast when parsing FTP connection port
2022-06-23 16:33:06 +02:00
Bambo-Borris
12c091e0ce
Disable /WX for clang-cl
2022-06-12 17:40:01 +02:00
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