Jérôme Leclercq
36d3c51eeb
Add module configurations
2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510
Rename Module to ModuleBase
2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8
Rework modules
2020-09-10 20:12:09 +02:00
Jérôme Leclercq
193deb6c04
Fix some minor stuff
2020-09-06 17:09:39 +02:00
Jérôme Leclercq
a28635ec70
Merge pull request #326 from DigitalPulseSoftware/vulkan
...
Add OpenGL / Vulkan renderers
2020-08-27 18:38:21 +02:00
Lynix
aff617f147
Network: Replace some String by std::string
2020-07-25 14:32:53 +02:00
Lynix
b2d3605cf4
Fix includes
2020-04-10 17:36:43 +02:00
Lynix
c23b6dfa01
Copyright year update
...
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
3d22321109
Big f***ing cleanup part 1
2020-02-23 00:42:22 +01:00
Lynix
518b8697de
Network/ENetHost: Add AllowsIncomingConnections method
2020-02-01 16:36:05 +01:00
Lynix
0b825680de
Network/ENetPeer: Reduce memory usage
2019-12-29 11:56:13 +01:00
Lynix
24cb8f6845
Add ENet::GetTotalPacketReceived
2019-12-29 11:54:00 +01:00
Lynix
56243f5a12
Nazara/Network: Add GetTotalByte[Received|Sent]
2019-12-28 17:31:21 +01: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
a292e47673
Network/ENetPeer: Fix return type of GettotalPacket[Lost|Sent]
2018-10-24 20:26:50 +02:00
Lynix
4e9d4c10da
Network: Add accessors to ENetHost/ENetPeer
2018-10-21 13:52: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
8091e52348
Forgot to save this file
2018-09-30 18:07:38 +02:00
Lynix
583393acd0
Network/AbstractSocket: Replace OnStateChange signal by OnStateChanged
2018-09-30 18:04: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
b6a33c76ca
Fix crash on moving empty NetPacket
2018-09-25 14:53:49 +02:00
Jérôme Leclercq
bb0456ffed
Remove useless namespace prefix
2018-07-02 17:48:51 +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
Lynix
b22c93fa5f
Network/ENetPeer: Add GetLastReceiveTime
2018-05-13 14:44:09 +02:00
Lynix
715729fc02
Network: Add support for dual-stack sockets
2018-04-01 20:48:50 +02:00
Jérôme Leclercq
457a87d067
Network/ENet: Fix ENetCompressor destructor not being virtual
2018-03-20 17:12:42 +01:00
germinolegrand
1e55c4d9e9
Prerequisites instead of Prerequesites (typo) #152 ( #153 )
2018-01-16 12:23:01 +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
3589a2bc8e
Core/Flags: Reworked Flags class
2017-11-21 12:26:22 +01:00
Lynix
f2506ee918
Network/ENetHost: Fix service time precision
2017-11-20 21:04:50 +01:00
Lynix
be38aee1fa
Fix some warnings
2017-10-18 22:02:21 +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
Lynix
2cd9fa2b7a
Core: Add MovablePtr class
2017-09-30 13:57:25 +02:00
Jérôme Leclercq
cc4fdf2476
Network/ENet: Add compressor support
2017-09-22 15:22:43 +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
b4732d8c17
Add Udp::ReceiveMultiple method
2017-07-11 12:11:20 +02:00
Jérôme Leclercq
b2e23cfb56
Mark every bool conversion as explicit
2017-06-21 18:10:46 +02:00
Lynix
c98fb482e7
Network/ENetPeer: Add GetRoundTripTime method
2017-06-05 15:06:19 +02:00
Jérôme Leclercq
17d9cd6e7d
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-06-01 17:25:33 +02:00
Jérôme Leclercq
8752d1e0f4
Network: Add ErrorToString for ResolveError/SocketError
2017-06-01 17:25:21 +02:00
Lynix
555f44edeb
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-19 16:32:07 +02:00
Lynix
53f865c42c
Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here
2017-05-19 16:31:31 +02:00
Lynix
3ca179b954
Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect
2017-05-19 16:31:29 +02:00
Jérôme Leclercq
09bace0f28
Sdk/LuaBinding: Bind UdpSocket
2017-05-18 11:44:28 +02:00
Lynix
9a30a7ee04
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-16 09:08:37 +02:00
Lynix
65d3b59e03
Network/SocketPoller: Makes it possible to watch read and write states
2017-05-16 09:07:28 +02:00
Jérôme Leclercq
218d9f3974
Network/ENetHost: Add GetBoundAddress()
2017-02-21 15:58:02 +01:00
Lynix
b0d0a63fca
Network/ENet: Add peer-side lag simulation
2017-02-20 23:37:31 +01:00
Lynix
20dfd61ad7
Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here
2017-02-16 23:26:33 +01:00
Lynix
b7ee6d7b29
Network/ENet: Move all packet allocation to host
2017-02-16 23:26:00 +01:00
Jérôme Leclercq
dee5986de5
Network/NetPacket: Allow empty pointer for NetPacket creating (won't initialize memory)
2017-02-16 16:14:24 +01:00
Lynix
8225ad3b41
Network/ENetHost: Optimize acknowledgements handling
2017-02-15 08:27:15 +01:00
Lynix
890b06bfcb
Network/ENet: Refactor
2017-02-15 08:26:56 +01:00
Lynix
5655ff3fcf
Network/ENetPacketFlags: Add Unreliable flag typedef for zero
2017-02-12 02:19:27 +01:00
Lynix
414779b53c
Network/ENetPacket: Remove unused flags
2017-02-12 02:18:38 +01:00
Jérôme Leclercq
0f2d315c1d
Network/ENet: Fix header dependency
2017-02-01 17:51:41 +01:00
Lynix
7b8100dafe
Network/ENet: Add ENet licence
2017-02-01 00:20:22 +01:00
Lynix
a087174bf8
Network/Algorithm: Add HostToNet and NetToHost
2017-02-01 00:13:08 +01:00
Lynix
85257da07e
Network/ENet: Fix some warnings
2017-01-31 23:05:18 +01:00
Lynix
6b8d9deb43
Network/ENet: Clean up time functions
2017-01-31 23:04:53 +01:00
Lynix
2f057191aa
Network/ENetHost: Add GetServiceTime()
2017-01-31 22:19:17 +01:00
Jérôme Leclercq
3ff483d2f6
Network/ENetPeer: Add GetPeerId()
2017-01-30 18:08:38 +01:00
Jérôme Leclercq
b5797dfa12
Network/ENetHost: Move handling to ENetPeer
2017-01-30 18:08:21 +01:00
Lynix
4e517bc1e3
Network/ENetHost: Add network simulator
2017-01-28 17:18:06 +01:00
Lynix
4e2a037d6b
Network/ENetPeer: Add total packet lost/sent counter
2017-01-28 17:17:42 +01:00
Lynix
c9d5f2f1ac
Network/ENet: More cleanup
2017-01-28 12:08:35 +01:00
Lynix
8fc734674d
Network/ENet: Fix fragments and cleanup
2017-01-28 11:06:09 +01:00
Lynix
0e03aae6dc
Network/ENetPeer: Fix compilation
2017-01-27 17:12:23 +01:00
Lynix
86ae60b6c2
Network: Fix compilation
2017-01-27 16:07:41 +01:00
Lynix
f59b59da27
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-01-27 15:09:01 +01:00
Lynix
ab3b730d21
Network/TcpClient|UdpSocket: Add SendMultiple method
...
To efficiently merge multiples buffers into a reduced number of network
packets
2017-01-27 14:51:01 +01:00
Lynix
8a59dc88b8
Commit progression
2017-01-27 14:48:31 +01:00
Lynix
12b4073033
Progress
2017-01-26 09:28:41 +01:00
Jérôme Leclercq
9e3341a32a
Commit current work
...
This is a temporary branch because I'm missing a USB drive, huehue
2017-01-25 15:55:07 +01:00
Jérôme Leclercq
071147bf51
Network/AbstractSocket: Prevent querying/setting receive/send buffer size without opening the socket first
2017-01-23 11:58:05 +01:00
DrLynix
85f0208690
Newtork/AbstractSocket: Allow to specify receive and send buffer size per socket
2017-01-20 14:33:05 +01:00
DrLynix
18862fd1ba
Forgot to save those two files
2017-01-20 13:02:19 +01:00
DrLynix
f383eca19a
Update copyright year
2017-01-20 12:58:35 +01:00
Lynix
a34d1e410c
Core/Enum: Convert OpenMode and StreamOption to the new flags system
2016-11-27 13:40:47 +01:00
Jérôme Leclercq
e087129d4a
Fix many errors and warnings found out by MinGW
2016-11-04 18:14:52 +01:00
Lynix
5a07bbd001
Fix a lot of warnings from Clang/GCC
2016-10-17 14:46:53 +02:00
Lynix
6fdf4478bd
Network/SocketPoller: Fix compilation
...
Former-commit-id: ebb7105d949a924f5a454aab4f3704824e8c7e31 [formerly f2b5c057a8ded314be40d1752ad6bc86dcade278] [formerly 6487addceedb75d6f59c9c138b8e3635ea271ba2 [formerly 18f1b6e1d02b0377b382bec327f1df99c1b04f27]]
Former-commit-id: 90fc36d0a362d402fd10a23addb1bbb407e4ffb9 [formerly 82f63c8797caafb24fd3e5c8de76b8814ec24585]
Former-commit-id: 75da2a9a2dc4b2dbbbd5ad8de986ea58ee199c0f
2016-09-22 18:17:59 +02:00
Lynix
9452b98f49
Network: Add SocketPoller class
...
Former-commit-id: 86b9266d904551d19e7ec8e8d6bbe5f137e8d29f [formerly 34575937d84f796cfe36a5ab97ea1f787c1506ba] [formerly 6c8c621523800958ad38eef118fcb3687c34b367 [formerly a1f1330fbe6f990a21bbe6dccfe727edec0e2b44]]
Former-commit-id: 6635c463a753f744b835267181b51ed89620b627 [formerly 14e84c7155cd669ac20a5492e67704059a442925]
Former-commit-id: 7becccdf2d8aac7cdf526d855215d7d144be284c
2016-09-22 18:16:39 +02:00
Lynix
8509c7c068
Network/RUdpConnection: Remove useless line
...
Former-commit-id: 8f55377c62171e3976f4d4d339da9c5e06df9d52 [formerly 4e8143782a1b3814596ce84a7108ebf623352674]
Former-commit-id: b58d42df10f79f54c2f104480cc897eaf943a1db
2016-06-10 12:40:31 +02:00
Gawaboumga
db8a222f62
Fix for problems signaled by clang static analyzer
...
Former-commit-id: 835f639c45509b0d55fe716e51e3285ea2a89da4
2016-05-31 21:50:31 +02:00
Gawaboumga
0a99058c4d
Documentation for module: Network
...
Former-commit-id: d36042138d0883eb118cc9a70f94f3522214dd46
2016-05-30 14:22:31 +02:00
Lynix
3e78dd40ad
Fix some GCC warnings
...
Former-commit-id: b3292fcfd4d029793cb70f97ab608aeb7d0579ef
2016-05-25 13:52:10 +02:00
Lynix
76bc70b210
Network/RUdpConnection: Add packet loss simulator
...
Former-commit-id: 8778d54b5b5a9038ec6b9d888cf6c49ad6c5721c
2016-04-17 17:56:02 +02:00
Lynix
1a5dd41407
Network/RUdpConnection: Remove useless arg from Listen
...
Former-commit-id: 94af162bf5fc1e7d06baae8e4121eb5afe10a649
2016-04-17 17:55:21 +02:00
Gawaboumga
265e1c0fbd
Fix compilation for gcc/clang + tests for serialization
...
Former-commit-id: db9c93a1db3c57f268fc17e411402e071fc8675a
2016-04-04 10:17:05 +02:00
Lynix
3adae93ea9
Fix whitespace
...
Former-commit-id: 17b52d16923deeda808c093ed499d88217ecf5d7
2016-03-30 18:37:41 +02:00
Lynix
115565fa1e
Network/Enums: Fix SocketState_Max
...
Former-commit-id: 93f0502110b74a56101dc7216adeef18afe48d70
2016-03-30 18:37:31 +02:00
Lynix
3f9a4170f1
Network: Add RUdpConnection class (experimental)
...
Currently missing an external RUdpClient class, ping handling, some
messages but should basically works
Former-commit-id: 6ebd181a4804094c62aedb8e3ba7876a7b06acdc
2016-03-09 13:54:04 +01:00
Lynix
d6a436100c
Network/IpAddress: Add std::hash specialization
...
Former-commit-id: c8617065e51b307b541e4e58e3fb2494b144e828
2016-03-02 16:53:58 +01:00
Lynix
40e12ebffa
Network/Enum: Fix typo
...
Former-commit-id: 8a41d1a2a915a8c5565e3a9ecc93898a35ed2133
2016-03-01 14:00:27 +01:00
Lynix
d24de1f719
Network/NetPacket: Add move constructor/operator
...
Former-commit-id: 56cb793ab75e5bcd97b89c5be3592922c23a7a4d
2016-02-24 14:17:47 +01:00
Lynix
a851056c0a
Network/Packet: Fixes buffer size
...
Former-commit-id: 51fd56f76af8abe8feb1ed88802ef7ec0bd4a175
2016-02-24 14:17:28 +01:00