Commit Graph

13825 Commits

Author SHA1 Message Date
Paul Davis
1d33ed5aca MIDI bindings etc. should work while in draw mode, not just internal edit
The only real difference is in what the mouse does, so keys should work the same
2020-05-05 17:58:32 -06:00
Paul Davis
8dfb49f446 do not clear a MIDI region's note selection when drag-creating a note 2020-05-05 17:57:53 -06:00
Paul Davis
505bd41ad4 do not clear selection when clicking on canvas in internal mode 2020-05-05 14:10:54 -06:00
Len Ovens
feb689d220 Fix issue 8087 menu build when only one bus
If there is only one Foldback bus:
	the selection button still respond to left click.
	Any other click on the same button will need two
	clicks
2020-05-05 11:42:45 -07:00
Len Ovens
2df52979d4 The listen Button (Solo) has no function in Foldback remove 2020-05-05 09:21:50 -07:00
Robin Gareus
f31f9a09da Fix inactive track header label display
Since 8fced29372 introduced no_show_all(), the packed widgets
need to be explicitly displayed.
2020-05-05 04:30:24 +02:00
Paul Davis
f6496524a4 fix thinko in MidiRegionView::add_to_selection()
The existing code isn't wrong, but inefficient. If the selection is empty,
then this is necessarily the first note, and cannot be present in the
selection. So, don't search the std::set<> and then insert, just insert.
2020-05-04 18:48:17 -06:00
Robin Gareus
744b85679b Tweak plugin-manager default window width #8079 2020-05-04 18:20:57 +02:00
Robin Gareus
acb8f9eb28 Scale plugin-manager default window size #8079 2020-05-03 20:50:52 +02:00
Robin Gareus
d387a6d664 Fix a compiler warning std::abs vs fabsf 2020-05-03 20:48:40 +02:00
Robin Gareus
a47fac7638 Fix MIDNAM model (MMA > Generic) fallback 2020-05-03 20:48:06 +02:00
Paul Davis
11ec81f4c2 more improvements in visual representation of selected MIDI notes during (and not during) internal editing 2020-05-01 22:28:21 -06:00
Paul Davis
8556560eca change design of MidiRegionView::add_to_selection() so that the rubber-band select works again
Adding the first note trigged Editor::set_selected_midi_region_view() which cleared
the (newly added to) selection
2020-05-01 22:27:50 -06:00
Paul Davis
044be53616 attempt to properly manage MIDI note display of selected status
Whether to display the selected outline depends on BOTH whether the note is
selected, and whether we are in an internal editing mode.
2020-05-01 17:39:13 -06:00
Paul Davis
13c0145890 move virtual method from region_view.h to region_view.cc
It cannot be inlined anyway, so nothing gained by the header file presence
2020-05-01 17:39:13 -06:00
Paul Davis
575c818482 when a MIDI region has a note selected with none previously, cancel existing MIDI region/note selection 2020-05-01 17:39:13 -06:00
Paul Davis
b258ad792e force provision of "menu-name" for all WindowProxy objects, and thus Tabbables
Actions for hide/show/attach/detach tabbables use hard-coded names which are not
translated. Using Tabbable/WindowProxy::name() to lookup the action will fail,
since the name can be translated. This changes just removes the option to not
provide a menu-name when creating these objects, and uses the name menu-name
when looking up an action by name
2020-05-01 14:33:47 -06:00
Robin Gareus
51795d2e11 Fix contents-drag (ignore snap) #8073
The "new" snap-to-visual-grid mechanism is not useful for
Contents-trim. That would require a relative grid.
2020-05-01 22:12:39 +02:00
Paul Davis
0486fe3e7d set LC_ALL from macOS locale so that setlocale(2) will work 2020-05-01 12:32:38 -06:00
Paul Davis
6479a1c9d5 fix apple use of - instead of _ in language identifiers; only set LANGUAGE if the language preferences are translatable 2020-05-01 12:31:52 -06:00
Paul Davis
b2a8616ef8 notice if macOS user has en_US as primary language 2020-05-01 12:30:46 -06:00
Paul Davis
033838c242 remove hard to understand and incorrect comment sentence 2020-05-01 12:29:24 -06:00
Paul Davis
ad2af5123d tell stdout if setlocale(2) fails 2020-05-01 12:28:52 -06:00
Paul Davis
106315071a update other .po files 2020-04-30 13:03:46 -06:00
Paul Davis
2c56762b98 fix context-providing translation for de_DE where the context string had been left in the the translation 2020-04-30 13:03:25 -06:00
Paul Davis
e9e4792a99 only activate MIDI editing bindings if in actual internal edit mode.
Draw mode does not as internal editing for these purposes
2020-04-29 16:27:27 -06:00
Robin Gareus
d7072eda01 Update script menu in the wake of 95932f92de 2020-04-30 00:24:22 +02:00
Hiroki Inagaki
cce6ac3e73 Update Japanese translation for 6.0 2020-04-28 21:29:04 +02:00
Robin Gareus
6224bf1e27 Revise French translation, part 7 -- #8035 2020-04-28 21:07:56 +02:00
Paul Davis
39844cfbb9 tweak minitimeline methods and names to avoid too-early and unnecessary calls to ::set_colors() 2020-04-28 11:45:14 -06:00
Paul Davis
4d17c5179c remove unnecessary call to set_colors()
This call also happens before colors are even defined
2020-04-28 11:45:14 -06:00
Robin Gareus
95932f92de Remove redundant action prefix
From Ardour5 to Ardour6 the AccessAction handle changes
from  "Editor/script-action-<N>" to "LuaAction/script-<N>"
2020-04-28 18:32:24 +02:00
Robin Gareus
d94a747180 Revise French translation, part 6 -- #8035 2020-04-28 18:05:11 +02:00
Robin Gareus
8e482ef0fb Con't work on ALSA nperiod selection (see also d3d120fa) 2020-04-28 17:56:17 +02:00
Johannes Mueller
1280360a65 Revert "Fix 8061 (partly): Don't scroll down if no further tracks to scroll to"
This reverts commit 81cbf36c56.

Limiting scrolling has other drawbacks. A proper fix for the redraw issue
has to be found.
2020-04-27 22:58:32 +02:00
Johannes Mueller
81cbf36c56 Fix 8061 (partly): Don't scroll down if no further tracks to scroll to
The issue remains if a track is selected by a "fit-selection" action second
last track covers the whole trackview. Then when scrolling one track up, the
huge track disappears and a smaller track follows, that covers a lot less
space.

-> Proper redraw of the track view is still needed.
2020-04-27 21:51:57 +02:00
Paul Davis
38c61b6dab fix design and implementation of (GUI) transport controllables to make them usable with MIDI CC control
The old code meant that their current value was always zero, and that they would do nothing unless
the new value exceeded 0.5
2020-04-26 23:00:12 -06:00
Edgar Aichinger
68799805aa Update German translation 2020-04-26 14:09:55 +02:00
Robin Gareus
8399abd277 Fix translatable strings and translations (so far)
The typos in the original English were reported by Edgar
Aichinger while working on the German translation.
2020-04-26 03:19:22 +02:00
Paul Davis
e97ea38108 update gtk2_ardour czech translations (Pavel Frich) 2020-04-25 10:39:29 -06:00
Robin Gareus
7751841b78 Allow to un/link panner directly from the panner #8024
When editing a sends, this allows to unlink send panner via
the panner's context menu.

NB. After 6.0-rc string freeze the context menu needs an update.
So far the text from the Processor Box context menu is reused.
2020-04-25 16:26:37 +02:00
Nil Geisweiller
ba31151c42 Redisplay list editor when the region is moved or resize
Using connection list to not overwrite the previous connection
2020-04-25 09:40:56 +03:00
Nil Geisweiller
95b00315c0 Fix midi editor to only display notes within temporal visible region 2020-04-25 09:40:56 +03:00
Robin Gareus
6c9b03e2a3 Lua Dialog, fill window with single widget
This is particularly helpful with a file-selector (e.g. mixer
ccreenshot Script)
2020-04-25 05:33:16 +02:00
Paul Davis
18228edd54 use ardour button rather than gtk::button in transport master widget 2020-04-24 15:54:29 -06:00
Paul Davis
b1d5e8611f carefully position floating text entry when editing transport master names 2020-04-24 15:54:15 -06:00
Paul Davis
75b9689f0c only update port lists when a TransportMastersWidget is actually mapped
The overhead of rebuilding for every port registration and unregistration was absurd
2020-04-24 12:00:02 -06:00
Paul Davis
afcc95167e fix copy-paste error that prevent transport master request mask from being set correctly 2020-04-24 07:44:41 -06:00
Fred Rech
f1ec998653 Revise French translation, part 5 -- #8035 2020-04-24 03:52:26 +02:00
Robin Gareus
2d50c3f907 Update key-bindings for all Lua action scripts #8034 2020-04-24 02:31:30 +02:00