aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2018-09-27cleanup unused variable error (2a607e6 follow-up)Treeston
2018-09-27Core/Misc: A few more advstd imports from C++17Treeston
2018-09-27Core/Misc: constexpr a bunch of things, and a missing include of Windows.h ↵Treeston
somewhere (that last one wasn't me!)
2018-09-13[3.3.5] Core/Chat: Unify chat hyperlink parsing (PR #22417)Treeston
- Validate most link properties all the time - If enabled, also validate link text (needs locale) - Instead of blocking the entire message, sanitize it - Apply filtering to DND/AFK messages. Closes #22399
2018-09-07Scripts/Commands: New argument parsing methodology (PR #22363)Treeston
- Detect the arguments accepted by the command handler - Tokenize out those arguments automatically and feed them to the handler - Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
2018-08-29Core/CrashHandler: Include assertion messages in crash reportsShauren
2018-08-26Utilities/EventProcessor: Added a overload to AddEventAtOffset accept rand timeKeader
2018-07-19Common/Containers: Eliminate a edge case that could potentially lead to ↵Treeston
object invalidation.
2018-07-18Misc: Pass std::chrono types by value everywhere.Treeston
2018-06-23Core/Misc: Improved ip2location code and set it to disabled by defaultShauren
2018-06-23Nopch fix (#22077)Gildor
2018-06-23Common: Replace ip2nation by ip2location. (#21957)Gooyeth
Replace ip2nation by ip2location. Download: https://lite.ip2location.com/database/ip-country
2018-04-27Dep/Boost: Fix crash in Boostjackpoz
Work around a NULL dereference exception happening in boost::asio::ip::tcp::resolver::results_type, resulting in a crash when trying to bind on an address that cannot be resolved. Fixes #21884
2018-04-19Build: fix noPCHccrs
2018-04-07Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match ↵Shauren
what the client does regarding being inside WMOs Closes #21625 Closes #21624 Closes #21516
2018-04-07Revert "Core/Entities: Reduce the probability of units dropping under the ↵Shauren
map (#21322)" This reverts commit 9e0faace9a5114fc2324c2c601ba943272e0d6ff.
2018-04-06Core/Movement: Replace old TargetedMovementGenerator into ↵Treeston
ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both. - Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925. - Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs. - Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924.
2018-03-10Core/CrashHandler: Fixed generating crash logs from CRT debug assertionsShauren
(cherry picked from commit abdf6479ddbf42c8b53cb943c54203211ceb0691)
2018-03-06Scripts/Commands: implemented command .server debugariel-
- Shows detailed information about server setup, useful when reporting a bug: * rev. hash * versions of mysql, openssl, boost, cmake * info about autoupdater * info about ports (realmlist and current) * vmap/map/mmap status and folder sizes * available DBC locales * TDB version Closes #19957
2018-03-04Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21533)Warlockbugs
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions. Many Linux distributions are still on 1.0 and will stay on LTS for quite some time. Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
2018-02-17Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
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.
2018-02-16Core/Entities: Reduce the probability of units dropping under the map (#21322)Jeremy
Reduce the probabilty of going under the map
2018-02-12Core/Movement: Creatures' idle movement generator can no longer override ↵Treeston
player mover control. Tagging #20310, partial fix.
2018-02-04nopch fixTreeston
2018-01-25Misc: assert -> ASSERTTreeston
2018-01-06Core/Misc: Added compatibility layer for boost 1.66 and future std:: ↵Shauren
networking stuff * Based on work done by @dimiandre in PR #21173 Closes #21171 Closes #21173 (cherry picked from commit dfd2660a85e4f0891c63009ee8425b2796586409)
2018-01-01Core/Crash reporting: Add support to char* arraysjackpoz
Add support to char* array showing the string value instead of the pointer address
2018-01-01Update copyright note for 2018tkrokli
Best wishes for the new year.
2017-12-30Core/Misc: Fix static analysis issuesjackpoz
2017-12-29Core/Entities: Fix some weird movement due to los issues (#21125)Jeremy
* Core/Entities: Fix some weird movement due to los issues - Made LoS check use collisionHeight instead of midsection. Value was too low. - Gnomes will now have a breath bar more quickly than for example a tauren. - Changes have been made to checking for ground z as well, some tweeking might be needed but removed most of the scattered +2.0f/+0.5f/we * Add 0.05f to isInAir check in Creature::UpdateMovementFlags
2017-12-21Build: Inherit the features and warning flags privatelyNaios
(cherry picked from commit 12853475186569b2f47f1d69f817cbef8e590d83)
2017-12-17Core/Utilities: Globally enable C++14 chrono literalsNaios
* Usable like 12s, 15m...
2017-12-17Core/Common: Use the std make_unique instead of a custom oneNaios
2017-12-17Build: Use the cotire library for precompiled header handlingNaios
* Required for handling flags inherited by linked projects correctly in the corresponding precompiled header. * Reduces the maintenance effort for precompiled headers
2017-12-17Build: Use interface targets for inheriting flags and definitionsNaios
* Remove the usage of global flags and definitions set through the CMAKE_CXX_FLAGS variable. * Use cmake target compile features for setting the CXX standard automatically. * Make C++14 globally available in the project * Closes #21033
2017-12-17Core/Misc: Fix clang 6 warningsjackpoz
2017-12-17Shared/Metric: Fix crash on shutdownjackpoz
Fix crash on shutdown with metrics enabled but InfluxDB stopping before worldserver
2017-12-02Shared/Metric: Stop metrics on shutdownjackpoz
Properly stop metric information gathering and sending on shutdown. Issue reported by AddressSanitizer.
2017-12-02Core/Crash reporting: Fix buffer overflowjackpoz
2017-11-30Some misc streamlining/cleanup:Treeston
- std::chrono overloads for SummonCreature - Removed misleading const qualifier from SummonCreature (it wasn't being honored) - Rename parameters of SummonCreature to follow convention - EventProcessor has a new method (AddEventAtOffset) that adds an event...at an offset. Genius. PS: Hi there Keader.
2017-11-25Misc: More cleanupAokromes
2017-11-25Misc: More cleanupAokromes
2017-11-22Merge pull request #20024 from Golrag/fix_collisionWarpten
Core/VMaps: Fix no collision triangles
2017-11-18Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/2c85309280dbc9c82029e7ab16dfb01b9235c74e
2017-11-11Core/Misc: Fix static analysis issuesjackpoz
2017-10-16Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a4Naios
* Rename cppformat to fmt in the PackageList.txt
2017-08-11Core/Misc: Remove Whitespacessirikfoll
2017-07-29Core/Misc: Util changesShauren
* Move IteratorPair to its own header * Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere) (cherry picked from commit fdd9227b232db9aae9bc4b2c60ca4de2cdaa0b54)
2017-07-17Core/Misc: Fix static analysis issuesjackpoz
2017-07-17Tools: Automatically create directories for tools (#17971)keke222