summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-29Remove redundant loggingDavid Robillard1-1/+1
2020-11-28Log all events to message paneDavid Robillard1-0/+2
This is maybe a bit much, or they need to be cleaned up a bit to be more presentable, but I like the transparency.
2020-11-28Reduce use of raw new and deleteDavid Robillard1-49/+43
2020-11-28Use AlsaDriver only through base class interfaceDavid Robillard1-7/+4
2020-11-28Remove Jack header dependency from DBus driverDavid Robillard1-3/+4
2020-11-28Remove Jack session supportDavid Robillard1-133/+0
2020-11-28Abstract out sending of eventsDavid Robillard1-15/+27
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-7/+21
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-28Use anonymous namespaces instead of staticDavid Robillard1-4/+12
2020-11-28Remove dead codeDavid Robillard1-5/+0
2020-11-28Move handle_event() to separate filesDavid Robillard1-0/+1
2020-11-28Factor out Connector from PatchageCanvasDavid Robillard1-1/+5
This finally breaks the dependency of the canvas on the entire application, and fixes the confusing situation where it wasn't clear whether connect/disconnect methods made/broke connections on the canvas or on the system.
2020-11-27Add missing namespace qualificationDavid Robillard1-1/+1
2020-11-27Use a consistent style for log messagesDavid Robillard1-5/+7
2020-11-27Use prettier names for log methodsDavid Robillard1-5/+5
2020-11-27Factor out log from Patchage classDavid Robillard1-58/+9
Towards saner dependencies.
2020-11-27Replace boost::format with fmtDavid Robillard1-2/+5
2020-11-27Strengthen warning flagsDavid Robillard1-1/+1
2020-11-27Fix unused parameter warningsDavid Robillard1-8/+9
2020-11-27Avoid default arguments on virtual methodsDavid Robillard1-1/+1
2020-11-27Don't use else after returnDavid Robillard1-4/+9
I don't always agree with this one, but in this case it's reasonable enough.
2020-11-27Avoid C castsDavid Robillard1-6/+7
2020-11-27Use C++ castsDavid Robillard1-4/+4
Unfortunately, the warning needs to stay on because of Gtk and ALSA.
2020-11-27Initialize all membersDavid Robillard1-0/+1
2020-11-27Use "using"David Robillard1-2/+3
2020-11-27Use enum classesDavid Robillard1-2/+2
2020-11-27Always initialize variablesDavid Robillard1-10/+12
2020-11-27Always use braces around statementsDavid Robillard1-6/+12
2020-11-27Use auto where appropriateDavid Robillard1-15/+15
2020-11-27Use nullptrDavid Robillard1-11/+11
2020-02-09Use range-based for loops in more placesDavid Robillard1-5/+5
2020-02-09Format all code with clang-formatDavid Robillard1-163/+187
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 standard using declarationsDavid Robillard1-16/+10
2019-12-29Clean up includesDavid Robillard1-24/+22
2019-12-29Use std::shared_ptrDavid Robillard1-1/+1
2016-12-14Fix potential infinite loopDavid Robillard1-0/+9
2016-07-08Add option to disable port sortingDavid Robillard1-1/+16
Fixes #1082
2015-12-04Bring back Jack buffer size selectorDavid Robillard1-5/+35
2015-02-22Support Jack port order metadata.David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5598 a436a847-0d15-0410-975c-d299462d15a1
2015-02-21Order ports deterministically.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5593 a436a847-0d15-0410-975c-d299462d15a1
2015-02-17Delete trailing whitespace.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2015-02-15Fix about dialog logo on OSX.David Robillard1-6/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5573 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Style messages pane to match canvas.David Robillard1-2/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5545 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Add support for exporting canvas as PDF or PS.David Robillard1-17/+32
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5543 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Save window size and position when closed via window manager.David Robillard1-9/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5542 a436a847-0d15-0410-975c-d299462d15a1
2015-01-10OSX quit integration.David Robillard1-4/+21
Save settings on exit. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5514 a436a847-0d15-0410-975c-d299462d15a1
2015-01-10More Mac integration work.David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5511 a436a847-0d15-0410-975c-d299462d15a1
2015-01-09Fix OSX integration.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5504 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Add support for sprung layout to Patchage.David Robillard1-2/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5379 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