| Age | Commit message (Collapse) | Author |
|
Fixes issue #1982.
--HG--
branch : trunk
|
|
Original patch by hunuza, extended to whole code
Closses issue 1446
--HG--
branch : trunk
|
|
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
|
|
"if(" --> "if ("
--HG--
branch : trunk
|
|
"while(" --> "while ("
--HG--
branch : trunk
|
|
auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).
This patch guarantees NO memory leaks from QueryResult pointers.
Thanks to raczman for the idea and for the helping to make this patch.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
my log:
==28921== 112 bytes in 7 blocks are definitely lost in loss record 8 of 67
==28921== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==28921== by 0x8A6043: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:111)
==28921== by 0xC00E91: World::SetInitialWorldSettings() (World.cpp:1553)
==28921== by 0x808D56: Master::Run() (Master.cpp:235)
==28921== by 0x808215: main (Main.cpp:154)
--HG--
branch : trunk
|
|
I pasted my log if you don't mind:
==26756== 563,120 bytes in 70 blocks are possibly lost in loss record 263 of 282
==26756== at 0x4C268AE: malloc (vg_replace_malloc.c:207)
==26756== by 0x5823DD1: my_malloc (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756== by 0x58272C4: alloc_root (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756== by 0x584B94E: cli_read_rows (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756== by 0x58499CD: mysql_store_result (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756== by 0xCF6EB6: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*) (DatabaseMysql.cpp:219)
==26756== by 0xCF72CB: DatabaseMysql::Query(char const*) (DatabaseMysql.cpp:245)
==26756== by 0xCF4CEE: Database::PQuery(char const*, ...) (Database.cpp:136)
==26756== by 0x8A6160: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:136)
==26756== by 0xC00E3D: World::SetInitialWorldSettings() (World.cpp:1553)
==26756== by 0x808D56: Master::Run() (Master.cpp:235)
==26756== by 0x808215: main (Main.cpp:154)
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
safer.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
map.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
*Note: three tables are renamed.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
- Multimap support for instances added.
- Removed redundant group checks.
- New movement rules (bool group formed/dismissed added).
- uint32 Creature::GroupID replaced with CreatureGroup pointer.
--HG--
branch : trunk
|
|
useless lastLeaderGUID variable.
--HG--
branch : trunk
|
|
VladimirMangos
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
* Implement support achievement complete req. with specific count of completed critirias.
* Avoid full achievement list scan at search achievement associated with criteria.
--HG--
branch : trunk
|
|
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* Changed mangos website
--HG--
branch : trunk
|
|
convert all files at once
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
be added also as group member GUIDS.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|