aboutsummaryrefslogtreecommitdiff
path: root/common/debug.cpp
AgeCommit message (Collapse)Author
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2011-07-03COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined.Johannes Schickel
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-18COMMON: Replace some vsnprintf/STRINGBUFLEN uses by vformatMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-01COMMON: Get rid of the debug() output formatterMax Horn
Now Engine::errorString is only used by error(), as its name suggests. This also resolves the inconsistency between debug & debugN. svn-id: r54023
2010-11-01COMMON: Add debugN variant without level parameterMax Horn
This makes our various debug*() functions fully symmetric, for now. svn-id: r54008
2010-10-31COMMON: Allow forbidden symbols in debug.cpp and textconsole.cppMax Horn
This is currently necessary for the PS2 port and possibly others. svn-id: r53989
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-27cleanupMax Horn
svn-id: r48820
2010-04-19Fix regression introduced with r46130, which caused debugN strings to be ↵Johannes Schickel
post processed via debugOutputFormatter. Formerly all debugN strings were not post processed via "errorString" (or the "debugOutputFormatter" as it is called nowadays). This revision did change how debug strings are post processed and removed the special case for debugN by accident. svn-id: r48716
2010-01-30- Call the special debug channels "channels" consistently. (Formerly ↵Johannes Schickel
sometimes they were refered to as "levels"). - Along with it add some more descriptive commentary about what is the intention behind debug channels. svn-id: r47727
2009-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-11-24COMMON: Remove dependency on engines code (by using the inversion principle).Max Horn
svn-id: r46130
2009-11-23PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use ↵Max Horn
fputs instead of fprintf svn-id: r46107
2009-06-10Added debugCN() call which does not add newline automaticallyEugene Sandulenko
svn-id: r41421
2009-05-31Document that debug level 11 turns on all special debug level messages ↵Filippos Karapetis
(refer to rev. #28858) svn-id: r41076
2009-03-01COMMON: added a debugC variant which only takes a debug channel maskMax Horn
svn-id: r39054
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-30Switched special debug levels to using a hashmap internallyMax Horn
svn-id: r36141
2009-01-30Some more 'special debug levels' tweaksMax Horn
svn-id: r36140
2009-01-30Some work on the 'special debug levels' aka 'engine debug levels' codeMax Horn
svn-id: r36139
2009-01-30Moved debug() etc. and special debug flag handling code to common/debug.*; ↵Max Horn
also some tweaks to the code svn-id: r36134