Naios
ef75a2e731
Core/Shared: Fix no PCH build
...
(cherry picked from commit 5ac4507c877e9a6b73ca8bd3e2f44254eb06ab4a)
2016-03-19 23:19:59 +01:00
Naios
5fe83abbe5
CMake: Use inherited dependencies in database, shared and game
...
(cherry picked from commit 469f2d3ade168de0b5be18112008c337067a8e03)
2016-03-19 23:19:53 +01:00
Shauren
0daba931ef
Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
...
Closes #16769
2016-03-12 19:43:07 +01:00
Naios
30517cb1d3
Core/Common: Generalize platform specific includes in common/Platform
2016-03-11 18:25:55 +01:00
Shauren
f123c39659
Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler and refactor world socket initialization string handling
2016-03-10 23:33:56 +01:00
Shauren
3829a73e14
Final build fix for gcc 4.7 (no longer supported in 8 days)
...
(cherry picked from commit 2345e848559b787710abac3bb73b513a069084c9)
2016-02-21 14:24:37 +01:00
Shauren
97a79af470
Core/Networking: Rewrite networking threading model
...
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-19 19:23:04 +01:00
Shauren
01be486f2f
Core/Misc: Removed unneccessary boost/asio/buffer.hpp include
2016-01-28 17:49:41 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
ae20b2ab56
Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected
2015-12-24 19:48:39 +01:00
Melvin1263
262e61aae1
Core/DataStores: Fixed reading uint64 fields from DB2 files
...
Closes #15818
Closes #15752
2015-11-07 18:50:13 +01:00
Shauren
63def8aa32
Core/Battle.net:
...
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures
World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren
074b00af37
Core/PacketIO: Updated and enabled SupportTicketSubmitComplaint, SupportTicketSubmitSuggestion
2015-09-25 00:11:54 +02:00
Shauren
8a8ab0b4b6
Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444
2015-09-07 18:03:33 +02:00
Shauren
4c851d985e
Core/DataStores: Corrected memory allocation for DB2 files. Non-localized strings no longer reserve memory for all locales
2015-09-02 23:16:35 +02:00
Shauren
3308a90fee
Build fixes
2015-08-30 00:49:40 +02:00
Shauren
b564c10b13
Core/Players: Implemented serverside validation of reserved/profane names
...
Closes #15357
New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
Shauren
7c75160f59
Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors.
2015-08-27 00:54:49 +02:00
StormBytePP
ba2e9fbe95
Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem)
2015-08-24 03:35:19 +02:00
StormBytePP
1d2aafd39b
Core/Build: Merge common library and move database out of shared
2015-08-21 17:52:42 +02:00
Shauren
7ef89fe142
Core/Logging: Fixed _maxFileSize being left uninitialized
2015-08-20 17:26:04 +02:00
Shauren
55a75db16b
Build fixes
2015-08-19 17:16:33 +02:00
DDuarte
f979b28402
Build fix
2015-08-16 22:51:08 +01:00
jackpoz
4617d65131
Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
...
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357d1b51258986e547ac29dddac20159c)
Conflicts:
src/server/authserver/Main.cpp
src/server/database/Updater/DBUpdater.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/World/World.cpp
src/server/shared/PrecompiledHeaders/sharedPCH.h
src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP
6a9fc63e41
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
...
(cherry picked from commit 94f69fb1bcef103392ca27074ebb31ef2ebd27fb)
2015-08-16 17:50:40 +02:00
DDuarte
b9106ee000
Add a missing include of d5cf594bfe
...
(cherry picked from commit 90c9290761ecb7849a036d82c2b93f64920164c6)
2015-08-16 01:10:01 +01:00
DDuarte
5aaf44fc66
Fix build warnings addded in d5cf594bfe
2015-08-16 00:45:07 +01:00
Shauren
d5cf594bfe
Core/Logging: Refactored appender creation to allow using logging without mysql dependency in tools (future task)
2015-08-16 00:12:18 +02:00
Shauren
57624e0d53
Core/DataStores: Updated Mount.db2 structure
...
Closes #15113
2015-08-13 00:38:36 +02:00
Shauren
81abfe93bb
Core/Void Storage: Implemented saving item upgrade and bonuses for items deposited in void storage
2015-08-12 23:05:36 +02:00
Shauren
590c6e399d
Core/Networking: Fixed possible crashes happening if async query retrieving account data takes too long
...
Closes #14944
2015-08-09 15:30:06 +02:00
Vincent-Michael
d8b36dfc17
Core/PacketIO: Added and enabled CMSG_SET_LOOT_SPECIALIZATION opcode
2015-08-08 18:10:02 +02:00
Golrag
83c2d36179
Core/PacketIO: CalendarPackets:
...
CMSG_CALENDAR_GET
CMSG_CALENDAR_GET_EVENT
CMSG_CALENDAR_GUILD_FILTER
CMSG_CALENDAR_ADD_EVENT
CMSG_CALENDAR_UPDATE_EVENT
CMSG_CALENDAR_REMOVE_EVENT
CMSG_CALENDAR_COPY_EVENT
CMSG_CALENDAR_GET_NUM_PENDING
CMSG_CALENDAR_EVENT_SIGN_UP
CMSG_CALENDAR_REMOVE_INVITE
CMSG_CALENDAR_EVENT_STATUS
CMSG_SET_SAVED_INSTANCE_EXTEND
CMSG_CALENDAR_EVENT_MODERATOR_STATUS
SMSG_CALENDAR_EVENT_INVITE
SMSG_CALENDAR_SEND_CALENDAR
SMSG_CALENDAR_SEND_EVENT
SMSG_CALENDAR_EVENT_INVITE_ALERT
SMSG_CALENDAR_EVENT_INVITE_STATUS
SMSG_CALENDAR_EVENT_INVITE_REMOVED
SMSG_CALENDAR_EVENT_INVITE_MODERATOR_STATUS
SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT
SMSG_CALENDAR_CLEAR_PENDING_ACTION
SMSG_CALENDAR_EVENT_UPDATED_ALERT
SMSG_CALENDAR_EVENT_REMOVED_ALERT
SMSG_CALENDAR_SEND_NUM_PENDING
SMSG_CALENDAR_COMMAND_RESULT
SMSG_CALENDAR_RAID_LOCKOUT_UPDATED
SMSG_CALENDAR_EVENT_INITIAL_INVITES
SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT // NYI
SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT // NYI
SMSG_CALENDAR_EVENT_INVITE_NOTES // NYI
2015-07-28 12:57:56 +02:00
Shauren
21df17fd47
Core/Misc: Removed ReadAsPacked/WriteAsPacked methods from ObjectGuid, they are not needed anymore as guids are always written packed
2015-07-25 10:38:45 +02:00
Vincent-Michael
df1f4969d8
Fix non pch build for Visual Studio 2015 compiler
2015-07-23 18:44:54 +02:00
DDuarte
7d9843c380
Core/Misc: Add a few consts to methods
2015-07-22 23:24:56 +01:00
Gacko
49a6f7b7bd
Fix non pch build.
2015-07-22 20:35:59 +02:00
Naios
e4e55a3dcb
Core/Utilities: Add std::chrono::duration overloads to EventMap.
...
* makes it possible to write:
```c++
events.ScheduleEvent(1, Seconds(10));
// ... or ...
events.ScheduleEvent(2, Minutes(1) + Seconds(20));
// ... or with C++14 support:
events.ScheduleEvent(2, 45s);
```
2015-07-22 01:56:12 +02:00
Naios
ca16dc8c1b
Core/Database: Enable perfect forwarding for database format calls.
2015-07-22 01:56:06 +02:00
Naios
026ceb85b9
Core/Logging: Enable perfect forwarding for logging format and args.
...
* Handle timestamp parsing though cppformat.
* Change a wrong forward -> move
2015-07-22 00:32:28 +02:00
Naios
11bfead40b
Core/Utilities: Move EventMap into its own source file.
...
* Move implementation details to .cpp.
2015-07-21 21:25:02 +02:00
Naios
11dfd9e7d4
Core/Utilities: Forward parameters of StringFormat correctly to fmt::sprintf.
2015-07-21 20:49:32 +02:00
Naios
6bf10c2b83
Core/Utilities: Remove global using of std::chrono namespace.
...
* never use "using namespace" in header files!
2015-07-21 20:42:07 +02:00
Naios
6e4a1b3e1e
Core/Utilities: Seperate std::chrono::duration typedefs into its own file.
...
* add std::chrono_literals using decl. comment for future usage.
2015-07-21 20:25:33 +02:00
Shauren
a22e4e121a
Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler
2015-07-21 00:33:36 +02:00
Shauren
08316552b5
Core/Threading: Clarified comment on ProducerConsumerQueue::WaitAndPop
2015-07-15 16:51:12 +02:00
Shauren
228b932925
Core/Players: Fixed power slot ordering
2015-07-12 00:41:56 +02:00
Shauren
da3247d5bb
Core/Players: Fixed glyph slots
2015-07-11 00:11:16 +02:00
Carbenium
c7d49ab910
Core/Support: Drop parts of the support system since Blizz switched to a browser based ticket system
2015-07-08 16:24:50 +02:00
Shauren
776e4411c0
Core/DataStores: Dropped a silly build 12880 check in db2 loader (it's a cataclysm beta build)
2015-07-08 10:25:50 +02:00