aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into cbpackage-updateStefan Boberg2021-09-1586-659/+1043
|\
| * Tweaked logging to streamline access, and simplified setup code for new loggersStefan Boberg2021-09-153-18/+31
| |
| * Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-159-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 suffixStefan Boberg2021-09-153-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 Boberg2021-09-151-1/+1
| | | | | | | | logging anyway so can just pass in the format string and args
| * Fixed up invalid fmt formatting stringsStefan Boberg2021-09-152-6/+6
| |
| * Unused variable warning fixStefan Boberg2021-09-152-0/+3
| |
| * Handle absence of std::source_location somewhat more gracefully (relies on ↵Stefan Boberg2021-09-152-0/+6
| | | | | | | | client code also checking)
| * Unsigned / signed comparison warning fixesStefan Boberg2021-09-151-3/+3
| |
| * Fixed up bit scan logic for clang-clStefan Boberg2021-09-151-1/+1
| |
| * Merge branch 'main' into linux-macStefan Boberg2021-09-150-0/+0
| |\
| | * Two missing includesMartin Ridgers2021-09-151-0/+2
| | |
| * | Merged from mainStefan Boberg2021-09-1550-526/+477
| |\|
| | * Cross-platform zen::GetLastError()Martin Ridgers2021-09-152-5/+19
| | |
| | * Changed logging implementationStefan Boberg2021-09-1542-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 buldStefan Boberg2021-09-151-1/+1
| | |
| | * Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-1537-50/+42
| | | | | | | | | | | | easier to tweak implementation
| | * Changed so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-1510-104/+32
| | |
| | * Added options for indicating a server is running in "dedicated" modeStefan Boberg2021-09-153-8/+13
| | | | | | | | | | | | I.e running on a host to serve *remote* clients
| * | Added #ifdef condition around Windows-specific exception handlingMartin Ridgers2021-09-152-0/+6
| | |
| * | POSIX implementation of ThrowSystemException using std::system_errorMartin Ridgers2021-09-151-5/+9
| | |
| * | Moved system_error include to except.h for std::error_codeMartin Ridgers2021-09-152-1/+1
| | |
| * | Cross-platform zen::GetLastError()Martin Ridgers2021-09-152-5/+19
| | |
| * | Removed constexpr for anything that uses GetSize()Martin Ridgers2021-09-151-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_errorMartin Ridgers2021-09-151-1/+1
| | |
| * | Deleted unused #includeMartin Ridgers2021-09-151-1/+0
| | |
| * | Missing include for std::runtime_error()Martin Ridgers2021-09-151-0/+1
| | |
| * | Missing include for pow()Martin Ridgers2021-09-151-0/+1
| | |
| * | Correct platform-specific _mm_malloc/aligned_alloc includesMartin Ridgers2021-09-151-1/+6
| | |
| * | Fixed GetSize() constexpr compile errors with GCCMartin Ridgers2021-09-151-9/+9
| | |
| * | Merge mainMartin Ridgers2021-09-1575-2373/+4263
| |\|
| | * Updated function service to new package management APIStefan Boberg2021-09-141-21/+29
| | |
| | * Extended CidStore implementation with some helper functionsStefan Boberg2021-09-142-4/+31
| | |
| | * Changed path for crashpad exe since vcpkg decided to put it somewhere else ↵Stefan Boberg2021-09-141-1/+1
| | | | | | | | | | | | now, for reasons unknown
| * | Use zen::Sleep() in timer.cpp's testsMartin Ridgers2021-09-151-10/+1
| | |
| * | zen::Sleep() for LinuxMartin Ridgers2021-09-151-0/+4
| | |
| * | GetCurrentProcess() for non-WindowsMartin Ridgers2021-09-151-0/+6
| | |
| * | Implemented RwLock on non-Windows platforms using std::shared_mutexMartin Ridgers2021-09-152-1/+28
| | |
| * | Removed unused 'thread' includeMartin Ridgers2021-09-151-1/+0
| | |
| * | Use portable std::fs::path::u8string() instead of WideToUtf8()Martin Ridgers2021-09-141-1/+1
| | |
| * | Moved zencore.h include earlier so it defines ZEN_* macrosMartin Ridgers2021-09-141-1/+2
| | |
| * | Timer API implementation for LinuxMartin Ridgers2021-09-141-1/+25
| | |
| * | Missing includeMartin Ridgers2021-09-141-0/+2
| | |
| * | Added test case for some of intmath.h's functionsMartin Ridgers2021-09-145-0/+63
| | |
| * | Define _CRT_SECURE_NO_WARNINGSMartin Ridgers2021-09-142-1/+5
| | |
| * | Added #if/endif around a check if 'min' is definedMartin Ridgers2021-09-141-2/+4
| | |
| * | IsPointerToStack() implementation for LinuxMartin Ridgers2021-09-141-0/+20
| | |
| * | Replaced use of "%ll?" format specifiers with PRI?64Martin Ridgers2021-09-142-7/+7
| | |
| * | Use sprintf() where _itoa_s() is not availableMartin Ridgers2021-09-141-0/+32
| | |
| * | Use runtime_exception() instead of exception() as the latter doesn't have a ↵Martin Ridgers2021-09-142-2/+2
| | | | | | | | | | | | constructor that takes a message according to the C++20 standard