summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-01-02Use email address instead of website for attributionDavid Robillard17-17/+17
2021-01-01Remove the need for a generated configuration headerDavid Robillard4-4/+116
Since some of these values were not actually configurable anyway, the redundant code in the wscript has been removed since the values are equivalent to the fallbacks defined in C.
2021-01-01Reduce compile-time configurationDavid Robillard1-24/+15
This is not necessary since the appropriate module is always the same and is searched for at runtime. If it failes to load, an error message with the missing module's name in it will be logged, which is more informative than the previous situation.
2020-12-31Format all code with clang-formatDavid Robillard16-2208/+2243
2020-12-22Avoid "typedef" in C++David Robillard7-15/+15
2020-12-22Use "auto" to avoid redundancyDavid Robillard3-27/+28
2020-12-22Use "default"David Robillard1-3/+1
2020-12-22Use "nullptr" in more C++ codeDavid Robillard6-33/+33
2020-12-21Use "nullptr" in C++ codeDavid Robillard2-18/+18
2020-12-15Clean up special member functionsDavid Robillard1-0/+3
2020-12-15Avoid use of reserved identifiersDavid Robillard1-4/+4
2020-12-15Avoid checking for null before deletingDavid Robillard2-6/+2
2020-12-15Avoid use of default argumentsDavid Robillard3-8/+10
2020-12-15Clean up includesDavid Robillard4-11/+16
2020-09-27Add a less janky portability wrapper for dlopen() and friendsDavid Robillard6-34/+103
2020-09-27Don't use else after return or breakDavid Robillard1-27/+32
Normally I don't enable this once, since it's often silly, but here it does actually make things more readable.
2020-09-27Separate declarations and initialize all variablesDavid Robillard2-12/+16
2020-09-27Clean up includes and forward declarationsDavid Robillard15-93/+158
2020-07-17Fix Wunused-parameter warningsDavid Robillard6-18/+30
2020-07-17Fix Weffc++ warningDavid Robillard1-0/+3
2020-07-17Fix Wweak-vtables warningDavid Robillard1-0/+6
2020-07-17Fix implicit conversion warningsDavid Robillard4-11/+11
2020-07-17Remove useless castDavid Robillard1-1/+1
2020-04-26Implement resize for X11 in Qt5David Robillard1-0/+13
2020-04-26Implement size hints for X11 in Qt5David Robillard1-9/+67
2020-04-26Clean up includesDavid Robillard1-3/+2
2020-04-26Add missing override declarationsDavid Robillard1-3/+6
2020-04-26Use initial size as fallback base size for X11 in Gtk3David Robillard1-3/+17
2020-04-26Fix size issues for X11 in Gtk2David Robillard1-1/+46
2020-04-10Remove cruftRobin Gareus1-19/+0
Minimum size is already handled by suil_x11_on_size_request(), so object properties are irrelevant.
2020-04-10Ensure that XSizeHints are set and updatedRobin Gareus1-24/+42
This fixes the following regression introduced in db07a21d484: * The window may not have been realized when wrapper_wrap is called, in which case XSizeHints were not set. * Changes to XSizeHints were never queried, so the original mininum size was enforced even when the window called ui:resize().
2020-02-12Fix drag and drop for X11 in GtkRobin Gareus1-0/+39
"XDND drag-and-drop does not work with reparented external windows, since messages are exchanged with the toplevel window only" <https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html#idm46049203496608> To address this, the XDND specification allows events to be proxied to child windows: https://www.freedesktop.org/wiki/Specifications/XDND/ This commit does so in suil so that drag and drop works with embedded plugin UIs.
2020-02-12Avoid passing NULL to XFree()Robin Gareus1-1/+3
Apparently this is not supported by some implementation or another, although my man page says it's fine.
2020-01-06Fix compilation on MacOS older than 10.12David Robillard1-0/+4
2019-10-17Fix Windows warningDavid Robillard1-1/+1
2019-06-06Add support for Qt5 in Gtk3David Robillard2-1/+13
2019-04-14Use modern LV2 includesDavid Robillard6-11/+11
2019-02-19Add support for min_size and base_size in XSizeHintsbrummer102-23/+169
This allows a plugin UI to be shown with a default size but be resizable to a smaller size, within limits, afterwards.
2018-12-19Fix qt5_in_gtk2 wrapperrncbc1-11/+3
Removes the built-in QApplication instantiation and postpones the deletion of the embedded QWidget. This makes UIs work more nicely in hosts like Ardour.
2018-09-16Remove pointless const qualifiersDavid Robillard2-2/+2
2018-07-09Fix Qt5 in Gtk2 wrapperrncbc1-15/+94
- Fixes initial size and resizing in some cases - Adds LV2_UI__resize and LV2_UI__idleInterface features - Adds LV2_UI__updateRate option
2018-01-04Fix Windows buildDavid Robillard1-1/+1
2017-12-16Fix unused function warning for non-X11 buildsDavid Robillard1-0/+2
2017-12-16Fix Mac deprecation warningsDavid Robillard1-11/+24
2017-12-16Add support for Cocoa in Qt5David Robillard2-1/+175
2017-12-16Clean up feature code in wrappersDavid Robillard6-36/+18
2017-10-04Remove X11 dependency for gtk2 in qt5David Robillard1-1/+0
2017-10-03Clean up various minor code style issuesDavid Robillard5-20/+20
2017-08-06Fix implicit cast warnings with clangDavid Robillard2-2/+2
2017-08-06Fix preprocessor if with potentially undefined symbolDavid Robillard1-1/+1