Shauren
8be181c7e6
Core/Misc: Fixed a bunch of issues found by static analysis
2013-05-17 20:39:53 +02:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Spp
2251d1bfae
Core/Misc: Set mode 0644 for files
2012-11-27 13:03:12 +01:00
Spp
333b8e5159
Core/Build: Enable Clang PCH support and OS X specific features
...
Core: Fix warnings here and there
2012-11-09 13:13:45 +01:00
Spp
358c6a26d6
Core: Warning fixes (Also some -pedantic under game folder)
2012-09-10 13:04:31 +02:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
kandera
96f4ba29cd
Fix compile error from 2d93bd07ba
2011-12-21 07:18:47 -05:00
Machiavelli
2d93bd07ba
Core/DBLayer: More generic implementation of callback chains, instead of using this functionality local to CharacterCreatInfo class. Will be used in other places as well.
2011-12-21 10:22:03 +01:00
Machiavelli
17aeeaa9b5
Core/DBLayer: Fix a silly error in HandleStableSwapPet (synchronous query in async context). Fixes possible loss of pets when swapping.
2011-12-21 09:36:05 +01:00
Machiavelli
8e0be985fd
Core/Netcode: Fix a possible infinite loop after 829be0b82 (which was accidentally merged in this morning)
2011-12-19 21:12:35 +01:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Azazel
74b84a603d
Core/DBLayer: add template parameter to QueryCallback classes to make it work with both QueryResult and PreparedQueryResult (will be used later).
2011-04-08 09:41:52 +06:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Machiavelli
76e111fa07
Core/DBLayer: Allow asynchronous queries with callbacks to be executed in prepared statement format as well.
...
+ Cleanup and documentation
--HG--
branch : trunk
2010-12-23 16:05:43 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
click
613b81f36f
REALLY fix the CRLF-crap...
...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
a67d7c9afd
Copyright header updates - part 3... (and some whitespace cleanups)
...
--HG--
branch : trunk
2010-10-07 14:00:52 +02:00
click
df66aee929
Yet more copyright header updates
...
--HG--
branch : trunk
2010-10-07 13:38:35 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Machiavelli
39027133e4
Fix Linux build
...
--HG--
branch : trunk
2010-09-03 00:04:14 +02:00
Machiavelli
4185bb3181
DBLayer:
...
- Implement QueryCallback_2 template for ACE_Future callbacks using 2 parameters for the callback function
- Make MSG_LIST_STABLED_PETS´s handler use async query instead of blocking query
--HG--
branch : trunk
2010-08-24 19:04:25 +02:00
Spp
c3343638cb
Core: Remove lots warnings:
...
- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"
--HG--
branch : trunk
2010-08-21 20:08:47 +02:00
click
a7498d2f56
Core/Includes: Include ACE as an external dependency, not local (#include "ace/something.h" -> #include <ace/something.h>)
...
--HG--
branch : trunk
2010-08-21 02:27:12 +02:00
Machiavelli
d661202054
Properly update resultset parameter when using QueryCallback template.
...
Fixes issue #3512
--HG--
branch : trunk
2010-08-20 13:30:49 +02:00
Machiavelli
3932fc8c83
- Fix Linux build (huge thanks to Aokromes for testing as always)
...
- Some work towards resolving the crash on shutdown by implementing a shutdown task
--HG--
branch : trunk
2010-08-19 00:13:09 +02:00
Machiavelli
d47b9851cd
This should fix linux build - please confirm.
...
--HG--
branch : trunk
2010-08-18 21:25:42 +02:00
Machiavelli
d845a903b1
DBLayer:
...
- Use ACE_Future and ACE_Future_Set for async SQL queries with callback
* Callbacks will now be executed from the thread and object that scheduled the request, instead of the world runnable thread (and thus are no longer dependent on the 50ms forced sleep time).
* This design gets rid of a potential DOS loophole in the resultqueue system - unique requests will be cancelled when re-requested.
- Drop now redundant SQLQueryTask, SQLResultQueue, SQLResultQueueTask operations.
- Drop now redundant CharacterHandler class
- Change static callback functions in WorldSession to normal functions.
Thanks to Derex and Zor for advice along the way.
--HG--
branch : trunk
2010-08-18 19:48:51 +02:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
Brian
36584926e6
* Auth lib builds again.
...
--HG--
branch : trunk
2010-06-07 07:43:20 -06:00
XTZGZoReX
22950963e9
* Get rid of framework and move the files to game and shared.
...
--HG--
branch : trunk
2010-06-06 23:44:21 +02:00
XTZGZoReX
57f64f1f5a
* Restructuring shared.
...
--HG--
branch : trunk
2010-06-06 23:18:57 +02:00