Commit Graph

678 Commits

Author SHA1 Message Date
Lynix 269190bb75 Core/Bitset: Make use of if constexpr 2020-02-24 18:49:43 +01:00
Lynix 3fc67b3598 Core/FileLogger: Drop noexcept specifier for movement
Since fstream doesn't have it
2020-02-23 02:20:48 +01:00
Lynix 364122f582 SparsePtr: Make pointer conversion explicit 2020-02-23 02:06:48 +01:00
Lynix 8b5f9d68c3 Fix missing includes 2020-02-23 00:49:38 +01:00
Lynix 3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix e35caebdcf Core: Add ByteArrayPool and PoolByteStream classes 2020-02-04 11:42:05 +01:00
Lynix f371cbb386 Fix EmptyStream open mode 2019-12-29 16:36:23 +01:00
Lynix 35cf05e3bc Core: Add EmptyStream class 2019-12-29 16:25:40 +01:00
Lynix 57b37c3d2c Minor fixes 2019-12-28 15:06:31 +01:00
Lynix ec0eed9eff Core/HandledObject: Add OnHandledObjectDestruction signal 2019-12-15 15:41:41 +01:00
Lynix ef030ddaac Rework constraint2D 2019-12-08 18:56:21 +01:00
Lynix ae996ae09d Oopsie 2019-11-09 15:34:25 +01:00
Lynix 57958056d6 Core/Flags: Add Set method 2019-11-09 13:53:29 +01:00
Lynix a4bff0968b Core/Flags: Add Clear methods 2019-11-09 13:37:40 +01:00
Jérôme Leclercq 9161886cc8 Update Flags.inl 2019-10-15 22:12:31 +02:00
Lynix 9576e2794d Core/Flags: Fix bitfield type selection 2019-10-15 18:09:34 +02:00
Lynix 7b9dad59fe Oopsie 2019-09-29 16:43:56 +02:00
Lynix 31e6bfe43a Core/Stack[Array|Vector]: Are now default-initializable and movable 2019-09-29 16:41:26 +02:00
Lynix 5fce345b3e Core/StackVector: Fix resize check 2019-09-28 17:36:19 +02:00
Lynix 89243a39b5 Holy shit i'm stupid 2019-09-28 16:55:11 +02:00
Lynix acc2c072ba Core/StackVector: Fix erase method (+ add tests) 2019-09-25 16:17:07 +02:00
Lynix 724972e889 Core/TypeTag: Add Type helper typedef 2019-09-01 11:15:02 +02:00
Lynix bdb5a4b3bd Core/Signal: Implement copy constructor/copy assignation operator 2019-03-17 18:06:05 +01:00
Jérôme Leclercq ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Jérôme Leclercq 4c4822eef9 Core/ObjectHandle: Remade object handle system 2018-10-12 15:46:40 +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 e4d547316d Core/ObjectHandle: Fix Reset(ObjectHandle&&) not clearing the pointer 2018-08-16 18:06:02 +02:00
Lynix 49d59d93d8 Revert "Core/Flags: Make operators |= &= and ^= constexpr"
This reverts commit a363ae312f.
2018-08-03 23:56:52 +02:00
Lynix a363ae312f Core/Flags: Make operators |= &= and ^= constexpr 2018-08-03 20:26:44 +02:00
Lynix 39d1d31639 Core: Integrated Unicode data 2018-08-03 20:24:56 +02:00
S6066 aafb79f06c Fix: destroy instead of constructing (#169) 2018-07-06 10:42:23 +02:00
Jérôme Leclercq 7da0fffe07 Core: Add StackVector class 2018-07-02 17:56:27 +02:00
Jérôme Leclercq 2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +02:00
Lynix eeaaebb15c Core: Add ObjectLibrary::Clear 2018-07-01 00:36:59 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Jérôme Leclercq ba32d700e2 Fix compilation 2018-05-31 17:02:07 +02:00
Jérôme Leclercq 550176e198 Core/SerializationContext: Replaced currentBitPos and currentByte by [read|write][BitPos][Byte] to handle properly bit reading/writing 2018-05-31 16:10:58 +02:00
Jérôme Leclercq 74773e9daa Core/Flags: Add operator&|^ for enum and flags 2018-05-16 15:54:55 +02:00
Lynix 8ab1462402 Core/HandledObject: Make move constructor/assignation operator noexception 2018-04-22 12:33:36 +02:00
Lynix 830dae1b27 Core/HandledObject: Fix move assignement operator behavior
It will now unregister all previous handles (notifying about object destruction) before stealing moving object handles
2018-04-06 21:14:09 +02:00
Lynix 31c272ab98 Core/HandledObject: Fix move assignement operator 2018-04-03 22:05:35 +02:00
Lynix 25f2bcf03f Revert "Core/Algorithm: Fix Apply problems"
This reverts commit 9a8c807d18.
2018-03-20 21:50:22 +01:00
Lynix 9a8c807d18 Core/Algorithm: Fix Apply problems 2018-03-20 20:59:54 +01:00
Lynix ad82de2962 Replace typedef keywords by using 2018-03-20 20:59:04 +01:00
Lynix 69f079fcc8 Core/Serialization: Add type tag parameters 2018-03-20 20:56:06 +01:00
Lynix 3036c32d9d Core/Bitset: 2018-03-06 20:25:29 +01:00
Jérôme Leclercq fb3eb9443e Core/Clock: Restart now returns the elapsed time in milliseconds 2018-02-07 15:02:44 +01:00
Lynix b6bbf82d97 Core/Flags: Fix bit shift on integers 2018-01-20 14:19:05 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix b85a762476 Core/SparsePtr: Fix warning 2018-01-06 02:46:08 +01:00
Jérôme Leclercq e8d519dad7 Core/MemoryHelper: Make PlacementDestroy a no-op on null pointers 2018-01-05 16:09:25 +01:00
Jérôme Leclercq eb9bc18b45 Core/MemoryHelper: Oops 2018-01-05 15:41:30 +01:00
Jérôme Leclercq 1e53274623 Core/MemoryHelper: Fix alloca with a size equivalent to zero 2018-01-05 15:40:25 +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
Jérôme Leclercq aa623a4933 Core/Flags: Add Test method 2017-11-22 12:58:56 +01:00
Jérôme Leclercq 54faabcc33 Core/Flags: Allow explicit operator conversion to any integer type of the same size (or greater size) than the internal size 2017-11-22 12:58:17 +01:00
Jérôme Leclercq 9c9b9ed49f Core/String: Fix movement leaving a null shared string 2017-11-22 09:27:23 +01:00
Jérôme Leclercq f84ac9c52b Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-11-21 12:26:45 +01:00
Jérôme Leclercq 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +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 078641aa23 Core/Algorithm: Fix Unserialization of std::string 2017-11-05 22:36:14 +01:00
Jérôme Leclercq a982215ab7 Core/Bitset: Mark swap as noexcept 2017-10-20 16:36:43 +02:00
Lynix 9911c6e07c Core: Optimize StringStream 2017-10-15 12:25:08 +02:00
Lynix 46cf06f446 Fix previous commit oopsies 2017-10-14 18:27:37 +02: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 99d21b8722 Fix compilation and some warnings 2017-10-02 16:18:15 +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 85442a14fa Fix: SoundBuffer should not move (as a refcount) 2017-09-30 14:35:26 +02:00
Lynix aa80f52597 Fix compilation 2017-09-30 14:30:36 +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
Jérôme Leclercq 2ca844be63 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-06-21 18:10:51 +02:00
Jérôme Leclercq b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix 90d86c6eb0 Breaks compatibility with Windows XP by default 2017-06-20 08:16:43 +02:00
Lynix 50a3f78f91 Core/Thread: Add posibility of setting thread name 2017-06-20 08:16:08 +02:00
Lynix 4a1a335cee Core/Flags: Fix compilation
Oops..
2017-06-20 07:06:50 +02:00
Lynix dfc441c2fc Core/Flags: Rename DetailFlagOperators to FlagsOperators
In case a user would need to use it
2017-06-20 06:57:57 +02:00
Jérôme Leclercq b7df3bd1c4 Core/Flags: Try some hack to fix compilation 2017-06-06 18:08:36 +02:00
Jérôme Leclercq 184a970b72 Fix all flags.. 2017-06-06 16:50:09 +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
Jérôme Leclercq 3e97240148 Core/ParameterList: Add ForEach methods 2017-05-29 18:01:19 +02:00
Lynix 6d0314741a Core/ObjectHandle: Fix self-movement case 2017-03-25 10:12:01 +01:00
Lynix 82edb5c7cb Core/Signal: Fix compilation 2017-03-10 17:10:11 +01:00
Lynix 9531edfffc Core/Signal: Fix move behaviour with GCC 4.9 .... 2017-03-10 17:07:40 +01:00
Lynix 353ade3efd Core/Signal: Make movement noexcept 2017-03-10 11:36:48 +01: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 7cc11245f9 Core/Flags: Move external operators to the global scope
Fixes usage of those operators outside of the Nz namespace, global
scoping is not an issue thanks to the enable_if
2017-02-15 07:13:00 +01:00
Jérôme Leclercq ed8deed23c Core/MemoryHelper: Add PlacementDestroy 2017-02-01 17:52:32 +01:00
Lynix 1d6f22cd8a Core/Flags: Make Flags default-constructible 2017-01-27 14:49:07 +01:00
Jérôme Leclercq 28965b799e Core/MemoryPool: Fix incorrect inlines 2017-01-25 15:53:25 +01:00
Lynix a84110a575 Core/ObjectHandle: Fix operator<= 2017-01-21 20:31:53 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix c9b84e3852 Core/Signal: Make move constructor/operator noexcept 2017-01-11 17:12:35 +01:00
Lynix 7de3c4905f Core/String: Add Format static method 2016-12-16 18:37:06 +01:00
Lynix cb447e4db7 Core/Flags: Add assertion in case EnumAsFlags has not been specialized 2016-12-12 15:12:34 +01:00
Lynix e98a02b190 Core/Flags: Allow handling of more than 32 enum options 2016-12-12 15:12:15 +01:00
Lynix 876fec6f5e Core/Flags: Make aware of enumeration max value
Preventing it to enable bits that have no corresponding enum value
2016-12-12 15:10:37 +01:00
Lynix e9061a6cf8 Core/Flags: Rename EnableFlagsOperators to EnumAsFlags 2016-12-12 15:07:16 +01:00
Lynix bc073de94a Core/Flags: Add documentation 2016-12-12 14:41:34 +01:00
Lynix e3daf7ef1f Core/String: Add GetCharacterPosition method 2016-12-03 00:34:55 +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
Lynix 1a5617bc55 Lua/LuaInstance: Add conversion operator to UInt32 2016-11-27 13:21:04 +01:00
Lynix 0070e691b0 Core: Add Flags class 2016-11-27 02:22:07 +01:00
Lynix c65f19d8cf Core/Bitset: Fix compilation 2016-11-18 01:36:40 +01:00
Lynix 5efa986ac1 Fix compilation warnings 2016-11-18 01:32:03 +01:00
Lynix 9513d9479a Core/Bitset: Fix PerformsAND when used with itself as argument 2016-11-18 01:14:08 +01:00
Lynix 359b5e6c3a Core/Algorithm: Add BitCount function 2016-11-18 01:13:30 +01:00
Lynix 2ed65e60e1 Core/Bitset: Add Reverse() method 2016-11-18 01:09:05 +01:00
Lynix cec547bf1f Core/Bitset: Improve a bit(set, HAH!) doc 2016-11-17 23:02:13 +01:00
Lynix d9774f30a3 Core/Bitset: Add Read method and FromPointer static method 2016-11-17 22:57:54 +01:00
Lynix 43a3f15794 Core/Bitset: Add AppendBits function 2016-11-17 22:56:48 +01:00
Lynix 828d744879 Core/Bitset: Fix some warnings 2016-11-17 18:26:45 +01:00
Lynix 180a8edf3b Core/Bitset: Add operator<<(ostream&) 2016-11-17 18:26:05 +01:00
Lynix c1630cdbff Core/ParameterList: Fix warning of shadowing variable 2016-11-15 15:13:12 +01:00
Lynix 425f09f418 Core: Remove unused AbstractLogger.docx (Closes #87) 2016-11-14 00:06:49 +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 12f6877963 Fix some warnings 2016-11-04 22:25:16 +01:00
Lynix c58ec94e2d Core/Algorithm: Fix return type of Apply() 2016-10-27 10:48:02 +02:00
Lynix f867c20c7c Core/ResourceManager: Fix Purge() compilation 2016-10-27 10:40:41 +02:00
Lynix b81b774c51 Core/ObjectRef: Fix <= operator between two ObjectRef 2016-10-27 10:27:17 +02:00
Lynix 5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +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 1788cd0735 Core/Bitset: Fix compile error
Former-commit-id: f9e4fc7547f9b741d9830ca96c552595b49b218d [formerly d8e832f8f8307a5af8c54a073fb7105e956dc91f] [formerly da3ca4c03e8c4f26023530a3150c99fe0bd8f060 [formerly 454daac75baf19c15612509e8505417dd1f194b6]]
Former-commit-id: e6c44555476b6b8f2648895493736d6018dd9ce5 [formerly 8e816f8b6a1366583000aa5e35b10b5bd6f82019]
Former-commit-id: 8d470b2679af9464001d3239738ab8d5bc7d6d67
2016-10-08 07:19:41 +02:00
Lynix 2b28b217d1 Core/Bitset: Add bit shifting functions
Former-commit-id: a5d9aa0da769a1f5b70e5db8eed5c370e1e9b076 [formerly c8338571cedad83c557ffa9210f8e11a928157f2] [formerly 47e36d22755f77c878f5277a99f61388f096a449 [formerly 12f27f9470c490160deb869f83736c000bb18d93]]
Former-commit-id: bc971c681a184ac7d340fa1d5b053f2e4a8cd156 [formerly 2a84c48ec1ab8970fb768dc5d925e7712cb193ea]
Former-commit-id: 728cccf49da4bb48416aa91e3687fa7fad8035ef
2016-10-07 19:16:25 +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 d700124704 Core/Log: Add AbstractLogger inclusion
Former-commit-id: 0da715a3ab6b34b3ffe65659a6d46bb542a12897 [formerly c4033c72ac80435a188a50197bc382be9b413c63] [formerly 989f44ed7d63b9f6c3b125694b7855de8e51bacf [formerly a0a4effadc32a802ee2d56429326f1a935bb4d4a]]
Former-commit-id: 04addee943f199d59be5cafff05009b191415158 [formerly a787ddc27a06f6b39097b1813235cfe3d33aba30]
Former-commit-id: e4f09a35f3dff825c3bafa0f7614526ce01a8e60
2016-09-26 13:15:09 +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 f434b753ff Core/Algorithm: Add serialize/unserialize overload for std::string
Former-commit-id: c4aa07b3ab8fcac85ac290ae5168bd841ce16dfd [formerly ee0f4fa822ec65aa72d43c9ab370402976713206] [formerly 9ec403e92a60b8ca97d7bc3e579ca5983089ba76 [formerly d7e17cc3ff72d43e23f11a70d785efcff3f4cba2]]
Former-commit-id: 190337087a987ca5ef1ac9789f04e3b9f2fc47af [formerly fc6bed4363a90b165db7fde093a6df37eeb9f45a]
Former-commit-id: 28d6dfe4b4217e91a7283e0fbe45d20ac982f79c
2016-09-25 01:48:57 +02:00
Lynix 0b1ae4f16a Core/Config: Fix typo
Former-commit-id: 8e9d1c6f4ef8231b9ff59d51abf224606795775d [formerly 5ff9f91c844593607b64df00b5ec9344da1aa864] [formerly 83084c13b439390fa313594332ef0d42e793df9a [formerly 317e9e476ef6a7a97e9906245682080a196dd82f]]
Former-commit-id: 5b16e13e15bcc5054743387fd1cb738515a198d9 [formerly ec5e19e21a44489c2eaa0843b0f869341c5deb20]
Former-commit-id: 60028fb6c993ddf6cee0458f9ed6d5d7fcca25bd
2016-09-22 18:17:29 +02:00
Lynix 9e1b2c69a9 Core/MemoryHelper: Fix compilation with MinGW
Former-commit-id: d06a447e934ee66f3f5c399fdd58f2bc95260544 [formerly 18a9328df6edb35b500a57184a8c5155e0e8f6ed] [formerly ef18cf674c43bc0e5cd0f54f50897f184b74d327 [formerly 474225aa4a4843398bfdc5e9d6c9f3db88573170]]
Former-commit-id: 3d5905c69b5fd68c585cecf5191bcffe1d3557f9 [formerly 4a1183e5d7a59d8efe05091b282b406c1c4049e3]
Former-commit-id: 8755e653ff0730ec687db80117405f33a4b2e430
2016-09-16 14:19:42 +02:00
Lynix 8e009a1d66 Core/MemoryHelper: Add portable stack allocation
Former-commit-id: 50b96029c53d1784f028148f1ec15ae2cf98d036 [formerly eb3398905190df3d0dc77c8a3b54bb455059e39b] [formerly bfac4638e043161208ee7cf4735a788b1427f73e [formerly 1ee0a59ab5aa407c995afd287a9aaa4307075754]]
Former-commit-id: 521c4248c638e5141534cd1d223d8f563693b821 [formerly 203f6191b3b24ccb2e04d330372973dadfb81e1d]
Former-commit-id: 140a5c705819055b4d27f43156b079d6142049a5
2016-09-15 00:46:59 +02:00
Lynix da7216a202 Utility/OBJSaver: Remove some warnings
Former-commit-id: 7762f44e85efd99346752899b43d757512eee8fc [formerly 6b86a269f98d9421b60263f2e8435cf14445e469] [formerly ecd111f0499e4659638c11071ae1f472303fa0d9 [formerly d272286ae403222512e8ca9178419094f7da4a0c]]
Former-commit-id: 4211533ae1db2ce95fda5721a0c1050afe3d67f9 [formerly 10f4944022e9fac77060407fd6f05ab40aa20e09]
Former-commit-id: 12747ce9a2c9c3fc2e2b02233d06e9370b18f790
2016-09-04 21:00:23 +02:00
Lynix 7c2add0a65 Core/Signal: Remove debug log that got accidentaly commited
Former-commit-id: 435e861f9d695e09995c3a0f4a1eacd43c1d883d [formerly a995326be759d5dd467d938f363bc2fe727123d3] [formerly 1c38e003106ee292dd7f94fbc68e3308e9be9a86 [formerly cf359837241bce8143a16394c72a14a8c614aa53]]
Former-commit-id: cc354e782c2f2a13350c742e2a016bbc656842fb [formerly f72def4abc3b8b27a72ee4d53d11015d0d2bbcd4]
Former-commit-id: 85a57ad329db63764ba3f26375926dfdb40ff821
2016-08-11 01:06:21 +02:00
Lynix c1b2f3af00 Core/Log: Fix errors not being written in NazaraLog.log
>.>


Former-commit-id: 0aaaced48b71709efbe19255f12053d2ee3c1cd0 [formerly bdfff4f0dbc3f85c39d16966f0060706039a34a3] [formerly 6084c5725e4b55a72a1c23682b296507f8ef87e2 [formerly eaef4ab9e73788599dbfab43d11566c21435a334]]
Former-commit-id: 4762ce471a7cb88c8bbc6f551daa5db31e57a38c [formerly b2e6b592bfdab34e367674ea48e79659934a08a5]
Former-commit-id: 9f7ab7e7441f6c50f74c8d9a9b0a5fc9363a74e9
2016-08-10 23:50:51 +02:00
Lynix e0fa458f40 Fix compilation with GCC/Clang
Thanks to @Gawaboumga


Former-commit-id: b8cc59cab55fd7d3b286dda28e70ee0ddb753230 [formerly c734175c33bf84226eedb76953e773f5bb91f631] [formerly 01b6b7b89bffccf217e38ed8431e2b2921facc51 [formerly 03c3cd902be4a0a104db22a2831adeb675998929]]
Former-commit-id: 89ce26d806f8b750854af1704aa6af899b7779b3 [formerly 782dbee06d75ba2f555632713b44f1c25666e3ab]
Former-commit-id: 30ba1aff3bc8a8de9510fb6e4f417526fb31e125
2016-08-10 22:17:55 +02:00
Lynix 5fa5186480 Revert "Core/RefCounted: Remove persistent boolean"
This reverts commit db2ef3e90c3871290d114a9e6437b412e96c65aa [formerly a3f6ff88a25e63374eb6ce5b18269da2ba743b06] [formerly cfa12604fbb0da76fc27288b210ee1254a8b3a38 [formerly dee6ce858398e2de38ef1af00c1c630fd0126e09]] [formerly 1a23f0fddcd80ac33030061b7a00a3cfd43cb7fe [formerly d3cb17069c71449ae3f1cba6de55ea70f509e7a4] [formerly b2f8f82e9f3427310204f2e8a61d7bdfd96202d2 [formerly 5d117720d08d6d6243b3428d4b3f8aea1abef845]]].


Former-commit-id: 13a54266823fed88610753b1a90f4ef2c6fe932d [formerly 508d1a01cceee4a577063c684244fcf598ff6cb5] [formerly 2c99faae4d65dc222d05d2f98913a380b38d58ef [formerly 0117f7aec15e3db31cacdd0ef874064907c41ba8]]
Former-commit-id: 140d69126443b821a232a1a8b012712fc2e74b0f [formerly 501a63bd435f64d9da932279c90400ed95d0c1be]
Former-commit-id: d2d74a42d070eae9c1f158a59238c5f1ac40edb3
2016-08-02 13:20:34 +02:00
Lynix 755bf0b04b Core/RefCounted: Remove persistent boolean
Former-commit-id: 6661b29e0e5e1dee8f4588688dc42865ce76e9ba [formerly 55e47c5ec3851e55243fb0e8e85d7fcc22f6cc1b]
Former-commit-id: 5442ab91a3a4b7da93c10bd06889785ac1faf034
2016-08-02 12:52:49 +02:00
Gawaboumga 96dc8c001e Various fixes
Former-commit-id: 26dfbdb3388c845a6e3039f816f19ffbb462d7b8 [formerly a6437e0b6e48dbd630440f8d2629b32e4756b48e]
Former-commit-id: 8a1855fc1d4d7c343b7e1fdcd3c6a31f3134a59a
2016-07-28 19:22:41 +02:00
Lynix c673a6610e Doc: Fix \see
Former-commit-id: 37558d45346d83d3f8bbf0cd1d83a9498cf557db [formerly 57482a1bb5c279fefdf40ea84a506879514a7cbd]
Former-commit-id: 749e8e13129fa523554315fa248798db102874c3
2016-07-23 18:24:27 +02:00
Lynix f97b008146 Core/ResourceSaver: Truncate output file
Former-commit-id: e3a7446aa574b9f1909179b875f34b7697fd8735 [formerly e7601765426fa2a75f2c82762f7ba7d0660ff452]
Former-commit-id: 73328e695bd19701deb247e2566a0ab00a4b5c5b
2016-07-12 08:14:05 +02:00
Lynix 4f29015c05 Core/StringStream: Add Clear and GetBufferSize methods
Former-commit-id: 0efb57d6bbbe6f5a3ef96b1468428e99ec2f209e [formerly 831a749e3ce3a62e62dff8b5ec5a623ea15cd5fd]
Former-commit-id: ab163c4086613046227165aa01606a8ed6edad75
2016-07-07 08:56:45 +02:00
Lynix 499f9e0dff Core/ObjectRef: Add comparison operators
Former-commit-id: 87b6480dfad8fd49da249890c62e698afdcfca8e [formerly 3d82a1d9f1f0358975b23a25274ac4a8c75ef37f]
Former-commit-id: 9031aab557ae8c9b89025725fa65f0309b5b32ee
2016-06-20 13:10:09 +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
Gawaboumga 6400ba2e28 Fix documentation for module: Core
Former-commit-id: a79bf956a2759c6056e4e4e2193b8b192c5727c5
2016-05-30 14:09:51 +02:00
Lynix 3e78dd40ad Fix some GCC warnings
Former-commit-id: b3292fcfd4d029793cb70f97ab608aeb7d0579ef
2016-05-25 13:52:10 +02:00
Lynix 549f37efb8 Core/Bitset: Fix OR/XOR with two bitset of similar size
Former-commit-id: df5c15cb0c1c4984c7bc142886843f8977379ec2
2016-05-17 17:08:45 +02:00
Lynix 43895d29af Core/Algorithm: Add ReverseBits function
Former-commit-id: fa37fcf64cfe6786b9906aa7a8b410e19a3079d1
2016-05-17 17:08:14 +02:00
Lynix a1644edf45 Merge branch 'NDK-ShadowMapping'
Former-commit-id: e77949168073f06d52d10785afb41bad2f7f86c0
2016-05-13 13:06:23 +02:00
Lynix 9f6a311c07 Core/Color: Add IsOpaque method
Former-commit-id: 4e9dd99525a550af90a1de1a8c86e3120e33a5de
2016-05-13 12:47:53 +02:00
Lynix e8a4be2039 Core/ObjectHandle: Fix movement
Former-commit-id: 8fd32af2b58e8f0d2146232c23a8405e3e012349
2016-05-09 18:10:58 +02:00
Lynix 34bc2301a0 Core/Bitset: Fix infinite loop
Former-commit-id: 366ad4248a72e3e06637163b44a9a5cedbbaf195
2016-05-09 18:10:46 +02:00
Lynix 7db8507874 Core/ObjectHandle: Add noexcept move constructor/assignment
Former-commit-id: 930de41518be74fff072e061f735afceb218138c
2016-05-09 09:03:11 +02:00
Lynix e34c94343f Core/Bitset: Fix value constructor
Former-commit-id: 44cfe386a985a4b449527a9fab3d5da49e30117c
2016-05-06 19:15:15 +02:00
Lynix f7b0496d62 UnitTests: Fix errors
Former-commit-id: 7d338bd57e8a083e63c5f6387ff37c81109903ed
2016-05-05 21:27:36 +02:00
Lynix 6d824109f3 Core/ParameterList: Add support for color values and updated documentation
Former-commit-id: 4cd9faf2fe035b946afa1ba15243bdcf3255716a
2016-04-30 12:44:34 +02:00
Lynix 019c1f4a36 Core/File: Add SetSize method (currently missing Posix implementation!)
Former-commit-id: c9ffb545485d90940d620e94fd25a7256d62ab58
2016-04-29 14:20:22 +02:00
Lynix 78469266fd Core/File: Add OpenMode_MustExit
Former-commit-id: 1df10e230d3c6ef71244060845b1fc02f7b5a8e9
2016-04-27 18:10:45 +02:00
Lynix 6d66063b2c Core/MemoryHelper: Improve PlacementNew interface
Make it possible to deduce type from arguments


Former-commit-id: ed25b667fcacefcc39fddcb941ea11c40e6ce22b
2016-04-24 19:48:12 +02:00
Lynix 226d75a352 Core/Bitset: Add conversion from integer (to mimic internal representation, experimental)
Former-commit-id: 609a2bbed02cad13a3487b2a95c6f24c0756e829
2016-04-21 13:23:42 +02:00
Lynix 3caeb91a32 Core/Endianness: Add SwapBytes shortcut
Former-commit-id: c345121453f38c9eb8c05e224db91f068440f729
2016-04-21 13:20:46 +02:00
Lynix 37aa00b2e7 Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: e2be28b65207dfbb81efe58f31ca31548afecee7
2016-04-17 19:57:15 +02:00
Lynix 104e393d65 Core/LockGuard: Improve LockGuard
Former-commit-id: e9313d81c8cd9cb2cefef64a7c54713062ad9d6a
2016-04-16 18:38:52 +02:00
Lynix 1ec8c8c5e0 Core/Error: Remove Directory include in Error.hpp
Former-commit-id: 61ed7168229dde265159fa5acde0c57c315b85fe
2016-04-11 13:01:17 +02:00
Lynix a31a969409 Replace useless reinterpret_cast by static_cast
Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
2016-04-07 04:20:18 +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 a77ad42fcb Add generic handlers
Former-commit-id: 8fc343d3a056de8031cf453748b8801d50d3710e
2016-03-31 21:14:22 +02:00
Lynix 5465951f87 Core/ResourceLoader: Fix assert
Former-commit-id: 391a0ec4de1a1c5ed97ea82aee0d3d69fbbc00df
2016-03-30 17:49:27 +02:00
Lynix d2e3bb36a6 Alphabetical commit
Former-commit-id: 4277d1fdc84af2031faa826520fcc442edb47a10
2016-03-15 23:00:58 +01:00
Lynix 8e3c542049 Core/ByteStream: Remove assertion on ByteStream pointer
Former-commit-id: 438b669e039cfdece251f4918926df9268bb01c1
2016-03-09 13:52:39 +01:00
Lynix 1a95c314ff Core/ParameterList: Make errors silent by default
Former-commit-id: 38d1613681a65194cb7392903c9bc20f912561a3
2016-03-08 13:58:09 +01:00
Lynix d349b9583e Core: Fix missing include
Former-commit-id: 76e4ff0d2bd3e3b6865e84f6ef0142a195a5755a
2016-03-08 13:43:11 +01:00
Lynix dce587bd63 Add support for custom resource parameters
And allow users to skip a precise loader using them


Former-commit-id: 297af2e4a24ad67c343aae5d89352abf4ea05f63
2016-03-08 13:37:17 +01:00
Lynix 6f9d778749 Core/ResourceLoader: Replace checks by asserts
Former-commit-id: 88be9b70d904856b888ee04829def85f1dee0bc6
2016-03-08 13:10:06 +01:00
Lynix 0ffc3c6557 Core: Add ResourceSaver class
Former-commit-id: 3c7fb9868058d897f1db831b207e9544688922fe
2016-03-08 13:09:41 +01:00
Lynix a39cfcc92e Core/Color: Add serialization
Former-commit-id: ef50b4303a3fbc5e2b49ba440d9008fb6d51a7e3
2016-03-06 14:55:42 +01:00
Lynix 192fccc634 Fix compilation
Former-commit-id: d5ac6bb73615f7c9b068c1de2037dfeddc5c1b45
2016-03-02 16:53:20 +01:00
Lynix 1c4135fc09 Improve documentation
Former-commit-id: 08d70f6a53a7f12d2748d145d1fe139595a1b39e
2016-03-01 15:37:05 +01:00
Lynix cc7263e398 Core/MemoryPool: Fix missing include
Former-commit-id: fd993b3117c61e0fe6e9e34b0e24f2bf84b3186e
2016-03-01 13:59:41 +01:00
Lynix 188c1e4c1e Core/Bitset: Made destructor and Clear() noexcept
Former-commit-id: 0d09070fcb5d17812eb938c9873213107bd97f7c
2016-03-01 13:59:31 +01:00
Lynix f9a95ce054 Core: Made Mutex and ConditionVariable moveable
Former-commit-id: 891fbb35d050f3df572cbbecd0191b75f556e59d
2016-03-01 13:59:17 +01:00
Lynix e65d495a98 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 6a6191171a34d24a22c020a8d4c01e7869c3279d
2016-02-24 14:19:21 +01:00
Lynix dff6e855e4 Fixes compilation on GCC
Former-commit-id: 1829fa37830618bd9b14e7bfa5d935c886213589
2016-02-24 14:12:45 +01:00
Gawaboumga 2a28d8863c Documentation for the rest
Former-commit-id: b6f401370127679db397da0039cb5e98477e90db
2016-02-21 14:42:38 +01:00
Gawaboumga b62b694af8 Documentation for Functor
Former-commit-id: d0bac2fa789631c9a56ba5636aa52f260f1cc6fd
2016-02-21 14:41:58 +01:00
Gawaboumga 61542b59d6 Documentation for Endiannes
Former-commit-id: e45c5026b84aa8b354e29d760eff56d13f2dc745
2016-02-21 14:41:41 +01:00
Gawaboumga 0a4381a95b Documentation for Core
Former-commit-id: d0d4a575149b9f3e70e07b3a815e669d6a79065f
2016-02-21 14:41:17 +01:00
Gawaboumga 8325db8037 Documentation for Special files of Core
Former-commit-id: 6e98fc660ee9dfaa4d8f31da337e2334b4f43442
2016-02-21 14:40:47 +01:00
Gawaboumga 99370683b3 Documentation for DynLib & PluginManager
Former-commit-id: 3602bd9a6f24ed4adb38879097ea5679b55e3b99
2016-02-21 14:38:35 +01:00
Gawaboumga 5a5f25a950 Documentation for Documentation & File
Former-commit-id: 8a69e6dca76fba4a23b36c563b52c4ccbbec7309
2016-02-21 14:37:37 +01:00
Gawaboumga a82c33c314 Documentation for Stream
Former-commit-id: 0e77be8d238879c114c5e7b166ae646254fac9eb
2016-02-21 14:36:49 +01:00
Gawaboumga d340553023 Documentation for ByteArray and ByteStream
Former-commit-id: 4d2d0de93562077e030b4304b57f6c95b32185b5
2016-02-21 14:32:59 +01:00
Gawaboumga f540029825 Documentation for String
Former-commit-id: caf1b5889604d7c2248ec88bde99a6bce0d7680f
2016-02-21 14:32:17 +01:00
Gawaboumga c163d65da7 Documentation for Thread
Former-commit-id: b33bbdf473792ddcde8ffbe310722d83a1a12bcf
2016-02-21 14:29:03 +01:00
Gawaboumga 44ec6caf5d Documentation for Memory
Former-commit-id: 85e41e916df2c2e2bffa31f5540643144223a322
2016-02-21 14:28:17 +01:00
Gawaboumga f16857fc6a Documentation for Resource
Former-commit-id: 7da8bc4261566c89030eb0226a29b1a70183e68a
2016-02-21 14:27:29 +01:00