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