aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2015-03-18Core/Log: Readd include of <stdarg.h> to fix compile issues under gccNaios
2015-03-18Core: WARN instead of INFO - this is actually something we'd want to be ↵click
informed of... (cherry picked from commit d5718f337257cfa2a4562df1aeb79a0ff0324add)
2015-03-18Merge pull request #14317 from Naios/typesafelogCarbenium
Type safe logging
2015-03-18Shared/Logs: Add support to .server set loglevel command after ↵jackpoz
003d67708b9a279da3d37e5ef06eb32ceab53964 Update the lowest log level when using ".server set loglevel" command. (cherry picked from commit 43f74fd8cfbab8f8fecf128e5d8d5d44ae767988)
2015-03-18Shared/Logs: Improve log performancesjackpoz
Improve Log::ShouldLog() performances by saving the lowest log level across all loggers and discarding any log with lower level than that. (cherry picked from commit 003d67708b9a279da3d37e5ef06eb32ceab53964)
2015-03-18Core/CrashHandler: Fix char[] without '\0' handlingjackpoz
Fix char[] without a NULL character '\0' in the array reading over the char[] bounds (cherry picked from commit fd844e3d7e18212d6e8dd6531eac1f198527926b)
2015-03-13Core/Log: Add type safe formattingNaios
* improves safety and log speed through: - variadic templates - perfect forwarding * fixes a newline in db logs * improve performance of Appender::write by using std::ostringstream && std::move
2015-03-11Core/Log: Fix some issues detected by static analysis.Naios
* Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos. * C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast.
2015-03-10Core/Support: Update the support/ticket system to 6.xCarbenium
Core/Mail: fix a logic error introduced in 829e11b6623f967672143d79cd8d31772f54866d
2015-03-09CMake: Remove unused source referenceleak
2015-03-08Core/Misc: Cleaned up data truncation warningsShauren
2015-03-08Core/Spells: Implemented multiple spell power costsShauren
2015-03-06Core/DataStores: Added an extra safeguard for loading db2 hotfix locale ↵Shauren
tables - invalid row will no longer cause crashes
2015-03-06Core/Player: fixed some leftovers in db after player deletejoschiwald
* character_arena_stats * character_battleground_random * character_cuf_profiles * character_currency * character_stats * character_void_storage
2015-03-04Core/Crypto: Fixed output of BigNumber::AsByteArray when generated array is ↵Shauren
shorter than requested size (cherry picked from commit e52b46abba9250c611312a891fda0adaccce0f0c)
2015-03-04Core/DataStores: Updated dbc structures to 6.1Shauren
2015-03-04Core/DataStores: Made prepared statement index argument for DB2Storage ↵Shauren
constructor required
2015-02-25Core/DataStores: Fixed out of bounds array access in DBStorageIteratorShauren
2015-02-24Core/PacketIO: Removed timezone adjustments from ReadPackedTime - player's ↵Shauren
session timezone offset should be used there, not server offset
2015-02-22DB: Dropped unused tablesShauren
2015-02-22Core/DataStores: Added iterator class for DBCStorage and DB2StorageShauren
2015-02-22Core/DataStores: Added tables for all loaded DB2 storesShauren
2015-02-22Shared/Database: Improve dead-lock error handlingjackpoz
Improve dead-lock error handling by making sure only 1 thread at time retries to execute a transaction so they don't keep dead-locking each other. (cherry picked from commit 62001360dd1d08b2f33fba0f20425867b1b0a069)
2015-02-17Core/Spells: Cooldown updatesShauren
* Refactored cooldown handling to separate class shared by creatures and players * Updated and enabled cooldown packets * Implemented creature school lockouts * Implemented spell charges * Fixed AuraUpdate structure * Fixed aura flag AFLAG_NOCASTER handling * Implemented spell charge related auras
2015-02-13Core/Guild: Updated and enabled most previously implemented guild and ↵Mogadischu
petition related packets Merged from https://github.com/Mogadischu/TrinityCore/commits/guild Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2015-02-08Core/Items: fixed AuctionHouse and GuildBank items from DBjoschiwald
2015-02-08Core/Packets: updated some contactlist packetsjoschiwald
2015-02-07Core/Packets: Implement all mail system relevant packetsCarbenium
Thanks @joschiwald, @DDuarte and @Warpten
2015-02-04Core/Misc: Update outdated license header filesNoffearr
Ref #14028
2015-02-04Fix buildNayd
(cherry picked from commit c66bd709f1c58303aca39b8f43ac57379079882d)
2015-02-04Shared/Database: Fix transactions not being recommitted on dead-lock errorjackpoz
Fix transactions not being recommitted on dead-lock error (error code 1213) because of calling http://dev.mysql.com/doc/refman/5.0/en/mysql-errno.html after sending the ROLLBACK command. This way the returned error code was related to the ROLLBACK command, not the failed transaction. (cherry picked from commit d4db0c15c7e59f7139619720be3c26a48e6ff259)
2015-02-02Core/PacketIO: Fixed SMSG_DB_REPLY structureShauren
2015-01-31Core/Misc: Properly sanitize ReputationSpillover datajackpoz
Fix an issue added in 024b57bb74a664cd515cf0822d4b8e939a91fe03 that didn't properly skip ReputationSpillover rows with invalid data. Fix also a static analysis issue reported by Coverity.
2015-01-30Core/Misc: Fix static analysis issuesjackpoz
Fix some static analysis issues reported by Coverity
2015-01-20Core/Misc: Fix static analysis issuesjackpoz
Fix some static analysis issues reported by Coverity
2015-01-18Core/Misc: Fix static analysis issuesjackpoz
Fix some static analysis issues reported by Coverity
2015-01-18Core/Misc: Fix static analysis issuesjackpoz
Fix some static analysis issues reported by Coverity
2015-01-17Core/Commands: Added "createGameAccount" argument to .bnetaccount create ↵Shauren
command (default true) to opt out of creating the initial game account
2015-01-17Build fixShauren
2015-01-17Core/DataStores: Optimized memory usage for DB2StorageShauren
2015-01-16Core/Auras: Fixed saving all aura effect values to databaseShauren
2015-01-10Core/Maps: Updated map difficultiesShauren
2015-01-02Merge pull request #13809 from AriDEV/6.xjoschiwald
Server/PacketIO: Currency Updates
2015-01-02Server/PacketIO: Currency UpdatesAriDEV
* Update SMSG_SET_CURRENCY & SMSG_SETUP_CURRENCY Packets. * Update of Database Structure and SQLStatements for Currencies. Signed-off-by: AriDEV <aridev666@gmail.com>
2015-01-01Core/PacketIO: Removed SMSG_DESTROY_OBJECT from opcodes enumShauren
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-12-29Core/Scripts: multiple changesjoschiwald
- fixed non pch build - fixed some warnings - fixed some coverity issues - some random things here and there
2014-12-28Core/Quests: Updated Quest System to new FormatIntel
All quest requirements are now in quest_objectives table quest_template table contains _ONLY_ WDB data and must not be modified Currently supported objectives are MONSTER, GAMEOBJECT, ITEM, TALKTO, CURRENCY, REPUTATION, MONEY, PLAYERKILLS, AREATRIGGER
2014-12-28Shared/Networking: Fix buffer overflow in Socket handlingjackpoz
Fix a buffer overflow caused by Boost trying to store too much data in a buffer too small. (cherry picked from commit cdf6c884624be33b5782bcca0e206e5c291a517b)
2014-12-27Fix non pch buildGacko