Commit Graph

27 Commits

Author SHA1 Message Date
Robin Gareus f9a2da3426
LXVST: dispatch close when GUI is destroyed
see also e635571f2f
2022-10-11 20:55:01 +02:00
Robin Gareus f7cb1b0b48
LXVST2: only call effEditIdle after realizing the GUI
This fixes an issue with some plugin-wrappers, notably
ff021d0581
2020-11-14 02:49:50 +01:00
Robin Gareus 9d737964d6
Set thread-names (GUI) 2020-03-29 14:56:50 +02:00
Robin Gareus c07e13b7ac
Fix crash when X11 is not available for VST UIs
This should not happen -- VST gui_event_loop is only
started if LXVST_XDisplay is not NULL.
However the eventloop itself checks if LXVST_XDisplay is set,
so this might happen with headless builds that still have
access to a display, or due to some async event.
2020-01-01 21:56:12 +01:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus 31815b5f26
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Robin Gareus fd8053da9e Don't use VST ->user points, prefer host-reserved ptr
Apparently "user" is for plugins (not hosts) to use.
2017-07-08 18:13:42 +02:00
Robin Gareus 819d9fa3cd VST UI sizeing rework
* prefer signal over timer-poll for VST size changes
* properly offset VST window (Windows)
* constrain window size (Windows)
* explicitly notify re-parent'ed child window (Linux)
2017-03-08 13:03:46 +01:00
Robin Gareus 3cba51df26 Close the LXVST X11 connection for good measure 2017-03-05 22:15:30 +01:00
Robin Gareus e9385c2297 Work around a crash at exit for Linux VST UIs abusing pthread-keys. 2017-03-05 22:14:49 +01:00
Robin Gareus a15a316236 consolidate VST UI code 2016-11-15 17:10:13 +01:00
Robin Gareus f30fbcaaf9 Fix VST state-lock SNAFU (effSetChunk and process are exclusive) 2016-11-14 21:06:18 +01:00
Robin Gareus c8a46a6502 some linuxVST GUI details: initialize lock, add a note. 2016-04-27 23:34:55 +02:00
Robin Gareus 13552140a2 prevent crash is VST does not implement effEditGetRect 2016-02-21 13:24:20 +01:00
Robin Gareus 63c455a557 small VST code cleanup: mostly NO-OP. thread attributes and static vars 2015-12-30 13:51:09 +01:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis 4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Mathias Buhr 83c5750f0b Fixes a double mutex unlock for Linux VSTs 2015-08-27 23:53:45 +02:00
Robin Gareus 2d311979e3 relax LinuxVST GUI event loop.
it was spinning at 100Hz.
2015-05-27 23:30:56 +02:00
Robin Gareus 4389fd2ace tabs are tabs and spaces are spaces
see http://ardour.org/styleguide.html #26
2014-11-18 21:59:28 +01:00
Robin Gareus 7518c363e5 assert no null pointer dereference 2014-11-18 21:59:04 +01:00
Robin Gareus 4ece16be8e replace gettimeofday() with g_get_monotonic_time() 2014-05-16 18:13:08 +02:00
Robin Gareus c4bb32892f increase LXVST GUI idle call regularity, aim for 25Hz 2014-04-21 14:44:36 +02:00
Paul Davis dc0723655e remove use of JACK headers to allow building on systems without JACK 2014-04-10 08:58:51 -04:00
Paul Davis 69df7763a1 switch from using Sleep/usleep to Glib::usleep() (and remember that we need to make Glib::usleep() actually work on windows one day) 2013-12-03 10:24:34 -05:00
Paul Davis 2eb43c8310 add copyright comments
git-svn-id: svn://localhost/ardour2/branches/3.0@13859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:22:15 +00:00
Carl Hetherington 7c87036ee3 Rename linux VST files to be more friendly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:31:04 +00:00