13
0
Commit Graph

13890 Commits

Author SHA1 Message Date
f52faf48a6
Update export-report to show short/momentary loudness 2020-07-20 05:17:34 +02:00
239319c214
Initial prototype for session loudness #8318 2020-07-20 03:37:14 +02:00
9d7ca1dfa9
Remove debug message 2020-07-12 21:44:46 +02:00
89a7c41175 Likely fix for occasional crash in editor_regions::region_changed() 2020-07-12 12:05:23 -05:00
Iurie Nistor
4e6a15938c
double click to expand / contract the track 2020-07-12 16:09:07 +02:00
68082abc22
Fix track-header visibility for inactive tracks
This supersedes 0708cdb6b4, an explicit `name_label.show()`
is not needed. The inactive label was missing an explicit call
to show.

This also fixes MIDI track MIDNAM Selector visibility
2020-07-10 18:16:18 +02:00
c398d85f0b
Disabled routes do not have a label that can be edited 2020-07-10 17:47:10 +02:00
Iurie Nistor
0708cdb6b4
Show name when audio track is inactive 2020-07-10 17:44:04 +02:00
Vincenzo Reale
759ba6a7c9 Editing about.cc 2020-07-10 00:28:16 +02:00
Adam Bark
c8e92338ff Emphasise beat lines; fix issue 8156
"grid line micro" and "grid line minor" colours were the same so it was
difficult to tell where in a bar you were when zoomed in.
2020-07-07 12:06:26 -06:00
Johannes Mueller
9b2228d6fd Fix ripple moving automation points
When ripple moving a region all the subsequent regions will be moved, next
region in the playlist after the dragged one first, last region of the playlist
last.

Thus, when an automation point is ripple moved along a region past the starting
point of the next region, it will be moved again along with the next region as
the move of the next region occurs after moving the automation point.

This fix reverses the sequence of the ripple moves, last region in the playlist
will be moved first, the next after the dragged one, last. So no temporary
overlap of regions will occur.
2020-07-07 19:39:16 +02:00
d99dd1e3ec
Fix auto-play when locating via drag/click in the editor 2020-07-07 18:53:42 +02:00
Vincenzo Reale
2379b2a5cf
Italian translation update 2020-07-06 20:28:02 +02:00
187e2521fb remove debug message 2020-07-05 18:08:58 -06:00
1ceb153037 fix "Loop Range" in marker context menu 2020-07-05 17:48:16 -06:00
eaf88040cc NO-OP: add missing braces 2020-07-05 17:48:16 -06:00
6af2f4e127 Report Boxy and Flat button styles to LV2 plugins (extends 1ecaff) 2020-07-05 15:22:43 -05:00
ad6de3c233 when carrying out MIDI editing operations, be sure to act only once per Model when the selection involves non-forked copies
Still can fail if the non-forked copies have been modified enough, but user should not multi-select them in that instance
2020-07-02 23:15:10 -06:00
b4c71a5afe add action created a few months ago to global Track menu to toggle layer display 2020-07-02 14:50:12 -06:00
8f8099d8cc respond to changes in UI ellipsize track name mode 2020-07-01 12:17:43 -06:00
acd948a00c fix incorrect ellipsize option value 2020-07-01 12:17:43 -06:00
cb2883cff8 add ellipsizing mode to preferences editor 2020-07-01 12:17:43 -06:00
94c4c7b16e use ellipsizing mode in track headers 2020-07-01 12:17:43 -06:00
03076d351b add UI config parameter for ellipsizing mode for track names in headers 2020-07-01 12:17:43 -06:00
Edgar Aichinger
d0681f8013
add missing translation for glide mode 2020-07-01 15:47:53 +02:00
Edgar Aichinger
118f6a36f8
correct typo in previous commit 2020-07-01 15:47:53 +02:00
Edgar Aichinger
fb7394c7d2
fix Edit mode dropdown menu translation, and deal (preliminarily?) with https://tracker.ardour.org/view.php?id=7924 2020-07-01 15:47:52 +02:00
Edgar Aichinger
35a07f0936
fix typo and use better phrasing in export/watermarking hint (german translation) 2020-07-01 15:47:52 +02:00
Edgar Aichinger
e35aaf5c28
update german translation 2020-07-01 15:47:52 +02:00
3f9684248e
Set LV2 UI options from Ardour's theme 2020-06-30 16:46:06 +02:00
3adc9e4ec0
Disable latency-measurement for half-duplex devices
This prevents excessive error popup dialog popups when
trying to measure latency for half-duplex devices.
2020-06-30 03:36:52 +02:00
0518e1e88f
Make plugin list lengths configuable 2020-06-26 13:02:59 +02:00
4f4ee4c652
Sort plugin chart alphabetically 2020-06-26 13:01:50 +02:00
ef98492298
Add plugin charts to context menu 2020-06-25 21:10:14 +02:00
77362a2429
Consolidate common plugin search & sort methods
Also add a namespace, to prevent any symbol conflicts for
the structs.
2020-06-25 21:04:02 +02:00
e06497beba
Fix API usage (time_t -> int64_t) 2020-06-25 20:14:57 +02:00
c6ee111c3d
Don't save custom favorite order when filter is active 2020-06-25 13:57:51 +02:00
44436f1c9f
Tweak mixer-sidebar layout (plugin search) 2020-06-25 06:41:27 +02:00
0eb038575f
Overhaul Mixer Favorite Plugin sidebar
* use dedicated sort-order (fix issue with order being forgotten
  when results are filtered)
* add support for recent and most-used plugins
* add a text-entry search filter for favorites
* remove tag-filter drop-down
* ignore v5 instant.xml plugin sort order
2020-06-25 05:52:38 +02:00
be701f0248
NO-OP: clarify variable name 2020-06-25 02:26:01 +02:00
2f1ab39b9c
Remove explicit call to delete preset when saving a preset 2020-06-24 23:59:09 +02:00
Porrumentzio
2ca1f55d6b
Updated and reworked Basque translation 2020-06-23 22:09:07 +02:00
Olivier Humbert
b9ae71a35e
French update 2020-06-23 20:58:04 +02:00
Olivier Humbert
5014788a3c
French translation update
- min/MAJ fixes (main work)
- bargraphes -> indicateurs
- loudness -> sonie (consistency)
- inline -> en-ligne (consistency)
- préset -> pré-réglage (consistency)
- marker -> repère (consistency)
- fixed several "fuzzy"
- several new translations
- a few errors fixed
2020-06-23 20:58:04 +02:00
John Emmas
8cea355906 Moving Controllable::set_interface() into a 'cc' file makes it easier to fix our MSVC build issue (with min + max) 2020-06-20 09:38:00 +01:00
4053e8cb76 update german translation 2020-06-19 12:12:43 -06:00
Nikolaus Gullotta
939a2b22bf
Make "goto-mark-x" action availalbe in the Mixer 2020-06-18 15:16:43 -05:00
aa564efa86
using std::max was removed from header 2020-06-18 01:21:31 +02:00
592d73dcb4
Update Monitoring display when prefs/settings changes 2020-06-17 23:51:48 +02:00
Olivier Humbert
1c77c55f85
Minor French translation update 2020-06-17 19:34:15 +02:00
Olivier Humbert
2aae22cf51
Update French translation: min/MAJ fix 2020-06-17 19:33:39 +02:00
53b84c0d1c
Make "Replace" action translatable 2020-06-17 19:04:40 +02:00
b6b95a1761
Amend 87bb0953d5 (Action script button text) 2020-06-13 00:58:32 +02:00
87bb0953d5
Use first char of bound script action in button
In case an action-script does not have a custom icon, use the first
character of the script's name.

see also https://discourse.ardour.org/t/new-ideas-for-2020/104235
2020-06-13 00:12:26 +02:00
cda2e004a8 Fix opening sessions using the Finder (OSX)
The ShouldLoad() signal is handled by flush_pending(). This is the first
time that normal application flow can be interrupted in ::starting()
after app->ready().

This calls ::load_from_application_api(), which in turn calls
startup_fsm->handle_path(). This sets off the complete initalization
process, loading the session, and concludes with ::sfsm_response(),
where there is a call to `delete startup_fsm;`

Previously execution continued in StartupFSM::start() which caused a
crash.
2020-06-12 22:13:58 +02:00
e4ccf772f5
Fix MIDI-tracer formatting of samplecnt_t and size_t 2020-06-12 03:41:43 +02:00
00346353a3
Prevent entering an illegal session name via copy/paste or otherwise 2020-06-09 20:30:57 +02:00
50e96a2135
Do not allow ctrl chars in session names (2/2)
The GUI applies this to new sessions only, old sessions that
may now have illegal names can still be loaded.
2020-06-09 20:30:55 +02:00
Hiroki Inagaki
e848afe2ec
Update Japanese translation 2020-06-09 17:48:09 +02:00
Vincenzo Reale
c87edcbf04
Adding appdata and gtkmm2ext Italian translations 2020-06-09 17:44:15 +02:00
Vincenzo Reale
f27e7dadf5
Italian translation update 2020-06-09 17:43:28 +02:00
Nikolaus Gullotta
e6bbbe18c6
Skip recent sessions with empty strings for names
This can happen if the recent sessions file has new lines with no
characters on it which can be the direct loading sessions with wacky
names. For example, one that has a carriage return or newline in it.
2020-06-08 09:38:29 -05:00
b2c62db450
Fix initial action-button tooltip
The same string is used in ARDOUR_UI::action_script_changed()
when an action is un-assigned.
2020-06-07 18:13:23 +02:00
d366b49447
Automation Line may not exist after session re-load #8207 2020-06-06 01:05:41 +02:00
dccb2b650e
Mark Prefs Tab action name un-translatable
This is used with  string_compose ("detach-%1") etc,
and "preferences" may be translated by gtk or 3rd party translations
(Ardour itself only has upper-case "Preferences" as translatable
string)
2020-06-05 22:52:36 +02:00
f8162339cf
GUI option to configure export noise watermark
This was inspired by Andy76 (item 24) at
http://mixbus.harrisonconsoles.com/forum/thread-8935-post-49751.html
2020-06-05 03:10:20 +02:00
40aa1b3c91
Fix typo in 54ffd92fde 2020-06-04 22:24:36 +02:00
54ffd92fde
Fix ATAV identification by Parameter (2/2) #8201, 8203
Allow to uniquely identify Processor ATAV using the control ID.
2020-06-04 21:20:32 +02:00
0ab13e7b29
Fix ATAV identification by Parameter (1/2) #8201, 8203
See also 72af571f0c, ATAV for Processors cannot be identified by
Parameter alone. STAV uses a std::map<Evoral::Parameter, ..>
that is only valid for unique parameters.

The map cannot store Evoral::Parameter(PluginAutomation)
because it its not unique.
2020-06-04 21:20:32 +02:00
Nikolaus Gullotta
d147741ae3
Fix "Help" menu for Mixbus in wake of 9d9a00d2 2020-06-04 09:34:04 -05:00
378a0af4a7
Prevent locate while recording due to clock edits #7383
This follows Editor::button_press_handler() ignoring mouse-press
while recording: Limitation is in the GUI only.
2020-06-03 19:56:08 +02:00
1b3cca8a6d
Constrain missing file dialog list first 15 files only 2020-06-02 23:18:16 +02:00
72af571f0c
Fix automation lane visibility and indices - #8162
This fixes an issue with using
  StripableTimeAxisView::_automation_tracks
for PluginAutomation. The latter is indexed per-plugin in
  RouteTimeAxisView::processor_automation

Evoral::Parameter(PluginAutomation) is only unique per plugin,
and hence cannot be used in STAV.
2020-06-01 06:38:18 +02:00
c1b72a289f
Add warning if export truncates the channel-count 2020-05-31 19:39:16 +02:00
82d7d85192
Increase max export channel count to 32 for default export
Stem Export is not affected. This limitation is only for the
channel matrix GUI, when assigning master-bus channels to
export channels.
2020-05-31 19:39:13 +02:00
3318758855
Fix crash on Session Export when master-bus has too many channels 2020-05-31 19:39:10 +02:00
3acd076304 fixes for language choice code on macOS 2020-05-29 18:52:08 -06:00
cooltehno
1edc9c5845 Update unastudia-ardour.colors
Actually I'm not an author of this theme. I've decided to try... if there is no objection. Added comments to < Color > section.

I use this picture as a reference:

In the original file there was an excess line (176) - deleted in new version:

176  <ColorAlias name="lua action button: fill" alias="theme:bg"/>
177 <ColorAlias name="lua action button: fill" alias="widget:bg"/>

a screenshot:
2020-05-29 10:25:59 -06:00
45492f03ca new approach to determining correct language to use on macOS (uncompiled) 2020-05-29 10:23:53 -06:00
9d9a00d282 change action name, label and method names for accessing the tutorial to ... tutorial 2020-05-29 10:23:53 -06:00
b8202431ef Add foldback bus dulication option
Duplicates the bus and its sends and levels
2020-05-28 07:05:59 -07:00
Mister Benjamin
974ae5100f
Allow CD marker at session start #8029
Remove restriction in GUI, keep CD-marker button sensitive.
2020-05-27 21:06:29 +02:00
94085b0162
Avoid "Route" in user visible messages
Prefer "Track", "Bus" and/or "Strip" where applicable, or simply
avoid it.
2020-05-24 19:20:45 +02:00
2eb9cda9ae
Update link-panner text 2020-05-24 16:36:33 +02:00
7769804cf0 update german gtk2_ardour translation 2020-05-24 00:06:46 -06:00
534838995d
Allow MIDI learn on inline toggle buttons 2020-05-22 17:35:55 +02:00
a4a96f7556
Prevent rare crash at exit in optimized builds
update_video_timeline() is called after destroying the
video_timeline instance at exit.

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  __GI_abort () at abort.c:79
#2  __assert_fail_base at assert.c:92
#3  __GI___assert_fail at assert.c:101
#4  Editor::update_video_timeline(bool) (this=0x55a10a25a060, flush=false) at ../gtk2_ardour/editor_videotimeline.cc:57
#5  Editor::visual_changer(Editor::VisualChange const&) (this=0x55a10a25a060, vc=...) at ../gtk2_ardour/editor.cc:4746
#6  Editor::idle_visual_changer() (this=0x55a10a25a060) at ../gtk2_ardour/editor.cc:4687
#7  Editor::_idle_visual_changer(void*) (arg=0x55a10a25a060) at ../gtk2_ardour/editor.cc:4645
#8  g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9   () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 Gtkmm2ext::UI::run(Receiver&) (this=0x55a105ababe0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:293
#13 main(int, char**) (argc=1, argv=0x7fffcd806dc8) at ../gtk2_ardour/main.cc:437
2020-05-22 01:39:43 +02:00
ab4b268e5f
Display engine setup error #8134
get_last_backend_error() is only set if AudioEngine::start() fails.
When an error occurs earlier in the setup process it not updated.
2020-05-22 00:17:23 +02:00
08da389acc
Remove unused condition (MIDI calibration starts engine)
MIDI latency calibration is now only possible when the engine
is running (since 4c8f562053).

This reverts part of e6febe040a
and a2f7abc70b
2020-05-21 22:06:43 +02:00
08d4350ddf
NSM: Use session's rate when starting JACK
Also log if jackd cannot be started or reached instead of
silently terminating.
2020-05-21 16:11:39 +02:00
5d0867ec10
NSM special-cases
Special cases to load-or-create session via NSM_Client::command_open
This bypasses most of the startup-FSM for NSM. Either a session
is loaded or created. JACK is mandatory.
2020-05-21 02:04:49 +02:00
61ce687017 add text to TRANSLATORS file explaining how contextual translation msgids work and should be translated 2020-05-20 14:40:10 -06:00
7dedf5955f additional fix ups context-providing translations for gtk2_ardour 2020-05-20 14:36:00 -06:00
f8860cde75 fix up context-providing translations for gkt2_ardour
Translators: if the msgid looks like foo|bar then in general the foo is just
there to provide context to clarify the potentially ambiguous nature of bar.
The translated form should not contain the foo or the |
2020-05-20 14:30:54 -06:00
6ada6c553b
Speed up automation lane removal with many ctrl points
Deleting the group first, directly removes child items
without triggering Canvas::item_changed() for every item.

This significantly speeds up closing sessions (or deleting tracks)
with lots of automation events.
2020-05-20 01:02:36 +02:00
Fred Rech
6c72862801
Revise French translation -- #8035 2020-05-19 21:42:39 +02:00
5b1a8f79bc
Block periodic saves while importing
Resampling or copying files during import can take a long time.
If a save, or pending save is called while importing,
it is postponed until after import has completed.
2020-05-19 18:31:55 +02:00
7476e92403
Remove explicit save for every imported file 2020-05-19 18:10:05 +02:00
808e96debb add blank line 2020-05-18 16:04:41 -06:00
08df4def52 change the text on the "do nothing" button when closing an unnsamed session while dirty 2020-05-18 16:04:41 -06:00
f21c948f35 make a possible case in a switch statement explicit 2020-05-18 16:04:41 -06:00
c573cc9153 use a better Gtk stock item to describe "skip renaming an unnamed session" 2020-05-18 16:04:41 -06:00
4c8f562053
Better version of 24ca53f97 (engine dialog, MIDI calibration) 2020-05-18 23:01:44 +02:00
24ca53f971
Don't autostart engine for MIDI latency compensation 2020-05-18 22:49:31 +02:00
cf4c300ddd prevent debug-build crash caused by trying to use null-pointer 2020-05-18 14:20:44 -06:00
cbc6bccc36
Try restore the recently used state after device-list refresh
This takes into account if the device is present, and picks
the most recently used state for the available devices.
2020-05-18 15:13:15 +02:00
cooltehno
fb9aa647bb
Update cubasish-ardour.colors
Corrected colors closer to a5.12 version (compared with existing a6 theme). Added comments to < Color > section.

In the original file there was an excess line (177) - deleted in new version:

177 <ColorAlias name="lua action button: fill" alias="theme:bg"/>
178<ColorAlias name="lua action button: fill" alias="widget:bg"/>

video:
https://vimeo.com/419410940
2020-05-17 14:28:56 +02:00
YQ-YSY
7885bdb210
New Chinese translation for Ardour 6.0 gtk2_ardour_po 2020-05-17 14:23:02 +02:00
YQ-YSY
488b3bc532
New Chinese translation for Ardour 6.0 gtk2_ardour_appdata_po 2020-05-17 14:21:54 +02:00
davidhealey
cac312bb6d Added lua binding for editor:add_location_mark 2020-05-17 00:05:52 +01:00
f2cf60900b
TMM: Fix BPM display format #8118 2020-05-16 23:15:06 +02:00
c82ca66fcc fix for #8112. No need to request transport roll before requesting loop play
And doing so confuses ardour
2020-05-16 09:31:43 -06:00
eecb498a70 restore apparent thinko that removed the effect of "editable region" transparency for MIDI regions 2020-05-16 08:29:37 -06:00
cooltehno
852500aa1e
Update clear_gray-ardour.colors
++more contrasting&bright (compared with existing theme). Added comments to < Color > section.

In the original file there was an excess line (177) - deleted in new version:
 177 <ColorAlias name="lua action button: fill" alias="theme:bg"/>
 178<ColorAlias name="lua action button: fill" alias="widget:bg"/>

video:
https://vimeo.com/419249079
2020-05-16 13:51:44 +03:00
a9fff59229 TMM: do not allow changing transport master while slaved (GUI edition) 2020-05-15 21:06:40 -06:00
58e5c0cfea Czech translation update from Pavel Frich 2020-05-15 18:41:08 -06:00
Porrumentzio
0c2e68137b All complete. First public version. 2020-05-15 16:10:22 -06:00
Porrumentzio
16ca782000 All complete. Needs revision using the program. 2020-05-15 16:10:22 -06:00
Porrumentzio
d2d266447b All complete. Needs tiny metadata corrections. 2020-05-15 16:10:22 -06:00
Porrumentzio
e827524e79 all complete except gtk2_ardour eu.po (87%) 2020-05-15 16:10:22 -06:00
Porrumentzio
86c12a2b50 all complete except gtk2_ardour eu.po (81%) 2020-05-15 16:10:22 -06:00
Porrumentzio
a1f6d28781 all complete except gtk2_ardour eu.po (72%) 2020-05-15 16:10:22 -06:00
Porrumentzio
7c774523e6 all complete except gtk2_ardour eu.po (68%) 2020-05-15 16:10:22 -06:00
Porrumentzio
dfbaaf242c all complete except gtk2_ardour eu.po (63%) 2020-05-15 16:10:22 -06:00
Porrumentzio
431a38f273 all complete except gtk2_ardour eu.po (61%) 2020-05-15 16:10:22 -06:00
Porrumentzio
c85562bc1e gtk2_ardour eu.po (54%) and libs/ardour eu.po (93%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
6c799ae987 gtk2_ardour eu.po (45%) and libs/ardour eu.po (92%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
a1482878ae gtk2_ardour eu.po (41%) and libs/ardour eu.po (77%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
00b8e2e4a8 gtk2_ardour eu.po (41%) and libs/ardour eu.po (77%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
1daa275eed gtk2_ardour eu.po (34%) and libs/ardour eu.po (75%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
61ea85a889 gtk2_ardour eu.po (24%) and libs/ardour eu.po (61%), non complete 2020-05-15 16:10:22 -06:00
Porrumentzio
cdec486cff gtk2_ardour eu.po (15%) and libs/ardour eu.po modified 2020-05-15 16:10:22 -06:00
Porrumentzio
d473e91201 Each one of the files that need translation, not complete 2020-05-15 16:10:22 -06:00
Porrumentzio
881d4eb150 Test 2020-05-15 16:10:22 -06:00
Porrumentzio
aae16c0c07 First basque translation, non complete 2020-05-15 16:10:22 -06:00
cooltehno
44fbb0d1ef Update caineville-ardour.colors
++more contrasting&bright (compared with existing theme). Added comments to < Color > section.

In the original file there was an excess line (177) - deleted in new version:
177   <ColorAlias name="lua action button: fill" alias="theme:bg"/>
178    <ColorAlias name="lua action button: fill" alias="widget:bg"/>

2min video:
https://vimeo.com/416959800
2020-05-15 16:09:53 -06:00
cooltehno
d3b66df974 Update blueberry_milk-ardour.colors
++more contrasting&bright (compared with existing theme). Added comments to < Color > section.
video (with comparison):
https://vimeo.com/416166712
2020-05-15 16:09:53 -06:00
2fd28613ae better update/improve for generic subscribe URL 2020-05-15 16:09:53 -06:00
c79b56d069 update/improve generic subscribe URL 2020-05-14 22:06:47 -06:00
d6b0c77bb1
TMM: display timecode using session FPS 2020-05-15 01:47:05 +02:00
2f12815565 MIDI: when drawing notes, leave selection containing only the just added note
This matches other DAWs and allows easy editing of just the last note, rather then all
notes added since doing something else
2020-05-14 00:03:42 -06:00
daa46c4225 the return of waveform outline (tips) color
This seems to have been removed unintentionally in 973e9ad132
2020-05-13 18:52:29 -06:00
6622c55912
TMM: fix last message + age display 2020-05-13 23:57:40 +02:00
8ac4cac07d
Editor-Mixer: hide 2D panner GUI when selection changes - #8109 2020-05-13 21:48:46 +02:00
bec9914f37
Continue without NSM if server does not respond 2020-05-13 18:34:00 +02:00
5120b650c5
TMM dialog: fix rendering performance
This removes expensive markup parsing and directly sets
timecode and delta-time as plain text. The Labels use the
main clock's color schema, and dedicated ArdourMono font.
2020-05-12 21:10:28 +02:00
48886565cf fix mouse-audition playback of a given region 2020-05-12 13:08:38 -06:00
7b2b2401a3
Optimize AudioClock info-text rendering
Avoid markup, pango markup parsing is expensive, particularly
for info strings which may be updated periodically at
short time intervals.
2020-05-12 15:08:39 +02:00
20c09ccfc3 Transport Masters dialog: don't use an uninitialized char array. 2020-05-11 18:37:12 -05:00
26dbd30ae6 Transport Masters dialog: various layout changes to improve legibility
Use Fonts and Color to help discriminate columns:
Values that come from the TC Master are now in black boxen (ToDo: use gtk theming)

Reduce the number of columns, to improve legibility:
Consolidate the Slave's current TC chase value and Delta (offset from Ardour current TC)
Consolidate the last message received, and how recently it was received
Remove Collect checkboxes (just disconnect the port if you don't want it to run)
2020-05-11 15:37:40 -05:00
7581ec5ac5 Transport Masters dialog: fix typo 2020-05-11 15:37:36 -05:00
44d87f2cd7
TMM GUI: display delta time from all slaves 2020-05-11 18:37:16 +02:00
Johannes Mueller
bff9c9a5a1 Work around a race condition
This covers a race condition in session transport that when synced to an
external engine it sometimes occurs that at the end of ::realtime_stop()
::transport_stopped_or_stopping() returns false when ::setup_rec_box() is
called. In this case the rec boxes are not erased when the recoding transport
is stopped.

This fixes this behavior about the remaining rec boxes, however the race
condition remains.

The race condition is reported in #8104. It should be considered reverting this
commit once the race condition is fixed.
2020-05-10 14:53:38 +02:00
dffe780d95
Engine-dialog: latency spinbox sensitivity
This allows to change latency while running using numeric entry
or otherwise makes the spinboxes insensitive.
2020-05-09 01:19:03 +02:00
fe8df2eeae
Remember I/O ports used for latency measurement 2020-05-09 00:55:40 +02:00
cc5e9631eb Spelling mistake 2020-05-07 18:38:42 -07:00
d91189ffe5
Consistent GPL boilerplate 2020-05-08 03:19:17 +02:00
7a5dc98296 Fix gpl address 2020-05-07 17:34:49 -07:00
8e1e271eba Add a meter to Foldback bus
Spaces got replaced by tabs as well.
2020-05-07 17:13:40 -07:00
f1dafe7632
Prepare changing LTC Generator <IO> to <Port> 2020-05-07 20:42:58 +02:00
2e2ca85131 remove debug output 2020-05-06 09:53:55 -06:00
deca562108 Use sorted list of foldback buses
previous and next would not always allow
	getting to all buses which were in an odd order
	depending on how they are added
2020-05-05 19:42:31 -07:00
7b5d2c2e7f update GUI translations for Italian from pterodattero 2020-05-05 18:29:03 -06:00
f546b38f42 when creating new notes via MidiRegionView::create_note_at(), add note to selection 2020-05-05 18:00:41 -06:00
668ff4b638 if setting the selected MIDI region view to the currently selected MRV, do nothing 2020-05-05 18:00:05 -06:00
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
8dfb49f446 do not clear a MIDI region's note selection when drag-creating a note 2020-05-05 17:57:53 -06:00
505bd41ad4 do not clear selection when clicking on canvas in internal mode 2020-05-05 14:10:54 -06:00
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
2df52979d4 The listen Button (Solo) has no function in Foldback remove 2020-05-05 09:21:50 -07:00
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
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
744b85679b
Tweak plugin-manager default window width #8079 2020-05-04 18:20:57 +02:00
acb8f9eb28
Scale plugin-manager default window size #8079 2020-05-03 20:50:52 +02:00
d387a6d664
Fix a compiler warning std::abs vs fabsf 2020-05-03 20:48:40 +02:00
a47fac7638
Fix MIDNAM model (MMA > Generic) fallback 2020-05-03 20:48:06 +02:00
11ec81f4c2 more improvements in visual representation of selected MIDI notes during (and not during) internal editing 2020-05-01 22:28:21 -06:00
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
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
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
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
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
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
0486fe3e7d set LC_ALL from macOS locale so that setlocale(2) will work 2020-05-01 12:32:38 -06:00
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
b2a8616ef8 notice if macOS user has en_US as primary language 2020-05-01 12:30:46 -06:00
033838c242 remove hard to understand and incorrect comment sentence 2020-05-01 12:29:24 -06:00
ad2af5123d tell stdout if setlocale(2) fails 2020-05-01 12:28:52 -06:00
106315071a update other .po files 2020-04-30 13:03:46 -06:00
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
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
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
6224bf1e27
Revise French translation, part 7 -- #8035 2020-04-28 21:07:56 +02:00
39844cfbb9 tweak minitimeline methods and names to avoid too-early and unnecessary calls to ::set_colors() 2020-04-28 11:45:14 -06:00
4d17c5179c remove unnecessary call to set_colors()
This call also happens before colors are even defined
2020-04-28 11:45:14 -06:00
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
d94a747180
Revise French translation, part 6 -- #8035 2020-04-28 18:05:11 +02:00
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
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
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
e97ea38108 update gtk2_ardour czech translations (Pavel Frich) 2020-04-25 10:39:29 -06:00
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
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
18228edd54 use ardour button rather than gtk::button in transport master widget 2020-04-24 15:54:29 -06:00
b1d5e8611f carefully position floating text entry when editing transport master names 2020-04-24 15:54:15 -06:00
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
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
2d50c3f907
Update key-bindings for all Lua action scripts #8034 2020-04-24 02:31:30 +02:00
2aa5e90290
Update Russian translation 2020-04-24 01:06:16 +02:00
777f1ea3be
Indicate unlinked send-panners in pan-widget #8024 2020-04-24 00:57:15 +02:00
37e6a701bd
Define color for send panner 2020-04-24 00:57:15 +02:00
42b4ea89f4
Use send-API for pan-link, indicate status in tooltip and name 2020-04-24 00:57:15 +02:00
24ed3c5a9e minor code reworking for 46fca9062d (no semantic changes) 2020-04-23 09:05:18 -06:00
Mister Benjamin
46fca9062d Honour forward/rewind option when already rolling #8031
The options ForwardSlow, Forward and ForwardFast and their
respective Rewind options were not honoured in the execution
of forward/rewind operations when the transport was already
rolling at a slower speed than the forward or rewind option's
speed with same direction as the requested direction.
2020-04-23 08:19:20 -06:00
1e380b1e2e
GUI use updated XML::read_buffer API 2020-04-23 02:26:27 +02:00
485ac45477
Fix region boundary cache lookup segfault
When the cursor position is after the last item in the vector,
upper_bound returns the last given iterator, here:
`region_boundary_cache.end()`, which is invalid to dereference.

Furthermore prevent possible  duplicate prev/next pair at zero,
when using the video-timelime.
2020-04-22 22:37:43 +02:00
fcfaa0ac49
Fix a potential endless recursion from c2b25b453e
ArdourDropdown::set_active() -> StateChanged -> .. -> set_active()
2020-04-22 16:20:54 +02:00
35fe4f79f5
Fix translation context (amend 47e4216012) 2020-04-21 20:50:45 +02:00
47e4216012
Mark user-visible messages for translation 2020-04-21 15:35:52 +02:00
2f96d44967
Fix typo and update affected translations 2020-04-21 02:51:02 +02:00
826bdc413c fix behavior of ARDOUR_UI::transport_rewind/forward actions 2020-04-20 17:18:37 -06:00
Fred Rech
1c7c0533c2
Revise French translation -- #8035 2020-04-20 23:55:39 +02:00
Nils Philippsen
696096fcbd
Revise German translation
- add missing translations
- largely follow original message regarding punctuation, capitalization
  at the beginning of sentences, trailing white space
- fix typos and other obvious mistakes

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2020-04-20 19:14:37 +02:00
4bd90dec5f
Initialize uninitialized variable (show foldback sends) 2020-04-20 00:48:54 +02:00
ef206d8066 Save-As for unnamed sessions becomes the same as Save 2020-04-19 10:38:44 -06:00
045200ba35
Update Patch Selector Colors
Custom text color is no longer available, so remove it.
Also prefer a semantic description "unnamed", not a visual cue.
2020-04-19 16:54:07 +02:00
037248a7d6
Support MIDNAM with Performances in PatchSelector #7536
Some modern keyboards spread out patches over various banks,
and group them using explicit "PatchMIDICommands".
A given PatchBank does not have a common MIDI Bank.

Previously those PatchBanks were not listed in the MIDI Patch
Selector, which is based on MIDI Bank + Program grid.

The current view is some sort of compromise, retaining a
per MIDI-bank view, but allowing Monatages/performance mappings.

The Patch Change *dialog*, or dropdown is more useful for those
sparse modern mappings.
2020-04-19 16:32:33 +02:00
606d6de4b1
Consistent Lua script error and print() output 2/2 2020-04-18 18:16:12 +02:00
Julien '_FrnchFrgg_' RIVAUD
a4cfdd338d First part of translation review 2020-04-18 11:26:10 +02:00
Julien '_FrnchFrgg_' RIVAUD
5766cf24aa Update French po files from code 2020-04-18 11:22:07 +02:00
5c5f0c8282
Allow to hide inline-controls using shift+right click 2020-04-18 01:04:45 +02:00
929754f48c
Prefer PBD::Unwinder to temporarily change a variable 2020-04-17 22:49:45 +02:00
f2f9798df1 shift-tab generates shift-iso_left_tab so fix MIDI editing bindings 2020-04-17 13:14:34 -06:00
d745f5c53d fix name of MIDI editing action 2020-04-17 13:14:34 -06:00
2ee80b4eb7 expand everything for a key editor tab is there is only 1 child node 2020-04-17 13:14:34 -06:00
bc9b490e90
Fix canvas scroll-event zoom-focus
Unconditionally use the mouse-cursor as zoom-focus when holding
<ctrl> while scrolling on the canvas.
This is consistent with using ctrl + scroll in the ruler area.
2020-04-17 20:51:47 +02:00
0b67abca1d change default (non-modified) transpose kbd action to use 1 semitone 2020-04-17 12:40:28 -06:00
fea7834e78 do not reset import status to cancel for every path imported before starting; fixes failure of cancel to stop import 2020-04-17 12:40:28 -06:00
b9674115b7 when re-entering the track canvas in internal edit mode, ensure that kbd focus is set 2020-04-17 11:34:34 -06:00
ba585e440d fix actions names & description for note transport to reflect semitone not tone 2020-04-17 10:47:01 -06:00
0b7d0ebfd6 remove debug output 2020-04-17 10:47:01 -06:00
7ae4e0f7ba
Allow to override zoom-focus to mouse
When Prefs > Editor > Zoom to mouse position... is disabled.
Ctrl + Scroll now allows to override the current zoom-focus,
and zoom in/out at the mouse-cursor position.
2020-04-17 16:16:23 +02:00
ca9e54100a more sane design for MidiRegionView::nudge_notes()
Use nudge clock if snap/grid is disabled; use grid (and grid/4 if "fine" adjustment is chosen)
2020-04-16 21:39:38 -06:00
e4e035c6e2 remove debug output 2020-04-16 17:48:12 -06:00
696f891554 fix names and add descriptions of MIDI actions 2020-04-16 17:48:12 -06:00
3b1549e36d fix some MIDI keybindings 2020-04-16 17:48:12 -06:00
3de9d5d09b fix namespaces for MIDI note bindings 2020-04-16 17:48:12 -06:00
65f7a6a938 changes to deal with region/note selection when changing into/out of internal edit mode
Also, activate MIDI editing actions so that they are effective in internal edit mode
2020-04-16 17:48:12 -06:00
921e3e75b5 bindings for MIDI editing operations 2020-04-16 17:48:12 -06:00
3391fa0f51 NOOP: use braces as per style guide 2020-04-16 17:48:12 -06:00
cc32d42388 use new API to get selected MIDI regions and clear current note selection in a MIDI region 2020-04-16 17:48:12 -06:00
8545250936 MidiRegionView no longer handles any keypresses or alters editor "note selection"
1. Alt is still handled to change drag behavior
2. Selection doesn't store notes unless they are part of the cut buffer, which means we should not
be altering the note selection in the editor's selection object most of the time.
2020-04-16 17:48:12 -06:00
eca7888047 NOOP: newline removal 2020-04-16 17:48:12 -06:00
0bea4f2374 fix up action names for MIDI editing 2020-04-16 17:48:12 -06:00
ba424352a2 change Selection object to be more clear about the status of MidiRegionViews and notes
1) Notes are only present in a Selection object if it is being used as a cut buffer. They are never stored
there as part of "normal selection" - that is delegated/left to MidiRegionViews that own the notes.

2) MidiRegionViews are stored in the Selection as "just" RegionViews, so provide a convenience
method to access them. This doesn't actually change much, since even the old MidiRegions object
was actually just a RegionSelection i.e. RegionViews.
2020-04-16 17:48:12 -06:00
abe275c3e0 add a bunch of argument-free methods to MidiRegionView for use as actions 2020-04-16 17:48:12 -06:00
c03c3332e8 change algorithm for activation/propagation of key events to allow multiple bindings
We now check from the focus widget (if any) for any widget heirarchy bindings, and try to use them.
Next use the "top level" bindings passed in (top level is quoted because they may be owned by a tab,
rather than a window).
Finally, if the event is still not handled, try the global bindings

This model more closely matches what I think a reasonable programmer with experience of other
GUI toolkits would expect, and allows us to have multiple bindings present (though not
simultaneously used) in a given window
2020-04-16 17:48:12 -06:00
899d696a97
Fix another typo #8016 2020-04-16 22:09:01 +02:00
029527c4c9
Fix typos #8016
Duplicate "the", missing "file"
2020-04-16 21:55:42 +02:00
Edgar Aichinger
5fbce4b5db
Update German translation 2020-04-16 21:08:24 +02:00
eb06e67628
Update french translation #8016 2020-04-16 21:06:06 +02:00
250da353d4
Disable spill when target-bus is removed #8014
Individual mixer-strip already revert to default display when
the send vanishes. This also resets the mixer view.
2020-04-15 20:21:27 +02:00
Edgar Aichinger
e20f74dcf1
Fix typos, consistent translatable strings 2020-04-15 18:02:35 +02:00
4e43aaef64
Add automation lane for poly-key-pressure 2020-04-15 15:37:54 +02:00
b955bb04ec
Only CCs can have custom MIDNAM labels 2020-04-15 15:37:23 +02:00
21df7279d2
Prefer parameter_is_midi() API, fixes PolyKeyPressure
Previously MidiNotePressureAutomation was not assumed to be
MIDI automation.
2020-04-15 15:36:45 +02:00
2d18d512e3
NO-OP: whitespace 2020-04-15 15:22:53 +02:00
9fac6139ea
Fix assert when showing embedded LV2 plugin UI -- #8013 2020-04-15 04:19:23 +02:00
a3af5e31f1
Update labels in MIDI Automation Lanes when MIDNAM changes 2020-04-15 02:38:18 +02:00
4130bc3a86
Update CC Automation menu when MIDNAM changes 2020-04-15 01:51:05 +02:00
4b9f6208e7
Limited listed CC-channels to ChannelNameSet channels 2020-04-15 01:51:05 +02:00
Johannes Mueller
6d75d40533 Quick and dirty dropping support for rippling across tracks
Ripple editing will be reworked some point after 6.0
2020-04-14 23:45:17 +02:00
Johannes Mueller
d2f5edf64f Fix #8012 to some extent.
As soon as we ripple drag the selected region out of the original track,
::remove_unselected_from_views() is called and the rippled regions on the
original track are not covered when ::remove_selected_from_views() is called
again in ::finished(). Therefore we need to shift the regions remaining on the
original track back and forth again, in order to have them properly in the undo
history.
2020-04-14 22:43:15 +02:00
c34abd094e changed text for adding a foldback send from monitor
Menu item was added before name was finalized
	but needs to match names used everywhere else
2020-04-14 10:36:18 -07:00
41ea63cead
Keep string markdown untranslatable 2020-04-14 19:01:10 +02:00
701605129e
Drag/Drop import region to where it was dropped
Previously only drag/drop to existing tracks used the target
time-position and files imported as new tracks using the drop-zone
were placed at 00:00:00:00.
2020-04-14 17:58:28 +02:00
ab1bc6b7d7
Make import-dialog independent of only-copy preference
This also fixes a logic error when "get_only_copy_imported_files"
was unset.

The condition under which "copy" was mandatory was rather convoluted,
so this also provides a more consistent user-experience.
2020-04-14 17:37:06 +02:00
e3e7d22c38
Change default for embedding files via DnD
Man new users drag/drop files onto the canvas without being aware
that Ardour only references external files. This can break sessions
when those files [re]moved.
2020-04-14 17:28:12 +02:00
Johannes Mueller
d5f25f998b Fix #7007: ::clear_owned_changes() on rippled Playlist before commit
RegionMoveDrag::finished_no_copy() calls ::clear_changes() on every selected
Region and then sets their positions again before committing the command to the
UndoHistory. By doing that no changes from the previous transaction spill over
into the current transaction.

This needs to be done in a similar way by in RegionRippleDrag::finished()
because otherwise a following undo action would also undo the changes of the
previous transaction for all the non selected rippled regions.

RegionRippleDrags across tracks are still borked, though.
2020-04-13 23:56:52 +02:00
Edgar Aichinger
eb5a41e3a3
Fix typos in the GUI in preparation for translations 2020-04-13 16:10:07 +02:00
3a39254338 Changing Foldback bus with show sends enabled broken
leaves mixer in fanout to old bus
	turn show sends off
	change bus
	turn show sends on for user expected result
2020-04-12 18:41:06 -07:00
Johannes Mueller
0f806d1322 Same as 97e07f4, only for MidiStreamview, duh 2020-04-13 02:28:35 +02:00
Johannes Mueller
97e07f4f4c Fix for #8005: Remove rec_box also when transport stopping.
Under some circumstances the transport FSM is still in stopping state when
::non_realtime_stop() already emits TransportStatechange. In that case the rec
boxes are not removed if we consider transport stopping == rolling.
2020-04-13 02:05:36 +02:00
6df03b2f1f
Reset track header meters - e1a9034a0e #7465 2020-04-12 21:01:01 +02:00
5a0e0a41e2 update all *.po files 2020-04-12 09:00:32 -06:00
08d7a8ac3a when binding a key, if it is already bound, offer to replace the existing binding
Telling the user to that first was a bit ... silly.
2020-04-12 08:57:59 -06:00
134b2162ba
Fix waveform update when channel-count changes
7434478a35 introduced a race, IOchange triggers updating the
GUI and re-configuring processors. The latter needs to complete
first, otherwise Track::n_channels() returns the previous
channel count.
2020-04-12 13:45:45 +02:00
e1a9034a0e
Synchronize meter-reset #7465
Queue reset to be handled when the meter is updated.
Also only call set_name(), set_active_state() when the
state changes.
2020-04-10 23:50:10 +02:00
a2f7abc70b
Continue to load session after MIDI latency calibration
This amends e6febe040a
2020-04-10 01:43:11 +02:00
e6febe040a
Continue to load session after latency calibration #7998 2020-04-09 23:31:45 +02:00
ca022f6bb7 show transport master ports in their own "Sync" bundle in the global port matrices 2020-04-09 14:01:47 -06:00
980a38a988 still show port names in bundles with only a single port a given type
The bundle name is typically insufficient to identify the port
2020-04-09 14:01:47 -06:00
7434478a35
Update Waveform display when channel-count changes 2020-04-08 17:40:32 +02:00
f7abab11a3
Add preference to reset x-run counter on rec-start #6706 2020-04-07 23:52:16 +02:00
1eb98316a3
Rename KeyboardLayout to PianoKeyBindings
This is to prevent polluting the global namespace with a
symbol name that is likely to cause conflicts.
2020-04-07 18:40:04 +02:00
d4d57c844f
Styleguide #12 avoid get_ for accessors 2020-04-07 18:30:34 +02:00
Nil Geisweiller
7ffaae77a7
Rename KeyboardLayout::set_keyboard_layout to set_layout
Since the class indicates that it is a keyboard layout, no need to over
load the name with it.
2020-04-07 18:26:45 +02:00
Nil Geisweiller
104d37e5a2
Move keyboard layout in its own class 2020-04-07 18:26:45 +02:00
3cd2ad85af
Fix restoring custom MIDNAM #7984 2020-04-07 14:16:53 +02:00
eeb62c99fb
Fix typo in API name (2/2) 2020-04-07 04:07:34 +02:00
2991d74da5
GUI: follow LatencyUpdated signal handler, prevent duplicate updates 2020-04-07 00:14:09 +02:00
21b2ffbae6
Indicate ambiguous latency in the GUI 2020-04-07 00:09:38 +02:00
fbc48bdf34
Fix end vs. length bug when creating regions - #7978
set_length() includes the end.
A Region starting at 0 and ending at 0, has a length of 1
(think counting fence-posts, or video-frames).
2020-04-05 20:24:11 +02:00
14a2a50e93
Simplify snap-to magnetic distance calc 2020-04-05 20:24:11 +02:00
6b9bdbf0ff
NO-OP: cleanup snap-to code, mostly whitespace 2020-04-05 20:24:11 +02:00
Johannes Mueller
605b3d83a8 Fix #7971: Adjust paths of template archive entries exported on MacOS
... on Ardour5.

On MacOS g_dir_make_tmp() does not return the canonical path. Thus, exported
template archives end up with wrong entry paths. This has been fixed by
e52bdc55ad for exporting templates. However, template archives that have been
exported on Ardour5 are not affected by the fix. Therefor we need a workaround
for the case we are importing legacy template archives from Ardour5.
2020-04-05 16:34:48 +02:00
419af82645
Revert "replace use of gdk_pixmap_unref() with g_object_unref"
This reverts commit fdf0db02a0.

Even though `gdk_pixmap_unref` is deprecated, it is the correct way
to free `gdk_pixmap_new` objects.
This fixes a memory leak and glib warning:
GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

PS. Eventually this pixmap should be replaced by a cairo surface.
2020-04-05 00:59:54 +02:00
e52bdc55ad Fix template export on MacOS
By default Apple uses a private TMP folder.

g_dir_make_tmp() returns `/var/folders/...` while the real
absolute path is `/private/var/folders/...`.
This caused a problem when the tmp-prefix is chopped off when building
the archive.
2020-04-05 00:10:41 +02:00
bb925ea151 Editor-mixer-strip: fix intermittent crash if we try to set up gui before set_route() is called (amends d2032d) 2020-04-04 12:03:45 -05:00
d2032df2e5 Fix for Editor-mixer-strip: polarity buttons were not updating with route selection changes. 2020-04-04 10:54:33 -05:00
0ecf1e40ea add Editor-level action to toggle track layer display 2020-04-03 18:54:51 -06:00
c2b026831c yes, RouteTimeAxisView::set_layer_display() really never applies to the selection 2020-04-03 18:54:51 -06:00
743fbaf7bf change implementation of layer display menu items and handlers
The menu items no longer ever apply to the selection, because there will be an Editor-level
action to change things "globally"
2020-04-03 18:54:51 -06:00
d1e55ff5b7 add RouteTimeAxis::toggle_layer_display() 2020-04-03 18:54:51 -06:00
1c53e73599 add two new ptr-to-menu-item, and remove an unused one, for RouteTimeAxis 2020-04-03 18:54:51 -06:00
ac6bd95e3a move automation menu to under View in main menu 2020-04-03 18:54:51 -06:00
a6d1890168
NO-OP: whitespace 2020-04-04 01:48:31 +02:00
4e005540c6
Update PatchChange when instrument/midnam changes 2020-04-04 01:48:30 +02:00
096d23fcc2 change text describing relayout after UI scaling change 2020-04-03 14:31:51 -06:00
8a1f1a3005 remove border around ATAV controls table (looks better with new theme) 2020-04-03 14:25:32 -06:00
626d97b13a a better solution for automation axis name labels 2020-04-03 14:25:13 -06:00
be2322ef2b set size request for automation lane name label, to prevent it from changing tracker header width 2020-04-03 14:11:14 -06:00
f26dd1f13d add automation item to top level edit menu 2020-04-03 13:28:58 -06:00
9ca9aa8ae1 add new Editor method to toggle all existing automation
Applies to selected tracks if non-empty; all tracks otherwise
2020-04-03 13:28:58 -06:00
97d1ee9822 move templated foreach methods from TrackSelection into parent (TrackViewList)
This allows the same methods to be used on e.g. Editor::track_views
2020-04-03 13:28:58 -06:00
e954303fec move automation show/hide methods into public access
Note that they are still intended to be called via a specific mechanism from Editor, not
directly.

Also remove unnecessary duplicate virtual decls
2020-04-03 13:28:58 -06:00
71ab4614f8
Fix fan-out port connection race-condition
This directly creates tracks without auto-connect.
2020-04-03 15:37:49 +02:00
11f28a4b1d
NO-OP: cleanup and remove debug messages 2020-04-03 14:49:03 +02:00
714e2f1736
Optimize MTAV creation, speed up new MIDI track
This removes various duplicate code-paths leading to midi-model
updates, and expensive context-menu rebuilds. This significantly
speeds up MIDI track creation.
2020-04-03 03:42:56 +02:00
14f15ca1e9
Move RouteUI::fan_out to Mixer_UI
The previous version had various issues, in particular
when creating Tracks with an instrument, the RouteUI was not
available when the signal was emitted (likely caused by recent
ee-work of Audio+MIDI and Tape track removal).

However as side-effect fanned-out tracks/busses may now
be ordered before the new instrument route.

This also fixes an edge case of multiple fan-out in case
there is more than one RouteUI instance (mixer, editor-mixer,
meter-bridge).
2020-04-02 20:27:51 +02:00
652f62f20a
Remove signal in preparation to rework fan-out 2020-04-02 20:27:48 +02:00
849bce6e4d
Add LTC output port preference #7932 2020-04-02 16:46:05 +02:00
Johannes Mueller
41fa647b69 Template descriptions no longer dirty when saved or changes discarded 2020-04-02 14:37:12 +02:00
Johannes Mueller
64cb0a6e4b Let the user also choose template archives from Ardour 5.x 2020-04-02 14:37:12 +02:00
42af08fb92
Consolidate MIDNAM control display code 2020-04-01 23:26:13 +02:00
a6c9c04fd6
Hide snap cursor when not using mouse edit #7966 2020-04-01 22:55:06 +02:00
75adc33629
Remove unused variable 2020-04-01 22:55:06 +02:00
38caf9ddd3 NOOP: whitespace 2020-04-01 10:10:50 -06:00
d9d9740f1c do not show xrun markers in the "Ranges & Marks" editor list 2020-04-01 10:10:50 -06:00
98884e9736 rename variable (frames -> samples) 2020-04-01 10:10:50 -06:00
8d28115ec7
Update MIDNAM handling in GUI
* Always use InstrumentInfo for lookups.
  Remove name lookups that directly used gui_property()
* Use set/get_gui_property() only to save/restore state,
  push custom selection to InstrumentInfo.
* Only store custom selection, use unset for "default"
  default = plugin-provided (if available) otherwise general-midi
2020-04-01 16:33:40 +02:00
370f7bb30f
Propagate MIDNAM selection to Route
Most of Ardour's GUI queries route->instrument_info() for MIDNAM.
This is a minimal invasive hotfix to update the PatchChange
dialog and patch-names on the timeline when the MIDNAM selection
changes.

This got lost in de74cca6b8.
2020-04-01 00:53:27 +02:00
1aae553dae
Fix source list selection
Retain selection when showing context-menu.
2020-03-31 21:00:45 +02:00