Commit Graph
347 Commits
Author SHA1 Message Date
Chris Thrasher 907b0ca6ee Use std::vector::data 2024-02-19 23:30:30 +01:00
Chris Thrasher 3446239371 Allow for using unexpected compilers 2024-02-19 23:30:30 +01:00
Chris Thrasher 00303b7165 Remove unused code 2024-02-19 23:30:30 +01:00
Chris Thrasher d54f8e839e Remove macOS 10.5 detection
This also gets rid of exec_program which has been deprecated in
CMake.
2024-02-19 23:30:30 +01:00
Chris Thrasher 9f1619520e Use list(APPEND to append to lists 2024-02-19 23:30:30 +01:00
Chris Thrasher bb347c2c8c Remove deprecated APIs 2024-02-19 23:30:30 +01:00
Chris Thrasher 0ad43bc7d2 Enable MSVC's strict standards conformance mode 2024-02-19 23:30:30 +01:00
Chris Thrasher c7ac60f312 Require C11
This required silencing C5105 which emits warnings about system
headers which we can't change.

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5105?view=msvc-170
2024-02-19 23:30:30 +01:00
Chris Thrasher a51c22a7a3 Use C standard library utilities for booleans and fixed-width ints 2024-02-19 23:30:30 +01:00
Chris Thrasher 46bc9a7ed8 Remove C++11 compiler warning 2024-02-19 23:30:30 +01:00
Chris Thrasher 3401cade6e Use ranged-for loops 2024-02-19 23:30:30 +01:00
Chris Thrasher 7676dfd95e Use nullptr 2024-02-19 23:30:30 +01:00
Chris Thrasher 2273672415 Remove workarounds for old compilers 2024-02-19 23:30:30 +01:00
Chris Thrasher 942f23ca0b Require C++17 2024-02-19 23:30:30 +01:00
Chris Thrasher f9cf6b935a Increase CMake requirement 2024-02-19 23:30:30 +01:00
Chris Thrasher 5b446077e6 Update project version 2024-02-19 23:30:30 +01:00
mgrojo 8074b3a004 Minor fixes of the documentation
- Parameter names not matching the actual code identifier
- Typo in SoundRecorder.h
- Missing param in Context.h
2024-02-14 22:11:56 +00:00
Manuelandkimci86 b7826c5f9a Add count parameter to sfVulkan_getGraphicsRequiredInstanceExtensions
Based on `sfSoundRecorder_getAvailableDevices()`

Fixes #227

Co-authored-by: kimci86 <kimci86@hotmail.fr>
2024-02-14 12:07:24 -07:00
Lukas Dürrenberger fb9b3aeab7 Update CSFML to 2.6.0 2.6.0 2024-02-04 13:43:43 +01:00
Chris Thrasher 160e764c4c Use custom fixed width integer typedef in Vulkan.h 2024-01-28 20:16:05 +01:00
Lukas Dürrenberger dfa5fbf92d Enable x86 builds for Visual Studio 2024-01-28 20:16:05 +01:00
Chris Thrasher b1d02ce571 Use sf::err() for error logging 2023-12-29 12:32:02 -06:00
kimci86 0601d5fa8d Do not pass C++ warning options to C compiler 2023-12-21 16:17:17 -06:00
Chris Thrasher 5ccbbdf61b Remove unnecessary file install exclusion 2023-12-21 14:39:18 -06:00
Chris Thrasher 83b44e3feb Install contents of include/ instead of include/ itself 2023-12-21 14:39:18 -06:00
Chris Thrasher 1c4aba1d43 Always specify link visibility 2023-12-21 14:39:18 -06:00
Chris Thrasher 9a355d784b Remove trailing whitespace 2023-12-21 14:39:18 -06:00
Chris Thrasher 4f540b9cbb Replace tabs with spaces 2023-12-21 14:39:18 -06:00
Chris Thrasher b231c6c269 Disable warning about using a compiler extension 2023-12-20 17:22:04 -06:00
Chris Thrasher e92cc49459 Fix MSVC warning 2023-12-20 17:22:04 -06:00
Chris Thrasher 3e24bb1dc9 Enable manually running CI pipelines 2023-12-20 17:22:04 -06:00
Chris Thrasher b8a63eb73d Automatically disable stale pipelines 2023-12-20 17:22:04 -06:00
Chris Thrasher bba0bf3726 Test Debug and Release builds in CI 2023-12-20 17:22:04 -06:00
Chris Thrasher bf29112d56 Add example program 2023-12-20 15:33:35 -06:00
Chris Thrasher 843deb2f6b Use (void) for function prototypes with no parameters
This is required when compiling these headers as C code. These were
omitted becuase before the addition of examples these headers were
only compiled locally as C++ files where adding the void keyword is
not needed.
2023-12-20 15:33:35 -06:00
Lukas Dürrenberger 76c1e643fa Disable treating warning as errors by default 2023-12-20 02:13:31 +01:00
Lukas Dürrenberger a7e7ea4ccf Fix Vulkan type declaration 2023-12-20 01:34:56 +01:00
Chris Thrasher e2401417ef Add API for sf::WindowBase 2023-11-19 13:23:39 +01:00
Chris Thrasher d90cd6f5ee Use specific versions of CI images 2023-11-02 09:44:00 +01:00
Chris Thrasher 509d4f2cec Remove redundant option 2023-11-02 09:44:00 +01:00
Chris Thrasher 49310cd5a6 Use Ninja in more CI jobs 2023-11-02 09:44:00 +01:00
Chris Thrasher 3a1ea97cb4 Remove faulty MinGW job 2023-11-02 09:44:00 +01:00
Chris Thrasher 072a4680be Install Ninja and minimum CMake version in CI 2023-11-02 09:44:00 +01:00
Chris Thrasher 0eec0f8ec9 Revert "Disable faulty Windows Clang job"
This reverts commit 37b809b296.
2023-11-02 09:44:00 +01:00
kimci86andChris Thrasher 725811baa9 Implement sf::Image::saveToMemory
https://github.com/SFML/SFML/pull/1669

Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
2023-09-09 23:36:24 +02:00
kimci86 39dd578d45 Add sfBuffer structure to wrap a vector of bytes 2023-09-09 23:36:24 +02:00
Chris Thrasher 37b809b296 Disable faulty Windows Clang job
The problem is that the Windows CI image hasn't yet be updated to
Clang 16. See this PR for progress on fixing it

https://github.com/actions/runner-images/pull/8134

This has been merged but we still have to wait for the changes to
propogate to all runners.
2023-09-06 17:58:20 -06:00
mgrojo a80542d67d Update \see documentation with the new sfTexture_createSrgb functions
Delete reference to deleted `sfTexture_setSrgb`

See #177
2023-08-07 12:36:07 +01:00
Chris Thrasher a3657e112a Add Windows MinGW CI job 2023-07-08 16:08:01 -06:00
Chris Thrasher 7d7375556c Add Windows Clang CI job 2023-07-08 16:08:01 -06:00