summaryrefslogtreecommitdiffstats
path: root/src/instance.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-12-10Initialize wrapper field.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3855 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Rework module interface to support modules that need to pass features.David Robillard1-33/+39
Pass experimental parent window ID feature for embedding X11 UIs with events working. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3851 a436a847-0d15-0410-975c-d299462d15a1
2011-11-07Remove use of non-portable _XOPEN_SOURCE and strdup.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3604 a436a847-0d15-0410-975c-d299462d15a1
2011-10-20Support embedding X11 UIs.David Robillard1-2/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3551 a436a847-0d15-0410-975c-d299462d15a1
2011-06-01Fix GtkBuilder using (and likely other) Gtk UIs in Qt4 hosts that do not ↵David Robillard1-1/+1
link to Gtk (fix ticket #696). git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3345 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Don't hide pointers behind typedefs.David Robillard1-26/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3203 a436a847-0d15-0410-975c-d299462d15a1
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less ↵David Robillard1-20/+11
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3187 a436a847-0d15-0410-975c-d299462d15a1
2011-04-22Remove UI instance API from SLV2 (apps should implement UIs via Suil now).David Robillard1-22/+33
Remove UI extension API and header from public APIs entirely. Rework UI instance API to support multiple UIs and a more precise notion of embedding support. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3186 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-28Fix Windows build.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3128 a436a847-0d15-0410-975c-d299462d15a1
2011-03-17Switch Suil to 2-clause BSD license.David Robillard1-16/+24
Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3109 a436a847-0d15-0410-975c-d299462d15a1
2011-02-26Gracefully handle missing module symbols.David Robillard1-1/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3029 a436a847-0d15-0410-975c-d299462d15a1
2011-02-24Make Suil exclusively deal with instantiating (not choosing) UIs.David Robillard1-30/+42
Add slv2_ui_instance_new as a replacement for slv2_ui_instantiate (now deprecated), which supports cross-toolkit embedding by taking an additional widget type pointer. Remove direct Suil dependency from Ingen. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3022 a436a847-0d15-0410-975c-d299462d15a1
2011-02-23Support for wrapping Qt4 UIs for Gtk2 hosts and vice versa via modules.David Robillard1-16/+95
Qt4 in Gtk2 is tested working (Float in Ingen). Gtk2 in Qt4 is untested (and thus unlikely to work yet). git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3016 a436a847-0d15-0410-975c-d299462d15a1
2011-02-22Implement sane UI selection logic and separate it from instantiation.David Robillard1-34/+57
Cleaner instantiation code. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3013 a436a847-0d15-0410-975c-d299462d15a1