aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities
AgeCommit message (Collapse)Author
2024-03-11Fix tests buildShauren
2024-03-11Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a ↵Shauren
specialized variant of std::shared_ptr that enforces unique ownership * This is intended to be used by external code unable to track object lifetime such as custom scripting engines
2024-02-28Core/Misc: Allow formatting optionals with Trinity::StringFormatShauren
2024-02-17Core/Random: Use correct headers to obtain _mm_malloc definitionsShauren
2023-12-17Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as ↵Shauren
http backend and extract generic http code to be reusable elsewhere
2023-12-12Core/Locales: Fixed mac buildShauren
Closes #29490
2023-12-08Core/Misc: Minor code modernization - kill std::bindShauren
2023-12-01Core/Misc: Added windows version checks during startup to avoid confusion ↵Shauren
about crashes when running on unsupported OS
2023-11-25Core/Locales: Revert back to using C locale for number formattingShauren
2023-11-24Core/Locales: Set active code page and locale used by c string functions to utf8Shauren
Closes #29455
2023-11-21Core/Calendar: Implement different timezone support for ingame calendarShauren
Closes #8390 Closes #29427
2023-11-10Core/Utilities: Added timer series queuing to EventMap (#29420)ModoX
2023-10-31Core/Random: Changed random functions returning doubles to return floatsShauren
* They were all cast to float at use anyway * Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-13Dep/Boost: Drop windows boost hacks (#29358)funjoker
2023-10-05Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2Shauren
2023-09-17Core/Misc: mac build fixShauren
2023-09-13Core/Misc: Silence compile warning in boost::process with version 1.83Shauren
2023-08-24Core/Misc: Modernize comparison operatorsShauren
2023-07-23Core/Logging: Minor compile time reducing refactor of log message formattingShauren
2023-07-17GCC build fixShauren
2023-05-13Core/Misc: Replace string to int conversion functions from Common.h with ↵Shauren
c++17 std::from_chars based ones Trinity::StringTo
2023-05-06Core/Misc: TaskScheduler cleanup (#28862)Gosha
-Pass std::chrono types by value, they are small enough to not be passed around by const& -Same applied to Optional<group_t> -Replace EmptyCallback with nullptr Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-10Core/Misc: Fix build with libc++Shauren
Closes #28909
2023-04-06Core/Misc: Modernize code a bit by replacing std::tie with either structured ↵Shauren
bindings or operator<=>
2023-01-31Core/Misc: Fixed clang 15 warningsShauren
2023-01-10Core/Logging: Fixed remaining uses of STRING_VIEW_FMT in log statementsShauren
2023-01-08Dep/fmt: Upgrade to 9.1.0Shauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2023-01-07Core/Misc: Replace enable_if overload selection with if constexprShauren
2023-01-07Core/Misc: Migrate our c++20 advstd to standard featuresShauren
2023-01-06Core/Misc: Remove boost::heap::fibonacci_heap from header filesShauren
2023-01-05Core/Misc: Added a include hack for msvc <chrono> to use only c++17 bits from itShauren
2022-11-06Core/Misc: Added noexcept to move constructors and move assignment operatorsShauren
2022-11-05Build: Cleanup boost CMakeLists from pre-c++11 flag checksShauren
2022-10-01Core/Misc: Fix *BSD compile errors (#28287)Lloyd Dilley
(cherry picked from commit 2b8fc95fdec69ca5c057c2e63a1313d8165d44ea)
2022-09-19Core/Misc: Changed string formatting functions to accept std::string_view as ↵Shauren
format argument instead being templated on it to slightly improve compile times and reduce executable size
2022-09-02Core/Misc: Minor refactor to std::hash specialization for std::pair to avoid ↵Shauren
showing incorrect documentation in IDEs on entire std namespace
2022-06-17Core/Utils: Added helper function to make creating unique_ptr with custom ↵Shauren
deleters more convenient
2022-03-09Core/Utilities: Fixed child process console output being incorrectly cut off ↵Shauren
at first newline
2022-03-09Core/Console: Improve ReadWinConsole logic and cosmetic changes (#26402)Mikhail Redko
* Core/Console: Improve ReadWinConsole logic and cosmetic changes * Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes * Fix codestyle * Removed auto * Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console * Core/Misc: Cast Difficulty to uint32 for output to console Co-authored-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit 6c12f45f3b7d7eab32ed29860d2261fc8a512f0e)
2022-03-08Core/Console: Fix uninitialized variableShauren
(cherry picked from commit 677952fbc59676b549337f9f7eb5c7e7abb1135e)
2022-03-08Core/Misc: Fixed utf8 encoding in console input/output. (#26352)Mikhail Redko
* Core/Misc: Fixed utf8 encoding in console input/output. * Fix gcc build * Fixed that weird 'a' with circle above it and other similar letters. Also fixed encoding in AppenderConsole which sometimes did not work as it should * Fix build on Linux * Probably better to do it like this (cherry picked from commit 1539bed3db86f2153f2d0d5fbf24bf9ee4af1d92)
2022-03-06CI/CircleCI: Expose binaries built on Circle CI as docker images in the ↵Giacomo Pozzoni
Circle CI artifacts (#25832) Co-authored-by: Shauren <shauren.trinity@gmail.com> (cherry picked from commit 9af6bf15aa2fe836c3ebba306eaaa8971f00fac4)
2022-03-05Core/Misc: Remove unneeded null-terminator after switch from wchar_t to ↵Mikhail Redko
std::wstring in 309851e. Fixes creation characters with declined russian names (#25797) Closes #23775 (cherry picked from commit eaa22b8a1722fd362bf5ef2c6944b5c50b121afd)
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-11Core/Utils: Corrected included files in Containers.hShauren
2022-02-10Core/Utils: Made bool conversion operator of FlagsArray explicitShauren
2022-02-09Core/Utils: Extract template base class out of flag128Shauren
2022-02-05[3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443)Treeston
(cherry picked from commit 75f9e7396e35360f3016cc0cb21e72e20f5d96d5)
2022-02-05Dep/fmt: update fmt library to 7.0.3Winfidonarleyan
(cherry picked from commit 9d96e4852a4a25fdc323f656e24034fa1a280826)