Chris Thrasher
cf80a809f3
Add tests for sfTexture
2025-06-08 21:27:12 -06:00
Lukas Dürrenberger
e39a0b1ab8
Add missing setMinimumSize and setMaximumSize window methods
2025-06-01 12:12:53 -06:00
Chris Thrasher
aa236c2207
Remove VS2019 CI jobs
2025-06-01 12:12:43 -06:00
Chris Thrasher
17039984c5
Test with oldest possible CMake version
2025-06-01 11:20:59 -06:00
James Cowgill
f1e6cccb56
Avoid doing a real name resolution in sfIpAddress_fromString test
...
On some PCs, resolving `invalid address` will perform a real name
resolution using the network. This is slows down the test and risks
the test failing if the resolution succeeds.
Use `localhost` instead which shold return a known value, and add an
invalid ip address test for good measure.
2025-02-16 10:23:08 -07:00
Lukas Dürrenberger
82884b379f
Add ReadMe to the NuGet package project
2025-01-23 21:29:32 +00:00
Lukas Dürrenberger
2ca3a852cf
Build shared libraries on Windows
3.0.0-rc.1
2025-01-22 12:57:05 +00:00
Lukas Dürrenberger
06dd3bc9b8
Update release builds for SFML 3
2025-01-22 12:57:05 +00:00
Lukas Dürrenberger
862ab6a449
Remove extlibs references that are no longer needed
2025-01-15 07:31:55 +00:00
Lukas Dürrenberger
9329dd8b60
Update GitHub Actions
2025-01-15 07:31:55 +00:00
Lukas Dürrenberger
c9bcd69cb7
Merge branch '2.6.x' into master
2025-01-14 14:44:13 +00:00
Miron Alexandru
58cd82b532
Update Network module code
2025-01-12 21:19:21 -07:00
Lukas Dürrenberger
a7b113ac5b
Merge branch '2.6.x' into master
2025-01-08 15:16:46 +01:00
Lukas Dürrenberger
72c1979aed
Correct macOS rpath reference for vorbisenc
2025-01-08 14:04:00 +00:00
Lukas Dürrenberger
4f75550692
Update macOS image version for CI
2025-01-08 14:04:00 +00:00
Chris Thrasher
2adc2db065
Fix grammar
2025-01-01 11:32:59 -07:00
Chris Thrasher
b607308b3f
Add tests for sfShape
2024-12-24 11:29:54 -06:00
Chris Thrasher
e37de74852
Remove leftover comment
2024-12-24 11:29:54 -06:00
Chris Thrasher
96d41a2459
Add tests for sfPrimitiveType
2024-12-24 11:29:54 -06:00
Chris Thrasher
112abc1ab7
Add tests for sfView
2024-12-24 11:29:54 -06:00
Chris Thrasher
b0b4d253d2
Add tests for sfVertexArray
2024-12-24 11:29:54 -06:00
Chris Thrasher
82d0ff2012
Add missing Freetype dependency
2024-12-23 22:33:59 -06:00
Chris Thrasher
589b86d4c0
Fix const correctness issues
2024-12-23 16:17:45 -06:00
Chris Thrasher
feb431a689
Add tests for sfRenderStates
2024-12-23 10:31:53 -06:00
Chris Thrasher
f6949a5a06
Add tests for sfTransform
2024-12-23 10:31:53 -06:00
Chris Thrasher
ed185c838d
Add tests for sfStencilMode
2024-12-23 10:31:53 -06:00
Chris Thrasher
ab1a1a2299
Add tests for sfCoordinateType
2024-12-22 17:28:57 -06:00
Chris Thrasher
bb8a261bb8
Add tests for sfColor
2024-12-22 17:28:57 -06:00
Chris Thrasher
b3e6e23ffd
Add tests for sfBlendMode
2024-12-22 17:28:57 -06:00
Chris Thrasher
e46663cf38
Add tests for sfRect
2024-12-22 17:28:57 -06:00
Chris Thrasher
e7a41e864f
Add tests for Audio module
2024-12-22 17:05:49 -06:00
Chris Thrasher
ae540e2396
Fix README typo
2024-12-22 14:58:58 -06:00
Chris Thrasher
14e06ccea4
Centrally define SFML version
2024-12-21 20:38:26 -06:00
Chris Thrasher
a185b440ef
Use SFML 3.0.0 tag
2024-12-21 19:08:15 -06:00
Chris Thrasher
14378de263
Upgrade to clang-format-17
2024-11-01 15:03:09 -06:00
Lukas Dürrenberger
1fa7f3caec
Add GitHub Sponsors and OpenCollective buttons
2024-10-10 19:30:35 +02:00
ZXShady
b99a455873
Match parameter types with SFML types
2024-10-07 18:48:53 -06:00
Chris Thrasher
d1708cbd65
Remove unused headers
2024-10-06 23:20:54 +02:00
Chris Thrasher
a14d4322ac
Remove references to sf:: types in public documentation
2024-10-06 23:20:19 +02:00
Chris Thrasher
5385f329c6
Clean up IpAddress implementation
2024-10-06 14:22:41 -06:00
Miron Alexandru
fd8e6a0364
Align sfRenderStates with sf::RenderStates
2024-10-06 13:25:05 -06:00
ZXShady
884dcde3c3
Make enumeration counts constant expressions
...
This change allows now having these variables as array sizes that
are not Variable Length Arrays like in structs for example.
To note however that this changes the type from unsigned int to an
implementation defined type which usually `int` which is signed and
not unsigned.
2024-10-04 09:05:55 -06:00
ZXShady
cc92ca36b7
Pass by reference if it is never null
...
sfEvent was not checked for null and was assumed to be non null in convertEvent so I made it a reference to reflect that
2024-10-03 10:42:15 -06:00
ZXShady
556ca510d4
Make ConvertEvent.hpp file in window module folder.
...
It is a window related module it makes more sense imo for it to be in it.
I also addded it to the cmake file so it appears in VIsual Studio
2024-10-03 10:33:51 -06:00
ZXShady
66e7af4993
check malloc return value for NULL and update docs
...
`sfFtpDirectoryResponse_getDirectory` can fail and return NULL becuase 'strdup' returns null on failure but `sfFtpDirectoryResponse_getDirectoryUnicode` didn't and just had UB due not checking return value of malloc.
typing NULL in the docs made me age 30 years btw
2024-09-29 11:51:53 -06:00
Chris Thrasher
6ce8f95553
Remove unnecessary static_casts
2024-09-28 21:20:14 -06:00
ZXShady
b626f65ee5
Cast to larger type before doing arithmetic to avoid signed integer overflow
...
https://godbolt.org/z/soTad4zEq
this godbolt links shows that it is UB to multiply then cast if the amount is large enough
2024-09-28 19:45:28 -06:00
ZXShady
f297287951
make static varaibles const via lamdbas
...
this pr also makes `sfSoundRecorder_getAvailableDevices` return a const pointer to a const char pointer so you can no longer modify where the pointers of the strings are pointing into becuase it doesn't make sense.
2024-09-28 19:21:25 -06:00
ZXShady
ef81fbd337
use aggregate initialization
2024-09-27 18:42:48 -06:00
ZXShady
84f580e207
remove cstyle default init
2024-09-27 17:57:02 -06:00