Commit Graph

39 Commits

Author SHA1 Message Date
Machiavelli
3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
megamage
2c350bcb80 *Merge.
--HG--
branch : trunk
2009-06-01 15:53:03 -05:00
krz
38c6880d93 Detailed log of arena fights and arena team creation.
--HG--
branch : trunk
2009-06-01 20:44:23 +02:00
megamage
f92e8315cf [7918] Improve portability in work with uint64 string format specifiers and in code literals. Author: VladimirMangos
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
      I64FMTD renamed to UI64FMTD for more clear name.
    * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
      Please always use UI64LIT(0x00001) instead less portable 0x00001LL

--HG--
branch : trunk
2009-05-31 16:15:12 -05:00
XTZGZoReX
c9c86b36df * Optimized Log::outDB by removing unneeded variadic argument parsing. Also use enum instead of explicit uint32.
--HG--
branch : trunk
2009-04-24 18:01:31 +02:00
megamage
d2301bdf9a *Fix a crash caused by chatlog.
--HG--
branch : trunk
2009-04-07 16:18:48 -05:00
XTZGZoReX
cdc6e7edbd * "CRASH ALARM" --> "CRASH ALERT" - makes more sense ;).
--HG--
branch : trunk
2009-04-05 00:46:53 +02:00
XTZGZoReX
6f5efa3c7a * Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging.

--HG--
branch : trunk
2009-03-31 09:18:03 +02:00
XTZGZoReX
a061da662f * Forgotten a line in last commit.
--HG--
branch : trunk
2009-03-27 17:03:06 +01:00
XTZGZoReX
5f47775ac3 * Implement timestamping of chat logs.
--HG--
branch : trunk
2009-03-27 16:56:03 +01:00
XTZGZoReX
6f1195d9a8 * Fixed file open/close of chatLogfile.
--HG--
branch : trunk
2009-03-27 16:52:27 +01:00
XTZGZoReX
0952469d69 * Fix some conversion in DB logging.
--HG--
branch : trunk
2009-03-26 16:46:08 +01:00
XTZGZoReX
6f4ba8bb0d * Implement Log::outString that takes no arguments and just prints \n - on request from megamage (makes MaNGOS merging easier).
--HG--
branch : trunk
2009-03-25 15:55:00 +01:00
XTZGZoReX
82e966e5f2 * Added support for logging chats: Guild, raid, party, public, officer chat, addon messages, whispers, system/custom channels.
* Added config options to enable/disable them (ChatLogs.*), LogDB.Chat (enables/disables DB logging of chats), and ChatLogFile to specify the log file to use.

--HG--
branch : trunk
2009-03-25 14:25:15 +01:00
XTZGZoReX
ede1f7dd07 * Some costmetic changes in Log class.
* Removed LOG_TYPE_PACKET and changed LOG_TYPE_CRASH from 10 to 9.

--HG--
branch : trunk
2009-03-24 14:34:50 +01:00
megamage
04b27302b0 *Add new log level "crash alarm" to record very dangerous errors.
--HG--
branch : trunk
2009-03-23 20:09:55 -06:00
XTZGZoReX
5197a1beb3 * Fixed loading of LogDB.* config values.
--HG--
branch : trunk
2009-03-22 13:40:18 +01:00
XTZGZoReX
69b1c1c219 * Fixed thread deadlock by disabling logging DB errors to DB... Heh.
--HG--
branch : trunk
2009-03-22 12:28:28 +01:00
XTZGZoReX
f1b680826b * Minor fix for DB log levels.
--HG--
branch : trunk
2009-03-21 12:13:32 +01:00
XTZGZoReX
79d27da9ec * Fixed log levels.
--HG--
branch : trunk
2009-03-21 11:51:38 +01:00
XTZGZoReX
44aa61b100 * This should fix a Windows-specific crash (on Windows, time_t is uint64).
--HG--
branch : trunk
2009-03-20 22:17:54 +01:00
XTZGZoReX
7f9ff5f4cb * Re-implementing timestamps in log files. (Note: Does not work on console yet.)
--HG--
branch : trunk
2009-03-20 21:02:08 +01:00
XTZGZoReX
4317751930 * Re-implementing console log colors.
* Removed unused code in Log.cpp.

--HG--
branch : trunk
2009-03-20 18:16:36 +01:00
XTZGZoReX
3c713189fb * Correctly implement database logging in WorldLog.
* This fixes LogDB.World config option.

--HG--
branch : trunk
2009-03-19 21:28:25 +01:00
XTZGZoReX
9fe43fa9c0 * Implementing database logging:
** 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
2009-03-19 21:13:52 +01:00
megamage
1131953fa1 [7418] Implement new log filter LogFilter_AchievementUpdates that let avoid achievments updates spam in logs if not needed. Author: VladimirMangos
Enabled by default.

--HG--
branch : trunk
2009-03-09 17:41:50 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage
0521e2d017 *Update to Mangos 6849. Source: Mangos.
--HG--
branch : trunk
2008-11-26 14:23:50 -06:00
megamage
9772661e8d *Temp fix for linux build.
--HG--
branch : trunk
2008-11-25 19:38:09 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -06:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00