Lynix
8a36442c38
Clean up some code
...
Former-commit-id: d1d166225cc95474130e59645f9397b6a4130267 [formerly 10b948f0d7e08992d86cecb54a1931de50d0abd4] [formerly a23d07003f7c7583a900b532119d9402a77b1830 [formerly 8418fb742937775772c79e6546b617382f0cb22a]]
Former-commit-id: e628a175a930f2390cedfd3b26831826514b265f [formerly fa8c6a19f29e64e4cd90b212e01a5acf97f1740f]
Former-commit-id: 795328aea7f39068b6575c948b5c51fc5adf9f12
2016-09-04 20:40:02 +02:00
Lynix
134063a87d
Network/SocketImpl: Fix compilation for recent MinGW versions
...
Former-commit-id: b32cdfc7c9341b56a2534f49304ed6a40889ef65 [formerly be0dcc051b3714196a74c2639d61f3377b1732cf] [formerly 4a3c9b84f8d4b5c55f3fe086df6609b9198ff2a0 [formerly d07e788c4b54277aa726e82810c36c64dae14084]]
Former-commit-id: f71fe5191f9470facf8669ebd89ff86f8b9be9dc [formerly 96f25b63a8bb4ffa5523dd972bf2a24b8df80269]
Former-commit-id: f1beb415423a8babbe61e95c3fe35ad9456c6622
2016-08-28 01:09:40 +02:00
Gawaboumga
24d7861380
Fix documentation
...
Former-commit-id: bdaff1e4efaaad685df60baa0d11af3e7951dc4d [formerly 409b51215b894006fbcae285c8dfd67c97c9ae11] [formerly 58a176f2944bc3d347ccba58360cbdee3bb1b8d3 [formerly e6bd6b34212946c04eeec6896954c3969d1baf5f]]
Former-commit-id: 944b2ddd24acdcb0b6a5db07cfc75c13f407737a [formerly 7ed2f044fe8e50bf99a1c432e6079f7a445af573]
Former-commit-id: a1bfe55ac944ea530578a0cc813dd253cc708b69
2016-08-21 13:49:24 +02:00
Lynix
819b46f5fc
Fix a shitload of warnings in 64 bits mode
...
Former-commit-id: c7792a7d5b1f85ab934da25324831b9daa3f47ff [formerly 3469974c48432be1f65808bff0ea39d9e22f5b50]
Former-commit-id: 5080815e9e1a3aebe237ff9a291b908ce0292eca
2016-06-13 21:09:55 +02:00
Lynix
e70b1f57ae
Fix compilation for CodeBlocks 16.01 ! ( Fixes #65 )
...
Former-commit-id: 4cddcf427228260249ac1578283896ee2b7ecbfc [formerly 7bf4124ba228559456f38f4247116ed71a45c227]
Former-commit-id: 2b1a728de56c163627fcb6b59231102708f57513
2016-06-09 13:02:02 +02:00
Lynix
d08ac3fed1
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
...
Former-commit-id: 99b31f6b6db2d625443b37108133ecf61a3d86d7 [formerly 36f29024fc2ae87af4a59a85003945584b2306c1]
Former-commit-id: fe56ad5690ce2bb5945096329fe342ee5bcd224c
2016-06-08 18:46:31 +02:00
Lynix
d26395ba6d
Network/Windows: Fix build on some plateforms (Hi MinGW)
...
Former-commit-id: d8bab0668373c3e8f6f15296e7d19d4547559fce [formerly 46afd404ab3cf4bfd8e1981cc20574707dbf703c]
Former-commit-id: 29c558c519e2783641b87747de4215cd9652e1b2
2016-06-08 18:45:56 +02:00
Lynix
ece1020f4c
Merge pull request #64 from Gawaboumga/Documentation-Update
...
Add documentation for Audio, Graphics and Network modules
Former-commit-id: bcad0dac73bdbd9dfb7ccc38cea5cf7da93aede4 [formerly c706de87aa6d10976cf117f115f2156debd3ffcd]
Former-commit-id: 96878c5bbac2e000c278665f50919384f654ca83
2016-06-08 14:29:34 +02:00
Lynix
6b42e5a604
Network/Windows: Fix build on compilers with outdated windows.h (Fixes 63)
...
Former-commit-id: d035029cb037dd4a8a91a85f0b750572a2b938c0 [formerly 693cb8be89964f7f2c752a6a928e07c042210e76]
Former-commit-id: a4d4255872b47193c3456c65926041d0bd73b5ed
2016-06-08 12:58:25 +02:00
Gawaboumga
0a99058c4d
Documentation for module: Network
...
Former-commit-id: d36042138d0883eb118cc9a70f94f3522214dd46
2016-05-30 14:22:31 +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
Lynix
a31a969409
Replace useless reinterpret_cast by static_cast
...
Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
2016-04-07 04:20:18 +02:00
Gawaboumga
91f2bee487
Bug fix -> String with one char + Directory and File on linux
...
Former-commit-id: 7f9b6c44197c3cc67145eb0a2d421a2e1de45a84
2016-04-04 10:36:13 +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
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
ff25505d92
Network: Remove outdated comment
...
Former-commit-id: 454debf692483a58ea5a24cbaa6ecf2a8715a242
2016-02-24 14:19:15 +01:00
Lynix
9d4256a4d2
Network/TcpClient: Fix disconnection of previous connection not happening with IP connection
...
Former-commit-id: 3ec17a6c56ee3f0aae7f66f78766f15d7a168f32
2016-02-24 14:19:03 +01:00
Lynix
a0a088a914
Network/UdpSocket: Fix receiving packet
...
Former-commit-id: f27235940770d8e818fa1b60b4840be88cb04fd0
2016-02-24 14:18:22 +01:00
Lynix
a851056c0a
Network/Packet: Fixes buffer size
...
Former-commit-id: 51fd56f76af8abe8feb1ed88802ef7ec0bd4a175
2016-02-24 14:17:28 +01:00
Lynix
d6279914b4
Network/Socket: Fix last error being undefined without any operation
...
Former-commit-id: 5ccd098d93842f0be79d516630f39150a394045c
2016-02-24 14:14:29 +01:00
Lynix
08caff5ea3
Network: Add support for sending/receiving NetPacket over UDP/TCP
...
Former-commit-id: 5c09a5fa8b499e4204d2312f6d04d8554093a5a4
2016-02-04 14:51:26 +01:00
Lynix
6c0215952d
Network/NetPacket: Add Resize method and fix buffer size
...
Former-commit-id: 465864559149ef62279038c24649d73c75f38037
2016-02-04 14:40:40 +01:00
Lynix
f723d6a29c
Network: Replace unsigned int by size_t for size
...
Former-commit-id: efa7e2f50ae370f96871726be7906332ca8969a4
2016-02-04 13:27:06 +01:00
Lynix
00ed0e2ae3
Network/NetPacket: Inline some methods
...
Former-commit-id: d54e7b9ff1baf93f6da35e29123d598b84742eac
2016-02-04 12:24:44 +01:00
Lynix
4312de828e
Network: Add NetPacket class
...
Former-commit-id: 0c5acdbf9313621dddd3dcee23c6f85f46c27012
2016-02-03 18:44:03 +01:00
Lynix
9ae27d990c
Network/Socket: (Windows) Handle WSAECONNABORTED and WSAECONNRESET error messages
...
Former-commit-id: 3923999541c8ba069452b1704c40bea10a6938fa
2016-01-19 12:11:59 +01:00
Lynix
d2a1bc3fd5
Network: Fix some move stuff
...
Former-commit-id: 33b24a038319b444b9a3b84cfeea38c8305e6568
2016-01-15 08:29:58 +01:00
Gawaboumga
1d04ac8f13
First implementation of Posix Network
...
Former-commit-id: 2b73870d8eef4dc92038224164396390ac43df46
2015-12-30 15:20:07 +01:00
Lynix
840c591b6e
Fix linking problem in United mode
...
Former-commit-id: 6c78f8bb7fba17bda69a622a8028c59d2fadcca2
2015-11-28 13:53:26 +01:00
Lynix
4721bf80c3
Network/TcpClient: Make TcpClient a Stream
...
Former-commit-id: 2176748166ae84b609d5a336495e6ff3550a765d
2015-11-23 18:22:12 +01:00
Lynix
86da939520
Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
...
Former-commit-id: 8aec2e99cfa90bff230e2390d1bdc5908db41c27
2015-11-16 10:05:48 +01:00
Lynix
0cda3c1d14
Network/SocketImpl: Add query methods
...
I'm still not sure I will use them
Former-commit-id: 1c023a51372b6864ebd7f09142ff9adeced72dd0
2015-11-16 10:05:45 +01:00
Lynix
a128c2aacb
Network/HostnameInfo: Fix empty canonical name on Windows
...
Former-commit-id: 5cbe995eaf14305d70d2ccd43b8d3120c4b6ad2e
2015-11-14 02:12:40 +01:00
Lynix
e8aa649cfc
Network/HostnameInfo: Replace family/socketType raw value by engine enumeration
...
Former-commit-id: 40adb7654b5a741c5fa12c1b866e3b427b1be5e9
2015-11-14 02:12:10 +01:00
Lynix
1b4ac70ac3
Network/SocketImpl: Fix SetKeepAlive
...
Former-commit-id: 490857d9a34ed1492710666695965bc930691c0b
2015-11-13 18:21:26 +01:00
Lynix
3a4acd9584
Network/TcpClient: Remove unreliable QueryState()
...
Former-commit-id: 75d61ca0d84150a278c168c81af4c755e8a74d91
2015-11-13 14:17:43 +01:00
Lynix
a324f44901
Network/TcpClient: Fix QueryState() when connection failed
...
Former-commit-id: 15824535922186c0601ade8bfbbe76866b7cd5ff
2015-11-13 14:01:36 +01:00
Lynix
5325513bd8
Network/TcpClient: Allow configuration before connection
...
Former-commit-id: 65c81f994ae5b9e9cce0132e2a86b1918879b24f
2015-11-13 14:01:18 +01:00
Lynix
8935aa895d
Network/SocketImpl: Fix QueryAvailableBytes error handling on Windows
...
Former-commit-id: 7b1c17a66416201ebea620eb8f992092b511adb8
2015-11-13 13:07:49 +01:00
Lynix
328083638e
Network/UdpSocket: Improve code
...
Former-commit-id: 66ad787d036b6c855dd2a0872c2ceecff9a1674e
2015-11-13 13:07:24 +01:00
Lynix
a9611680e7
Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
...
Former-commit-id: 4962dac67b404140813e143a12d5577478d8a044
2015-11-12 22:08:50 +01:00
Lynix
b77c50fe58
Network/TcpClient: Fix peer address not updated if Connect() fails
...
Former-commit-id: 1c8f9d5e20f6266d40233e7ad0ecf7b12fee0127
2015-11-12 14:54:47 +01:00
Lynix
f28e1a7d9b
Network/UdpSocket: Add broadcasting option
...
Former-commit-id: bde428efc5e9c77cf3e64ec04d58d72613f1d8de
2015-11-12 13:35:46 +01:00
Lynix
81221fbf0b
Network/TcpClient: Fix LowDelay
...
Former-commit-id: 70fc4224ae7f8913e27a3a3cf234500db262f73c
2015-11-12 13:19:21 +01:00
Lynix
5d6e6b2d45
Fix errors and warnings
...
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
Lynix
a26c979d84
Network/TcpClient: Add Connect overload resolving hostname
...
Former-commit-id: 5c667a14c591e4e9cb898a8d4c83fedf161179fd
2015-11-10 14:45:59 +01:00
Lynix
fd09cdbf1e
Network/TcpClient: Replace Connect overload by WaitForConnected method
...
Former-commit-id: 11ff81ea975f79a51f6342a9a574a23d18c0180f
2015-11-10 13:55:42 +01:00
Lynix
66daa68333
Network: Little clean up
...
Former-commit-id: 594fbfbbe9051ac4ec7b647f9e2eb1a74d640a69
2015-11-10 13:35:09 +01:00
Lynix
65bc2d46e7
Network/Win32: Update comment
...
Former-commit-id: 8e8592279e3df84c88ea14b9698dbb172ee21566
2015-11-10 13:26:47 +01:00
Lynix
4ad1a47064
Network: Add ResolveError handling
...
Former-commit-id: 0dc3d109284e8b475577bf44cbaeb503c4baae73
2015-11-10 13:24:25 +01:00
Lynix
5f0aa64555
Network/TcpClient: Fix clients from TcpServer state
...
Former-commit-id: 39d0884471fb2b0d6a8a12634b26a2f5da894a58
2015-11-10 12:47:33 +01:00
Lynix
2efaa9dad6
Network/Socket: Rename ChangeState to UpdateState
...
Former-commit-id: 96f1909e002c0d1bc7a3ebd173fae799b6ba4770
2015-11-10 12:19:03 +01:00
Lynix
2a70758f08
Network: Get rid of now useless TcpBase
...
Former-commit-id: 5a682d6d58cc5e2b8bea19dbfc9acb1133b35337
2015-11-10 12:14:59 +01:00
Lynix
1bbf038cc6
Network: First commit
...
Former-commit-id: ec8697acc51569f5043e4f70e4cf42f1c5dc487c
2015-11-09 15:02:25 +01:00
Lynix
b442ab0bd2
Refactored mathematics module
...
Added AABBs
Added code examples
Added experimental support for texture arrays (1D/2D)
Added initialisers (new way of initialising modules)
Added global headers (Plus a global header generator script)
Added pattern support for directory
Added support for spinlocks critical section on Windows
Added NzRenderWindow::SetFramerateLimit
Core project now includes Mathematics files
Fixed color implementation using double
Fixed declaration needing renderer include
Fixed MLT not clearing nextFree(File/Line) after Free
Fixed move operators not being noexcept
Fixed thread-safety (Now working correctly - If I'm lucky)
Moved Resource to core
New interface for modules
New interface for the renderer
Put some global functions to anonymous namespace
Removed empty modules
Renamed ThreadCondition to ConditionVariable
Replaced redirect to cerr log option by duplicate to cout
Setting mouse position relative to a window will make this window ignore
the event
Shaders sending methods no longer takes the uniform variable name (it's
using ID instead)
Using new OpenGL 4.3 header
2012-08-08 04:44:17 +02:00
Lynix
be0a5d2819
Fixed many bugs
...
Added NzOpenGL::GetEntry
Activated preprocessor error if not compiling with a C++11 compliant
compiler
Cube can now be constructed with a Rect
Desactived utility option "threaded window" (bugged)
Epured Image interface (No more UpdateFace, use Update with z = the face
you are targetting)
Fixed compilation errors (Thanks to RafBill)
Fixed predefined colors not exported
Fixed uplading pixels not aligned by 4 bytes
Fixed Thumbs.db files not ignored by git
NzImage now supports Filling and Flipping (Horizontally and vertically)
NzImage::Get(Const)Pixels now support pixel location
NzVector(2/3) can now return floatting distance/length with all types
NzVector(2/3/4) can now be constructed by a vector of smaller dimension
Premake now set "-std=c++11" build option for GCC
Renamed NzImage::(Get/Set)Pixel to (Get/Set)PixelColor
Updated new([])/delete([]) in the leaks tracker to the new C++11
signatures
2012-06-15 11:03:43 +02:00
Lynix
71b4262c51
First commit
2012-05-01 16:43:48 +02:00