aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Compile out source_location use if the toolchain doesn't support itMartin Ridgers2021-12-161-2/+4
|
* Deleted unused includeMartin Ridgers2021-12-161-1/+0
|
* Wrapped direct use of C++20 library conceptsMartin Ridgers2021-12-166-8/+31
| | | | | | Some C++ libraries do not fully support concepts in the versions that are available by default on Linux and MacOS. The compilers do support them though so we can still apply concepts/requires to templates
* Use zen::Min() instead of std::min()Martin Ridgers2021-12-161-3/+3
| | | | | | Some compilers will struggle to deduce the template type for calls to std::min() while others are more complicit. The can easliy lead to unexpected compile errors on a platform.
* Added preprocessing config file and removed Visual Studio files.Per Larsson2021-12-151-0/+16
|
* DiskSpaceInfo() boolean return was back-to-frontMartin Ridgers2021-12-151-1/+1
|
* Missing includeMartin Ridgers2021-12-151-0/+2
|
* Missing includeMartin Ridgers2021-12-151-0/+1
|
* Resettled whitespaceMartin Ridgers2021-12-141-8/+7
|
* Removed unncessary define/undef blocks around include of trace.hMartin Ridgers2021-12-141-19/+0
|
* Merged main.Per Larsson2021-12-1414-42/+293
|\
| * Merged mainMartin Ridgers2021-12-081-19/+28
| |\
| * | Added a "path_string" type to the file traversal classMartin Ridgers2021-12-021-1/+2
| | |
| * | Renamed ZEN_PLATFORM_MACOS to ZEN_PLATFORM_MACMartin Ridgers2021-12-022-4/+4
| | | | | | | | | | | | | | | None of the other platform defines have an "OS" suffix so removing this one keeps things consistent and lowers the chance of error.
| * | ZEN_CONSOLE() without and VA_ARGS wouldn't compile with GCCMartin Ridgers2021-12-011-5/+5
| | |
| * | Initial integration of Trace from UE5 via the --zentrace=y xmake configMartin Ridgers2021-11-181-0/+49
| | |
| * | Filled out ZEN_THIRDPARTY_ macros for Clang and GCCMartin Ridgers2021-11-181-4/+16
| | |
| * | Whitespace alignment pedantryMartin Ridgers2021-11-171-1/+1
| | |
| * | Implemented ProcessMonitor for POSIX platformsMartin Ridgers2021-11-161-2/+4
| | |
| * | zen::CreateProc() variant that can launch processes unelevatedMartin Ridgers2021-11-161-0/+1
| | |
| * | Added a zen::CreateProc() function for spawning child processesMartin Ridgers2021-11-161-0/+26
| | |
| * | Added a ZEN_EXE_STRING_LITERAL for cross-platform path buildingMartin Ridgers2021-11-161-0/+6
| | |
| * | Added a PathToUtf8(path, string-buffer) overloadMartin Ridgers2021-11-161-0/+1
| | |
| * | ToUtf8() -> PathToUtf8() as the latter is less ambiguousMartin Ridgers2021-11-161-1/+1
| | |
| * | Renamed operator<<(bool) to AppendBool() to avoid subtle errorsMartin Ridgers2021-11-161-9/+13
| | | | | | | | | | | | | | | | | | | | | Pointers will get implicitly cast to a boolean type which is unlikely to be the intention when building strings. In particular, left-shifting in a wchar_t* into a char-bacled string builder will end up writing 'true' into the string instead of the intended wchar_t string's value.
| * | Merged mainMartin Ridgers2021-11-151-0/+1
| |\ \
| * | | Removed unused u8string_view NamedEvent constructorMartin Ridgers2021-11-111-1/+0
| | | |
| * | | NamedEvent is no longer an Event-type object.Martin Ridgers2021-11-111-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Platforms other than Windows do not really have a named event-like primitive or ones that are close are fallible if a process hard-terminates. Separating from Event more clearly conveys the use of NamedEvent objects; to synchronise two processes.
| * | | There is no "StringBuilderImpl<C>::operator << (const C*)".Martin Ridgers2021-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | This ended up calling operator << (bool) and appending "true" instead of the expected path component.
| * | | __debugbreak() -> ZEN_DEBUG_BREAK()Martin Ridgers2021-11-021-0/+6
| | | |
| * | | Refactored ExtendablePathBuilder in an fixed/extendable pairMartin Ridgers2021-11-021-20/+36
| | | |
| * | | Merged mainMartin Ridgers2021-11-011-0/+6
| |\ \ \
| * | | | Use THIRDPARTY_START/END instead of MSVC pragmasMartin Ridgers2021-10-291-2/+3
| | | | |
| * | | | Use THIRDPARTY_START/END instead of MSVC-specific #pragmaMartin Ridgers2021-10-291-1/+4
| | | | |
| * | | | Missing includeMartin Ridgers2021-10-251-0/+1
| | | | |
| * | | | Prevent GetObject from being defined as a macro by Windows.hMartin Ridgers2021-10-252-0/+6
| | | | |
| * | | | Define the cut-down Windows defines via zencore.h tooMartin Ridgers2021-10-251-0/+9
| | | | |
| * | | | Define NOMINMAX and WIN32_MEAN_AND_LEAN via xmake.lua tooMartin Ridgers2021-10-251-1/+3
| | | | |
| * | | | Missing include for std::min/maxMartin Ridgers2021-10-251-0/+2
| | | | |
| * | | | Added a zen::GetCurrentThreadId()Martin Ridgers2021-10-251-0/+1
| | | | |
| * | | | Cross-platform string comparison helper plus testsMartin Ridgers2021-10-251-0/+13
| | | | |
| * | | | Merged mainMartin Ridgers2021-10-256-6/+11
| |\ \ \ \
| * | | | | Made a note about a tick's unit and DateTime's epochMartin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Missing return keywordMartin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Merged mainMartin Ridgers2021-10-203-2/+7
| |\ \ \ \ \
| * | | | | | Added a ToUtf8() to ExtPathBuilderMartin Ridgers2021-10-201-0/+9
| | | | | | |
| * | | | | | Simple class for building paths based off an ExtendableStringMartin Ridgers2021-10-181-0/+40
| | | | | | |
| * | | | | | Merged mainMartin Ridgers2021-10-167-10/+33
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merged mainMartin Ridgers2021-10-154-5/+23
| |\ \ \ \ \ \ \
| * | | | | | | | Use std::fs::path for IoBuffer::MakeFromFile().Martin Ridgers2021-10-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway.