aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added more context to missing chunk exceptionsStefan Boberg2021-09-151-3/+4
|
* Added explicit logging initialization to main() of standalone executables, ↵Stefan Boberg2021-09-153-1/+7
| | | | to make things work with the new default logger shadowing changes
* Fixed logging.h so it doesn't leak `using namespace std::literals` declarationStefan Boberg2021-09-151-8/+41
|
* Corrected logic error in ValidateCbPackageAttachment()Stefan Boberg2021-09-151-1/+1
|
* 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
| * Added backwards compatible package serialization code for UE5 interop during ↵Stefan Boberg2021-09-142-3/+142
| | | | | | | | transition to new marshaling formats
| * oplog: added handling of new attachment typesStefan Boberg2021-09-141-3/+28
| |
| * Implemented intended package streaming API flow (but currently it "streams" ↵Stefan Boberg2021-09-134-17/+37
| | | | | | | | from memory)
| * Changed package parsing test codeStefan Boberg2021-09-131-3/+3
| |
| * Added client implementation of CbPackage filter/transactStefan Boberg2021-09-134-12/+77
| |
| * vcxproj change for adding httpcommon.hStefan Boberg2021-09-132-0/+2
| |
| * Introduced FormatPackageMessageBuffer() returning a ComositeBufferStefan Boberg2021-09-132-0/+18
| |
| * Changed explicit http status checking into IsHttpSuccessCode() callStefan Boberg2021-09-132-1/+5
| |
| * Moved some shared http definitions into httpcommon.hStefan Boberg2021-09-133-160/+188
| | | | | | | | Added CompositeBuffer HttpServerRequest::WriteResponse() helper function
| * Added zenhttp as a dependency of zenserver-test in xmake fileStefan Boberg2021-09-131-1/+1
| |
| * SImplified some payload access codeStefan Boberg2021-09-131-4/+2
| |
| * Enforce sizes of package serialization structuresStefan Boberg2021-09-131-0/+4
| |
| * Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-139-188/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | share storage and lazy eval logic They now call into ParseSessionId()/ParseRequestId() when required Eliminates redundant logic in derived implementations Also moved package transport code into httpshared.(cpp|h) for easier sharing with client code Added some I/O error reporting in http.sys related code Changed IHttpPackageHandler interface to support partially updated handling flow