Jérôme Leclercq
278ff26795
Forgot to fix this for Linux too
2019-04-24 14:29:55 +02:00
Jérôme Leclercq
408d37a27a
Network/IpAddress: Fix problem with some IPv6
2019-04-24 13:46:02 +02:00
Jérôme Leclercq
853e01c192
Enet fixes ( #200 )
...
* Network/ENet: Fix UnreliableFragment flag
* Network/ENet: Match libenet new behavior on DisconnectLater
2019-03-20 17:12:34 +01:00
Lynix
f3febe5d34
Network/ENetHost: Comment out warning in case of error
2018-10-21 13:53:06 +02:00
Lynix
34787d6766
Network/SocketImpl: Fix linux build
2018-10-01 23:10:25 +02:00
Lynix
aa9bec6e5e
Network/TcpClient: Revert to previous behavior on failure
2018-10-01 23:05:14 +02:00
Lynix
67c56b2aba
Network/TcpClient: Add PollForConnected
2018-10-01 23:04:53 +02:00
Lynix
dad2dbae1c
Network/TcpClient: WaitForConnected now returns new socket state
2018-10-01 22:38:20 +02:00
Lynix
13a515c1b5
Network/TcpClient: WaitForConnected now closes the socket on failure
2018-10-01 22:19:49 +02:00
Jérôme Leclercq
706a06b506
Increase NetPacket size from UInt16 to UInt32
2018-09-25 15:51:45 +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
Faymoon
beca6e7dd5
little fixes ( #183 )
...
* Update
* Add: [Get/Set]AngularDaming for standardization
* Fix: Name error
* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D
* Forgot in last commit
* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter
* Add: Some forgotten inline
* Fix little error
* Fix: Indentation before case
* Move and Change GetCenterOfGravity
* Rename m_world into m_physWorld
* Rename GetWorld int GetPhysWorld
* Update: PhysicsSystem2D became an interface of PhysWorld2D
* Update Collison/PhysicsComponent because GetWorld was renamed
* Update tests
* Update: Make the interface usable with Entity instead of PhysicsComponent
* Update: Make GetPhysWorld private
* Update PhysicsSystem2D.hpp
* Update: indent
* Remove: useless blank line
* update order(?)
* Update PhysicsSystem2D.hpp
* Add calls to GetPhysWorld to attempt a nullptr value
* update include
* little fix
* add some missing inline
2018-08-14 18:44:41 +02:00
Jérôme Leclercq
6dfc866a4d
Network/ENetPeer: Fix enet stuff
2018-07-17 09:56:30 +02:00
Jérôme Leclercq
a870954762
Network/ENetPeer: Fix reliable sequence number wrap error
2018-07-09 18:06:08 +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
15f84dc712
Noexcept all the things!
2018-06-12 11:37:44 +02:00
Jérôme Leclercq
33fb70b65b
Network: Fix SocketPoller error handling
2018-05-31 16:08:46 +02:00
Lynix
e8e3c29f37
Refactor IpAddressImpl.cpp (Windows) + update changelog
2018-04-02 16:30:39 +02:00
Lynix
63ee3ca8d4
Network/Socket: Fix IPv6 decoding on posix
2018-04-01 21:56:45 +02:00
Lynix
c869967928
Network/Socket: Fix dual-stack support
2018-04-01 21:34:50 +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
edec42038c
Fix compilation for MinGW
2018-03-27 15:07:34 +02:00
Lynix
3afdbd2141
Fix typo
2018-01-28 14:27:52 +01:00
Lynix
a8c1a2f488
Network/Win32: Fix a parsing error when compiler doesn't support __has_include
2018-01-26 20:57:14 +01:00
Jérôme Leclercq
3f7bac186b
Network/Win32: Second patch for MinGW #157
...
Extending Mstcpip.h fix using C++17 feature __has_include
2018-01-26 16:11:53 +01:00
Jérôme Leclercq
b93320613e
Network/Windows: MinGW compatibility fix
2018-01-26 15:41:01 +01:00
Jérôme Leclercq
2bef737dc6
Network/ENetPeer: Fix indent
2018-01-05 15:39:47 +01: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
Jérôme Leclercq
503378ed47
Try some black magic
2017-12-04 16:22:01 +01:00
Lynix
f2506ee918
Network/ENetHost: Fix service time precision
2017-11-20 21:04:50 +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
46e684c275
Network/ENetHost: Fix compression callbacks
2017-10-10 21:52:32 +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
cc4fdf2476
Network/ENet: Add compressor support
2017-09-22 15:22:43 +02:00
Lynix
9a6b007e70
Network/ENetHost: Fix crash
2017-09-16 10:47:00 +02:00
Jérôme Leclercq
c211abd977
Network/ENetHost: Fix typo
2017-09-14 14:12:32 +02:00
Jérôme Leclercq
5915b6ce3a
Network/ENetHost: Fix error when using ENetHost without listening
2017-09-01 15:24:42 +02:00
Jérôme Leclercq
e37a7ad5fd
Network/ENetHost: Dismiss external peer connection if listen address is loopback
2017-09-01 15:22:27 +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
394f0bc730
Network/ENetHost: Fix hostname resolve
2017-07-11 12:12:38 +02:00
Jérôme Leclercq
cbcfa5cb4d
Network/ENet: Fix throttle bug
2017-07-11 12:12:12 +02:00