Shauren
fbbcc31670
Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming
2025-07-11 17:47:14 +02:00
Shauren
39c06d40e2
Core/Misc: Use new Field::Get*OrNull where possible
2025-06-24 16:11:11 +02:00
Shauren
7002766c0a
Core/Shared: Update PCH content to include most commonly used headers
2025-06-12 19:33:09 +02:00
Shauren
7657a289d7
Core/Misc: Kill copy/move constructors for singleton classes
2025-06-10 13:12:33 +02:00
Shauren
74d9da7f32
Core/Network: Make ip address formattable with fmt
2025-06-02 18:38:41 +02:00
Shauren
1027c42352
Core/PacketIO: Replace static_asserts with concepts and add them to PacketUtilities as well
2025-05-23 15:20:57 +02:00
Shauren
85e621f01a
Core/PacketIO: Remove ByteBuffer constructor from MessageBuffer
2025-05-23 14:41:39 +02:00
Shauren
5bebf05209
Core/PacketIO: Mark packet parsing exception throwing code paths as [[noreturn]]
2025-05-22 23:17:01 +02:00
Shauren
7ca9e9005d
Core/PacketIO: Disable implicit bool to int conversions for ByteBuffer operators
2025-05-21 21:17:38 +02:00
Shauren
8c01996cae
Core/PacketIO: Add char overloads to ByteBuffer operators
2025-05-21 18:32:19 +02:00
Shauren
ad9984b8a3
Core/PacketIO: Move ObjectGuid and Position::PackedXYZ packet functions out of ByteBuffer
2025-05-16 19:11:12 +02:00
Shauren
c6050a319c
Core/PacketIO: Rename ByteBuffer::contents to ByteBuffer::data
2025-05-15 19:18:41 +02:00
Shauren
546d23264c
Core/Misc: Make string and string_view literal suffixes globally available
2025-05-13 11:41:54 +02:00
Shauren
38f40f5413
Core/PacketIO: Improved bit functions - no longer reads each bit separately
2025-05-12 16:27:55 +02:00
Shauren
71b681bbf0
Core/Network: Move to separate project
2025-04-09 21:02:31 +02:00
Shauren
e8b2be3527
Core/Network: Socket refactors
...
* Devirtualize calls to Read and Update by marking concrete implementations as final
* Removed derived class template argument
* Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor
* Make socket initialization easier composable (before entering Read loop)
* Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2025-04-08 19:15:16 +02:00
Shauren
401502ea3c
Core/Grids: Modernize TypeContainer with variadic template
2025-01-05 20:22:34 +01:00
Shauren
27860c3316
Core/Database: Added std::span based functions to Field and PreparedStatement
2025-01-03 13:04:19 +01:00
Shauren
aa3a62e518
Core/PacketIO: Fixed writing exactly 32 bits
2024-12-20 17:27:18 +01:00
Shauren
5f212c6916
Core/PacketIO: Improved bit functions - no longer writes each bit separately
2024-12-19 19:47:26 +01:00
Shauren
5a1fe84978
Core/PacketIO: Read directly into output variable for numeric ByteBuffer::operator>> overloads
2024-12-19 19:45:58 +01:00
Shauren
736836a3f5
Core/PacketIO: Fixed endian conversions for array operations
2024-12-19 19:43:06 +01:00
Shauren
9ed5f8812b
Core/PacketIO: Remove overriding Underlying type from ByteBuffer reads in favor of PacketUtilities::As
2024-12-19 14:57:28 +01:00
Shauren
8eb2a4de78
Core/Misc: Apply consistent formatting in ByteBuffer
2024-12-19 14:42:38 +01:00
Shauren
c81183a660
Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer
2024-12-09 21:13:18 +01:00
Shauren
3e2abd2535
Core/Misc: Port std::ranges::contains from c++23
2024-12-01 19:05:26 +01:00
Shauren
e8d949c794
Core/JSON: Prevent out of bounds memory accesses in json deserialization
2024-11-13 00:24:39 +01:00
Shauren
af4dcc93ed
Core/Networking: Support IPv6
2024-11-12 13:54:43 +01:00
Shauren
7ac0c685dd
Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
2024-09-20 13:19:42 +02:00
Shauren
8ec9b5841e
Core/DataStores: Refactor DBStorageIterator to make it usable with more std::ranges algorithms
2024-09-09 23:21:23 +02:00
Shauren
e94558d078
Core/Client Builds: Refactor build_info structure to support any client variants
2024-08-30 00:52:33 +02:00
Shauren
82031dc720
Core/Client Builds: Move build info out of RealmList class
2024-08-29 20:32:45 +02:00
Shauren
d277be8718
Build fix for libstdc++-11
2024-08-29 15:50:55 +02:00
Shauren
8e15952659
Core/Auth: Refactor client auth key storage to support more future client variants and preserve more information about client version
2024-08-29 15:08:47 +02:00
Motive
6b2d12206c
Core: Allow macOS arm64 client to connect ( #30173 )
2024-08-28 19:59:19 +02:00
Shauren
c4b710446d
Core/Realms: Realmlist refactors
...
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
Shauren
a4ecb2dfae
Core/PacketIO: Fixed handling CMSG_UPDATE_ACCOUNT_DATA - compressed value is not a null-terminated string
2024-08-05 14:13:17 +02:00
Shauren
d72e91bee2
Core/PacketIO: Use std::string_view to read strings from ByteBuffer
2024-08-03 13:40:17 +02:00
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