Commit Graph

452 Commits

Author SHA1 Message Date
Lynix
7c1ffea19c Core/Win32: Encapsulate internal struct 2018-01-28 14:28:33 +01:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix
fd8306f17f Core/String: Replace implicit operator std::string by ToStd::String 2017-12-14 19:50:06 +01:00
Jérôme Leclercq
9272efa159 Core/Thread: Fix possible infinite recursion 2017-12-13 17:42:45 +01:00
Lynix
24278dafdc Core/MemoryStream: Fix assertion trigger when writing zero-sized block 2017-12-09 20:34:07 +01:00
Jérôme Leclercq
a9fc553bd5 Core/Directory: Try to fix default directory permission 2017-11-29 16:09:46 +01:00
Jérôme Leclercq
45576f5691 Core/Directory: Fix recursive Create method on Posix 2017-11-29 16:01:07 +01:00
Jérôme Leclercq
ffa6d5c4cc Core/File: Fix error handling when opening file on posix 2017-11-29 15:12:17 +01:00
Gawaboumga
f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix
0e45876b89 Fix compilation with MinGW 2017-10-18 22:02:36 +02:00
Lynix
ee06fffd03 Fix StringStream tests 2017-10-15 14:54:28 +02:00
Lynix
9911c6e07c Core: Optimize StringStream 2017-10-15 12:25:08 +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
S6066
4f0435754f Fixed Nz::String's implementation of std::geltine (#136)
* Fix Nz::String's std::getline

* Bugfix

* Bugfix again
2017-09-30 14:23:42 +02:00
Lynix
2cd9fa2b7a Core: Add MovablePtr class 2017-09-30 13:57:25 +02:00
Jérôme Leclercq
5531e81e65 Core: Add CRC64 and regenerate global headers 2017-08-15 12:32:19 +02:00
Lynix
175a98c4fc Fix compilation 2017-06-20 08:28:57 +02:00
Lynix
50a3f78f91 Core/Thread: Add posibility of setting thread name 2017-06-20 08:16:08 +02:00
Lynix
5fe782bd46 Core/FileImpl: Remove implicit region locking (Windows) 2017-06-20 06:57:58 +02:00
Jérôme Leclercq
6ff510ad4a Merge pull request #126 from Gawaboumga/Concurrent-File-Writing
Fix the possibility to have two processes writing to the same file on Linux
2017-06-20 06:53:21 +02:00
Gawaboumga
e95d252cde Add lock file on Linux and the possibility to have two processes writing to the same one 2017-06-15 18:03:19 +02:00
Jérôme Leclercq
6759abc878 Core/Thread: Rework ThreadImpl:Sleep for POSIX systems (fix yield behavior) 2017-06-14 10:11:02 +02:00
Jérôme Leclercq
bc4a533b96 Core/ParameterList: Use double and long long instead of float and int 2017-05-29 19:55:02 +02:00
Lynix
06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Gawaboumga
c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Lynix
ab6e9d3b86 Core/String: Fix FormatVA bug 2017-02-10 15:20:43 +01:00
DrLynix
f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix
7de3c4905f Core/String: Add Format static method 2016-12-16 18:37:06 +01:00
Lynix
e3daf7ef1f Core/String: Add GetCharacterPosition method 2016-12-03 00:34:55 +01:00
Lynix
0031b0fd83 Core/File: Fix OpenMode_MustExist for Linux 2016-11-27 14:23:36 +01:00
Lynix
efcce7d442 Core/Enums: Fix typo in OpenMode (MustExit => MustExist) 2016-11-27 14:23:26 +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
8ed34d22fb Core/ByteArray: Move ToHex implementation to .cpp 2016-11-08 16:14:56 +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
f3e1b19326 Core/FileLogger: Fix errors being written twice to the console with std replication (Fixes #103) 2016-10-18 19:16:38 +02:00
Lynix
4c6f049e0d Fix another lot of warnings from Clang
Closes #90
Closes #91
Closes #92
Closes #93
2016-10-17 16:01:05 +02:00
Ardakaniz
fa32f70d14 Fix log crash 2016-10-16 19:21:06 +02:00
Ardakaniz
72fa0adcfd Fix compilation + codingstyle 2016-10-16 18:39:05 +02:00
Ardakaniz
495976bff6 Remove DefaultLogger, just accept a SetLogger before initialization 2016-10-16 18:34:01 +02:00
Ardakaniz
308a603324 Log: Add possibility of set default logger (for initialization) 2016-10-16 18:21:05 +02:00
Ardakaniz
fca5aeb9cd FileLogger: Make IsTimeLoggingEnabled const 2016-10-16 18:20:25 +02:00
Ardakaniz
64cec3fd01 AbstractLogger: Make IsStdReplicationEnabled const 2016-10-16 18:20:05 +02:00
Lynix
30e07ea2e2 Core: Rewrite CPUID to preserve EBX register (Fix #73)
Former-commit-id: 19651c4e8856df2e6a9a208b5dfab1dfdde80978 [formerly d7392176b9b510939aeefaf5c853d023af211379] [formerly 36c14e52fae5966508143704557610247aaf2e22 [formerly 1901b3100ddc4621685375de77dfb7863687d1b4]]
Former-commit-id: 53af7fc2cb9ee97f16cc03db53658385dc218b71 [formerly d43f598f33684430ab3a58db1533cb108be6e26a]
Former-commit-id: 5d88e9b7ef4bc7e05060ac06678d6c141d9a88a4
2016-10-03 19:05:50 +02:00
Lynix
c61b4598e8 Core/Config: Rename WINDOWS_VISTA option to WINDOWS_NT6
Former-commit-id: 9d0c33b7d79521e074aa84684d09d7855956d1df [formerly 7400f0dc41845e0bf275e7a631ec760857db6009] [formerly 9bc38d067febb9723119adf811922642b1f7b782 [formerly e7b9f3e327d422a9ed1e01cdc9439170a67bf7d2]]
Former-commit-id: 8614882bef71668ed10cd7fedbf4a058073e6389 [formerly 1bbf4a90092509565475a1709c82dc696f8b8a04]
Former-commit-id: 0b6c22973bfa60dca69902388244d4d40fc9b554
2016-09-27 13:40:29 +02:00
Lynix
a7b98c407a Core/String: Fix error when using COW on empty string
Former-commit-id: 5d4bb54e4d7b9f68ef66ff8f099d9ea854d982b5 [formerly 8c7e15a2f6f5c1978a3e7b2c33f0ce038ca19dc7] [formerly 9b01d29473ca9d3d64333dd1aa79539a3b2dedb2 [formerly 9159fc04b30b7aef18d16ed1887ba637256a8ad8]]
Former-commit-id: dcbc45c4fce819a44a47a02439a68276fae5b992 [formerly effba4f1df384c6bc7b87066fe94a93058302b0a]
Former-commit-id: 357ad9fa46d773d6066b1b7cc945da663fe004f7
2016-09-26 13:19:03 +02:00
Lynix
bbf9a5337d Core/String: Fix Simplified() method, which was altering the original string size instead of the copy
Former-commit-id: ee47e8d0162647c87319345efc1506c41ec4b727 [formerly 02f40858f0e96881607d8e41a7f1ceac9f417a03] [formerly b711d61ffcf49f18afb95def91de1a045f3684dc [formerly b75b19a03b746c0a9f750d7ddf86ddd51f08098d]]
Former-commit-id: 120d8b06bdbb658cf67e2a45bdaec4134ce291f2 [formerly ac34669afd7c16f9c2a2dee23dab7f7e09e0f5e5]
Former-commit-id: 6b2fc9ec4f3815976a73ca2be3d79ce141597b58
2016-09-26 13:18:21 +02:00
Lynix
8c7dee81e8 Core/Stream: Fix ReadLine
Former-commit-id: 81e89bb4b11264371d7cbcf9cf5275ec0ce3f7ba [formerly 8ac037f30540faebc51efa5953fc01d9659a1f19] [formerly b599cef23b34132171373aee1cca81daf259b65e [formerly 053ef5248717e56f5e943f6dbdddf8092ae9dda2]]
Former-commit-id: c14803c0471a6bfa347f0f512886dae2d8cc7871 [formerly dc174bdb2cb49e68b57b85267ac72178d7e202af]
Former-commit-id: 815fe25a962845d091de7a02a0c0ff2e62f45b51
2016-09-26 12:35:16 +02:00
Lynix
62be0e21df Win32: Fix compilation with NAZARA_CORE_WINDOWS_VISTA
Former-commit-id: 6249451f41f2dce01652ea61866aa17053ffa4cc [formerly 3db7c2e797fbaa519b303fd533e0184c60781505] [formerly 3342dd5ea892e839757fb3e2e567352c718889de [formerly 174f4491e3141badbce1ded1e4f8e7f2cec2a3d7]]
Former-commit-id: d80442b18af96bdecc17bc5409d42483a3a80cd2 [formerly 05adb7a04a120d5989c4307adfdd6f34beef313d]
Former-commit-id: bce1c276014724556464f34d2112e6465202cf93
2016-09-25 02:53:07 +02:00
Lynix
5ded56c6e5 Core: Fix warning of Serialize()
Former-commit-id: d6ddb8947cd250e03a7918e6079b1ee0e4e9bc19 [formerly db49227b808f10e078925da7e293cd3474ea4fa7] [formerly 43f03d8bb5ce0f2ae1ad8989d5af99c6e780c622 [formerly 915b6943dc75ff7e550b6a028358bdb8cbe15203]]
Former-commit-id: 1eeb94806f6053948945adf0e044563ad371d1e7 [formerly 2d9eeea263f8728588f6c0ce0d0e0e27006154b1]
Former-commit-id: 417aa3f586b9615c2bf8d8f2127b616871be35e7
2016-09-25 02:02:05 +02:00
Lynix
c1e1d35028 Core/String: Fix Simplify/Simplified method, not adjusting string size
Former-commit-id: 3996623190ee6195af1f8acf4f8cf07463046e0f [formerly e02718b2c559cd57f24c9315cfb0cf8542db1e92] [formerly f9047f74247e48ff63a96760d12be702ded86f13 [formerly 617cddeb7635631ac64c708ccfa45fa9895a99b8]]
Former-commit-id: 4bf301a65420c8b7968736bc28a2f74163ca3c36 [formerly 50fe7ab0e3f53c6f2337ef5fd4c4a285e69fadef]
Former-commit-id: b93130e3651c3e85551fa265fe334f5534134d34
2016-09-24 21:18:32 +02:00