summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchWindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
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-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-05Shrink extensions (to .ing.lv2 and .ing.ttl) and move definitions to central ↵David Robillard1-5/+6
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-04Fix non-canvas key bindings (alt-f for file and such).David Robillard1-4/+1
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 Robillard1-24/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2517 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Always save to Ingen bundles (directories with names like foo.ingen.lv2 ↵David Robillard1-34/+49
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-26Add center parameter to FlowCanvas::Canvas::arrange with default value trueDavid Robillard1-1/+1
(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-25Work on contexts and polymorphic ports.David Robillard1-12/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2492 a436a847-0d15-0410-975c-d299462d15a1
2010-02-14Merge LoadPatchWindow and LoadSubpatchWindow.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2454 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-03Comprehensive use of cached URIs and more advanced Value (Atom) system.David Robillard1-5/+7
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-01-28Universal properties window.David Robillard1-1/+0
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-07Quit cleanly from connect dialog when not connected to engine.David Robillard1-37/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2357 a436a847-0d15-0410-975c-d299462d15a1
2010-01-06Do all logging output via Raul streams.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
2010-01-03Remove patch clear command (fix ticket #375).David Robillard1-10/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2332 a436a847-0d15-0410-975c-d299462d15a1
2009-12-31Various fixes related to port values and metadata (fix ticket #459 among ↵David Robillard1-23/+41
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-16Make all windows respond to ctrl+w.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2269 a436a847-0d15-0410-975c-d299462d15a1
2009-06-06Fix window titles.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2093 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Put breadcrumb stuff all in one place.David Robillard1-11/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2073 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03BreadCrumbBox => BreadCrumbs.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2072 a436a847-0d15-0410-975c-d299462d15a1
2009-05-28Fix QNAMEs being serialised as URIs.David Robillard1-9/+8
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-1/+1
match serialisation). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2016 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-32/+32
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Remove 'using' declarations from headers.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1993 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13The great ID refactoring of 2009.David Robillard1-3/+3
Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1
2009-05-11* New ontology.David Robillard1-29/+49
* Display human names on patch ports on creation, if enabled. * Fix copy/paste of subpatches. * Split properties into "properties" (class properties) and "variables" (instance properties). * Names are kind of a legacy leftover... * Remove special set poly / enable / etc events in favour of just setting properties (less API, extensible, RDF compatible). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1973 a436a847-0d15-0410-975c-d299462d15a1
2009-05-10Show current value for all ports (not just plugin node ports) in status bar ↵David Robillard1-8/+11
on hover. Fix ticket #358. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1970 a436a847-0d15-0410-975c-d299462d15a1
2008-12-20Fix window closing stuff (fix ticket #296).David Robillard1-14/+37
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1882 a436a847-0d15-0410-975c-d299462d15a1
2008-11-30Some support for bundle saving.David Robillard1-21/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1831 a436a847-0d15-0410-975c-d299462d15a1
2008-11-28Add File->Draw to render patch to graphviz (which can then be used to draw ↵David Robillard1-0/+46
to PDF or SVG or PNG or whatever). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1810 a436a847-0d15-0410-975c-d299462d15a1
2008-11-27...David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1791 a436a847-0d15-0410-975c-d299462d15a1
2008-11-27Replace "modes" with boolean "edit controls" in tooltips etc.David Robillard1-19/+28
Give edit controls a menu entry. Cleanup toolbar, fix some clashing mnemonics, etc. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1790 a436a847-0d15-0410-975c-d299462d15a1
2008-11-27Make use of status bar.David Robillard1-10/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1789 a436a847-0d15-0410-975c-d299462d15a1
2008-11-24Fix crash on mouse over of subpatches.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1778 a436a847-0d15-0410-975c-d299462d15a1
2008-11-22Vertical or Horizontal (i.e. hide port labels or show port labels) canvas ↵David Robillard1-6/+4
ordering option. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1770 a436a847-0d15-0410-975c-d299462d15a1
2008-11-22Add status bar to display information about objects on mouse hover.David Robillard1-0/+50
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1769 a436a847-0d15-0410-975c-d299462d15a1
2008-11-22Add option to hide port labels.David Robillard1-0/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1767 a436a847-0d15-0410-975c-d299462d15a1
2008-11-16Remember patch save file location in client (fix ticket #239).David Robillard1-13/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1741 a436a847-0d15-0410-975c-d299462d15a1
2008-09-30Flatten ingen source directory heirarchy a bit.David Robillard1-0/+556
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1551 a436a847-0d15-0410-975c-d299462d15a1