Commit Graph

79 Commits

Author SHA1 Message Date
SirLynix
a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +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
51ac2b71df Fix thread support on MinGW 2023-06-07 18:54:37 +02:00
Jérôme Leclercq
4c21821802 Core: Add missing GetCurrentThreadName on POSIX 2023-06-07 14:12:32 +02:00
SirLynix
bf0d7674c7 Core: Add thread extension functions 2023-06-07 13:35:40 +02:00
Jérôme Leclercq
c87c45f332 Fix missing include 2023-06-05 20:46:54 +02:00
SirLynix
b9c1559d97 Random code cleanup 2023-06-05 18:05:16 +02:00
SirLynix
cdb4ff2de9 Fix compilation on wasm 2023-04-12 15:31:04 +02:00
SirLynix
f034e71ba4 Core/HardwareInfo: Fix compilation for other arch than x86 2023-04-12 14:10:55 +02:00
Lynix
a3f7c437f4 Fix compilation with nazarautils changes 2023-04-03 14:02:55 +02:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
2629d2052e xmake check-files -f 2023-03-03 13:16:13 +01:00
REMqb
f172330aaf ~ WIP port emscripen (WebGL) 2023-02-02 20:34:25 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
Jérôme Leclercq
dd421a6385 Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
Jérôme Leclercq
48b87cc99b Core/DynLib: Fix extension handling 2022-03-20 13:42:41 +01:00
Jérôme Leclercq
54ca483cc7 macOS fix 2022-03-19 23:45:26 +01:00
SirLynix
89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +02:00
Jérôme Leclercq
ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
ImperatorS79
4bf49876c6 Build Nazara on macos up to Nazara_network (not included 2020-11-21 20:05:19 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Lynix
9ac5aadc9d I swear I fixed that 2020-02-23 02:29:47 +01:00
Lynix
f084c30d70 Posix fixes 2020-02-23 02:26:36 +01:00
Lynix
8ace61ce7d DynLib: Posix fixes 2020-02-23 02:17:27 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Jérôme Leclercq
2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +02:00
Jérôme Leclercq
dae2b6f5a6 Fix an oopsie 2018-04-10 16:22:18 +02:00
Jérôme Leclercq
d6392c33ad Core/Directory: Fix GetResultSize and IsResultDirectory methods on Posix 2018-04-10 16:12:15 +02:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +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
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
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
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
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
Lynix
0031b0fd83 Core/File: Fix OpenMode_MustExist for Linux 2016-11-27 14:23:36 +01:00
Lynix
a34d1e410c Core/Enum: Convert OpenMode and StreamOption to the new flags system 2016-11-27 13:40:47 +01: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
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
Gawaboumga
db8a222f62 Fix for problems signaled by clang static analyzer
Former-commit-id: 835f639c45509b0d55fe716e51e3285ea2a89da4
2016-05-31 21:50:31 +02:00
Lynix
08926cf530 Core/Posix: Add absolutly not tested File::SetSize implementation
At least the engine should compile again on posix


Former-commit-id: c2ccdb9ad939b20e288b211aee678917934f1757
2016-05-03 23:15:22 +02:00
Gawaboumga
91f2bee487 Bug fix -> String with one char + Directory and File on linux
Former-commit-id: 7f9b6c44197c3cc67145eb0a2d421a2e1de45a84
2016-04-04 10:36:13 +02:00
Gawaboumga
fd627c671f Documentation for Synchronisation primitives
Former-commit-id: 39f86b2f9cd1f44a6b8e52101458f090183707e4
2016-02-21 14:36:03 +01:00