100 Commits
Author SHA1 Message Date
leak c61548a17b CMake: Remove unused source reference 2015-03-09 14:55:20 +01:00
leak f9e5f216b7 CMake: Allow specifying the mysql location by environment variable. 2015-02-19 10:23:37 +01:00
leak 1a27ce1267 Core/NetworkIO: Restore networking related scripting hooks
Closes #12607
2014-08-11 17:40:43 +02:00
leak 528baae5f7 Kill potentially uninitialized variable warning 2014-08-11 14:03:16 +02:00
leak 14cb6e4235 Resolve shutdown crash/leak if MySQL server is not running
Fixes #12734
2014-08-10 22:43:48 +02:00
leak 48b94c3beb Prevent reading address information from potentially closed socket 2014-08-06 23:16:40 +02:00
leak e502e01f5d Fixed a rare crash case when authserver socket was forcefully closed during read
Closes #12634
2014-07-27 18:36:03 +02:00
leak 90bc6f1e39 Restore mmaps gen build
Closes #12631
2014-07-24 21:55:37 +02:00
leak 5ee5d493c2 Increased default thread pool size as it now handles more than signals and remote access 2014-07-22 18:48:03 +02:00
leak 5b0898b33c Core/DatabaseWorkerPool: Delete PCQ in dtor rather than in Close() and cancel queue properly before doing so 2014-07-21 20:12:44 +02:00
leak 27c561cb9e Remove extra qualifier to make GCC happy again 2014-07-20 14:45:23 +02:00
leak fd47c3e06c Prevent duplicate call to MapUpdater::deactivate causing a crash on shutdown 2014-07-20 14:39:35 +02:00
leak 87db1ae44f Replaced try/catch by non-throwing socket.close() 2014-07-20 14:39:35 +02:00
leak dce92611f3 Refactored singletons to enable proper deconstruction during shutdown 2014-07-20 00:40:08 +02:00
leak b153e1a47f Fix terminate() being called on kicking a player (closing sockets twice is bad)
Also, Boost, why does your is_open() suck..
2014-07-19 21:59:17 +02:00
leak 25c68cc2d3 Restored character creation that was broken due to some logic errors cause by shared_ptr refactoring 2014-07-17 23:16:14 +02:00
leak 784676859b Readd G3D-v8.0_hotfix9.diff that slipped through thanks to .gitignore 2014-07-17 20:13:32 +02:00
leak 8c10ffa62d GCC compile fixes 2014-07-16 19:27:15 +02:00
leak e2fed64550 Update related files to lowered Boost version requirement 2014-07-16 18:42:17 +02:00
leak aedb824e99 Merge branch 'master' of github.com:TrinityCore/TrinityCore into boost 2014-07-16 17:53:33 +02:00
leak ecde28d1c1 Replacing ACE based multi threading with PCQ 2014-07-14 22:51:13 +02:00
leak a70fb4c306 Corrected order of inclusion in Define.h 2014-07-14 20:54:55 +02:00
leak d45d741426 Removed dead ACE includes from mmaps gen (mt still needs rewrite) 2014-07-14 00:03:49 +02:00
leak dd28f643b2 GCC you sneaky... 2014-07-09 20:59:01 +02:00
leak 2f28f4ce75 Fixed FreezeDetectorHandler trigger time 2014-07-08 21:17:24 +02:00
leak d1594998f8 Replaced the LogWorker thread with Boost ASIO 2014-07-08 20:55:25 +02:00
leak c24bf2f028 Fix of the fix ftw 2014-07-07 23:36:31 +02:00
leak 1a9c183bc6 Fixed the AsyncAcceptor overload (too much c#..) 2014-07-07 22:09:17 +02:00
leak a738cd96dc Renamed WorldTcpSession back to WorldSocket 2014-07-07 22:03:41 +02:00
leak c7d5660e99 Readd support for TCP_NODELAY socket option 2014-07-07 21:37:55 +02:00
leak 59c8ffe4b3 Change the freeze detector thread to be a periodic callback running on the thread pool 2014-07-06 23:04:38 +02:00
leak 013e3f4c0c Merge branch 'master' of github.com:TrinityCore/TrinityCore into boost 2014-07-06 20:07:52 +02:00
leak 0dcb0d6490 Restore CMSG_PING handling 2014-07-06 19:46:56 +02:00
leak 5dc47243fc Fixed packet header decryption and zero size packet handling 2014-07-06 15:17:59 +02:00
leak da3f6e923a Completely remove ACE as dependency for TC - kkthxbye 2014-07-06 01:42:35 +02:00
leak 7befb26625 Some groundwork for replacing the ACE based WorldSocket handling 2014-07-06 01:26:29 +02:00
leak 021e18d152 Refactored both world and auth main
- Master/Worldrunable removed
- World Update loop now running on main (which was doing nothing before)
- Processpriority moved to shared
- Added a preliminary thread pool for boost::asio::io_service
2014-07-04 15:22:06 +02:00
leak 4f2f9e08f8 Fixed compilation and some copy paste error 2014-07-04 15:20:23 +02:00
leak 25debd7577 Fix non-PCH compile 2014-07-03 19:05:42 +02:00
leak 8df9e98ba5 Remove unused RARunnable files 2014-07-02 18:21:18 +02:00
leak c31c6f3ba3 Backported AsyncAcceptor generalization to authserver 2014-07-02 18:05:30 +02:00
leak 310f5e6846 Some ground work for ASIO based RemoteAccess handling 2014-07-02 17:38:44 +02:00
leak 433f0b25ca Forgotten change 2014-07-02 02:21:36 +02:00
leak e0aed65c8c ACE cleanup on game, now the major issue remains WorldSocket 2014-07-02 02:20:53 +02:00
leak 66c94ce965 Delinking ACE from Shared and authserver 2014-07-02 00:43:47 +02:00
leak 25e633aa34 Replaced ACE_Method_Request based DelayExecutor by PCQ impl
Untested due to worldserver still breaking because of ACE threading fails
2014-07-02 00:41:30 +02:00
leak f8e829da65 Removed useless SignalHandler class 2014-07-01 00:57:29 +02:00
leak 029bad6698 Replaced all remaining ACE based Singletons
Replaced ACE base AutoPtr class with shared_ptr
Note: worldserver currently broken due to MapUpdater threading failure (ACE ofc, what else could it be)
2014-07-01 00:54:09 +02:00
leak d39a013b6b Replaced ACE_Task_Base based DatabaseWorker with PCQ
Note: Not exactly sure how shutdown should be handled, currently the queue clears itself out before shutting down
This might need to be changed if the queue should be fully processed before being deleted
2014-06-30 18:37:23 +02:00
leak 9588c1d92b Replace ACE thread/mutex in OpenSSLCrypto 2014-06-30 16:28:55 +02:00
leak eb36acd152 Replaced ACE_Task_Base based LogWorker with ProducerConsumerQueue 2014-06-30 14:44:52 +02:00
leak a5c742dafe Compile fix (RASocket needs to be rewritten entirely at some point) 2014-06-25 18:36:23 +02:00
leak d8d0b4730e Revert "Removed ACE dependencies from LogWorker" This actually needs way more work
This reverts commit 0a592dd9db.
2014-06-24 21:10:07 +02:00
leak 0a592dd9db Removed ACE dependencies from LogWorker 2014-06-24 19:13:29 +02:00
leak a20ac4c25b Compile fix for recently added coding accessing socket information 2014-06-24 17:41:43 +02:00
leak 28b61812cf Fix non-PCH build 2014-06-23 21:02:13 +02:00
leak bfcbde1c97 Various cleanups and fixes due to feedback 2014-06-22 16:29:49 +02:00
leak ca3327dbed Replaced ACE_Configuration_Heap based config file handling with boost::property_tree::ini_parser 2014-06-22 15:45:54 +02:00
leak 7dd6f0f1d8 Replaced all ACE_OS::localtime_r calls 2014-06-22 15:42:46 +02:00
leak ccf3374e49 Removed ACE dependies from ByteBuffer 2014-06-21 20:21:33 +02:00
leak 0df19b9087 Replaced ACE_Auto_Array_Ptr 2014-06-21 20:19:55 +02:00
leak 33dc72a812 Replaced Threading and SFMT access related code with std::thread and boost TSS
Note: The remote access thread is currently broken due to unknown ACE fail (will be replaced at some point anyways..)
2014-06-21 19:39:16 +02:00
leak 55dee85ed8 Remove ace/config-all.h and ancient WinXP defines which are actually commented out... 2014-06-08 23:28:01 +02:00
leak daa5c0ad0d Use correct define for endianess 2014-06-08 23:25:40 +02:00
leak 0dd10269d1 Replaced dependencies on ace/OS_NS_time.h 2014-06-08 20:08:43 +02:00
leak fdd5e11a15 Fix for LockedQueue.h (clean rebuilds ftw.) 2014-06-08 16:05:23 +02:00
leak ee4a3b9d59 Replaced mutex related code in Common.h 2014-06-08 15:30:57 +02:00
leak 0fa3a4923e Replaced LockedQueue ACE lock with std::mutex 2014-06-02 23:01:01 +02:00
leak 68e22ad311 Replaced ACE based typedefs for fixed width ints with C++11 versions 2014-06-01 20:55:31 +02:00
leak 35aa142f6a Replaced ACE_INET_Addr with boost::asio::ip::address 2014-05-31 18:31:53 +02:00
leak bf6e58b8d4 Ditched ACE_Singleton in favor of C++11 like Singleton 2014-05-31 15:58:59 +02:00
leak f05d540658 Restore PCH builds and make GCC happy 2014-05-31 01:02:03 +02:00
leak b520f7da01 Damn you VS default settings.. 2014-05-30 15:46:17 +02:00
leak 5a363ee0e1 Replace authserver ACE related code with Boost/C++11 2014-05-30 14:54:56 +02:00
leak 35c2e97207 Replace ACE signal handling with Boost 2014-05-13 22:41:59 +02:00
leak af675195df Enabling Boost by default as it seems to work under linux aswell (Gentoo 13.0 that is) 2014-05-13 21:14:50 +02:00
leak 3ba49277d9 Add support for Boost 1.55 2014-05-12 21:27:44 +02:00
leak 6bf9cb56a9 Core/Chat: Prevent client crashes with invalid chat language and message type combinations
Fixes #8083
2012-11-01 20:04:35 +01:00
leak e359bfef1b SQL: Adjust rollup filename and change address length to 255 according to RFC 1035 2012-04-04 17:58:54 +02:00
leak 5e58905aa0 Core/DBLayer: More types fixes 2012-03-29 17:43:23 +02:00
leak a14aa37585 Core/DBLayer: Fix value list from recent changes 2012-03-28 21:34:26 +02:00
leak 4bead55dcd SQL: Proper prefixing 2012-03-28 19:51:13 +02:00
leak 7309ee5621 SQL: Auth db data type cleanup logs, realmcharacters, realmlist, uptime / Storage engine switched to InnoDB Note:
As for the redundant `uptime`.`startstring` being removed, this page might be of interest how to generate time strings from unix timestamps
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_from-unixtime
2012-03-28 19:46:38 +02:00
leak a01e2a59cd SQL: Auth db data type cleanup account_access, account_banned, ip_banned / Storage engine switched to InnoDB 2012-03-28 16:48:49 +02:00
leak b21725ecac SQL: Auth db data type cleanup account / Storage engine switched to InnoDB 2012-03-28 16:39:59 +02:00
leak 89f31f3cba Core/DBLayer: Typo from prev. commit 2012-03-26 19:05:51 +02:00
leak 830a7fb08b Core/DBLayer: Restore pet loading
closes #5878
2012-03-26 18:58:24 +02:00
leak b1ca1ee5ec Core/DBLayer: Convert PAppend() queries to prepared statements No.4 NOTE:
Most of the cores queries have been converted to prepared statements now. If your code contains queries, please either use the exiting or implement new statements.
The only exclusions are one-time queries (e.g. for core startup) and queries that can't be prepared due to limitations.
2012-03-26 15:47:37 +02:00
leak ffbee169f4 Core/DBLayer: Restore pinfo ban info output 2012-03-25 21:23:27 +02:00
leak eb1af30399 Core/DBLayer: Convert PAppend() queries to prepared statements No.3 2012-03-25 20:20:25 +02:00
leak 71c02fb54d Core/DBLayer: Convert PAppend() queries to prepared statements No.2 2012-03-25 18:32:26 +02:00
leak 4e6fce1112 Core/DBLayer: Typo on query conversion 2012-03-25 16:34:09 +02:00
leak c6cbe4c77c Core/DBLayer: Convert PAppend() queries to prepared statements No.1 2012-03-25 16:25:06 +02:00
leak e37a4e5fe2 Merge pull request #5870 from Elron103/pull-requests5
Core: Fix warnings
2012-03-24 16:14:21 -07:00
leak 61691d7698 Core/DBLayer: Restore pinfo timestamp output (Prepared statment results don't deliver TIMESTAMP as string) 2012-03-25 00:00:16 +01:00
leak 47a597d406 Core/DBLayer: Query should actually be available on both sync and async mysql connections 2012-03-24 17:32:00 +01:00
leak 5f9ca3b998 Core/DBLayer: C/P fix 2012-03-24 16:49:33 +01:00
leak cd52a9aacf Core: I herd you like semicolon.. 2012-03-24 15:54:45 +01:00
leak 09dcee9867 Core: Fix warnings properly 2012-03-24 15:50:18 +01:00
leak 3d0063abee Core: Fix warnings 2012-03-24 15:37:54 +01:00