| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'main' into cbpackage-update | Stefan Boberg | 2021-09-15 | 86 | -659/+1043 |
| |\ | |||||
| | * | Tweaked logging to streamline access, and simplified setup code for new loggers | Stefan Boberg | 2021-09-15 | 3 | -18/+31 |
| | | | |||||
| | * | Changed `std::exception` into `std::runtime_error` since `std::exception` ↵ | Stefan Boberg | 2021-09-15 | 9 | -20/+20 |
| | | | | | | | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing) | ||||
| | * | Made logging macros always append `sv` string_view literal suffix | Stefan Boberg | 2021-09-15 | 3 | -19/+21 |
| | | | | | | | | | Fixed up the few instances of explicit string_view arguments to make sure they compile properly with the new macros | ||||
| | * | Switched some Jupiter logging to not use `_format` - this is handled by the ↵ | Stefan Boberg | 2021-09-15 | 1 | -1/+1 |
| | | | | | | | | | logging anyway so can just pass in the format string and args | ||||
| | * | Fixed up invalid fmt formatting strings | Stefan Boberg | 2021-09-15 | 2 | -6/+6 |
| | | | |||||
| | * | Unused variable warning fix | Stefan Boberg | 2021-09-15 | 2 | -0/+3 |
| | | | |||||
| | * | Handle absence of std::source_location somewhat more gracefully (relies on ↵ | Stefan Boberg | 2021-09-15 | 2 | -0/+6 |
| | | | | | | | | | client code also checking) | ||||
| | * | Unsigned / signed comparison warning fixes | Stefan Boberg | 2021-09-15 | 1 | -3/+3 |
| | | | |||||
| | * | Fixed up bit scan logic for clang-cl | Stefan Boberg | 2021-09-15 | 1 | -1/+1 |
| | | | |||||
| | * | Merge branch 'main' into linux-mac | Stefan Boberg | 2021-09-15 | 0 | -0/+0 |
| | |\ | |||||
| | | * | Two missing includes | Martin Ridgers | 2021-09-15 | 1 | -0/+2 |
| | | | | |||||
| | * | | Merged from main | Stefan Boberg | 2021-09-15 | 50 | -526/+477 |
| | |\| | |||||
| | | * | Cross-platform zen::GetLastError() | Martin Ridgers | 2021-09-15 | 2 | -5/+19 |
| | | | | |||||
| | | * | Changed logging implementation | Stefan Boberg | 2021-09-15 | 42 | -391/+417 |
| | | | | | | | | | | | | | | | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function | ||||
| | | * | xmake: added zenhttp dependency to make zen CLI tool buld | Stefan Boberg | 2021-09-15 | 1 | -1/+1 |
| | | | | |||||
| | | * | Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵ | Stefan Boberg | 2021-09-15 | 37 | -50/+42 |
| | | | | | | | | | | | | | easier to tweak implementation | ||||
| | | * | Changed so more loggers go via the zen::loggers interface | Stefan Boberg | 2021-09-15 | 10 | -104/+32 |
| | | | | |||||
| | | * | Added options for indicating a server is running in "dedicated" mode | Stefan Boberg | 2021-09-15 | 3 | -8/+13 |
| | | | | | | | | | | | | | I.e running on a host to serve *remote* clients | ||||
| | * | | Added #ifdef condition around Windows-specific exception handling | Martin Ridgers | 2021-09-15 | 2 | -0/+6 |
| | | | | |||||
| | * | | POSIX implementation of ThrowSystemException using std::system_error | Martin Ridgers | 2021-09-15 | 1 | -5/+9 |
| | | | | |||||
| | * | | Moved system_error include to except.h for std::error_code | Martin Ridgers | 2021-09-15 | 2 | -1/+1 |
| | | | | |||||
| | * | | Cross-platform zen::GetLastError() | Martin Ridgers | 2021-09-15 | 2 | -5/+19 |
| | | | | |||||
| | * | | Removed constexpr for anything that uses GetSize() | Martin Ridgers | 2021-09-15 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the change from Ptr/Size to Ptr/EndPtr and the introduction of GetSize(), there are some constexpr-marked methods that previously used Size that now call GetSize(). GCC raises an error because GetSize() is not a constexpr. If GetSize() is marked constexpt, MSVC raises an error saying that GetSize() cannot be a constexpr. Only solution is to remove the constexpr from anything calling GetSize() (which in turn cascades). | ||||
| | * | | Wrong include for std::runtime_error | Martin Ridgers | 2021-09-15 | 1 | -1/+1 |
| | | | | |||||
| | * | | Deleted unused #include | Martin Ridgers | 2021-09-15 | 1 | -1/+0 |
| | | | | |||||
| | * | | Missing include for std::runtime_error() | Martin Ridgers | 2021-09-15 | 1 | -0/+1 |
| | | | | |||||
| | * | | Missing include for pow() | Martin Ridgers | 2021-09-15 | 1 | -0/+1 |
| | | | | |||||
| | * | | Correct platform-specific _mm_malloc/aligned_alloc includes | Martin Ridgers | 2021-09-15 | 1 | -1/+6 |
| | | | | |||||
| | * | | Fixed GetSize() constexpr compile errors with GCC | Martin Ridgers | 2021-09-15 | 1 | -9/+9 |
| | | | | |||||
| | * | | Merge main | Martin Ridgers | 2021-09-15 | 75 | -2373/+4263 |
| | |\| | |||||
| | | * | Updated function service to new package management API | Stefan Boberg | 2021-09-14 | 1 | -21/+29 |
| | | | | |||||
| | | * | Extended CidStore implementation with some helper functions | Stefan Boberg | 2021-09-14 | 2 | -4/+31 |
| | | | | |||||
| | | * | Changed path for crashpad exe since vcpkg decided to put it somewhere else ↵ | Stefan Boberg | 2021-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | now, for reasons unknown | ||||
| | * | | Use zen::Sleep() in timer.cpp's tests | Martin Ridgers | 2021-09-15 | 1 | -10/+1 |
| | | | | |||||
| | * | | zen::Sleep() for Linux | Martin Ridgers | 2021-09-15 | 1 | -0/+4 |
| | | | | |||||
| | * | | GetCurrentProcess() for non-Windows | Martin Ridgers | 2021-09-15 | 1 | -0/+6 |
| | | | | |||||
| | * | | Implemented RwLock on non-Windows platforms using std::shared_mutex | Martin Ridgers | 2021-09-15 | 2 | -1/+28 |
| | | | | |||||
| | * | | Removed unused 'thread' include | Martin Ridgers | 2021-09-15 | 1 | -1/+0 |
| | | | | |||||
| | * | | Use portable std::fs::path::u8string() instead of WideToUtf8() | Martin Ridgers | 2021-09-14 | 1 | -1/+1 |
| | | | | |||||
| | * | | Moved zencore.h include earlier so it defines ZEN_* macros | Martin Ridgers | 2021-09-14 | 1 | -1/+2 |
| | | | | |||||
| | * | | Timer API implementation for Linux | Martin Ridgers | 2021-09-14 | 1 | -1/+25 |
| | | | | |||||
| | * | | Missing include | Martin Ridgers | 2021-09-14 | 1 | -0/+2 |
| | | | | |||||
| | * | | Added test case for some of intmath.h's functions | Martin Ridgers | 2021-09-14 | 5 | -0/+63 |
| | | | | |||||
| | * | | Define _CRT_SECURE_NO_WARNINGS | Martin Ridgers | 2021-09-14 | 2 | -1/+5 |
| | | | | |||||
| | * | | Added #if/endif around a check if 'min' is defined | Martin Ridgers | 2021-09-14 | 1 | -2/+4 |
| | | | | |||||
| | * | | IsPointerToStack() implementation for Linux | Martin Ridgers | 2021-09-14 | 1 | -0/+20 |
| | | | | |||||
| | * | | Replaced use of "%ll?" format specifiers with PRI?64 | Martin Ridgers | 2021-09-14 | 2 | -7/+7 |
| | | | | |||||
| | * | | Use sprintf() where _itoa_s() is not available | Martin Ridgers | 2021-09-14 | 1 | -0/+32 |
| | | | | |||||
| | * | | Use runtime_exception() instead of exception() as the latter doesn't have a ↵ | Martin Ridgers | 2021-09-14 | 2 | -2/+2 |
| | | | | | | | | | | | | | constructor that takes a message according to the C++20 standard | ||||