summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2017-05-08Fix potential memory leaksDavid Robillard2-0/+2
2017-05-07Fix potential use of uninitialized memoryDavid Robillard2-0/+2
2017-05-07Fix memory leaksDavid Robillard2-0/+2
2017-03-18Add suil_init()David Robillard6-33/+111
This allows the actual host argc and argv to be passed to QApplication if it is created by Suil (for Qt in non-Qt cases), and initializes X11 threads to fix Qt5 in Gtk2.
2017-03-17Remove X11 hackery and use Qt5 facilities to embed GtkDavid Robillard1-53/+5
2017-02-26Add missing fileDavid Robillard1-0/+207
2017-02-26Add preliminary Qt5 in Gtk2 supportDavid Robillard2-11/+15
This crashes virtually all of the time in straight Gtk hosts unless XInitThreads is called before any Gtk functions. A portable solution to this is needed, but I have no idea what that might be.
2016-12-11Fix missing KeyRelease events for X11 in GtkHanspeter Portner2-8/+10
2016-12-10Add support for X11 in Gtk3David Robillard2-0/+410
2016-09-18Update copyright datesDavid Robillard1-1/+1
2016-07-31Fix compilation with C++David Robillard1-2/+2
2015-11-28Bubble X11 key events up to Gtk parentDavid Robillard1-5/+21
2015-11-28Fix initial size of resizable X11 UIs in GtkDavid Robillard1-0/+12
2015-11-28Center X11 UIs in GtkDavid Robillard1-1/+36
2015-10-04Delete parent widgetDavid Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5739 a436a847-0d15-0410-975c-d299462d15a1
2015-09-17Fix issues with embedding in Qt.David Robillard2-8/+17
Patch from Rui Nuno Capela. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5732 a436a847-0d15-0410-975c-d299462d15a1
2015-09-13Fix Qt5 wrapping.David Robillard4-30/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5730 a436a847-0d15-0410-975c-d299462d15a1
2015-09-13Update copyright dates.David Robillard8-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5728 a436a847-0d15-0410-975c-d299462d15a1
2015-09-13Require LV2 1.6.0.David Robillard5-76/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5727 a436a847-0d15-0410-975c-d299462d15a1
2015-09-12Add Gtk2 and X11 in Qt5 wrappers.David Robillard5-10/+358
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5725 a436a847-0d15-0410-975c-d299462d15a1
2015-09-12Gracefully handle failure to open wrapper.David Robillard1-6/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5724 a436a847-0d15-0410-975c-d299462d15a1
2015-09-11Zero-initialize wrapper structs.David Robillard6-16/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5723 a436a847-0d15-0410-975c-d299462d15a1
2015-09-10Fix whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5720 a436a847-0d15-0410-975c-d299462d15a1
2015-05-14Only report suil_ui_supported() if necessary wrapper is compiled in.David Robillard1-5/+22
Fixes issue #1045. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5679 a436a847-0d15-0410-975c-d299462d15a1
2015-03-06Fix whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5615 a436a847-0d15-0410-975c-d299462d15a1