summaryrefslogtreecommitdiffstats
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26Remove request_plugins from EngineInterface (and RequestPlugins event from ↵David Robillard1-1/+1
engine), replacing with get of magic URI "ingen:plugins". git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2504 a436a847-0d15-0410-975c-d299462d15a1
2010-02-26Remove request_all_objects from EngineInterface (and RequestAllObjects event ↵David Robillard1-1/+1
from engine), a vestigial equivalent to get(Path("/")). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2503 a436a847-0d15-0410-975c-d299462d15a1
2010-02-26Add center parameter to FlowCanvas::Canvas::arrange with default value trueDavid Robillard3-4/+4
(eqivalent default behaviour to API pre-r2496). Add FlowCanvas::Canvas::move_contents_to to allow apps to move canvas contents to a given location (e.g. the origin or the center), keeping their relative distances the same. This commit preserves centering by default with the option to arrange in the top left, but applications shouldn't assume anything about the origin of coordinates (i.e. applications should manually scroll to where items exist when loading a set of items with coordinates, not simply assume they are centered about a particular location). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2500 a436a847-0d15-0410-975c-d299462d15a1
2010-02-26Arrange at the top left and scroll to top left corner by default.David Robillard1-2/+0
This seems much saner than in the "middle" of some arbitrarily large canvas (which was never quite right), which requires that size to be hardcoded everywhere. This way Feels tighter and more document based to me as well... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2496 a436a847-0d15-0410-975c-d299462d15a1
2010-02-26Show control ports in control dialog (fix regression from r2492).David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2493 a436a847-0d15-0410-975c-d299462d15a1
2010-02-25Work on contexts and polymorphic ports.David Robillard11-77/+70
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2492 a436a847-0d15-0410-975c-d299462d15a1
2010-02-25Store patch connections in a map using a lexicographic <Port*,Port*> key forDavid Robillard1-2/+2
fast (logarathmic) connection searching. Replaces all O(num_connections) searches with O(lg(num_connections)) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2491 a436a847-0d15-0410-975c-d299462d15a1
2010-02-23Fix various code issues discovered by cppcheck.David Robillard7-18/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2484 a436a847-0d15-0410-975c-d299462d15a1
2010-02-20Reset PropertiesWindow on hide (fix crashes when modifying objects formerly ↵David Robillard2-6/+17
shown by properties window). Likely fix for ticket #483. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2469 a436a847-0d15-0410-975c-d299462d15a1
2010-02-20Heavy overhaul of buffer management and polyphony.David Robillard5-8/+11
* 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-18Use property_visible instead of set_visible which is apparently missing from ↵David Robillard1-5/+5
some gtkmm version or another. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2463 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Ssshh.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2456 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Toggle sensitivity of voices spinbutton according to radio buttons.David Robillard2-21/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2455 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Merge LoadPatchWindow and LoadSubpatchWindow.David Robillard13-576/+203
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2454 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Set unique keyboard mnemonics for widgets.David Robillard2-86/+31
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2453 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Fix plugin and subpatch name offsets.David Robillard2-13/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2452 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Fix loading of subpatches.David Robillard8-302/+332
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2450 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Remove voice specific control setting.David Robillard4-153/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2445 a436a847-0d15-0410-975c-d299462d15a1
2010-02-13Learn and remove bindings exclusively through property interface.David Robillard4-1/+30
Note this commit breaks some aspects of OSC and HTTP control for now. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2442 a436a847-0d15-0410-975c-d299462d15a1
2010-02-13Make preset menu work when clicking items (previously only worked when ↵David Robillard2-11/+27
pressing enter for mysterious crazy nonsensical reasons). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2441 a436a847-0d15-0410-975c-d299462d15a1
2010-02-07Show type (LV2, LADSPA, etc) label in plugin window rather than URI.David Robillard2-15/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2433 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Consistent name (property_changed) for ObjectModel::signal_property handlers.David Robillard10-19/+19
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-04Change patch port label when human name changes (e.g. update label when ↵David Robillard3-10/+15
changed in the rename dialog). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2424 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Use std::string::empty where possible (faster, and less prone to C string ↵David Robillard6-10/+10
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-03Bind ports with lv2:portProperty lv2:toggled specially (on iff value >= half).David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2410 a436a847-0d15-0410-975c-d299462d15a1
2010-02-03Comprehensive use of cached URIs and more advanced Value (Atom) system.David Robillard8-39/+58
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 Robillard24-151/+233
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-02-02Remove set_port_value from CommonInterface (replaced with set_property(path, ↵David Robillard3-5/+6
"ingen:value", value)). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2404 a436a847-0d15-0410-975c-d299462d15a1
2010-02-01Fix leaks and an iterator error found by cppcheck.David Robillard2-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2399 a436a847-0d15-0410-975c-d299462d15a1
2010-02-01Use consistent and more globally unique inclusion guards.David Robillard33-100/+99
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2398 a436a847-0d15-0410-975c-d299462d15a1
2010-01-30Tidy.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2396 a436a847-0d15-0410-975c-d299462d15a1
2010-01-29Improved/quicker/easier handling of control port ranges.David Robillard11-35/+132
* 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-29Magic MIDI binding via special ingen_control port.David Robillard7-25/+30
Always set lv2:minimum and lv2:maximum properties for control ports so they show up in properties dialog (and can be used for MIDI binding). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2391 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Shrink code (generic Control::enable and Control::disable by iterating over ↵David Robillard2-63/+20
box). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2389 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Use ingen-ui for prefix instead of ingenuity.David Robillard6-22/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2388 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Trim cruft.David Robillard1-8/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2387 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Ssshhh.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2386 a436a847-0d15-0410-975c-d299462d15a1
2010-01-28Universal properties window.David Robillard15-746/+537
Instead of custom designed limited dialogs for each object type, this replacement is built dynamically and shows all properties of an object. Preliminary work, this version allows the user to wreck things by changing properties that shouldn't ever be changed manually. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2385 a436a847-0d15-0410-975c-d299462d15a1
2010-01-22Use FlowCanvas centering code.David Robillard1-6/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2381 a436a847-0d15-0410-975c-d299462d15a1
2010-01-18Make path and URI selectable in node properties window (fix ticket #473).David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2379 a436a847-0d15-0410-975c-d299462d15a1
2010-01-07Quit cleanly from connect dialog when not connected to engine.David Robillard6-72/+50
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2357 a436a847-0d15-0410-975c-d299462d15a1
2010-01-07Tidy.David Robillard3-88/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2351 a436a847-0d15-0410-975c-d299462d15a1
2010-01-06Fix warnings about ScrolledWindow / ViewPort.David Robillard1-11/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2350 a436a847-0d15-0410-975c-d299462d15a1
2010-01-06Do all logging output via Raul streams.David Robillard26-221/+52
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
2010-01-05Merge JackMidiDriver and JackAudioDriver.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2343 a436a847-0d15-0410-975c-d299462d15a1
2010-01-03Remove patch clear command (fix ticket #375).David Robillard9-58/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2332 a436a847-0d15-0410-975c-d299462d15a1
2010-01-03Follow renames in patch tree window (fix ticket #409).David Robillard2-21/+32
Look up patches by model pointer rather than path in patch tree window (faster). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2331 a436a847-0d15-0410-975c-d299462d15a1
2010-01-02Don't show control window controls for audio inputs (fix ticket #464).David Robillard1-11/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2328 a436a847-0d15-0410-975c-d299462d15a1