summaryrefslogtreecommitdiffstats
path: root/src/Driver.hpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-16Fix whitespaceDavid Robillard1-2/+2
Apparently clang-format changed its mind about special member functions, and binary_location.h was just never formatted to begin with.
2022-07-20Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-01-02Format all code with clang-formatDavid Robillard1-22/+22
2020-12-14Clean up includesDavid Robillard1-0/+2
2020-11-29Use more reasonable class namesDavid Robillard1-2/+2
2020-11-29Put everything in a namespaceDavid Robillard1-0/+4
2020-11-29Clean up Driver interfaceDavid Robillard1-5/+11
2020-11-29Replace attached and detached signals with eventsDavid Robillard1-5/+0
2020-11-28Avoid copying port IDsDavid Robillard1-2/+3
2020-11-28Abstract out sending of eventsDavid Robillard1-3/+7
This removes the details of how events are handled from drivers, so the owner can set them up to do anything. For example, a driver could be run in the GUI thread and have its events simply dispatched immediately, but here everything is enqueued to the same queue which is drained later for simplicity.
2020-11-28Refresh by emitting eventsDavid Robillard1-8/+4
This decouples drivers from the rest of the application, in particular the horrible situation where they were working with the canvas directly, by having them always communicate changes by emitting events.
2020-11-28Move handle_event() to separate filesDavid Robillard1-0/+1
2020-11-28Remove useless doc commentsDavid Robillard1-1/+1
2020-11-28Simplify driver connection interfaceDavid Robillard1-13/+2
2020-11-27Remove use of PatchagePort from Driver connection interfaceDavid Robillard1-3/+15
2020-11-27Explicitly delete or define all special member functionsDavid Robillard1-0/+8
2020-11-27Make Driver::destroy_all() pure virtualDavid Robillard1-4/+4
2020-02-09Format all code with clang-formatDavid Robillard1-7/+6
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-2/+2
2019-12-29Use std::shared_ptrDavid Robillard1-1/+0
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-06-09Fix compilation with --jack-dbus (#917).David Robillard1-3/+2
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
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
2011-11-25Remove cruft.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3631 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-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-5/+5
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-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
2010-12-15Clean up code.David Robillard1-0/+2
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-14/+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-14Fix memory leaks.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2688 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-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-12Fix threading issues on Jack exit.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1988 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-09-07Separate PortRef (now PortID) from PatchageEvent.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/patchage@1477 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-02-24Rework event handling slightly for jack dbus driver.David Robillard1-0/+8
git-svn-id: http://svn.drobilla.net/lad/patchage@1162 a436a847-0d15-0410-975c-d299462d15a1
2008-02-23Rearrange event port referencing stuff to make a bit more sense.David Robillard1-4/+0
git-svn-id: http://svn.drobilla.net/lad/patchage@1159 a436a847-0d15-0410-975c-d299462d15a1
2008-02-17Remove Jack API dependence from PatchageEvent.David Robillard1-0/+9
git-svn-id: http://svn.drobilla.net/lad/patchage@1151 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Consistently rename all C++ files .cpp/.hpp.David Robillard1-0/+58
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