summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2010-12-15Clean up code.David Robillard1-8/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Fix removal of ALSA duplex ports (remove both corresponding canvas ports).David Robillard1-6/+4
Use simpler (and seemingly less lockup prone) blocking ALSA sequencer event API. Only use a ringbuffer for JACK driver. Reduce memory usage. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2690 a436a847-0d15-0410-975c-d299462d15a1
2010-12-13Fix connecting to ALSA duplex ports.David Robillard1-6/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2681 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2590 a436a847-0d15-0410-975c-d299462d15a1
2009-12-09Patchage 0.4.3.David Robillard1-2/+2
Update ChangeLog. Fix warning when building with --jack-dbus. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2305 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-14/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-03Update waf configuration header for new waf scheme (in 1.5.6).David Robillard1-1/+1
Split low-level LV2 event buffer into separate class from EventBuffer (for reuse). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1958 a436a847-0d15-0410-975c-d299462d15a1
2008-12-21Change configuration header name to something less likely to conflict.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1887 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-10-03Support building locally against header-only libraries in autowaf.David Robillard1-1/+1
Remove CONFIG_H_PATH define and replace with just "config.h" (define messed up dependency tracking). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1600 a436a847-0d15-0410-975c-d299462d15a1
2008-10-01Integrate patchage into build system.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1569 a436a847-0d15-0410-975c-d299462d15a1
2008-09-07Separate PortRef (now PortID) from PatchageEvent.David Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/lad/patchage@1477 a436a847-0d15-0410-975c-d299462d15a1
2008-08-22Lash D-Bus support and projects list from LADI Patchage, with ↵David Robillard1-1/+1
improvements/cleanup/sanification/etc. Remove liblash stuff (meh, what the hell... here's to new beginnings). Enable/disable/hide/etc patchage widgets better based on available (compiled in) functionality. git-svn-id: http://svn.drobilla.net/lad/patchage@1462 a436a847-0d15-0410-975c-d299462d15a1
2008-07-10Fix patchage/raul building without jack.David Robillard1-7/+16
git-svn-id: http://svn.drobilla.net/lad/patchage@1291 a436a847-0d15-0410-975c-d299462d15a1
2008-06-09Scroll canvas with arrow keys.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/patchage@1242 a436a847-0d15-0410-975c-d299462d15a1
2008-05-01GCC 4.3 fixes.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/patchage@1191 a436a847-0d15-0410-975c-d299462d15a1
2008-03-19Fix building w/o Alsa.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/patchage@1173 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Yet more Patchage D-Bus fixes.David Robillard1-5/+4
git-svn-id: http://svn.drobilla.net/lad/patchage@1172 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Fix Jack D-Bus stuff.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/patchage@1170 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Add Jack D-Bus driver (from Nedko).David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/lad/patchage@1167 a436a847-0d15-0410-975c-d299462d15a1
2008-02-23Rearrange event port referencing stuff to make a bit more sense.David Robillard1-22/+52
git-svn-id: http://svn.drobilla.net/lad/patchage@1159 a436a847-0d15-0410-975c-d299462d15a1
2007-07-29Build system fixes, building from top level doesn't recursively configure ↵David Robillard1-1/+1
slv2, but slv2 is still independently packageable/buildable. Think I've finally figured out how to do recursive autohell without resorting to suicide... git-svn-id: http://svn.drobilla.net/lad/patchage@650 a436a847-0d15-0410-975c-d299462d15a1
2007-07-25Avoid some canvas text measuring overhead in Patchage (module resizing).David Robillard1-6/+20
Fix duplex Alsa Sequencer ports (fix ticket 12). git-svn-id: http://svn.drobilla.net/lad/patchage@617 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Consistently rename all C++ files .cpp/.hpp.David Robillard1-8/+8
Fix (some) inclusion guard names to not clash with other libs. git-svn-id: http://svn.drobilla.net/lad/patchage@613 a436a847-0d15-0410-975c-d299462d15a1
2007-06-08Use new Jack connection notifications instead of a full refresh (huge ↵David Robillard1-1/+1
performance improvement). git-svn-id: http://svn.drobilla.net/lad/patchage@536 a436a847-0d15-0410-975c-d299462d15a1
2007-06-06Nicer Flowcanvas naming.David Robillard1-0/+163
git-svn-id: http://svn.drobilla.net/lad/patchage@529 a436a847-0d15-0410-975c-d299462d15a1