aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2020-12-12Dep/Boost: Support for boost 1.74 - heapShauren
Closes #25470 (cherry picked from commit 868c82aa6c7036fef8db6ecef4d66046d14608d7)
2020-12-12Dep/Boost: Partial support for boost 1.74 - asioShauren
Ref #25470 (cherry picked from commit 155e37831e9c581c6a8ebba34fe70d3459301d0a)
2020-12-08Core/Collision: Fixed false positive errors in console about vmap loadingShauren
2020-12-08Core/Misc: Added another overload to MakeIteratorPair (and constexpr ↵Shauren
IteratorPair)
2020-12-08Core/Misc: Add std::clamp to advstdShauren
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-23Core/Misc: Remove Whitespacessirikfoll
(cherry picked from commit e2565c2597a72ea7868eef3156014dc3a83c058f)
2020-08-19Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 9cf4dd7345b7f05db834fd48a9f0a135f1884d70)
2020-08-18Core/VMaps: Fix no collision trianglesGolrag
(cherry picked from commit 89d641f1e68d11359a2398ff51d3d6eee1470ae8)
2020-08-18Utilities/Containers: New RandomResize implementation with guaranteed ↵Treeston
asymptotic linear time for all container types (#19974) (cherry picked from commit ac50034df7fa6cf67b95e0920ca8fbbe8001a510)
2020-08-16Core/Spells: enable and implement SMSG_MISSILE_CANCEL (#25215)Ovah
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-08-13[3.3.5] Combat/Threat rewrite - prep & refactor (#19966)Treeston
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already. (cherry picked from commit e2a1ccd118d129b96e09ff1a15ed0adb1d4a3897)
2020-08-03Core/Authserver: Re-organize the `accounts` table (PR #25135)Treeston
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA) - salt/verifier/session_key are now binary - old s/v/sha_pass_hash fields kept around for backwards compatibility - sha_pass_hash is still updated (for now), s/v are not - sha_pass_hash is only read if s/v have been manually changed - SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19) (cherry picked from commit 3164b58c7d170810b69378950c0891e5f5b8678b)
2020-08-03Core/Authserver: Split SRP6 into its own file (PR #25131)Treeston
(cherry picked from commit 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76)
2020-08-03how does VC++ never catch these? 5e36bf7 follow-upTreeston
(No more witty one-liners. Let me go to bed please.) (cherry picked from commit 35411e5ed99584c7061a5feede8cb9b8d71c9b68)
2020-08-03Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. ↵Treeston
Sorry. (5e36bf7 follow-up) (cherry picked from commit 4f570e5d08d0338ac16aace81865c04b0605b0a5)
2020-08-03Core/Authserver: Auth cleanup phase 1a, the "stuff I ran across while making ↵Treeston
phase 2" commit. - Did you know BigNumber quietly assumes every byte array it gets is little-endian, even though openssl bignums use big-endian? Now you do! - In entirely unrelated news, make the above behavior explicit through a default-true boolean, same as existing GetBytes derivatives. - Also, if you are in the enlightened openssl 1.1 crowd, there's no more endian wrangling involved, because openssl now does all of that for us. Progress! (cherry picked from commit 5e36bf7c67e077bd1664eee59d5758fbae7666cd)
2020-08-03Core/Authserver: Authserver cleanup (PR#25093)Treeston
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber - Get rid of (most of) the C-style arrays in authserver - CryptoRandom as a unified source for cryptographic randomness - Bring our other crypto APIs into 2020 - BigNumber usability improvements - Authserver is now actually readable as a result of all of the above (cherry picked from commit 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)
2020-07-16[3.3.5] Get zone/area IDs from vmap data in the liquid update (#19840)Treeston
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup * Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject * Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields * Clean up liquid state handling on Unit and Player * Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject. Closes #16489 (cherry picked from commit f6c849729b27b77228704b595de3adaf24da2c10)
2020-07-01Core/DataStores: Fixed sending localized hotfixes and improved db2 loading ↵Shauren
error messages
2020-06-30Core/Misc: Changed GetLocaleByName to return invalid value on invalid input ↵Shauren
instead of LOCALE_enUS * Also added IsValidLocale helper function
2020-06-29Core/Misc: Remove unused variablesShauren
2020-06-29Core/DataStores: Fixed loading db2 stringsShauren
Closes #24916
2020-06-28Core/Collision: Port new parts for retrieving area/liquid data from ↵Shauren
gameobjects added when porting 42f9deb21ec68e169f7ed1c8cf14092f144b22da to 3.3.5
2020-06-27Core/DataStores: Simplified string memory allocation in db2 files, dropped ↵Shauren
unneccessary level of indirection
2020-06-23Core/Misc: Replace Trinity::make_unique with std (#24869)Peter Keresztes Schmidt
2020-06-15common: Add a missing include guardCarbenium
2020-06-12Core/Spells: Implement using different difficulty data from all spell ↵Shauren
related db2s, not just SpellEffect and SpellPower
2020-05-24Core/Maps: Improvements to terrain swap handlingShauren
* Fixed memory leak when unloading grids * Handle child maps being entered * Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-21Core/Misc: GCC build and warning fixesShauren
2020-05-10Fix dynamic buildShauren
2020-05-10Core/DataStores: Allow loading encrypted sections when key is known when ↵Shauren
reading from casc storage Closes #24456
2020-05-10Tools/vmap assembler: Move TileAssembler from common to vmap4_assembler ↵Shauren
where it belongs
2020-05-01Merge pull request #24500 from funjoker/cherry-picksShauren
2020-04-28Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 486b03234304526d8f7d66ff0d99ea3de975745e)
2020-04-27Core/Misc: Enum flag v3 - allow enabling flag operations directly after enum ↵Shauren
definition when inside namespaces
2020-04-26Core/Misc: Improve enum flags with type safe operatorsShauren
2020-04-26Core: Fix clang 10 warningsShauren
2020-04-24Core/Crash: Refactor and fixesjackpoz
Code cleanup. Fix buffer overflow crash. Fix type being truncated to 199 characters. (cherry picked from commit 9226e212053ef8ec10eeb9509f2ce6ec002d8e3b)
2020-04-24Core/Auras: reworked multiplicative AuraEffects calculationariel-
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling - Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter - Fixes many cases of rounding error due to applying/unapplying of small factors - Allows amounts to be zeroed (ie with an AuraEffect of amount -100) - Do a partial revert of 6dc37a9add631888fe5fbcd43d19c2b07bed8a57, auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd) - SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs) Closes #18687 (cherry picked from commit c69a7d1223b2ce108a221e5cc70f76cd80ae6675)
2020-04-20Core/AuctionHouse: After taking a break at the start of patch 8.3 auction ↵Shauren
house is now back in business.
2020-04-14Core/DBLayer: Implement async transaction completion callbacksShauren
2020-04-12Core/Entities: ObjectGuid improvementsShauren
* Support creation of all guid types * Change ToString to output client compatible text (fixes calendar and auction mails) * Fix saving and loading item soulbound trade allowed traders * constexpr EnumClassFlag
2020-04-04Core/Misc: Removed old incorrect defineShauren
2020-04-03Core/Entities: Fixed saving spawn difficulties to db for .npc add and .gob ↵Shauren
add (and other commands that modify creature/gameobject spawns table)
2020-01-02New YearAokromes
2019-11-29Core/Items: Add location filters to Player::GetItemByEntryShauren
2019-11-28Core/DataStores: Work around buggy client db2 metadataShauren
2019-11-21Core/Spells: Make missing spell/aura effect handler assignments a compile ↵Shauren
time error instead of runtime crash