Commit graph

24146 commits

Author SHA1 Message Date
Robin Gareus
7a709f23f1 Fix solo/mute when loading old (4.x) sessions. 2017-03-10 21:42:02 +01:00
Robin Gareus
2562a5ce3b Save/Restore TimeInfoBox clock modes
The clocks are not transient, so ARDOUR_UI::store_clock_modes takes
care of saving the state and the clock restores itself.
2017-03-10 20:39:46 +01:00
Robin Gareus
eac0a2b6ec Fix LocationUI clock-mode save/load & caching
(sidebar uses explicit LocationUI::set_state(), Location Window
implicit set_session)
2017-03-10 20:38:23 +01:00
Robin Gareus
6af51b52ff Use dedicated "show editor/mixer" actions 2017-03-10 17:52:42 +01:00
Ben Loftis
71f89f8214 Use Tempo Curve color for measure line beats. Fixes 4930. 2017-03-10 09:46:37 -06:00
Ben Loftis
55e6d3b40d Fix likely thinko in bbt ruler.
This fixes a bug for me:
  Measure lines appear & disappear during playback, at certain zoom scales.
  I think this is because the unecessary offset was causing beat_density to vary unnecessarily while rolling.
2017-03-10 09:09:30 -06:00
Ben Loftis
830728aaee compute_bbt_ruler_scale should not be necessary for every redraw of the timeline. Works OK here without it... 2017-03-10 08:50:29 -06:00
nick_m
b3ef0a9e8d fix incorrect property change in AudioRegion::set_fade_out()
- should fix 7283
2017-03-11 01:11:25 +11:00
Tim Mayberry
1519565890 Fix crash when removing time from track with automation
Resolves : #7287
2017-03-10 22:59:58 +10:00
Ben Loftis
f21111d7df Faderport uses the Mix and Proj buttons to summon mixer and editor; there is no longer a Toggle. 2017-03-09 14:29:08 -06:00
nick_m
87d474b391 fix potential crash in LV2Plugin::connect_and_run() when music starts after 0 2017-03-10 03:59:25 +11:00
Tim Mayberry
e04d237674 Allow Edit -> Crop to work with edit point set to mouse
Crop is currently only dependent on having a valid time/range selection.

Resolves : #7278
2017-03-09 11:51:00 +10:00
Tim Mayberry
b9ff329e36 Allow Separate using Loop/Punch range to work with edit point set to mouse
These operations are not dependent on the mouse position.

Resolves: #7276
2017-03-09 10:14:35 +10:00
Robin Gareus
8f2a5c01dd fix a-reverb, cut tail on deactivate, plug memory-leak 2017-03-08 23:04:16 +01:00
Robin Gareus
c93bef0ab6 Consolidate code 2017-03-08 22:17:16 +01:00
Robin Gareus
da5b6566e6 The return of the Mixbus Send-options (allow aux-feedback override) 2017-03-08 19:00:04 +01:00
Robin Gareus
77d07545c5 Don't show Group UI for the master-bus 2017-03-08 18:37:36 +01:00
Robin Gareus
46fe83cfff Prevent adding "master" to a group 2017-03-08 17:49:01 +01:00
Robin Gareus
a67008a5cb Mixer sidebar: show group context menu on right-click only 2017-03-08 16:22:17 +01:00
Robin Gareus
a3a61c9c74 Pop down dialog before re-scanning VSTs 2017-03-08 13:03:46 +01: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
4b982ef895 Prepare moving to a dedicated x-thread signal for VST UI resizing
(this changes the internal API, pending follow-up GUI update)
2017-03-08 13:03:46 +01:00
Robin Gareus
50f408adf2 remove cruft 2017-03-08 13:03:46 +01:00
Robin Gareus
5956e864e7 Fix copy/paste typo -- MacOSX builds 2017-03-07 05:46:21 +01:00
nick_m
028b042d2a snapped pencil drawing of new midi regions cannot be zero (7271).
- fixes a couple of other oddities in the behaviour.
2017-03-07 10:36:48 +11:00
Robin Gareus
7bada83a3f two new action scripts (no icons yet) 2017-03-07 00:32:19 +01:00
Robin Gareus
e1095310a8 Rework VST initialization:
Set the AEffect* plugin pointer before calling effOpen.
effOpen may call back into the host (masterCallback) and invoke
actions which depend on _plugin (eg. to call back into the plugin again)
2017-03-07 00:13:56 +01:00
nick_m
589c13c0eb allow setting end bpm in new tempo from tempo dialog. 2017-03-07 04:00:38 +11:00
nick_m
30dd692d13 rework tempo dialog formatting, add end bpm entry. 2017-03-07 03:59:42 +11:00
nick_m
4512b67fa5 fix crash when dragging region from list. 2017-03-07 02:30:48 +11:00
Robin Gareus
e8ea0548e0 Fix save-as progress dialog.
ScopedConnection and label,bar went out of scope.
2017-03-06 15:42:58 +01:00
nick_m
12f46c7385 announce what changed correctly in MidiRegion::model_shifted() 2017-03-07 01:21:45 +11:00
nick_m
16089bff96 more linked midi region trim drag fixes.
- freeze the correct playlists on fiorst move.

	- only update the start offset of linked regions once the drag
	  has finished.
2017-03-06 15:51:53 +11:00
Robin Gareus
e7c85706e5 More fun with LinuxVSTs & threading 2017-03-06 01:48:46 +01:00
Robin Gareus
e6f4f179be Add support for VST effSetBypass #7266
This mechanism re-uses internal abstraction (plugin-enable).
Other plugin-specs designate a control-port, for VST we 'emulate'
a control-port.

There is still debug-output to stderr, here while testing.
2017-03-06 01:38:49 +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
9089c1c6bf Fix AFL/PFL from MIDI tracks without audio (zero buffers) 2017-03-05 21:18:18 +01:00
Robin Gareus
115987a29b Revert "some further debugging, just in case"
This reverts commit 04ed05ecc4.
2017-03-05 17:01:17 +01:00
Robin Gareus
04ed05ecc4 some further debugging, just in case 2017-03-05 16:45:55 +01:00
Robin Gareus
9b6aebe842 Prevent duplicate self-delete.
debug-prints indicat it was at least possible for the same Window to
receive  FloatingTextEntry::entry_focus_out twice (without idle)
2017-03-05 16:45:55 +01:00
Robin Gareus
abdadb0906 NO-OP: whitespace 2017-03-05 16:45:55 +01:00
nick_m
fc47da6511 ensure no movement when draggin regions with x constrained.
- should fix 7260
2017-03-06 01:57:12 +11:00
nick_m
a445e82776 fix undo if a midi region start trim changed the source offset.
- this diffs all playlists that use the same source.

	- the secons part hould be a no-op, but needs testing
	  (trim drag undo on audio and midi regions)
2017-03-06 01:01:37 +11:00
Len Ovens
992ab1a273 Remove space between _ and ( 2017-03-04 12:33:22 -08:00
nick_m
c73e231443 fix uninitialised variable (fixes linked midi region negative start oatch) 2017-03-05 05:38:47 +11:00
nick_m
2780662432 no-op - comment/whitespace fixes. 2017-03-05 05:34:41 +11:00
nick_m
5c741b7a07 tempo editing updates
- a tempo marker may now be set to always continue (clamped)
	  this means that the end tempo of the previous section will
	  track the start tempo during tempo ops.
	  it mimics the behaviour in 5.8, with the gui indicating
	  the curves to be changed.
2017-03-05 05:21:56 +11:00
Robin Gareus
044cfab946 Notify UI when plugin state is copied/replaced 2017-03-04 18:25:37 +01:00
Robin Gareus
ad6ddf70df Don't allow GMCP to override loading_state_version
- GMPC does not use it directly
- when GMPC was enabled Stateful::loading_state_version was set to 1000
  (the protocol is at 1.0.0)
- it messes up session-loading, particularly various plugin states and
  templates (e.g  Processor::set_state_2X was used)
2017-03-04 17:55:22 +01:00