aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
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-06Core/Crypto: Remove support for OpenSSL 1.0Shauren
2022-09-05Core/Debugging: Improve SymInitialize fail message (#28206)ihm-tswow
* clarify that this is not the crash error, but an error with the crash report itself * improve formatting and message boundaries * warn the reader that this means the call stack symbols may be inaccurate (cherry picked from commit 6e37438e5dadd30dc2ce36e468045e0be4d26c83)
2022-09-05Core/Crypto: Fixed build with openssl 1.1daMaex
(cherry picked from commit 9368823c8dfa0587ef915d2f1e0aa443355d7854)
2022-09-05Core/Crypto: Fixed loading legacy openssl provider for RC4 on windowsShauren
2022-09-05Core/Crypto: Updated ARC4 code with openssl 3.0 supportdaMaex
(cherry picked from commit 9fca5e9117317d6706fdf7d09fb86acaa3361129)
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-08-18Core/Misc: Dynamic build fix (add missing TC_COMMON_API)Shauren
2022-08-16Core/DataStores: Sprinkle some constexpr on db2 metaShauren
2022-08-01Core/Crypto: Removed unneccessary std::reverse in Ed25519::SignShauren
2022-08-01Core/Crypto: Added Ed25519 implementationShauren
2022-07-23Core/Maps: Move terrain data handling out of Map classShauren
Partial port of cmangos/mangos-wotlk@ff5232c64809207b5fa59d62e9870f58a36b6f3f
2022-06-17Core/Crypto: Fixed openssl 3.0 compatibility for custom hmac_sha256 digest ↵Shauren
for RSA
2022-06-17Core/Utils: Added helper function to make creating unique_ptr with custom ↵Shauren
deleters more convenient
2022-06-16Core/Crypto: Fixed GenericHMAC::Finalize wth openssl 3.0daMaex
(cherry picked from commit 0b6f77a0062389ea0bc90427a56d2cc90eda6768)
2022-06-10Core/Metric: Sync default Metric.Interval valuejackpoz
Sync default Metric.Interval value in C++ with the value in worldserver.conf (cherry picked from commit c83d00a645a310c48abd454b68402d366773c4d1)
2022-06-10Core/Metric: Fixed double logging metric timersShauren
(cherry picked from commit 46b1284f61310a441f2fb219891c6a2f2e4a218e)
2022-06-10Core/Metric: Build fix for WITH_DETAILED_METRICSShauren
(cherry picked from commit 46b7a361eeef35402f3f9ca52dd2b68e20b161ec)
2022-06-10Core/Metric: Minor optimizations for metrics (reducing number of allocations)Shauren
(cherry picked from commit caaedbfa80870b10d58e124dd6bc6a637278da59)
2022-06-10Core/CrashHandler: Support retrieving windows version names for all future ↵Shauren
versions (cherry picked from commit ca9b82fb856c8314c3e84b15bc16ffb3fe8239ba)
2022-05-22Core/GameObjects: Use all axis rotations for gameobject model collision, not ↵Shauren
just orientation
2022-05-11Core/Misc: Remove uses of std::aligned_storage (deprecated in future c++ ↵Shauren
standard)
2022-05-09Core/Logging: Remove string allocations for logs that are not going to be loggedShauren
2022-05-06Core/Crypto: Fixed EVP_PKEY reference counting for copied objectsShauren
Closes #27943
2022-05-03Codestyle fix - remove empty linesShauren
2022-05-03Core/Crypto: Fix nopch buildShauren
2022-05-03Core/Crypto: Switch away from most deprecated openssl functions and removed ↵Shauren
upper version limit
2022-05-03Core/Misc: Prefix include guard to avoid possible conflict with external libraryShauren
2022-04-18Core/Vmaps: Use provided invDirection from G3D::Ray instead of calculating ↵Gosha
it ourselves (#27883) Do not calculate inv direction, Ray has one
2022-03-13Core/Config: Implement config override with env vars (#26811)Anton Popovichenko
* Core/Config: Implement config override with env vars Implement overriding of configuration from the .conf file with environment variables. Environment variables keys are autogenerated based on the keys defined in .conf file. Usage example: $ export TC_DATA_DIR=/usr $ TC_WORLD_SERVER_PORT=8080 ./worldserver * Core/Config Fix typo in logs Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> * Core/Config Fix code style in EnvVarForIniKey Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update tests/common/Config.cpp * Apply suggestions from code review Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> * Apply suggestions from code review Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> (cherry picked from commit 1ddd9dc19cc1df1a1ab8c6123283999f9dea6760)
2022-03-11Core/DBLayer: Add QueueSize() method (#26733)Giacomo Pozzoni
* Core/DBLayer: Add QueueSize() method Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued. Include the queue size of the 3 databases in ".server debug" command * Make the code less threadsafe * Send data to InfluxDB * Update grafana dashboard (cherry picked from commit 96dc110f4a353871ac74c82ff4b1bcc4c34156f3)
2022-03-11Common/Misc: Replace old macros with modern C++ attributes (#26613)Giacomo Pozzoni
(cherry picked from commit 5ae2a0f47d323fadcfebf44c7b6ec11a3f91c75a)
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-03-05Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf (cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-02-27Common/Metric: Fix build with PERFORMANCE_PROFILING and/or WITHOUT_METRICSAokromes
(cherry picked from commit 91cda8b1cdf4b45c4ca3ef1a742f6d1733ad3d66)
2022-02-16Build: Partial support for clang-clShauren
2022-02-14Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and ↵Shauren
remove compatibility code for unsupported versions
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-11Core/Misc: common PCH tuningShauren
2022-02-11Core/Utils: Corrected included files in Containers.hShauren
2022-02-11Core/Misc: Explicitly include required headers instead of relying on them to ↵Shauren
be included by other headers
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)