From b199a880010e8cae8e1b0328c86e6af9d79a2eb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Dec 2012 22:43:22 +0000 Subject: Strip trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4883 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/Configuration.hpp | 2 +- src/gui/NodeModule.cpp | 2 +- src/gui/PropertiesWindow.cpp | 2 +- src/server/BlockFactory.cpp | 2 +- src/server/Broadcaster.hpp | 2 +- src/server/PortImpl.cpp | 4 ++-- src/server/events/Connect.cpp | 2 +- src/server/events/CreateBlock.cpp | 2 +- src/server/events/CreatePort.cpp | 2 +- src/server/events/Delete.cpp | 2 +- src/server/events/Disconnect.cpp | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ingen/Configuration.hpp b/ingen/Configuration.hpp index a5cf3387..c7d9e49c 100644 --- a/ingen/Configuration.hpp +++ b/ingen/Configuration.hpp @@ -49,7 +49,7 @@ public: SESSION = 1<<1, ///< Applies to this Ingen instance only GUI = 1<<2 ///< Persistent GUI settings saved at exit }; - + /** Add a configuration option. * * @param key URI local name, in camelCase diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index d70e4fe1..d38bea21 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -104,7 +104,7 @@ NodeModule::create(GraphCanvas& canvas, bool human) { SharedPtr graph = PtrCast(block); - + NodeModule* ret = (graph) ? new SubgraphModule(canvas, graph) : new NodeModule(canvas, block); diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index e49e2021..cafa84ff 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -508,7 +508,7 @@ PropertiesWindow::add_clicked() properties.insert(make_pair(key_uri.c_str(), value)); _app->interface()->put(_model->uri(), properties); } - + void PropertiesWindow::cancel_clicked() { diff --git a/src/server/BlockFactory.cpp b/src/server/BlockFactory.cpp index 6d961047..101c97e8 100644 --- a/src/server/BlockFactory.cpp +++ b/src/server/BlockFactory.cpp @@ -128,7 +128,7 @@ BlockFactory::load_lv2_plugins() lilv_new_uri(_world->lilv_world(), uri.c_str()), lilv_node_free)); } - + const LilvPlugins* plugins = lilv_world_get_all_plugins(_world->lilv_world()); LILV_FOREACH(plugins, i, plugins) { const LilvPlugin* lv2_plug = lilv_plugins_get(plugins, i); diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp index 34bfa728..541e8e95 100644 --- a/src/server/Broadcaster.hpp +++ b/src/server/Broadcaster.hpp @@ -67,7 +67,7 @@ public: } Broadcaster& broadcaster; }; - + SharedPtr client(const Raul::URI& uri); void send_plugins(const BlockFactory::Plugins& plugin_list); diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 8dd6d96a..9c4c7b5e 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -230,7 +230,7 @@ PortImpl::prepare_poly(BufferFactory& bufs, uint32_t poly) delete _prepared_buffers; _prepared_buffers = NULL; } - + if (_prepared_set_states && _prepared_set_states->size() != poly) { delete _prepared_set_states; _prepared_set_states = NULL; @@ -378,7 +378,7 @@ PortImpl::broadcast_value(Context& context, bool force) val.size(), val.type(), val.get_body())) { _last_broadcasted_value = val; } - + /* On failure, last_broadcasted_value remains unaffected, so we'll try again next cycle and so on until the value is finally delivered. */ } diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp index 8a4d07a5..a496bbb4 100644 --- a/src/server/events/Connect.cpp +++ b/src/server/events/Connect.cpp @@ -58,7 +58,7 @@ Connect::pre_process() if (!tail) { return Event::pre_process_done(NOT_FOUND, _tail_path); } - + Node* head = _engine.store()->get(_head_path); if (!head) { return Event::pre_process_done(NOT_FOUND, _head_path); diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index f0557a47..b75dbf1e 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -61,7 +61,7 @@ CreateBlock::pre_process() if (_path.is_root()) { return Event::pre_process_done(BAD_URI, _path); } - + std::string plugin_uri_str; const iterator t = _properties.find(uris.ingen_prototype); if (t != _properties.end() && t->second.type() == uris.forge.URI) { diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp index 624802f3..03cc2bd8 100644 --- a/src/server/events/CreatePort.cpp +++ b/src/server/events/CreatePort.cpp @@ -88,7 +88,7 @@ CreatePort::pre_process() if (_port_type == PortType::UNKNOWN) { return Event::pre_process_done(UNKNOWN_TYPE, _path); } - + if (_path.is_root()) { return Event::pre_process_done(BAD_URI, _path); } diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp index d221a8ef..77dd9003 100644 --- a/src/server/events/Delete.cpp +++ b/src/server/events/Delete.cpp @@ -92,7 +92,7 @@ Delete::pre_process() parent->remove_block(*_block); _disconnect_event = new DisconnectAll(_engine, parent, _block.get()); _disconnect_event->pre_process(); - + if (parent->enabled()) { _compiled_graph = parent->compile(); } diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index f8284190..645d89c5 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -129,7 +129,7 @@ Disconnect::pre_process() if (!head) { return Event::pre_process_done(PORT_NOT_FOUND, _head_path); } - + BlockImpl* const src_block = tail->parent_block(); BlockImpl* const dst_block = head->parent_block(); -- cgit v1.2.1