summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-08-20Fix port and node menusDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3439 a436a847-0d15-0410-975c-d299462d15a1
2011-07-04Simplify FlowCanvas menu API, and fix crashing Ingen menus (ticket #721).David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3411 a436a847-0d15-0410-975c-d299462d15a1
2011-06-10Avoid resizing entirely when adding a port and new size/etc is simple to ↵David Robillard1-4/+4
compute. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3382 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Automatically resize modules at update time as necessary.David Robillard1-13/+3
This avoids the huge multiple resize performance problems of the past without requiring the user to manually resize modules. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3375 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-17/+16
Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use sane typedefs for collections.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3365 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard1-8/+8
Instead, just store a pointer to the containing canvas in Items, since it should not be possible for an Item to outlive its containing Canvas anyway. Shrinks Item memory overhead a tad and gives a minor performance boost as an added bonus. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Move appropriate client headers to public include directory.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3319 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Remove use of ingen-config.h in soon-to-be-public headers.David Robillard1-3/+1
Make Lilv dependency mandatory. Reduce dependency on ingen-config.h. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3316 a436a847-0d15-0410-975c-d299462d15a1
2011-05-21Fix Gtk warnings (avoid loading top level of UI file).David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3305 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Remove dependency on glade and glademm (migrate to GtkBuilder).David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3295 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make models const in client code.David Robillard1-7/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make signals private with accessors, and localise dependency on sigc::signal.David Robillard1-7/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Switch to Lilv from SLV2.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3220 a436a847-0d15-0410-975c-d299462d15a1
2011-04-20Rename Ingen::Engine to Ingen::Server (hopefully avoid odd name clases and ↵David Robillard1-1/+1
fix #675). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3184 a436a847-0d15-0410-975c-d299462d15a1
2011-04-18Put engine code in new Ingen::Engine namespace.David Robillard1-2/+2
Put core interfaces in Ingen namespace (not Ingen::Shared). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-21/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-04-13Consistent local or installed includes for interface headers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3143 a436a847-0d15-0410-975c-d299462d15a1
2011-03-17Show plugin/port documentation in side pane when selected.David Robillard1-1/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3103 a436a847-0d15-0410-975c-d299462d15a1
2011-02-22Tidy.David Robillard1-16/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3008 a436a847-0d15-0410-975c-d299462d15a1
2011-02-22Better PluginUI abstraction.David Robillard1-11/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3007 a436a847-0d15-0410-975c-d299462d15a1
2011-02-19Save/load patches as nested bundles (fix ticket #520).David Robillard1-3/+1
Sane (context-based, ala RDF quads) approach to the problem of externally visible / internally visible properties. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2993 a436a847-0d15-0410-975c-d299462d15a1
2011-02-16Drop redlandmm for sordmm.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2959 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-03-06Fix deadlock when LV2 GUIs fail to instantiate (fix ticket #491).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2534 a436a847-0d15-0410-975c-d299462d15a1
2010-03-06Save Ingen patches as working standard LV2 plugin bundles.David Robillard1-1/+1
This allows you to create an Ingen patch in Ingen running as a Jack client, save it, then load that patch as an LV2 plugin in any LV2 compliant host. Eliminate (hopefully) all static data in the engine (for multiple instantiations in a single process). More API/ABI stable interface for Ingen::Shared::World. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2533 a436a847-0d15-0410-975c-d299462d15a1
2010-02-25Work on contexts and polymorphic ports.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2492 a436a847-0d15-0410-975c-d299462d15a1
2010-02-23Fix various code issues discovered by cppcheck.David Robillard1-5/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2484 a436a847-0d15-0410-975c-d299462d15a1
2010-02-20Heavy overhaul of buffer management and polyphony.David Robillard1-4/+7
* Working polyphony when nodes are instantiated at desired polyphony level (dynamic still doesn't work) * Use shared silent buffer for disconnected audio inputs (save memory) * Eliminate redundant patch compiling on delete and disconnect-all events that have child events * Fix a ton of crash bugs and other issues I've since forgotten git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2468 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Consistent name (property_changed) for ObjectModel::signal_property handlers.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2426 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Follow lv2:name for nodes as well (when human names are visible).David Robillard1-3/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2425 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Use std::string::empty where possible (faster, and less prone to C string ↵David Robillard1-1/+1
errors). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2420 a436a847-0d15-0410-975c-d299462d15a1
2010-02-03Make human names work with LADSPA plugins as well (fix ticket #477).David Robillard1-9/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2416 a436a847-0d15-0410-975c-d299462d15a1
2010-02-03Comprehensive use of cached URIs and more advanced Value (Atom) system.David Robillard1-2/+3
Atoms (e.g. property values or port values) can now be an Atom::DICT, which maps directly to/from an RDF resource. This is now used to store control bindings as a port property, eliminating the special API. Full interned URIs used everywhere, instead of CURIEs pretending to be URIs. Avoid converting string literals to URIs all over the place. Support for binding MIDI pitch bender and MIDI channel pressure. Saving/restoring of MIDI bindings as a free side-effect of the above. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2409 a436a847-0d15-0410-975c-d299462d15a1
2010-02-02Use Glib string interning (quarks) to make Path/URI operator== very fast.David Robillard1-29/+27
This avoids a ton of string comparison overhead in Ingen when setting various properties (e.g. "ingen:value" was compared several times every time a port value was changed, now this is just a single pointer comparison and the full round trip of a value change does no string comparison at all, but is still property based and RDFey). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2408 a436a847-0d15-0410-975c-d299462d15a1
2010-01-29Improved/quicker/easier handling of control port ranges.David Robillard1-6/+6
* Add "Set minimum to current value", "Set maximum to current value", and "Reset range" to control port context menu. * Only serialise properties (e.g. lv2:minimum) if they differ from the meta object's (prototype's, e.g. plugin) value. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2395 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Use ingen-ui for prefix instead of ingenuity.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2388 a436a847-0d15-0410-975c-d299462d15a1
2010-01-06Do all logging output via Raul streams.David Robillard1-5/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
2009-12-31Various fixes related to port values and metadata (fix ticket #459 among ↵David Robillard1-3/+15
other things). Fix jitterey behaviour of port controls (on module) while dragging. Update value in status bar while dragging port slider (on module). Update plugin data (e.g. port control range) if the plugin is sent to the client after nodes that are instances of it (i.e. more robust plugin state tracking via merging like with objects). Correctly save and restore port values (ticket #459). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2327 a436a847-0d15-0410-975c-d299462d15a1
2009-11-12String port support.David Robillard1-10/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2255 a436a847-0d15-0410-975c-d299462d15a1
2009-06-06Fix window titles.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2093 a436a847-0d15-0410-975c-d299462d15a1
2009-05-30Set plugin GUI window's role to "plugin_ui" (for WM kludges etc).David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2056 a436a847-0d15-0410-975c-d299462d15a1
2009-05-28Create objects via SetMetadataEvent.David Robillard1-1/+0
Fix subpatch creation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2025 a436a847-0d15-0410-975c-d299462d15a1
2009-05-28Fix property saving to/from file (e.g. module locations).David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2024 a436a847-0d15-0410-975c-d299462d15a1
2009-05-28Send both coordinates of a module move as a single PUT.David Robillard1-2/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2022 a436a847-0d15-0410-975c-d299462d15a1
2009-05-28Fix QNAMEs being serialised as URIs.David Robillard1-1/+1
Remove vestigial variable stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2017 a436a847-0d15-0410-975c-d299462d15a1
2009-05-27Remove 'property' vs 'variable' dichotomy in favour of 'meta objects' (to ↵David Robillard1-8/+7
match serialisation). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2016 a436a847-0d15-0410-975c-d299462d15a1
2009-05-27Rename 'destroy' 'delete' ('del' in code) (WebDAV DELETE).David Robillard1-1/+1
Rename 'rename' 'move' (WebDAV MOVE). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2012 a436a847-0d15-0410-975c-d299462d15a1
2009-05-27Remove 'new_patch', 'new_node', and 'new_port' from interface in favour of ↵David Robillard1-5/+8
generic 'put'. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2011 a436a847-0d15-0410-975c-d299462d15a1