summaryrefslogtreecommitdiffstats
path: root/src/suil_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2023-05-01Replace strict option with new meson warning levelDavid Robillard1-6/+1
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-07-17Avoid snprintf when loading modulesDavid Robillard1-13/+19
Clang warned about out of bounds writes here on some platforms, though I think it's a false positive. In any case, it's hard to tell because this "calculate then snprintf and hope it fits" pattern is error-prone. Replace it with one that is more verbose, but also more explicit and regular with no room for misinterpretation.
2021-01-11Suppress C++ warnings in C headerDavid Robillard1-0/+5
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-65/+69
2020-12-15Avoid use of reserved identifiersDavid Robillard1-4/+4
2020-12-15Clean up includesDavid Robillard1-1/+5
2020-09-27Add a less janky portability wrapper for dlopen() and friendsDavid Robillard1-14/+4
2020-09-27Clean up includes and forward declarationsDavid Robillard1-8/+8
2019-10-17Fix Windows warningDavid Robillard1-1/+1
2019-04-14Use modern LV2 includesDavid Robillard1-1/+1
2017-10-03Clean up various minor code style issuesDavid Robillard1-0/+1
2017-03-18Add suil_init()David Robillard1-2/+39
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.
2012-09-24Fix suil_dlfunc on Windows (fix ticket #860).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4792 a436a847-0d15-0410-975c-d299462d15a1
2012-09-12Fix module loading in static build.David Robillard1-1/+1
Even when suil itself is built statically, the modules are not, so using SUIL_API for the module entry point (suil_wrapper_new) in this case was not setting dllexport. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4772 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix Windows build.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4638 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-1/+17
-Wmissing-prototypes. Fix broken suil_wrapper_new prototypes discovered by the above. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4630 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Fix compilation with MSVC.David Robillard1-3/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4609 a436a847-0d15-0410-975c-d299462d15a1
2012-08-02Replace host provided features that match Suil implemented features, ratherDavid Robillard1-6/+15
than passing UIs duplicate features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4599 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Implement UI features again, this time with genuine workiness!David Robillard1-5/+9
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-13/+27
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-26Update for latest LV2.David Robillard1-6/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4106 a436a847-0d15-0410-975c-d299462d15a1
2012-03-21Implement resize extension automatically at the wrapper level.David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4095 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-16Use correct WIN32 define.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3954 a436a847-0d15-0410-975c-d299462d15a1
2011-12-28Use ui:parent instead of http://example.org/winid.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3906 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Rework module interface to support modules that need to pass features.David Robillard1-12/+25
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-06-01Fix GtkBuilder using (and likely other) Gtk UIs in Qt4 hosts that do not ↵David Robillard1-6/+10
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-5/+5
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-2/+11
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-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-28Fix Windows build.David Robillard1-0/+8
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-24Make Suil exclusively deal with instantiating (not choosing) UIs.David Robillard1-25/+0
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-1/+16
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-3/+13
Cleaner instantiation code. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3013 a436a847-0d15-0410-975c-d299462d15a1
2011-02-22Initial UI instance implementation.David Robillard1-0/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3010 a436a847-0d15-0410-975c-d299462d15a1
2011-02-22Add suil stub.David Robillard1-0/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3003 a436a847-0d15-0410-975c-d299462d15a1