summaryrefslogtreecommitdiffstats
path: root/src/server
AgeCommit message (Collapse)AuthorFilesLines
2024-12-02Fix potential use of uninitialized valueDavid Robillard1-1/+1
According to GCC's -Wmaybe-uninitialized, this is a potential use of an uninitialized value. I'm not seeing it, but the pattern with get_property() everywhere else is to store the return value as a reference, which makes the warning go away, so do that.
2024-11-24Remove IWYU pragmas that no longer seem necessaryDavid Robillard11-27/+11
In a few cases here, we could get away with just a forward declaration but IWYU can't figure it out. Since this isn't a huge deal, just do what the tool says, since it's overall less hassle to just do what it says.
2024-11-24Use angle brackets for library includesDavid Robillard105-601/+639
2024-10-26Fix line wrapping in commentsDavid Robillard2-3/+8
2024-10-11Add missing includeDavid Robillard1-0/+1
Apparently things are defined in different headers in different JACK headers.
2024-10-11Use std::transform()David Robillard2-18/+29
2024-10-11Use std::find_if()David Robillard1-13/+12
2024-10-11Use std::count_if()David Robillard1-7/+5
2024-10-11Use std::any_of()David Robillard3-23/+20
2024-10-11Handle realloc failure and avoid potential null pointer arithmeticDavid Robillard3-3/+13
2024-10-11Add missing const qualifiersDavid Robillard5-11/+11
2024-10-11Fix confusing iteration over collections of pointersDavid Robillard1-1/+1
2024-10-11Reduce variable scopesDavid Robillard1-1/+1
2024-10-11Make more single-argument constructors explicitDavid Robillard7-10/+13
2024-10-11Simplify PortTypeDavid Robillard16-105/+99
2024-10-06Fix inconsistent C-style castDavid Robillard1-1/+1
2024-10-06Explicitly destroy the world in LV2 pluginDavid Robillard1-0/+1
Makes no real difference, but avoids a seemingly unused variable.
2024-10-06Avoid inefficient use of substr() to set strings to a prefixDavid Robillard1-2/+2
2024-07-17Add missing namespace commentDavid Robillard1-1/+1
2024-07-17Avoid use of jack_frame_time()David Robillard2-22/+33
This seems to be broken on the pipewire implementation of Jack, but we use FrameTimer for this on other drivers anyway, so just use that for Jack as well and avoid the issue entirely. Conveniently also exercises the clock and timestamp DLL code, which as it turns out, was itself broken.
2024-07-17Use uppercase integer literal suffixesDavid Robillard4-7/+6
2024-07-17Clean up includes and forward declarationsDavid Robillard11-6/+8
According to include-what-you-use 0.22 on LLVM 18, anyway. Most of the changes seem vaguely reasonable, so as usual, just go with what the tool says because it's most useful when reports are typically clean.
2024-07-17Remove redundant inline specifierDavid Robillard2-2/+1
2024-07-17Avoid C-style casts and some size type conversionsDavid Robillard14-39/+45
Aside from the syntactic cast changes, reduces some size types to 32-bits, since they can never be so large in practice. This eliminates some type conversions and shaves a few bytes.
2024-07-17Remove redundant castsDavid Robillard6-12/+10
2024-07-17Use empty() method instead of checking lengthDavid Robillard2-2/+1
2024-07-17Avoid return with void valueDavid Robillard1-1/+1
2024-07-17Suppress new warnings in clang and clang-tidy 18David Robillard1-0/+2
2024-07-13Add missing includesDavid Robillard7-35/+7
According to include-what-you-use, anyway. Most of these seem questionable/unnecessary, but since the whole point here is to avoid wasting time doing manually what machines can do, just do what the tool says to keep the checks clean even if it's suboptimal.
2024-06-04Clean up includesDavid Robillard1-0/+1
2024-06-04Avoid use of "#if 0" as a supercommentDavid Robillard1-1/+3
Mainly because clang-tidy complains about it.
2023-09-23Clean up meson definitionsDavid Robillard1-19/+19
2023-09-23Clean up includes and forward declarationsDavid Robillard28-26/+39
2023-09-22Suppress new warnings in clang-tidy 16David Robillard1-0/+1
2023-09-22Use a regular unique_ptr for compiled graphsDavid Robillard23-70/+53
Since these are always swapped by events which already have the ability to delete things after execution (by deleting them along with the event itself after processing), we can avoid the complexity and overhead of Raul::managed_ptr here by swapping the old graph for the new, retaining the owning reference to the old CompiledGraph in the event.
2023-08-23Simplify conditionalDavid Robillard1-1/+1
2023-07-02Fix potentially dangling referenceDavid Robillard1-1/+1
2023-05-12Fix const correctnessDavid Robillard1-1/+1
2023-02-03Suppress/fix new warnings in clang-tidy 15David Robillard25-94/+95
2022-12-14Strengthen clang-tidy configurationDavid Robillard1-0/+1
2022-12-14Concatenate nested namespacesDavid Robillard80-350/+162
2022-12-14Use std::variantDavid Robillard1-2/+2
2022-12-14Use std::optionalDavid Robillard6-20/+19
2022-12-14Use std::filesystem and std::make_uniqueDavid Robillard4-3/+6
2022-12-14Clean up includesDavid Robillard3-2/+4
2022-11-15Remove unused includeDavid Robillard1-1/+0
2022-09-27Pass by value and use std::moveDavid Robillard2-3/+3
2022-09-27Use braced init lists to avoid repeating return typesDavid Robillard6-10/+10
2022-09-27Use std::make_uniqueDavid Robillard4-5/+6
2022-09-27Fix implicit integer conversionsDavid Robillard2-12/+19