summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-08-02Fix unnecessary copies in for loopsDavid Robillard6-8/+8
2020-08-02Use faster variant of std::string::findDavid Robillard1-6/+6
2020-08-02Fix include orderDavid Robillard12-16/+17
2020-08-01Use modern castsDavid Robillard64-343/+478
2020-08-01Make set_bundle_path_from_code take a function pointerDavid Robillard2-3/+4
2020-08-01Add explicit accessors to QuarkDavid Robillard13-24/+28
2020-08-01Remove superfluous semicolonsDavid Robillard1-1/+1
2020-07-18Add missing const specifiersDavid Robillard3-3/+3
2020-07-18Remove unused macrosDavid Robillard2-5/+0
2020-07-18Fix incorrect format specifiersDavid Robillard2-2/+2
2020-07-18Add missing static specifiersDavid Robillard1-1/+1
2020-02-26Fix undo and redo when using a remote serverDavid Robillard1-0/+4
2020-02-26Fix atomic bundle executionDavid Robillard4-5/+26
2020-02-26Add note about redundant arc deletion when deleting a selectionDavid Robillard1-0/+3
2020-02-26Poll for POLLPRI as wellDavid Robillard1-1/+1
I don't think this actually matters, but I'm now paranoid about poll() not waking up on input for any reason.
2020-02-26Set up serd to read directly from socket without a FILE intermediaryDavid Robillard1-19/+27
This was problematic because using fdopen() conflicts with poll(). If the FILE ends up reading more than is actually processed by serd, then poll will not fire because the socket file descriptor has been fully read, even though there is pending input in the FILE object (which is buffered). Avoid this by using a custom read function and calling recv() directly. In retrospect, this was stupid, but it seemed convenient to be able to use the handy built-in support for reading from a FILE in serd. Now, the client and server are using send() and recv() directly on the socket, as things should be. I am not sure if MSG_WAITALL is the best idea here, or if it's really important at all, but it seems like a good idea.
2019-12-08Fix use of virtual functions in destructorsDavid Robillard10-13/+19
2019-12-08Cleanup: Work around clang-tidy bugDavid Robillard1-3/+3
For some reason clang-tidy thinks that insert can modify the value of tail_block, so this triggers a null dereference warning. If that were true, it would be true with things swapped around like this as well, but it makes the warning go away at least.
2019-12-08Cleanup: Use emplace_backDavid Robillard1-1/+1
2019-12-08Cleanup: Fix potential memory leakDavid Robillard1-0/+1
2019-12-08Cleanup: Fix potential null dereferencesDavid Robillard1-7/+12
2019-12-08Cleanup: Remove potentially redundant storeDavid Robillard1-6/+4
2019-12-08Cleanup: Set up engine RNG with a distinct seedDavid Robillard1-1/+1
From a clang-tidy warning. This almost certainly doesn't matter, but since it's used for monitor event timing, it could spread the load a little better if multiple engines are used in the same process.
2019-12-08Cleanup: Add missing namespace commentDavid Robillard1-1/+1
2019-12-08Cleanup: Use strtoul for numeric conversionDavid Robillard1-1/+3
2019-12-08Cleanup: Make single argument constructors explicitDavid Robillard4-10/+10
2019-12-08Cleanup: Remove multiple variable declarations on a single lineDavid Robillard2-4/+11
2019-12-08Cleanup: Use brace initialisation to avoid repeating return typeDavid Robillard1-5/+5
2019-12-08Cleanup: Improve a few basic operator implementationsDavid Robillard2-4/+8
2019-12-08Cleanup: Remove unnecessary numeric conversionsDavid Robillard1-2/+2
2019-12-08Cleanup: Add missing explicit initialisationsDavid Robillard12-21/+38
2019-12-08Cleanup: Remove redundant string initialisationsDavid Robillard2-2/+2
2019-12-08Cleanup: Merge branches with identical bodiesDavid Robillard3-11/+4
2019-12-08Cleanup: Remove unused parameter namesDavid Robillard22-44/+39
2019-12-08Cleanup: Remove meaningless const qualifiersDavid Robillard6-8/+8
2019-12-08Cleanup: Add missing copy and assignment method declarationsDavid Robillard3-2/+12
2019-12-08Cleanup: Remove redundant branchesDavid Robillard1-4/+0
2019-12-08Cleanup: Make methods static where possibleDavid Robillard5-12/+15
2019-12-08Cleanup: Use "default" for default constructors and destructorsDavid Robillard6-16/+4
2019-12-08Cleanup: Use faster char overload of find_last_of()David Robillard4-4/+4
2019-12-08Cleanup: Use "auto" to avoid repeating type namesDavid Robillard22-90/+89
2019-12-08Cleanup: Use empty() instead of size() where appropriateDavid Robillard4-5/+5
2019-12-08Cleanup: Avoid parameter copying overheadDavid Robillard62-358/+363
2019-12-08Cleanup: Use range-based for loopsDavid Robillard2-17/+17
2019-12-08Cleanup: Use "using" instead of "typedef" where appropriateDavid Robillard46-81/+80
2019-12-08Cleanup: Use std::make_sharedDavid Robillard5-9/+10
2019-12-08Cleanup: Fix some includes and forward declarationsDavid Robillard17-12/+45
2019-12-08Cleanup: Format Python code to be mostly flake8 cleanDavid Robillard4-60/+63
2019-11-10Fix passing NaN to control ports with no default valueDavid Robillard1-3/+10
2019-10-17Remove redundant move callDavid Robillard1-1/+1