summaryrefslogtreecommitdiffstats
path: root/src/instance.c
AgeCommit message (Collapse)AuthorFilesLines
2023-06-02Fix X11 in Gtk3David Robillard1-1/+1
2022-12-11Simplify conditionalDavid Robillard1-9/+6
2022-12-11Remove Gtk in Qt and Qt in Gtk wrappersDavid Robillard1-21/+0
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-07-17Remove dead Qt4 support codeDavid Robillard1-25/+0
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2021-01-01Remove the need for a generated configuration headerDavid Robillard1-1/+0
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 Robillard1-290/+289
2020-09-27Add a less janky portability wrapper for dlopen() and friendsDavid Robillard1-10/+10
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-27Clean up includes and forward declarationsDavid Robillard1-4/+10
2019-06-06Add support for Qt5 in Gtk3David Robillard1-0/+8
2017-12-16Add support for Cocoa in Qt5David Robillard1-1/+9
2017-10-03Clean up various minor code style issuesDavid Robillard1-12/+12
2017-03-18Add suil_init()David Robillard1-26/+5
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-02-26Add preliminary Qt5 in Gtk2 supportDavid Robillard1-1/+9
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-10Add support for X11 in Gtk3David Robillard1-0/+9
2015-09-13Fix Qt5 wrapping.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5730 a436a847-0d15-0410-975c-d299462d15a1
2015-09-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5728 a436a847-0d15-0410-975c-d299462d15a1
2015-09-12Add Gtk2 and X11 in Qt5 wrappers.David Robillard1-5/+22
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-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-02-14Various Windows fixes (patches from Robin Gareus).David Robillard1-1/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5556 a436a847-0d15-0410-975c-d299462d15a1
2014-11-17Fix a few minor/unlikely memory errors.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5485 a436a847-0d15-0410-975c-d299462d15a1
2014-10-29Tidy.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5477 a436a847-0d15-0410-975c-d299462d15a1
2014-10-29Add Cocoa in Gtk wrapper (patch from Robin Gareus) (fix #988).David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5475 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5426 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Tolerate passing NULL container type to open_wrapper.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5376 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Add suil_instance_get_handle (patch from Rui Nuno Capela) (#925).David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5201 a436a847-0d15-0410-975c-d299462d15a1
2013-08-10Fix suil_instance_extension_data() for UIs with NULL extension_data (fix #924).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5154 a436a847-0d15-0410-975c-d299462d15a1
2013-02-24Print system error message if module failes to loadDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5082 a436a847-0d15-0410-975c-d299462d15a1
2013-02-09Fix crash when a broken UI returns a NULL descriptor (#886).David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5052 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Fix compilation with MSVC.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4609 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Don't build x11_in_gtk2 unless gtk+-x11-2.0 is available.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4607 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Fix memory errors introduced in r4603.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4605 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Support for embedding native Windows UIs in Gtk2.David Robillard1-6/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4603 a436a847-0d15-0410-975c-d299462d15a1
2012-08-02Replace host provided features that match Suil implemented features, ratherDavid Robillard1-7/+8
than passing UIs duplicate features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4599 a436a847-0d15-0410-975c-d299462d15a1
2012-07-18Gracefully handle UIs with no port_event method (fix #846).David Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4549 a436a847-0d15-0410-975c-d299462d15a1
2012-05-24Allow run-time configuation of module directory via environment variable ↵David Robillard1-3/+6
SUIL_MODULE_DIR. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4457 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Gracefully handle instance allocation failure.David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4392 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Fix suil_instance_free to avoid a double free when the wrapper has already ↵David Robillard1-3/+8
destructed. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4359 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix crashes when wrapper widget is destroyed by toolkit before suil cleanupDavid Robillard1-4/+7
function is called. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4264 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Implement UI features again, this time with genuine workiness!David Robillard1-15/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4173 a436a847-0d15-0410-975c-d299462d15a1
2012-04-11Add suil_host_set_touch_func.David Robillard1-30/+53
Saner feature array manipulation. Implement port index and subscribe/unsubscribe functions via new UI features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4160 a436a847-0d15-0410-975c-d299462d15a1
2012-03-21Implement resize extension automatically at the wrapper level.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4095 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3963 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Lint.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3962 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Fix errors on clode with Qt4 in Gtk2 wrapper.David Robillard1-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3914 a436a847-0d15-0410-975c-d299462d15a1
2011-12-28Use ui:parent instead of http://example.org/winid.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3906 a436a847-0d15-0410-975c-d299462d15a1