aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2022-07-17Clean up and modernize Python support codeDavid Robillard1-59/+66
Switches to safer and more modern idioms, and addresses many issues raised by flake8 and pylint.
2022-07-17Format all Python code with blackDavid Robillard1-40/+49
2022-07-17Fix whitespace and add missing clang-format configurationDavid Robillard2-2/+4
2022-07-17Use "python3" in shebangsDavid Robillard1-1/+1
Python 2 hit EOL long ago, and some systems don't have a "python" at all.
2022-07-17Make potentially lossy type conversions explicitDavid Robillard3-5/+5
2022-05-27Replace use of deprecated ui:binary in examples with lv2:binaryDavid Robillard2-2/+2
2022-05-26Suppress new warnings in clang-tidy 13David Robillard4-7/+12
2022-05-26Avoid "else" after "return"David Robillard3-8/+22
2022-05-26Fix whitespaceDavid Robillard2-2/+2
2022-05-18Fix typosDavid Robillard1-1/+1
2022-05-09Fix incorrect spelling and test for regression with codespellDavid Robillard2-2/+2
2021-03-10Fix warnings with VS2019David Robillard1-1/+1
2021-03-10eg-sampler: Fix out of bounds sample read after loading new fileFilipe Coelho1-0/+4
2020-12-26Format all code with clang-formatDavid Robillard15-2749/+2679
2020-12-26Make include guards surround all header contentsDavid Robillard1-3/+3
For consistency, and because clang-tidy can't figure out if a define is an include guard unless it ends the file.
2020-12-26Add clang-format suppression commentsDavid Robillard9-0/+56
2020-12-18eg-sampler: Send update to UI if gain parameter changesFilipe Coelho2-8/+46
2020-12-18eg-sampler: Save and restore gain parameter valueFilipe Coelho1-2/+28
2020-12-18eg-sampler: Fix default gain valueFilipe Coelho1-1/+1
The initial gain coefficient in the code is 1.0 (full volume). The parameter itself is in dB, though, so the matching external default value is zero.
2020-12-16Add assertions for atom buffer sizesDavid Robillard2-0/+13
This avoids warnings about potential null pointer dereferences, which is true, but in this case the buffer are static so it's really a programming error if there is ever an overrun.
2020-12-16Clean up includesDavid Robillard7-5/+17
2020-12-16Avoid clang-tidy warning about sizeofDavid Robillard1-1/+1
2020-12-16Fix implicit and narrowing conversionsDavid Robillard6-10/+10
2020-12-16Isolate variable declarations and initialize all variablesDavid Robillard5-19/+20
2020-12-16Simplify degenerate switchesDavid Robillard7-40/+7
2020-09-27Don't use else after returnDavid Robillard2-4/+13
2020-09-27Initialize all variablesDavid Robillard1-1/+1
2020-09-27Fix narrowing conversionsDavid Robillard1-11/+11
2020-09-27Clean up includesDavid Robillard1-0/+2
2020-07-25Revert "Use LV2_ATOM_BODY macros in examples instead of pointer arithmetic"David Robillard3-3/+3
This reverts commit 3aad5eb1b08ed5c27e60aa36021c4a85ce90c08f, which broke the example plugins.
2020-07-15Fix incorrect printf format specifiersDavid Robillard2-3/+3
2020-05-22eg-sampler: Fix size of note-on atom sent from UIDavid Robillard1-1/+1
2020-03-17Use LV2_ATOM_BODY macros in examples instead of pointer arithmeticRuoxi Wang3-3/+3
2020-03-17eg-sampler: Destroy widgets in the correct orderMichael Fisher1-6/+19
2020-03-17eg-sampler: Improve UI show/hide handlingMichael Fisher1-4/+43
Ensures that gtk_init() is only called once, and that the idle callback does not block the UI thread.
2020-03-17Add a UI feature to request a parameter value from the hostDavid Robillard2-7/+28
2020-02-16Use standard Turtle lexer in PygmentsDavid Robillard4-6/+6
A Turtle lexer was finally added in Pygments 2.1.
2020-02-16Make parameter data validateDavid Robillard2-5/+6
This is rather annoying, but unfortunately xsd:decimal is not a related type to xsd:float. A future smarter version of the validator will be able to deal with this, but for now we'll have to be explicit and tolerate a bit of unpleasant syntactic noise.
2019-11-10Simplify plugin building and set up source tree run environmentDavid Robillard7-75/+38
This sets up LV2_PATH in waf tests so that tests can use specifications and plugins from the source tree without installing.
2019-10-17Set Gtk as a system dependency to suppress warningsDavid Robillard2-2/+8
2019-10-17Update autowafDavid Robillard7-15/+11
2019-04-21Fix building within a recursive projectDavid Robillard7-69/+16
2019-03-17Update autowaf and adapt to new APIDavid Robillard7-28/+0
2019-01-10Sort includes from local to standard and fix exposed issuesDavid Robillard14-75/+85
This order is better because it ensures that headers can stand alone and include everything they need. Several missing includes were exposed by this, and are also fixed in this commit.
2019-01-10Remove workaround for ancient MSVCDavid Robillard4-12/+4
2018-09-23Fix various Python style issuesDavid Robillard1-6/+6
2018-09-23Clean up includesDavid Robillard11-11/+51
2018-09-22Install standard headers to simpler include pathsDavid Robillard13-69/+69
2018-05-21eg-sampler: Fix segfault on old_sample null derefHarry van Haaren1-7/+5
Fixes a segmentation fault in eg-sampler when a sample is loaded for the first time. Dereferencing old_sample->path causes the NULL pointer segfault. Resolved by always simplifying code to always write_set_file, even if the filename is the same. Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-04-07eg-midigate: Respond to "all notes off" MIDI messageRobin Gareus1-1/+8