summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-03-15Fix crashes due to invalid format strings (fix #963).David Robillard1-5/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5337 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5087 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Update for latest ganv.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4953 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Remove buggy click-to-select-edge in Patchage.David Robillard1-24/+1
If this should work, it can/should be implemented in Ganv anyway. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4227 a436a847-0d15-0410-975c-d299462d15a1
2012-04-20Fix disconnect via connection select and delete.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4212 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4112 a436a847-0d15-0410-975c-d299462d15a1
2012-03-09Fix "disconnect all".David Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4036 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3963 a436a847-0d15-0410-975c-d299462d15a1
2012-01-11Delete modules when Jack clients disappear.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3934 a436a847-0d15-0410-975c-d299462d15a1
2011-12-07Remove cruft from public API.David Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3828 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-19/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-05Remove cruft.David Robillard1-15/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3811 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Move module ports down to C level.David Robillard1-8/+12
Add STL-style port iteration API to Module. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3795 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Store C items in Canvas.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3792 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Store C edges in Canvas.David Robillard1-0/+2
Edge is now truly just a thin C++ wrapper for the C object. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3787 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Move Port::_module down to C level (Port is now a stateless wrapper).David Robillard1-1/+1
Fix crash on edge deletion. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3785 a436a847-0d15-0410-975c-d299462d15a1
2011-12-03Don't expose canvas data structures.David Robillard1-27/+54
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3775 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Remove Shape typedef.David Robillard1-1/+1
Add Box wrapper class. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3752 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Joinable => Node.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3751 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Connection => Edge.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3745 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01FlowCanvas::Item => FlowCanvas::Shape.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3719 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Remove width and height stuff from Item (not generic).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3713 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Remove redundant Connection::_source and Connection::_dest.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3708 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Connectable => Joinable.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3706 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Remove old Connection handle stuff.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3703 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Remove linear searching for connections.David Robillard1-1/+1
Remove redundant connection lists stored in Connectable. Add arrange and straight connections options to flowcanvas_bench. Add Connection::set_curved(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3652 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Document public API.David Robillard1-3/+3
Remove weird canvas parent event handler stuff. Normalize selection rectangle and simplify "within" methods accordingly. Move Port::disconnect_all() to Connectable::disconnect_all(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3649 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Handle adding and removing connections internally like with items.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3635 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Don't expose non-const references to internal canvas collections.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3634 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Remove Raul dependency.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3633 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Move more logging into the messages window.David Robillard1-3/+6
Make View->Messages a plain menu item. Pop up messages window on error. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3632 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Log (almost) everything to the messages window instead of the console.David Robillard1-9/+3
Remove latency and load stuff in favour of plain old messages. Remove status bar. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3627 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Make it possible to remove connections by middle-clicking on their handle, orDavid Robillard1-0/+49
selecting them and pressing delete (implement #616). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3626 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Switch to GPLv3+.David Robillard1-7/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3623 a436a847-0d15-0410-975c-d299462d15a1
2011-06-20Fix crashes on jack client exit.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3408 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Fix support for multiple instances of alsa clients with the same name (never ↵David Robillard1-11/+5
consider client name an ID). Remove Alsa specific crap from PatchagePort. Sane implementation of AlsaDriver::refresh. Fix refreshing. Remove useless Jack graph order callback. Fix double add/remove of ports to modules. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3374 a436a847-0d15-0410-975c-d299462d15a1
2011-06-08Fix double-add of items to canvas (fixing rect select, among other things)David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3370 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-29/+66
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/patchage@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use a care pointer reference to containing module rather than boost::weak_ptr.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-9/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-01-09Code cleanups (cpplint).David Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
2011-01-08Fix configuration header define names to not stomp on global namespace.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2794 a436a847-0d15-0410-975c-d299462d15a1
2011-01-06Clean up port cache (fix crashes and wacky behaviour caused when ↵David Robillard1-4/+22
clients/ports are repeatedly created and destroyed). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2787 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Arrange interface input/output modules (and other split modules) beside each ↵David Robillard1-0/+24
other sanely in Patchage (the way people typically do). This makes auto-arrange vastly more useful and sane in Patchage, particularly when few things are connected. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2772 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Fix module removal.David Robillard1-0/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2769 a436a847-0d15-0410-975c-d299462d15a1
2010-12-16Fix crash on unfound ALSA port.David Robillard1-14/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2725 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Fix compilation with --jack-dbus (fix ticket #604).David Robillard1-0/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2717 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Improve performance for setups with many apps or ports.David Robillard1-58/+42
(Eliminate all linear searches for items, except one case for Jack ports which is unavoidable due to the Jack API, but is memoized, so each port will only be searched for once between refreshes). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2712 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Improve JACK refresh performance significantly.David Robillard1-32/+0
Remove (slow) PatchageCanvas::get_item and PatchageCanvas::get_port. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2711 a436a847-0d15-0410-975c-d299462d15a1