Commit Graph

607 Commits

Author SHA1 Message Date
SirLynix
a228325bd5 Add process unit tests 2024-01-23 19:31:21 +01:00
SirLynix
a02990beff Core/Posix: Rework implementation (using posix_spawn) 2024-01-23 19:31:21 +01:00
SirLynix
b63c9fcc49 Core/Process: Add Exists function 2024-01-23 19:31:21 +01:00
SirLynix
b0648918a7 Core/Process: Add GetCurrentPid 2024-01-23 19:31:21 +01:00
SirLynix
9c102638c0 Fix unity build compilation 2024-01-23 19:31:21 +01:00
SirLynix
65c8d2e8de Add reference link 2024-01-23 19:31:21 +01:00
SirLynix
8ee128b475 Core/Process: Improve Posix implementation
- Handle chdir errors
- Calls _exit if execve failed
- Better format the code
2024-01-23 19:31:21 +01:00
SirLynix
ac1422c221 Core: Add initial process support (Process::SpawnDetached) 2024-01-23 19:31:21 +01:00
SirLynix
278e59934b Fix compilation on macOS 2024-01-23 17:45:10 +01:00
SirLynix
f4095d07a8 xmake check-files -f 2024-01-22 23:15:03 +01:00
SirLynix
05ee3d7a55 Core/Win32: Use native string instead of generic in Windows code 2024-01-22 23:08:31 +01:00
SirLynix
639f6708b0 Core/StringExt: Replace ptr + size by a view in IterateOnCodepoints parameter
Also increase buffer size to increase performance
2024-01-22 17:02:26 +01:00
SirLynix
8dab084037 Core/Win32: Add PathToWideTemp function 2024-01-22 16:58:12 +01:00
SirLynix
373309d6d9 Core: Move platform-specific code to PlatformImpl namespace 2024-01-22 16:49:21 +01:00
SirLynix
3557040246 Replace utf8cpp, Vulkan and VMA headers by xmake packages 2024-01-22 16:44:50 +01:00
SirLynix
0a433a8bd6 Core/FileLogger: Fix compilation 2024-01-16 18:15:38 +01:00
SirLynix
bbef5cfd1d Color: Replace std::ostringstream usage by Format 2024-01-16 14:06:19 +01:00
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