diff options
author | David Robillard <d@drobilla.net> | 2016-07-29 22:43:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-29 22:43:31 -0400 |
commit | 22e34e9132668b9b87a765c090ff86e449d01273 (patch) | |
tree | 80a32464905e75f93993a34032cff750a578d2ae /src | |
parent | d035a293b7e4555597bcf5940e8a98f278a2143e (diff) | |
download | ingen-22e34e9132668b9b87a765c090ff86e449d01273.tar.gz ingen-22e34e9132668b9b87a765c090ff86e449d01273.tar.bz2 ingen-22e34e9132668b9b87a765c090ff86e449d01273.zip |
Use more Turtley debug dump output
Diffstat (limited to 'src')
-rw-r--r-- | src/client/ClientStore.cpp | 14 | ||||
-rw-r--r-- | src/server/events/Delta.cpp | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 7afa4aee..3a90596d 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2016 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -256,8 +256,8 @@ ClientStore::put(const Raul::URI& uri, #ifdef INGEN_CLIENT_STORE_DUMP std::cerr << "Client put " << uri << " {" << endl; for (auto p : properties) - std::cerr << '\t' << p.first << " = " << _uris.forge.str(p.second) - << " :: " << p.second.type() << endl; + std::cerr << '\t' << p.first << " " << _uris.forge.str(p.second) + << "^^" << _uris.forge.str(_uris.forge.make_urid(p.second.type()), true) << endl; std::cerr << "}" << endl; #endif @@ -369,12 +369,12 @@ ClientStore::delta(const Raul::URI& uri, std::cerr << "Client delta " << uri << " {" << endl; for (auto r : remove) std::cerr << " - " << r.first - << " = " << _uris.forge.str(r.second) - << " :: " << r.second.type() << endl; + << " " << _uris.forge.str(r.second) + << "^^" << _uris.forge.str(_uris.forge.make_urid(r.second.type()), true) << endl; for (auto a : add) std::cerr << " + " << a.first - << " = " << _uris.forge.str(a.second) - << " :: " << a.second.type() << endl; + << " " << _uris.forge.str(a.second) + << "^^" << _uris.forge.str(_uris.forge.make_urid(a.second.type()), true) << endl; std::cerr << "}" << endl; #endif diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 641525e1..83312814 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2016 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -80,15 +80,15 @@ Delta::Delta(Engine& engine, typedef Resource::Properties::const_iterator iterator; for (iterator i = properties.begin(); i != properties.end(); ++i) { std::cerr << " + " << i->first - << " = " << engine.world()->forge().str(i->second) - << " :: " << engine.world()->uri_map().unmap_uri(i->second.type()) + << " " << engine.world()->forge().str(i->second) + << "^^<" << engine.world()->uri_map().unmap_uri(i->second.type()) << ">" << std::endl; } typedef Resource::Properties::const_iterator iterator; for (iterator i = remove.begin(); i != remove.end(); ++i) { std::cerr << " - " << i->first - << " = " << engine.world()->forge().str(i->second) - << " :: " << engine.world()->uri_map().unmap_uri(i->second.type()) + << " " << engine.world()->forge().str(i->second) + << "^^<" << engine.world()->uri_map().unmap_uri(i->second.type()) << ">" << std::endl; } std::cerr << "}" << std::endl; |