aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-03Core/Database: Use RAII for resource management in MySQLConnectionNaios
* Prevents double deletion of MySQLConnection after errors * The object stays valid after an error and will wait for a reconnect * Also crash the server if 5 reconnects fail * Corrects an issue where the server was crashed after one reconnect because mysql_thread_id was invoked with an invalid handle (cherry picked from commit 62815c6e1c0427e1d0229d02b1ba70449654cded)
2016-03-03Core/Database: Move DatabaseWorkerPool into it's own translation unitNaios
(cherry picked from commit 09fa0ab46a487ea85d475ac0b3495724c170fe1a)
2016-03-03Core/Database: Use RAII instead of raw pointers for resource managementNaios
* Corrects dirty usage of vectors with array indexes * Removes _connectionCount which is now handled through the vector size * Rename magic identifier "t" to "connection" (cherry picked from commit 5ed018099418099e23921409ff96dc6175b97062)
2016-03-03Core/Database: Close the databases correctly when the DBUpdater failsNaios
* Also fixes a memory leak spotted by Aokromes (cherry picked from commit 7d3cffc297b6a1e24faf64a19b5167609ad8abbf)
2016-03-02Core/Spells: Adjusted implicit targeting for SPELL_EFFECT_DESTROY_ITEMShauren
2016-03-02CMake/Revision: Use raw strings in path/executable #definesDDuarte
Fixes some possible warnings (e.g. "warning C4129: 's': unrecognized character escape sequence") especially on Windows
2016-03-02Fix non PCH build after 67b977c86a0d5fcbe5b3c89e9a19275b775d31f7DDuarte
2016-03-02Minor 67b977c86a0d5fcbe5b3c89e9a19275b775d31f7 typo fixDDuarte
2016-03-02Merge branch 'pets' of https://github.com/myran2/TrinityCore into myran2-petsDDuarte
# Conflicts: # src/server/game/Handlers/PetHandler.cpp # src/server/game/Handlers/SpellHandler.cpp # src/server/game/Server/Packets/PetPackets.cpp # src/server/game/Server/Packets/PetPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/WorldSession.h
2016-03-01Core/PacketIO: Updated and enabled SMSG_PENDING_RAID_LOCKShauren
2016-02-29Core/PacketIO: Updated and enabled SMSG_OVERRIDE_LIGHTShauren
2016-02-29Github: Minor updates to issue and PR templatesDDuarte
2016-02-29And a typo fix :coffee:DDuarte
2016-02-29Core/Packets: Move flushbits to the correct place in SpellDispellLogDDuarte
2016-02-29Fix build and add a missing FlushBits to SpellDispellLog::Write()DDuarte
2016-02-29Core/Packets: Updated and enabled SMSG_SPELL_DISPELL_LOGDDuarte
2016-02-29Core/Packets: Enabled CMSG_REQUEST_VEHICLE_SWITCH_SEAT and ↵DDuarte
CMSG_RIDE_VEHICLE_INTERACT
2016-02-29Core/Packets: Updated and enabled SMSG_SPELL_DELAYEDDDuarte
2016-02-28Core/PacketIO: Updated and enabled SMSG_GAME_OBJECT_CUSTOM_ANIMShauren
2016-02-27Core/PacketIO: Enabled SMSG_GUILD_EVENT_BANK_CONTENTS_CHANGEDShauren
2016-02-27Core/Logging: fixed default logger (partial reverts ↵joschiwald
0904858624297bb6098bde7d22fd080245dd8d5a) (cherry picked from commit 9beeca79ac0ece4fd07ccd83921a7ec93cb85efa)
2016-02-27Core/Gossips: fixed long time not seen typo in ↵joschiwald
c81d6e9b4bec14a46fd4eb01ce51d874a12bf5f7 (cherry picked from commit 75511d0e0a16ac219562f23bb0d37f82043bf2d1)
2016-02-26Core/PacketIO: Implemented SMSG_DAILY_QUESTS_RESETShauren
2016-02-25Add missing changesShauren
2016-02-25Core/PacketIO: Updated and enabled calendar raid lockout opcodesShauren
2016-02-24Core/Scripts: Prepare commands onceNaios
* Thanks @joschiwald for pointing this out (cherry picked from commit eee75b80ac8c44c226b950f40babf89942e8988d)
2016-02-24Core/IPC: Fixed bnet & world servers getting stuck on shutdown after having ↵Shauren
communicated at any point
2016-02-23Core/Logging: Force synchronous logging after io_service shutdown - fixes ↵Shauren
logging on worldserver shutdown
2016-02-22Core/PacketIO: Requeue packets handled with STATUS_LOGGEDIN received before ↵Shauren
player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet
2016-02-22Core/Scripts: Remove the npc_netherweb_victim script which is handled ↵Naios
through sai now * Ref 546c8a5b8ead9d198 (cherry picked from commit ecd74a8cccc1a28750a83d71624dc8bc32e0d965)
2016-02-22CMake: Add the possibility to pass an arbitrary count of targets to add_cxx_pch.Naios
* A PCH is still generated for every target which was passed to the macro * Resolves naming conflicts when using the same PCH header from multiple projects * Ref #15671 (cherry picked from commit a974574d6e810799298e82776ccd85be0ae6d4d5)
2016-02-21Merge branch 'HeirloomLoginFix' into 6.xShauren
2016-02-21Create fallback for item-cast spells while character is still in the process ↵KarrokDC
of logging in. closes #16604
2016-02-21DB/Creature: Add missing spawns on Azuremyst IsleKillyana
2016-02-21Core/Updater: Convert an assertion into a fatal errorNaios
* The error is triggered when it fails to open an update for hashing * See 'https://community.trinitycore.org/topic/12352-worldserver-crashes-on-database-update/' for details * And a minor cleanup in the UpdateFetcher
2016-02-21Core/Common: Add a generic config helper to access built-in overwriteable paths.Naios
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h * Move the source and mysql exe path handling out of the DBUpdater. * Make some Config methods const for correctness. * Remove C & CXX flags from revision_data.h (was unused and didn't capture all cxx vars) * Reorder the link order to prevent `ld` from ignoring the file * Ref #15671
2016-02-21Core/Scripts: Split the huge scriptloader into smaller piecesNaios
* Each subdirectory contains it's own translation unit now which is responsible for loading it's directory * Improves merging & decoupling between 3.3.5 <-> 6.x * Removes unused Battleground loader * Ref #15671
2016-02-21Final build fix for gcc 4.7 (no longer supported in 8 days)Shauren
(cherry picked from commit 2345e848559b787710abac3bb73b513a069084c9)
2016-02-21Core/Phase: fixed phase update on area change/quest status changeLopfest
Signed-off-by: Lopfest <lopfest@gmail.com>
2016-02-21Core/Scripts: added log message for PlayOneShotAnimKitId invalid entriesLopfest
2016-02-20Merge remote-tracking branch 'upstream/6.x' into HEADLopfest
2016-02-20Core/Updater: Use a different method for file readingNaios
* Current method causes issues under CentOS 6 and could possibly lead to cutted buffer content when reading in textmode. * Closes #16209 (cherry picked from commit ae1a5c6c2b82918850cb7b851e2f7dff33a40c57)
2016-02-20Core/Networking: Close the instance socket acceptor on shutdownShauren
2016-02-19Core/Networking: Rewrite networking threading modelShauren
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet
2016-02-18Build fix - who the hell places semicolons after preprocessor defines?!Shauren
2016-02-17Core/Configuration: Set default value of "Expansion" config to ↵Shauren
CURRENT_EXPANSION (whatever the value at the moment is) and prevent setting LOCALE_none as dbc locale
2016-02-17Give emphasis to the steps part of issue_template.mdDDuarte
2016-02-17Also add a template for new Github pull requestsDDuarte
https://github.com/blog/2111-issue-and-pull-request-templates
2016-02-17Fix typos and shortify issue templateDDuarte
2016-02-17Add a Github issue templateDDuarte
https://github.com/TrinityCore/TrinityCore/issues/new