summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-28Always index Jack ports and refer to them by nameDavid Robillard1-20/+9
The Jack API annoyingly doesn't provide a way to get an ID from a port name. Since notification callbacks apparently don't have to worry about realtime concerns anymore, simply use the full name string as an ID everywhere. This means that every Jack port has a non-null ID, and all ports are always indexed, so the kludges for this in the canvas can be removed.
2020-11-27Initialize all membersDavid Robillard1-7/+4
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-9/+9
2020-11-27Use enum classesDavid Robillard1-8/+8
2020-11-27Use nullptrDavid Robillard1-3/+3
2020-02-09Format all code with clang-formatDavid Robillard1-18/+20
This configuration tries to get as close to the previous style as possible so the changes aren't too dramatic. It's still far from ideal and the code could use some adaptation, but this makes things much easier to work on.
2019-12-29Clean up includesDavid Robillard1-6/+6
2015-02-17Delete trailing whitespace.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5371 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
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
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-11-07Remove use of non-portable _XOPEN_SOURCE and strdup.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3604 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Fix support for multiple instances of alsa clients with the same name (never ↵David Robillard1-1/+1
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-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-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-01-09Code cleanups (cpplint).David Robillard1-1/+1
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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2794 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Clean up code.David Robillard1-3/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 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-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-7/+7
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-12-16Trim include dependency tree.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1870 a436a847-0d15-0410-975c-d299462d15a1
2008-11-29Upgrade to waf 1.5.0.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1823 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-09-07Separate PortRef (now PortID) from PatchageEvent.David Robillard1-29/+3
git-svn-id: http://svn.drobilla.net/lad/patchage@1477 a436a847-0d15-0410-975c-d299462d15a1
2008-07-10Fix patchage/raul building without jack.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/patchage@1291 a436a847-0d15-0410-975c-d299462d15a1
2008-07-10Fix compilation on (some installations of) gcc 4.3.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/patchage@1290 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Fix inclusion guards.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/patchage@1168 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Add Jack D-Bus driver (from Nedko).David Robillard1-0/+2
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-20/+9
git-svn-id: http://svn.drobilla.net/lad/patchage@1159 a436a847-0d15-0410-975c-d299462d15a1
2008-02-20Support jack client de-registration event.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/lad/patchage@1152 a436a847-0d15-0410-975c-d299462d15a1
2008-02-17Remove Jack API dependence from PatchageEvent.David Robillard1-11/+13
git-svn-id: http://svn.drobilla.net/lad/patchage@1151 a436a847-0d15-0410-975c-d299462d15a1
2007-12-19Tidy.David Robillard1-24/+15
git-svn-id: http://svn.drobilla.net/lad/patchage@985 a436a847-0d15-0410-975c-d299462d15a1
2007-12-19Follow ALSA changes, in a kludgey ridiculously slow way.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/patchage@984 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-4/+13
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-0/+102
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