aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-24Cleanly separate audio thread from the rest of the applicationDavid Robillard1-16/+20
2024-11-24Rename jalv_internal.h to jalv.hDavid Robillard1-1/+1
The "internal" name never made much sense to begin with (since this is a program, not a library), but now this header only describes the "main" Jalv struct and functions directly associated with it (the top-level interface of the application), so name it accordingly. This also makes include-what-you-use actually check this header, which it wasn't before for some mysterious reason.
2024-11-24Clean up include pathsDavid Robillard1-0/+1
Removes the source directory from the include path flags passed to the compiler, so that quoted includes always refer to files relative to the one they're in, and angled includes never refer to anything in the source tree. This fixes potential clashes between the name of headers here and on the system.
2024-11-24Use angle brackets for library includesDavid Robillard1-8/+8
2024-11-24Separate URI map implementation from applicationDavid Robillard1-10/+15
2024-11-24Move control port buffers to a separate arrayDavid Robillard1-2/+2
2024-11-24Use message mechanism to pause plugin executionDavid Robillard1-7/+18
2024-11-24Use message mechanism to request plugin state updatesDavid Robillard1-2/+4
Replaces highly questionable cross-thread use of the request_update flag.
2024-11-24Use a typedef for ports like other structsDavid Robillard1-4/+4
2024-11-24Remove redundant conditionDavid Robillard1-24/+26
Reduce nesting in the implementation by ensuring that state is non-null at the caller.
2024-11-24Move low-level event sending functions to a separate fileDavid Robillard1-0/+1
Takes advantage of the dependency trimming of the previous commit to work towards separating things more cleanly.
2024-11-24Move ring error handling and logging to a higher levelDavid Robillard1-2/+9
This removes the dependency on the "global" Jalv object from the low-level message sending functions.
2024-11-17Move string utilities to a separate compilation unitDavid Robillard1-0/+1
These don't really have anything to do with logging. Also replace a call to the non-standard strdup() in the process.
2024-10-12Add missing const qualifiersDavid Robillard1-1/+1
2023-09-22Clean up includesDavid Robillard1-3/+0
2022-11-16Switch to external zix dependencyDavid Robillard1-1/+1
2022-08-17Factor out jalv_write_control()David Robillard1-12/+4
2022-08-17Clarify communication function namesDavid Robillard1-1/+1
2022-08-17Use clearer names for communication ringsDavid Robillard1-1/+1
2022-08-17Use a consistent interface for error/warning/debug loggingDavid Robillard1-8/+8
Towards the ability to hook the log into other things (for display in a UI, for example). The implementation still just prints to stderr, although now with consistent formatting.
2022-08-17Move Port definition to its own headerDavid Robillard1-0/+1
2022-08-17Move control-related type definitions to control.hDavid Robillard1-0/+1
2022-08-17Move JalvURIDs and JalvNodes to their own headersDavid Robillard1-0/+1
2022-08-17Separate state.h from jalv_internal.hDavid Robillard1-0/+2
2022-08-17Separate log.h from jalv_internal.hDavid Robillard1-0/+1
2022-08-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-05-30Remove use of VLAsDavid Robillard1-1/+1
2022-05-27Format all code with clang-formatDavid Robillard1-157/+172
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-14Initialize all variablesDavid Robillard1-1/+1
2020-12-14Update zixDavid Robillard1-5/+5
2020-09-27Clean up includesDavid Robillard1-11/+10
2020-07-21Remove unused macrosDavid Robillard1-5/+0
2019-10-17Clean up includesDavid Robillard1-9/+9
2018-11-10Move features to Jalv structTimo Wischer1-20/+11
2018-09-24Fix unused parameter warningsTimo Wischer1-5/+5
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
2018-09-23Remove support for deprecated event and uri-map extensionsDavid Robillard1-2/+1
2018-01-16Remove unnecessary includesDavid Robillard1-1/+0
2016-10-05Factor out Jack backendDavid Robillard1-1/+1
2016-07-31Support thread-safe state restorationDavid Robillard1-5/+26
2015-12-04Remove unused macrosDavid Robillard1-2/+0
2015-11-08Support numeric and string plugin propertiesDavid Robillard1-0/+1
Also: * Print plugin/UI communication log in colour if supported * Update UI when internal plugin state is changed during preset load git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5812 a436a847-0d15-0410-975c-d299462d15a1
2015-10-17Remove unused definesDavid Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5769 a436a847-0d15-0410-975c-d299462d15a1
2015-08-30Add option to load preset from the command line.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5717 a436a847-0d15-0410-975c-d299462d15a1
2015-05-22Fix deleting and re-saving presets.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5681 a436a847-0d15-0410-975c-d299462d15a1
2015-03-07Improve preset support.David Robillard1-11/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5618 a436a847-0d15-0410-975c-d299462d15a1
2015-03-06Don't print all presets to console on load.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5614 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5426 a436a847-0d15-0410-975c-d299462d15a1
2014-07-15Support saving the same preset several times.David Robillard1-0/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5414 a436a847-0d15-0410-975c-d299462d15a1
2013-12-17Fix more const issues.David Robillard1-4/+4
Require latest LV2 svn for Ingen (fix #945). git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5174 a436a847-0d15-0410-975c-d299462d15a1