Shauren
e549e11aa8
Dep/fmt: Update to 12.0.0
2025-10-11 13:02:11 +02:00
Shauren
7cbbe2c781
Core/Chat: Remove fmt::sprintf from headers
2025-06-05 15:28:11 +02:00
Shauren
de5f2ff798
Core/Commands: Modernize string parsing for EXACT_SEQUENCE command arguments
2025-05-18 15:00:05 +02:00
Shauren
031fddd2c7
Core/Commands: Don't validate enum numeric values for flags
2025-05-18 14:59:13 +02:00
Shauren
1a78ac6fc9
Core/Commands: Fixed parsing enum chat command arguments when they have a TITLE comment
2025-05-18 14:58:25 +02:00
Shauren
b5c99939a8
Core/Misc: Minor compile time improving changes
2025-05-07 15:41:41 +02:00
Shauren
f1141d3638
Core/Commands: Allow non-const reference arguments in chat command handlers
2025-04-10 16:58:39 +02:00
Shauren
0ce96adb7a
Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
2023-10-06 20:22:14 +02:00
Shauren
f18233822d
Core/Misc: Fixed minor formatting mistakes
2023-08-16 18:17:09 +02:00
Shauren
d78f08aa9e
Core/Chat: Implemented more chat link types
...
Closes #28946
2023-04-28 00:11:24 +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
eab14dc66a
Core/Logging: Fixed remaining uses of STRING_VIEW_FMT in log statements
2023-01-10 19:15:10 +01:00
Shauren
17b20a3353
Dep/fmt: Upgrade to 9.1.0
2023-01-08 22:03:44 +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
a53e4a5756
Core/Misc: Replace enable_if overload selection with if constexpr
2023-01-07 22:38:21 +01:00
Shauren
7830e5a7a1
Core/Misc: Migrate our c++20 advstd to standard features
2023-01-07 22:38:21 +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
6d2b851154
Core/Commands: Convert quest commands to new system
2022-09-02 19:27:27 +02:00
Carbenium
3c37dddeec
Core/ChatCommands: AccountIdentifier from current target
...
(cherry picked from commit 8ee92147a5 )
2022-03-12 22:47:34 +01:00
Shauren
673f7a53e5
Core/Commands: Fixed logging gm commands that accept hyperlink arguments and use legacy handlers
...
Closes #26462
(cherry picked from commit ab1a5b7fc8 )
2022-03-09 00:42:48 +01:00
Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4 )
2022-03-05 20:07:57 +01:00
Giacomo Pozzoni
b7a3124156
CI/GitHub: Switch to GCC 8 ( #25610 )
...
* CI/GitHub: Switch to GCC 8
Build on GitHub Actions using GCC 8 as it's the oldest supported GCC
* Core/Misc: Attempt to fix GCC 8 build
(cherry picked from commit d7459ccced )
2022-02-28 23:13:59 +01:00
Treeston
1feb53939d
Core/ChatCommands: Fix a potential crash if a custom chat command does not have a specified help string
...
(cherry picked from commit 3ec98bf241 )
2022-02-28 15:54:08 +01:00
Treeston
a788e0c3e1
Core/ChatCommand: Improve feedback for ambiguous commands
...
(cherry picked from commit a6d8a7ad1e )
2022-02-27 23:26:40 +01:00
Treeston
5e013a9996
Core/ChatCommands: Add trinity_string support for chat command help
...
(cherry picked from commit 26c510775c )
2022-02-27 21:23:11 +01:00
Treeston
c13d7df72b
Scripts/ChatCommands: Constrain how char const* may be used as a command handler parameter. It may now only be used in the legacy configuration, as the only argument.
...
(cherry picked from commit 9fda67d016 )
2022-02-27 20:59:37 +01:00
Treeston
46d4e2fa83
1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.
...
(cherry picked from commit 991dc8e050 )
2022-02-27 20:59:19 +01:00
Treeston
3fd2eb126c
[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463 )
...
(cherry picked from commit 1eca51b417 )
2022-02-27 20:08:41 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +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
6ede274024
Core/ChatCommands: Fix an issue that caused trailing variant options to sometimes not be selected
...
(cherry picked from commit 14fa6c3a72 )
2022-02-06 00:07:47 +01:00
Treeston
378691aaa2
[3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443 )
...
(cherry picked from commit 75f9e7396e )
2022-02-05 23:42:15 +01:00
Treeston
013c9b2cb7
Core/ChatCommands: make ExactSequence more readable
...
(cherry picked from commit feaaa595ca )
2022-02-05 21:29:53 +01:00
Peter Keresztes Schmidt
bdd4ccbd78
Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431 )
...
(cherry picked from commit 8985fc4046 )
2022-02-05 21:25:23 +01:00
Treeston
42be7836df
Chat/Commands: Eradicate ChatHandler::extractOptFirstArg
...
(cherry picked from commit 4f636b80e4 )
2022-02-05 16:21:54 +01:00
Treeston
1e9d60b4ac
Scripts/Commands: .character command conversion
...
(cherry picked from commit 00dd337b5d )
2022-02-05 14:44:01 +01:00
Peter Keresztes Schmidt
cb2a284359
Core/ChatCommands: Move ostream operator into Variant class so we don't pollute std:: (PR #25413 )
...
(cherry picked from commit 68a4085427 )
2022-02-05 13:58:04 +01:00
Treeston
706163743d
[3.3.5] Scripts/Commands: .arena command conversion (PR #25407 )
...
(cherry picked from commit b63d655e20 )
2022-02-05 13:57:50 +01:00
Treeston
4d62cc70d6
Scripts/Commands: Convert argument parsing of .npc commands
...
(And I snuck some chat command cleanup in there, more de-cluttering!)
(cherry picked from commit 88d446dadf )
2022-02-05 00:43:55 +01:00
Treeston
6fded37e86
Scripts/Commands: Convert argument parsing of gameobject commands
...
(cherry picked from commit 35b3ba90b0 )
2022-02-05 00:24:39 +01:00
Treeston
da8a66a05e
Common/Util: Trinity::StringTo<double> support (PR #25364 )
...
(cherry picked from commit f45aa5cac1 )
2022-02-04 23:50:25 +01:00
Treeston
45e9e94311
Core/ChatCommands: C++17 cleanup (again) (PR #25323 )
...
(cherry picked from commit 2f7d2ef3e9 )
2022-02-04 21:21:17 +01:00
Treeston
be9dadc189
Common/Utilities: Centralize string -> T conversion in StringConvert.h (PR #25335 )
...
(cherry picked from commit cd30e0b86c )
2022-02-04 00:27:13 +01:00
Peter Keresztes Schmidt
0257cdc8ca
Core/ChatCommands: Do not try to consume integral types if the token is empty (PR #25320 )
...
(cherry picked from commit 6079bc7f34 )
2022-02-04 00:27:12 +01:00
Treeston
0473beff2b
Core/Misc: std::string -> std::string_view in a bunch of places, notably chat commands and Util.h
...
(cherry picked from commit a41bbd9ad9 )
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
b527a031b9
Core/ChatCommands: Add std::wstring argument type ( #25302 )
...
(cherry picked from commit 617a769d6f )
2022-02-04 00:27:11 +01:00
Shauren
348acb105c
Core/Commands: Exclude ambigious cast operator overloads from command Variant
...
Closes #25618
(cherry picked from commit b57530ebb1 )
2022-02-03 00:22:24 +01:00
Peter Keresztes Schmidt
86bfde389a
Scripts/Commands: Convert argument parsing of event commands to new system (PR #25275 )
...
(cherry picked from commit 7bfeb03c13 )
2022-02-03 00:19:14 +01:00
Peter Keresztes Schmidt
3c82863c52
Core/ChatCommands: Check whether a passed numeric enum value is valid ( #25285 )
...
(cherry picked from commit 4286e7aa02 )
2022-02-03 00:18:48 +01:00
Peter Keresztes Schmidt
1c246cc980
Core/ChatCommands: Parse SpellInfo also from enchant, glyph, talent and trade links (PR #25270 )
...
(cherry picked from commit 9df61fd111 )
2022-02-02 21:08:29 +01:00