aboutsummaryrefslogtreecommitdiff
path: root/common/debug.cpp
AgeCommit message (Collapse)Author
2019-11-11COMMON: Allow for enabling/disabling debug channels by numberPaul Gilbert
2017-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2017-01-09COMMON: Enhanced debug channel checks.Eugene Sandulenko
Now it is possible to enforce checking by specifying level -1, that is, debug level 11 will not turn it on.
2016-08-19COMMON: Added checkers for debug channels.Eugene Sandulenko
Sometimes there is a need to add debug execution and enable it from the command line. Now it is possible, both with debug levels and channels
2016-08-13COMMON: Introduce --debug-channels-only command line flag.Eugene Sandulenko
Many of our systems currently generate significant amount of debug output on deeper levels. Now, when your engine is using Debug Channels, you might want to show that debug information only, which is currently not possible, as the generic output will be mixed in your output. Alternative solution would be to implement possibility to specify per-channel debug levels.
2014-06-05COMMON: Don't allow debug channel 'all' to be used.Johannes Schickel
2014-06-05COMMON: Add "all" option to debugflag controls in GUI Debugger.D G Turner
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