Commit graph

68 commits

Author SHA1 Message Date
Robin Gareus
b2c4e71a45
Subscribe to pretty-port name changes (GUI) 2021-01-18 03:18:20 +01:00
Robin Gareus
3f60d12308
Handle async removal of sidechain input
Apparently a user managed to remove a SC input and then
use the input's context-menu before the UI had caught up.
(PluginPinWidget::plugin_reconfigured happens during idle)

---
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  [..] PluginPinWidget::sc_input_press(_GdkEventButton*, boost::weak_ptr<ARDOUR::Port>) + 1140
2020-12-29 16:08:46 +01:00
Robin Gareus
94af225eaf
Fix window parent when using different workspaces
This affects only windows opened from the mixer window,
in case the mixer is detached and on a different workspace (desktop).

Window::init (and Dialog::init) set transient parent early on,
and it defaults to the main window (with toolbar). It needs to be
unset before presenting the window, in order to show the window
on the same workspace as the eventual transient parent.

This follows 6dc9134 and f3fbf58.
2020-11-18 16:26:36 +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
0805b6b925
Consolidate two more engine-checks 2018-11-28 15:17:57 +01:00
Len Ovens
0140b24248 Change get_routes to get_routelist where appropriate. 2018-11-07 17:00:16 -08:00
Robin Gareus
7d8b93add1 Consolidate PinDialog Session/recording checks
- _session cannot be NULL while the dialog is visible.
  This removes extra `if (_session)` tests.
- Operations now no longer fail silently, but show error messages.
2018-10-29 21:50:08 +01:00
Johannes Mueller
6c19a776f4 Set session of PluginPinWidget created after ::set_session()
PluginPinWidgets initially receive their Session pointer by
PluginPinDialog::set_session(). When a RouteProcessorChange occurs all
PluginPinWidgets are recreated. Those newly created instances need a pointer to
the session.
2018-10-29 18:31:15 +01:00
Robin Gareus
1ea1312c11 Sort Sidechain port list by mixer-order instead of alphabetically 2018-10-06 21:30:24 +02:00
Robin Gareus
ae0dcdc0c5 Fix various tooltip markup (ampersand) entity-escape:
* track/port names
* plugin-names
* MIDI patch-names
2017-09-14 19:23:37 +02:00
Robin Gareus
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus
7bb48aaa3f Remove cruft, steps cannot be 0. 2017-07-06 16:39:28 +02:00
Robin Gareus
c3c4efaa09 Use mnemonic-save API for menu-element texts 2017-06-29 00:22:42 +02:00
Robin Gareus
55df5b39bc Prepare removal of redundant get_user/set_user API. 2017-06-21 18:13:41 +02:00
Robin Gareus
1e2bdeb014 Limit max height of PinDialog -- fixes #7177 2016-12-20 12:34:40 +01:00
Robin Gareus
b302f70265 Skip pin-management for MB channelstrip plugins 2016-09-15 15:32:45 +02:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus
e0846c6aee ...use shared backend function instead 2016-05-19 01:46:49 +02:00
Robin Gareus
cc0abf4ef5 add route-ui pin-manager 2016-05-10 20:54:11 +02:00
Robin Gareus
4343191c45 turn Pin GUI into Widget. 2016-05-10 20:54:11 +02:00
Robin Gareus
1535cffbb0 Sidechain is one word 2016-05-03 14:42:39 +02:00
Robin Gareus
b3e12d6566 pin connection GUI for variable I/O plugins 2016-04-27 23:34:55 +02:00
Robin Gareus
9cebc9f8de Pin Management UI tweaks for AU. 2016-04-22 19:35:58 +02:00
Robin Gareus
836320efb5 disable sidechain & manual cfg for MB & AU for now 2016-04-20 22:36:18 +02:00
Robin Gareus
7999c0363f show no/inplace info in Pin Dialog (debug builds only)
.. also only show latency (relevant for thru) in debug-builds.
2016-04-19 19:03:16 +02:00
Robin Gareus
dd750722c5 more sidechain send GUI details:
* don't list exising normal sends (separate mono connections)
* tooltip inidicate autoremoval
2016-04-18 01:01:49 +02:00
Robin Gareus
d3acba6be4 fix initial panner control for new Sends 2016-04-18 00:52:24 +02:00
Robin Gareus
78c915f5eb Pin Dialog: cache UI thread information
fixes crash when redraw happens before idle update.
2016-04-17 22:21:26 +02:00
Robin Gareus
ccbf56827d pretty send and sidechain names 2016-04-17 21:50:26 +02:00
Robin Gareus
8fc19d6c67 use temporary sends for sidechain inputs 2016-04-17 14:10:13 +02:00
Robin Gareus
514765631b in case sidechain is fed by a Send, show the send's gain control
this is mainly about investigating what's involved with automatically
adding sends rather than connect track outputs...
2016-04-17 01:39:59 +02:00
Robin Gareus
30633cd2e7 NO-OP whitespace 2016-04-17 00:09:11 +02:00
Robin Gareus
a27e0f0d65 output config select is only available for synths. 2016-04-15 23:04:55 +02:00
Robin Gareus
6cd5d72962 refine Pin dialog
* bend thru-wires away from center (distinguish from connections)
* show DnD wire on move only (not on click select
* consisten Label for Plugin Instance
2016-04-15 22:08:03 +02:00
Robin Gareus
a4f57e6b2f re-order label z-stacking in Pin Dialog 2016-04-15 18:38:11 +02:00
Robin Gareus
5242aeb871 Output Port Presets. 2016-04-15 18:15:05 +02:00
Robin Gareus
6f4ccfcd3b hide strict-i/o UI for Mixbus 2016-04-15 14:53:18 +02:00
Robin Gareus
6ea864d845 update Pin DnD logic:
When starting a Drag on a connected destination, re-connect the
destination. "you grab the connect plug out of the socket and drag it"
2016-04-14 18:30:34 +02:00
Robin Gareus
afca178e45 show plugin pin labels when hovering over them 2016-04-13 23:43:08 +02:00
Robin Gareus
5005aa529b fix Plugin Pin for Audio + Midi input plugins 2016-04-13 01:16:03 +02:00
Robin Gareus
2e38195e5c fix wire DnD (for thru connections) 2016-04-07 19:40:54 +02:00
Robin Gareus
3868c5b4a4 GUI support for plugin port bypass connections 2016-04-07 18:36:04 +02:00
Robin Gareus
e714b7719e refine sidechain labels 2016-04-07 14:05:15 +02:00
Robin Gareus
2486ee0137 more click-connect compatible wire DnD experiments 2016-04-07 00:48:57 +02:00
Robin Gareus
5634414d78 Pin Management: draggable wires. 2016-04-06 23:24:11 +02:00
Robin Gareus
dfe148fd58 fix reset context menu (right click only) 2016-04-06 22:06:30 +02:00
Robin Gareus
44cb8842cc side-chain button select connects exclusively 2016-04-06 21:25:45 +02:00
Robin Gareus
6cd9c1add2 Plugin Pin Dialog: consistent layout. 2016-04-06 17:48:22 +02:00
Robin Gareus
ae653e0a2b add LED to sidechain toggle for consistency 2016-04-06 13:40:18 +02:00