Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e.
With this patch ConfigManager is broken.
|
|
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.
|
|
Now it is possible to enforce checking by specifying level -1,
that is, debug level 11 will not turn it on.
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
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
|
|
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
|
|
Now Engine::errorString is only used by error(), as its name suggests.
This also resolves the inconsistency between debug & debugN.
svn-id: r54023
|
|
This makes our various debug*() functions fully symmetric, for now.
svn-id: r54008
|
|
This is currently necessary for the PS2 port and possibly others.
svn-id: r53989
|
|
svn-id: r48935
|
|
svn-id: r48821
|
|
svn-id: r48820
|
|
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
|
|
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
|
|
a custom Stream subclass
svn-id: r46777
|
|
svn-id: r46773
|
|
svn-id: r46130
|
|
fputs instead of fprintf
svn-id: r46107
|
|
svn-id: r41421
|
|
(refer to rev. #28858)
svn-id: r41076
|
|
svn-id: r39054
|
|
svn-id: r36142
|
|
svn-id: r36141
|
|
svn-id: r36140
|
|
svn-id: r36139
|
|
also some tweaks to the code
svn-id: r36134
|