Shauren
0697cf8c94
Core/vmaps: Increment vmap format version number
2024-03-06 00:04:19 +01:00
Shauren
a70e758ba5
Tools/vmap_extractor: Move information about model type from spawns in vmap tiles to model file itself
2024-03-06 00:04:19 +01:00
Shauren
1aa04cabe1
Tools/mmaps_generator: Added const on some functions interfacing with vmaps
2024-03-06 00:04:19 +01:00
Shauren
67244a1f70
Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf)
2024-03-01 16:05:34 +01:00
Shauren
20b29c5ff5
Core/Misc: Allow formatting optionals with Trinity::StringFormat
2024-02-28 20:42:20 +01:00
Shauren
1572b8acab
Core/Logging: Call Log::instance() only once in each log statement
2024-02-26 22:55:27 +01:00
Shauren
0743a2f7bb
Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables)
2024-02-17 13:15:49 +01:00
Shauren
2441ddbea6
Core/CrashHandler: Support ARM64
2024-02-17 12:03:57 +01:00
Shauren
b9c2dca59f
Core/Random: Use correct headers to obtain _mm_malloc definitions
2024-02-17 12:03:06 +01:00
Shauren
a4a4d010a0
Core: Updated to 10.2.5
2024-01-21 22:25:10 +01:00
Ovahlord
97af0c31af
Core/Maps: implement LIQUID_MAP_OCEAN_FLOOR to identify units that are on the bottom of a liquid ( #29545 )
2024-01-02 19:46:44 +01:00
Shauren
623202d68e
Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
...
* passwords can now be case sensitive and up to 128 characters long
2023-12-26 14:55:15 +01:00
Ovahlord
0db162790c
Core/Common: fixed nopch build for msvc compilers ( #29516 )
2023-12-24 06:01:47 +01:00
Shauren
e172052a0a
Core/Crypto: Added SHA 512 definitions
2023-12-19 21:13:33 +01:00
Shauren
acb5fbd48b
Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
2023-12-17 23:21:10 +01:00
Shauren
5f00ac4b2b
Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for future bnetserver changes
2023-12-16 20:02:20 +01:00
Shauren
d958bfd0f3
Core/Database: Replace DatabaseWorker with asio io_context
2023-12-15 12:06:59 +01:00
Shauren
6e147f617b
Core/Locales: Fixed mac build
...
Closes #29490
2023-12-12 11:59:56 +01:00
Shauren
78bcc3f52a
Core/Misc: Minor code modernization - kill std::bind
2023-12-08 20:27:41 +01:00
Shauren
333630b7de
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
2023-12-01 19:53:13 +01:00
Shauren
1c6ee8a6bd
Core/Locales: Revert back to using C locale for number formatting
2023-11-25 13:57:25 +01:00
Shauren
b299902881
Core/Locales: Set active code page and locale used by c string functions to utf8
...
Closes #29455
2023-11-24 20:01:17 +01:00
Shauren
5052fa3ea1
nopch fix
2023-11-21 13:18:29 +01:00
Shauren
b888b1b09f
Core/Calendar: Implement different timezone support for ingame calendar
...
Closes #8390
Closes #29427
2023-11-21 12:25:22 +01:00
Shauren
36a6488405
Core/CrashHandler: Add a timeout to retrieving windows version from WMI
2023-11-19 21:22:09 +01:00
ModoX
c5735edcc8
Core/Utilities: Added timer series queuing to EventMap ( #29420 )
2023-11-10 20:15:37 +01:00
Shauren
9894f6b802
Core/Random: Changed random functions returning doubles to return floats
...
* 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-31 20:20:00 +01:00
funjoker
17c69368a3
Dep/Boost: Drop windows boost hacks ( #29358 )
2023-10-13 21:10:01 +02:00
Shauren
e161874695
Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
2023-10-05 23:57:25 +02:00
Shauren
752309fbe3
Core/Misc: mac build fix
2023-09-17 01:07:27 +02:00
Shauren
1fe73cd532
Core/SSL: Support more certificate formats
2023-09-16 00:41:07 +02:00
Shauren
d8c98579d4
Core/Misc: Silence compile warning in boost::process with version 1.83
2023-09-13 00:29:25 +02:00
Shauren
b51afbdfb9
Core/Logging: Fixed log message order not being preserved when async logging was enabled and ThreadPool was greater than 1
...
Despite that issue, logging was still threadsafe, just not ordered properly
2023-08-25 10:40:47 +02:00
Shauren
f0a862e71b
Core/Misc: Modernize comparison operators
2023-08-24 00:51:26 +02:00
Shauren
9e1b97900e
Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type)
2023-08-18 18:23:29 +02:00
Shauren
f18233822d
Core/Misc: Fixed minor formatting mistakes
2023-08-16 18:17:09 +02:00
Shauren
86725ed926
Core/MMaps: Fixed pathing for objects that have terrain swaps active
2023-08-08 00:08:10 +02:00
Shauren
576ca241ec
Core/Logging: Minor compile time reducing refactor of log message formatting
2023-07-23 00:27:26 +02:00
Shauren
8b426af763
Core/Bnet: Send hostnames in portal requests for launcherlogin
2023-07-20 00:38:07 +02:00
Shauren
d949f86e28
Scripts/Spells: Allow using templated spell script with multiple template arguments in RegisterSpellScriptWithArgs
...
* Also fixed some script conversion issues
2023-07-19 13:44:18 +02:00
Shauren
7d8bc543f9
Core/Network: Don't send localhost addresses to external clients
2023-07-18 18:09:30 +02:00
Shauren
dfbf09f4b9
GCC build fix
2023-07-17 20:32:07 +02:00
Ovahlord
38440996ee
Core/Common: Use the [[unlikely]] keyword in all assert, warning and error macros to allow further compiler optimization ( #29124 )
2023-07-16 16:11:41 +02:00
Shauren
6be536a73b
Core/Network: Refactor local/remote ip address selection code and allow using hostnames in LoginREST bnetserver config options
2023-07-15 00:45:16 +02:00
Смердокрыл
74a4dc46b4
Core/Config: Implement reading config overrides from subdirectory ( #29068 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-06-09 20:36:03 +02:00
Shauren
3260b94dd6
Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
2023-05-13 15:46:27 +02:00
Gosha
eb7f02849c
Core/Misc: TaskScheduler cleanup ( #28862 )
...
-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-05-06 23:59:37 +02:00
Shauren
3bd4c21754
Core/DataStores: Remove temporary 10.0.7 workraround
2023-05-05 00:45:11 +02:00
Shauren
16bc74667e
Core: Update to 10.1
2023-05-04 17:00:52 +02:00
Shauren
f540477fed
Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest id on every call
2023-04-27 00:17:25 +02:00