Commit Graph

2167 Commits

Author SHA1 Message Date
Lynix bbe8a776e8 Fix a shitloads of warnings on VS
Former-commit-id: fca61118f4e0530ed2eaaf9ff96de29806aa5aa8
2015-11-25 18:19:26 +01:00
Lynix c6d16c0128 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 0a246d26e2ea13acec4bcf00a48f5bec3e4f8c7f
2015-11-23 18:22:15 +01:00
Lynix 4721bf80c3 Network/TcpClient: Make TcpClient a Stream
Former-commit-id: 2176748166ae84b609d5a336495e6ff3550a765d
2015-11-23 18:22:12 +01:00
Lynix 6829863d81 Core/Enum: Rename OpenMode_Current to NotOpen
Former-commit-id: f4395871d68d8f6da5ca6dbcda2177ad6aae2fc8
2015-11-23 14:15:29 +01:00
Lynix 7f220ce48c Core/Serialization: Add bit serialization
Former-commit-id: dbaf3a2d40a85955b4d48efba72a5df9d92d0eb1
2015-11-23 13:45:35 +01:00
Lynix b0d2675994 Network/Algorithm: Fix external linking
Former-commit-id: 7ad005245e1a93d0c2a8981d654dcfce462fcbd7
2015-11-22 15:53:31 +01:00
Lynix c93e4e901e Core: Add Serializer/Unserializer
Former-commit-id: 50fdf56da4fef46ec78995cb8fc277cbc9a11ebc
2015-11-20 14:23:10 +01:00
Lynix ed961f5ba8 Core: Merge InputStream and OutputStream to Stream
Remove serialization support from Stream


Former-commit-id: 7a761e4fcd07cab561f13e4709c4492ed18da88a
2015-11-20 13:52:49 +01:00
Lynix a47e5633d4 Core/String: Fix (Un)Serialize not checking string read/write
Former-commit-id: 8d6f907fcaf20374b713851a102dfc4b0003a39d
2015-11-19 14:04:00 +01:00
Lynix 35b27bbe67 Core/MemoryStream: Add hash overload for MemoryStream
Former-commit-id: ab618e0db87bd85994a3b11a29c7f38e28d8aae3
2015-11-19 14:03:26 +01:00
Lynix 11f85ab9bb Core/MemoryStream: Add default constructor and getters
Former-commit-id: dde0bbc7e697512d94275a807e18299eb271197e
2015-11-19 13:57:39 +01:00
Lynix 1c8a09f90c Core: Replace serialization arguments by context structures
Also fixed some endianness errors


Former-commit-id: 450849e681a9b002c3d501a856a8481470d08dea
2015-11-19 13:25:07 +01:00
Lynix bc4eb96af2 Core/File: Fix StreamOption_Text staying if reopened
Former-commit-id: b5d73fb753b8c38aa088ed793791efbbdbb404b5
2015-11-19 12:30:30 +01:00
Lynix 6eada337b8 Core/File: Fix compilation
Former-commit-id: 69d173fe734dde3d0ca0f008826addce0d5d50bf
2015-11-19 12:18:27 +01:00
Lynix 3fb9e57360 Core/Serialization: Add correct endianness handling
Core/File: Remove endianness handling


Former-commit-id: 6f7bba52057f36c507a024f7a7ea873658a3cfd3
2015-11-18 18:49:38 +01:00
Lynix be01b6f3b4 Core: Add serialization interface
Former-commit-id: cfa749dba1b6f23ef8f38519e0bc9ad9492e3db3
2015-11-18 18:29:20 +01:00
Lynix 167f3e4a27 Core: Switch Hashable struct to HashAppend function
Former-commit-id: 2a20eca0e75bf4067d390f4f5e446de78f26799c
2015-11-18 18:28:56 +01:00
Lynix 00423c4211 Core/File: Remove useless SetOpenMode method (equivalent to Open)
Former-commit-id: e02f4f758adfd2c0870920997acac71a47d51c3f
2015-11-18 18:27:01 +01:00
Lynix ddc343a630 Core: Rename MemoryStream to MemoryView, add MemoryStream
Former-commit-id: c180d5f34fa7c477f35c4b70ebf7b64e3f35fe3d
2015-11-17 14:06:57 +01:00
Lynix a1bb104255 Core/File: Fix crash
Former-commit-id: ee797ea7ba228fa814f2c87250c6dd6c32a9982f
2015-11-17 14:05:46 +01:00
Lynix 131d047517 Regenerate global headers
Former-commit-id: 07a0b81c1840da5d9f1f59e9ba328c24a72e45ad
2015-11-17 13:21:12 +01:00
Lynix 8371ce068f Core: Update Stream interface
Add Open Mode to Stream level, Add IsReadable() and IsWritable()


Former-commit-id: 0da5fa798c0f3bd3bf1545cb57f6bc923b222de8
2015-11-17 13:19:44 +01:00
Lynix fb920f0016 Core: Add OutputStream class
Former-commit-id: a6b8f642e263833c75a338cc23266c94edbced6f
2015-11-17 12:47:13 +01:00
Lynix 9f7468d940 Core/ByteArray: Fix missing include
Former-commit-id: f1f90e4be3d7af42114f0bbe48e351584ab16e77
2015-11-16 14:05:04 +01:00
Lynix 21f223f1c7 Core: Reworked hashes
-Removed HashDigest class (replaced by ByteArray)
-Removed Hashable/Hash classes (replaced by ComputeHash function and
Hashable template struct)
-Fixed ByteArray operator<<
-Renamed File::GetHash to File::ComputeHash


Former-commit-id: cc5eaf2d4c88a556878190b8205e66713512e2d2
2015-11-16 14:04:39 +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 b64ea6f534 Core/String: Fix missing modifications
Former-commit-id: ac0e45fcc8caf8135542cb2fa6ab02b22182735a
2015-11-14 17:37:03 +01:00
Lynix 682b8811f5 Graphics/TextSprite: Fix crash
Former-commit-id: c659044edff45afc7eec91065619bdfb402bc32d
2015-11-14 11:43:24 +01:00
Lynix 6a3eb68225 Core/String: Fix heap corruption
Former-commit-id: cf3f1172a43b7ddb9b8e8e9521e3dc1258fa6c21
2015-11-14 11:43:06 +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 3b9c736c16 Network/AbstractSocket: Fix state sent to OnStateChange
Former-commit-id: ae83ea675153d7954187c12d93d7c8c42d8e1dfc
2015-11-10 14:42:36 +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 dd987e6b71 Network: Fix global header
Former-commit-id: 13b207375cecf63722f45d24d0de5f756fe0a815
2015-11-10 13:53:23 +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