Commit graph

15700 commits

Author SHA1 Message Date
Alexandre Prokoudine
ebe0dd389e Update Russian translation 2022-08-23 10:28:37 +03:00
Alexandre Prokoudine
484ec35b10 Fix a typo 2022-08-23 09:40:28 +03:00
Alexandre Prokoudine
eb3d9f66d9 Fix a typo 2022-08-23 01:52:54 +03:00
John Emmas
30efdbe0f8 Some minor reverts to commit #63f94d2946 (from 25th May 2022)
These were preventing Ardour from compiling on Windows (Clang or MSVC)

Possibly would've been buildable with MinGW but I don't have that available to test.
2022-08-21 12:34:10 +01:00
Mads Kiilerich
4b8aa51093 artest: clarify that the tool in gtk2_ardour is testing libs/
Avoid confusingly general sounding
	-------------------------------------------
	Running tests for ardour...
	-------------------------------------------
2022-08-19 11:06:28 -06:00
Mads Kiilerich
176bbca821 freedesktop: install icons to match the versioned Icon name used in the .desktop file 2022-08-19 10:58:25 -06:00
cooltehno
7430f6e3f6 Update clear_gray-ardour.colors 2022-08-19 10:28:55 -06:00
itmuckel
63f94d2946 Remove unused includes 2022-08-19 09:27:19 -06:00
Paul Davis
3327f5b9f1 some rationalization of drag types from various rulers
At present, TempoTwist is Primary-drag on the tempo ruler, and TempoCurve is Primary-drag on the meter
ruler. Not sure that this is quite what we want here, but it makes more sense than the prior
design, in which TempoTwist was available from non-tempo-related rulers
2022-08-18 14:16:25 -06:00
Paul Davis
5738f3d1b1 bbt markers: Primary-click on BBT ruler to create 2022-08-18 14:06:05 -06:00
Paul Davis
eadd26b379 amend 31640a9a5b by reverting action name back to fork-region
This avoids breaking bindings, and since the action name is generally not a part of the GUI,
really doesn't hurt anything in terms of understandability
2022-08-18 09:27:43 -06:00
Colin Fletcher
31640a9a5b gtk2_ardour: implement "Unlink from unselected" for MIDI regions
An attempt to satisfy #8848.

Add a new action, "fork-regions-from-unselected", which unlinks all
selected MIDI regions from any unselected regions, but maintains links
within the selection, and add the new action to the region MIDI context
menu as "Unlink from unselected". Rename the existing "fork-region" action
to "fork-selected-regions", and amend the existing "Unlink from other
copies" menu item to "Unlink all selected regions" to (try to) clarify the
difference.

Attach the <Tertiary>U default key-binding to the new action: I personally
think it's generally slightly more useful (otherwise I wouldn't have
implemented it), though I'm not that fussed.

In the case that there's only one MIDI region selected, or that none of
the selected regions are mutually linked, both actions will have exactly
the same result. Ideally, we'd only show a single menu item in this case,
but that would require (a) implementing a function to check whether the
selection contains any linked regions, and (b) making the region MIDI
context sub-menu dynamically generated, so that it can change based on the
result of that function, neither of which I've tried to do yet.
2022-08-18 09:18:25 -06:00
cooltehno
b8f21b2acf Update dark-ardour.colors 2022-08-18 09:07:51 -06:00
Paul Davis
2f7f313f6d MIDI combine (basically operational)
May need some tweaks to address notes that are cut off by the end of the region
2022-08-18 07:45:05 -06:00
Paul Davis
fc6ad8ebd9 bbt markers: all the basics of dragging, editing, removing 2022-08-17 16:40:35 -06:00
Paul Davis
6784f0e5dc basic skeleton for BBT marker drag 2022-08-17 16:40:02 -06:00
Paul Davis
965fe9946b BBT markers: put BBT position in their tooltip
Tooltip will need updating once drag is working correctly
2022-08-17 16:39:46 -06:00
Paul Davis
3259ab2d41 tempodisplay: correctly redisplay tempo map stuff after adding a BBT marker 2022-08-17 16:39:32 -06:00
Ben Loftis
69d3bd8821 new-user dialog: updated text; more consistent fonts and layout 2022-08-11 16:53:56 -05:00
Paul Davis
373a73cb51 fix selectability of region-associated automation (i.e. MIDI)
The fix here is really just dropping the use of _offset when computing the session position
of a control point. This was just an arithmetical error.

However, session_sample_position() was redundant and just caused more work, so this
method was removed, and only ::session_position() is now used.

In addition, several closely related places now use C++11 (or later) "auto"
syntax for iterating over containers, for cleaner looking code
2022-08-11 15:26:42 -06:00
Paul Davis
7aef0cd191 fader colors: use correct UIConfig var name and exclude master bus correctly 2022-08-11 08:45:31 -06:00
Paul Davis
870a51b691 fader coloring: ignore master, and rename UIConfig option to be more generic now (also text in prefs) 2022-08-11 08:22:49 -06:00
Paul Davis
04ad500998 set mixer strip fader name always, so that bg is set from style 2022-08-11 00:07:53 -06:00
Paul Davis
24253c20f3 remove no-longer-used method 2022-08-11 00:07:05 -06:00
Paul Davis
340bba15f2 fix typo 2022-08-10 22:37:16 -06:00
Paul Davis
6d85759cf8 optionally tinted faders in mixer view 2022-08-10 22:34:52 -06:00
Paul Davis
9e8a5f15c9 optionall colored faders in editor 2022-08-10 22:34:36 -06:00
Paul Davis
f8a77c7dcb add API to GainMeterBase to allow use of explicit fader colors 2022-08-10 22:34:33 -06:00
Paul Davis
bfa40895b3 add 2nd method to RouteUI to get a (possible) variant of the route color for "tinting"
Currently returns the same value as ::route_color()
2022-08-10 22:33:40 -06:00
Paul Davis
9ea1e5bdee move color utility functions from ARDOUR_UI_UTILS to Gtkmm2ext namespace (GUI) 2022-08-10 21:11:52 -06:00
Paul Davis
5dbcd76cb1 led widget: disambiguate namespace for Color type 2022-08-10 18:14:28 -06:00
Paul Davis
9178758f54 fix redisplay of track headers after changing track-name-numbering 2022-08-10 16:44:43 -06:00
Ben Loftis
8b28a284ba Cue markers must be centered after their text is assigned 2022-08-10 15:15:49 -05:00
Robin Gareus
df66482b89
Indicate current snapshot
Since 02b0ecdacb, the selected snapshot is no longer the currently
active one. This adds a dedicated indicator for this.
2022-08-10 03:20:29 +02:00
Robin Gareus
b5d96f0de2
Do not allow to delete the last snapshot
In case a user manually renames a session-folder and snapshot
it should still be impossible to delete the last snapshot
even if it is not named after the session-dir.

In theory this is impossible (one cannot delete the current snapshot)
2022-08-10 03:14:08 +02:00
Paul Davis
6dc1e1f778 trigger strips: name button was intended to be colored
Gtk::Widget::modify_bg() will do nothing to a cairo widget
2022-08-09 17:36:14 -06:00
Robin Gareus
42cb321039 Amend previous commit (window settings, ignore size)
When loading a session it is preferable to use the window size from
Config's instant.xml (local machine screen sizes).
2022-08-10 01:00:29 +02:00
Robin Gareus
acf13e9498 Restore "Main" UI Tab setting from sesion instant.xml
Previously this setting was ignored. It is relevant when loading a demo
session, where initially there is no user Config instant.xml.

ARDOUR_UI::setup_windows is called directly after the engine starts, but
before the session is set.
2022-08-10 00:50:02 +02:00
Paul Davis
bfedf7168e new GUI appearance option to offer track/bus colors (muted) as backgrounds for editor & mixer strips 2022-08-09 16:18:32 -06:00
Colin Fletcher
c9446aa1e1 gtk2_ardour: set region marks into currently recording regions
Region actions are generally set insensitive whilst recording, so
special-case the "add-region-cue-marker" action by explicitly enabling it
when starting to roll in record. Additionally, the action becomes disabled
again after it's been executed, so re-enable it after queuing the cue when
recording.
2022-08-09 14:03:16 -06:00
Robin Gareus
902c36d019
Do not try to autostart engine for new users
This allows new user to select the soundcard and I/O settings
when loading demo sessions at first run, or when tricking Ardour
to open an existing session (try to create an existing session,
user may choose to load it instead).

Normally a user can only create a new session after first running
Ardour, and creating new sessions always shows the dialog (to
set the samplerate).
2022-08-08 03:50:54 +02:00
Robin Gareus
0c01c50023
Add dialog option to reconfigure audio engine when S/R mismatches 2022-08-06 22:35:01 +02:00
Robin Gareus
7408a9958e
Fix duplicate UI initialization
When loading the very first session is canceled (e.g.
sample-rate mismatch -> Do not load session) or fails otherwise,
execution returns to the startupFSM.

Loading another session after that then takes the same path again:

StartupFSM::dialog_response_handler() -> StartupFSM::engine_running()
-> ARDOUR_UI::attach_to_engine()

The call needs to be idempotent, otherwise setup_windows(),
create_editor() etc are called a second time and Ardour crashes.
2022-08-06 21:44:55 +02:00
Ben Loftis
8f9ad771b3
Display the dB value in foldback return slider 2022-08-05 01:27:57 +02:00
Ben Loftis
cef0e5d518
Define a theme-able color for foldback return widgets 2022-08-05 01:26:28 +02:00
Robin Gareus
5834728e2f
Allow to un/link foldback send panners 2022-08-05 00:56:19 +02:00
Todd Naugle
d5113e6e91
Don't crash if the click is missing 2022-08-05 00:41:37 +02:00
Ben Loftis
02b0ecdacb
Safeguard snapshot switch
Require double-click, and prompt user, before opening a session snapshot
from the sidebar.
2022-08-05 00:38:41 +02:00
Robin Gareus
67f55d7b4e
EditorSnapshots does not benefit by inheriting from EditorComponent 2022-08-05 00:14:12 +02:00
Ben Loftis
916fc4a2ee likely fix for cue-text sizing on windows 2022-08-04 13:40:06 -05:00