SirLynix
4b8a475bbd
Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
2023-11-02 15:18:03 +01:00
SirLynix
a741672a51
Allow error message to be formatted
2023-08-15 01:10:01 +02:00
SirLynix
2886a2e0c0
Rename EnumMap to EnumArray after nazarautils update
2023-05-30 13:49:19 +02:00
SirLynix
dfe6b2ddcf
Make use of the new EnumMap class
2023-05-30 12:32:37 +02:00
SirLynix
9b4d297c04
Update includes for new NazaraUtils version
2023-03-19 13:01:56 +01:00
SirLynix
5a57aca66a
Last changes
2023-02-02 20:34:25 +01:00
SirLynix
f98cbcd00a
Copyright year update
2023-01-22 17:41:18 +01:00
Jérôme Leclercq
03e2801dbe
Split engine to packages NazaraUtils and NZSL ( #375 )
...
* Move code to NazaraUtils and NZSL packages
* Reorder includes
* Tests: Remove glslang and spirv-tools deps
* Tests: Remove glslang init
* Remove NazaraUtils tests and fix Vector4Test
* Fix Linux compilation
* Update msys2-build.yml
* Fix assimp package
* Update xmake.lua
* Update xmake.lua
* Fix shader compilation on MinGW
* Final fixes
* The final fix 2: the fix strikes back!
* Disable cache on CI
* The return of the fix™️
2022-05-25 19:36:10 +02:00
Lynix
5cd9f6fdcd
Minor fixes
2022-04-02 21:18:04 +02:00
Alexandre Janniaux
e5ec90a6f9
SocketImpl: fix success path by setting NoError
...
Initialize the error to SocketError::NoError in case of success.
Otherwise, the error wasn't initialized in the success path for the
socket poller, and it was reaching an unknown error because of that.
2022-03-20 17:15:45 +01:00
Jérôme Leclercq
cb1bc956b2
Network: Fix posix implementation
2022-02-24 18:28:41 +01:00
Jérôme Leclercq
6c35b0be57
Minor fixes
2022-02-05 21:30:36 +01:00
SirLynix
89c7bbf197
Update copyright date
2022-01-01 15:30:09 +01:00
Jérôme Leclercq
b98fd65a01
Fix a lot of small bugs/warnings
2021-12-25 20:07:53 +01:00
Jérôme Leclercq
a02b1952c0
Apply header order fix
2021-10-28 09:53:56 +02:00
Jérôme Leclercq
93ec196dc4
Apply header guard check
2021-10-26 15:52:46 +02:00
Jérôme Leclercq
ed7ab31933
Apply copyright fix to all files
2021-10-26 14:31:35 +02:00
Jérôme Leclercq
874fb3542e
Convert all remaining enums to enum classes (!)
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
031e52b63f
Network: Fix compilation under Linux (fix merge)
2021-05-19 20:54:10 +02:00
Jérôme Leclercq
26de5872eb
Merge branch 'master' into graphics-next
2021-05-17 18:58:04 +02:00
ImperatorS79
f05ed5781b
IP_MTU missing on macos
2020-11-22 13:32:17 +01:00
ImperatorS79
d4cd0581e4
Update SocketImpl.cpp
2020-11-21 21:35:51 +01:00
ImperatorS79
255812c80e
Fix missing MSG_NOSIGNAL and TCP_KEEPIDLE on macos
2020-11-21 21:29:23 +01:00
Jérôme Leclercq
f52c43df49
Network: Fix TcpClient::PollConnection on Linux
2020-10-31 17:33:56 +01:00
Jérôme Leclercq
2b6a463a45
Remove Nz::String and Nz::StringStream
2020-09-25 19:31:01 +02:00
Lynix
aff617f147
Network: Replace some String by std::string
2020-07-25 14:32:53 +02:00
Jérôme Leclercq
278ff26795
Forgot to fix this for Linux too
2019-04-24 14:29:55 +02:00
Lynix
34787d6766
Network/SocketImpl: Fix linux build
2018-10-01 23:10:25 +02:00
Lynix
67c56b2aba
Network/TcpClient: Add PollForConnected
2018-10-01 23:04:53 +02:00
Jérôme Leclercq
56873b92b0
Network/Socket: Fix Connect (timeout) on Windows/Linux
2018-08-30 13:03:50 +02:00
Jérôme Leclercq
28c6bd7af7
Network: Log internal errors
2018-08-30 12:10:33 +02:00
Jérôme Leclercq
2fcea6b79f
Core/StackArray: Moved StackArray class to its own header
2018-07-02 17:53:49 +02:00
Jérôme Leclercq
56b23a2f27
Network/SocketPoller: Wait() now returns the number of active sockets, and optionally the last error
...
It will also ignore the EINTR error on Linux
2018-06-12 14:31:49 +02:00
Jérôme Leclercq
33fb70b65b
Network: Fix SocketPoller error handling
2018-05-31 16:08:46 +02:00
Lynix
63ee3ca8d4
Network/Socket: Fix IPv6 decoding on posix
2018-04-01 21:56:45 +02:00
Lynix
a5400f07c9
Network/Socket: Fix IPv6 encoding
2018-04-01 21:30:07 +02:00
Lynix
df510aeb78
Network/Socket: Fix broadcast & dual-stack on Posix
2018-04-01 21:01:13 +02:00
Lynix
eeba7f96a0
Fix compilation
2018-04-01 20:52:52 +02:00
Lynix
715729fc02
Network: Add support for dual-stack sockets
2018-04-01 20:48:50 +02:00
Jérôme Leclercq
98a03cb543
Network/SocketPoller: Fix potential bug on Connect (Posix)
2018-01-05 15:39:35 +01:00
Jérôme Leclercq
192321b448
Network: Fix uninitialized values (found by valgrind)
2017-12-13 12:55:03 +01:00
Lynix
683b09144d
Core: Replace StackAllocation by StackArray
...
This will cleanup alloca usage a little bit
2017-10-14 18:04:16 +02:00
Jérôme Leclercq
3282534bba
SocketPoller: Fix behavior on Windows and BSD
2017-10-10 21:52:31 +02:00
Jérôme Leclercq
874599fefd
Network/SocketPoller: Uniformize behavior accross platforms
...
On Windows, a closed connection will mark as ready for read/write
2017-10-10 21:52:30 +02:00
Gawaboumga
bbac0838dd
Include-What-You-Use ( #137 )
...
* IWYU Core
* IWYU Noise
* IWYU Utility
* IWYU Audio
* IWYU Platform
* IWYU Lua
* IWYU Network
* IWYU Physics2D
* IWYU Physics3D
* IWYU Renderer
* IWYU Graphics
* IWYU NDKServer
* IWYU Fix
* Try to fix compilation
* Other fixes
2017-10-01 11:17:09 +02:00
Jérôme Leclercq
3d368b2fe7
Network/SocketPoller: Fix behavior of Wait method (-1 will block)
2017-08-04 13:37:17 +02:00
Jérôme Leclercq
aac8d8301b
Network: Fix Linux build
2017-07-11 12:19:11 +02:00
Jérôme Leclercq
9fb9289d6e
Network/Socket: Fix IPv6 handling
2017-07-11 12:11:43 +02:00
Jérôme Leclercq
b4732d8c17
Add Udp::ReceiveMultiple method
2017-07-11 12:11:20 +02:00
Lynix
65d3b59e03
Network/SocketPoller: Makes it possible to watch read and write states
2017-05-16 09:07:28 +02:00