summaryrefslogtreecommitdiffstats
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-10-28OSX compilation fix: #include missing <math.h> and use std::isnan.David Robillard1-2/+3
isnan isn't really in std::, I don't know what's oing on with this one. Hopefully this works in linux... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2658 a436a847-0d15-0410-975c-d299462d15a1
2010-10-17Support current versions of LV2 atom, atom-port, and context extensions.David Robillard4-9/+11
Working use case in this revision: lolep.parse => lolep.print (set parse input to some string, it will be parsed, send to print as an LV2 atom, then printed to the console by print). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2631 a436a847-0d15-0410-975c-d299462d15a1
2010-09-22Move http://lv2plug.in/ns/dev extensions to http://lv2plug.in/ns/ext.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2614 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard66-67/+67
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-06-04Give patch window a default width and height for inferior window managers.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2577 a436a847-0d15-0410-975c-d299462d15a1
2010-03-10Add #include "ingen-config.h" to files that use config #ifdefs that were ↵David Robillard2-0/+2
missing it. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2541 a436a847-0d15-0410-975c-d299462d15a1
2010-03-07Fix module context menus (only steal patch window events for key events).David Robillard1-1/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2538 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 Robillard10-55/+54
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-03-05Shrink extensions (to .ing.lv2 and .ing.ttl) and move definitions to central ↵David Robillard4-11/+14
place so they aren't littered everywhere. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2525 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Scroll to origin on Home key press.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2523 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Cascade when several objects are added via keyboard in sequence.David Robillard2-9/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2522 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Keyboard mnemonics for port add menuitems.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2521 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Pop up patch context menu on space or menu key press (i.e. ability to add ↵David Robillard2-4/+32
stuff without mouse). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2520 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Fix non-canvas key bindings (alt-f for file and such).David Robillard2-6/+3
Fix FlowCanvas::Canvas::canvas_event falsely returning 'true' (handled event) for all keypresses (not just recognized ones). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2519 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Fix FlowCanvas key bindings (arrow scrolling and select-connect with enter).David Robillard4-55/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2517 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Fix Cancel button of quit confirmation dialog (don't hide the last patch ↵David Robillard1-1/+1
window on Cancel). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2516 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Always save to Ingen bundles (directories with names like foo.ingen.lv2 ↵David Robillard4-37/+53
containg at least manifest.ttl and foo.ingen.ttl). Gracefully handle attempts to save over files, directories resembling ingen bundles, and non-ingen directories. Use Glib::file_test instead of attempting to open files with fstream. Construct a root patch URI from the bundle URI if Parser::parse_document is passed a bundle URI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2515 a436a847-0d15-0410-975c-d299462d15a1
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