aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Incorrect fmt format syntax causing compile errors with GCCMartin Ridgers2021-09-161-2/+2
|
* Use Memory::* API for IoBufferCore::Alloc/FreeBuffer on non-WindowsMartin Ridgers2021-09-161-0/+4
|
* MakeWin32ErrorCode() -> MakeErrorCode()Martin Ridgers2021-09-162-4/+4
|
* GetWindowsErrorAsString() -> GetErrorAsString()Martin Ridgers2021-09-163-5/+5
|
* 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
| * Added Ref<>::Get to work around issue casting a pointer to a derived type to ↵Stefan Boberg2021-09-131-0/+1
| | | | | | | | a pointer to a parent type
| * Changed CbPackage::TryLoad() signature so it can handle temporariesStefan Boberg2021-09-132-4/+2
| |
| * Package filtering related test codeStefan Boberg2021-09-134-7/+86
| |
| * Implemented generic CbPackage attachments filteringStefan Boberg2021-09-136-284/+539
| | | | | | | | Package transmission will also need to be updated (up next) for the new scheme to be effective
| * Added CbPackageOffer content typeStefan Boberg2021-09-131-0/+1
| |
| * Eliminated HttpServerException and related classesStefan Boberg2021-09-124-36/+0
| |
| * clang-format fixesStefan Boberg2021-09-121-2/+6
| |
| * Some error handling improvements in zenhttpStefan Boberg2021-09-126-79/+102
| | | | | | | | Primarily replaces some exception usage with std::error_code
| * Added some std::error_code helpersStefan Boberg2021-09-122-1/+20
| | | | | | | | | | * Added MakeWin32ErrorCode/MakeErrorCodeFromLastError * Fixed GetLastErrorAsString() implementation so it doesn't throw (!)