[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12243: Silence debug logging.
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12243: Silence debug logging. |
Date: |
Fri, 11 Jun 2010 17:43:47 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12243
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Fri 2010-06-11 17:43:47 +0200
message:
Silence debug logging.
modified:
libcore/SWFMovie.cpp
libcore/parser/SWFMovieDefinition.cpp
=== modified file 'libcore/SWFMovie.cpp'
--- a/libcore/SWFMovie.cpp 2010-06-11 10:18:17 +0000
+++ b/libcore/SWFMovie.cpp 2010-06-11 15:43:47 +0000
@@ -85,13 +85,10 @@
SWF::DefinitionTag*
SWFMovie::exportedCharacter(const std::string& symbol)
{
- log_debug("Looking for export %s", symbol);
const boost::uint16_t id = _def->exportID(symbol);
if (!id) return 0;
- log_debug("Corresponds to character %s", id);
Characters::iterator it = _characters.find(id);
if (it == _characters.end()) return 0;
- log_debug("Found character");
return _def->getDefinitionTag(id);
}
=== modified file 'libcore/parser/SWFMovieDefinition.cpp'
--- a/libcore/parser/SWFMovieDefinition.cpp 2010-06-11 14:03:55 +0000
+++ b/libcore/parser/SWFMovieDefinition.cpp 2010-06-11 15:43:47 +0000
@@ -583,7 +583,9 @@
assert(id);
boost::mutex::scoped_lock lock(_exportedResourcesMutex);
+#ifdef DEBUG_EXPORTS
log_debug("%s registering export %s, %s", get_url(), symbol, id);
+#endif
_exportTable[symbol] = id;
}
@@ -644,9 +646,10 @@
const int id = i->first;
const std::string& symbolName = i->second;
+#ifdef DEBUG_EXPORTS
log_debug("%s importing %s from %s", get_url(), symbolName,
source->get_url());
-
+#endif
boost::uint16_t targetID;
while(!(targetID = source->exportID(symbolName))) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12243: Silence debug logging.,
Benjamin Wolsey <=