Shauren
7279bff489
Core/Misc: Remove old msvc warning suppression workarounds for do {} while (0) constructs used in assert and logging macros
2026-05-10 14:45:17 +02:00
Shauren
e49105cb68
Core/Misc: Changed compiler detection to better support compilers that pretend to be something else, such as clang-cl is both msvc and clang at the same time
2026-05-10 14:40:49 +02:00
Shauren
62ba3d8b4e
Tools/mmaps_generator: Enable async console logging
2025-10-26 23:37:15 +01:00
Shauren
d62b412c92
Core/Misc: Remove StringFormat exception handling code from the header
2025-06-23 11:38:34 +02:00
Shauren
7657a289d7
Core/Misc: Kill copy/move constructors for singleton classes
2025-06-10 13:12:33 +02:00
Shauren
81bec6954f
Core/Logging: Minor internal refactor
...
* Avoid formatting to output with fprintf
* Use vector instead of unordered_map to store appenders in Logger
2024-07-16 16:31:40 +02:00
Shauren
1cd7898c01
Core/Logging: Removed one layer of allocations from log message writes (async doesn't wrap in shared_ptr anymore and sync creates LogMessage on the stack)
2024-07-10 14:51:29 +02:00
Shauren
e99482ce9b
Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason
2024-03-19 13:24:23 +01:00
Shauren
e121ed81d1
Core/Logging: Improved generated code for log statements (length of text is computed at compile time)
2024-03-15 20:46:10 +01:00
Shauren
1572b8acab
Core/Logging: Call Log::instance() only once in each log statement
2024-02-26 22:55:27 +01:00
Shauren
576ca241ec
Core/Logging: Minor compile time reducing refactor of log message formatting
2023-07-23 00:27:26 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
301572212f
Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size
2022-09-19 00:33:19 +02:00
Shauren
5ba1247587
Core/Logging: Remove string allocations for logs that are not going to be logged
2022-05-09 14:19:02 +02:00
Treeston
9f97fdd31a
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
...
(cherry picked from commit 534a2388b7c662c8796aabb1ec8cb424879799b6)
2022-02-04 00:27:14 +01:00
Giacomo Pozzoni
61bf51874d
Core/Misc: Fix static analysis issues ( #25178 )
...
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24 20:21:25 +01:00
jackpoz
89a232de3a
Core/Misc: Add PERFORMANCE_PROFILING CMake option
...
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance.
This option is unsupported, do not report any issue happening when enabling this option.
(cherry picked from commit db5c9867e2ffde3657f53bc155b474c5d46884dd)
2021-08-08 21:21:34 +02:00
Shauren
480039f913
Core/Logging: Add functions that allow creating loggers and appenders from other sources than config files
2021-05-27 11:47:51 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
dfd2660a85
Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
...
* Based on work done by @dimiandre in PR #21173
Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Shauren
b8db320bf1
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
2017-03-04 18:46:18 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Naios
501fd9b502
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-03-24 01:28:58 +01:00
Naios
5c91586797
Core/Common: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
2016-03-11 18:22:39 +01:00
Shauren
a0b2be6c1d
Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
2016-02-23 23:41:18 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
StormBytePP
1d2aafd39b
Core/Build: Merge common library and move database out of shared
2015-08-21 17:52:42 +02:00