Shauren
9242eda6c7
Core/Misc: Reduce amount of virtual functions and copypasting in Reference<> implementations
2024-07-29 22:18:22 +02:00
Shauren
ab5fab5ee9
Build: Fixed CMake 3.30 FindBoost deprecation warning
2024-07-18 12:42:31 +02:00
Shauren
77fe2745fe
Build: CMake cleanup
...
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Ovahlord
a3db80ce58
Core/PacketIO: increased allowed storage size of ByteBuffer from ~10mb to ~100mb and fixed a logic mistake that was allowing first-time append calls to bypass that size limit ( #30037 )
2024-06-15 18:12:18 +02:00
Shauren
4f6b49cccf
Core/Crypto: Rename our Argon2 to avoid possible conflict with library file on some configurations
2024-06-02 00:18:33 +02:00
Shauren
468a06baf0
Core: Update to 10.2.7
2024-05-08 20:55:51 +02:00
Shauren
f847cd4eeb
Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
...
Closes #29887
2024-04-03 21:23:30 +02:00
Shauren
ac5aee6a98
Core: Updated to 10.2.6.53840
2024-03-21 21:07:23 +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
Shauren
15fce17c1a
Core/Bnet: Add new loggers to config file template, fixed request/response content logging and fixed setting keep_alive on responses
2023-12-18 12:19:10 +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
78bcc3f52a
Core/Misc: Minor code modernization - kill std::bind
2023-12-08 20:27:41 +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
a3702cc526
Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class
2023-10-18 20:21:32 +02:00
Shauren
e161874695
Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
2023-10-05 23:57:25 +02:00
Shauren
f0a862e71b
Core/Misc: Modernize comparison operators
2023-08-24 00:51:26 +02:00
Shauren
cc6dba1376
Core/Realms: Minor refactor to realm address storage (remove LocalSubnetMask as it is now unused, db field kept for table structure compatibility with 3.3.5 branch)
2023-08-03 11:18:11 +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
Shauren
cdfaecda52
Core/Network: Cleanup asio using directives
2023-07-15 00:43:19 +02:00
Shauren
7f5e47c396
Core/Realms: Remove duplicate realm names storage
2023-04-29 00:25:31 +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
Shauren
7b31080258
Core/Misc: Modernize code a bit by replacing std::tie with either structured bindings or operator<=>
2023-04-06 17:46:58 +02:00
Shauren
7395d75b5a
Core/Misc: Fixed clang 15 warnings
2023-01-31 18:51:31 +01: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
92ed5e8af1
Core/Misc: Include cleanup, 2023 edition
2023-01-07 22:38:21 +01:00
Shauren
25c28c0c7d
GCC build fix
2022-12-17 12:54:38 +01:00
Shauren
ba4c148a69
Core/DataStores: Devirtualize DB2Storage
2022-12-14 00:29:03 +01:00
Shauren
9d9e11f8ca
Core/DataStores: Made DB2LoadInfo constexpr
2022-12-14 00:27:01 +01:00
Shauren
79ca6df27d
Core/DataStores: Add const to DBStorageIterator dereference operators
2022-11-27 22:16:32 +01:00
Shauren
1043911410
Build: Cleanup proto & shared cmakelists
2022-06-18 16:02:50 +02:00
Shauren
5859510b54
Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
2022-06-17 15:20:55 +02:00
Shauren
934a1ad498
Core/DataStores: Removed unused code from DB2DatabaseLoader
2022-04-09 00:25:16 +02:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Shauren
f6e72494f1
Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
2022-02-14 12:43:57 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
f8ad7017dd
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
2022-02-12 21:36:46 +01:00
Shauren
cbcd149ce5
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
2022-02-11 14:33:35 +01:00
Treeston
c4b287c7bf
Core/Misc: DBC std::array refactors, and |Hachievement unit tests
...
(cherry picked from commit 3fbbe7cfbe )
2022-02-04 23:37:29 +01:00
Treeston
9f97fdd31a
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
...
(cherry picked from commit 534a2388b7 )
2022-02-04 00:27:14 +01:00
Treeston
fa8ab6eb98
Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone
...
(cherry picked from commit 7b8b999516 )
2022-01-26 14:36:42 +01:00
Shauren
d2cde75ab2
Core/Networking: Fixed authserver socket read handlers being called on incorrect thread
...
(cherry picked from commit 3ad05386c8 )
2022-01-24 13:15:13 +01:00
Giacomo Pozzoni
fda8a09766
Core/Misc: Replace boost::shared_mutex with std::shared_mutex ( #24328 )
...
* Core/Misc: Replace boost::shared_mutex with std::shared_mutex
* Remove std forward declarations
(cherry picked from commit 7032ee0bdb )
2022-01-23 21:51:47 +01:00
Shauren
96137fb30f
Core/Misc: Future msvc warning fixes
2022-01-21 13:40:48 +01:00
jackpoz
68faf5bc4b
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
...
(cherry picked from commit 54c701cf0d )
2022-01-19 22:17:42 +01:00
ipriver
bde36062b7
fixed indentation for cmake files
...
(cherry picked from commit a46d047f94 )
2022-01-06 23:40:39 +01:00
Shauren
3a67e37681
Core/Time: Remove artificially high minimal update intervals
2022-01-03 11:26:23 +01:00
Shauren
3ebfa8cc64
Core/PacketIO: Add a validating string helper class for use in packet classes
...
(cherry picked from commit f2f47f774f )
2021-12-23 23:55:58 +01:00
Shauren
a82ae950dd
Core/ByteBuffer: Fix string format
...
(cherry picked from commit 1227e96bd3 )
2021-12-23 19:45:51 +01:00
Shauren
09967ad7fd
Core/PacketIO: Validate utf8 in every client packet
...
(cherry picked from commit 0a2a96efaa )
2021-12-23 15:15:08 +01:00