summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-28Always index Jack ports and refer to them by nameDavid Robillard1-20/+30
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-28Remove Queue and use std::queue in JackDriverDavid Robillard1-2/+0
Jack notification handlers do not need to be realtime safe.
2020-11-27Ensure that modules always have an IDDavid Robillard1-2/+5
2020-11-27Remove use of PatchagePort from Driver connection interfaceDavid Robillard1-23/+40
2020-11-27Ensure that ports always have an IDDavid Robillard1-0/+1
2020-11-27Use a consistent style for log messagesDavid Robillard1-16/+20
2020-11-27Use prettier names for log methodsDavid Robillard1-22/+22
2020-11-27Factor out log from Patchage classDavid Robillard1-23/+25
Towards saner dependencies.
2020-11-27Replace boost::format with fmtDavid Robillard1-11/+12
2020-11-27Don't use else after returnDavid Robillard1-5/+5
I don't always agree with this one, but in this case it's reasonable enough.
2020-11-27Use static_cast to convert from void pointersDavid Robillard1-5/+5
2020-11-27Avoid C castsDavid Robillard1-1/+1
2020-11-27Remove spurious semicolonDavid Robillard1-1/+0
2020-11-27Use a single declaration per lineDavid Robillard1-1/+2
2020-11-27Avoid unnecessary copiesDavid Robillard1-1/+3
2020-11-27Initialize all membersDavid Robillard1-0/+2
2020-11-27Use appropriate std::string::find overload for charactersDavid Robillard1-3/+3
2020-11-27Use std::mutexDavid Robillard1-3/+6
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-29/+29
2020-11-27Use enum classesDavid Robillard1-26/+34
2020-11-27Always initialize variablesDavid Robillard1-5/+5
2020-11-27Always use braces around statementsDavid Robillard1-13/+23
2020-11-27Use auto where appropriateDavid Robillard1-14/+13
2020-11-27Use nullptrDavid Robillard1-19/+20
2020-02-09Format all code with clang-formatDavid Robillard1-61/+77
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-14/+13
2020-02-09Remove unused using declarationsDavid Robillard1-1/+0
2019-12-29Clean up includesDavid Robillard1-10/+11
2016-07-08Add option to disable port sortingDavid Robillard1-5/+7
Fixes #1082
2015-12-04Bring back Jack buffer size selectorDavid Robillard1-0/+1
2015-10-06Fix compilation with Jack metadataDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5749 a436a847-0d15-0410-975c-d299462d15a1
2015-10-06Fix compilation with older JackDavid Robillard1-7/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5748 a436a847-0d15-0410-975c-d299462d15a1
2015-02-22Support Jack port order metadata.David Robillard1-31/+33
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5598 a436a847-0d15-0410-975c-d299462d15a1
2015-02-17Delete trailing whitespace.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2015-02-16Distinguish edge color from port color slighly.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5577 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Fix various warnings.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5421 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Support Jack CV and OSC via metadata.David Robillard1-20/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5398 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
2014-04-26Tolerate duplicate port wackiness gracefully.David Robillard1-1/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5366 a436a847-0d15-0410-975c-d299462d15a1
2014-04-06Resurrect toolbar with Jack info and dropout indicator.David Robillard1-11/+28
Move legend to right hand side of toolbar. Store toolbar visible state in configuration. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5359 a436a847-0d15-0410-975c-d299462d15a1
2014-04-06Support port pretty names via new Jack metadata API.David Robillard1-2/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Make port colours configurable.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5350 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30StateManager => Configuration.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5348 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Fix crashes due to invalid format strings (fix #963).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5337 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard1-0/+3
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5186 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-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4112 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-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Connection => Edge.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3745 a436a847-0d15-0410-975c-d299462d15a1