Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
Added missing files
Add support for autoconf 2.6.2 and newer.
 * Add some generated at MaNGOS build file ignore rules. Mostly Windows build related.
Restore build on FreeBSD.
[6889] Backport some not client version specific changes and fixes from 303 branch.
[6943] Add obsolete m4-created files to gitignore

Just ignore files generated by old m4 and auto(re)conf.

Signed-off-by: freghar <compmancz@gmail.com>
[7330] Code warnings and style cleanups. Some bugs fixes.

1) comparison singed and unsigned values
2) redundent includes
3) wrong constructor :-part field initilization
4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.

Also bugs fixed:
1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.
(cherry picked from commit 76028880380c6f08320a1b55c2c9882741bf877a)
[7711] Removed Sqlite Code.
(cherry picked from commit 2f2b4989a413e1d37c9b0151b1a3f73827f99d5d)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
[7731] Some code cleanups, warrning fixes.

(cherry picked from commit 21ff830f961a536da7a55537d1348d27dc10f73d)
[7810] Moved ZThread related code on ACE framework.

Remove ZThread source code from mangos.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
(cherry picked from commit 00c7d15a78b1dcdbf888b768c55424183b2231e)

Signed-off-by: AlexDereka <dereka.alex@gmail.com>
[7812] Fixed compile ACE aio in linux.

Signed-off-by: AlexDereka <dereka.alex@gmail.com>
(cherry picked from commit 213e4acbaaaba71b5671ab92bdf7c1c529c707d9)
Updated OpenSSL lib to OpenSSL 0.9.8k

(cherry picked from commit d447a72ebf4b8ac5b0ab42fbad7ea2143395d746)
(cherry picked from commit 8effa898c5a15847dac83491c9ec0924a8fe4254)
[7962] Fixed compilation on OpenBSD.

Remove outdated options from configure.ac.
(cherry picked from commit 5da460c29a7a47f00ff1891ea6003590ed6f4e4f)
[8080] Portability fixes for some Unix platforms.

* Add #include <stdio.h> to some fiels where related functions call.
* Avoid template dependent lookup for fields in class LockedQueue.
(cherry picked from commit e56f4a05ac0bc5705ab12701cda9b9d076dc3b10)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Convert some detected files to unix line ends.

(backported from commit f86d0bc)
Fixed syntax for new autotools.

(backported from commit 3fd3e71)

Signed-off-by: ApoC <apoc@nymfe.net>
New memory allocator for MaNGOS, based on Intel Threading Building Blocks library. Performance gains depend greatly on OS you use!

You should add two libraries into your mangos server binaries:
tbb.so.2/tbbmalloc.so.2 on *nix and tbb(_debug).dll/tbbmalloc(_debug).dll on Windows!!!

Define USE_STANDARD_MALLOC while compiling 'framework' project to use OS' default memory allocator!

Signed-off-by: Ambal <pogrebniak@gala.net>
[z0107] Update used utf8 cpp library version up to 2.2.4

(based on master commit ddc5f41)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

(based on commit e201c6c)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
[z0166] Fixed msvc compile warnings.

(based on master commit 8ce4609)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

(based on commit 1e2031a)