Commit Graph

590 Commits

Author SHA1 Message Date
SirLynix
2125b80b8d Use std::string_view for strings 2024-01-04 14:40:50 +01:00
SirLynix
6d1e7d7852 Fix compilation on Windows 2024-01-02 13:07:38 +01:00
SirLynix
7dc7104cc4 Update to latest nazarautils 2024-01-02 12:02:45 +01:00
SirLynix
d2e2c075b4 Update copyright year 2024-01-02 12:02:14 +01:00
SirLynix
448cf66846 Minor fixes 2024-01-02 11:50:04 +01:00
Jérôme Leclercq
79ec135af7 Optimize out a lot of std::string construction and allocations (#415)
Update CommandLineParameters.hpp

Update CommandLineParametersTests.cpp

Update WebContext.hpp

xmake check-files -f

Fix MaterialPassRegistry
2023-12-30 14:50:57 +01:00
SirLynix
08eaf396ed Update to NazaraUtils 2023.12.28 2023-12-28 13:26:04 +01:00
SirLynix
3d21401569 Fix compilation on Windows < Vista 2023-12-28 13:25:33 +01:00
Lynix
e1b3832643 Minor cleanup 2023-12-25 21:02:24 +01:00
Lynix
4065fbfb1a Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write 2023-12-25 19:49:03 +01:00
Jérôme Leclercq
876023ffa9 Core: Fix use of std::bit_cast 2023-12-04 00:38:10 +01:00
SirLynix
6059f608c0 Minor improvements 2023-12-04 00:22:36 +01:00
Lynix
5472514f4b Core: Add EnvironmentVariables 2023-12-02 13:56:23 +01:00
Lynix
079f153640 Minor fixes 2023-11-28 20:05:09 +01:00
SirLynix
72182327dd Core/PrimitiveList: Rework and inline the class 2023-11-26 21:27:24 +01:00
SirLynix
e8eebc1dfc Core/ParameterList: Take advantage of movement 2023-11-26 14:01:23 +01:00
Lynix
5f796666f0 Minor fixes 2023-11-21 22:07:00 +01:00
SirLynix
f2e77fb8a5 Rename Nz::Functor to Nz::AbstractFunctor 2023-11-17 13:19:21 +01:00
SirLynix
ddc8cc6797 Core: Rework ParameterFile
Improve parsing and usage
2023-11-17 11:57:05 +01:00
SirLynix
5e643bca7b Fix MinGW compilation 2023-11-15 08:06:50 +01:00
SirLynix
a4b10749f7 C++20 fixes 2023-11-14 15:40:48 +01:00
Lynix
e5789d1749 Switch Nazara to C++20 2023-11-14 14:24:28 +01:00
SirLynix
f0fd3b232c Core: Add generic ParameterConfig
This still needs to be improved
2023-11-12 12:54:34 +01:00
SirLynix
86e26008b3 Minor fixes 2023-11-12 12:51:56 +01:00
SirLynix
886991f86d Graphics: Add PipelinePassList loader (able to load from a file)
Fix compilation
2023-11-06 21:30:49 +01:00
SirLynix
4b8a475bbd Split error macro into two versions (format vs non-formating) to allow format checking at compile-time 2023-11-02 15:18:03 +01:00
SirLynix
a803a9cff4 Core: Update UnicodeData 2023-11-02 08:27:10 +01:00
Jérôme Leclercq
5203a4fb49 Fix previous fix 2023-09-08 14:00:52 +02:00
Jérôme Leclercq
18efb2016d Fix Fletcher16 and CRC64 2023-09-08 13:40:30 +02:00
Jérôme Leclercq
e8ddac4964 Fix CRC32 2023-09-08 09:58:05 +02:00
SirLynix
1009b296a1 Update for latest nazarautils 2023-09-08 09:10:22 +02:00
SirLynix
ad738a2803 Core/StringExt: Add IterateOnCodepoints to remove std::u32string allocations 2023-08-24 08:42:25 +02:00
SirLynix
bd53245f42 Core/StringExt: Don't pass string_view by ref
https://quuxplusone.github.io/blog/2021/11/09/pass-string-view-by-value/
2023-08-24 08:23:14 +02:00
SirLynix
66f7e4b6ad Core/SignalHandlerAppComponent: Fix warning 2023-08-17 18:05:03 +02:00
SirLynix
0989a25a99 Core/SignalHandlerAppComponent: Fix "failed to install signal handlers" warning popping out even if it worked 2023-08-16 18:18:33 +02:00
SirLynix
f2fc02cbd4 Core/ErrorFlags: Turn this class into an inline class 2023-08-16 18:11:18 +02:00
SirLynix
ab8bac2575 Use fmt store instead of ToString fallback
Thanks to @jonathanpoelen for the idea
2023-08-15 01:10:01 +02:00
SirLynix
a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix
5444e4186e Core/Thread: Remove MinGW compiler defines (as they are now part of NazaraUtils) 2023-08-04 16:40:46 +02:00
SirLynix
816d9d1174 Allow to setup/override module configuration from commandline 2023-07-30 12:44:43 +02:00
SirLynix
e42b2c87fc Fix unity build compilation 2023-07-22 12:38:07 +02:00
SirLynix
6370e0d16d Core: Fix compilation with MinGW MCF threads 2023-07-22 12:25:40 +02:00
SirLynix
0c6ca52af0 Core/Thread: Fix MinGW compilation in unity build 2023-07-21 12:14:11 +02:00
Jérôme Leclercq
9e7b98a017 Fix recent GetThreadDescription change 2023-07-21 09:20:46 +02:00
SirLynix
ef669d8c9a Core/ThreadImpl: Fix GetThreadDescription link error on older Windows 2023-07-21 09:01:15 +02:00
SirLynix
f2bc1bff7a Update for latest nazarautils update 2023-07-17 19:05:15 +02:00
SirLynix
da6d3afa33 Core/ThreadImpl: Fix warning and merge implementations 2023-06-21 20:13:58 +02:00
SirLynix
504c0f771b Minor fixes 2023-06-09 09:24:03 +02:00
SirLynix
40bb69bc60 Core: Add SignalHandlerAppComponent 2023-06-07 22:28:55 +02:00
SirLynix
51ac2b71df Fix thread support on MinGW 2023-06-07 18:54:37 +02:00