Commit Graph

15980 Commits

Author SHA1 Message Date
d1b462c213 Special case tansient-parent windows on macOS
macOS has its own z-axis stacking (see Manager::set_transient_for) for
dialog and utility windows of a single application. There only case to
set a dedicated transient parent is to keep the child window on top of a
dialog.

Valid use-cases are e.g.
 Plugin Preset Name entry on top of a PluginWindow
 Export Format Settings on top of the Export Dialog

Alternatively one would need to patch gtk to handle
[NSView shouldDelayWindowOrderingForEvent] and explicitly reorder
siblings of a common parent window.

This fixes an issue that plugin windows cannot be re-stacked but were
previously always stacked in the order they were opened.
2022-11-15 03:07:43 +01:00
4a9e8b5211
Place session-save dialog on-top of everything 2022-11-14 02:56:54 +01:00
cooltehno
7af1d30bf0 Update clear_gray-ardour.colors 2022-11-13 14:08:28 +03:00
cooltehno
3e806e9c1c Update cubasish-ardour.colors 2022-11-13 14:08:12 +03:00
b82900858f
Do not limit stack-size when freezing tracks
This fixes an issue with plugin state save/restore. Some
require excessive stack to do that (looking at you b.oops.lv2).
The main GUI thread has no stack limit, so this is only an issue
when calling state save/restore from background threads.
2022-11-13 03:02:00 +01:00
3fcd8b659d
NO-OP: remove duplicate return 2022-11-13 00:23:58 +01:00
ee51b906ea
Improve bouncing multiple regions
* If 1 region is selected: suggest "Region-name (Bounced)"
* If more than one region is selected and ..
  * all are on different tracks: allow to specify suffix.
  * at least two regions are on the same track: hide the
    "add to trigger-slot" option, allow to specify suffix

see also https://discourse.ardour.org/t/bounce-regions-with-names/107863
2022-11-11 17:56:17 +01:00
e58fddfde7 Add more actual translators and make their list in code more human-readable 2022-11-11 14:52:42 +03:00
05afb53743 Make capitalization more consistent across the UI
This commit mostly changes "Sample rate" to "Sample Rate"
2022-11-11 03:53:19 +03:00
9153521f4a
Do not highlight momentarily recalled scenes
Since momentary override is a singleton, it needs to remain
GUI only, and not a session API available to any UI.

The middle-clicked button is rendered as pressed. So it is
already obvious and the Changed() signal that is emitted
when temporarily restoring a scene can simply be ignored.
2022-11-10 21:03:00 +01:00
235d51a723
Revert "MixerScenes: implement 'undo' function for mixer scene recalls (libardour)"
This reverts commit a40c8d8e9a.
This reverts commit 01c7e14c6e.
This reverts commit 162a8c00b3.
2022-11-10 20:54:12 +01:00
01c7e14c6e MixerScenes: highlight momentarily recalled scenes by using libardour 'undo'
* also moves 'momentary' into libardour so it can be accessed by other UIs
2022-11-10 09:13:56 -06:00
cc912cca1b Make title capitalization consistent across rulers 2022-11-10 15:35:22 +03:00
0a9eca74ae Add a little more useful metadata to appdata 2022-11-10 15:31:14 +03:00
5796cdc588 Add the Catalan translator to the About box 2022-11-09 18:42:17 +03:00
bd0de0e18f Fix build-critical errors in the Catalan translation 2022-11-09 17:30:15 +03:00
Xavi Ivars
a276d4f5b1 Adding Catalan translation 2022-11-09 17:22:03 +03:00
Edgar Aichinger
7ab5190680 remove obsolete entries 2022-11-09 17:18:16 +03:00
Edgar Aichinger
645a476c9f update german translation 2022-11-09 17:17:55 +03:00
f8ea94e86c Fix jump_forward_to_mark in the case where you are already located on a marker
* first_mark_after() correctly expects a timepos_t to compare with locations
* BUT the playhead position is always in samples, by definition
* in many cases this meant the 'next' marker was the one you are already located at

* also remove the slight distinction between playhead cursor and actual play position
    (shouldn't matter, but...)
2022-11-08 20:32:32 -06:00
bae336129f Add action to create named-range from Selection, and prefer that over the Region variant
* shortcut is currently already assigned to Secondary+Tertiary+R
* perhaps we could instead assign an easier shortcut Primary+M  ?
2022-11-08 19:12:56 -06:00
70251c758d MixerScenes: show last-selected scene (gui part) 2022-11-08 17:30:07 -06:00
e4e773053a Re-order redirect-box (plugin) context menu
* move plugin-specific items (presets, edit, rename, etc) to the top
* group related items together
2022-11-08 13:13:30 -06:00
dd33e19eda Disambiguate Controls in the redirect box: "Inline Controls" 2022-11-08 13:13:30 -06:00
08c1b97e06 Rename some right-click menu items on rulers for clarity and consistency 2022-11-07 00:34:15 +03:00
f807ea6ea2
Check if format is valid before starting export
This can happen if e.g. mp3 export is n/a, but a mp3
preset is present.
2022-11-04 21:57:53 +01:00
15e1b8f675
GUI support for libsndfile mp3 support 2022-11-04 21:22:34 +01:00
Mads Kiilerich
f129cf4485
AudioClock: use str parameter instead of accessing widget directly 2022-11-04 19:22:05 +01:00
Mads Kiilerich
8fe7970c7c
AudioClock: drop unused em_width 2022-11-04 19:20:41 +01:00
Mads Kiilerich
a9e5876207
Minor clarification of curl root CA comment
Left over from d069aa7a.
2022-11-04 19:18:54 +01:00
Mads Kiilerich
6e9730ad6e
Fix negated origin time in main clock
When selecting "Origin" for the clock, it is expected that it should
work like "Absolute", except measuring from the selected Origin.
Positions to the right of origin should be positive.

However, recently, it got negated. As playback progressed, time got more
and more negative. Fix that by negating again.
2022-11-04 19:18:10 +01:00
fea7621b17
Fix state version for copy-construction (2/2)
see previous commit for details
2022-11-04 17:51:27 +01:00
44c037dc4f
Prepare for themable step-entry dialog
Prepar for using UTF8 rather than fixed color PNG icons.
2022-11-03 21:54:05 +01:00
edc19e2b7d Slight adjustment of wording in Quick Audio Export 2022-11-03 01:21:13 +03:00
6c575d0ced key binding changes
Use primary-e for quick export, primary-d for duplicate, secondary-d for multidup
2022-11-02 15:40:07 -06:00
19236c2a7d Handle time-domain undo/redo changes
The region itself has no time_domain property, changing the time-domain
is done by changing the domain of the region length. undo/redo hence
emite a Length PropertyChange signal.
2022-11-02 21:40:55 +01:00
4f707481f3 remove redundant code in ARDOUR_UI::update_transport_clocks()
MainClock::set() already implements this logic, and does so correctly if there is
no clock origin marker
2022-11-02 11:42:49 -06:00
cb548ede3d
Safeguard plugin window deletion when closing the session
..otherwise it may happen that the idle-signal arrives after
the window has already been destroyed.
2022-11-02 16:23:43 +01:00
8857abc028 ensure that freesound token dialog is always on top (of similar windows) 2022-11-02 09:19:16 -06:00
f47e517c86
Fix duplicate undo crash
Double-clicking on a line in internal edit mode adds
a new point in the line. In this case LineDrag need not
manage automation events because the "add" functions already
do. see AutomationTimeAxisView::add_automation_event and
AudioRegionView::add_gain_point_event
2022-11-02 02:05:58 +01:00
e74a412bcb rename some operations slaves -> assigned channels 2022-11-01 13:52:54 -05:00
d9ebc8e09f
Scale plugin Analysis UI
This also increases the default font size and adds
a -15,+15 dB range mode.
2022-11-01 18:00:59 +01:00
c9fe383813 dbl click on mixer strip name label/color button brings up color picker 2022-11-01 08:12:05 -06:00
6832ad2af9 use correct name for recording note color 2022-11-01 08:12:05 -06:00
ac1d2122dd add recording note color back to Xccolors theme 2022-11-01 08:12:05 -06:00
e819af1948
Fix clearing automation
Due to refactoring in d41e66f169 and 83ad0a10b5
Automation > Clear re-displayed the line on mouse-over, even
if there are no events. Then trying to interact with he line
caused segfaults because the actual control points no longer exist.
2022-11-01 00:51:53 +01:00
910b637326 xoclors updates from LAM 2022-10-31 17:05:55 -06:00
6d1e4207de bbt ruler: no more micro/minor mark distinction. all bars are equal between labels 2022-10-31 17:05:55 -06:00
19ab75f5e5
Do not destroy Lua DSP GUIs (they are always generic UIs) 2022-10-31 22:47:30 +01:00
6e3d3706dc MIDI region combine: fix conceptual errors (GUI edition) 2022-10-31 14:22:17 -06:00