summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-28Remove useless doc commentsDavid Robillard1-3/+0
2020-11-28Simplify driver connection interfaceDavid Robillard1-17/+16
2020-11-28Always index Jack ports and refer to them by nameDavid Robillard1-3/+13
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-28Log attachment message for Jack DBusDavid Robillard1-0/+2
2020-11-28Fix connections with Jack DBusDavid Robillard1-2/+2
2020-11-28Clean up error messages in Jack DBus driverDavid Robillard1-3/+3
2020-11-27Ensure that modules always have an IDDavid Robillard1-1/+1
2020-11-27Remove use of PatchagePort from Driver connection interfaceDavid Robillard1-20/+28
2020-11-27Ensure that ports always have an IDDavid Robillard1-2/+5
2020-11-27Use a consistent style for log messagesDavid Robillard1-13/+13
2020-11-27Use prettier names for log methodsDavid Robillard1-2/+2
2020-11-27Factor out log from Patchage classDavid Robillard1-3/+4
Towards saner dependencies.
2020-11-27Fix warnings in Jack DBus driverDavid Robillard1-78/+75
2020-11-27Replace boost::format with fmtDavid Robillard1-23/+27
2020-11-27Strengthen warning flagsDavid Robillard1-9/+9
2020-11-27Fix unused parameter warningsDavid Robillard1-29/+29
2020-11-27Use static_cast to convert from void pointersDavid Robillard1-1/+1
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-7/+7
2020-11-27Use enum classesDavid Robillard1-6/+7
2020-11-27Use nullptrDavid Robillard1-9/+11
2020-11-27Fix warnings in Jack DBus driverDavid Robillard1-6/+6
2020-11-27Remove unused definesDavid Robillard1-5/+2
2020-02-09Format all code with clang-formatDavid Robillard1-205/+394
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.
2020-02-09Remove dead codeDavid Robillard1-38/+0
2019-12-29Clean up includesDavid Robillard1-12/+12
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-11-19Fix compilation with Jack DBus.David Robillard1-2/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5489 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Fix compilation with --jack-dbus (#917).David Robillard1-74/+56
I don't know why I maintain this or what the point of it is... git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5141 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-27Document public API.David Robillard1-1/+1
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-25Remove Raul dependency.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3633 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Log (almost) everything to the messages window instead of the console.David Robillard1-56/+2
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-25Switch to GPLv3+.David Robillard1-7/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3623 a436a847-0d15-0410-975c-d299462d15a1
2011-08-20Fix compilation of Jack DBus driver (probably doesn't work correctly, though).David Robillard1-53/+33
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3436 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-7/+6
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 sane typedefs for collections.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3365 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-02-17Fix compilation with --jack-dbus (fix ticket #626).David Robillard1-60/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2985 a436a847-0d15-0410-975c-d299462d15a1
2011-01-09Code cleanups (cpplint).David Robillard1-6/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Fix compilation with --jack-dbus (fix ticket #604).David Robillard1-21/+21
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-1/+1
(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-15Reduce polling frequency of Jack X-Run information.David Robillard1-77/+47
Clean up code, remove cruft. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2707 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Remove modelines.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2697 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Fix removal of ALSA duplex ports (remove both corresponding canvas ports).David Robillard1-2/+1
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-14Use Raul::log for console logging.David Robillard1-1/+0
Print error message if unsubscribed client is not found (Re: ticket #137). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2684 a436a847-0d15-0410-975c-d299462d15a1
2009-12-09Fix compilation with --jack-dbus.David Robillard1-6/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2302 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-09Dramatically reduce resize overhead everywhere.David Robillard1-3/+3
Make alsa driver create individual ports and do minimal work vs naive full refresh when anything changes. Fixes ticket #355. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1967 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